]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Adding MicroBlaze support to elf/elf.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9fbf9aca
DH
12013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2
3 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4
207d1e2a
TS
52013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6
7 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8
306dfba9
AS
92013-04-15 Andreas Schwab <schwab@suse.de>
10
11 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13 * nscd/pwdcache.c (cache_addpw): Likewise.
14 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15 more than recsize.
16
206a6699
SP
172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18
19 * benchtests/Makefile (bench): Write all output to
20 bench-out.tmp together.
21
0582f6b3
AS
222013-04-15 Andreas Schwab <schwab@suse.de>
23
24 * nscd/nscd.c (main): Don't fork again after closing files.
25
acb4325f
SP
262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27
5cb26d0a
SP
28 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29
acb4325f
SP
30 * benchtests/Rules (bench-deps): Collect dependencies into a
31 single variable. Add Makefile to dependencies.
32 ($(objpfx)bench-%.c): Depend on bench-deps.
33
47792506
RM
342013-04-12 Roland McGrath <roland@hack.frob.com>
35 Xavier Roche <roche+kml2@exalead.com>
36
37 [BZ #15361]
38 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
39 just that it's a file descriptor.
40 * manual/llio.texi (Synchronizing AIO Operations): Update description
41 for EBADF error from aio_fsync.
42
8fc1bee5
SP
432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44
45 * Rules (bench): Move target definition...
46 * benchtests/Makefile: ... here.
47
aba5e333
CD
482013-04-11 Carlos O'Donell <carlos@redhat.com>
49
50 * math/libm-test.inc (cos_test): Fix PI/2 test.
51 (sincos_test): Likewise.
52 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54
273cdee8
AS
552013-04-11 Andreas Schwab <schwab@suse.de>
56
6ecec3b6
AS
57 [BZ #13988]
58 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59 accept exponent character only when digits were seen.
60 * stdio-common/Makefile (tests): Add bug26.
61 * stdio-common/bug26.c: New file.
62
273cdee8
AS
63 [BZ #14293]
64 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65 non-freeable.
66
8da491f5
SP
672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68
01dc6df9
SP
69 * Makeconfig (rtld-prefix): Define built linker prefix.
70 * Rules (run-bench): Use it.
71 * math/Makefile (run-regen-ulps): Likewise.
72
8da491f5
SP
73 * Rules (bench): Remove eval.
74
abe7f530
SP
752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
76 Roland McGrath <roland@hack.frob.com>
77 Ondrej Bilka <neleai@seznam.cz>
78
79 [BZ #15346]
80 * time/getdate.c: Include ctype.h and alloca.h.
81 (__getdate_r): Trim leading and trailing spaces of input.
82 * time/tst-getdate.c (tests): Add tests with leading and
83 trailing spaces.
84
61c23e62
RM
852013-04-08 Roland McGrath <roland@hack.frob.com>
86
87 [BZ #14280]
88 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
89 when computing value.
90
7208a313
CD
912013-04-06 Carlos O'Donell <carlos@redhat.com>
92
085b2d41
CD
93 * math/README.libm-test (How can I generate "libm-test-ulps"?):
94 Use testrun.sh to run libm tests.
95
7208a313
CD
96 [BZ #15309]
97 * elf/dl-open.c (dl_open_worker): memset all of seen array.
98
872c0acd
MM
992013-04-06 Marko Myllynen <myllynen@redhat.com>
100
101 [BZ #15264]
102 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
103
26510bdd
CD
1042013-04-06 Carlos O'Donell <carlos@redhat.com>
105
106 * Makefile.in (regen-ulps): New target.
107 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
108 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
109 [ifneq (no,$(PERL)] (regen-ulps): New target.
110 [ifeq (no,$(PERL)] (regen-ulps): New target.
111 * math/libm-test.inc (ulps_file_name): Define.
112 (output_dir): New variable.
113 (options): Add "output-dir" option.
114 (parse_opt): Handle 'o' case.
115 (main): If output_dir is non-NULL use it as a prefix
116 otherwise use "".
117 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
118
a01f19c8
CD
1192013-04-06 Carlos O'Donell <carlos@redhat.com>
120
121 [BZ #10060, #10062]
122 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
123 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
124 fail configure if __sync_val_compare_and_swap is not inlined.
125 * sysdeps/i386/configure: Regenerate.
126 * configure.in: Build for i686 when configured for i386.
127 * configure: Regenerate.
128 * README: Remove i386 reference.
129
b7a329a5
CD
1302013-04-06 Carlos O'Donell <carlos@redhat.com>
131
132 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
133 * sysdeps/s390/s390-64/sysdep.h: Likewise.
134
bf0f50df
TS
1352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
136
ee091edf
TS
137 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
138 (lmsnanval): New variables.
139 (F): Add conversion tests.
140 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
141 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
142
a8b792d6
TS
143 * stdio-common/tstdiomisc.c (F): Properly collect individual
144 tests' results.
145
a1cbf437
TS
146 [BZ #14686, #15336]
147 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
148 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
149 Instead, use input NaN values or generate a qNaN by arithmetic
150 operation. Also fix bugs to comply with the standard.
151 * math/libm-test.inc (remainder_test): Add more tests.
152
8b43a0c9
TS
153 [BZ #15335, #15342]
154 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
156 input NaN values or generate a qNaN by arithmetic operation.
157
d91da4ce
TS
158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
159 unreachable code.
160
bf0f50df
TS
161 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
162 definitions.
163
05e166c8
JM
1642013-04-03 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #14478]
167 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
168 underflowed result.
169 * math/s_cexpf.c (__cexpf): Likewise.
170 * math/s_cexpl.c (__cexpl): Likewise.
171 * math/libm-test.inc (cexp_test): Add more tests.
172
1cef1b19
AS
1732013-04-03 Andreas Schwab <schwab@suse.de>
174
175 [BZ #15330]
176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
177 order arrays from heap if bigger than alloca cutoff.
178
74d87055
TS
1792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
180
181 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
182 (SNAN_TESTS_double): Refer to GCC PR56831.
183 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
184 GCC PR56828.
185
d755bba4
SP
1862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
187
90d5d5bb
SP
188 * Rules (bench): Move bench.out after the run is complete.
189
73e0cd5d
SP
190 * Rules (bench): Echo currently running benchmark.
191
64aabd4b
SP
192 * benchtests/Makefile (bench): Add atan and slowatan.
193 * benchtests/atan-inputs: New file.
194 * benchtests/slowatan-inputs: New file.
195 * benchtests/slowatan.c: New file.
196
c871eccd
SP
197 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
199 its value.
200
d755bba4
SP
201 [BZ #15305]
202 * sysdeps/unix/sysv/linux/kernel-features.h
203 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
204 __ASSUME_XFS_RESTRICTED_CHOWN.
205 * sysdeps/unix/sysv/linux/pathconf.c
206 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
207 Save and restore errno.
208
52ce4860
JM
2092013-04-02 Joseph Myers <joseph@codesourcery.com>
210
211 [BZ #15327]
212 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
213 arguments using __kernel_casinh.
214 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
215 arguments using __kernel_casinhf.
216 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
217 arguments using __kernel_casinhl.
218 * math/libm-test.inc (cacosh_test): Add more tests.
219 * sysdeps/i386/fpu/libm-test-ulps: Update.
220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
221
81f311c2
SP
2222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
223
e7906a47
SP
224 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
226
92e3664b
SP
227 * bench/Makefile (bench): Add sin and slowsin.
228 * benchtests/sin-inputs: New file.
229 * benchtests/slowsin-inputs: New file.
230 * benchtests/slowsin.c: New file.
231
81f311c2
SP
232 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
233 (bench): Add slowexp and slowpow.
234 (exp-ITER): Increase iterations.
235 (pow-ITER): Likewise.
236 * benchtests/exp-inputs: Change input.
237 * benchtests/pow-inputs: Likewise.
238 * benchtests/slowexp-inputs: New file.
239 * benchtests/slowexp.c: New file.
240 * benchtests/slowpow-inputs: New file.
241 * benchtests/slowpow.c: New file.
242
ab0f1aa9
AZ
2432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244
245 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
246 instructions.
247 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
248 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
249 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
250 * benchtests/Makefile: Add rint benchtest.
251 * benchtests/rint-inputs: Input for rint benchtest.
252
57267616
TS
2532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
254
255 * Versions.def (libm): Add GLIBC_2.18.
256 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
257 hidden libm prototypes.
258 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
259 * math/Makefile (libm-calls): Add s_issignaling.
260 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
261 __issignalingf, __issignalingl. Adjust all libm.abilist files.
262 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
263 declaration.
264 * math/math.h [__USE_GNU] (issignaling): New macro.
265 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
266 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
267 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
268 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
271 * manual/arith.texi (issignaling): New section.
272 * manual/libm-err-tab.pl (@all_functions): Update comment.
273 * math/gen-libm-test.pl (parse_args): Apply special handling for
274 issignaling.
275 * math/libm-test.inc (print_float, issignaling_test): New
276 functions.
277 (check_float_internal): Add issignaling checks.
278 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
279 default definition.
280 * sysdeps/powerpc/math-tests.h: New file.
281 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
282 tests.
283 * math/test-snan.c (TEST_FUNC): Likewise.
284
6142896d
DM
2852013-03-30 David S. Miller <davem@davemloft.net>
286
287 * po/de.po: Update from translation team.
288
ccc8cadf
JM
2892013-03-30 Joseph Myers <joseph@codesourcery.com>
290
291 [BZ #10357]
292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
293 imaginary part less than 1.0 and real part less than 0.5
294 specially.
295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
297 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
298 (cacos_test): Add more tests.
299 (casin_test): Likewise.
300 (casinh_test): Likewise.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303
0f6a8d4b
SP
3042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
305
0d1029de
SP
306 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
307 ONE with its value.
308
c2d94018
SP
309 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
310 (__pow_mp): Replace ONE and MONE with their values.
311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
313 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
314 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
315 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
317
27ec37f1
SP
318 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
319
a64d7e0e
SP
320 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
321 (__pow_mp): Replace ZERO and MZERO with their values.
322 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
323 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
324 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
326 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
327 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
328 (__sqr): Likewise.
329
d26dd3eb
SP
330 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
331
0f6a8d4b
SP
332 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
333
e57b0c61
RM
3342013-03-28 Roland McGrath <roland@hack.frob.com>
335
336 * include/stdlib.h [!SHARED] (__call_tls_dtors):
337 Declare with __attribute__ ((weak)).
338 * stdlib/exit.c (__libc_atexit) [!SHARED]:
339 Call __call_tls_dtors only if it's not NULL.
340
356b3480
RM
3412013-03-28 Roland McGrath <roland@hack.frob.com>
342
288f7d79
RM
343 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
344 didn't do it already, then set _dl_phdr and _dl_phnum based on the
345 magic __ehdr_start linker symbol if it's defined.
346 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
347 them up here if it was already done.
348
dc0a0263
RM
349 * elf/dl-support.c (_dl_phdr): Make pointer to const.
350 (_dl_aux_init): Use const in cast when setting it.
351 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
352 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
353 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
354
3d3436ae
RM
355 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
356 Declare them here.
357 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
358 * csu/libc-tls.c: Nor here.
359 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
360
356b3480
RM
361 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
362 (__libc_message): Never call vsyslog.
363
b0f1246a
AM
3642013-03-28 Alan Modra <amodra@gmail.com>
365
366 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
367 Define as empty.
368 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
369 Likewise.
370
fbbe2b9a
AZ
3712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372
373 [BZ #15214]
374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
375 underflow.
376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
377
1728ab37
SP
3782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
379
7a86be6e
SP
380 [BZ #15304]
381 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
382 Don't add gid passed as argument.
383
1728ab37
SP
384 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
385
3a7182a1
JM
3862013-03-27 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #15307]
389 * math/k_casinh.c (__kernel_casinh): Handle arguments with
390 imaginary part between 1.0 and 1.5 and real part less than 0.5
391 specially.
392 * math/k_casinhf.c (__kernel_casinhf): Likewise.
393 * math/k_casinhl.c (__kernel_casinhl): Likewise.
394 * math/libm-test.inc (cacos_test): Add more tests.
395 (casin_test): Likewise.
396 (casinh_test): Likewise.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399
6f2e90e7
SP
4002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
401
5739f705
SP
402 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
403 constants.
404 (norm): Likewise.
405 (denorm): Likewise.
406 (__dbl_mp): Likewise.
407 (add_magnitudes): Likewise.
408 (sub_magnitudes): Likewise.
409 (__add): Likewise.
410 (__sub): Likewise.
411 (__mul): Likewise.
412 (__sqr): Likewise.
413 (__inv): Likewise.
414 (__dvd): Likewise.
415
e375e83d
SP
416 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
417 commented code.
418 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
419 (__dubcos): Likewise.
420 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
421 (__ieee754_acos): Likewise.
422 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
423 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
424 (__exp1): Likewise.
425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
427 (log1): Likewise.
428 (my_log2): Likewise.
429 (checkint): Likewise.
430 * sysdeps/ieee754/dbl-64/e_remainder.c
431 (__ieee754_remainder): Likewise.
432 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
434 (bsloww): Likewise.
435 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
436
6f2e90e7
SP
437 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
438 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
439 MANTISSA_STORE_T to store computations on mantissa. Use
440 macros for rounding and division.
441 (denorm): Likewise.
442 (__dbl_mp): Likewise.
443 (add_magnitudes): Likewise.
444 (sub_magnitudes): Likewise.
445 (__mul): Likewise.
446 (__sqr): Likewise.
447 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
448 powers of two in terms of TWOPOW macro.
449 (mp_no): Make type of mantissa as MANTISSA_T.
450 [!RADIXI]: Define RADIXI.
451 [!TWO52]: Define TWO52.
452 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
453
fce14d4e
AZ
4542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455
456 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
457 llroundl symbol when building for PPC32.
458
9ad027fb
MW
4592013-03-24 Mark H Weaver <mhw@netris.org>
460
461 * manual/arith.texi (Normalization Functions): Fix prototypes for
462 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
463
e42a38dd
AZ
4642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465
466 [BZ #13889]
467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
468 high value to check if expl overflow.
469 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
470 to check for underflow and overflow.
471 * math/libm-test.inc: Add exp test.
472
2e0fb521
DL
4732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
474
475 [BZ #11120]
476 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
477 with NOT_IN_libc.
478
b5784d95
AZ
4792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480
481 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
482 symbol.
483
5aa4a1a1
TS
4842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
485
bdef0be7
TS
486 * math/gen-libm-test.pl (parse_args, special_functions): Properly
487 wrap blocks consisting of several statements.
488
5aa4a1a1
TS
489 * sysdeps/generic/math-tests.h: New file.
490 * sysdeps/i386/fpu/math-tests.h: Likewise.
491 * math/test-snan.c: Include it.
492 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
493
98c48fe5
JM
4942013-03-21 Joseph Myers <joseph@codesourcery.com>
495
496 [BZ #15285]
497 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
498 (__ieee754_j0l): Do not improve calculations using cos of twice
499 input for inputs above LDBL_MAX / 2.0L.
500 (__ieee754_y0l): Likewise.
501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
502 (__ieee754_j1l): Do not improve calculations using cos of twice
503 input for inputs above LDBL_MAX / 2.0L.
504 (__ieee754_y1l): Likewise.
505 * math/libm-test.inc (j0_test): Add another test.
506 (j1_test): Likewise.
507 (y0_test): Likewise.
508 (y1_test): Likewise.
509 * sysdeps/i386/fpu/libm-test-ulps: Update.
510
3775a8bc
SP
5112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
512
513 * Rules ($(objpfx)bench-%.c): Include code from a C source
514 file.
515
0a1b2ae6
JM
5162013-03-21 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #15287]
519 * math/k_casinh.c (__kernel_casinh): Handle arguments with
520 imaginary part 1.0 and real part less than 0.5 specially.
521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
523 * math/libm-test.inc (cacos_test): Add more tests.
524 (casin_test): Likewise.
525 (casinh_test): Likewise.
526 * sysdeps/i386/fpu/libm-test-ulps: Update.
527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
528
b33d4ce4
SP
5292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
530
531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
532 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
533
bef0b507
JM
5342013-03-20 Joseph Myers <joseph@codesourcery.com>
535
536 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
537 * config.make.in (config-cflags-sse4): Remove variable.
538 (config-cflags-avx): Likewise.
539 (config-cflags-sse2avx): Likewise.
540 (config-cflags-novzeroupper): Likewise.
541 (config-asflags-i686): Likewise.
542 (have-mfma4): Likewise.
543 (have-as-vis3): Likewise.
544 (MIG): Likewise.
545 * configure.in (MIG): Do not AC_SUBST.
546 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
547 (libc_cv_cc_sse4): Do not AC_SUBST.
548 (libc_cv_cc_avx): Likewise.
549 (libc_cv_cc_sse2avx): Likewise.
550 (libc_cv_cc_novzeroupper): Likewise.
551 (libc_cv_cc_fma4): Likewise.
552 (libc_cv_as_i686): Likewise.
553 (libc_cv_sparc_as_vis3): Likewise.
554 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
555 LIBC_CONFIG_VAR.
556 (config-asflags-i686): Likewise.
557 (config-cflags-avx): Likewise.
558 (config-cflags-sse2avx): Likewise.
559 (have-mfma4): Likewise.
560 (config-cflags-novzeroupper): Likewise.
561 * sysdeps/mach/configure.in (MIG): Likewise.
562 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
563 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
564 LIBC_CONFIG_VAR.
565 (config-cflags-avx): Likewise.
566 (config-cflags-sse2avx): Likewise.
567 (have-mfma4): Likewise.
568 (config-cflags-novzeroupper): Likewise.
569 * configure: Regenerated.
570 * sysdeps/i386/configure: Likewise.
571 * sysdeps/mach/configure: Likewise.
572 * sysdeps/sparc/configure: Likewise.
573 * sysdeps/x86_64/configure: Likewise.
574
912cc4b3
RM
5752013-03-20 Roland McGrath <roland@hack.frob.com>
576
577 [BZ #14812]
578 * locale/programs/localedef.c (options): Put N_ translation marker
579 on argument names, not just descriptions.
580
04eed2b0
MS
5812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
582
583 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
584
a065ceff
OB
5852013-03-20 Ondřej Bílka <neleai@seznam.cz>
586
9bb2a810 587 [BZ #14176]
a065ceff
OB
588 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
589
a600e5ce
RM
5902013-03-19 Roland McGrath <roland@hack.frob.com>
591
592 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
593 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
594 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
595 [!BEFORE_ABORT] (before_abort): New function.
596 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
597 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
598 (writev_for_fatal): New function.
599 (WRITEV_FOR_FATAL): New macro; call that.
600 (backtrace_and_maps): New function.
601 (BEFORE_ABORT): New macro; call that.
602 (struct str_list): Type removed.
603 (__libc_message, __libc_fatal): Functions removed.
604 Include <sysdeps/posix/libc_fatal.c> instead.
605
6b18bea6
JM
6062013-03-19 Joseph Myers <joseph@codesourcery.com>
607
608 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
609 constants.
610 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
611 double constants.
612
aaa8cb4b
AS
6132013-03-19 Andreas Schwab <schwab@suse.de>
614
44673770
AS
615 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
616 * sysdeps/gnu/configure: Regenerate.
617
aaa8cb4b
AS
618 * configure.in: Substitute libc_cv_rtlddir.
619 * configure: Regenerate.
620 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
621 * Makeconfig (rtlddir, inst_rtlddir): New variables.
622 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
623 * elf/Makefile (install-others, CFLAGS-interp.c)
624 (ldso_install, common-ldd-rewrite): Likewise.
625 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
626 $(inst_slibdir)/$(rtld-installed-name).
627 * scripts/rellns-sh: Add -p option.
628 * Makerules (make-shlib-link): Use rellns-sh to get relative name
629 for source.
630
d3cfc668
SP
6312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
632
633 * manual/nptl.texi: Renamed to ...
634 * manual/threads.texi: ... this.
635 * manual/Makefile (chapters): Update.
636
0e2b9cdd
RM
6372013-03-18 Roland McGrath <roland@hack.frob.com>
638
639 [BZ #14812]
640 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
641 on argument names, not just descriptions.
0e2b9cdd
RM
642 * malloc/memusagestat.c (options): Likewise.
643 * nss/getent.c (options): Likewise.
63270c24
RM
644
6452013-03-18 Benno Schulenberg <bensberg@justemail.net>
646
647 [BZ #14812]
648 * iconv/iconv_prog.c (options): Put N_ translation marker
649 on argument names, not just descriptions.
650 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 651
b2e1393c
OB
6522013-03-18 Ondrej Bilka <neleai@seznam.cz>
653
654 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
655 implementation which is faster on all x86_64 architectures.
656 Tested on AMD, Intel Nehalem, SNB, IVB.
657 * sysdeps/x86_64/strnlen.S: Likewise.
658
659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
660 Remove all multiarch strlen and strnlen versions.
661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
662 Remove strlen and strnlen related parts.
663
664 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
665 Inline strlen part.
666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
667
668 * sysdeps/x86_64/multiarch/strlen.S: Remove.
669 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
670 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
671 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
672 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
673 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
674
ec4ff04d
CD
6752013-03-17 Carlos O'Donell <carlos@redhat.com>
676
677 * manual/memory.texi (Malloc Tunable Parameters):
678 Sort parameters alphabetically. Add comments for missing entries.
679
cd18e90a
DM
6802013-03-17 David S. Miller <davem@davemloft.net>
681
682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
683
2a185d32
JM
6842013-03-16 Joseph Myers <joseph@codesourcery.com>
685
d2f9799e
JM
686 [BZ #15283]
687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
688 for arguments at most half maximum finite value.
689 * math/libm-test.inc (j0_test): Add more tests.
690 (j1_test): Likewise.
691 (y0_test): Likewise.
692 (y1_test): Likewise.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695
2a185d32
JM
696 [BZ #14155]
697 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
698 1 / x and functions P and Q for arguments above 0x1p256L.
699 (__ieee754_y0l): Likewise.
700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
701 (__ieee754_y1l): Likewise.
702 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
703 (j1_test): Likewise.
704 (y0_test): Likewise.
705 (y1_test): Likewise.
706
6cbec759
TS
7072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
708
709 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
710 variable.
711
bc16e260
RM
7122013-03-15 Roland McGrath <roland@hack.frob.com>
713
aefc9b8c
RM
714 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
715 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
716 zero since it's initialized to EXEC_PAGESIZE.
717
bc16e260
RM
718 * sysdeps/unix/sysv/linux/ldsodefs.h
719 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
720 * sysdeps/generic/ldsodefs.h: ... here.
721
a57da955
TS
7222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
723
af00a34d
TS
724 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
725
495ded2c
TS
726 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
727 math/test-snan.c.
728 * math/test-snan.c: Renamed from
729 sysdeps/powerpc/fpu/test-powerpc-snan.c.
730 * math/Makefile (tests): Add test-snan.
731 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
732 test-powerpc-snan.
733
777b0332
TS
734 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
735 SUFFIX. Initialize qNaN_var with __builtin_nan family of
736 functions.
737 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
738 __builtin_nan family of functions.
739 * math/libm-test.inc (initialize): Initialize qnan_value with
740 __builtin_nan family of functions.
741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
742 Remove variables.
743 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
744 Remove functions.
745 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
746 storage class. Initialize qNaN_var and sNaN_var with
747 __builtin_nan and __builtin_nans families of functions,
748 respectively.
749
64d063b8
TS
750 * math/libm-test.inc (acosh_test): Also test with qNaN input.
751 (sqrt_test): Remove duplicate test with qNaN input.
752 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
753 (round_test, signbit_test, significand_test): Note missing +/-Inf
754 as well as qNaN tests.
755
67e971f1
TS
756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
757 qNaN_var. Fix a few strings, too.
758 * math/libm-test.inc (nan_value): Rename to qnan_value.
759 * math/gen-libm-test.pl (%beautify): Adjust to that.
760 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
761 * math/test-misc.c (main): Likewise.
762 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
763 to __qnan_bytes, and __qnan_union, respectively.
764 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
765 Likewise.
766 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
767 and lqnanval, respectively.
768 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
769 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
770 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
771 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
772
64487e12
TS
773 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
774 * math/test-misc.c (main) [__x86_64__]: Enable test for long
775 doubles.
776
e015e27b
TS
777 * math/test-misc.c (main): Fix copy'n'pastos.
778 * misc/tst-efgcvt.c (special): Likewise.
779
a57da955
TS
780 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
781 Remove declarations.
782
1e380345
SP
7832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
784
785 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
786 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
787 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
788 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
789
ef26eece
AZ
7902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791
792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
793 macro to return vdso values correctly in IFUNC implementations.
794 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
795 Optimization by using IFUNC.
796
8cfdb7e0
SP
7972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
798 Richard Henderson <rth@redhat.com>
799 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
800
801 * Makefile.in (bench): New target.
802 * NEWS: Mention the benchmark framework.
803 * Rules (bench): Likewise.
804 (binaries-bench): Generate binaries for functions to
805 benchmark.
806 * benchtests/Makefile: New makefile for benchmark tests.
807 * benchtests/bench-skeleton.c: New skeleton file for benchmark
808 programs.
809 * benchtests/exp-inputs: New input file for EXP function.
810 * benchtests/pow-inputs: New input file for POW function.
811 * scripts/bench.pl: New script to generate source files for
812 benchmark programs.
813
bcda9880
SP
8142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
815
d22ca8cd
SP
816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
818 computations on mantissa. Use macros for rounding and
819 division.
820 (denorm): Likewise.
821 (__dbl_mp): Likewise.
822 (add_magnitudes): Likewise.
823 (sub_magnitudes): Likewise.
824 (__mul): Likewise.
825 (__sqr): Likewise.
826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
827 powers of two in terms of TWOPOW macro.
828 (mp_no): Make type of mantissa as MANTISSA_T.
829 [!RADIXI]: Define RADIXI.
830 [!TWO52]: Define TWO52.
831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
832
bcda9880
SP
833 * manual/nptl.texi (cindex): Modify threads to pthreads.
834
06d5adfb
JM
8352013-03-15 Joseph Myers <joseph@codesourcery.com>
836
837 * sysdeps/x86_64/preconfigure: Regenerated.
838
41c7328e
JM
8392013-03-14 Joseph Myers <joseph@codesourcery.com>
840
841 [BZ #14155]
842 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
843 0x1p28 and above.
844 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
845 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
846 0x1p28 and above.
847 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
848 * math/libm-test.inc (j0_test): Do not allow one spurious
849 underflow exception.
850 (y1_test): Likewise.
851
e25cfa60
SP
8522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
853
0409959c
SP
854 * manual/Makefile (chapters): Add nptl.
855 * manual/debug.texi (Debugging Support): Add link to Threads
856 chapter.
857 * manual/nptl.texi: New file.
858
e25cfa60
SP
859 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
860
58a1335e
PB
8612013-03-14 Petr Baudis <pasky@ucw.cz>
862
863 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
864 for non-NULL pointer before the memory validity test. Pointed
865 out by Holger Brunck <holger.brunck@keymile.com>.
866
9dc7c64f
AS
8672013-03-13 Andreas Schwab <schwab@suse.de>
868
869 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
870 instead of .os.
871
54206aa6
JM
8722013-03-13 Joseph Myers <joseph@codesourcery.com>
873
874 * timezone/zic.c: Update from tzcode 2013b.
875
e98cdb38
CD
8762013-03-12 Carlos O'Donell <carlos@redhat.com>
877
878 * manual/install.texi (Configuring and compiling):
879 Mention i686 and i586.
880 * INSTALL: Regenerate.
881
9967e003
RM
8822013-03-12 Roland McGrath <roland@hack.frob.com>
883
884 * sysdeps/init_array/elf-init.c: New file.
885 * csu/elf-init.c
886 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
887 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
888
889 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
890 __gmon_start__ as global, but as static with a .preinit_array pointer.
891 * sysdeps/init_array/gmon-start.c: New file. Use that.
892 * sysdeps/init_array/crti.S: New file, empty except for comments.
893 * sysdeps/init_array/crtn.S: Likewise.
894
e6b5a293 8952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
896
897 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
898 definining bcopy.
80f844c9
OB
899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
900 Remove Prefer_SSE_for_memop.
901 * sysdeps/x86_64/multiarch/init-arch.h: Remove
902 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
903 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
905 memset-x86-64.
80f844c9 906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 907 Remove bzero, memset ifunc support.
80f844c9
OB
908 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
909 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
910 * sysdeps/x86_64/multiarch/memset.S: Likewise.
911 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
912
fb6b0fcb
AS
9132013-03-11 Andreas Schwab <schwab@suse.de>
914
915 [BZ #15234]
916 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
917 by SHLIB_COMPAT.
918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
919 (GLIBC_2.16): Remove pthread_atfork.
920
3e6bd4b1
PP
9212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
922
923 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
924 (ptestcases.h): Likewise.
925
222d7f00
RM
9262013-03-08 Roland McGrath <roland@hack.frob.com>
927
928 * Makeconfig ($(common-objpfx)config.status): Depend on
929 sysdeps/*/preconfigure{,.in} too.
930
1ba4f030
JM
9312013-03-08 Joseph Myers <joseph@codesourcery.com>
932
a222d91a
JM
933 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
934 (__free_hook): Use void * instead of __malloc_ptr_t.
935 (__malloc_hook): Likewise.
936 (__realloc_hook): Likewise.
937 (__memalign_hook): Likewise.
938 (__after_morecore_hook): Likewise.
939 * malloc/arena.c (save_malloc_hook): Likewise.
940 (save_free_hook): Likewise.
941 * malloc/hooks.c (malloc_hook_ini): Likewise.
942 (realloc_hook_ini): Likewise.
943 (memalign_hook_ini): Likewise.
944 * malloc/malloc.c (malloc_hook_ini): Likewise.
945 (realloc_hook_ini): Likewise.
946 (memalign_hook_ini): Likewise.
947 (__free_hook): Likewise.
948 (__malloc_hook): Likewise.
949 (__realloc_hook): Likewise.
950 (__memalign_hook): Likewise.
951 (__libc_malloc): Likewise.
952 (__libc_free): Likewise.
953 (__libc_realloc): Likewise.
954 (__libc_memalign): Likewise.
955 (__libc_valloc): Likewise.
956 (__libc_pvalloc): Likewise.
957 (__libc_calloc): Likewise.
958 (__posix_memalign): Likewise.
959 * malloc/morecore.c (__sbrk): Likewise.
960 (__default_morecore): Likewise.
961
5cc45e10
JM
962 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
963
dd54b864
JM
964 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
965 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
966 __malloc_ptrdiff_t.
967
1ba4f030
JM
968 * malloc/malloc.h (__malloc_size_t): Remove macro.
969 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
970 __malloc_size_t.
971 (old_memalign_hook): Likewise.
972 (old_realloc_hook): Likewise.
973 (struct hdr): Likewise.
974 (flood): Likewise.
975 (mallochook): Likewise.
976 (memalignhook): Likewise.
977 (reallochook): Likewise.
978 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
979 (tr_old_realloc_hook): Likewise.
980 (tr_old_memalign_hook): Likewise.
981 (tr_mallochook): Likewise.
982 (tr_reallochook): Likewise.
983 (tr_memalignhook): Likewise.
984
edf66e57
AZ
9852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
988 default_ldbl_pack and using as default implementation.
989 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
990 implementation.
991 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
992 redundant definition.
993 (ldbl_insert_mantissa): Likewise.
994 (ldbl_canonicalize): Likewise.
995 (ldbl_nearbyint): Likewise.
996 (ldbl_pack): Rename to ldbl_pack_ppc.
997 (ldbl_unpack): Rename to ldbl_unpack_ppc.
998 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
999 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1000
6d9145d8
SP
10012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1002
1003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1004 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1005 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1006 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1008 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1009 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1010 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1011
4dd4e157
AJ
10122013-03-07 Andreas Jaeger <aj@suse.de>
1013
1014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1015 bits/mman-linux.h.
1016
adbb8027
SP
10172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1018
ce544b5b
SP
1019 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1020 Include mpa.h and declare __MPEXP.
1021 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1023 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1024 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1025 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1026 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1027 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1028
4cc149fd
SP
1029 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1030 (__slowpow): Use long double EXPL and LOGL functions to
1031 compute POW.
1032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1033 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1035 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1036 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1038
e6ebd4a7
SP
1039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1040 intermediate variable to calculate exponent.
1041 (__sqr): Likewise.
1042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1043 Likewise.
1044 (__sqr): Likewise.
1045
82a9811d
SP
1046 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1047 [!NO__SQR]: Define __sqr.
1048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1049 and NO__SQR. Remove all code except __mul and __sqr. Include
1050 sysdeps/ieee754/dbl-64/mpa.c.
1051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1052
adbb8027
SP
1053 [BZ #12723]
1054 * posix/Makefile (tests): Add tst-pathconf.
1055 * posix/tst-pathconf.c: New test case.
1056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1057 _PC_PIPE_BUF.
1058 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1059
39120df9
PF
10602013-03-06 Patsy Franklin <pfrankli@redhat.com>
1061
1062 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1063
67525cb8
AJ
10642013-03-06 Andreas Jaeger <aj@suse.de>
1065
664a9ce4
AJ
1066 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1067 definition via __MAP_ANONYMOUS.
1068
8e39047d
AJ
1069 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1070 it's not part of Linux headers.
1071
67525cb8
AJ
1072 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1073 (MAP_HUGE_MASK): Define.
1074
1075 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1076 Define.
1077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1079 Define.
1080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1081 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1082 Define.
1083 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1084 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1085 Define.
1086 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1087
1088 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1089 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1090 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1091 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1092 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1094
1095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1096 Handle f2fs.
1097
1098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1099 Handle f2fs and efivarfs.
1100
1101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1102 f2fs.
1103
1104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1105 (EFIVARFS_MAGIC): Add.
1106 (F2FS_LINK_MAX): Add.
1107
e1b42695
PP
11082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1109
1110 * stdio-common/vfprintf.c: Replace __builtin_expect with
1111 __glibc_unlikely.
1112
2d67d91a
JM
11132013-03-06 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #13550]
1116 * sysdeps/generic/bp-sym.h: Remove file.
1117 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1118 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1119 <bp-sym.h> and <bp-asm.h>.
1120 (__longjmp): Don't use BP_SYM.
1121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1122 and <bp-asm.h>.
1123 (memcpy): Don't use BP_SYM.
1124 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1125 <bp-sym.h> and <bp-asm.h>.
1126 (memcpy): Don't use BP_SYM.
1127 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1128 <bp-asm.h>.
1129 (memcpy): Don't use BP_SYM.
1130 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1131 <bp-asm.h>.
1132 (memset): Don't use BP_SYM.
1133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1135 (__bzero): Don't use BP_SYM.
1136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1139 <bp-sym.h> and <bp-asm.h>.
1140 (memcmp): Don't use BP_SYM. Remove comment about bounded
1141 pointers.
1142 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1143 <bp-sym.h> and <bp-asm.h>.
1144 (memcpy): Don't use BP_SYM.
1145 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1146 <bp-sym.h> and <bp-asm.h>.
1147 (memset): Don't use BP_SYM.
1148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1150 (__bzero): Don't use BP_SYM.
1151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1154 <bp-sym.h> and <bp-asm.h>.
1155 (strncmp): Don't use BP_SYM. Remove comment about bounded
1156 pointers.
1157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1158 <bp-sym.h> and <bp-asm.h>.
1159 (memcpy): Don't use BP_SYM.
1160 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1161 <bp-sym.h> and <bp-asm.h>.
1162 (memset): Don't use BP_SYM.
1163 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1164 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1165 (__bzero): Don't use BP_SYM.
1166 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1167 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (__memchr): Don't use BP_SYM.
1171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1172 <bp-sym.h> and <bp-asm.h>.
1173 (memcmp): Don't use BP_SYM. Remove comment about bounded
1174 pointers.
1175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1176 <bp-sym.h> and <bp-asm.h>.
1177 (memcpy): Don't use BP_SYM.
1178 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1179 <bp-sym.h> and <bp-asm.h>.
1180 (__mempcpy): Don't use BP_SYM.
1181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1182 <bp-sym.h> and <bp-asm.h>.
1183 (__memrchr): Don't use BP_SYM.
1184 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1185 <bp-sym.h> and <bp-asm.h>.
1186 (memset): Don't use BP_SYM.
1187 (__bzero): Likewise.
1188 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1189 <bp-sym.h> and <bp-asm.h>.
1190 (__rawmemchr): Don't use BP_SYM.
1191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1192 <bp-sym.h> and <bp-asm.h>.
1193 (__STRCMP): Don't use BP_SYM.
1194 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1195 <bp-sym.h> and <bp-asm.h>.
1196 (strchr): Don't use BP_SYM.
1197 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1198 <bp-sym.h> and <bp-asm.h>.
1199 (__strchrnul): Don't use BP_SYM.
1200 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1201 <bp-sym.h> and <bp-asm.h>.
1202 (strlen): Don't use BP_SYM.
1203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1204 <bp-sym.h> and <bp-asm.h>.
1205 (strncmp): Don't use BP_SYM. Remove comment about bounded
1206 pointers.
1207 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1208 <bp-sym.h> and <bp-asm.h>.
1209 (__strnlen): Don't use BP_SYM.
1210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1211 <bp-sym.h> and <bp-asm.h>.
1212 (__GI__setjmp): Don't use BP_SYM.
1213 (_setjmp): Likewise.
1214 (__sigsetjmp): Likewise.
1215 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1216 (L(start_addresses)): Don't use BP_SYM.
1217 (_start): Likewise.
1218 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1219 <bp-asm.h>.
1220 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1221 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1222 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1223 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1224 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1225 <bp-asm.h>.
1226 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1227 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1228 about bounded pointers.
1229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1231 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1232 <bp-asm.h>.
1233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1234 about bounded pointers. Remove GKM FIXME comments.
1235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1236 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1237 <bp-asm.h>.
1238 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1239 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1240 Remove GKM FIXME comments.
1241 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1242 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1243 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1244 <bp-asm.h>.
1245 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1246 about bounded pointers. Remove GKM FIXME comment.
1247 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1248 and <bp-asm.h>.
1249 (strncmp): Don't use BP_SYM. Remove comment about bounded
1250 pointers.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1252 <bp-sym.h> and <bp-asm.h>.
1253 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1255 <bp-sym.h> and <bp-asm.h>.
1256 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1257 comment.
1258
cdcf361f
PP
12592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1260
1261 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1262 call free(NULL).
1263
3c4a2b15
DM
12642013-03-05 David S. Miller <davem@davemloft.net>
1265
1266 * po/es.po: Update from translation team.
1267
cdcf361f 12682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1269
1270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1271 <bits/mman-linux.h>.
1272 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1273 is fine.
1274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1275 <bits/mman-linux.h> to end of file.
1276 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1277 is fine.
1278 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1279 <bits/mman-linux.h> to end of file.
1280 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1281 is fine.
1282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1283 <bits/mman-linux.h> to end of file.
1284
1285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1286 (MCL_CURRENT, MCL_FUTURE): Define here.
1287
5f67c04f
AK
12882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1289
8a4473cc 1290 [BZ #15232]
5f67c04f
AK
1291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1292 attribute_hidden.
1293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1294
c3e94a95
AK
12952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1296
1297 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1298 fourth parameter needed for rt_sigprocmask syscall.
1299 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1300 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1301 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1302 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1303 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1304 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1305
cfb6382a
JM
13062013-03-04 Joseph Myers <joseph@codesourcery.com>
1307
1308 [BZ #13550]
1309 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1310 comment about bounded pointers.
1311 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1312 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1313
539d8e01
AJ
13142013-03-04 Andreas Jaeger <aj@suse.de>
1315
1316 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1317 common definitions.
1318
1319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1320 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1321 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1325
2e167a70 13262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1327
1328 [BZ #15055]
1329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1330 __ieee754_sqrl instead of __sqrl.
1331
68508633
JM
13322013-03-01 Joseph Myers <joseph@codesourcery.com>
1333
1334 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1335 * sysdeps/powerpc/fpu_control.h: ... here.
1336 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1337 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1338 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1339 * sysdeps/powerpc/bits/mathinline.h: ... here.
1340
7775448e
RM
13412013-03-01 Roland McGrath <roland@hack.frob.com>
1342
1343 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1344 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1345 to just [NEED_DL_SYSINFO_DSO].
1346 * elf/dl-support.c: Likewise.
1347 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1348 * elf/rtld.c (dl_main): Likewise.
1349 * elf/setup-vdso.h (setup_vdso): Likewise.
1350 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1351 * sysdeps/unix/sysv/linux/dl-sysdep.c
1352 (_dl_discover_osversion): Likewise.
1353
4e9b5995
CD
13542013-03-01 Carlos O'Donell <carlos@redhat.com>
1355
1356 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1357 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1358
e23872c8
SP
13592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
e5c74c63
SP
1361 * NEWS: Mention libm performance improvements and non-x86 PI
1362 futex support.
1363
e23872c8
SP
1364 * csu/libc-start.c (__pthread_initialize_minimal): Change
1365 function arguments.
1366 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1367
b5510883
JM
13682013-02-28 Joseph Myers <joseph@codesourcery.com>
1369
1370 [BZ #13550]
1371 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1372 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1373 <bp-sym.h> and <bp-asm.h>.
1374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1376 and <bp-asm.h>.
1377 (memcpy): Don't use BP_SYM.
1378 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1379 <bp-asm.h>.
1380 (__mpn_add_n): Don't use BP_SYM.
1381 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1382 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1383 and <bp-asm.h>.
1384 (__mpn_addmul_1): Don't use BP_SYM.
1385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1386 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1387 <bp-sym.h>.
1388 (_setjmp): Don't use BP_SYM.
1389 (__novmx_setjmp): Likewise.
1390 (__GI__setjmp): Likewise.
1391 (__vmx_setjmp): Likewise.
1392 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1393 <bp-sym.h>.
1394 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1395 (__bzero): Don't use BP_SYM.
1396 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1397 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1398 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1399 <bp-sym.h> and <bp-asm.h>.
1400 (memcpy): Don't use BP_SYM.
1401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1402 <bp-sym.h> and <bp-asm.h>.
1403 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1405 <bp-sym.h> and <bp-asm.h>.
1406 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1407 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1408 <bp-asm.h>.
1409 (__mpn_lshift): Don't use BP_SYM.
1410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1411 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1412 <bp-asm.h>.
1413 (memset): Don't use BP_SYM.
1414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1416 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1417 <bp-asm.h>.
1418 (__mpn_mul_1): Don't use BP_SYM.
1419 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1421 <bp-sym.h> and <bp-asm.h>.
1422 (memcmp): Don't use BP_SYM.
1423 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1424 <bp-sym.h> and <bp-asm.h>.
1425 (memcpy): Don't use BP_SYM.
1426 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1427 <bp-sym.h> and <bp-asm.h>.
1428 (memset): Don't use BP_SYM.
1429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1430 <bp-sym.h> and <bp-asm.h>.
1431 (strncmp): Don't use BP_SYM.
1432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1433 <bp-sym.h> and <bp-asm.h>.
1434 (memcpy): Don't use BP_SYM.
1435 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1436 <bp-sym.h> and <bp-asm.h>.
1437 (memset): Don't use BP_SYM.
1438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1439 <bp-sym.h> and <bp-asm.h>.
1440 (__memchr): Don't use BP_SYM.
1441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1442 <bp-sym.h> and <bp-asm.h>.
1443 (memcmp): Don't use BP_SYM.
1444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1445 <bp-sym.h> and <bp-asm.h>.
1446 (memcpy): Don't use BP_SYM.
1447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1448 <bp-sym.h> and <bp-asm.h>.
1449 (__mempcpy): Don't use BP_SYM.
1450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1451 <bp-sym.h> and <bp-asm.h>.
1452 (__memrchr): Don't use BP_SYM.
1453 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1454 <bp-sym.h> and <bp-asm.h>.
1455 (memset): Don't use BP_SYM.
1456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1457 <bp-sym.h> and <bp-asm.h>.
1458 (__rawmemchr): Don't use BP_SYM.
1459 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1460 <bp-sym.h> and <bp-asm.h>.
1461 (__STRCMP): Don't use BP_SYM.
1462 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1463 <bp-sym.h> and <bp-asm.h>.
1464 (strchr): Don't use BP_SYM.
1465 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1466 <bp-sym.h> and <bp-asm.h>.
1467 (__strchrnul): Don't use BP_SYM.
1468 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1469 <bp-sym.h> and <bp-asm.h>.
1470 (strlen): Don't use BP_SYM.
1471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1472 <bp-sym.h> and <bp-asm.h>.
1473 (strncmp): Don't use BP_SYM.
1474 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1475 <bp-sym.h> and <bp-asm.h>.
1476 (__strnlen): Don't use BP_SYM.
1477 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1478 <bp-asm.h>.
1479 (__mpn_rshift): Don't use BP_SYM.
1480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1481 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1482 <bp-sym.h> and <bp-asm.h>.
1483 (__sigsetjmp): Don't use BP_SYM.
1484 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1485 (L(start_addresses)): Don't use BP_SYM.
1486 (_start): Likewise.
1487 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1488 <bp-asm.h>.
1489 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1490 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1491 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1492 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1493 <bp-asm.h>.
1494 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1497 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1498 <bp-asm.h>.
1499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1500 comments.
1501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1502 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1503 <bp-asm.h>.
1504 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1505 FIXME comments.
1506 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1507 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1508 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1509 <bp-asm.h>.
1510 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1511 comment.
1512 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1513 and <bp-asm.h>.
1514 (strncmp): Don't use BP_SYM,
1515 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1516 <bp-asm.h>.
1517 (__mpn_sub_n): Don't use BP_SYM.
1518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1519 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1520 and <bp-asm.h>.
1521 (__mpn_submul_1): Don't use BP_SYM.
1522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1524 <bp-sym.h> and <bp-asm.h>.
1525 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1527 <bp-sym.h> and <bp-asm.h>.
1528 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1529 comment.
1530
8d19fe64
SP
15312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1532
1533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1534 Use ZK to minimize writes to Z.
1535 (sub_magnitudes): Simplify code a bit.
1536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1537 Use ZK to minimize writes to Z.
1538 (sub_magnitudes): Simplify code a bit.
1539
85bd816a
RM
15402013-02-27 Roland McGrath <roland@hack.frob.com>
1541
1542 * csu/gmon-start.c: Add special exception to license text.
1543
b5977bf2
RH
15442013-02-27 Richard Henderson <rth@redhat.com>
1545
1546 * scripts/config.guess: Update from config.git.
1547 * scripts/config.sub: Likewise.
1548
11d6e2f2
SP
15492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1550
09c14ed2
SP
1551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1552
a688864e
SP
1553 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1554
6295157a
SP
1555 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1556
b8de2202
SP
1557 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1558
11d6e2f2
SP
1559 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1560
7e80ddb8
RM
15612013-02-26 Roland McGrath <roland@hack.frob.com>
1562
1563 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1564 [$(build-shared = yes].
7e80ddb8 1565
7da6d9ed
SP
15662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1567
45f05884
SP
1568 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1569 (__mul): Reduce iterations for calculating mantissa.
1570
2236d359
SP
1571 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1572 MPTWO.
1573 (__mpranred): Likewise.
1574
7da6d9ed
SP
1575 [BZ #15160]
1576 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1577 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1578
b7688c42
PE
15792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1580
1581 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1582 Define __attribute__.
1583
53a5c423
SP
15842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1585
1586 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1587 unused.
1588 * posix/regex_internal.h (__attribute): Remove.
1589 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1590 (re_string_context_at): Likewise.
1591 (bitset_not): Use __attribute__ and mark function as possibly
1592 unused.
1593 (bitset_merge): Likewise.
1594 (bitset_mask): Likewise.
1595 (re_string_char_size_at): Likewise.
1596 (re_string_wchar_at): Likewise.
1597 (re_string_elem_size_at): Likewise.
1598
60f5a8b5
SP
15992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
2a983a2e
SP
1601 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1602 code.
1603 (cc32): Likewise.
1604
e69804d1
SP
1605 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1606 (__acr): Likewise.
1607 (__cpy): Likewise.
1608 (norm): Likewise.
1609 (denorm): Likewise.
1610 (__dbl_mp): Likewise.
1611 (add_magnitudes): Likewise.
1612 (sub_magnitudes): Likewise.
1613 (__mul): Likewise.
1614 (__inv): Likewise.
1615
2f22a1e8
SP
1616 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1617 style.
1618
8930ddc7
SP
1619 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1620 style.
1621
dc60cb11
SP
1622 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1623 code.
1624
60f5a8b5
SP
1625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1626 up changes with default code.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1628 Likewise.
1629
b4d1fd33
AM
16302013-02-24 Allan McRae <allan@archlinux.org>
1631
faf6f8bc
AM
1632 * manual/socket.texi (The Internet Namespace): Order menu items
1633 to match that in the file.
1634
b4d1fd33
AM
1635 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1636 node listing of the info page menu.
1637
2366713d
JM
16382013-02-21 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #13550]
1641 * sysdeps/i386/bp-asm.h: Remove file.
1642 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1643 (PARMS): Do not use macros from bp-asm.h.
1644 (S1): Likewise.
1645 (S2): Likewise.
1646 (SIZE): Likewise.
1647 (__mpn_add_n): Do not use BP_SYM
1648 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1649 "bp-asm.h".
1650 (PARMS): Do not use macros from bp-asm.h.
1651 (S1): Likewise.
1652 (SIZE): Likewise.
1653 (__mpn_addmul_1): Do not use BP_SYM
1654 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1655 "bp-asm.h".
1656 (PARMS): Do not use macros from bp-asm.h.
1657 (SIGMSK): Likewise.
1658 (_setjmp): Likewise. Do not use BP_SYM.
1659 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (SIGMSK): Likewise.
1663 (setjmp): Likewise. Do not use BP_SYM.
1664 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1665 "bp-asm.h".
1666 (PARMS): Do not use macros from bp-asm.h.
1667 (__frexp): Do not use BP_SYM.
1668 (frexp): Likewise.
1669 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1670 "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1672 (__frexpf): Do not use BP_SYM.
1673 (frexpf): Likewise.
1674 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1675 "bp-asm.h".
1676 (PARMS): Do not use macros from bp-asm.h.
1677 (__frexpl): Do not use BP_SYM.
1678 (frexpl): Likewise.
1679 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1680 "bp-asm.h".
1681 (PARMS): Do not use macros from bp-asm.h.
1682 (__remquo): Do not use BP_SYM.
1683 (remquo): Likewise.
1684 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1685 "bp-asm.h".
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (__remquof): Do not use BP_SYM.
1688 (remquof): Likewise.
1689 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1690 "bp-asm.h".
1691 (PARMS): Do not use macros from bp-asm.h.
1692 (__remquol): Do not use BP_SYM.
1693 (remquol): Likewise.
1694 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1695 "bp-asm.h".
1696 (PARMS): Do not use macros from bp-asm.h.
1697 (DEST): Likewise.
1698 (SRC): Likewise.
1699 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1700 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1701 "bp-asm.h".
1702 (PARMS): Do not use macros from bp-asm.h.
1703 (strlen): Do not use BP_SYM.
1704 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1705 "bp-asm.h".
1706 (PARMS): Do not use macros from bp-asm.h.
1707 (S1): Likewise.
1708 (S2): Likewise.
1709 (SIZE): Likewise.
1710 (__mpn_add_n): Do not use BP_SYM.
1711 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
1716 (__mpn_addmul_1): Do not use BP_SYM.
1717 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1718 weak_alias.
1719 (bzero): Likewise.
1720 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1721 "bp-asm.h".
1722 (PARMS): Do not use macros from bp-asm.h.
1723 (S): Likewise.
1724 (SIZE): Likewise.
1725 (__mpn_lshift): Do not use BP_SYM.
1726 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1727 "bp-asm.h".
1728 (PARMS): Do not use macros from bp-asm.h.
1729 (DEST): Likewise.
1730 (SRC): Likewise.
1731 (LEN): Likewise.
1732 (memcpy): Likewise. Do not use BP_SYM.
1733 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1734 libc_hidden_def and weak_alias.
1735 (mempcpy): Do not use BP_SYM in weak_alias.
1736 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1737 "bp-asm.h".
1738 (PARMS): Do not use macros from bp-asm.h.
1739 (DEST): Likewise.
1740 (LEN): Likewise.
1741 [!BZERO_P] (CHR): Likewise.
1742 (memset): Likewise. Do not use BP_SYM.
1743 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1744 "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (S1): Likewise.
1747 (SIZE): Likewise.
1748 (__mpn_mul_1): Do not use BP_SYM.
1749 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1750 "bp-asm.h".
1751 (PARMS): Do not use macros from bp-asm.h.
1752 (S): Likewise.
1753 (SIZE): Likewise.
1754 (__mpn_rshift): Do not use BP_SYM.
1755 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1756 "bp-asm.h".
1757 (PARMS): Do not use macros from bp-asm.h.
1758 (STR): Likewise.
1759 (CHR): Likewise.
1760 (strchr): Likewise. Do not use BP_SYM.
1761 (index): Do not use BP_SYM in weak_alias.
1762 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1763 "bp-asm.h".
1764 (PARMS): Do not use macros from bp-asm.h.
1765 (DEST): Likewise.
1766 (SRC): Likewise.
1767 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1768 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1769 "bp-asm.h".
1770 (PARMS): Do not use macros from bp-asm.h.
1771 (strlen): Do not use BP_SYM.
1772 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1773 "bp-asm.h".
1774 (PARMS): Do not use macros from bp-asm.h.
1775 (S1): Likewise.
1776 (S2): Likewise.
1777 (SIZE): Likewise.
1778 (__mpn_sub_n): Do not use BP_SYM.
1779 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1780 "bp-asm.h".
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (S1): Likewise.
1783 (SIZE): Likewise.
1784 (__mpn_submul_1): Do not use BP_SYM.
1785 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1786 "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1788 (S1): Likewise.
1789 (S2): Likewise.
1790 (SIZE): Likewise.
1791 (__mpn_add_n): Do not use BP_SYM.
1792 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1793 weak_alias.
1794 (bzero): Likewise.
1795 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1796 "bp-asm.h".
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (BLK2): Likewise.
1799 (LEN): Likewise.
1800 (memcmp): Do not use BP_SYM.
1801 (bcmp): Do not use BP_SYM in weak_alias.
1802 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1803 "bp-asm.h".
1804 (PARMS): Do not use macros from bp-asm.h.
1805 (DEST): Likewise.
1806 (SRC): Likewise.
1807 (LEN): Likewise.
1808 (memcpy): Likewise. Do not use BP_SYM.
1809 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1810 "bp-asm.h".
1811 (PARMS): Do not use macros from bp-asm.h.
1812 (DEST): Likewise.
1813 (SRC): Likewise.
1814 (LEN): Likewise.
1815 (memmove): Likewise. Do not use BP_SYM.
1816 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1817 "bp-asm.h".
1818 (PARMS): Do not use macros from bp-asm.h.
1819 (DEST): Likewise.
1820 (SRC): Likewise.
1821 (LEN): Likewise.
1822 (__mempcpy): Likewise. Do not use BP_SYM.
1823 (mempcpy): Do not use BP_SYM in weak_alias.
1824 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1825 "bp-asm.h".
1826 (PARMS): Do not use macros from bp-asm.h.
1827 (DEST): Likewise.
1828 (LEN): Likewise.
1829 [!BZERO_P] (CHR): Likewise.
1830 (memset): Likewise. Do not use BP_SYM.
1831 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1832 "bp-asm.h".
1833 (PARMS): Do not use macros from bp-asm.h.
1834 (STR2): Likewise.
1835 (strcmp): Do not use BP_SYM.
1836 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1837 "bp-asm.h".
1838 (PARMS): Do not use macros from bp-asm.h.
1839 (STR): Likewise.
1840 (DELIM): Likewise.
1841 [USE_AS_STRTOK_R] (SAVE): Likewise.
1842 (FUNCTION): Likewise. Do not use BP_SYM.
1843 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1844 aliases.
1845 (strtok_r): Likewise.
1846 (__GI___strtok_r): Likewise.
1847 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1848 (PARMS): Do not use macros from bp-asm.h.
1849 (S): Likewise.
1850 (SIZE): Likewise.
1851 (__mpn_lshift): Do not use BP_SYM.
1852 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1853 (PARMS): Do not use macros from bp-asm.h.
1854 (STR): Likewise.
1855 (CHR): Likewise.
1856 (__memchr): Do not use BP_SYM.
1857 (memchr): Do not use BP_SYM in weak_alias.
1858 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1859 (PARMS): Do not use macros from bp-asm.h.
1860 (BLK2): Likewise.
1861 (LEN): Likewise.
1862 (memcmp): Do not use BP_SYM.
1863 (bcmp): Do not use BP_SYM in weak_alias.
1864 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1865 (PARMS): Do not use macros from bp-asm.h.
1866 (S1): Likewise.
1867 (SIZE): Likewise.
1868 (__mpn_mul_1): Do not use BP_SYM.
1869 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1870 "bp-asm.h".
1871 (PARMS): Do not use macros from bp-asm.h.
1872 (STR): Likewise.
1873 (CHR): Likewise.
1874 (__rawmemchr): Do not use BP_SYM.
1875 (rawmemchr): Do not use BP_SYM in weak_alias.
1876 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1877 (PARMS): Do not use macros from bp-asm.h.
1878 (S): Likewise.
1879 (SIZE): Likewise.
1880 (__mpn_rshift): Do not use BP_SYM.
1881 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1882 (PARMS): Do not use macros from bp-asm.h.
1883 (SIGMSK): Likewise.
1884 (__sigsetjmp): Likewise. Do not use BP_SYM.
1885 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1886 (_start): Do not use BP_SYM.
1887 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1888 (PARMS): Do not use macros from bp-asm.h.
1889 (DEST): Likewise.
1890 (SRC): Likewise.
1891 (__stpcpy): Likewise. Do not use BP_SYM.
1892 (stpcpy): Do not use BP_SYM in weak_alias.
1893 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1894 "bp-asm.h".
1895 (PARMS): Do not use macros from bp-asm.h.
1896 (DEST): Likewise.
1897 (SRC): Likewise.
1898 (LEN): Likewise.
1899 (__stpncpy): Likewise. Do not use BP_SYM.
1900 (stpncpy): Do not use BP_SYM in weak_alias.
1901 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1902 (PARMS): Do not use macros from bp-asm.h.
1903 (STR): Likewise.
1904 (CHR): Likewise.
1905 (strchr): Likewise. Do not use BP_SYM.
1906 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1907 "bp-asm.h".
1908 (PARMS): Do not use macros from bp-asm.h.
1909 (STR): Likewise.
1910 (CHR): Likewise.
1911 (__strchrnul): Likewise. Do not use BP_SYM.
1912 (strchrnul): Do not use BP_SYM in weak_alias.
1913 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1914 "bp-asm.h".
1915 (PARMS): Do not use macros from bp-asm.h.
1916 (STOP): Likewise.
1917 (strcspn): Do not use BP_SYM.
1918 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1919 "bp-asm.h".
1920 (PARMS): Do not use macros from bp-asm.h.
1921 (STR): Likewise.
1922 (STOP): Likewise.
1923 (strpbrk): Likewise. Do not use BP_SYM.
1924 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1925 "bp-asm.h".
1926 (PARMS): Do not use macros from bp-asm.h.
1927 (STR): Likewise.
1928 (CHR): Likewise.
1929 (strrchr): Likewise. Do not use BP_SYM.
1930 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1931 (PARMS): Do not use macros from bp-asm.h.
1932 (SKIP): Likewise.
1933 (strspn): Do not use BP_SYM.
1934 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1935 (PARMS): Do not use macros from bp-asm.h.
1936 (STR): Likewise.
1937 (DELIM): Likewise.
1938 (SAVE): Likewise.
1939 (FUNCTION): Likewise. Do not use BP_SYM.
1940 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1941 aliases.
1942 (strtok_r): Likewise.
1943 (__GI___strtok_r): Likewise.
1944 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1945 (PARMS): Do not use macros from bp-asm.h.
1946 (S1): Likewise.
1947 (S2): Likewise.
1948 (SIZE): Likewise.
1949 (__mpn_sub_n): Do not use BP_SYM.
1950 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1951 "bp-asm.h".
1952 (PARMS): Do not use macros from bp-asm.h.
1953 (S1): Likewise.
1954 (SIZE): Likewise.
1955 (__mpn_submul_1): Do not use BP_SYM.
1956 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1957 <bp-sym.h>.
1958 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1959 and <bp-asm.h>.
1960 (PARMS): Do not use macros from bp-asm.h.
1961 (FLAGS): Likewise.
1962 (PTID): Likewise.
1963 (TLS): Likewise.
1964 (CTID): Likewise.
1965 (__clone): Do not use BP_SYM.
1966 (clone): Do not use BP_SYM in weak_alias.
1967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1968 and <bp-asm.h>.
1969 (PARMS): Do not use macros from bp-asm.h.
1970 (LEN): Likewise.
1971 (__mmap64): Do not use BP_SYM.
1972 (mmap64): Do not use BP_SYM in weak_alias.
1973 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1974 <bp-sym.h> and <bp-asm.h>.
1975 (PARMS): Do not use macros from bp-asm.h.
1976 (__posix_fadvise64_l64): Do not use BP_SYM.
1977 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1978 (PARMS): Do not use macros from bp-asm.h.
1979 (NSOPS): Likewise.
1980 (semtimedop): Do not use BP_SYM.
1981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1982 and <bp-asm.h>.
1983
582a3cff
AM
19842013-02-21 Allan McRae <allan@archlinux.org>
1985
1986 * manual/message.texi (Charset conversion in gettext):
1987 Move @end statement to beginning of line.
1988
bab8a695
SP
19892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
80945231
SP
1991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1992 static.
1993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1994 Likewise.
1995
bab8a695
SP
1996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1997 (denorm): Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2000
e21d7aa7
AK
20012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2002
2003 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2004 tail-call to the resolved function if pltexit isn't needed.
2005
4c7a4263
SP
20062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2007
2008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2009 or Y being zero as being unlikely.
2010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2011 Likewise.
2012
41f49342
CD
20132013-02-20 Carlos O'Donell <carlos@redhat.com>
2014
2015 * manual/nss.texi (System Databases and Name Service Switch):
2016 Remove frobnicate @pxref.
2017
50022a93
TS
20182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2019
2020 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2021 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2022
08cbd996
PM
20232013-02-20 Petr Machata <pmachata@redhat.com>
2024
2025 * elf/elf.h (R_ARM_TARGET1): New macro.
2026 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2027 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2028 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2029 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2030 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2031 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2032 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2033 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2034 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2035 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2036 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2037 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2038 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2039 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2040 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2041 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2042 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2043 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2044 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2045 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2046 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2047 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2048 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2049 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2050 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2051 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2052 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2053 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2054 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2055 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2056 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2057 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2058 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2059 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2060 (R_ARM_THM_GOT_BREL12): Likewise.
2061 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2062 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2063 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2064 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2065 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2066 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2067 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2068 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2069 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2070
c7b275d6
TS
20712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2072
2073 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2074 __attribute_used__ to __attribute__ ((unused)).
2075
20cd7fb3
SP
20762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2077
2078 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2079 powerpc mpa.c.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2081 comment formatting.
2082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2083
92945b52
JM
20842013-02-19 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #13550]
2087 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2088 Remove macro.
2089 (ENTER): Remove both macro definitions.
2090 (LEAVE): Likewise.
2091 (CHECK_BOUNDS_LOW): Likewise.
2092 (CHECK_BOUNDS_HIGH): Likewise.
2093 (CHECK_BOUNDS_BOTH): Likewise.
2094 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2095 (RETURN_BOUNDED_POINTER): Likewise.
2096 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2097 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2098 (POP_ERRNO_LOCATION_RETURN): Likewise.
2099 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2100 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2101 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2102 macros.
2103 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2104 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2105 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2106 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2107 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2108 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2109 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2110 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2111 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2112 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2113 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2114 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2115 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2116 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2117 removed macros.
2118 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2119 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2120 macros.
2121 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2122 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2123 * sysdeps/i386/i586/memset.S (memset): Likewise.
2124 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2125 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2126 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2127 macros.
2128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2129 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2130 Change uses of L(2) to L(out).
2131 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2132 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2133 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2135 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2136 removed macros.
2137 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2138 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2139 macros.
2140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2141 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2142 (RETURN): Do not use macro LEAVE.
2143 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2144 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2145 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2146 * sysdeps/i386/i686/memset.S (memset): Likewise.
2147 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2148 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2150 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2151 Likewise.
2152 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2153 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2154 L(1_2) and L(1_3) into L(1).
2155 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2156 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2157 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2158 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2159 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2160 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2161 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2162 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2163 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2164 macros.
2165 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2166 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2167 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2168 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2169 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2170 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2171 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2172 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2173 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2174 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2175 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2176 * sysdeps/i386/strspn.S (strspn): Likewise.
2177 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2178 conditional code.
2179 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2180 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2181 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2182 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2183 L(1_3) into L(1_1).
2184 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2185 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2186 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2187 macros.
2188 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2189
2389741a
JJ
21902013-02-19 Jakub Jelinek <jakub@redhat.com>
2191
2192 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2193 macro.
2194
2016b3cd
SP
21952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2196
e4f22324
SP
2197 * math/atest-exp.c (exp_mpn): Remove ROUND.
2198 * math/atest-exp2.c (exp_mpn): Likewise.
2199 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2200
2016b3cd
SP
2201 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2202 * stdlib/tst-tls-atexit-lib.c: Likewise.
2203 * stdlib/tst-tls-atexit.c: Likewise.
2204
4be9b544
MF
22052013-02-18 Mike Frysinger <vapier@gentoo.org>
2206
2207 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2208 and __attribute_alloc_size__.
2209
2f62b9ee
MF
22102013-02-18 Mike Frysinger <vapier@gentoo.org>
2211
2212 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2213 __attribute_alloc_size__.
2214 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2215 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2216
6ff444c4
MF
22172013-02-18 Mike Frysinger <vapier@gentoo.org>
2218
2219 * include/programs/xmalloc.h: New file.
2220 * catgets/gencat.c: Include it.
2221 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2222 * elf/pldd.c: Likewise.
2223 * iconv/iconv_charmap.c: Likewise.
2224 * iconv/iconvconfig.c: Likewise.
2225 * iconv/strtab.c: Likewise.
2226 * locale/programs/locale.c: Likewise.
2227 * locale/programs/localedef.h: Likewise.
2228 * locale/programs/simple-hash.c: Likewise.
2229 * nscd/nscd.h: Likewise.
2230 * nss/makedb.c: Likewise.
2231 * sysdeps/generic/ldconfig.h: Likewise.
2232
be179c8a
SP
22332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2234
ba384f6e
SP
2235 * Versions.def: Add GLIBC_2.18.
2236 * include/link.h (struct link_map): New member l_tls_dtor_count.
2237 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2238 (__call_tls_dtors): Likewise.
2239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2240 __cxa_thread_atexit_impl.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2244 Likewise.
2245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2246 Likewise.
2247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2248 Likewise.
2249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2251 Likewise.
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2253 Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2256 Likewise.
2257 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2258 (tests): Add test case tst-tls-atexit.
2259 (modules-names): Add shared library for tst-tls-atexit.
2260 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2261 (GLIBC_PRIVATE): Add __call_tls_dtors.
2262 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2263 for libstdc++.
2264 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2265 * stdlib/tst-tls-atexit.c: New test case.
2266 * stdlib/tst-tls-atexit-lib.c: New test case.
2267
ffaa74cf 2268 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2269
be179c8a
SP
2270 * elf/Versions (ld): Add _dl_find_dso_for_object.
2271 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2272 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2273 (dl_open_worker): Use _dl_find_dso_for_object.
2274 * elf/dl-sym.c (do_sym): Likewise.
2275 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2276
f78b5caa
AK
22772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2278
2279 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2280 Syntactic changes only.
2281 (_dl_runtime_profile): Do a tail-call to the resolved function.
2282
29691210
JM
22832013-02-17 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #13550]
2286 * sysdeps/x86_64/bp-asm.h: Remove file.
2287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2288 <bp-sym.h> and <bp-asm.h>.
2289 (__clone): Do not use BP_SYM.
2290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2291 <bp-sym.h> and <bp-asm.h>.
2292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2293 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2294 "bp-asm.h".
2295 (_setjmp): Do not use BP_SYM.
2296 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2297 "bp-asm.h".
2298 (setjmp): Do not use BP_SYM.
2299 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2300 libc_hidden_def.
2301 (mempcpy): Do not use BP_SYM in weak_alias.
2302 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2303 "bp-asm.h".
2304 (strchr): Do not use BP_SYM.
2305 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2306 "bp-asm.h".
2307 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2308 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2309 (_start): Do not use BP_SYM.
2310 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2311 "bp-asm.h".
2312 (strcat): Do not use BP_SYM.
2313 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2314 "bp-asm.h".
2315 (STRCMP): Do not use BP_SYM.
2316 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2317 "bp-asm.h".
2318 (STRCPY): Do not use BP_SYM.
2319 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2320 "bp-asm.h".
2321 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2322 "bp-asm.h".
2323 (FUNCTION): Do not use BP_SYM.
2324 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2325 weak_alias.
2326 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2327
f238fd19
AJ
23282013-02-17 Andreas Jaeger <aj@suse.de>
2329
2330 * time/Versions: Sort entries.
2331 * string/Versions: Likewise.
2332 * resolv/Versions: Likewise.
2333 * posix/Versions: Likewise.
2334 * iconv/Versions: Likewise.
2335 * elf/Versions: Likewise.
2336 * wcsmbs/Versions: Likewise.
2337
bd07f23c 23382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2339
22af19f9
SP
2340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2341 loop termination condition.
2342
4709fe76
SP
2343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2344 variable to calculate EZ.
2345 (__sqr): Likewise.
2d0e0f29
SP
2346
2347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2348 the lower precision input.
2349
daaa7713
JM
23502013-02-15 Joseph Myers <joseph@codesourcery.com>
2351
2352 [BZ #13550]
2353 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2354 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2355 (run-via-rtld-prefix): Do not handle %-bp tests.
2356 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2357 (all-object-suffixes): Remove .ob.
2358 (bppfx): Remove variable.
2359 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2360 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2361 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2362 [$(build-bounded) = yes] (libtype.ob): Likewise.
2363 * Makerules (elide-routines.ob): Remove variable.
2364 (do-tests-clean): Do not handle *-bp.out.
2365 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2366 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2367 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2368 (tests): Do not include $(tests-bp.out).
2369 (xtests): Do not include $(xtests-bp.out).
2370 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2371 [$(build-bounded) = yes] ($(addprefix
2372 $(objpfx),$(binaries-bounded))): Remove rule.
2373 ($(objpfx)%-bp.out): Remove rule.
2374 * config.make.in (build-bounded): Remove variable.
2375 * crypt/Makefile [$(build-bounded) = yes]
2376 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2377 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2378 append to variable.
2379 [$(build-bounded) = yes] (install-lib): Likewise.
2380 [$(build-bounded) = yes] (generated): Likewise.
2381 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2382 Remove rule.
2383 * intl/Makefile [$(build-bounded) = yes]
2384 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2385 * math/Makefile [$(build-bounded) = yes]
2386 ($(tests:%=$(objpfx)%-bp): Likewise.
2387 * misc/Makefile [$(build-bounded) = yes]
2388 ($(objpfx)tst-tsearch-bp): Likewise.
2389 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2390 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2391 Remove dependency.
2392 * string/Makefile (o-objects.ob): Remove variable.
2393 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2394 (CFLAGS-.ob): Remove variable.
2395 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2396 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2397 both definitions of variable.
2398 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2399 (ASFLAGS-.ob): Remove variable.
2400
e97ed6dd
JM
24012013-02-14 Joseph Myers <joseph@codesourcery.com>
2402
2bdd4ca6
JM
2403 [BZ #13550]
2404 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2405 Remove __BOUNDED_POINTERS__ from condition.
2406 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2407 * string/bits/string2.h [!__NO_STRING_INLINES &&
2408 !__BOUNDED_POINTERS__]: Likewise.
2409 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2412 Remove conditional code.
2413 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2414 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2415 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2416 condition.
2417
e97ed6dd
JM
2418 [BZ #13550]
2419 * csu/libc-start.c: Do not include <bp-sym.h>.
2420 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2421 * elf/dl-open.c: Do not include <bp-sym.h>.
2422 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2423 * math/fegetenv.c: Do not include <bp-sym.h>.
2424 (fegetenv): Do not use BP_SYM in versioned symbols.
2425 * nptl/sysdeps/pthread/bits/libc-lockP.h
2426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2427 <bp-sym.h>.
2428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2429 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2431 (__pthread_mutex_destroy): Likewise.
2432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2433 (__pthread_mutex_lock): Likewise.
2434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2435 (__pthread_mutex_trylock): Likewise.
2436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2437 (__pthread_mutex_unlock): Likewise.
2438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2439 (__pthread_mutexattr_init): Likewise.
2440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2441 (__pthread_mutexattr_destroy): Likewise.
2442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2443 (__pthread_mutexattr_settype): Likewise.
2444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2445 (__pthread_rwlock_init): Likewise.
2446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2447 (__pthread_rwlock_destroy): Likewise.
2448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2449 (__pthread_rwlock_rdlock): Likewise.
2450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2451 (__pthread_rwlock_tryrdlock): Likewise.
2452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2453 (__pthread_rwlock_wrlock): Likewise.
2454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2455 (__pthread_rwlock_trywrlock): Likewise.
2456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2457 (__pthread_rwlock_unlock): Likewise.
2458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2459 (__pthread_key_create): Likewise.
2460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2461 (__pthread_setspecific): Likewise.
2462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2463 (__pthread_getspecific): Likewise.
2464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2465 Likewise.
2466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2467 (_pthread_cleanup_push_defer): Likewise.
2468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2469 (_pthread_cleanup_pop_restore): Likewise.
2470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2471 (pthread_setcancelstate): Likewise.
2472 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2473 <bp-sym.h>.
2474 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2475 (memchr): Do not use BP_SYM in weak_alias.
2476 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2477 (fegetenv): Do not use BP_SYM in versioned symbols.
2478 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2479 (fesetenv): Do not use BP_SYM in versioned symbols.
2480 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2481 (feupdateenv): Do not use BP_SYM in versioned symbols.
2482 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2483 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2484 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2485 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2486 (open64): Do not use BP_SYM in weak_alias.
2487 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2488 (fegetenv): Do not use BP_SYM in versioned symbols.
2489 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2490 (fesetenv): Do not use BP_SYM in versioned symbols.
2491 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2492 (feupdateenv): Do not use BP_SYM in versioned symbols.
2493 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2494 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2495 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2496 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2497 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2498 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2500 <bp-sym.h>.
2501 (__libc_start_main): Do not use BP_SYM.
2502
d6752ccd
SP
25032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2504
cb57ce60
SP
2505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2506 redundant return line.
2507 (norm): Likewise.
2508 (denorm): Likewise.
2509 (dbl_mp): Likewise.
2510 (sub_magnitudes): Likewise.
2511 (__add): Likewise.
2512 (__sub): Likewise.
2513 (__mul): Likewise.
2514 (__inv): Likewise.
2515 (__dvd): Likewise.
2516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2517 (norm): Likewise.
2518 (denorm): Likewise.
2519 (dbl_mp): Likewise.
2520 (sub_magnitudes): Likewise.
2521 (__add): Likewise.
2522 (__sub): Likewise.
2523 (__mul): Likewise.
2524 (__inv): Likewise.
2525 (__dvd): Likewise.
2526
f414520d
SP
2527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2528 instead of __mul.
2529 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2530 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2531 (cc32): Likewise.
2532
d6752ccd
SP
2533 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2534 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2536 of __mul for squares.
2537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2538 function
2539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2540 Likewise.
2541 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2542 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2543
70d9946a
JM
25442013-02-13 Joseph Myers <joseph@codesourcery.com>
2545
2546 [BZ #13550]
2547 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2548 code.
2549 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2550 prototype or function definition. Rename ubp_* variables and
2551 parameters. Remove argv definitions conditional on
2552 [__BOUNDED_POINTERS__].
2553 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2554 * elf/dl-runtime.c (_dl_fixup): Likewise.
2555 * include/set-hooks.h (RUN_HOOK): Likewise.
2556 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2557 definition.
2558 * string/strcpy.c (strcpy): Do not use __unbounded.
2559 * sysdeps/generic/frame.h (struct layout): Likewise.
2560 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2561 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2562 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2563 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2564 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2565 (__backtrace): Likewise.
2566 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2567 use __ptrvalue.
2568 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2569 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2570 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2571 Likewise.
2572 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2573 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2574 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2575 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2576 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2577 Do not use __unbounded.
2578 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2579 Rename __unboundedrlimits parameter to rlimits in prototype.
2580 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2581 Do not use __unbounded.
2582 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2583 not use __ptrvalue.
2584 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2585 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2586 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2588 __ptrvalue or __unbounded.
2589 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2590 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2591 use __unbounded.
2592 (__new_msgctl): Do not use __ptrvalue.
2593 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2594 __unbounded.
2595 (__libc_msgrcv): Do not use __ptrvalue.
2596 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2597 startup_info): Do not use __unbounded.
2598 (__libc_start_main): Likewise. Rename ubp_* variables and
2599 parameters. Remove argv definitions conditional on
2600 [__BOUNDED_POINTERS__].
2601 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2602 __ptrvalue.
2603 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2604 use __unbounded.
2605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2606 or __ptrvalue.
2607 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2608 use __unbounded.
2609 (__new_shmctl): Do not use __ptrvalue.
2610 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2611 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2612 Likewise.
2613 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2615 (__libc_sigaction): Likewise.
2616 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2617 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2618 Likewise.
2619 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2620
cc7834d6
OB
26212013-02-13 Ondřej Bílka <neleai@seznam.cz>
2622
ffb1ec7b 2623 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2624
2625 * string/mempcpy.c: Implement by calling memcpy.
2626
bdf02814
SP
26272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
c2af38aa
SP
2629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2630
4e92d59e
SP
2631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2632 evaluation.
2633
909279a5
SP
2634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2635 values in the mantissa.
2636
bdf02814
SP
2637 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2638 minimize writes to Z.
2639 (sub_magnitudes): Simplify code a bit.
2640
cd525923
RM
26412013-02-12 Roland McGrath <roland@hack.frob.com>
2642
2643 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2644 from the message. The linker prefixes all warnings with that already.
2645
7e2f0d2d
AS
26462013-02-12 Andreas Schwab <schwab@suse.de>
2647
a445af0b
AS
2648 [BZ #15078]
2649 * posix/regexec.c (extend_buffers): Add parameter min_len.
2650 (check_matching): Pass minimum needed length.
2651 (clean_state_log_if_needed): Likewise.
2652 (get_subexp): Likewise.
2653 * posix/Makefile (tests): Add bug-regex34.
2654 (bug-regex34-ENV): Define.
2655 * posix/bug-regex34.c: New file.
2656
7e2f0d2d
AS
2657 [BZ #11561]
2658 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2659 elements compare against the byte sequence of it, not its name.
2660 * posix/Makefile (tests): Add bug-regex35.
2661 (bug-regex35-ENV): Define.
2662 * posix/bug-regex35.c: New file.
2663
a175b684
TV
26642013-02-11 Tom de Vries <tom@codesourcery.com>
2665
2666 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2667 comment.
2668 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2669 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2670 (CHECK_EOL): Add undef.
2671
310998fe 26722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2673
2674 * bits/stdlib-bsearch.h: New file.
2675 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2676 * stdlib/stdlib.h: Likewise.
41eda41d 2677
8ded91fb
RM
26782013-02-11 Roland McGrath <roland@hack.frob.com>
2679
2680 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2681 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2682 declaration.
2683 * manual/search.texi (Array Search Function): Add missing const in
2684 lfind prototype.
2685 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2686 declaration to use rlim_t.
2687 (Basic Scheduling Functions): Remove erroneous const from
2688 sched_getparam prototype. Remove erroneous * from
2689 sched_get_priority_max and sched_get_priority_min prototypes.
2690 (Resource Usage): Fix summary @comment on vtimes to refer to
2691 sys/vtimes.h rather than vtimes.h.
2692 Add missing *s in vtimes prototype.
2693 (Limits on Resources): Fix ulimit prototype to return long int.
2694 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2695 prototypes to use long int rather than double.
2696 (BSD Random): Fix initstate and setstate to use char *, not void *.
2697 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2698 prototype to make second argument 'struct aiocb64 *const[]'.
2699 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2700 (Status of AIO Operations): Remove erroneous const in aio_return and
2701 aio_return64 prototypes.
2702 (Synchronizing I/O): Fix sync prototype to return void.
2703 * manual/startup.texi (Suboptions): Remove an erroneous const in
2704 getsubopt prototype.
2705 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2706 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2707 use size_t rather than int.
2708 (Scanning All Users): Likewise for getpwent_r.
2709 (Setting Groups): Add missing const to setgroups prototype.
2710 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2711 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2712 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2713 'const void *' rather than 'const char *'.
2714 (Host Address Functions): Likewise for inet_ntop.
2715 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2716 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2717 ssize_t for return value.
2718 (Sending Data): Likewise for send, sendto, sendmsg.
2719 (Socket Option Functions): Add a missing const in setsockopt prototype.
2720 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2721 use wchar_t for the argument.
2722 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2723 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2724 take no arguments.
2725 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2726 double/float/long double for second argument.
2727 Fix return types of significand, significandf, significandl.
2728 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2729 argument in fchmod prototype.
2730 (File Owner): Use uid_t and gid_t in fchown prototype.
2731 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2732 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2733 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2734 use 'const struct dirent **' as argument types to CMP function pointer
2735 argument.
2736 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2737 (File Times): Fix summary magic @comment for struct utimbuf and utime
2738 to refer to utime.h, not time.h.
2739 * manual/string.texi (Argz Functions): Add missing const in
2740 argz_extract and argz_next prototypes.
2741 (Finding Tokens in a String): Likewise for basename.
2742 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2743 (Copying and Concatenation): Fix typo in wmemmove prototype.
2744 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2745 (Signal Stack): Remove erroneous const in sigstack prototype.
2746 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2747 prototype.
2748 (Simple Calendar Time): Likewise for stime.
2749 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2750 prototype.
2751 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2752 say sys/sysctl.h instead.
2753 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2754 and vsyslog prototypes.
2755
fe77fe6d
TV
27562013-02-11 Tom de Vries <tom@codesourcery.com>
2757
2758 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2759 Remove.
2760
3a09b620
RM
27612013-02-11 Roland McGrath <roland@hack.frob.com>
2762
2763 * misc/sys/mman.h: Fix typo in mremap comment.
2764
550a0b89
RM
27652013-02-08 Roland McGrath <roland@hack.frob.com>
2766
2767 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2768 the '\0' terminator.
2769
a2da1673
JM
27702013-02-08 Joseph Myers <joseph@codesourcery.com>
2771
2772 [BZ #13550]
2773 * debug/segfault.c: Don't include <bp-checks.h>.
2774 * sysdeps/generic/bp-checks.h: Remove file.
2775 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2776 (__GETDENTS): Don't use CHECK_N.
2777 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2778 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2779 (__getgroups): Don't use CHECK_N.
2780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2781 (setgroups): Don't use CHECK_N.
2782 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2783 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2784 (__libc_msgrcv): Don't use CHECK_N.
2785 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2786 (__libc_msgsnd): Don't use CHECK_N.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2788 <bp-checks.h>.
2789 (__libc_pread): Don't use CHECK_N.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2791 include <bp-checks.h>.
2792 (__libc_pread64): Don't use CHECK_N.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2794 include <bp-checks.h>.
2795 (__libc_pwrite): Don't use CHECK_N.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2797 include <bp-checks.h>.
2798 (__libc_pwrite64): Don't use CHECK_N.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2800 <bp-checks.h>.
2801 (__libc_pread): Don't use CHECK_N.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2803 include <bp-checks.h>.
2804 (__libc_pread64): Don't use CHECK_N.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2806 include <bp-checks.h>.
2807 (__libc_pwrite): Don't use CHECK_N.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2809 include <bp-checks.h>.
2810 (__libc_pwrite64): Don't use CHECK_N.
2811 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2812 (do_pread): Don't use CHECK_N.
2813 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2814 (do_pread64): Don't use CHECK_N.
2815 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2816 (do_pwrite): Don't use CHECK_N.
2817 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2818 (do_pwrite64): Don't use CHECK_N.
2819 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2820 (__libc_readv): Don't use CHECK_N.
2821 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2822 (semop): Don't use CHECK_N.
2823 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2824 <bp-checks.h>.
2825 (semtimedop): Don't use CHECK_N.
2826 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2827 (__libc_pread): Don't use CHECK_N.
2828 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2829 <bp-checks.h>.
2830 (__libc_pread64): Don't use CHECK_N.
2831 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2832 <bp-checks.h>.
2833 (__libc_pwrite): Don't use CHECK_N.
2834 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2835 <bp-checks.h>.
2836 (__libc_pwrite64): Don't use CHECK_N.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2838 <bp-checks.h>.
2839 (__libc_msgrcv): Don't use CHECK_N.
2840 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2841 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2842 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2843 (__libc_writev): Don't use CHECK_N.
2844
b84660a8
RM
28452013-02-08 Roland McGrath <roland@hack.frob.com>
2846
7f3e75f8
RM
2847 * string/strcpy.c: Removed unused variable.
2848
b84660a8
RM
2849 * Makeconfig (+sysdep-includes): Define with := rather than =.
2850 Use an existing include/ subdir of each sysdeps dir before it.
2851
471514d3
CD
28522013-02-08 Carlos O'Donell <carlos@redhat.com>
2853
2854 * nscd/connection.c (register_traced_file): Comment function.
2855 [HAVE_INOTIFY] (union __inev): Define.
2856 [HAVE_INOTIFY] (inotify_check_files): New function.
2857 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2858 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2859 clear_db_cache.
2860 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2861
b2d3c3be
CD
28622013-02-08 Carlos O'Donell <carlos@redhat.com>
2863
2864 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2865 loaded if not already and that a failure is permanent.
2866
b39949d2
CD
28672013-02-08 Carlos O'Donell <carlos@redhat.com>
2868
ddacd1db 2869 [BZ #15006]
b39949d2
CD
2870 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2871 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2872
b2c9eff4
JM
28732013-02-08 Joseph Myers <joseph@codesourcery.com>
2874
f3aae3f3
JM
2875 [BZ #13550]
2876 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2877 (CHECK_1_NULL_OK): Likewise.
2878 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2879 (__fxstat): Do not use CHECK_1.
2880 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2881 <bp-checks.h>.
2882 (___fxstat64): Do not use CHECK_1.
2883 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2884 <bp-checks.h>.
2885 (__fxstatat): Do not use CHECK_1.
2886 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2887 <bp-checks.h>.
2888 (__fxstatat64): Do not use CHECK_1.
2889 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2890 <bp-checks.h>.
2891 (__fxstat): Do not use CHECK_1.
2892 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2893 <bp-checks.h>.
2894 (__fxstatat): Do not use CHECK_1.
2895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2896 <bp-checks.h>.
2897 (__getresgid): Do not use CHECK_1.
2898 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2899 <bp-checks.h>.
2900 (__getresuid): Do not use CHECK_1.
2901 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2902 <bp-checks.h>.
2903 (__lxstat): Do not use CHECK_1.
2904 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2905 <bp-checks.h>.
2906 (__old_msgctl): Do not use CHECK_1.
2907 (__new_msgctl): Likewise.
2908 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2909 <bp-checks.h>.
2910 (__new_setrlimit): Do not use CHECK_1.
2911 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2912 <bp-checks.h>.
2913 (__old_shmctl): Do not use CHECK_1.
2914 (__new_shmctl): Likewise.
2915 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2916 <bp-checks.h>.
2917 (__xstat): Do not use CHECK_1.
2918 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2919 (__lxstat): Do not use CHECK_1.
2920 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2921 <bp-checks.h>.
2922 (___lxstat64): Do not use CHECK_1.
2923 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2924 (__old_msgctl): Do not use CHECK_1.
2925 (__new_msgctl): Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2927 <bp-checks.h>.
2928 (__gettimeofday): Do not use CHECK_1.
2929 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2930 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2931 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2932 <bp-checks.h>.
2933 (__gettimeofday): Do not use CHECK_1.
2934 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2935 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2936 (__new_shmctl): Do not use CHECK_1.
2937 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2938 <bp-checks.h>.
2939 (do_sigtimedwait): Do not use CHECK_1.
2940 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2941 <bp-checks.h>.
2942 (do_sigwaitinfo): Do not use CHECK_1.
2943 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2944 <bp-checks.h>.
2945 (msgctl): Do not use CHECK_1.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2947 <bp-checks.h>.
2948 (shmctl): Do not use CHECK_1.
2949 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2950 (ustat): Do not use CHECK_1.
2951 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2952 <bp-checks.h>.
2953 (__fxstat): Do not use CHECK_1.
2954 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2955 <bp-checks.h>.
2956 (__fxstatat): Do not use CHECK_1.
2957 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2958 <bp-checks.h>.
2959 (__lxstat): Do not use CHECK_1.
2960 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2961 <bp-checks.h>.
2962 (__xstat): Do not use CHECK_1.
2963 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2964 (__xstat): Do not use CHECK_1.
2965 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2966 (___xstat64): Do not use CHECK_1.
2967
b2c9eff4
JM
2968 [BZ #13550]
2969 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2970 definitions.
2971 (CHECK_BOUNDS_HIGH): Likewise.
2972 * string/strcpy.c: Do not include <bp-checks.h>.
2973 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2974
f1d70dad
RM
29752013-02-07 Roland McGrath <roland@hack.frob.com>
2976
2977 * nscd/nscd-client.h (__nscd_drop_map_ref):
2978 Add __attribute__ ((unused)).
2979 * nis/nss-nisplus.h (niserr2nss): Likewise.
2980
2981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2982 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2983
2984 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2985 Remove inline keyword.
2986 * include/rounding-mode.h (round_away): Likewise.
2987 * libio/wfileops.c (adjust_wide_data): Likewise.
2988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2989 (__m128i_strloadu_tolower): Likewise.
2990 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2991 (__m128i_strloadu_tolower): Likewise.
2992 * time/mktime.c (ydhms_diff): Likewise.
2993 * locale/elem-hash.h (elem_hash): Likewise.
2994 * locale/setlocale.c (setdata): Likewise.
2995 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2996 (re_string_wchar_at): Likewise.
2997 (bitset_not, bitset_merge, bitset_mask): Likewise.
2998 [!(__GNUC__ > 3)] (inline): Remove macro.
2999 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3000 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3001 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3002 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3003 * string/memcmp.c (memcmp_bytes): Likewise.
3004 * locale/programs/locarchive.c (compute_hashval): Likewise.
3005 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3006 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3007 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3008 * nss/getent.c (print_rpc, print_protocols): Likewise.
3009 (print_passwd, print_group, print_aliases): Likewise.
3010 * nis/nss-nisplus.h (niserr2nss): Likewise.
3011 * nscd/connections.c (restart_p): Likewise.
3012 Change return type to bool.
3013
eab55bfb
RM
30142013-02-05 Roland McGrath <roland@hack.frob.com>
3015
7bd642f5
RM
3016 * Makeconfig (all-Depend-files): Add existing
3017 $(sorted-subdirs:=/Depend) files.
3018 (all-subdirs): Remove nss.
3019 * sysdeps/unix/inet/Subdirs: Add it here instead.
3020 * hesiod/Depend: New file.
3021
573c29b2
RM
3022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3023 instead of calling alloca.
3024
b2e25af0
RM
3025 * io/lseek.c (__lseek): Rename to __libc_lseek.
3026 Define __lseek as an alias.
3027
eab55bfb
RM
3028 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3029
9a0d1941
CD
30302013-02-04 Carlos O'Donell <carlos@redhat.com>
3031
3032 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3033 else clause and remove check for non-standard endianness.
3034
b83bbec4
DM
30352013-02-04 David S. Miller <davem@davemloft.net>
3036
3037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3038
6277fdab
JM
30392013-02-04 Joseph Myers <joseph@codesourcery.com>
3040
3041 [BZ #13550]
3042 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3043 (__ubp_memchr): Remove prototype.
3044 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3045 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3046 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3047 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3048 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3049 Remove alias.
3050 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3051 (__ubp_memchr): Likewise.
3052 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3053 (__ubp_memchr): Likewise.
3054 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3055 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3056 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3057 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3058 CHECK_STRING.
3059 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3060 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3061 (__getcwd): Do not use CHECK_STRING.
3062 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3063 <bp-checks.h>.
3064 (__real_chown): Do not use CHECK_STRING.
3065 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3066 <bp-checks.h>.
3067 (fchownat): Do not use CHECK_STRING.
3068 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3069 CHECK_STRING.
3070 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3071 <bp-checks.h>.
3072 (__lchown): Do not use CHECK_STRING.
3073 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3074 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3075 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3076 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3078 include <bp-checks.h>.
3079 (truncate64): Do not use CHECK_STRING.
3080 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3081 <bp-checks.h>.
3082 (__real_chown): Do not use CHECK_STRING.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3084 <bp-checks.h>.
3085 (__lchown): Do not use CHECK_STRING.
3086 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3087 <bp-checks.h>.
3088 (__chown): Do not use CHECK_STRING.
3089 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3090 <bp-checks.h>.
3091 (truncate64): Do not use CHECK_STRING.
3092 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3095 (__xmknod): Do not use CHECK_STRING.
3096 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3097 <bp-checks.h>.
3098 (__xmknodat): Do not use CHECK_STRING.
3099 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3100 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3101
903ae060
AS
31022013-02-04 Andreas Schwab <schwab@suse.de>
3103
3104 [BZ #14142]
3105 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3106 * include/netdb.h: Likewise for h_errno.
3107 * elf/tst-stackguard1.c: Include <tls.h>.
3108
542f9466
JK
31092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3110
3111 * elf/link.h (struct link_map): Extend the l_addr comment.
3112 * include/link.h (struct link_map): Likewise.
3113
e782a927
JM
31142013-02-01 Joseph Myers <joseph@codesourcery.com>
3115
3116 [BZ #13550]
3117 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3118 (BOUNDED_1): Remove macro.
3119 * debug/backtrace.c: Don't include <bp-checks.h>.
3120 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3121 (__backtrace): Likewise.
3122 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3123 <bp-checks.h>.
3124 (__backtrace): Don't use BOUNDED_1.
3125 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3126 <bp-checks.h>.
3127 (__backtrace): Don't use BOUNDED_1.
3128 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3129 (__backtrace): Don't use BOUNDED_1.
3130 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3131 (shmat): Don't use BOUNDED_N.
3132
8cf28c5e
JM
31332013-01-31 Joseph Myers <joseph@codesourcery.com>
3134
3a7ac8a0
JM
3135 [BZ #13550]
3136 * sysdeps/generic/bp-start.h: Remove file.
3137 * csu/libc-start.c: Don't include <bp-start.h>.
3138 (LIBC_START_MAIN): Set up __environ directly instead of using
3139 INIT_ARGV_and_ENVIRON.
3140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3141 <bp-start.h>.
3142
f3499f95
JM
3143 [BZ #13550]
3144 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3145 definitions.
3146 (CHECK_FCNTL): Likewise.
3147 (CHECK_N_PAGES): Likewise.
3148
32a45bea
JM
3149 [BZ #13550]
3150 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3151 definitions.
3152 (CHECK_SIGSET_NULL_OK): Likewise.
3153 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3154 <bp-checks.h>.
3155 (sigpending): Don't use CHECK_SIGSET.
3156 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3157 <bp-checks.h>.
3158 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3159 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3160 <bp-checks.h>.
3161 (do_sigsuspend): Don't use CHECK_SIGSET.
3162 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3163 use CHECK_SIGSET.
3164 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3165 (do_sigwait): Don't use CHECK_SIGSET.
3166 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3167 use CHECK_SIGSET.
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3169 include <bp-checks.h>.
3170 (sigpending): Don't use CHECK_SIGSET.
3171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3172 include <bp-checks.h>.
3173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3174 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3175 <bp-checks.h>.
3176 (sigpending): Don't use CHECK_SIGSET.
3177 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3178 <bp-checks.h>.
3179 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3180
2e8a5c8c
JM
3181 [BZ #13550]
3182 * sysdeps/generic/bp-semctl.h: Remove file.
3183 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3184 <bp-checks.h> and <bp-semctl.h>.
3185 (__old_semctl): Don't use CHECK_SEMCTL.
3186 (__new_semctl): Likewise.
3187 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3188 and <bp-semctl.h>.
3189 (__old_semctl): Don't use CHECK_SEMCTL.
3190 (__new_semctl): Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3192 <bp-checks.h> and <bp-semctl.h>.
3193 (__old_semctl): Don't use CHECK_SEMCTL.
3194 (__new_semctl): Likewise.
3195 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3196 <bp-checks.h> and <bp-semctl.h>.
3197 (semctl): Don't use CHECK_SEMCTL.
3198
c2d54929
JM
3199 [BZ #13550]
3200 * Makerules (elide-bp-thunks): Remove variable.
3201 (elide-routines.oS): Don't use $(elide-bp-thunks).
3202 (elide-routines.os): Likewise.
3203 (elide-routines.o): Likewise.
3204 (elide-routines.op): Likewise.
3205 (elide-routines.og): Likewise.
3206 (objects): Don't use $(bp-thunks).
3207 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3208 include.
3209 (common-generated): Do not add s-proto-bp.d.
3210 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3211 (int): Likewise.
3212 (typ): Likewise.
3213 Do not generate makefile rules for bounded-pointer thunks.
3214 * sysdeps/generic/bp-thunks.h: Remove file.
3215 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3216 * sysdeps/unix/s-proto-bp.S: Likewise.
3217
8cf28c5e
JM
3218 [BZ #15062]
3219 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3220 parts of result separately when argument is not close to line from
3221 -i to i and one part of argument is small.
3222 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3223 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3224 * math/libm-test.inc (cacos_test): Add more tests.
3225 (casin_test): Likewise.
3226 (casinh_test): Likewise.
3227 * sysdeps/i386/fpu/libm-test-ulps: Update.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229
c4e33b8d
DM
32302013-01-31 David S. Miller <davem@davemloft.net>
3231
3232 * po/de.po: Update from translation team.
3233
3b60b421
MK
32342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3235
3236 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3237
bb931195
TS
32382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3239
b5a5da23
TS
3240 * configure.in (_AC_PROG_CC_C89): New definition.
3241 * configure: Regenerate.
3242
bb931195
TS
3243 * configure.in (AC_PROG_CPP): New definition.
3244 * configure: Regenerate.
3245
8c53a12c
JM
32462013-01-23 Joseph Myers <joseph@codesourcery.com>
3247
3248 * debug/tst-backtrace.h: New file.
3249 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3250 (ret): Remove variable.
3251 (x): Likewise.
3252 (FAIL): Remove macro.
3253 (NO_INLINE): Likewise.
3254 (fn1): Use match function instead of strstr.
3255 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3256 (ret): Remove variable.
3257 (x): Likewise.
3258 (FAIL): Remove macro.
3259 (NO_INLINE): Likewise.
3260 (fn): Use match function instead of strstr.
3261 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3262 (ret): Remove variable.
3263 (x): Likewise.
3264 (FAIL): Remove macro.
3265 (NO_INLINE): Likewise.
3266 (handle_signal): Use match function instead of strstr.
3267 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3268 (ret): Remove variable.
3269 (x): Likewise.
3270 (FAIL): Remove macro.
3271 (NO_INLINE): Likewise.
3272 (handle_signal): Use match function instead of strstr.
3273
4858fa2a
RM
32742013-01-23 Roland McGrath <roland@hack.frob.com>
3275
3276 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3277
bae8e7f5
DM
32782013-01-23 David S. Miller <davem@davemloft.net>
3279
3280 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3281 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3282 argument of CAS if possible.
3283 * sysdeps/sparc/sparc64/bits/atomic.h
3284 (__arch_compare_and_exchange_val_32_acq): Likewise.
3285 (__arch_compare_and_exchange_val_64_acq): Likewise.
3286
9cbbc4ae
PT
32872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3288
3289 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3290 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3291 Include <limits.h>.
67b3f58c 3292 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3293
5655a0b5
AC
32942013-01-23 Adam Conrad <adconrad@0c3.net>
3295
3296 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3297 (LDFLAGS-tst-array5): Likewise.
3298
052aff95
JM
32992013-01-23 Joseph Myers <joseph@codesourcery.com>
3300
3301 [BZ #15036]
3302 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3303 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3304 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3305 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3306
7c1e01aa
DM
33072013-01-21 David S. Miller <davem@davemloft.net>
3308
3309 * sysdeps/sparc/backtrace.c: New file.
3310 * sysdeps/sparc/sparc32/backtrace.h: New file.
3311 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3312 * sysdeps/sparc/sparc64/backtrace.h: New file.
3313 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3314 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3315 -funwind-tables.
3316
ab087e0a
AS
33172013-01-21 Andreas Schwab <schwab@suse.de>
3318
3319 [BZ #15020]
3320 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3321 closed its stdout.
3322
ed689c2f
AS
33232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3324
3325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3326 "mpa2.h".
3327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3328
31d470ac
JM
33292013-01-18 Joseph Myers <joseph@codesourcery.com>
3330 Mark Mitchell <mark@codesourcery.com>
3331 Tom de Vries <tom@codesourcery.com>
3332 Paul Pluzhnikov <ppluzhnikov@google.com>
3333
3334 * debug/tst-backtrace2.c: New file.
3335 * debug/tst-backtrace3.c: Likewise.
3336 * debug/tst-backtrace4.c: Likewise.
3337 * debug/tst-backtrace5.c: Likewise.
3338 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3339 (CFLAGS-tst-backtrace3.c): Likewise.
3340 (CFLAGS-tst-backtrace4.c): Likewise.
3341 (CFLAGS-tst-backtrace5.c): Likewise.
3342 (LDFLAGS-tst-backtrace2): Likewise.
3343 (LDFLAGS-tst-backtrace3): Likewise.
3344 (LDFLAGS-tst-backtrace4): Likewise.
3345 (LDFLAGS-tst-backtrace5): Likewise.
3346 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3347 tst-backtrace4 and tst-backtrace5.
3348
90567f30 33492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3350 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3351
3352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3353 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3355 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3357 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3358 "+r" and remove output regs list as redundant. Add explicit inline
3359 asm to specify register of return val to work around compiler codegen
3360 bug. Remove (int) cast on return value. Add return type parameter to
3361 use in macro so that this macro does not truncate return value for
3362 64-bit values.
3363 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3364 pass to INTERNAL_VSYSCALL_NCS.
3365 (INLINE_VSYSCALL): Add 'long int' as return type to
3366 INTERNAL_VSYSCALL_NCS macro invocation.
3367 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3368 INTERNAL_VSYSCALL_NCS macro invocation.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3370
d3b9ea61
SP
33712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3372
0b57daeb
SP
3373 [BZ #14496]
3374 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3375 Fix application of SIMD FP exception mask.
3376
caa99d06
SP
3377 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3378 mp_no from a power of two.
3379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3380 __mpexp_twomm1. Use __pow_mp.
3381
d3b9ea61
SP
3382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3383 multiplication.
3384
1dbaee3c
DM
33852013-01-17 David S. Miller <davem@davemloft.net>
3386
3387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3388
728d7b43
JM
33892013-01-17 Joseph Myers <joseph@codesourcery.com>
3390
3391 [BZ #15023]
3392 * include/complex.h: Condition contents on [!_COMPLEX_H].
3393 (__kernel_casinhf): New prototype.
3394 (__kernel_casinh): Likewise.
3395 (__kernel_casinhl): Likewise.
3396 * math/Makefile (libm_calls): Add k_casinh.
3397 * math/k_casinh.c: New file.
3398 * math/k_casinhf.c: Likewise.
3399 * math/k_casinhl.c: Likewise.
3400 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3401 finite nonzero arguments.
3402 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3403 finite nonzero arguments.
3404 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3405 finite nonzero arguments.
3406 * math/s_casinh.c: Do not include <float.h>.
3407 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3408 * math/s_casinhf.c: Do not include <float.h>.
3409 (__casinhf): Move code for finite nonzero arguments to
3410 k_casinhf.c.
3411 * math/s_casinhl.c: Do not include <float.h>.
3412 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3413 redefine.
3414 (__casinhl): Move code for finite nonzero arguments to
3415 k_casinhl.c.
3416 * math/libm-test.inc (cacos_test): Add more tests.
3417 * sysdeps/i386/fpu/libm-test-ulps: Update.
3418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419
2a26ef3a
PT
34202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3421
3422 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3423 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3424 [!HAVE_MREMAP]: Remove [defined linux] case.
3425 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3426
a897655d
SP
34272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
3429 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3430
881ebe89 34312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3432
3433 * elf/elf.h (R_386_SIZE32): New relocation.
3434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3435 R_386_SIZE32.
3436 (elf_machine_rela): Likewise.
3437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3438 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3439
59981e9b
JM
34402013-01-17 Joseph Myers <joseph@codesourcery.com>
3441
3442 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3443 (FP_FAST_FMA): Do not define.
3444 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3445 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3446 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3447 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3448 !_SOFT_FLOAT]: Likewise.
3449 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3450 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3451 value.
3452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3453 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3454 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3455 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3456 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3457 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3458 file.
3459
cfa8054f
AS
34602013-01-16 Andreas Schwab <schwab@suse.de>
3461
3462 [BZ #14327]
3463 * include/stdlib.h (__mktemp): Add declaration.
3464 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3465 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3466
dd930cc5
SP
34672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3468
881ebe89
SP
3469 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3470 definitions.
3471 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3472 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3473 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3474 definitions here.
3475 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3476 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3477 definitions.
3478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3479 and ONE.
3480 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3481 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3482 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3483 definitions.
3484 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3485 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3486 definitions.
3487 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3488
dd930cc5
SP
3489 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3490
c19a9f89
DM
34912013-01-15 David S. Miller <davem@davemloft.net>
3492
1aa61767
DM
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3494 trunc{,f} to libm-sysdep_routes.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3500 file.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3502 file.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3509 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3510 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3511
c42d5e98
DM
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3513 nearbyint{,f} to libm-sysdep_routes.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3516 New file.
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3518 file.
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3520 New file.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3522 file.
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3526 file.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3529 file.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3532 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3533
c19a9f89
DM
3534 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3535 libc_feholdexcept and libc_fesetenv.
3536
357679d2
MF
35372013-01-15 Mike Frysinger <vapier@gentoo.org>
3538
3539 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3540
65a82e3d
DM
35412013-01-14 David S. Miller <davem@davemloft.net>
3542
8b954ab9
DM
3543 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3544 (SPARC_ASM_VIS2_IFUNC): Likewise.
3545 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3547 use of 'siam' instruction.
3548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3549 Likewise.
3550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3551 Likewise.
3552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3553 Likewise.
3554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3559 file.
3560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3561 file.
3562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3563 file.
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3565 file.
3566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3571 new VIS2 routines.
3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3575 Likewise.
3576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3581 routines to libm-sysdep_routines.
3582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3583
65a82e3d
DM
3584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3585 fdim/fdimf to libm-sysdep_routines.
3586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3587 file.
3588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3590 file.
3591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3594 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3595 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3596 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3597 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3598
e34ab705
SP
35992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
2a91b573
SP
3601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3602 to optimize copies.
3603
1066a534
SP
3604 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3607
e34ab705
SP
3608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3609 local variable MPTWO.
3610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3611 Likewise.
3612
aba5e596
MF
36132013-01-13 Mike Frysinger <vapier@gentoo.org>
3614
3615 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3616 GLOB_NOESCAPE.
3617
e557e9e5
MF
36182013-01-13 Mike Frysinger <vapier@gentoo.org>
3619
3620 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3621
0428cec9
MF
36222013-01-13 Mike Frysinger <vapier@gentoo.org>
3623
3624 * manual/pattern.texi (glob_t): Document gl_flags.
3625 (glob64_t): Likewise.
3626
8794a964
DM
36272013-01-11 David S. Miller <davem@davemloft.net>
3628
66438c3f
RM
3629 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3630 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3631 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3632 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3633 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3634 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3635 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3636 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3637 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3638 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3639 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3640 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3641 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3642
4ae4244d
DM
3643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3644 sparc V9 rather than using V8 code.
3645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3647
8794a964
DM
3648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3649 Move to...
3650 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3651 Here.
3652
6270516e
RM
36532013-01-11 Roland McGrath <roland@hack.frob.com>
3654
3655 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3656 not in the main loop.
3657 * configure: Regenerated.
3658
6a57d931
JM
36592013-01-11 Joseph Myers <joseph@codesourcery.com>
3660
3661 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3662 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3663 to just #else.
3664 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3665 [!__GLIBC_HAVE_LONG_LONG] case.
3666 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3667 condition to just #else.
3668 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3669 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3670 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3671 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3672 unconditional.
3673 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3674 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3675 #elif condition to just #else.
3676 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3677 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3678 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3679 #elif condition to just #else.
3680
0e8529e9
SE
36812013-01-11 Steve Ellcey <sellcey@mips.com>
3682
3683 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3684 (EF_MIPS_ARCH_64): Fix value.
3685 (EF_MIPS_ARCH_32R2): New.
3686 (EF_MIPS_ARCH_64R2): New.
3687
740b3dbe
L
36882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * Makeconfig (+link-pie-before-libc): New.
3691 (+link-pie-after-libc): Likewise.
3692 (+link-pie-tests): Likewise.
3693 (+link-pie): Rewritten.
3694 (link-before-libc): Remove $(config-LDFLAGS).
3695 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3696 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3697 (config-LDFLAGS): Renamed to ...
3698 (rtld-LDFLAGS): This.
3699 (rtld-tests-LDFLAGS): New macro.
3700 (link-libc-rpath-link): Likewise.
3701 (link-libc-tests-rpath-link): Likewise.
3702 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3703 (link-libc): Prepand $(link-libc-rpath-link).
3704 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3705 (test-program-prefix): New macro.
3706 (test-via-rtld-prefix): Likewise.
3707 (test-program-cmd): Likewise.
3708 (host-test-program-cmd): Likewise.
3709 * Makefile ($(common-objpfx)testrun.sh): Replace
3710 $(run-program-prefix) with $(test-program-prefix).
3711 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3712 $(rtld-LDFLAGS).
3713 ($(common-objpfx)shlib.lds): Likewise.
3714 (build-module-helper): Likewise.
3715 ($(common-objpfx)format.lds): Likewise.
3716 * Rules (binaries-pie-tests): New.
3717 (binaries-pie-notests): Likewise.
3718 (binaries-pie): Rewritten.
3719 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3720 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3721 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3722 (make-test-out): Replace $(host-built-program-cmd) with
3723 $(host-test-program-cmd).
3724 * config.make.in (build-hardcoded-path-in-tests): New variable.
3725 * configure.in (--enable-hardcoded-path-in-tests): New configure
3726 option.
3727 (hardcoded_path_in_tests): New AC_SUBST.
3728 * configure: Regenerated.
3729 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3730 $(built-program-cmd) with $(test-program-cmd).
3731 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3732 (test_program_cmd): This.
3733 * elf/Makefile ($(objpfx)order.out): Run test with
3734 $(test-program-prefix).
3735 ($(objpfx)order2.out): Likewise.
3736 ($(objpfx)tst-initorder.out): Likewise.
3737 ($(objpfx)tst-initorder2.out): Likewise.
3738 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3739 $(test-program-cmd).
3740 ($(objpfx)tst-array1-static.out): Likewise.
3741 ($(objpfx)tst-array2.out): Likewise.
3742 ($(objpfx)tst-array3.out): Likewise.
3743 ($(objpfx)tst-array4.out): Likewise.
3744 ($(objpfx)tst-array5.out): Likewise.
3745 ($(objpfx)tst-array5-static.out): Likewise.
3746 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3747 $(test-program-cmd).
3748 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3749 $(run-program-prefix) with $(test-program-prefix).
3750 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3751 (test_program_prefix): This.
3752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3753 $(run-program-prefix) with $(test-program-prefix).
3754 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3755 (test_program_prefix): This.
3756 * iconvdata/tst-tables.sh: Likewise.
3757 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3758 $(run-program-prefix) with $(test-program-prefix).
3759 ($(objpfx)tst-translit.out): Likewise.
3760 ($(objpfx)tst-gettext2.out): Likewise.
3761 ($(objpfx)tst-gettext4.out): Likewise.
3762 ($(objpfx)tst-gettext6.out): Likewise.
3763 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3764 (test_program_prefix): This.
3765 * intl/tst-gettext2.sh: Likewise.
3766 * intl/tst-gettext4.sh Likewise.
3767 * intl/tst-gettext6.sh: Likewise.
3768 * intl/tst-translit.sh: Likewise.
3769 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3770 with $(test-program-cmd).
3771 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3772 $(run-program-prefix) with $(test-program-prefix).
3773 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3774 (test_program_prefix): This.
3775 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3776 $(run-program-prefix) with $(test-program-prefix).
3777 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3778 (test_program_prefix): This.
3779 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3780 * posix/Makefile ($(objpfx)globtest.out): Replace
3781 $(run-via-rtld-prefix) and $(test-wrapper) with
3782 $(test-program-prefix) and $(test-via-rtld-prefix).
3783 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3784 $(test-program-prefix).
3785 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3786 $(host-test-program-cmd).
3787 (tst-spawn-ARGS): Likewise.
3788 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3789 $(test-program-prefix).
3790 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3791 (test_via_rtld_prefix): This.
3792 (test_wrapper): Renamed to ...
3793 (test_program_prefix): This.
3794 (run_program_prefix): Replaced by test_program_prefix.
3795 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3796 (test_program_prefix): This.
3797 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3798 with $(host-test-program-cmd).
3799 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3800 $(run-program-prefix) with $(test-program-prefix).
3801 ($(objpfx)tst-printf.out): Likewise.
3802 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3803 $(test-program-cmd).
3804 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3805 (test_program_prefix): This.
3806 * stdio-common/tst-unbputc.sh: Likewise.
3807 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3808 $(run-program-prefix) with $(test-program-prefix).
3809 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3810 (test_program_prefix): This.
3811 * string/Makefile ($(objpfx)tst-svc.out): Replace
3812 $(built-program-cmd) with $(test-program-cmd).
3813
c6fe55cf
AJ
38142013-01-11 Andreas Jaeger <aj@suse.de>
3815
3816 [BZ #15003]
3817 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3818 value. Sync with Linux 3.7.
3819
9e6919c8
DM
38202013-01-10 David S. Miller <davem@davemloft.net>
3821
3822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3825
1c9f1a02
RM
38262013-01-10 Roland McGrath <roland@hack.frob.com>
3827
3828 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3829 never set.
3830 * configure: Regenerated.
3831
b9de2dde
DM
38322013-01-10 David S. Miller <davem@davemloft.net>
3833
3834 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3835 sparc V9 rather than using V8 code.
3836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3838
e7f68ef4
RM
38392013-01-10 Roland McGrath <roland@hack.frob.com>
3840
3841 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3842 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3843 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3844 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3845 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3846 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3847 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3848 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3849 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3850 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3851 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3852 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3853 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3854 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3855 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3856 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3857 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3858 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3859 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3860 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3861 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3862 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3863 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3864 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3865 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3866 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3867 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3868
5a47cc9c
DM
38692013-01-10 David S. Miller <davem@davemloft.net>
3870
3871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3872
4cf8f209
L
38732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 * posix/Makefile (tests-static): New variable.
3876 (tests): Add $(tests-static).
3877 (tst-exec-static-ARGS): New variable.
3878 (tst-spawn-static-ARGS): Likewise.
3879 * posix/tst-exec-static.c: New file.
3880 * posix/tst-spawn-static.c: Likewise.
3881 * posix/tst-exec.c: Support run directly.
3882 * posix/tst-spawn.c: Likewise.
3883
fed0faa1
JM
38842013-01-10 Joseph Myers <joseph@codesourcery.com>
3885
828beb13
JM
3886 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3887 long.
3888 * math/bits/mathcalls.h (llrint): Likewise.
3889 (llround): Likewise.
3890 * stdlib/stdlib.h (struct drand48_data): Likewise.
3891 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3892 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3893 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3898 (elf_greg_t): Likewise.
3899 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3900 (__jmp_buf): Likewise.
3901 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3902 definitions.
3903 (llrint): Likewise, for all definitions.
3904 (llrintl): Likewise.
3905
fed0faa1
JM
3906 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3907 Remove [__GNUC__] condition.
3908 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3909 condition to just [__USE_ISOC99].
3910 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3911
1a20cb20
L
39122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 [BZ #14200]
3915 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3916 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3917 defined.
3918 (_POSIX_V6_ILP32_OFF32): Likewise.
3919 (_XBS5_ILP32_OFF32): Likewise.
3920 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3921 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3922
751b85f7
SP
39232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3924
7490eb81
SP
3925 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3926
751b85f7
SP
3927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3928 doubles __mpexp_twomm1. Adjust usage.
3929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3930 Remove.
3931
988197f0
AS
39322013-01-10 Andreas Schwab <schwab@suse.de>
3933
3934 [BZ #14964]
3935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3936 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3937
e83d7298
DM
39382013-01-09 David S. Miller <davem@davemloft.net>
3939
034ed64b 3940 [BZ #15003]
e83d7298
DM
3941 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3942 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3943 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3944 TCP_FASTOPEN): Define.
3945 (tcp_repair_opt): New structure.
3946 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3947 enum values.
3948 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3949 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3950 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3951 (tcp_cookie_transactions): New structure.
3952
d5e0b9bd
AB
39532013-01-09 Anton Blanchard <anton@samba.org>
3954
3955 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3956 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3957 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3958 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3959
0c07e3ea
JM
39602013-01-09 Joseph Myers <joseph@codesourcery.com>
3961
3962 * include/features.h (__USE_ANSI): Remove.
3963
232f7002
RM
39642013-01-09 Roland McGrath <roland@hack.frob.com>
3965
ad98e30c
RM
3966 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3967
232f7002
RM
3968 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3969
950c99ca
SP
39702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3971
b5792741
SP
3972 * sysdeps/s390/fpu/libm-test-ulps: Update.
3973
47cf2278
SP
3974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3975
950c99ca
SP
3976 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3977 (__acr): Likewise.
3978 (__cpy): Likewise.
3979 (norm): Likewise.
3980 (denorm): Likewise.
3981 (__mp_dbl): Likewise.
3982 (__dbl_mp): Likewise.
3983 (add_magnitudes): Likewise.
3984 (sub_magnitudes): Likewise.
3985 (__add): Likewise.
3986 (__sub): Likewise.
3987 (__mul): Likewise.
3988 (__inv): Likewise.
3989 (__dvd): Likewise.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3991 (__acr): Likewise.
3992 (__cpy): Likewise.
3993 (norm): Likewise.
3994 (denorm): Likewise.
3995 (__mp_dbl): Likewise.
3996 (__dbl_mp): Likewise.
3997 (add_magnitudes): Likewise.
3998 (sub_magnitudes): Likewise.
3999 (__add): Likewise.
4000 (__sub): Likewise.
4001 (__mul): Likewise.
4002 (__inv): Likewise.
4003 (__dvd): Likewise.
4004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4005 (__acr): Likewise.
4006 (__cpy): Likewise.
4007 (norm): Likewise.
4008 (denorm): Likewise.
4009 (__mp_dbl): Likewise.
4010 (__dbl_mp): Likewise.
4011 (add_magnitudes): Likewise.
4012 (sub_magnitudes): Likewise.
4013 (__add): Likewise.
4014 (__sub): Likewise.
4015 (__mul): Likewise.
4016 (__inv): Likewise.
4017 (__dvd): Likewise.
4018
eede9df9
JM
40192013-01-08 Joseph Myers <joseph@codesourcery.com>
4020
4021 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4022 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4023 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4024 2 && __USE_EXTERN_INLINES]: Likewise.
4025
c40ea3d9
AJ
40262013-01-08 Andreas Jaeger <aj@suse.de>
4027
4028 [BZ# 14985]
4029 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4030 Remove.
4031 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4032 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4033
2ccdea26
AB
40342013-01-07 Anton Blanchard <anton@samba.org>
4035
4036 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4037 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4038 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4039 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4040 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4042 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4043 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4047 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4056 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4057 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4059 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4063 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4066 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4078 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4079
a9708fed
JM
40802013-01-07 Joseph Myers <joseph@codesourcery.com>
4081
375607b9
JM
4082 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4083 (__MALLOC_PMT): Likewise.
4084 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4085 [__GNUC__], only on [_LIBC].
4086 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4087 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4088 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4089 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4090 forward declaration.
4091 (realloc_hook_ini): Likewise.
4092 (memalign_hook_ini): Likewise.
4093 (__libc_memalign): Do not use __MALLOC_PMT in variable
4094 declaration.
4095 (__libc_valloc): Likewise.
4096 (__libc_pvalloc): Likewise.
4097 (__libc_calloc): Likewise.
4098 (__posix_memalign): Likewise.
4099
a9708fed
JM
4100 [BZ #14996]
4101 * math/s_casinh.c: Include <float.h>.
4102 (__casinh): Do not do computation with squaring and square root
4103 for large arguments.
4104 * math/s_casinhf.c: Include <float.h>.
4105 (__casinhf): Do not do computation with squaring and square root
4106 for large arguments.
4107 * math/s_casinhl.c: Include <float.h>.
4108 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4109 (__casinhl): Do not do computation with squaring and square root
4110 for large arguments.
4111 * math/libm-test.inc (casin_test): Add more tests.
4112 (casinh_test): Likewise.
4113 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115
afec409a
L
41162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4119 (__x86_64_raw_data_cache_size): Likewise.
4120 (__x86_64_data_cache_size_half): Likewise.
4121 (__x86_64_raw_data_cache_size_half): Likewise.
4122 (__x86_64_shared_cache_size): Likewise.
4123 (__x86_64_raw_shared_cache_size): Likewise.
4124 (__x86_64_shared_cache_size_half): Likewise.
4125 (__x86_64_raw_shared_cache_size_half): Likewise.
4126 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4127 to ...
4128 (__x86_data_cache_size): This.
4129 (__x86_64_raw_data_cache_size): Renamed to ...
4130 (__x86_raw_data_cache_size): This.
4131 (__x86_64_data_cache_size_half): Renamed to ...
4132 (__x86_data_cache_size_half): This.
4133 (__x86_64_raw_data_cache_size_half): Renamed to ...
4134 (__x86_raw_data_cache_size_half): This.
4135 (__x86_64_shared_cache_size): Renamed to ...
4136 (__x86_shared_cache_size): This.
4137 (__x86_64_raw_shared_cache_size): Renamed to ...
4138 (__x86_raw_shared_cache_size): This.
4139 (__x86_64_shared_cache_size_half): Renamed to ...
4140 (__x86_shared_cache_size_half): This.
4141 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4142 (__x86_raw_shared_cache_size_half): This.
4143 * sysdeps/x86_64/memcpy.S: Updated.
4144 * sysdeps/x86_64/memset.S: Likewise.
4145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4148
0b3986d0
DM
41492013-01-04 David S. Miller <davem@davemloft.net>
4150
4151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4152
e47686e9
AS
41532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4154
d643bac1
AS
4155 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4156 1 to avoid redefinition warning.
4157 (__USE_GNU): Don't define.
4158 (init_signaling_nan): Protoize.
4159
e47686e9
AS
4160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4161
b18decba
SP
41622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
fffb407f
SP
4164 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4166 (__cpymn): Likewise.
4167 (norm): Remove commented code.
4168 (denorm): Likewise.
4169 (__mp_dbl): Likewise.
4170 (__inv): Likewise.
4171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4172 (__cpymn): Likewise.
4173 (norm): Remove commented code.
4174 (denorm): Likewise.
4175 (__mp_dbl): Likewise.
4176 (__inv): Likewise.
4177
b18decba
SP
4178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4179 mp_no value for 1.0 and 2.0.
4180 (norm): Use RADIXI instead of radixi.d.
4181 (denorm): Likewise.
4182 (__mul): Use 0.0 instead of zero.d.
4183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4184 mp_no value for 1.0 and 2.0.
4185 (norm): Use RADIXI instead of radixi.d.
4186 (denorm): Likewise.
4187 (__mul): Use 0.0 instead of zero.d.
4188
cdc1c96f
JM
41892013-01-04 Joseph Myers <joseph@codesourcery.com>
4190
4191 [BZ #14994]
4192 * math/s_casinh.c (__casinh): Reduce finite argument to first
4193 quadrant then set signs of results at the end.
4194 * math/s_casinhf.c (__casinhf): Likewise.
4195 * math/s_casinhl.c (__casinhl): Likewise.
4196 * math/libm-test.inc (casin_test): Add more tests.
4197 (casinh_test): Likewise.
4198 * sysdeps/i386/fpu/libm-test-ulps: Update.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200
302913e1
SP
42012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4202
6420d207
SP
4203 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4204
a9e48ab4
SP
4205 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4206
b7837264
SP
4207 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4208 declarations.
4209 (denorm): Likewise.
4210 (__mp_dbl): Likewise.
4211 (__inv): Likewise.
4212
f8af25d2
SP
4213 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4214 and adjust the header comment.
4215
302913e1
SP
4216 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4217 variable name from declaration.
4218
5d7dd1ca
L
42192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4222 Initialize COMMON_CPUID_INDEX_7 element.
4223 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4224 (CPUID_RTM): Likewise.
4225 (HAS_RTM): Likewise.
4226 (COMMON_CPUID_INDEX_7): New enum.
4227
2f5f40f4
AS
42282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4229
4230 [BZ #14981]
4231 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4232 size is zero, record memory as freed.
4233
4056f4a0
AJ
42342013-01-03 Andreas Jaeger <aj@suse.de>
4235
4236 * po/ia.po: Add new Interlingua translation.
4237
ab15736f 42382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4239
4240 * locale/programs/localedef.c: Fix description of '--posix' flag.
4241
568035b7
JM
42422013-01-02 Joseph Myers <joseph@codesourcery.com>
4243
e6898b8d
JM
4244 * NEWS: Update dates in second copyright notice.
4245 * README: Update copyright dates in example.
4246 * manual/libc.texinfo: Update copyright dates.
4247 * scripts/test-installation.pl: Update copyright date in --version
4248 output.
4249
0e2f9562
JM
4250 * hurd/ctty-input.c: Fix copyright notice formatting.
4251 * hurd/ctty-output.c: Likewise.
4252 * hurd/dtable.c: Likewise.
4253 * hurd/hurd-raise.c: Likewise.
4254 * hurd/hurdprio.c: Likewise.
4255 * hurd/msgportdemux.c: Likewise.
4256 * misc/sys/file.h: Likewise.
4257 * misc/sys/ioctl.h: Likewise.
4258 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4259 * sysdeps/mach/hurd/chdir.c: Likewise.
4260 * sysdeps/mach/hurd/fchdir.c: Likewise.
4261 * sysdeps/mach/hurd/rename.c: Likewise.
4262 * sysdeps/mach/hurd/rmdir.c: Likewise.
4263 * sysdeps/mach/hurd/seekdir.c: Likewise.
4264 * sysdeps/mach/hurd/setsid.c: Likewise.
4265 * sysdeps/posix/wait3.c: Likewise.
4266
568035b7
JM
4267 * All files with FSF copyright notices: Update copyright dates
4268 using scripts/update-copyrights.
4269 * intl/plural.c: Regenerated.
4270 * locale/programs/charmap-kw.h: Likewise.
4271 * locale/programs/locfile-kw.h: Likewise.
4272
da08f647
SP
42732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4274
0f5477af
SP
4275 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4276 four values.
4277
44e0d4c2
SP
4278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4279 calculation loop and add branch prediction.
4280
4d55b4e5
SP
4281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4282 check access beyond bounds of m1np.
4283
da08f647
SP
4284 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4285 MPTWO.
4286 (__inv): Remove local variable MPTWO to use the global
4287 constant.
4288 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4290 variable MPTWO.
4291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4292 MP3HALFS static const.
4293
8e051029
DM
42942013-01-01 David S. Miller <davem@davemloft.net>
4295
4296 * po/ca.po: Update from translation team.
4297
f4cf5f2d
JM
42982013-01-01 Joseph Myers <joseph@codesourcery.com>
4299
4300 * scripts/update-copyrights: New file.
4301 * Makeconfig: Reformat copyright notice.
4302 * ctype/ctype.h: Likewise.
4303 * debug/swprintf_chk.c: Likewise.
4304 * elf/dl-cache.c: Likewise.
4305 * elf/dl-debug.c: Likewise.
4306 * elf/dl-object.c: Likewise.
4307 * grp/initgroups.c: Likewise.
4308 * hurd/Makefile: Likewise.
4309 * hurd/hurd/signal.h: Likewise.
4310 * hurd/hurdfault.c: Likewise.
4311 * hurd/hurdioctl.c: Likewise.
4312 * hurd/hurdlookup.c: Likewise.
4313 * hurd/intr-msg.c: Likewise.
4314 * iconv/gconv_open.c: Likewise.
4315 * libio/swprintf.c: Likewise.
4316 * locale/lc-ctype.c: Likewise.
4317 * locale/nl_langinfo.c: Likewise.
4318 * mach/Machrules: Likewise.
4319 * mach/Makefile: Likewise.
4320 * malloc/obstack.h: Likewise.
4321 * manual/Makefile: Likewise.
4322 * manual/tsort.awk: Likewise.
4323 * misc/bits/stab.def: Likewise.
4324 * nis/nis_print_group_entry.c: Likewise.
4325 * nis/nis_table.c: Likewise.
4326 * nis/nss_compat/compat-pwd.c: Likewise.
4327 * nis/nss_compat/compat-spwd.c: Likewise.
4328 * po/Makefile: Likewise.
4329 * posix/fnmatch.c: Likewise.
4330 * posix/regex.h: Likewise.
4331 * resolv/Makefile: Likewise.
4332 * resolv/nss_dns/dns-network.c: Likewise.
4333 * resolv/res_hconf.c: Likewise.
4334 * scripts/gen-sorted.awk: Likewise.
4335 * soft-fp/soft-fp.h: Likewise.
4336 * stdio-common/printf.h: Likewise.
4337 * stdlib/monetary.h: Likewise.
4338 * stdlib/random.c: Likewise.
4339 * stdlib/random_r.c: Likewise.
4340 * sysdeps/generic/Makefile: Likewise.
4341 * sysdeps/gnu/Makefile: Likewise.
4342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4354 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4355 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4356 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4370 * sysdeps/mach/hurd/errnos.awk: Likewise.
4371 * sysdeps/mach/hurd/fork.c: Likewise.
4372 * sysdeps/mach/hurd/getcwd.c: Likewise.
4373 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4374 * sysdeps/mach/hurd/mmap.c: Likewise.
4375 * sysdeps/mach/hurd/utimes.c: Likewise.
4376 * sysdeps/mach/hurd/xmknod.c: Likewise.
4377 * sysdeps/posix/profil.c: Likewise.
4378 * sysdeps/posix/readdir_r.c: Likewise.
4379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4380 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4381 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4382 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4384 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4385 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4388 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4390 * sysdeps/pthread/lio_listio.c: Likewise.
4391 * sysdeps/sparc/dl-procinfo.h: Likewise.
4392 * sysdeps/unix/i386/sysdep.S: Likewise.
4393 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4394 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4395 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4396 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4398 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4399 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4400 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4401 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4402 * sysdeps/wordsize-32/divdi3.c: Likewise.
4403 * time/sys/time.h: Likewise.
4404 * wcsmbs/Makefile: Likewise.
4405
0549fbba
DM
44062013-01-01 David S. Miller <davem@davemloft.net>
4407
a141f1a7
DM
4408 * po/fr.po: Update from translation team.
4409
0549fbba
DM
4410 * catgets/gencat.c: Update copyright year.
4411 * csu/version.c: Likewise.
4412 * debug/catchsegv.sh: Likewise.
4413 * debug/pcprofiledump.c: Likewise.
4414 * debug/xtrace.sh: Likewise.
4415 * elf/ldconfig.c: Likewise.
4416 * elf/ldd.bash.in: Likewise.
4417 * elf/pldd.c: Likewise.
4418 * elf/sotruss.ksh: Likewise.
4419 * elf/sprof.c: Likewise.
4420 * iconv/iconv_prog.c: Likewise.
4421 * iconv/iconvconfig.c: Likewise.
4422 * locale/programs/locale.c: Likewise.
4423 * locale/programs/localedef.c: Likewise.
4424 * login/programs/pt_chown.c: Likewise.
4425 * malloc/memusage.sh: Likewise.
4426 * malloc/memusagestat.c: Likewise.
4427 * malloc/mtrace.pl: Likewise.
4428 * nscd/nscd.c: Likewise.
4429 * nss/getent.c: Likewise.
4430 * nss/makedb.c: Likewise.
4431 * posix/getconf.c: Likewise.
4432
18ea052c
SP
44332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4436 numbers.
4437
9c89fca6
MF
44382012-12-30 Mike Frysinger <vapier@gentoo.org>
4439
4440 * math/bits/mathcalls.h (modf): Use __nonnull.
4441
085ec079
SP
44422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4443
4444 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4445 (split): Use macro CN instead of the bare value.
4446 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4447 could be used.
4448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4449 instead of the bare value.
4450 (power1): Likewise.
4451
6d9f97e1
SP
44522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4453
d63f73be
SP
4454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4455 __ATAN_TWOM.
4456 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4457
6d9f97e1
SP
4458 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4459 their values.
4460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4462 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4464
4c4febf5
AJ
44652012-12-28 Andreas Jaeger <aj@suse.de>
4466
af5843ef
AJ
4467 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4468 values are from Linux 3.7.
4469
4c4febf5
AJ
4470 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4471 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4472
99136f82
SP
44732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
2f216c3c 4475 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4476 TRUE case.
4477
99136f82
SP
4478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4479 (norm): Likewise.
4480 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4481 variables with preprocessor constants.
4482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4483 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4484 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4485
7fffbdff
BH
44862012-12-27 Bruno Haible <bruno@clisp.org>
4487
4488 [BZ #14317]
4489 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4490 only if needed.
4491
b76eb5f0
SP
44922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4493
31a7fe5c
SP
4494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4495 and use variable directly.
4496 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4497
b76eb5f0
SP
4498 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4499 MPONE.
4500 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4502 variable MPONE.
4503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4505 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4506 include directive. Remove local variable MPONE.
4507 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4510
2c8bfe7d
DM
45112012-12-25 David S. Miller <davem@davemloft.net>
4512
4513 * version.h (RELEASE): Set to "development".
4514 (VERSION): Set to "2.17.90".
4515 * NEWS: Add 2.18 section.
4516
147d03b0
DM
45172012-12-21 David S. Miller <davem@davemloft.net>
4518
4519 * po/hr.po: Update from translation team.
4520
a8ebb2b9
AK
45212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4522
4523 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4524
95b4f1b6
SE
45252012-12-19 Steve Ellcey <sellcey@mips.com>
4526
b2d94007 4527 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4528
cedb2a90
MS
45292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4530
4531 * manual/contrib.texi (Contributors): Spelling correction.
4532
bbf527d6
DM
45332012-12-15 David S. Miller <davem@davemloft.net>
4534
4535 * po/ru.po: Update from translation team.
4536
bc38c906
DM
45372012-12-13 David S. Miller <davem@davemloft.net>
4538
85429b1a
DM
4539 * NEWS: Mention IFUNC testsuite enhancements.
4540
d283e353
DM
4541 * po/pl.po: Update from translation team.
4542 * po/bg.po: Likewise.
4543
bc38c906
DM
4544 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4545 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4546
a181b0d7
DM
45472012-12-11 David S. Miller <davem@davemloft.net>
4548
4641d57e
DM
4549 * po/sv.po: Update from translation team.
4550
f7bc6495
DM
4551 * po/vi.po: Update from translation team.
4552
6fc9048f
DM
4553 * po/cs.po: Update from translation team.
4554
a181b0d7
DM
4555 * po/de.po: Update from translation team.
4556 * po/eo.po: Likewise.
4557 * po/nl.po: Likewise.
4558
f70bfe80
SP
45592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
3c8b4190
SP
4561 [BZ #14246]
4562 * manual/argp.texi (Argp Helper Functions): Move node to follow
4563 Argp Parsing State.
4564
f70bfe80
SP
4565 [BZ #14872]
4566 * manual/conf.texi (Limits on File System Capacity): Mention if
4567 terminating null is included in the max size.
4568
188f0adf
AJ
45692012-12-10 Andreas Jaeger <aj@suse.de>
4570
4571 * po/cs.po: Update from translation team.
4572
56e7d3ad
SP
45732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4574
4575 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4576 void pointer and cast to uintptr_t.
4577 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4578 path.
4579 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4580 * sysdeps/s390/s390-64/memset.S: Likewise.
4581
76f2d2ea 45822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4583
4584 [BZ #14833]
4585 * menual/message.texi (Message Translation): Fix typos.
4586 (Helper programs for gettext): Likewise.
4587
67cbf9a2
AS
45882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4589
4590 [BZ #14898]
4591 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4592 Change to -1.
4593
682d0e9a
DM
45942012-12-07 David S. Miller <davem@davemloft.net>
4595
4596 * po/libc.pot: Update.
4597
573cd484
RH
45982012-12-07 Richard Henderson <rth@redhat.com>
4599
7e9da188 4600 [BZ #10114]
573cd484
RH
4601 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4602 normal/normal case to before the switch.
4603 (_FP_DIV): Likewise.
4604
e933a943
MF
46052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4606 Mike Frysinger <vapier@gentoo.org>
4607
4608 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4609 check for __NR_fadvise64_64.
4610
82123268
CM
46112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4612
4613 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4614 0, not just to plain "0" as a statement.
4615 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4616 with cw.
4617
d9814526
JM
46182012-12-06 Joseph Myers <joseph@codesourcery.com>
4619
4620 * NEWS: Use sourceware.org in Bugzilla URL.
4621
7728c574
SP
46222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4623
f16946dd
SP
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4625 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4626
5704bbcb
SP
4627 * stdio-common/tst-put-error.c (do_test): Add newline to the
4628 padded test to ensure flush.
4629
17aa0516
JL
46302012-12-05 Jeff Law <law@redhat.com>
4631
4632 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4633
363313b5
JM
46342012-12-05 Joseph Myers <joseph@codesourcery.com>
4635
effbd42a
JM
4636 * README: Don't refer to ports add-on as distributed separately.
4637 Mention AArch64 in list of systems supported in the ports add-on.
4638
87600365
JM
4639 * LICENSES: Add more non-FSF copyright and license notices.
4640
a0d7066a
JM
4641 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4642 ((unused)).
4643
66ca5a5b
JM
4644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4645
363313b5
JM
4646 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4647 10000 as width of padded output.
4648
b37984ad
JM
46492012-12-04 Joseph Myers <joseph@codesourcery.com>
4650
9003570a
JM
4651 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4652
b37984ad
JM
4653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4654 variable LX with __attribute__ ((unused)).
4655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4656 Likewise.
4657 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4660 with __attribute__ ((unused)).
4661
c8df52ec
DM
46622012-12-04 David S. Miller <davem@abraco.davemloft.net>
4663
4664 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4665
b3b099af
JM
46662012-12-04 Joseph Myers <joseph@codesourcery.com>
4667
c33aa6e3
JM
4668 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4669 (CFLAGS-nldbl-acos.c): New variable.
4670 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4685 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4686 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4687 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4688 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4693 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4694 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4695 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4696 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4697 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4698 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4699 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4700 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4701 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4702 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4703 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4704 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4705 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4706 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4707 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4708 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4709 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4710 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4711 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4712 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4713 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4714 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4715 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4716 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4717 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4718 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4719 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4724 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4725 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4726 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4727 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4728 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4729 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4730 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4731 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4732 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4733 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4734 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4735 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4736 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4737 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4738 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4739 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4740 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4741 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4742 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4743 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4751 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4752 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4753 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4754 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4755 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4756 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4757 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4758 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4759 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4760 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4761 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4762 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4763 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4764 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4765 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4766 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4767
20f0018d
JM
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4769 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4770
b3b099af
JM
4771 [BZ #14914]
4772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4773 whole low double instead of just low 47 bits when splitting values
4774 into two parts.
4775
029264d1
AM
47762012-12-03 Allan McRae <allan@archlinux.org>
4777
4778 * manual/stdio.texi (Predefined Printf Handlers): Remove
4779 @hsep and @vsep usage.
4780
c9d6789e
MF
47812012-12-03 Mike Frysinger <vapier@gentoo.org>
4782
4783 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4784 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4785
4b7634a5
JL
47862012-12-03 Jeff Law <law@redhat.com>
4787
4788 * time/sys/time.h (settimeofday): Do not mark TV argument
4789 as __nonnull.
4790
eb6cbd24
MF
47912012-12-01 Mike Frysinger <vapier@gentoo.org>
4792
4793 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4794 when currently writing and seek to current position when not.
4795 * libio/Makefile (tests): Remove bug-fclose1.
4796 * libio/bug-fclose1.c: Delete.
4797
f638872a
JM
47982012-12-01 Joseph Myers <joseph@codesourcery.com>
4799
4800 * manual/arith.texi (feenableexcept): Fix typo.
4801 (fedisableexcept): Likewise.
4802
48085d14
RM
48032012-11-30 Roland McGrath <roland@hack.frob.com>
4804
4805 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4806 second, differently-typed declaration, rather than a cast.
4807
1a538b9f
SP
48082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
4810 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4811 * include/rpc/svc.h: ... here.
4812
d07f2ff1 48132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4814
4815 [BZ #13013]
4816 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4817 depending n and resplen2 to catch cases where answer
4818 equals answerp2.
4819
c93ec1f0
CD
48202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4821
4822 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4823 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4824
37db69de
MF
48252012-11-29 Mike Frysinger <vapier@gentoo.org>
4826
4827 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4828
e10c4e4f
RM
48292012-11-29 Roland McGrath <roland@hack.frob.com>
4830
4831 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4832
2af1b328
JL
48332012-11-28 Jeff Law <law@redhat.com>
4834
4835 [BZ #13761]
4836 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4837 dataset_temporary. Track alloca usage into alloca_used.
4838 If dataset is large allocate and release it via malloc/free.
4839
111db5b1
FW
48402012-06-04 Florian Weimer <fweimer@redhat.com>
4841
f06cc227 4842 [BZ #14197]
111db5b1
FW
4843 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4844
dd694abd
DM
48452012-11-28 David S. Miller <davem@davemloft.net>
4846
4847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4848
9984dd01
JM
48492012-11-28 Joseph Myers <joseph@codesourcery.com>
4850
4851 [BZ #14803]
4852 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4853 of pi/2 rounded to nearest to 64 bits.
4854 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4855 nearest to 64 bits.
4856 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4857 bits.
4858
14bc93a9
JL
48592012-11-28 Jeff Law <law@redhat.com>
4860 Martin Osvald <mosvald@redhat.com>
4861
4862 [BZ #14889]
4863 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4864 * sunrpc/svc.c: Include time.h.
4865 (__svc_accept_failed): New function.
4866 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4867 any reason other than EINTR, call __svc_accept_failed.
4868 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4869 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4870
e3c6aa3a
AS
48712012-11-28 Andreas Schwab <schwab@suse.de>
4872
4873 * scripts/abilist.awk: Also handle indirect functions in .opd
4874 section.
4875
1bead169
JM
48762012-11-28 Joseph Myers <joseph@codesourcery.com>
4877
4878 [BZ #13881]
4879 * sysdeps/x86/fpu/powl_helper.c: New file.
4880 * sysdeps/x86/fpu/Makefile: Likewise.
4881 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4882 (p3): New object.
4883 (__ieee754_powl): Use __powl_helper for finite arguments except
4884 integer exponents below 8.
4885 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4886 (p3): New object.
4887 (__ieee754_powl): Use __powl_helper for finite arguments except
4888 integer exponents below 8.
4889 * math/libm-test.inc (pow_test): Add more tests and enable some
4890 previously disabled tests.
4891 * sysdeps/i386/fpu/libm-test-ulps: Update.
4892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4893
0817d63d
SP
48942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4895 Carlos O'Donell <carlos_odonell@mentor.com>
4896
4897 * nss/makedb.c (is_prime): Assert that input is odd and greater
4898 than 4. Note that fact in a comment too.
4899 (next_prime): Add 4 to input.
4900
de2fd463
SP
49012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4902
4903 [BZ #11741]
4904 * libio/Makefile (tests): Add test case tst-fwrite-error.
4905 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4906 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4907 * libio/tst-fwrite-error.c: New test case.
4908
c515fb51
L
49092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4910
4911 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4912 before casting to void *.
4913 * include/libc-internal.h (__pointer_type): New macro.
4914 (__integer_if_pointer_type_sub): Likewise.
4915 (__integer_if_pointer_type): Likewise.
4916 (cast_to_integer): Likewise.
4917 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4918 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4919 before casting to atomic64_t.
4920 (atomic_exchange_acq): Likewise.
4921 (__arch_exchange_and_add_body): Likewise.
4922 (__arch_add_body): Likewise.
4923 (atomic_add_negative): Likewise.
4924 (atomic_add_zero): Likewise.
4925
4cf77aa9
JM
49262012-11-26 Joseph Myers <joseph@codesourcery.com>
4927
4928 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4929 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4930 (add_fdes): Likewise.
4931 (linear_search_fdes): Likewise.
4932 (binary_search_unencoded_fdes): Likewise.
4933
d260b3b4
AS
49342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4935
4936 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4937
67060746
AC
49382012-11-24 Adam Conrad <adconrad@0c3.net>
4939
4940 * configure.in: Autodetect C++ header directories.
4941 * configure: Regenerated.
4942
800938a1
MF
49432012-11-23 Mike Frysinger <vapier@gentoo.org>
4944
4945 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4946
4e6e34e6
AS
49472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4948
4949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4950
7c7feb47
JM
49512012-11-22 Joseph Myers <joseph@codesourcery.com>
4952
7184dcdf
JM
4953 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4954 LDBL_MANT_DIG == 106]: Disable some tests.
4955 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4956 Likewise.
4957 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4958 Likewise.
4959
0a42601f
JM
4960 [BZ #14871]
4961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4962 input for small inputs. Return +/- pi/2 for large inputs.
4963 * math/libm-test.inc (atan_test): Add more tests.
4964
79c9b9fe
JM
4965 * sysdeps/generic/unwind-dw2-fde-glibc.c
4966 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4967 __attribute__ ((unused)).
4968
c60d3bf2
JM
4969 [BZ #14645]
4970 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4971 x * y if x and y are nonzero and z is zero.
4972
ef1e0867
JM
4973 [BZ #14811]
4974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4975 nonzero exponents with absolute value below 0x1p-117 to +/-
4976 0x1p-117.
4977
1468ded3
JM
4978 [BZ #14869]
4979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4980 up arguments below 2**-450, not just those below 2**-500.
4981 * math/libm-test.inc (hypot_test): Add another test.
4982
8e27e3cc
JM
4983 [BZ #14868]
4984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4985 Return a+b for ratio over 2**120, not 2**60.
4986 * math/libm-test.inc (hypot_test): Add another test.
4987
c9c0279b
JM
4988 * math/libm-test.inc (clog_test): Use
4989 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4990 (clog10_test): Likewise.
4991
7c7feb47
JM
4992 [BZ #6778]
4993 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4994
fff1530e
AS
49952012-11-22 Andreas Schwab <schwab@suse.de>
4996
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998
94558d30
PT
49992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5000
5001 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5002 printf output with newline.
5003
7e1be741
L
50042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5005
6bfea974
L
5006 [BZ #14865]
5007 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5008 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5009 -z nodlopen, -z initfirst and -z execstack support.
5010 * configure: Regenerated.
5011
7e1be741
L
5012 * elf/elf.h (DF_1_NODIRECT): New macro.
5013 (DF_1_IGNMULDEF): Likewise.
5014 (DF_1_NOKSYMS): Likewise.
5015 (DF_1_NOHDR): Likewise.
5016 (DF_1_EDITED): Likewise.
5017 (DF_1_NORELOC): Likewise.
5018 (DF_1_SYMINTPOSE): Likewise.
5019 (DF_1_GLOBAUDIT): Likewise.
5020 (DF_1_SINGLETON): Likewise.
5021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5022 DT_1_SUPPORTED_MASK bits.
5023 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5024
105ce2ce
CD
50252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5026
5027 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5028
123be9de
TS
50292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5030
d072f3f7
TS
5031 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5032 macro.
5033
123be9de
TS
5034 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5035 (sendmmsg): Move declarations...
5036 * socket/sys/socket.h: ... here.
5037 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5038 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5039 include it from...
5040 * socket/recvmmsg.c: ... this new file.
5041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5042 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5043 definition of __sendmmsg hidden.
5044 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5045 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5046 Move ENOSYS stub into and include it from...
5047 * socket/sendmmsg.c: ... this new file.
5048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5049 (sysdep_routines): Move recvmmsg and sendmmsg...
5050 * socket/Makefile (routines): ... here.
5051 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5052 (GLIBC_PRIVATE): Add __sendmmsg.
5053 * include/sys/socket.h (__sendmmsg): Add declarations.
5054 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5055 sendmmsg.
5056
cf9a5d18
JM
50572012-11-20 Joseph Myers <joseph@codesourcery.com>
5058
5059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5060 variable I1 with __attribute__ ((unused)).
5061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5062
ecd4caf9
JM
50632012-11-19 Joseph Myers <joseph@codesourcery.com>
5064
be14d48f
JM
5065 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5066 DUMMY variables with __attribute__ ((unused)).
5067
ecd4caf9
JM
5068 * bits/byteswap.h: Include <bits/types.h>.
5069 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5070
986cab95
PT
50712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5072
5073 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5074 string_t. Do not manually set errno.
5075 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5076 length with __strnlen. Make sure to both set errno and return it on
5077 failure.
5078
6d33cc9d
DM
50792012-11-19 David S. Miller <davem@davemloft.net>
5080
5081 With help from Joseph Myers.
5082 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5083 very large arguments properly.
5084 * math/libm-test.inc (atan_test): New tests.
5085 (atan2_test): New tests.
5086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5088
ee663277
JM
50892012-11-19 Joseph Myers <joseph@codesourcery.com>
5090
877f2d8e
JM
5091 [BZ #14856]
5092 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5093 Define to 3.
5094
116fc08a
JM
5095 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5096 [POSIX] (EADDRNOTAVAIL): Likewise.
5097 [POSIX] (EAFNOSUPPORT): Likewise.
5098 [POSIX] (EALREADY): Likewise.
5099 [POSIX] (ECONNABORTED): Likewise.
5100 [POSIX] (ECONNREFUSED): Likewise.
5101 [POSIX] (ECONNRESET): Likewise.
5102 [POSIX] (EDESTADDRREQ): Likewise.
5103 [POSIX] (EDQUOT): Likewise.
5104 [POSIX] (EHOSTUNREACH): Likewise.
5105 [POSIX] (EIDRM): Likewise.
5106 [POSIX] (EISCONN): Likewise.
5107 [POSIX] (ELOOP): Likewise.
5108 [POSIX] (EMULTIHOP): Likewise.
5109 [POSIX] (ENETDOWN): Likewise.
5110 [POSIX] (ENETUNREACH): Likewise.
5111 [POSIX] (ENOBUFS): Likewise.
5112 [POSIX] (ENODATA): Likewise.
5113 [POSIX] (ENOLINK): Likewise.
5114 [POSIX] (ENOMSG): Likewise.
5115 [POSIX] (ENOPROTOOPT): Likewise.
5116 [POSIX] (ENOSR): Likewise.
5117 [POSIX] (ENOSTR): Likewise.
5118 [POSIX] (ENOTCONN): Likewise.
5119 [POSIX] (ENOTSOCK): Likewise.
5120 [POSIX] (EOPNOTSUPP): Likewise.
5121 [POSIX] (EOVERFLOW): Likewise.
5122 [POSIX] (EPROTO): Likewise.
5123 [POSIX] (EPROTONOSUPPORT): Likewise.
5124 [POSIX] (EPROTOTYPE): Likewise.
5125 [POSIX] (ESTALE): Likewise.
5126 [POSIX] (ETIME): Likewise.
5127 [POSIX] (ETXTBSY): Likewise.
5128 [POSIX] (EWOULDBLOCK): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5130 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5131 [POSIX] (SEEK_CUR): Likewise.
5132 [POSIX] (SEEK_END): Likewise.
5133 [POSIX || UNIX98] (mode_t): Do not require.
5134 [POSIX] (off_t): Likewise.
5135 [POSIX] (pid_t): Likewise.
5136 [POSIX] (sys/stat.h): Do not allow header.
5137 [POSIX] (unistd.h): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5139 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5141 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5142 require.
5143 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5144 sigevent): Specify elements.
5145 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5146 entry.
5147 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5148 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5149
a483863f
JM
5150 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5151 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5152 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5153 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5154 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5155 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5156 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5157 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5158 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5159 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5160 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5161 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5162 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5164 Likewise.
5165 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5166 Likewise.
5167 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5168 Likewise.
5169 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5170 Likewise.
5171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5172 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5173 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5174 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5176 Specify lower bound on value.
5177 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5178 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5183 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5184 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5185 value.
5186 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5187 as optional.
5188 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5189 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5190 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5191 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5197 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5198 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5199 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5200 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5201 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5202 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5203 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5204 entry.
5205 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5206 optional.
5207 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5208 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5209 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5210 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5211 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5213 Likewise.
5214 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5215 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5216 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5217 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5218 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5219 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5221 as optional.
5222 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5224 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5225 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5226 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5227 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5228 specify as optional.
5229 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5231 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5232 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5233 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5234 [XPG3] (NL_LANGMAX): Likewise.
5235 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5236 [POSIX || XPG3] (NL_NMAX): Likewise.
5237 [POSIX || XPG3] (NL_SETMAX): Likewise.
5238 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5239 [XPG3] (NZERO): Likewise.
5240 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5241 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5242 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5243 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5244 (REG_ERANGE): Expect.
5245 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5246 optional-constant.
5247 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5248 Use (void) in prototype.
5249 [POSIX] (*_t): Allow.
5250 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5251 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5252 (WRDE_BADVAL): Expect.
5253
5ba924e3
JM
5254 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5255 expect.
5256 [XPG3 || XPG4] (O_RSYNC): Likewise.
5257 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5258 Likewise.
5259 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5260 [XPG3 || XPG4] (sigqueue): Likewise.
5261 [XPG3 || XPG4] (sigtimedwait): Likewise.
5262 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5263 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5264 [XPG3 || XPG4] (vsnprintf): Likewise.
5265 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5266 Likewise.
5267 [XPG3 || XPG4] (blksize_t): Likewise.
5268 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5269 Likewise.
5270 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5271 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5272 [XPG3 || XPG4] (struct itimerspec): Likewise.
5273 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5274 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5275 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5276 [XPG3 || XPG4] (clockid_t): Likewise.
5277 [XPG3 || XPG4] (timer_t): Likewise.
5278 [XPG3 || XPG4] (clock_getres): Likewise.
5279 [XPG3 || XPG4] (clock_gettime): Likewise.
5280 [XPG3 || XPG4] (clock_settime): Likewise.
5281 [XPG3 || XPG4] (nanosleep): Likewise.
5282 [XPG3 || XPG4] (timer_create): Likewise.
5283 [XPG3 || XPG4] (timer_delete): Likewise.
5284 [XPG3 || XPG4] (timer_gettime): Likewise.
5285 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5286 [XPG3 || XPG4] (timer_settime): Likewise.
5287 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5288 [XPG3 || XPG4] (getlogin_r): Likewise.
5289 [XPG3 || XPG4] (pread): Likewise.
5290 [XPG3 || XPG4] (pthread_atfork): Likewise.
5291 [XPG3 || XPG4] (pwrite): Likewise.
5292
ee663277
JM
5293 [BZ #14835]
5294 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5295 <bits/siginfo.h>.
5296
942caa16
PT
52972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5298
e19af380
PT
5299 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5300 finalizing MALLSTREAM.
5301
942caa16
PT
5302 * sysdeps/mach/hurd/syncfs.c: New file.
5303
cfde9b46
SP
53042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5305
5306 [BZ #14719]
5307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5308 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5309 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5310 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5311 (_nss_dns_gethostbyname4_r): Likewise.
5312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5313 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5314
f6da27e5
PH
53152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5316
5317 [BZ #13763]
5318 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5319
6665d4a2
SM
53202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5321
1f51ee92
SM
5322 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5323 * elf/cache.c (print_entry): Print ",AArch64" for
5324 FLAG_AARCH64_LIB64
5325
6665d4a2
SM
5326 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5327 * elf/cache.c (print_entry): Print ",hard-float" for
5328 FLAG_ARM_LIBHF.
5329
05b227bd
DM
53302012-11-18 David S. Miller <davem@davemloft.net>
5331
5332 With help from Joseph Myers.
5333 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5334 cutoff to 2**-13.
5335 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5336 cutoff to 2**-25.
5337 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5338 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5339 small.
5340 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5341 * math/libm-test.inc (y0_test): New tests.
5342 (y1_test): New tests.
5343 * sysdeps/i386/fpu/libm-test-ulps: Update.
5344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5346
786b0b67
AS
53472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5348
5349 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5350 64-bit targets.
5351 * configure: Regenerated.
5352
8e18b86d
DM
53532012-11-17 David S. Miller <davem@davemloft.net>
5354
5355 [BZ #14811]
5356 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5357 nonzero exponents with absolute value below 0x1p-128 to +/-
5358 0x1p-128.
5359
531f1ae0
JM
53602012-11-17 Joseph Myers <joseph@codesourcery.com>
5361
12df29e2
JM
5362 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5363
150dc1a0
JM
5364 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5365
531f1ae0
JM
5366 * posix/getconf-speclist.c: New file.
5367 * posix/posix-envs.def: Likewise.
5368 * posix/confstr.c (START_ENV_GROUP): New macro.
5369 (END_ENV_GROUP): Likewise.
5370 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5371 (KNOWN_PRESENT_ENV_STRING): Likewise.
5372 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5373 (UNKNOWN_ENVIRONMENT): Likewise.
5374 (confstr): Include posix-envs.def instead of handling
5375 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5376 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5377 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5378 (END_ENV_GROUP): Likewise.
5379 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5381 (UNKNOWN_ENVIRONMENT): Likewise.
5382 (__sysconf): Include posix-envs.def instead of handling associated
5383 cases directly here.
5384 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5385 preprocessing getconf-speclist.c rather than running getconf or
5386 generating empty file.
5387
a93f9cbc
PT
53882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5389
5390 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5391
d64d9f87
AL
53922012-11-16 Andrej Lajovic <natrij@gmail.com>
5393
5394 [BZ #14672]
5395 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5396
447885eb
DM
53972012-11-16 David S. Miller <davem@davemloft.net>
5398
5399 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5400 smaller than LDBL_EPSILON/2.0L, just return xm1.
5401
bcbf9830
L
54022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5403
5404 * elf/tst-array1.c (init): Set constructor priority to 1000.
5405 (fini): Set destructor priority to 1000.
5406 * elf/tst-array2dep.c: Likewise.
5407
2b766585
SP
54082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
5410 [BZ #11741]
5411 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5412 (_IO_new_file_xsputn): Also return EOF if none of the input
5413 data was written when overflow failed.
5414 * libio/iopadn.c (_IO_padn): Likewise.
5415 * libio/iowpadn.c (_IO_wpadn): Likewise.
5416 * stdio-common/tst-put-error.c: Add copyright notice.
5417 (do_test): Add case for printing padded string.
5418 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5419 _IO_padn returned error.
5420 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5421 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5422 return EOF.
5423
b1848fde
SP
54242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * libio/libioP.h: Add comment note that the references to C++
5427 bits are now obsolete.
5428
2fd89785
MS
54292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5430
5431 * math/libm-test.inc (check_complex): Use asprintf.
5432
e3ea5409
JM
54332012-11-14 Joseph Myers <joseph@codesourcery.com>
5434
5435 * debug/pcprofiledump.c (print_version): Update copyright year.
5436 * malloc/memusagestat.c (print_version): Likewise.
5437
2e64d265
L
54382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 [BZ #14831]
5441 * elf/Makefile (tests): Add tst-audit8.
5442 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5443 ($(objpfx)tst-audit8.out): New target.
5444 (tst-audit8-ENV): New variable.
5445 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5446 audit if l_reloc_result is NULL.
5447 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5448 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5449 * elf/tst-audit8.c: New file.
5450
c485e4d2
MS
54512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5452
5453 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5454 * misc/Makefile (CFLAGS-select.c): Define.
5455 * posix/Makefile (CFLAGS-pause.c): Define.
5456
3a0d900a
DM
54572012-11-13 David S. Miller <davem@davemloft.net>
5458
5459 * crypt/Makefile: Move test targets after toplevel Rules
5460 inclusion. Grab any necessary sysdep routines when linking.
5461 * crypt/md5.c (md5_process_block): Remove define, we will always
5462 name it __md5_process_block.
5463 (md5_finish_ctx): Update md5_process_block call.
5464 (md5_stream): Likewise.
5465 (md5_process_bytes): Likewise.
5466 (md5_process_block): Rename to __md5_process_block and move to ...
5467 * crypt/md5-block.c: ... here.
5468 * crypt/sha256.c (sha256_process_block): Move to ...
5469 * crypt/sha256-block.c: ... here.
5470 * crypt/sha512.c (sha512_process_block): Move to ...
5471 * crypt/sha512-block.c: ... here.
5472 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5473 path.
5474 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5475 * sysdeps/sparc/sparc64/multiarch/Makefile
5476 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5477 crypt subdir.
5478 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5480 multiarch changes.
5481 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5482 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5483 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5484 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5485 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5486 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5487 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5488 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5490 file.
5491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5492 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5493 file.
5494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5495
8ca89318
JM
54962012-11-13 Joseph Myers <joseph@codesourcery.com>
5497
e27d476a
JM
5498 * timezone/tzselect.ksh: Update from tzcode git revision
5499 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5500 * timezone/zdump.c: Likewise.
5501 * timezone/zic.c: Likewise.
5502 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5503 in TZVERSION setting, not $(PKGVERSION).
5504 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5505 REPORT_BUGS_TO settings.
5506
8ca89318
JM
5507 [BZ #14838]
5508 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5509 macro.
5510
47594329
MS
55112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5512
5513 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5514 detection to immediately after _FP_ROUND().
5515 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5516 bits are 0.
5517
640ac3f1
DM
55182012-11-11 David S. Miller <davem@davemloft.net>
5519
5520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5521 inttypes.h
5522 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5523 __close rather than their public counterparts.
5524
3d2577bb
JM
55252012-11-10 Joseph Myers <joseph@codesourcery.com>
5526
5527 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5528 file.
5529 [UNIX98] (sem_timedwait): Do not expect.
5530 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5531 [XPG4 || UNIX98] (sockatmark): Do not expect.
5532 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5533 (clock_getcpuclockid): Do not expect.
5534 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5535 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5536 Do not expect.
5537 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5538 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5539 [UNIX98] (vwscanf): Likewise.
5540 [UNIX98] (vswscanf): Likewise.
5541
fb1ae1ee
JM
55422012-11-09 Joseph Myers <joseph@codesourcery.com>
5543
9ec6f8bd
JM
5544 * timezone/version.h: Remove file.
5545 * timezone/README: Do not refer to version.h.
5546 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5547 $(objpfx)version.h.
5548 ($(objpfx)zdump.o): Likewise.
c3f81911 5549 ($(objpfx)version.h): New target.
9ec6f8bd 5550
0aa8f8a1
JM
5551 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5552 2012i.
5553 * timezone/README: Don't mention modification to tzselect.ksh.
5554 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5555 work on unmodified tzselect.ksh. Substitute version numbers in
5556 tzselect.ksh.
5557
4e87147f
JM
5558 * Makefile (format-me): Remove.
5559 (INSTALL): Adjust indentation. Use commands directly instead of
5560 using $(format-me).
5561
8b748aed
JM
5562 * aclocal.m4 (ACX_PKGVERSION): New macro.
5563 (ACX_BUGURL): Likewise.
5564 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5565 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5566 (REPORT_BUGS_TO): Likewise.
5567 * configure: Regenerated.
5568 * config.h.in (PKGVERSION): New macro.
5569 (REPORT_BUGS_TO): Likewise.
5570 * config.make.in (PKGVERSION): New variable.
5571 (PKGVERSION_TEXI): Likewise.
5572 (REPORT_BUGS_TO): Likewise.
5573 (REPORT_BUGS_TEXI): Likewise.
5574 * Makefile (format-me): Use -I$(common-objpfx)manual.
5575 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5576 ($(common-objpfx)manual/%): New target.
5577 (manual/%): Remove target.
5578 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5579 (print_version): Use PKGVERSION.
5580 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5581 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5582 and REPORT_BUGS_TO.
5583 ($(objpfx)xtrace): Likewise.
5584 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5585 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5586 (print_version): Use PKGVERSION.
5587 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5588 (do_version): Use PKGVERSION.
5589 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5590 REPORT_BUGS_TO.
5591 (common-ldd-rewrite): Likewise.
5592 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5593 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5594 (print_version): Use PKGVERSION.
5595 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5596 * elf/pldd.c (argp_program_bug_address): Remove variable.
5597 (more_help): New function.
5598 (argp): Use more_help.
5599 (print_version): Use PKGVERSION.
5600 * elf/sln.c (main): Use PKGVERSION.
5601 (usage): Use REPORT_BUGS_TO.
5602 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5603 (top level): Use PKGVERSION.
5604 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5605 (print_version): Use PKGVERSION.
5606 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5607 (print_version): Use PKGVERSION.
5608 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5609 (print_version): Use PKGVERSION.
5610 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5611 (print_version): Use PKGVERSION.
5612 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5613 (print_version): Use PKGVERSION.
5614 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5615 (print_version): Use PKGVERSION.
5616 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5617 and BUGURL.
5618 ($(objpfx)memusage): Likewise.
5619 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5620 (do_version): Use PKGVERSION.
5621 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5622 (print_version): Use PKGVERSION.
5623 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5624 ($PKGVERSION): New variable.
5625 ($REPORT_BUGS_TO): Likewise.
5626 (usage): Use $REPORT_BUGS_TO.
5627 (top level): Use $PKGVERSION.
5628 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5629 ($(objpfx)pkgvers.texi): New rule.
5630 ($(objpfx)stamp-pkgvers): Likewise.
5631 * manual/install.texi: Include pkgvers.texi.
5632 (--with-pkgversion): Document new configure option.
5633 (--with-bugurl): Likewise.
5634 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5635 than necessarily for this particular distribution. Use
5636 REPORT_BUGS_TO for where to report bugs.
5637 * INSTALL: Regenerated.
5638 * manual/libc.texinfo: Include pkgvers.texi.
5639 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5640 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5641 (print_version): Use PKGVERSION.
5642 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5643 (print_version): Use PKGVERSION.
5644 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5645 (print_version): Use PKGVERSION.
5646 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5647 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5648 macro.
5649 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5650 (print_version): Use PKGVERSION.
5651 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5652 (print_version): Use PKGVERSION.
5653 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5654 and PKGVERSION.
5655
92e4b6a9
JM
5656 * timezone/checktab.awk: Update from tzcode 2012i.
5657 * timezone/ialloc.c: Likewise.
5658 * timezone/private.h: Likewise.
5659 * timezone/scheck.c: Likewise.
5660 * timezone/tzfile.h: Likewise.
5661 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5662 (TZVERSION): Hardcode tzcode version number.
5663 * timezone/zdump.c: Update from tzcode 2012i.
5664 * timezone/zic.c: Likewise.
5665 * timezone/version.h: New file.
5666 * timezone/README: Describe version.h. Update upstream location.
5667
9bde902c
JM
5668 [BZ #14824]
5669 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5670 (mktemp): Enable declaration.
5671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5675 Likewise.
5676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5677 Likewise.
5678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5679 Likewise.
5680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5681 Likewise.
5682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5683 Likewise.
5684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5685 Likewise.
5686
fb1ae1ee
JM
5687 [BZ #14821]
5688 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5689 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5690 for copies of such integer values.
5691 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5692 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5693
2c1adbcb
AJ
56942012-11-09 Andreas Jaeger <aj@suse.de>
5695
5696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5697 definitions and declarations that are provided by
5698 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5699
d0f8457e
AK
57002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5701
3a235abb 5702 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5703 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5704 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5705 definition.
5706
57241e26
MS
57072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5708
5709 * elf/elf.h: Update comment before AArch64 relocations.
5710
60e8270d
DM
57112012-11-07 David S. Miller <davem@davemloft.net>
5712
5713 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5715 (__start_context): Declare.
5716 (__makecontext_ret): Delete.
5717 (__makecontext): Hook up __start_context instead of
5718 __makecontext_ret.
5719 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5720 (sysdep_routines): Add __start_context when in stdlib.
5721
0fbb0fbc
JM
57222012-11-07 Joseph Myers <joseph@codesourcery.com>
5723
5724 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5725 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5726 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5727 hardcoded "nm".
5728 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5729 (READELF): New variable. Use it instead of hardcoded "readelf".
5730
eb48db7e
L
57312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5732
5733 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5734 * sysdeps/x86/Makefile: Here.
5735 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5736 * sysdeps/x86/tst-xmmymm.sh: This.
5737
05bcf62a
JM
57382012-11-07 Joseph Myers <joseph@codesourcery.com>
5739
c4b6cf53
JM
5740 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5741 expectations.
5742 [UNIX98] (pthread_barrier_t): Do not expect.
5743 [UNIX98] (pthread_barrierattr_t): Likewise.
5744 [UNIX98] (pthread_spinlock_t): Likewise.
5745 [UNIX98] (pthread_barrier_destroy): Likewise.
5746 [UNIX98] (pthread_barrier_init): Likewise.
5747 [UNIX98] (pthread_barrier_wait): Likewise.
5748 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5749 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5750 [UNIX98] (pthread_barrierattr_init): Likewise.
5751 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5752 [UNIX98] (pthread_getcpuclockid): Likewise.
5753 [UNIX98] (pthread_mutex_timedlock): Likewise.
5754 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5755 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5756 [UNIX98] (pthread_sigmask): Likewise.
5757 [UNIX98] (pthread_spin_destroy): Likewise.
5758 [UNIX98] (pthread_spin_init): Likewise.
5759 [UNIX98] (pthread_spin_lock): Likewise.
5760 [UNIX98] (pthread_spin_trylock): Likewise.
5761 [UNIX98] (pthread_spin_unlock): Likewise.
5762 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5763 Do not expect.
5764 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5766 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5767 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5768 [XPG3 || XPG4] (pthread_key_t): Likewise.
5769 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5770 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5771 [XPG3 || XPG4] (pthread_once_t): Likewise.
5772 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5773 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5775 [XPG3 || XPG4] (pthread_t): Likewise.
5776
cbe6e120
JM
5777 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5778 not expect.
5779 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5780
1b126443
JM
5781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5782 Change function return type to int.
5783
b961a573
JM
5784 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5785 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5786 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5787 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5788 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5789 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5790 [!POSIX] (posix_madvise): Likewise.
5791 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5792 && !UNIX98].
5793 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5794 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5795 (mode_t): Likewise.
5796 (posix_mem_offset): Likewise.
5797 (posix_typed_mem_get_info): Likewise.
5798 (posix_typed_mem_open): Likewise.
5799
9e188909
JM
5800 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5801 Change condition to [XOPEN2K8].
5802
05bcf62a
JM
5803 * conform/conformtest.pl: Preprocess allow-header data with -x c
5804 instead of from stdin.
5805 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5806 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5807 [C99-based standards] (cerfc): Likewise.
5808 [C99-based standards] (cexp2): Likewise.
5809 [C99-based standards] (cexpm1): Likewise.
5810 [C99-based standards] (clog10): Likewise.
5811 [C99-based standards] (clog1p): Likewise.
5812 [C99-based standards] (clog2): Likewise.
5813 [C99-based standards] (clgamma): Likewise.
5814 [C99-based standards] (ctgamma): Likewise.
5815 [C99-based standards] (cerff): Likewise.
5816 [C99-based standards] (cerfcf): Likewise.
5817 [C99-based standards] (cexp2f): Likewise.
5818 [C99-based standards] (cexpm1f): Likewise.
5819 [C99-based standards] (clog10f): Likewise.
5820 [C99-based standards] (clog1pf): Likewise.
5821 [C99-based standards] (clog2f): Likewise.
5822 [C99-based standards] (clgammaf): Likewise.
5823 [C99-based standards] (ctgammaf): Likewise.
5824 [C99-based standards] (cerfl): Likewise.
5825 [C99-based standards] (cerfcl): Likewise.
5826 [C99-based standards] (cexp2l): Likewise.
5827 [C99-based standards] (cexpm1l): Likewise.
5828 [C99-based standards] (clog10l): Likewise.
5829 [C99-based standards] (clog1pl): Likewise.
5830 [C99-based standards] (clog2l): Likewise.
5831 [C99-based standards] (clgammal): Likewise.
5832 [C99-based standards] (ctgammal): Likewise.
5833 * conform/data/inttypes.h-data [C99-based standards]: Include
5834 stdint.h-data. Remove all expectations for stdint.h contents.
5835 [C99-based standards] (PRI*): Do not allow.
5836 [C99-based standards] (SCN*): Likewise.
5837 [C99-based standards] (*_t): Likewise.
5838 [C99-based-standards] (PRId8): Expect macro.
5839 [C99-based-standards] (PRIi8): Likewise.
5840 [C99-based-standards] (PRIo8): Likewise.
5841 [C99-based-standards] (PRIu8): Likewise.
5842 [C99-based-standards] (PRIx8): Likewise.
5843 [C99-based-standards] (PRIX8): Likewise.
5844 [C99-based-standards] (SCNd8): Likewise.
5845 [C99-based-standards] (SCNi8): Likewise.
5846 [C99-based-standards] (SCNo8): Likewise.
5847 [C99-based-standards] (SCNu8): Likewise.
5848 [C99-based-standards] (SCNx8): Likewise.
5849 [C99-based-standards] (PRIdLEAST8): Likewise.
5850 [C99-based-standards] (PRIiLEAST8): Likewise.
5851 [C99-based-standards] (PRIoLEAST8): Likewise.
5852 [C99-based-standards] (PRIuLEAST8): Likewise.
5853 [C99-based-standards] (PRIxLEAST8): Likewise.
5854 [C99-based-standards] (PRIXLEAST8): Likewise.
5855 [C99-based-standards] (SCNdLEAST8): Likewise.
5856 [C99-based-standards] (SCNiLEAST8): Likewise.
5857 [C99-based-standards] (SCNoLEAST8): Likewise.
5858 [C99-based-standards] (SCNuLEAST8): Likewise.
5859 [C99-based-standards] (SCNxLEAST8): Likewise.
5860 [C99-based-standards] (PRIdFAST8): Likewise.
5861 [C99-based-standards] (PRIiFAST8): Likewise.
5862 [C99-based-standards] (PRIoFAST8): Likewise.
5863 [C99-based-standards] (PRIuFAST8): Likewise.
5864 [C99-based-standards] (PRIxFAST8): Likewise.
5865 [C99-based-standards] (PRIXFAST8): Likewise.
5866 [C99-based-standards] (SCNdFAST8): Likewise.
5867 [C99-based-standards] (SCNiFAST8): Likewise.
5868 [C99-based-standards] (SCNoFAST8): Likewise.
5869 [C99-based-standards] (SCNuFAST8): Likewise.
5870 [C99-based-standards] (SCNxFAST8): Likewise.
5871 [C99-based-standards] (PRId16): Likewise.
5872 [C99-based-standards] (PRIi16): Likewise.
5873 [C99-based-standards] (PRIo16): Likewise.
5874 [C99-based-standards] (PRIu16): Likewise.
5875 [C99-based-standards] (PRIx16): Likewise.
5876 [C99-based-standards] (PRIX16): Likewise.
5877 [C99-based-standards] (SCNd16): Likewise.
5878 [C99-based-standards] (SCNi16): Likewise.
5879 [C99-based-standards] (SCNo16): Likewise.
5880 [C99-based-standards] (SCNu16): Likewise.
5881 [C99-based-standards] (SCNx16): Likewise.
5882 [C99-based-standards] (PRIdLEAST16): Likewise.
5883 [C99-based-standards] (PRIiLEAST16): Likewise.
5884 [C99-based-standards] (PRIoLEAST16): Likewise.
5885 [C99-based-standards] (PRIuLEAST16): Likewise.
5886 [C99-based-standards] (PRIxLEAST16): Likewise.
5887 [C99-based-standards] (PRIXLEAST16): Likewise.
5888 [C99-based-standards] (SCNdLEAST16): Likewise.
5889 [C99-based-standards] (SCNiLEAST16): Likewise.
5890 [C99-based-standards] (SCNoLEAST16): Likewise.
5891 [C99-based-standards] (SCNuLEAST16): Likewise.
5892 [C99-based-standards] (SCNxLEAST16): Likewise.
5893 [C99-based-standards] (PRIdFAST16): Likewise.
5894 [C99-based-standards] (PRIiFAST16): Likewise.
5895 [C99-based-standards] (PRIoFAST16): Likewise.
5896 [C99-based-standards] (PRIuFAST16): Likewise.
5897 [C99-based-standards] (PRIxFAST16): Likewise.
5898 [C99-based-standards] (PRIXFAST16): Likewise.
5899 [C99-based-standards] (SCNdFAST16): Likewise.
5900 [C99-based-standards] (SCNiFAST16): Likewise.
5901 [C99-based-standards] (SCNoFAST16): Likewise.
5902 [C99-based-standards] (SCNuFAST16): Likewise.
5903 [C99-based-standards] (SCNxFAST16): Likewise.
5904 [C99-based-standards] (PRId32): Likewise.
5905 [C99-based-standards] (PRIi32): Likewise.
5906 [C99-based-standards] (PRIo32): Likewise.
5907 [C99-based-standards] (PRIu32): Likewise.
5908 [C99-based-standards] (PRIx32): Likewise.
5909 [C99-based-standards] (PRIX32): Likewise.
5910 [C99-based-standards] (SCNd32): Likewise.
5911 [C99-based-standards] (SCNi32): Likewise.
5912 [C99-based-standards] (SCNo32): Likewise.
5913 [C99-based-standards] (SCNu32): Likewise.
5914 [C99-based-standards] (SCNx32): Likewise.
5915 [C99-based-standards] (PRIdLEAST32): Likewise.
5916 [C99-based-standards] (PRIiLEAST32): Likewise.
5917 [C99-based-standards] (PRIoLEAST32): Likewise.
5918 [C99-based-standards] (PRIuLEAST32): Likewise.
5919 [C99-based-standards] (PRIxLEAST32): Likewise.
5920 [C99-based-standards] (PRIXLEAST32): Likewise.
5921 [C99-based-standards] (SCNdLEAST32): Likewise.
5922 [C99-based-standards] (SCNiLEAST32): Likewise.
5923 [C99-based-standards] (SCNoLEAST32): Likewise.
5924 [C99-based-standards] (SCNuLEAST32): Likewise.
5925 [C99-based-standards] (SCNxLEAST32): Likewise.
5926 [C99-based-standards] (PRIdFAST32): Likewise.
5927 [C99-based-standards] (PRIiFAST32): Likewise.
5928 [C99-based-standards] (PRIoFAST32): Likewise.
5929 [C99-based-standards] (PRIuFAST32): Likewise.
5930 [C99-based-standards] (PRIxFAST32): Likewise.
5931 [C99-based-standards] (PRIXFAST32): Likewise.
5932 [C99-based-standards] (SCNdFAST32): Likewise.
5933 [C99-based-standards] (SCNiFAST32): Likewise.
5934 [C99-based-standards] (SCNoFAST32): Likewise.
5935 [C99-based-standards] (SCNuFAST32): Likewise.
5936 [C99-based-standards] (SCNxFAST32): Likewise.
5937 [C99-based-standards] (PRId64): Likewise.
5938 [C99-based-standards] (PRIi64): Likewise.
5939 [C99-based-standards] (PRIo64): Likewise.
5940 [C99-based-standards] (PRIu64): Likewise.
5941 [C99-based-standards] (PRIx64): Likewise.
5942 [C99-based-standards] (PRIX64): Likewise.
5943 [C99-based-standards] (SCNd64): Likewise.
5944 [C99-based-standards] (SCNi64): Likewise.
5945 [C99-based-standards] (SCNo64): Likewise.
5946 [C99-based-standards] (SCNu64): Likewise.
5947 [C99-based-standards] (SCNx64): Likewise.
5948 [C99-based-standards] (PRIdLEAST64): Likewise.
5949 [C99-based-standards] (PRIiLEAST64): Likewise.
5950 [C99-based-standards] (PRIoLEAST64): Likewise.
5951 [C99-based-standards] (PRIuLEAST64): Likewise.
5952 [C99-based-standards] (PRIxLEAST64): Likewise.
5953 [C99-based-standards] (PRIXLEAST64): Likewise.
5954 [C99-based-standards] (SCNdLEAST64): Likewise.
5955 [C99-based-standards] (SCNiLEAST64): Likewise.
5956 [C99-based-standards] (SCNoLEAST64): Likewise.
5957 [C99-based-standards] (SCNuLEAST64): Likewise.
5958 [C99-based-standards] (SCNxLEAST64): Likewise.
5959 [C99-based-standards] (PRIdFAST64): Likewise.
5960 [C99-based-standards] (PRIiFAST64): Likewise.
5961 [C99-based-standards] (PRIoFAST64): Likewise.
5962 [C99-based-standards] (PRIuFAST64): Likewise.
5963 [C99-based-standards] (PRIxFAST64): Likewise.
5964 [C99-based-standards] (PRIXFAST64): Likewise.
5965 [C99-based-standards] (SCNdFAST64): Likewise.
5966 [C99-based-standards] (SCNiFAST64): Likewise.
5967 [C99-based-standards] (SCNoFAST64): Likewise.
5968 [C99-based-standards] (SCNuFAST64): Likewise.
5969 [C99-based-standards] (SCNxFAST64): Likewise.
5970 [C99-based-standards] (PRIdMAX): Likewise.
5971 [C99-based-standards] (PRIiMAX): Likewise.
5972 [C99-based-standards] (PRIoMAX): Likewise.
5973 [C99-based-standards] (PRIuMAX): Likewise.
5974 [C99-based-standards] (PRIxMAX): Likewise.
5975 [C99-based-standards] (PRIXMAX): Likewise.
5976 [C99-based-standards] (SCNdMAX): Likewise.
5977 [C99-based-standards] (SCNiMAX): Likewise.
5978 [C99-based-standards] (SCNoMAX): Likewise.
5979 [C99-based-standards] (SCNuMAX): Likewise.
5980 [C99-based-standards] (SCNxMAX): Likewise.
5981 [C99-based-standards] (PRIdPTR): Likewise.
5982 [C99-based-standards] (PRIiPTR): Likewise.
5983 [C99-based-standards] (PRIoPTR): Likewise.
5984 [C99-based-standards] (PRIuPTR): Likewise.
5985 [C99-based-standards] (PRIxPTR): Likewise.
5986 [C99-based-standards] (PRIXPTR): Likewise.
5987 [C99-based-standards] (SCNdPTR): Likewise.
5988 [C99-based-standards] (SCNiPTR): Likewise.
5989 [C99-based-standards] (SCNoPTR): Likewise.
5990 [C99-based-standards] (SCNuPTR): Likewise.
5991 [C99-based-standards] (SCNxPTR): Likewise.
5992 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5993 allow.
5994 * conform/data/stdint.h-data: Update comments to clarify
5995 requirements.
5996 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5997 type.
5998 [C99-based standards] (INT8_MAX): Likewise.
5999 [C99-based standards] (INT16_MIN): Likewise.
6000 [C99-based standards] (INT16_MAX): Likewise.
6001 [C99-based standards] (INT32_MIN): Likewise.
6002 [C99-based standards] (INT32_MAX): Likewise.
6003 [C99-based standards] (INT64_MIN): Likewise.
6004 [C99-based standards] (INT64_MAX): Likewise.
6005 [C99-based standards] (UINT8_MAX): Likewise.
6006 [C99-based standards] (UINT16_MAX): Likewise.
6007 [C99-based standards] (UINT32_MAX): Likewise.
6008 [C99-based standards] (UINT64_MAX): Likewise.
6009 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6010 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6011 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6012 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6013 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6014 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6015 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6016 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6017 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6018 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6019 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6020 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6021 [C99-based standards] (INT_FAST8_MIN): Likewise.
6022 [C99-based standards] (INT_FAST8_MAX): Likewise.
6023 [C99-based standards] (INT_FAST16_MIN): Likewise.
6024 [C99-based standards] (INT_FAST16_MAX): Likewise.
6025 [C99-based standards] (INT_FAST32_MIN): Likewise.
6026 [C99-based standards] (INT_FAST32_MAX): Likewise.
6027 [C99-based standards] (INT_FAST64_MIN): Likewise.
6028 [C99-based standards] (INT_FAST64_MAX): Likewise.
6029 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6030 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6031 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6032 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6033 [C99-based standards] (INTPTR_MIN): Likewise.
6034 [C99-based standards] (INTPTR_MAX): Likewise.
6035 [C99-based standards] (UINTPTR_MAX): Likewise.
6036 [C99-based standards] (INTMAX_MIN): Likewise.
6037 [C99-based standards] (INTMAX_MAX): Likewise.
6038 [C99-based standards] (UINTMAX_MAX): Likewise.
6039 [C99-based standards] (PTRDIFF_MIN): Likewise.
6040 [C99-based standards] (PTRDIFF_MAX): Likewise.
6041 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6042 [C99-based standards] (SIZE_MAX): Likewise.
6043 [C99-based standards] (WCHAR_MAX): Likewise.
6044 [C99-based standards] (WINT_MAX): Likewise.
6045 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6046 constraint on value.
6047 [C99-based standards] (WCHAR_MIN): Likewise.
6048 [C99-based standards] (WINT_MIN): Likewise.
6049 [C99-based standards] (*_t): Allow.
6050 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6051 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6052 Include math.h-data and complex.h-data. Remove all expectations
6053 of math.h and complex.h contents.
6054 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6055 at end of line.
6056 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6057 (struct tm): Expect tag.
6058 [C99-based-standards] (wcstof): Expect function.
6059 [C99-based-standards] (wcstold): Likewise.
6060 [C99-based-standards] (wcstoll): Likewise.
6061 [C99-based-standards] (wcstoull): Likewise.
6062 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6063 macro-int-constant. Specify type.
6064 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6065 constraint on value.
6066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6067 Specify type.
6068 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6069 Specify value.
6070 [ISO C standards]: Do not allow headers.
6071 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6072 wcs[abcdefghijklmnopqrstuvwxyz]*.
6073 [ISO C standards] (*_t): Do not allow.
6074 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6075 Expect function.
6076 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6077 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6078 Specify type.
6079 [ISO C standards]: Do not allow headers.
6080 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6081 is[abcdefghijklmnopqrstuvwxyz]*.
6082 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6083 to[abcdefghijklmnopqrstuvwxyz]*.
6084 [ISO C standards] (*_t): Do not allow.
6085 * conform/data/stdalign.h-data: New file.
6086 * conform/data/stdbool.h-data: Likewise.
6087 * conform/data/stdnoreturn.h-data: Likewise.
6088
7514feb8
RM
60892012-11-07 Roland McGrath <roland@hack.frob.com>
6090
6091 [BZ #14815]
6092 * manual/filesys.texi (Directory Entries): Typo fix.
6093 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6094
19b2ecfc
MS
60952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6096
6097 * elf/elf.h (EM_AARCH64): New macro.
6098 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6099 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6100 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6101 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6102 (R_AARCH64_TLSDESC): Likewise.
6103 (NT_ARM_TLS): Likewise.
6104 (NT_ARM_HW_BREAK): Likewise.
6105 (NT_ARM_HW_WATCH): Likewise.
6106
60e235ee
JM
61072012-11-07 Joseph Myers <joseph@codesourcery.com>
6108
6109 [BZ #14811]
6110 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6111 (__ieee754_powl): Saturate nonzero exponents with absolute value
6112 below 0x1p-79 to +/- 0x1p-79.
6113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6114 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6115 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6116 nonzero exponents with absolute value below 0x1p-32 to +/-
6117 0x1p-32.
6118 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6119 (__ieee754_powl): Saturate nonzero exponents with absolute value
6120 below 0x1p-79 to +/- 0x1p-79.
6121 * math/libm-test.inc (pow_test): Add more tests.
6122
0ab234b7
AK
61232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6124
6125 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6126 _dl_s390_cap_flags with kernel. Increase string length.
6127 (_dl_s390_platforms): Add z196 and zEC12.
6128
45832f74
JM
61292012-11-07 Joseph Myers <joseph@codesourcery.com>
6130
6131 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6132 Change XOPEN21K to XOPEN2K.
6133
19218757
MK
61342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6135
6136 * string/memmove.c: Use memcpy when possible.
6137
c5f45721
AJ
61382012-11-06 Andreas Jaeger <aj@suse.de>
6139
6140 * po/eo.po: Update from translation team.
6141
82477c28
JM
61422012-11-06 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #14793]
6145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6146 exponent and small x and y exponents, scale x or y up. Increase
6147 by 2 the exponent used in scaling up.
6148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6150 * math/libm-test.inc (fma_test): Add more tests.
6151 (fma_test_towardzero): Likewise.
6152 (fma_test_downward): Likewise.
6153 (fma_test_upward): Likewise.
6154
99252c8c
JM
61552012-11-05 Joseph Myers <joseph@codesourcery.com>
6156
acfa885f
JM
6157 [BZ #14805]
6158 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6159 fenv_t *.
6160
99252c8c
JM
6161 [BZ #14801]
6162 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6163 namespace for names of struct fields.
6164 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6165 fenv_t fields.
6166 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6167 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6168
d6d98dea
ST
61692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6170
6171 [BZ #3665]
6172 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6173
e10bb107
TS
61742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6175
6176 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6177 PTR_DEMANGLE.
6178
6179 [BZ #5246]
6180 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6181 PTR_DEMANGLE.
6182
a0c2940d
JM
61832012-11-04 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #14797]
6186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6187 definitely overflow as x * y not x * y + z.
6188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6190 * math/libm-test.inc (fma_test): Add more tests.
6191 (fma_test_towardzero): Likewise.
6192 (fma_test_downward): Likewise.
6193 (fma_test_upward): Likewise.
6194
b830319d
TS
61952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6196
6197 [BZ #157]
6198
6199 * include/stub-tag.h: Remove file.
6200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6201 '#include' of it.
6202 * manual/maint.texi (Porting): Don't reference it.
6203 * Makerules ($(objpfx)stubs): Likewise.
6204 * dirent/closedir.c: Don't include <stub-tag.h>.
6205 * dirent/dirfd.c: Likewise.
6206 * dirent/fdopendir.c: Likewise.
6207 * dirent/getdents.c: Likewise.
6208 * dirent/getdents64.c: Likewise.
6209 * dirent/opendir.c: Likewise.
6210 * dirent/readdir.c: Likewise.
6211 * dirent/readdir64.c: Likewise.
6212 * dirent/readdir64_r.c: Likewise.
6213 * dirent/readdir_r.c: Likewise.
6214 * dirent/rewinddir.c: Likewise.
6215 * dirent/seekdir.c: Likewise.
6216 * dirent/telldir.c: Likewise.
6217 * gmon/profil.c: Likewise.
6218 * grp/setgroups.c: Likewise.
6219 * inet/if_index.c: Likewise.
6220 * io/access.c: Likewise.
6221 * io/chdir.c: Likewise.
6222 * io/chmod.c: Likewise.
6223 * io/chown.c: Likewise.
6224 * io/close.c: Likewise.
6225 * io/dup.c: Likewise.
6226 * io/dup2.c: Likewise.
6227 * io/dup3.c: Likewise.
6228 * io/euidaccess.c: Likewise.
6229 * io/faccessat.c: Likewise.
6230 * io/fchdir.c: Likewise.
6231 * io/fchmod.c: Likewise.
6232 * io/fchmodat.c: Likewise.
6233 * io/fchown.c: Likewise.
6234 * io/fchownat.c: Likewise.
6235 * io/fcntl.c: Likewise.
6236 * io/flock.c: Likewise.
6237 * io/fstatfs.c: Likewise.
6238 * io/fstatfs64.c: Likewise.
6239 * io/fstatvfs.c: Likewise.
6240 * io/fstatvfs64.c: Likewise.
6241 * io/futimens.c: Likewise.
6242 * io/fxstat.c: Likewise.
6243 * io/fxstat64.c: Likewise.
6244 * io/fxstatat.c: Likewise.
6245 * io/fxstatat64.c: Likewise.
6246 * io/getcwd.c: Likewise.
6247 * io/isatty.c: Likewise.
6248 * io/lchmod.c: Likewise.
6249 * io/lchown.c: Likewise.
6250 * io/link.c: Likewise.
6251 * io/linkat.c: Likewise.
6252 * io/lseek.c: Likewise.
6253 * io/lseek64.c: Likewise.
6254 * io/lxstat64.c: Likewise.
6255 * io/mkdir.c: Likewise.
6256 * io/mkdirat.c: Likewise.
6257 * io/mkfifo.c: Likewise.
6258 * io/mkfifoat.c: Likewise.
6259 * io/open.c: Likewise.
6260 * io/open64.c: Likewise.
6261 * io/openat.c: Likewise.
6262 * io/openat64.c: Likewise.
6263 * io/pipe.c: Likewise.
6264 * io/pipe2.c: Likewise.
6265 * io/poll.c: Likewise.
6266 * io/posix_fadvise.c: Likewise.
6267 * io/posix_fadvise64.c: Likewise.
6268 * io/posix_fallocate.c: Likewise.
6269 * io/posix_fallocate64.c: Likewise.
6270 * io/read.c: Likewise.
6271 * io/readlink.c: Likewise.
6272 * io/readlinkat.c: Likewise.
6273 * io/rmdir.c: Likewise.
6274 * io/sendfile.c: Likewise.
6275 * io/sendfile64.c: Likewise.
6276 * io/statfs.c: Likewise.
6277 * io/statfs64.c: Likewise.
6278 * io/statvfs.c: Likewise.
6279 * io/statvfs64.c: Likewise.
6280 * io/symlink.c: Likewise.
6281 * io/symlinkat.c: Likewise.
6282 * io/ttyname.c: Likewise.
6283 * io/ttyname_r.c: Likewise.
6284 * io/umask.c: Likewise.
6285 * io/unlink.c: Likewise.
6286 * io/unlinkat.c: Likewise.
6287 * io/utime.c: Likewise.
6288 * io/utimensat.c: Likewise.
6289 * io/write.c: Likewise.
6290 * io/xmknod.c: Likewise.
6291 * io/xmknodat.c: Likewise.
6292 * io/xstat.c: Likewise.
6293 * io/xstat64.c: Likewise.
6294 * login/getpt.c: Likewise.
6295 * login/grantpt.c: Likewise.
6296 * login/unlockpt.c: Likewise.
6297 * math/e_acoshl.c: Likewise.
6298 * math/e_acosl.c: Likewise.
6299 * math/e_asinl.c: Likewise.
6300 * math/e_atan2l.c: Likewise.
6301 * math/e_atanhl.c: Likewise.
6302 * math/e_coshl.c: Likewise.
6303 * math/e_expl.c: Likewise.
6304 * math/e_fmodl.c: Likewise.
6305 * math/e_gammal_r.c: Likewise.
6306 * math/e_hypotl.c: Likewise.
6307 * math/e_j0l.c: Likewise.
6308 * math/e_j1l.c: Likewise.
6309 * math/e_jnl.c: Likewise.
6310 * math/e_lgammal_r.c: Likewise.
6311 * math/e_log10l.c: Likewise.
6312 * math/e_log2l.c: Likewise.
6313 * math/e_logl.c: Likewise.
6314 * math/e_powl.c: Likewise.
6315 * math/e_rem_pio2l.c: Likewise.
6316 * math/e_sinhl.c: Likewise.
6317 * math/e_sqrtl.c: Likewise.
6318 * math/fclrexcpt.c: Likewise.
6319 * math/fedisblxcpt.c: Likewise.
6320 * math/feenablxcpt.c: Likewise.
6321 * math/fegetenv.c: Likewise.
6322 * math/fegetexcept.c: Likewise.
6323 * math/fegetround.c: Likewise.
6324 * math/feholdexcpt.c: Likewise.
6325 * math/fesetenv.c: Likewise.
6326 * math/fesetround.c: Likewise.
6327 * math/feupdateenv.c: Likewise.
6328 * math/fgetexcptflg.c: Likewise.
6329 * math/fraiseexcpt.c: Likewise.
6330 * math/fsetexcptflg.c: Likewise.
6331 * math/ftestexcept.c: Likewise.
6332 * math/k_cosl.c: Likewise.
6333 * math/k_rem_pio2l.c: Likewise.
6334 * math/k_sinl.c: Likewise.
6335 * math/k_tanl.c: Likewise.
6336 * math/s_asinhl.c: Likewise.
6337 * math/s_atanl.c: Likewise.
6338 * math/s_cbrtl.c: Likewise.
6339 * math/s_erfl.c: Likewise.
6340 * math/s_expm1l.c: Likewise.
6341 * math/s_log1pl.c: Likewise.
6342 * math/s_tanhl.c: Likewise.
6343 * misc/acct.c: Likewise.
6344 * misc/brk.c: Likewise.
6345 * misc/chflags.c: Likewise.
6346 * misc/chroot.c: Likewise.
6347 * misc/fchflags.c: Likewise.
6348 * misc/fgetxattr.c: Likewise.
6349 * misc/flistxattr.c: Likewise.
6350 * misc/fremovexattr.c: Likewise.
6351 * misc/fsetxattr.c: Likewise.
6352 * misc/fsync.c: Likewise.
6353 * misc/ftruncate.c: Likewise.
6354 * misc/futimes.c: Likewise.
6355 * misc/futimesat.c: Likewise.
6356 * misc/getdomain.c: Likewise.
6357 * misc/getdtsz.c: Likewise.
6358 * misc/gethostid.c: Likewise.
6359 * misc/gethostname.c: Likewise.
6360 * misc/getloadavg.c: Likewise.
6361 * misc/getpagesize.c: Likewise.
6362 * misc/getsysstats.c: Likewise.
6363 * misc/getxattr.c: Likewise.
6364 * misc/gtty.c: Likewise.
6365 * misc/ioctl.c: Likewise.
6366 * misc/lgetxattr.c: Likewise.
6367 * misc/listxattr.c: Likewise.
6368 * misc/llistxattr.c: Likewise.
6369 * misc/lremovexattr.c: Likewise.
6370 * misc/lsetxattr.c: Likewise.
6371 * misc/lutimes.c: Likewise.
6372 * misc/madvise.c: Likewise.
6373 * misc/mincore.c: Likewise.
6374 * misc/mlock.c: Likewise.
6375 * misc/mlockall.c: Likewise.
6376 * misc/mmap.c: Likewise.
6377 * misc/mprotect.c: Likewise.
6378 * misc/msync.c: Likewise.
6379 * misc/munlock.c: Likewise.
6380 * misc/munlockall.c: Likewise.
6381 * misc/munmap.c: Likewise.
6382 * misc/preadv.c: Likewise.
6383 * misc/preadv64.c: Likewise.
6384 * misc/ptrace.c: Likewise.
6385 * misc/pwritev.c: Likewise.
6386 * misc/pwritev64.c: Likewise.
6387 * misc/readv.c: Likewise.
6388 * misc/reboot.c: Likewise.
6389 * misc/remap_file_pages.c: Likewise.
6390 * misc/removexattr.c: Likewise.
6391 * misc/revoke.c: Likewise.
6392 * misc/select.c: Likewise.
6393 * misc/setdomain.c: Likewise.
6394 * misc/setegid.c: Likewise.
6395 * misc/seteuid.c: Likewise.
6396 * misc/sethostid.c: Likewise.
6397 * misc/sethostname.c: Likewise.
6398 * misc/setregid.c: Likewise.
6399 * misc/setreuid.c: Likewise.
6400 * misc/setxattr.c: Likewise.
6401 * misc/sstk.c: Likewise.
6402 * misc/stty.c: Likewise.
6403 * misc/swapoff.c: Likewise.
6404 * misc/swapon.c: Likewise.
6405 * misc/sync.c: Likewise.
6406 * misc/syncfs.c: Likewise.
6407 * misc/syscall.c: Likewise.
6408 * misc/truncate.c: Likewise.
6409 * misc/ualarm.c: Likewise.
6410 * misc/usleep.c: Likewise.
6411 * misc/ustat.c: Likewise.
6412 * misc/utimes.c: Likewise.
6413 * misc/vhangup.c: Likewise.
6414 * misc/writev.c: Likewise.
6415 * posix/_exit.c: Likewise.
6416 * posix/alarm.c: Likewise.
6417 * posix/execve.c: Likewise.
6418 * posix/fexecve.c: Likewise.
6419 * posix/fork.c: Likewise.
6420 * posix/fpathconf.c: Likewise.
6421 * posix/getaddrinfo.c: Likewise.
6422 * posix/getegid.c: Likewise.
6423 * posix/geteuid.c: Likewise.
6424 * posix/getgid.c: Likewise.
6425 * posix/getgroups.c: Likewise.
6426 * posix/getlogin.c: Likewise.
6427 * posix/getlogin_r.c: Likewise.
6428 * posix/getpgid.c: Likewise.
6429 * posix/getpid.c: Likewise.
6430 * posix/getppid.c: Likewise.
6431 * posix/getresgid.c: Likewise.
6432 * posix/getresuid.c: Likewise.
6433 * posix/getsid.c: Likewise.
6434 * posix/getuid.c: Likewise.
6435 * posix/glob64.c: Likewise.
6436 * posix/nanosleep.c: Likewise.
6437 * posix/pathconf.c: Likewise.
6438 * posix/pause.c: Likewise.
6439 * posix/posix_madvise.c: Likewise.
6440 * posix/pread.c: Likewise.
6441 * posix/pread64.c: Likewise.
6442 * posix/pwrite.c: Likewise.
6443 * posix/pwrite64.c: Likewise.
6444 * posix/sched_getaffinity.c: Likewise.
6445 * posix/sched_getp.c: Likewise.
6446 * posix/sched_gets.c: Likewise.
6447 * posix/sched_primax.c: Likewise.
6448 * posix/sched_primin.c: Likewise.
6449 * posix/sched_rr_gi.c: Likewise.
6450 * posix/sched_setaffinity.c: Likewise.
6451 * posix/sched_setp.c: Likewise.
6452 * posix/sched_sets.c: Likewise.
6453 * posix/sched_yield.c: Likewise.
6454 * posix/setgid.c: Likewise.
6455 * posix/setlogin.c: Likewise.
6456 * posix/setpgid.c: Likewise.
6457 * posix/setresgid.c: Likewise.
6458 * posix/setresuid.c: Likewise.
6459 * posix/setsid.c: Likewise.
6460 * posix/setuid.c: Likewise.
6461 * posix/sleep.c: Likewise.
6462 * posix/spawni.c: Likewise.
6463 * posix/sysconf.c: Likewise.
6464 * posix/times.c: Likewise.
6465 * posix/wait.c: Likewise.
6466 * posix/wait3.c: Likewise.
6467 * posix/wait4.c: Likewise.
6468 * posix/waitpid.c: Likewise.
6469 * resolv/gai_sigqueue.c: Likewise.
6470 * resource/getpriority.c: Likewise.
6471 * resource/getrlimit.c: Likewise.
6472 * resource/getrusage.c: Likewise.
6473 * resource/nice.c: Likewise.
6474 * resource/setpriority.c: Likewise.
6475 * resource/setrlimit.c: Likewise.
6476 * resource/ulimit.c: Likewise.
6477 * rt/aio_cancel.c: Likewise.
6478 * rt/aio_fsync.c: Likewise.
6479 * rt/aio_read.c: Likewise.
6480 * rt/aio_sigqueue.c: Likewise.
6481 * rt/aio_suspend.c: Likewise.
6482 * rt/aio_write.c: Likewise.
6483 * rt/clock_getres.c: Likewise.
6484 * rt/clock_gettime.c: Likewise.
6485 * rt/clock_nanosleep.c: Likewise.
6486 * rt/clock_settime.c: Likewise.
6487 * rt/lio_listio.c: Likewise.
6488 * rt/mq_close.c: Likewise.
6489 * rt/mq_getattr.c: Likewise.
6490 * rt/mq_notify.c: Likewise.
6491 * rt/mq_open.c: Likewise.
6492 * rt/mq_receive.c: Likewise.
6493 * rt/mq_send.c: Likewise.
6494 * rt/mq_setattr.c: Likewise.
6495 * rt/mq_timedreceive.c: Likewise.
6496 * rt/mq_timedsend.c: Likewise.
6497 * rt/mq_unlink.c: Likewise.
6498 * rt/shm_open.c: Likewise.
6499 * rt/shm_unlink.c: Likewise.
6500 * rt/timer_create.c: Likewise.
6501 * rt/timer_delete.c: Likewise.
6502 * rt/timer_getoverr.c: Likewise.
6503 * rt/timer_gettime.c: Likewise.
6504 * rt/timer_settime.c: Likewise.
6505 * setjmp/__longjmp.c: Likewise.
6506 * setjmp/setjmp.c: Likewise.
6507 * signal/kill.c: Likewise.
6508 * signal/killpg.c: Likewise.
6509 * signal/raise.c: Likewise.
6510 * signal/sigaction.c: Likewise.
6511 * signal/sigaltstack.c: Likewise.
6512 * signal/sigblock.c: Likewise.
6513 * signal/sigignore.c: Likewise.
6514 * signal/sigintr.c: Likewise.
6515 * signal/signal.c: Likewise.
6516 * signal/sigpause.c: Likewise.
6517 * signal/sigpending.c: Likewise.
6518 * signal/sigqueue.c: Likewise.
6519 * signal/sigreturn.c: Likewise.
6520 * signal/sigset.c: Likewise.
6521 * signal/sigsetmask.c: Likewise.
6522 * signal/sigstack.c: Likewise.
6523 * signal/sigsuspend.c: Likewise.
6524 * signal/sigtimedwait.c: Likewise.
6525 * signal/sigvec.c: Likewise.
6526 * signal/sigwait.c: Likewise.
6527 * signal/sigwaitinfo.c: Likewise.
6528 * signal/sysv_signal.c: Likewise.
6529 * socket/accept.c: Likewise.
6530 * socket/accept4.c: Likewise.
6531 * socket/bind.c: Likewise.
6532 * socket/connect.c: Likewise.
6533 * socket/getpeername.c: Likewise.
6534 * socket/getsockname.c: Likewise.
6535 * socket/getsockopt.c: Likewise.
6536 * socket/isfdtype.c: Likewise.
6537 * socket/listen.c: Likewise.
6538 * socket/recv.c: Likewise.
6539 * socket/recvfrom.c: Likewise.
6540 * socket/recvmsg.c: Likewise.
6541 * socket/send.c: Likewise.
6542 * socket/sendmsg.c: Likewise.
6543 * socket/sendto.c: Likewise.
6544 * socket/setsockopt.c: Likewise.
6545 * socket/shutdown.c: Likewise.
6546 * socket/sockatmark.c: Likewise.
6547 * socket/socket.c: Likewise.
6548 * socket/socketpair.c: Likewise.
6549 * stdio-common/ctermid.c: Likewise.
6550 * stdio-common/cuserid.c: Likewise.
6551 * stdio-common/remove.c: Likewise.
6552 * stdio-common/rename.c: Likewise.
6553 * stdio-common/renameat.c: Likewise.
6554 * stdio-common/tempname.c: Likewise.
6555 * stdlib/getcontext.c: Likewise.
6556 * stdlib/makecontext.c: Likewise.
6557 * stdlib/setcontext.c: Likewise.
6558 * stdlib/swapcontext.c: Likewise.
6559 * stdlib/system.c: Likewise.
6560 * streams/fattach.c: Likewise.
6561 * streams/fdetach.c: Likewise.
6562 * streams/getmsg.c: Likewise.
6563 * streams/getpmsg.c: Likewise.
6564 * streams/putmsg.c: Likewise.
6565 * streams/putpmsg.c: Likewise.
6566 * sysdeps/unix/bsd/getpt.c: Likewise.
6567 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6568 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6569 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6571 Likewise.
6572 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6573 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6574 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6575 * sysvipc/msgctl.c: Likewise.
6576 * sysvipc/msgget.c: Likewise.
6577 * sysvipc/msgrcv.c: Likewise.
6578 * sysvipc/msgsnd.c: Likewise.
6579 * sysvipc/semctl.c: Likewise.
6580 * sysvipc/semget.c: Likewise.
6581 * sysvipc/semop.c: Likewise.
6582 * sysvipc/semtimedop.c: Likewise.
6583 * sysvipc/shmat.c: Likewise.
6584 * sysvipc/shmctl.c: Likewise.
6585 * sysvipc/shmdt.c: Likewise.
6586 * sysvipc/shmget.c: Likewise.
6587 * termios/tcdrain.c: Likewise.
6588 * termios/tcflow.c: Likewise.
6589 * termios/tcflush.c: Likewise.
6590 * termios/tcgetattr.c: Likewise.
6591 * termios/tcgetpgrp.c: Likewise.
6592 * termios/tcsendbrk.c: Likewise.
6593 * termios/tcsetattr.c: Likewise.
6594 * termios/tcsetpgrp.c: Likewise.
6595 * time/adjtime.c: Likewise.
6596 * time/clock.c: Likewise.
6597 * time/getitimer.c: Likewise.
6598 * time/gettimeofday.c: Likewise.
6599 * time/setitimer.c: Likewise.
6600 * time/settimeofday.c: Likewise.
6601 * time/stime.c: Likewise.
6602 * time/time.c: Likewise.
6603
66042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6605
a20492cf
PT
6606 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6607 /usr/old/bin.
6608
72e182e3
PT
6609 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6610 instead of spaces.
6611 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6612
fbeafede
JM
66132012-11-03 Joseph Myers <joseph@codesourcery.com>
6614
5b5b04d6
JM
6615 [BZ #14796]
6616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6617 FE_TONEAREST before applying Dekker multiplication and Knuth
6618 addition. Clear inexact exceptions and check for exact zero
6619 results afterwards.
6620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6623 * math/libm-test.inc (fma_test): Add more tests.
6624 (fma_test_towardzero): Likewise.
6625 (fma_test_downward): Likewise.
6626 (fma_test_upward): Likewise.
6627 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6628 function.
6629 (libc_fesetround): New macro.
6630 (libc_fesetroundf): Likewise.
6631 (libc_fesetroundl): Likewise.
6632 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6633 function.
6634 (libc_fesetround_387): Likewise.
6635 (libc_fesetroundf): New macro.
6636 (libc_fesetround): Likewise.
6637 (libc_fesetroundl): Likewise.
6638 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6639 function.
6640 (libc_fesetroundf): New macro.
6641 (libc_fesetround): Likewise.
6642 (libc_fesetroundl): Likewise.
6643 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6644 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6645 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6646 libm_hidden_ver.
6647 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6648 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6649 libm_hidden_def.
6650 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6651 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6652 libm_hidden_ver.
6653 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6654 libm_hidden_def.
6655
fbeafede
JM
6656 [BZ #3439]
6657 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6658 integer constant usable in #if and use that to give value to enum
6659 constant.
6660 (FE_DIVBYZERO): Likewise.
6661 (FE_UNDERFLOW): Likewise.
6662 (FE_OVERFLOW): Likewise.
6663 (FE_INVALID): Likewise.
6664 (FE_INVALID_SNAN): Likewise.
6665 (FE_INVALID_ISI): Likewise.
6666 (FE_INVALID_IDI): Likewise.
6667 (FE_INVALID_ZDZ): Likewise.
6668 (FE_INVALID_IMZ): Likewise.
6669 (FE_INVALID_COMPARE): Likewise.
6670 (FE_INVALID_SOFTWARE): Likewise.
6671 (FE_INVALID_SQRT): Likewise.
6672 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6673 (FE_TONEAREST): Likewise.
6674 (FE_TOWARDZERO): Likewise.
6675 (FE_UPWARD): Likewise.
6676 (FE_DOWNWARD): Likewise.
6677 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6678 (FE_DIVBYZERO): Likewise.
6679 (FE_OVERFLOW): Likewise.
6680 (FE_UNDERFLOW): Likewise.
6681 (FE_INEXACT): Likewise.
6682 (FE_TONEAREST): Likewise.
6683 (FE_DOWNWARD): Likewise.
6684 (FE_UPWARD): Likewise.
6685 (FE_TOWARDZERO): Likewise.
6686 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6687 (FE_UNDERFLOW): Likewise.
6688 (FE_OVERFLOW): Likewise.
6689 (FE_DIVBYZERO): Likewise.
6690 (FE_INVALID): Likewise.
6691 (FE_TONEAREST): Likewise.
6692 (FE_TOWARDZERO): Likewise.
6693 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6694 (FE_OVERFLOW): Likewise.
6695 (FE_UNDERFLOW): Likewise.
6696 (FE_DIVBYZERO): Likewise.
6697 (FE_INEXACT): Likewise.
6698 (FE_TONEAREST): Likewise.
6699 (FE_TOWARDZERO): Likewise.
6700 (FE_UPWARD): Likewise.
6701 (FE_DOWNWARD): Likewise.
6702 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6703 (FE_DIVBYZERO): Likewise.
6704 (FE_OVERFLOW): Likewise.
6705 (FE_UNDERFLOW): Likewise.
6706 (FE_INEXACT): Likewise.
6707 (FE_TONEAREST): Likewise.
6708 (FE_DOWNWARD): Likewise.
6709 (FE_UPWARD): Likewise.
6710 (FE_TOWARDZERO): Likewise.
6711
105ca950
CM
67122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6713
6714 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6715
a542b389
AS
67162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6717
6718 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6719 commands. Quote $PWD.
6720 (blacklist_exports): Don't use remove_newlines. Replace "declare
6721 -x" by "export".
6722 (remove_newlines): Remove.
6723
f62c8abc
L
67242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6727 * stdlib/stdlib.h (atof): Moved to ...
6728 * include/bits/stdlib-float.h: Here. New file.
6729 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6730 * stdlib/bits/stdlib-float.h: New file.
6731 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6732 -mno-sse -mno-mmx.
6733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6734 <xmmintrin.h>.
6735
0155d5b2
JM
67362012-11-02 Joseph Myers <joseph@codesourcery.com>
6737
a68d0680
JM
6738 * conform/conformtest.pl (@headers): Add fenv.h.
6739 * conform/data/fenv.h-data: New file.
6740 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6741 include of <math/fenv.h>.
6742
caf7f573
JM
6743 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6744 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6745 && !UNIX98]. Enables tests for XOPEN2K8.
6746 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6747 POSIX2008]: Likewise.
6748
6c073ad6
JM
6749 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6750 (struct rusage): Do not expect type or its members.
6751
0155d5b2
JM
6752 [BZ #3439]
6753 * math/math.h (FP_NAN): Define macro to integer constant usable in
6754 #if and use that to give value to enum constant.
6755 (FP_INFINITE): Likewise.
6756 (FP_ZERO): Likewise.
6757 (FP_SUBNORMAL): Likewise.
6758 (FP_NORMAL): Likewise.
6759
b5dcacb4
AS
67602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6761
6762 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6763 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6764 arguments.
6765
f7934be8
RM
67662012-11-02 Roland McGrath <roland@hack.frob.com>
6767
6768 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6769 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6770 autoconf-time if not.
6771 * configure.in: Remove AC_PREREQ.
6772
d7d08bde
TMQMF
67732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6774
6775 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6776 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6777 of the internal implementation.
6778
dcdae19a
JM
67792012-11-02 Joseph Myers <joseph@codesourcery.com>
6780
6781 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6782 except include of <misc/sys/syslog.h>.
6783
d6cffd3e
AS
67842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6787 function returns with a NULL context exit with zero.
6788
b3563932
TMQMF
67892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6790
6791 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6792
b288a93d
L
67932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6796 (run_program_cmd): This.
6797 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6798 (tst_langinfo): New variable. Use it.
6799
a2421a68
SAS
68002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6801
6802 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6803 floating point opcodes.
6804
6f796e1b
TS
68052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6806
7402596b
TS
6807 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6808 variable.
6809
d0d4f868
TS
6810 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6811
6f796e1b
TS
6812 * sysdeps/mach/hurd/powerpc: Remove directory.
6813 * sysdeps/mach/powerpc: Likewise.
6814
4da224a2
AS
68152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6816
6817 * scripts/check-local-headers.sh: Ignore c++ headers.
6818
341dd673
TS
68192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6820
6821 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6822 __libc_cleanup_region_start argument.
6823
473611b2
JM
68242012-11-01 Joseph Myers <joseph@codesourcery.com>
6825
6826 [BZ #14784]
6827 [BZ #14785]
6828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6829 x * y using scaling, not as x * y + z.
6830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6832 * math/libm-test.inc (fma_test): Add more tests.
6833 (fma_test_towardzero): Likewise.
6834 (fma_test_downward): Likewise.
6835 (fma_test_upward): Likewise.
6836
4078da3d
TS
68372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6838
6839 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6840
903252aa
JM
68412012-10-31 Joseph Myers <joseph@codesourcery.com>
6842
6843 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6844 New variable.
6845
cbc818d0
TS
68462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6847
6848 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6849
5a03cb1e
AS
68502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6851
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6853 Fix sort order.
6854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6855 Likewise.
6856
90aff2ff
TMQMF
68572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6858
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6860 Fix the order of the list for glibc 2.17.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6862 Likewise.
6863
1818fcb7
AS
68642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6865
6866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6867
ef82f4da
JM
68682012-10-31 Joseph Myers <joseph@codesourcery.com>
6869
16a0e2ec
JM
6870 [BZ #14610]
6871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6872 for low part of x being zero before using __atanl (y).
6873 * math/libm-test.inc (atan2_test): Add another test.
6874
0eb69512
JM
6875 * manual/install.texi (Configuring and compiling): Document
6876 general use of test-wrapper and test-wrapper-env.
6877 * INSTALL: Regenerated.
6878
ef82f4da
JM
6879 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6880 (__fma): Do not extract and scale down low bits on after-rounding
6881 systems when result rounded to normal precision would have normal
6882 exponent.
6883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6884 (__fmal): Do not extract and scale down low bits on after-rounding
6885 systems when result rounded to normal precision would have normal
6886 exponent.
6887 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6888 (__fmal): Do not extract and scale down low bits on after-rounding
6889 systems when result rounded to normal precision would have normal
6890 exponent.
6891 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6892 macro.
6893 (fma_test): Add more tests.
6894 (fma_test_towardzero): Likewise.
6895 (fma_test_downward): Likewise.
6896 (fma_test_upward): Likewise.
6897
954ef0d9
L
68982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6899
6900 * sysdeps/i386/tininess.h: Renamed to ...
6901 * sysdeps/x86/tininess.h: This.
6902 * sysdeps/x86_64/tininess.h: Removed.
6903
df61ffb2
JM
69042012-10-30 Joseph Myers <joseph@codesourcery.com>
6905
6906 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6907 input. Use $(build-program-cmd).
6908 ($(objpfx)tst-array1-static.out): Likewise.
6909 ($(objpfx)tst-array2.out): Likewise.
6910 ($(objpfx)tst-array3.out): Likewise.
6911 ($(objpfx)tst-array4.out): Likewise.
6912 ($(objpfx)tst-array5.out): Likewise.
6913 ($(objpfx)tst-array5-static.out): Likewise.
6914
01767843
CM
69152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6916
47cc1490
CM
6917 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6918 if defined.
6919
01767843
CM
6920 * nss/nsswitch.h (nss_interface_function): Provide new
6921 macro for use with NSS functions.
6922 * grp/initgroups.c: Use new macro.
6923 * nss/getXXbyYY.c: Likewise.
6924 * nss/getXXbyYY_r.c: Likewise.
6925 * nss/getXXent.c: Likewise.
6926 * nss/getXXent_r.c: Likewise.
6927 * sysdeps/posix/getaddrinfo.c: Likewise.
6928
8321aa97
AJ
69292012-10-30 Andreas Jaeger <aj@suse.de>
6930
6931 * po/ru.po: Update Russion translation from translation project.
6932
2a27fd6d
JM
69332012-10-30 Joseph Myers <joseph@codesourcery.com>
6934
8627a232
JM
6935 [BZ #14152]
6936 [BZ #14783]
6937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6938 result and shift together with sticky bit instead of replicating
6939 round-to-nearest rounding.
6940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6942 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6943 missing underflow exceptions.
6944 (fma_test_towardzero): Add more tests.
6945 (fma_test_downward): Likewise.
6946 (fma_test_upward): Likewise.
6947
2a27fd6d
JM
6948 [BZ #14047]
6949 * sysdeps/generic/tininess.h: New file.
6950 * sysdeps/i386/tininess.h: Likewise.
6951 * sysdeps/sh/tininess.h: Likewise.
6952 * sysdeps/x86_64/tininess.h: Likewise.
6953 * stdlib/tst-strtod-underflow.c: Likewise.
6954 * stdlib/tst-tininess.c: Likewise.
6955 * stdlib/strtod_l.c: Include <tininess.h>.
6956 (round_and_return): Do not set errno for exact underflow cases.
6957 Force an underflow exception when setting errno for underflow.
6958 Determine underflow based on rounding to normal precision if
6959 TININESS_AFTER_ROUNDING.
6960 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6961 ERANGE for exact underflow cases.
6962 * stdlib/Makefile (tests): Add tst-tininess and
6963 tst-strtod-underflow.
6964 ($(objpfx)tst-tininess): Use $(link-libm).
6965 ($(objpfx)tst-strtod-underflow): Likewise.
6966
e7170363
AJ
69672012-10-30 Andreas Jaeger <aj@suse.de>
6968
e5088dc6
AJ
6969 [BZ#14767]
6970 * elf/Makefile (tests): Remove conditional for have-initfini-array
6971 since this is now always required and the variable does not exist
6972 anymore.
6973 (tests-static): Likewise.
6974 (modules-names): Likewise.
6975
e7170363 6976 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6977
6978 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6979 merged with constructor/destructor.
6980 (init_array): Likewise.
6981 * elf/tst-array2dep.c (fini_array): Likewise.
6982 (init_array): Likewise.
6983
60457d8a
MF
69842012-10-29 Mike Frysinger <vapier@gentoo.org>
6985
6986 * manual/message.texi: Delete @cartouche tags.
6987
8bece752
PT
69882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6989
94ce799f
PT
6990 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6991 EOPNOTSUPP.
6992 * sysdeps/mach/hurd/fsync.c: Likewise.
6993
8bece752
PT
6994 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6995 [_POSIX_REALTIME_SIGNALS]: Change condition to
6996 [_POSIX_REALTIME_SIGNALS > 0].
6997
86ebe6b1
AJ
69982012-10-27 Andreas Jaeger <aj@suse.de>
6999
7000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7001 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7003 [__WORDSIZE != 64]: Likewise.
7004
54399c08
L
70052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7006
7007 * iconvdata/tst-table.sh: Remove ${SHELL}.
7008 * iconvdata/tst-tables.sh: Likewise.
7009
e2211bed
DM
70102012-10-25 David S. Miller <davem@davemloft.net>
7011
7012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7013 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7014 of strtoull.
7015
f303f97c
DM
7016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7017 ifunc-impl-list.c
7018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7019 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7020 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7021 file.
7022
1e9d84cd
RM
70232012-10-25 Roland McGrath <roland@hack.frob.com>
7024
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7026 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7027 __getdirentries.
7028
df381762
JM
70292012-10-25 Joseph Myers <joseph@codesourcery.com>
7030 Jim Blandy <jimb@codesourcery.com>
7031
7032 * scripts/cross-test-ssh.sh: New file.
7033 * manual/install.texi (Configuring and compiling): Document use of
7034 cross-test-ssh.sh.
7035 * INSTALL: Regenerated.
7036
bff64913
PT
70372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7038
7039 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7040 EOPNOTSUPP.
7041
25fe8932
JM
70422012-10-25 Joseph Myers <joseph@codesourcery.com>
7043
7044 * Makeconfig (run-program-prefix): Fix comment.
7045
cc1290d0
JM
70462012-10-24 Joseph Myers <joseph@codesourcery.com>
7047 Jim Blandy <jimb@codesourcery.com>
7048
7049 * Makeconfig (test-wrapper): New variable,
7050 (test-wrapper-env): Likewise.
7051 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7052 (run-built-tests): Define to yes.
7053 (run-program-prefix): Use $(test-wrapper).
7054 (built-program-cmd): Likewise.
7055 * Rules (make-test-out): Use $(test-wrapper-env) and
7056 $(host-built-program-cmd).
7057 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7058 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7059 tst-pathopt.sh.
7060 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7061 $(test-wrapper-env) to tst-rtld-load-self.sh.
7062 ($(objpfx)order2.out): Use $(test-wrapper).
7063 ($(objpfx)tst-initorder.out): Likewise.
7064 ($(objpfx)tst-initorder2.out): Likewise.
7065 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7066 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7067 (test_wrapper_env): New variable. Use it to run ld.so.
7068 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7069 Use it to run ld.so.
7070 (test_wrapper_env): Likewise.
7071 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7072 $(test-wrapper) to run-iconv-test.sh.
7073 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7074 (ICONV): Use $test_wrapper.
7075 * posix/Makefile ($(objpfx)globtest.out): Pass
7076 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7077 globtest.sh, not $(run-program-prefix).
7078 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7079 (test_wrapper): Likewise.
7080 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7081 set together with run_via_rtld_prefix.
7082 (run_program_prefix): Define in terms of test_wrapper and
7083 run_via_rtld_prefix.
7084
6e6249d0
RM
70852012-10-24 Roland McGrath <roland@hack.frob.com>
7086
7087 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7088 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7089 Targets removed.
7090
7091 [BZ #14743]
7092 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7093 Declare __clock_getres, __clock_gettime, __clock_settime,
7094 __clock_nanosleep, and __clock_getcpuclockid.
7095 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7096 Remove librt_hidden_def (clock_gettime).
7097 * sysdeps/unix/clock_gettime.c: Likewise.
7098 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7100 * rt/clock_getres.c: Define __clock_getres as an alias.
7101 * sysdeps/posix/clock_getres.c: Likewise.
7102 * rt/clock_settime.c: Define __clock_settime as an alias.
7103 * sysdeps/unix/clock_settime.c: Likewise.
7104 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7105 * sysdeps/unix/clock_nanosleep.c: Likewise.
7106 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7107 * rt/clock-compat.c: New file.
7108 * rt/Makefile (librt-routines): Add clock-compat and move
7109 $(clock-routines) to ...
7110 (routines): ... here, new variable.
7111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7112 Don't add get_clockfreq here.
7113 * rt/Versions (libc: GLIBC_2.17): New version set.
7114 Add clock_* symbols here.
7115 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7117 (GLIBC_2.17): Add clock_* symbols.
7118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7122 Likewise.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7124 Likewise.
7125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7129 * NEWS: Mention the move.
7130
7131 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7132 Use __open, __read, __close rather than their public counterparts.
7133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7134 (__get_clockfreq_via_cpuinfo): Likewise.
7135 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7136 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7137
7138 * config.h.in (HAVE_IFUNC): New #undef.
7139 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7140 was successful.
7141 * configure: Regenerated.
7142
0cae3f4b
MF
71432012-10-24 Mike Frysinger <vapier@gentoo.org>
7144
7145 * configure.in: Move READELF check to start of file.
7146 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7147 libc_cv_asm_gnu_indirect_function in the process.
7148 * configure: Regenerated.
7149
8175a253
MF
71502012-10-24 Mike Frysinger <vapier@gentoo.org>
7151
7152 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7153 send the output to /dev/null.
7154 (libc_cv_cc_with_libunwind): Likewise.
7155 (libc_cv_as_noexecstack): Likewise.
7156 * configure: Regenerate.
7157
0708a7d1
JM
71582012-10-24 Joseph Myers <joseph@codesourcery.com>
7159
10b40d85
JM
7160 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7161
0708a7d1
JM
7162 * posix/globtest.sh (TMPDIR): Do not set.
7163 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7164 (testout): Likewise.
7165
9fddec1a
AJ
71662012-10-24 Andreas Jaeger <aj@suse.de>
7167
3a8db22f
AJ
7168 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7169 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7170 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7171 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7172 posix_fadvise64, posix_fallocate64.
7173
9fddec1a
AJ
7174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7175 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7176 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7177 Likewise.
7178 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7179 Likewise.
7180 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7181
7182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7183 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7184 <bits/fcntl-linux.h>.
7185 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7186
7187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7188 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7189 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7190 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7191 [__WORDSIZE != 64]: Likewise.
7192
ebfd1bbd
JM
71932012-10-23 Joseph Myers <joseph@codesourcery.com>
7194
03ac099f
JM
7195 * Makeconfig (run-built-tests): New variable.
7196 * Rules [$(cross-compiling) = yes]: Change condition to
7197 [$(run-built-tests) = no].
7198 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7199 to [$(run-built-tests) = yes].
7200 * elf/Makefile [$(cross-compiling) = no]: Likewise
7201 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7202 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7203 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7204 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7205 * io/Makefile [$(cross-compiling) = no]: Likewise.
7206 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7207 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7208 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7209 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7210 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7211 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7212 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7213 * string/Makefile [$(cross-compiling) = no]: Likewise.
7214
ebfd1bbd
JM
7215 * posix/Makefile ($(objpfx)globtest.out): Pass
7216 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7217 $(rtld-installed-name).
7218 * posix/globtest.sh (elf_objpfx): Remove variable.
7219 (rtld_installed_name): Likewise.
7220 (library_path): Likewise.
7221 (run_program_prefix): New variable. Use for running globtest
7222 binary.
7223
166bca24
JB
72242012-10-23 Jim Blandy <jimb@codesourcery.com>
7225 Joseph Myers <joseph@codesourcery.com>
7226
7227 * Makeconfig (host-built-program-cmd): New variable.
7228 * elf/Makefile (tst-stackguard1-ARGS): Use
7229 $(host-built-program-cmd).
7230 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7231 (tst-spawn-ARGS): Likewise.
7232 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7233
88866099
JM
72342012-10-23 Joseph Myers <joseph@codesourcery.com>
7235 Jim Blandy <jimb@codesourcery.com>
7236
7237 * Makeconfig (run-via-rtld-prefix): New variable.
7238 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7239 (built-program-cmd): Likewise.
7240
b4b4c296
AJ
72412012-10-22 Andreas Jaeger <aj@suse.de>
7242
7243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7244 __O_RSYNC if it exists, otherwise to O_SYNC.
7245
6fb54a22
JB
72462012-10-22 Jim Blandy <jimb@codesourcery.com>
7247 Joseph Myers <joseph@codesourcery.com>
7248
7249 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7250 /dev/null.
7251 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7252 from /dev/null
7253 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7254 /dev/null.
7255
481b90b9
AJ
72562012-10-22 Andreas Jaeger <aj@suse.de>
7257
2a0e2669
AJ
7258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7259 Define always.
7260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7261
76e38f9a
AJ
7262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7263 bits/fcntl-linux.h.
7264
7cd37b43
AJ
7265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7266 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7267
481b90b9
AJ
7268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7269 to __O_LARGEFILE.
7270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7271 to __O_LARGEFILE.
7272
aba75984
JB
72732012-10-21 Jim Blandy <jimb@codesourcery.com>
7274 Joseph Myers <joseph@codesourcery.com>
7275
7276 * config.make.in (NM): New variable.
7277
88d4247f
AJ
72782012-10-21 Andreas Jaeger <aj@suse.de>
7279
7280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7281 definitions and declarations that are provided by
7282 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7283
f2eed205
L
72842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7285
7286 [BZ #14683]
7287 * elf/Makefile (tests-static): Add tst-leaks1-static.
7288 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7289 ($(objpfx)tst-leaks1-static): New rule.
7290 ($(objpfx)tst-leaks1-static-mem): Likewise.
7291 (tst-leaks1-static-ENV): New macro.
7292 * elf/dl-open.c (dl_open_worker): Check the main application
7293 only if SHARED is defined.
7294 * elf/tst-leaks1-static.c: New file.
7295
335e6931
AJ
72962012-10-20 Andreas Jaeger <aj@suse.de>
7297
7298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7299 generic values for Linux.
7300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7301 and declarations that are provided by <bits/fcntl-linux.h> and
7302 include <bits/fcntl-linux.h>.
7303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7305
ac5c94d3
RM
73062012-10-20 Roland McGrath <roland@hack.frob.com>
7307
7308 * io/fcntl.h: Move include of <bits/types.h> to the top and
7309 include it unconditionally.
7310
de54b33a
L
73112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7312
228cfb01
L
7313 * wcsmbs/Makefile (tests-ifunc): New variable.
7314 (tests): Add $(tests-ifunc).
7315 * wcsmbs/test-wcschr-ifunc.c: New file.
7316 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7317 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7318 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7319 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7320 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7321
69f07e5f
L
7322 * string/Makefile (tests-ifunc): New variable.
7323 (tests): Add $(tests-ifunc).
7324 * string/test-memccpy.c (TEST_NAME): New macro.
7325 * string/test-memchr.c (TEST_NAME): Likewise.
7326 * string/test-memcmp.c (TEST_NAME): Likewise.
7327 * string/test-memcpy.c (TEST_NAME): Likewise.
7328 * string/test-memmem.c (TEST_NAME): Likewise.
7329 * string/test-memmove.c (TEST_NAME): Likewise.
7330 * string/test-memset.c (TEST_NAME): Likewise.
7331 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7332 * string/test-stpcpy.c (TEST_NAME): Likewise.
7333 * string/test-stpncpy.c (TEST_NAME): Likewise.
7334 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7335 * string/test-strcasestr.c (TEST_NAME): Likewise.
7336 * string/test-strcat.c (TEST_NAME): Likewise.
7337 * string/test-strchr.c (TEST_NAME): Likewise.
7338 * string/test-strcmp.c(TEST_NAME): Likewise.
7339 * string/test-strcpy.c (TEST_NAME): Likewise.
7340 * string/test-strcspn.c (TEST_NAME): Likewise.
7341 * string/test-strlen.c (TEST_NAME): Likewise.
7342 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7343 * string/test-strncmp.c (TEST_NAME): Likewise.
7344 * string/test-strncpy.c (TEST_NAME): Likewise.
7345 * string/test-strnlen.c (TEST_NAME): Likewise.
7346 * string/test-strpbrk.c (TEST_NAME): Likewise.
7347 * string/test-strrchr.c (TEST_NAME): Likewise.
7348 * string/test-strspn.c (TEST_NAME): Likewise.
7349 * string/test-strstr.c (TEST_NAME): Likewise.
7350 * string/test-bcopy-ifunc.c: New file.
7351 * string/test-bzero-ifunc.c: Likewise.
7352 * string/test-memccpy-ifunc.c: Likewise.
7353 * string/test-memchr-ifunc.c: Likewise.
7354 * string/test-memcmp-ifunc.c: Likewise.
7355 * string/test-memcpy-ifunc.c: Likewise.
7356 * string/test-memmem-ifunc.c: Likewise.
7357 * string/test-memmove-ifunc.c: Likewise.
7358 * string/test-mempcpy-ifunc.c: Likewise.
7359 * string/test-memset-ifunc.c: Likewise.
7360 * string/test-rawmemchr-ifunc.c: Likewise.
7361 * string/test-stpcpy-ifunc.c: Likewise.
7362 * string/test-stpncpy-ifunc.c: Likewise.
7363 * string/test-strcasecmp-ifunc.c: Likewise.
7364 * string/test-strcasestr-ifunc.c: Likewise.
7365 * string/test-strcat-ifunc.c: Likewise.
7366 * string/test-strchr-ifunc.c: Likewise.
7367 * string/test-strchrnul-ifunc.c: Likewise.
7368 * string/test-strcmp-ifunc.c: Likewise.
7369 * string/test-strcpy-ifunc.c: Likewise.
7370 * string/test-strcspn-ifunc.c: Likewise.
7371 * string/test-strlen-ifunc.c: Likewise.
7372 * string/test-strncasecmp-ifunc.c: Likewise.
7373 * string/test-strncat-ifunc.c: Likewise.
7374 * string/test-strncmp-ifunc.c: Likewise.
7375 * string/test-strncpy-ifunc.c: Likewise.
7376 * string/test-strnlen-ifunc.c: Likewise.
7377 * string/test-strpbrk-ifunc.c: Likewise.
7378 * string/test-strrchr-ifunc.c: Likewise.
7379 * string/test-strspn-ifunc.c: Likewise.
7380 * string/test-strstr-ifunc.c: Likewise.
7381
de54b33a
L
7382 * debug/Makefile (tests-ifunc): New variable.
7383 (tests): Add $(tests-ifunc).
7384 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7385 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7386 * debug/test-stpcpy_chk-ifunc.c: New file.
7387 * debug/test-strcpy_chk-ifunc.c: Likewise.
7388
88481c16
SP
73892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7390
7391 [BZ #13601]
7392 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7393 header is not read in.
7394
135948bd
JM
73952012-10-19 Joseph Myers <joseph@codesourcery.com>
7396
89f1c388
JM
7397 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7398 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7399 directly. Pass built executable to script as
7400 $(built-program-cmd).
7401 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7402 $testprogram without using LD_LIBRARY_PATH and $ldso.
7403
e40a0d21
JM
7404 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7405 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7406 $(rtld-installed-name).
7407 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7408 (rtld_installed_name): Likewise.
7409 (library_path): Likewise.
7410 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7411 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7412 $(run-program-prefix) to tst-tables.sh.
7413 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7414 it to run tst-table-from and tst-table-to.
7415 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7416 Pass it to tst-table.sh.
7417 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7418 $(run-program-prefix) to tst-gettext.sh.
7419 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7420 tst-translit.sh.
7421 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7422 tst-gettext2.sh.
7423 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7424 to run tst-gettext.
7425 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7426 to run tst-gettext2.
7427 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7428 to run tst-translit.
7429 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7430 $(run-program-prefix) to tst-mtrace.sh.
7431 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7432 to run tst-mtrace.
7433 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7434 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7435 $(rtld-installed-name).
7436 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7437 (rtld_installed_name): Likewise.
7438 (run_program_prefix): New variable. Use it to run wordexp-test.
7439
728e272a
JM
7440 * Makeconfig (ARCH): Remove all definitions.
7441 (machine): Likewise.
7442 [ARCH]: Remove conditional code.
7443 [!objdir]: Give error.
7444 [!objdir] (objpfx): Remove.
7445 [!objdir] (common-objpfx): Likewise.
7446 [!objdir] (common-objdir): Likewise.
7447 * configure.in (config_makefile): Remove. Hardcode Makefile in
7448 AC_CONFIG_FILES call.
7449 * configure: Regenerated.
7450
d528cdcf
JM
7451 [BZ #13888]
7452 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7453 or TMPDIR.
7454 (testout): Likewise.
7455
135948bd
JM
7456 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7457 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7458 $(rtld-installed-name).
7459 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7460 (rtld_installed_name): Likwise.
7461 (runit): Remove function.
7462 (run_getconf): New variable, Use it for running getconf binary.
7463
38c78296
L
74642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7465
7466 [BZ #14716]
7467 * string/test-memmem.c (check_result): New function.
7468 (do_one_test): Use it.
7469 (check1): New function.
7470 (test_main): Use it.
7471
d077f65f
MT
74722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7473
7474 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7475
ced52c71
JM
74762012-10-18 Joseph Myers <joseph@codesourcery.com>
7477
7478 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7479 (_G_LSEEK64): Likewise.
7480 (_G_MMAP64): Likewise.
7481 (_G_FSTAT64): Likewise.
7482 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7483 (_G_LSEEK64): Likewise.
7484 (_G_MMAP64): Likewise.
7485 (_G_FSTAT64): Likewise.
7486 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7487 unconditional. Call __mmap64 directly.
7488 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7489 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7490 __lseek64 directly.
7491 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7492 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7493 __mmap64 directly.
7494 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7495 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7496 __lseek64 directly.
7497 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7498 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7499 __lseek64 directly.
7500 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7501 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7502 __lseek64 directly.
7503 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7504 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7505 __fxstat64 directly.
7506 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7507 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7508 unconditional.
7509 (freopen64) [!_G_OPEN64]: Remove conditional code.
7510 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7511 unconditional.
7512 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7513 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7514 unconditional.
7515 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7516 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7517 unconditional.
7518 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7519 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7520 unconditional.
7521 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7522 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7523 unconditional.
7524 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7525 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7526 unconditional.
7527 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7528 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7529 unconditional.
7530 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7531
b741de23
SP
75322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7533
7534 [BZ #12140]
7535 * manual/memory.texi (Malloc Tunable Parameters): Add note
7536 about free list pointers overwriting some perturb bytes.
7537 Wording suggested by Roland McGrath.
7538
f9b9d9c9
JM
75392012-10-17 Joseph Myers <joseph@codesourcery.com>
7540
7541 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7542 (lgamma_test): Likewise.
7543 (tgamma_test): Likewise.
7544
172a631a
FW
75452012-10-16 Florian Weimer <fweimer@redhat.com>
7546
7547 [BZ #14700]
7548 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7549 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7550
e9f37252
MK
75512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7552
7553 * NEWS: Mention BZ #14716.
7554 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7555 when removing AVAILABLE1_USES_J macro.
7556
d394eb74
L
75572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7558
7559 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7560 (__bswap_64): __uint64_t for unsigned 64-bit int.
7561
ca38dc17
AS
75622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 * include/string.h (memmem): Declare libc hidden alias.
7565 * string/memmem.c (memmem): Define libc hidden alias.
7566 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7567 __read, __close instead of open, read, close.
7568
9a387d1f
L
75692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7570
ac49ecaf
L
7571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7572 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7573 global and hidden.
7574 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7575 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7576 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7577 Likewise.
7578 (__rawmemchr_sse2): Likewise.
7579 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7580 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7581 (__strchr_sse2): Likewise.
7582 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7583 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7584 (__strcasecmp_sse2): Likewise.
7585 (__strncasecmp_sse2): Likewise.
7586 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7587 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7588 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7589 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7590 (__strrchr_sse2): Likewise.
7591 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7592 ifunc-impl-list.c.
7593 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7594 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7595 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7596 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7597 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7598 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7599 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7600 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7601 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7602 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7603 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7604 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7605 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7606 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7607 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7609 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7610 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7611 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7612 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7613 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7614 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7615 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7616 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7617 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7618 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7619 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7620 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7621 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7622 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7623
b090e8ea
L
7624 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7625 global and hidden.
7626 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7627 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7628 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7629 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7630 Likewise.
7631 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7632 Likewise.
7633 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7634 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7635 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7636 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7637 ifunc-impl-list.c.
7638 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7639 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7648 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7651 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7652 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7656 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7658 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7659 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7660 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7661 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7662 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7663 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7664 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7665 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7666 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7668 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7669 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7670 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7671 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7672 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7673 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7674 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7675 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7676 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7677 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7678 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7679
11dd4af6
L
7680 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7681 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7682 * include/ifunc-impl-list.h: New file.
7683 * misc/ifunc-impl-list.c: Likewise.
7684 * misc/Makefile (routines): Add ifunc-impl-list.
7685 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7686 * string/test-string.h: Include <ifunc-impl-list.h>.
7687 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7688 impl_array): New variables.
7689 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7690 are defined.
7691 (test_init): Call __libc_ifunc_impl_list to initialize
7692 func_list if TEST_IFUNC and TEST_NAME are defined.
7693
9a387d1f
L
7694 * string/Makefile (strop-tests): Add bcopy and bzero.
7695 * string/test-bcopy.c: New file.
7696 * string/test-bzero.c: Likewise.
7697 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7698 defined.
7699 * string/test-memset.c: Support bzero test if TEST_BZERO is
7700 defined.
7701 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7702 __libc_memmove.
7703 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7704 __libc_memset.
7705 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7706 of memset.
7707
472371b9
JM
77082012-10-10 Joseph Myers <joseph@codesourcery.com>
7709
1e4a9536
JM
7710 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7711 * configure: Regenerated.
7712
d173d12e
JM
7713 * Makeconfig (+link-static-before-libc): Don't include
7714 $(link-static-libc).
7715
472371b9
JM
7716 * libio/libio.h (_IO_pos_t): Remove.
7717
89a3ad0b
AO
77182012-10-10 Alexandre Oliva <aoliva@redhat.com>
7719
7720 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7721 McGrath.
7722
e7451425
AO
77232012-10-10 Alexandre Oliva <aoliva@redhat.com>
7724
7725 * crypt/crypt-entry.c: Include fips-private.h.
7726 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7727 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7728 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7729 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7730
4ba74a35
AO
77312012-10-10 Alexandre Oliva <aoliva@redhat.com>
7732
7733 * crypt/crypt-private.h: Include stdbool.h.
7734 (_ufc_setup_salt_r): Return bool.
7735 * crypt/crypt-entry.c: Include errno.h.
7736 (__crypt_r): Return NULL with EINVAL for bad salt.
7737 * crypt/crypt_util.c (bad_for_salt): New.
7738 (_ufc_setup_salt_r): Check that salt is long enough and within
7739 the specified alphabet.
7740 * crypt/badsalttest.c: New file.
7741 * crypt/Makefile (tests): Add it.
7742 ($(objpfx)badsalttest): New.
7743
f96f1242
MK
77442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7745
7746 * NEWS: Add entry for BZ #14602.
7747
0e8e0c1c
JM
77482012-10-09 Joseph Myers <joseph@codesourcery.com>
7749
7750 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7751 type-generic.
7752 * math/libm-test.inc: Update comment listing what functions and
7753 macros are tested.
7754 (isgreater_test): New function.
7755 (isgreaterequal_test): Likewise.
7756 (isless_test): Likewise.
7757 (islessequal_test): Likewise.
7758 (islessgreater_test): Likewise.
7759 (isunordered_test): Likewise.
7760 (main): Call the new functions.
7761
273edc5e
RM
77622012-10-09 Roland McGrath <roland@hack.frob.com>
7763
b8493de0
RM
7764 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7765 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7766 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7767 * sysdeps/i386/configure: Regenerated.
7768 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7769 * sysdeps/mach/configure: Regenerated.
7770 * sysdeps/mach/hurd/configure: Regenerated.
7771 * sysdeps/powerpc/configure: Regenerated.
7772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7774 * sysdeps/s390/s390-32/configure: Regenerated.
7775 * sysdeps/s390/s390-64/configure: Regenerated.
7776 * sysdeps/sh/configure: Regenerated.
7777 * sysdeps/sparc/configure: Regenerated.
7778 * sysdeps/unix/sysv/linux/configure: Regenerated.
7779 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7780 * sysdeps/x86_64/configure: Regenerated.
7781
273edc5e
RM
7782 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7783 defined. Don't check if MAP is NULL.
7784
c8450f70
JM
77852012-10-09 Joseph Myers <joseph@codesourcery.com>
7786
7787 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7788 (_G_stat64): Likewise.
7789 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7790 (_G_stat64): Likewise.
7791 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7792 instead of struct _G_stat64.
7793 * libio/fileops.c (mmap_remap_check): Likewise.
7794 (decide_maybe_mmap): Likewise.
7795 (_IO_new_file_seekoff): Likewise.
7796 (_IO_file_stat): Likewise.
7797 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7798 _G_off64_t.
7799 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7800 instead of struct _G_stat64.
7801 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7802
57e605ba
MK
78032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7804
7805 [BZ #14602]
7806 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7807 Replace with ...
7808 (CHECK_EOL): New macro.
7809 (two_way_short_needle): Check beginning of haystack for EOL. Use
7810 CHECK_EOL.
7811 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7812 Replace with CHECK_EOL.
7813 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7814 Replace with CHECK_EOL.
7815
ef1bb361
JM
78162012-10-08 Joseph Myers <joseph@codesourcery.com>
7817
7818 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7819 type-generic.
7820 * math/libm-test.inc: Update comment listing what functions and
7821 macros are tested.
7822 (finite_test): New function.
7823 (isinf_test): Likewise.
7824 (isnan_test): Likewise.
7825 (fpclassify_test): Test subnormal input.
7826 (isfinite_test): Likewise.
7827 (isnormal_test): Likewise.
7828 (main): Call the new functions.
7829
55f11534
JN
78302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7831
7832 [BZ #14660]
7833 * Makerules (%.dynsym): Force C locale when running
7834 $(OBJDUMP) --dynamic-syms.
7835
1ab29350
AS
78362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7837
7838 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7839 <stdint.h>.
7840
f1ecb7ef
DM
78412012-10-06 David S. Miller <davem@davemloft.net>
7842
7843 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7844 upper 32-bits of the length value in %o2 since we use branch-on-register
7845 tests which consider the entire 64-bit register.
7846
5d41d91a
L
78472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * string/test-strstr.c (check2): Add a test for page boundary.
7850
3baddb72
DM
78512012-10-05 David S. Miller <davem@davemloft.net>
7852
7853 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7855 file.
7856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7857 sysdep_routines.
7858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7859 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7860 and bzero when HWCAP_SPARC_CRYPTO is present.
7861
9cee5585
L
78622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7863
d7e0dab9
L
7864 [BZ #14602]
7865 * string/test-strstr.c (check2): New function.
7866 (test_main): Call check2.
7867
03759f47
L
7868 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7869 and bug-strchr1.
7870 * string/bug-strcasestr1.c (do_test): Moved to ...
7871 * string/test-strcasestr.c (check1): Here. New function.
7872 (do_one_test): Break out result checking code into ...
7873 (check_result): This. New function.
7874 (do_one_test): Call check_result.
7875 (test_main): Call check1.
7876 * string/bug-strchr1.c (do_test): Moved to ...
7877 * string/test-strchr.c (check1): Here. New function.
7878 (do_one_test): Break out result checking code into ...
7879 (check_result): This. New function.
7880 (do_one_test): Call check_result.
7881 (test_main): Call check1.
7882 * string/bug-strstr1.c (main): Moved to ...
046f153e 7883 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7884 (do_one_test): Break out result checking code into ...
7885 (check_result): This. New function.
7886 (do_one_test): Call check_result.
7887 (test_main): Call check1.
7888 * string/bug-strcasestr1.c: Removed.
7889 * string/bug-strchr1.c: Likewise.
7890 * string/bug-strstr1.c: Likewise.
7891
53cea63e
L
7892 * elf/Makefile (dl-routines): Add hwcaps.
7893 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7894 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7895 (_dl_important_hwcaps): Moved to ...
7896 * elf/dl-hwcaps.c: Here. New file.
7897 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7898
9cee5585 7899 [BZ #14557]
bb859b06
L
7900 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7901 if IS_IN_rtld isn't defined.
7902
9cee5585
L
7903 * elf/dl-support.c (_dl_sysinfo_map): New.
7904 Include "get-dynamic-info.h" and "setup-vdso.h".
7905 (_dl_non_dynamic_init): Call setup_vdso.
7906 * elf/dynamic-link.h: Don't include <assert.h>.
7907 (elf_get_dynamic_info): Moved to ...
7908 * elf/get-dynamic-info.h: Here. New file.
7909 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7910 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7911 * elf/setup-vdso.h: Here. New file.
7912 * elf/rtld.c: Include "setup-vdso.h".
7913 (dl_main): Call setup_vdso.
7914
23c31b76
JM
79152012-10-05 Joseph Myers <joseph@codesourcery.com>
7916
28234b07
JM
7917 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7918 creal in comment listing functions tested. List finite, isinf,
7919 isnan, isless, islessequal, isgreater, isgreaterequal,
7920 islessgreater, isunordered, lgamma_r and pow10 as functions and
7921 macros not tested. Mention which functions not tested are aliases
7922 for other functions. Fix typo. Note that signs of NaNs are not
7923 tested.
7924
23c31b76
JM
7925 * scripts/config.guess: Update from config.git.
7926 * scripts/config.sub: Likewise.
7927
9043e228
RM
79282012-10-04 Roland McGrath <roland@hack.frob.com>
7929
7930 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7931 * misc/madvise.c (madvise): Renamed to __madvise.
7932 Make madvise a weak alias.
7933 * include/sys/mman.h: Declare __madvise.
7934 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7935 * sysdeps/unix/syscalls.list
7936 (madvise): Make __madvise the strong name, and madvise a weak alias.
7937 * sysdeps/unix/sysv/linux/syscalls.list
7938 (madvise, mmap): Remove redundant entries.
7939 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7940 * malloc/malloc.c (mtrim): Likewise.
7941 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7942
f57f8055
RM
79432012-10-03 Roland McGrath <roland@hack.frob.com>
7944
7945 * sysdeps/mach/hurd/dl-cache.c: File removed.
7946 * config.h.in (USE_LDCONFIG): New #undef.
7947 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7948 * configure: Regenerated.
7949 * elf/Makefile (dl-routines): Add dl-cache only under
7950 [$(use-ldconfig) = yes].
7951 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7952 cache on [USE_LDCONFIG].
7953 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7954 [USE_LDCONFIG].
7955 * elf/rtld.c (dl_main): Likewise.
7956
5bb0c10a
PT
79572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7958
7959 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7960 _SC_LEVEL4_CACHE_LINESIZE.
7961
010188c6
RM
79622012-10-03 Roland McGrath <roland@hack.frob.com>
7963
7964 * sysdeps/unix/bsd/confstr.h: File removed.
7965
b6c5ec07
AO
79662012-10-02 Alexandre Oliva <aoliva@redhat.com>
7967
7968 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7969 sys/sdt-config.h.
7970
408223d4
RM
79712012-10-02 Roland McGrath <roland@hack.frob.com>
7972
7973 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7974 Make 'mapoff' field ElfW(Off) rather than off_t.
7975
bb9510dc
DL
79762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7977
fc997c6e
DL
7978 * nscd/Makefile: Remove nscd-cflags and all its users.
7979 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7980 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7981
bb9510dc
DL
7982 [BZ #10631]
7983 * malloc.c (malloc_printerr): Clarify error message.
7984
05699367
L
79852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 [BZ #14648]
7988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7989 Set bit_FMA_Usable if FMA is supported.
7990 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7991 macro.
7992 (bit_FMA4_Usable): Updated.
7993 (index_FMA_Usable): New macro.
7994 (CPUID_FMA): Likewise
7995 (HAS_FMA): Defined with bit_FMA_Usable.
7996
51367701
RM
79972012-10-01 Roland McGrath <roland@hack.frob.com>
7998
7999 * bits/types.h (__swblk_t): Type removed.
8000 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8001 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8003 (__SWBLK_T_TYPE): Likewise.
8004 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8005 (__SWBLK_T_TYPE): Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8007 (__SWBLK_T_TYPE): Likewise.
8008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8009 (__SWBLK_T_TYPE): Likewise.
8010
4d57bf63 80112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8012 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8013
8014 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8015 (xdr_mapname): Use YPMAXMAP as maxsize.
8016 (xdr_peername): Use YPMAXPEER as maxsize.
8017 (xdr_keydat): Use YPAXRECORD as maxsize.
8018 (xdr_valdat): Use YPMAXRECORD as maxsize.
8019
93c65d43
RM
80202012-10-01 Roland McGrath <roland@hack.frob.com>
8021
497a03d6
RM
8022 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8023
93c65d43
RM
8024 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8025 * csu/init-first.c: ... here.
8026 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8027 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8028 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8030 * sysdeps/i386/init-first.c: File removed.
8031 * sysdeps/sh/init-first.c: File removed.
8032
bec749fd
JM
80332012-10-01 Joseph Myers <joseph@codesourcery.com>
8034
8035 [BZ #14645]
8036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8037 if x * y might underflow to zero and z is zero.
8038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8040 * math/libm-test.inc (min_subnorm_value): New variable.
8041 (fma_test): Add more tests.
8042 (fma_test_towardzero): Likewise.
8043 (fma_test_downward): Likewise
8044 (fma_test_upward): Likewise.
8045 (initialize): Set min_subnorm_value.
8046
8ec5b013
JM
80472012-09-29 Joseph Myers <joseph@codesourcery.com>
8048
8049 [BZ #14638]
8050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8051 0 + 0.
8052 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8053 mode for addition resulting in exact zero.
8054 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8056 exact 0 + 0.
8057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8059 * math/libm-test.inc (fma_test): Add more tests.
8060 (fma_test_towardzero): New function.
8061 (fma_test_downward): Likewise.
8062 (fma_test_upward): Likewise.
8063 (main): Call the new functions.
8064
b1fa802e
DM
80652012-09-28 David S. Miller <davem@davemloft.net>
8066
8067 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8068
d3b9fd9e
RM
80692012-09-28 Roland McGrath <roland@hack.frob.com>
8070
ea4d37b3
RM
8071 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8072 instead of SIGALRM.
8073
ac51c949
RM
8074 * sysdeps/gnu/_G_config.h: Moved to ...
8075 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8076 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8077 * sysdeps/generic/_G_config.h: ... here.
8078
28c195f7
RM
8079 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8080
848917f9
RM
8081 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8082
6bacf05b
RM
8083 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8084 Conditionalize target on [libnss_test1.so-version].
8085
91363dbb
RM
8086 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8087
cc87f7d8
RM
8088 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8089 (elfobjdir): Move out of conditionals.
8090
b1c608fe
RM
8091 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8092 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8093 (__nss_lookup_function): Conditionalize label remove_from_tree on
8094 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8095
1d9a6d96
DM
80962012-09-28 David S. Miller <davem@davemloft.net>
8097
8098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8100 file.
8101 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8102 sysdep_routines.
8103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8105 when HWCAP_SPARC_CRYPTO is present.
8106
72581615
PT
81072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8108
8109 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8110
715a900c
JL
81112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8112
8113 [BZ #6530]
8114 * stdio-common/vfprintf.c (process_string_arg): Revert
8115 2000-07-22 change.
8116
81172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8118
8119 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8120 for testcase.
8121 * stdio-common/tst-sprintf.c: Include <locale.h>
8122 (main): Test sprintf's handling of incomplete multibyte
8123 characters.
8124
9bac1d86
L
81252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8126
8127 * elf/dl-runtime.c (VERSYMIDX): Removed.
8128 * elf/dl-version.c (VERSYMIDX): Likewise.
8129 * elf/do-rel.h (VERSYMIDX): Likewise.
8130 (VALIDX): Likewise.
8131 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8132 * elf/rtld.c (VALIDX): Likewise.
8133 (ADDRIDX): Likewise.
9bac1d86
L
8134 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8135 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8136 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8137 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8138 (VALIDX): Likewise.
8139 (ADDRIDX): Likewise.
9bac1d86 8140
b31606c0
PT
81412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8142
8143 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8144
11541177
JL
81452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8146
8147 [BZ #11438]
8148 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8149 to global scope.
8150 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8151 addresses are in the same scope as 192.0.2/24.
8152 * posix/gai.conf: Document new scope table defaults.
8153
adb26fae
SP
81542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8155
8156 [BZ #5298]
8157 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8158 for ftell. Compute offsets from write pointers instead.
8159 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8160
4573c6b0
SP
81612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8162
8163 [BZ #14543]
8164 * libio/Makefile (tests): New test case tst-fseek.
8165 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8166 combination works in wide mode.
8167 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8168 state when the external buffer state changes.
8169
aa9bbfe6
DM
81702012-09-27 David S. Miller <davem@davemloft.net>
8171
8172 [BZ #14376]
8173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8174 pass reloc->r_addend in as the 'high' argument to
8175 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8176
784421e7
DM
8177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8178
c39bc8b8
PT
81792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8180
8181 * rt/tst-aio2.c: Include <pthread.h>.
8182 * rt/tst-aio3.c: Likewise.
8183
1ccc2399
SE
81842012-09-27 Steve Ellcey <sellcey@mips.com>
8185
8186 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8187
31ed4153
L
81882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8189
25f5f885
L
8190 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8191 contents on [SHARED].
31ed4153 8192
b7bfe116
MP
81932012-09-26 Marek Polacek <polacek@redhat.com>
8194
8195 [BZ #14530]
8196 [BZ #13741]
8197 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8198 for C++ and GCC <4.3 as well as for non GCC compilers.
8199
43c4edba
MT
82002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8201
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8203
6a1bf82f
RM
82042012-09-25 Roland McGrath <roland@hack.frob.com>
8205
8206 * Makefile.in (all, install): Declare with .PHONY.
8207 Reported by Michael Hope <michael.hope@linaro.org>.
8208
8ad11b9a
TMQMF
82092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8210
8211 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8212 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8213 system header.
8214 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8215 Likewise.
8216 (sydep_routines): Add the new and the internal functions.
8217 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8218 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8220 (GLIBC_2.17): Add the new function.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8222 (GLIBC_2.17): Likewise.
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8224 (GLIBC_2.17): Likewise.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8226 (GLIBC_2.17): Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8228
7e2fca8d
AM
82292012-09-25 Alan Modra <amodra@gmail.com>
8230
8231 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8232 Add release barrier before setting once_control to say
8233 initialisation is done. Add hints on lwarx. Use macro in
8234 place of isync.
8235 (clear_once_control): Add release barrier.
8236
b87c4b24
JM
82372012-09-25 Joseph Myers <joseph@codesourcery.com>
8238
d032e0d2
JM
8239 [BZ #13629]
8240 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8241 specially.
8242 * math/s_clog10.c (__clog10): Likewise.
8243 * math/s_clog10f.c (__clog10f): Likewise.
8244 * math/s_clog10l.c (__clog10l): Likewise.
8245 * math/s_clogf.c (__clogf): Likewise.
8246 * math/s_clogl.c (__clogl): Likewise.
8247 * math/Makefile (libm-calls): Add x2y2m1.
8248 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8249 (__x2y2m1): Likewise.
8250 (__x2y2m1l): Likewise.
8251 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8252 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8255 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8256 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8257 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8258 * sysdeps/i386/fpu/libm-test-ulps: Update.
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8260
b87c4b24
JM
8261 [BZ #14621]
8262 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8263 int as type of variable DEPTH.
8264 (glob): Use size_t instead of int as type of variables NEWCOUNT
8265 and OLD_PATHC.
8266
6d3bf199
LD
82672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8268
22bf5c17
LD
8269 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8270 Add s_sincosf-sse2.
8271 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8272 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8273 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8274 macros for using routine as __sincosf_ia32.
8275 Use macro for function declaration and weak_alias.
8276 * sysdeps/i386/fpu/libm-test-ulps: Update.
8277
8278 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8280
8281 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8282 subnormal argument.
8283 * math/s_cexpf.c (__cexpf): Likewise.
8284 * math/s_csinf.c (__csinf): Likewise.
8285 * math/s_csinhf.c (__csinhf): Likewise.
8286 * math/s_ctanf.c (__ctanf): Likewise.
8287 * math/s_ctanhf.c (__ctanhf): Likewise.
8288 * math/s_ccosh.c (__ccoshf): Likewise.
8289 * math/s_cexp.c (__cexpl): Likewise.
8290 * math/s_csin.c (__csin): Likewise.
8291 * math/s_csinh.c (__csinh): Likewise.
8292 * math/s_ctan.c (__ctan): Likewise.
8293 * math/s_ctanh.c (ctanh): Likewise.
8294 * math/s_ccoshl.c (__ccoshl): Likewise.
8295 * math/s_cexpl.c (__cexpl): Likewise.
8296 * math/s_csinl.c (__csinl): Likewise.
8297 * math/s_csinhl.c (__csinhl): Likewise.
8298 * math/s_ctanl.c (__ctanl): Likewise.
8299 * math/s_ctanhl.c (__ctanhl): Likewise.
8300
203e5603
JM
83012012-09-25 Joseph Myers <joseph@codesourcery.com>
8302
8303 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8304 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8305 (_IO_off_t): Define to __off_t, not _G_off_t.
8306 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8307 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8308 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8309 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8310 type of __dummy and __dummy2 fields.
8311 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8312 (_G_ssize_t): Likewise.
8313 (_G_off_t): Likewise.
8314 (_G_pid_t): Likewise.
8315 (_G_uid_t): Likewise.
8316 (_G_wchar_t): Likewise.
8317 (_G_wint_t): Likewise.
8318 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8319 (_G_ssize_t): Likewise.
8320 (_G_off_t): Likewise.
8321 (_G_pid_t): Likewise.
8322 (_G_uid_t): Likewise.
8323 (_G_wchar_t): Likewise.
8324 (_G_wint_t): Likewise.
8325 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8326 (_G_ssize_t): Likewise.
8327 (_G_off_t): Likewise.
8328 (_G_pid_t): Likewise.
8329 (_G_uid_t): Likewise.
8330 (_G_wchar_t): Likewise.
8331 (_G_wint_t): Likewise.
8332
9fab36eb
SP
83332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8334
8335 * malloc/arena.c: Include malloc-sysdep.h.
8336 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8337 is sufficient to shrink the heap or an unmap is needed.
8338 * sysdeps/generic/malloc-sysdep.h: New file. Define
8339 new function check_may_shrink_heap.
8340 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8341 new function check_may_shrink_heap.
8342
2b4f00d1
SP
83432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8344
8345 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8346 comments.
8347
9a9028b1
DL
83482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8349
57c69bef
DL
8350 * catgets/test-gencat.sh: Add "set -e".
8351 * elf/tst-pathopt.sh: Likewise.
8352 * grp/tst_fgetgrent.sh: Likewise.
8353 * iconvdata/run-iconv-test.sh: Likewise.
8354 * intl/tst-gettext.sh: Likewise.
8355 * intl/tst-gettext2.sh: Likewise.
8356 * intl/tst-gettext4.sh: Likewise.
8357 * intl/tst-gettext6.sh: Likewise.
8358 * intl/tst-translit.sh: Likewise.
8359 * io/ftwtest-sh: Likewise.
8360 * libio/test-freopen.sh: Likewise.
8361 * malloc/tst-mtrace.sh: Likewise.
8362 * posix/globtest.sh: Likewise.
8363 * posix/tst-getconf.sh: Likewise.
8364 * posix/wordexp-tst.sh: Likewise.
8365 * stdio-common/tst-printf.sh: Likewise.
8366 * stdio-common/tst-unbputc.sh: Likewise.
8367 * stdlib/tst-fmtmsg.sh: Likewise.
8368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8369 * catgets/Makefile: Do not specify -e option when running
8370 testsuite shell scripts.
8371 * elf/Makefile: Likewise.
8372 * grp/Makefile: Likewise.
8373 * iconvdata/Makefile: Likewise.
8374 * intl/Makefile: Likewise.
8375 * io/Makefile: Likewise.
8376 * libio/Makefile: Likewise.
8377 * malloc/Makefile: Likewise.
8378 * posix/Makefile: Likewise.
8379 * stdio-common/Makefile: Likewise.
8380 * stdlib/Makefile: Likewise.
8381 * sysdeps/x86_64/Makefile: Likewise.
8382
9a9028b1
DL
8383 * io/ftwtest-sh: Add copyright header.
8384 * posix/globtest.sh: Likewise.
8385 * posix/tst-getconf.sh: Likewise.
8386 * posix/wordexp-tst.sh: Likewise.
8387 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8388
ced6f16e
L
83892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8390
94b32c39
L
8391 [BZ #13679]
8392 * Makeconfig (+link): Defined as $(+link-static) if
8393 $(build-shared) isn't yes.
8394 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8395 isn't yes.
8396 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8397
189e935b
L
8398 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8399
ced6f16e
L
8400 [BZ #14562]
8401 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8402 new chunk size with MALLOC_ALIGN_MASK.
8403
a9f8e53a
JM
84042012-09-24 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #5044]
8407 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8408 <rounding-mode.h>.
8409 (__printf_fphex): Determine rounding using get_rounding_mode and
8410 round_away.
8411 * stdio-common/tst-printf-round.c (struct hex_test): New
8412 structure.
8413 (hex_tests): New variable.
8414 (test_hex_in_one_mode): New function.
8415 (do_test): Also run tests for hex float output.
8416
43153109
JM
84172012-09-21 Joseph Myers <joseph@codesourcery.com>
8418
8419 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8420 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8421 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8422 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8423 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8424 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8425 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8426 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8427
8a26625d
JM
84282012-09-20 Joseph Myers <joseph@codesourcery.com>
8429
8430 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8431 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8432 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8433 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8434
f3fd569c
DL
84352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8436
8437 [BZ #14579]
8438 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8439 mode only.
8440 * elf/tst-rtld-load-self.sh: New test.
8441 * elf/Makefile: Run it.
8442
63bbedd4
JM
84432012-09-18 Joseph Myers <joseph@codesourcery.com>
8444
8445 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8446 (tst-writev-ENV): Remove.
8447 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8448
626f8b6a
CM
84492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8450
8451 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8452
b7aaa4d6
JM
84532012-09-17 Joseph Myers <joseph@codesourcery.com>
8454
8455 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8456 unconditional.
8457 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8458 Likewise.
8459 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8460 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8462 Likewise.
8463
65513990
L
84642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 [BZ #14587]
8467 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8468 * config.make.in (have-cpp-asm-debuginfo): Removed.
8469 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8470 * configure: Regenerated.
8471
784761be
JM
84722012-09-14 Joseph Myers <joseph@codesourcery.com>
8473
8474 [BZ #5044]
8475 * stdio-common/printf_fp.c: Include <stdbool.h> and
8476 <rounding-mode.h>.
8477 (___printf_fp): Determine rounding using get_rounding_mode and
8478 round_away.
8479 * stdio-common/tst-printf-round.c: New file.
8480 * stdio-common/Makefile (tests): Add tst-printf-round.
8481 (link-libm): New variable.
8482 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8483
9503345f
L
84842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 [BZ #14576]
8487 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8488 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8489 Likewise.
8490 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8491 Likewise.
8492
ad35fc00
JM
84932012-09-13 Joseph Myers <joseph@codesourcery.com>
8494
8495 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8496 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8497 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8498 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8499
6c9b0f68
JM
85002012-09-12 Joseph Myers <joseph@codesourcery.com>
8501
8502 [BZ #14518]
8503 * include/rounding-mode.h: New file.
8504 * sysdeps/generic/get-rounding-mode.h: Likewise.
8505 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8506 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8507 (MAX_VALUE): New macro.
8508 (MIN_VALUE): Likewise.
8509 (overflow_value): New function.
8510 (underflow_value): Likewise.
8511 (round_and_return): Use overflow_value and underflow_value to
8512 determine return values in overflow and underflow cases. Use
8513 round_away to determine rounding depending on rounding mode.
8514 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8515 determine return values in overflow and underflow cases.
8516 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8517 (struct test_results): New structure.
8518 (struct test): Use struct test_results to store expected results
8519 for all rounding modes.
8520 (TEST): Include expected results for all rounding modes.
8521 (test_in_one_mode): New function.
8522 (do_test): Use test_in_one_mode to compute and check results.
8523 Check results for all rounding modes.
8524 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8525 $(link-libm).
8526
19fcedd5
AM
85272012-12-09 Allan McRae <allan@archlinux.org>
8528
1e9d84cd 8529 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8530
8bbfd2f1
JM
85312012-09-11 Joseph Myers <joseph@codesourcery.com>
8532
8533 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8534 (_G_int32_t): Likewise.
8535 (_G_uint16_t): Likewise.
8536 (_G_uint32_t): Likewise.
8537 (_G_HAVE_BOOL): Likewise.
8538 (_G_HAVE_ATEXIT): Likewise.
8539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8540 (_G_HAVE_IO_FILE_OPEN): Likewise.
8541 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8542 (_G_int32_t): Likewise.
8543 (_G_uint16_t): Likewise.
8544 (_G_uint32_t): Likewise.
8545 (_G_HAVE_BOOL): Likewise.
8546 (_G_HAVE_ATEXIT): Likewise.
8547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8548 (_G_HAVE_IO_FILE_OPEN): Likewise.
8549 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8550 (_G_int32_t): Likewise.
8551 (_G_uint16_t): Likewise.
8552 (_G_uint32_t): Likewise.
8553 (_G_HAVE_BOOL): Likewise.
8554 (_G_HAVE_ATEXIT): Likewise.
8555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8556 (_G_HAVE_IO_FILE_OPEN): Likewise.
8557
b1dc5912
L
85582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 * csu/libc-tls.c: Update copyright years.
8561
0e886ef9
JM
85622012-09-10 Joseph Myers <joseph@codesourcery.com>
8563
28361c5e
JM
8564 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8565 [!_G_USING_THUNKS]: Remove conditional code.
8566 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8567 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8568
0e886ef9
JM
8569 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8570 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8571 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8572 (_G_VTABLE_LABEL_PREFIX): Likewise.
8573 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8574 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8576 (_G_VTABLE_LABEL_PREFIX): Likewise.
8577 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8578 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8579 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8580 (_G_VTABLE_LABEL_PREFIX): Likewise.
8581 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8582
bcba7aa2
L
85832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * libio/Makefile: Include ../Makeconfig before tests.
8586 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8587 only if $(build-shared) is yes.
8588
06585ee8
L
8589 * iconv/gconv_db.c: Update copyright years.
8590
80ccd52c
LD
85912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8592
8593 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8594 unwind info if defined PIC. Fix special cases description.
8595 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8596
8597 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8598 DP_HI_MASK entry.
8599 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8600
691bc9c1
L
86012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8602
3d9b46b3
L
8603 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8604
de2139a9
L
8605 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8606 is NULL.
8607
5ca78dd0
L
8608 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8609 (LDLIBS-tst-chk4): This.
8610 (LDFLAGS-tst-chk5): Renamed to ...
8611 (LDLIBS-tst-chk5): This.
8612 (LDFLAGS-tst-chk6): Renamed to ...
8613 (LDLIBS-tst-chk6): This.
8614 (LDFLAGS-tst-lfschk4): Renamed to ...
8615 (LDLIBS-tst-lfschk4): This.
8616 (LDFLAGS-tst-lfschk5): Renamed to ...
8617 (LDLIBS-tst-lfschk5): This.
8618 (LDFLAGS-tst-lfschk6): Renamed to ...
8619 (LDLIBS-tst-lfschk6): This.
8620
691bc9c1
L
8621 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8622 on $(common-objpfx)soversions.mk.
8623
65cafb1c
JM
86242012-09-07 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #10014]
8627 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8628 example host name.
8629
c78ab094
SP
86302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
8632 * malloc/arena.c (arena_get_retry): New function that gets
8633 another arena for the caller to try its request on.
8634 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8635 current arena cannot fulfill the request.
8636 (__libc_memalign): Likewise.
8637 (__libc_memalign): Likewise.
8638 (__libc_pvalloc): Likewise.
8639 (__libc_calloc): Likewise.
8640
01f49f59
JT
86412012-09-05 John Tobey <john.tobey@gmail.com>
8642
8643 [BZ #13542]
8644 * manual/arith.texi (Operations on Complex): Fix description
8645 of carg branch cut.
8646
4c23fed5
JM
86472012-09-06 Joseph Myers <joseph@codesourcery.com>
8648
1d3c8572
JM
8649 [BZ #10014]
8650 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8651 host name.
8652
4c23fed5
JM
8653 [BZ #10038]
8654 * manual/memory.texi (Memory): Make order of menu items match
8655 order of sections.
8656
04570aaa
L
86572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8660 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8661 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8662
b80af2f4
L
86632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * csu/libc-tls.c (static_dtv): Renamed to ...
8666 (_dl_static_dtv): This. Make it global.
8667 (_dl_initial_dtv): Removed.
8668 (__libc_setup_tls): Updated.
8669 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8670 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8671 DL_INITIAL_DTV.
8672
2abe9f15
PM
86732012-09-06 Petr Machata <pmachata@redhat.com>
8674
8675 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8676 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8677 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8678 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8679
0948c3af
L
86802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8681
8682 [BZ #14545]
8683 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8684 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8685 freeing dtv[-1].
8686
a5055ad1
L
86872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 [BZ #14544]
8690 * Makeconfig (link-static-before-libc): Replace $(+prector)
8691 with $(+prectorT).
8692 (link-static-after-libc): Replace $(+postctor) with
8693 $(+postctorT).
8694 (link-bounded): Replace $(+prector)/$(+postctor) with
8695 $(+prectorT)/$(+postctorT).
8696 (+prectorT): New macro.
8697 (+postctorT): Likewise.
8698
ed8c2ecd
JM
86992012-09-06 Joseph Myers <joseph@codesourcery.com>
8700
8701 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8702 (round_str): Handle values above the maximum for IBM long double
8703 as inexact.
8704 * stdlib/tst-strtod-round.c (tests): Regenerated.
8705
14c996c8
AK
87062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8707
8708 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8709 assembler flag.
8710 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8711 zarch_nohighgprs around the zarch optimized routines.
8712 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8713 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8715 for zarch.
8716
430d6ce6
DM
87172012-09-05 David S. Miller <davem@davemloft.net>
8718
8719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8720
ff04dda4
DM
8721 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8722 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8723 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8725 entries.
8726
24d4e01b
AO
87272012-09-05 Alexandre Oliva <aoliva@redhat.com>
8728
8729 * malloc/arena.c: Fold copyright years.
8730 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8731
61d58174
AO
87322012-09-05 Alexandre Oliva <aoliva@redhat.com>
8733
8734 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8735
20196a5e
AO
87362012-09-05 Alexandre Oliva <aoliva@redhat.com>
8737
8738 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8739
5c447383
AO
87402012-09-05 Alexandre Oliva <aoliva@redhat.com>
8741
8742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8743 change internal state upon failure.
8744
fad64255
AO
87452012-09-05 Alexandre Oliva <aoliva@redhat.com>
8746
8747 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8748 * malloc/memusage.c (mmap): Likewise.
8749 (mmap64, mremap): Likewise. Adjust name in comment.
8750
1ffb8c90
SP
87512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8752
8753 * libio/fileops.c: Fix typos in comments.
8754 * libio/oldfileops.c: Likewise.
8755 * libio/wfileops.c: Likewise.
8756
6ef9cc37
SP
87572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8758
8759 [BZ #1349]
8760 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8761 (tst-malloc-usable-ENV): Set environment for test case.
8762 * malloc/hooks.c (malloc_check_get_size): New function to get
8763 requested size.
8764 * malloc/malloc.c (musable): Use malloc_check_get_size.
8765 * malloc/tst-malloc-usable.c: New test case.
8766
4d038ae3
AS
87672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8768
8769 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8770
c4e85184
AM
87712012-09-05 Allan McRae <allan@archlinux.org>
8772
b9dafc56 8773 [BZ #13966]
c4e85184
AM
8774 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8775 determine header location.
8776 * configure: Regenerated.
8777
e1343020
AS
87782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8779
8780 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8781 float format.
8782 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8783 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8784 format.
e1343020
AS
8785 (test): Regenerate.
8786
0a9f1987
DM
87872012-09-04 David S. Miller <davem@davemloft.net>
8788
8789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8791 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8792
29237804
FW
87932012-09-04 Florian Weimer <fweimer@redhat.com>
8794
8795 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8796 failures.
8797
edb3cb88
FW
8798 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8799
60160d83
JM
88002012-09-04 Joseph Myers <joseph@codesourcery.com>
8801
8802 [BZ #9914]
8803 * libio/iogetdelim.c: Include <limits.h>.
8804 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8805 + len + 1 would overflow.
8806
bcd6c8dc
AJ
88072012-09-03 Andreas Jaeger <aj@suse.de>
8808
8809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8810 * sysdeps/i386/fpu/libm-test-ulps: Update.
8811
4ffffbd2
LD
88122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8813
8814 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8815 Add s_sinf-sse2, s_conf-sse2.
8816
8817 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8818 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8819 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8820 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8821
8822 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8823 for using routine as __sinf_ia32.
8824 Use macro for function declaration and weak_alias.
8825 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8826 for using routine as __cosf_ia32.
8827 Use macro for function declaration and weak_alias.
8828
8829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8830 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8831
8832 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8833 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8835
8836 * math/libm-test.inc (cos_test): Add more test cases.
8837 (sin_test): Likewise.
8838 (sincos_test): Likewise.
8839
511fa286
AK
88402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8841
8842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8843 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8844 hidden.
8845 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8846
5f30cfec
L
88472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 [BZ #14538]
8850 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8851 first element of the GOT.
8852 (elf_machine_load_address): Return the difference between
8853 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8854
0786794f
AM
88552012-09-01 Allan McRae <allan@archlinux.org>
8856
5f30cfec
L
8857 [BZ #13412]
8858 * configure.in (AWK): Require gawk version 3.0 or later.
8859 * configure: Regenerated.
0786794f 8860
26889eac
JM
88612012-09-01 Joseph Myers <joseph@codesourcery.com>
8862
8863 * sysdeps/unix/sysv/linux/kernel-features.h
8864 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8866 [__NR_clock_getres]: Make code unconditional.
8867 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8868 (clock_getcpuclockid): Remove code left unreachable by removal of
8869 conditionals.
8870 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8871 code unconditional.
8872 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8874 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8875 Make code unconditional.
8876 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8877 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8878 * sysdeps/unix/sysv/linux/clock_settime.c
8879 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8880 conditional code.
8881 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8883
d22e28b0
L
88842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 [BZ #14476]
8887 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8888 scripts/test-installation.pl.
8889
8890 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8891 and $ld_so_version if it is set.
8892
050af9c4
SP
88932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8894
8895 [BZ #14516]
8896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8897 failure if reading from procfs failed.
8898 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8899
ad845c0b
JM
89002012-08-27 Joseph Myers <joseph@codesourcery.com>
8901
8902 * sysdeps/unix/sysv/linux/kernel-features.h
8903 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8904 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8905 Remove conditional code.
8906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8907 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8908 Remove conditional code.
8909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8910 * sysdeps/unix/sysv/linux/i386/fxstat.c
8911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8913 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8914 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8916 * sysdeps/unix/sysv/linux/i386/lxstat.c
8917 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8919 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8920 Remove conditional code.
8921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8922 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8923 Remove conditional code.
8924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8926 <kernel-features.h>.
8927 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8928 Remove.
8929 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8930 Remove conditional code.
8931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8932 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8933 Remove conditional.
8934
5dbf56af
MF
89352012-08-27 Mike Frysinger <vapier@gentoo.org>
8936
8937 [BZ #5400]
8938 * NEWS: Add fixed bug number.
8939
d6e70f43
JM
89402012-08-27 Joseph Myers <joseph@codesourcery.com>
8941
7efb4737
JM
8942 [BZ #14519]
8943 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8944 underflowing exponent in case of negative sign.
8945 * stdlib/tst-strtod-round-data: Add more tests.
8946 * stdlib/tst-strtod-round.c (tests): Regenerated.
8947
af92131a
JM
8948 [BZ #3479]
8949 * stdlib/strtod_l.c (NDIG): Remove.
8950 (HEXNDIG): Likewise.
8951 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8952 smallest representable value.
8953 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8954 lie within an exact representation of 1/2 ulp of the result.
8955 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8956 unconditionally.
8957 (TENS_P9_IDX): Define unconditionally.
8958 (TENS_P9_SIZE): Likewise.
8959 (TENS_P10_IDX): Likewise.
8960 (TENS_P10_SIZE): Likewise.
8961 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8962 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8963 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8964 entries for 10^2^13 and 10^2^14.
8965 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8966 (TENS_P13_IDX): Define.
8967 (TENS_P13_SIZE): Likewise.
8968 (TENS_P14_IDX): Likewise.
8969 (TENS_P14_SIZE): Likewise.
8970 (_fpioconst_pow10): Change array size to
8971 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8972 unconditional.
8973 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8974 1024]: Add entries for 10^2^13 and 10^2^14.
8975 [LAST_POW10 > _LAST_POW10]: Remove #error.
8976 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8977 (_fpioconst_pow10): Change array size to
8978 FPIOCONST_POW10_ARRAY_SIZE.
8979 * stdlib/gen-fpioconst.c: New file.
8980 * stdlib/gen-tst-strtod-round.c: Likewise.
8981 * stdlib/tst-strtod-round-data: Likewise.
8982 * stdlib/tst-strtod-round.c: Likewise.
8983 * stdlib/Makefile (tests): Add tst-strtod-round.
8984
d6e70f43
JM
8985 [BZ #14459]
8986 * stdlib/strtod_l.c: Include <stdint.h>.
8987 (NDEBUG): Do not define.
8988 (round_and_return): Change EXPONENT parameter to type intmax_t.
8989 Rearrange calculations to avoid internal overflow possibilities.
8990 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8991 Rearrange calculations to avoid internal overflow possibilities.
8992 Assert that number fits inside MPNSIZE limbs.
8993 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8994 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8995 calculations and add assertions to avoid internal overflow
8996 possibilities. Add casts to avoid signed/unsigned operations.
8997 * stdlib/tst-strtod-overflow.c: New file.
8998 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8999
1f529f7d
MP
90002012-08-25 Marek Polacek <polacek@redhat.com>
9001
9002 * time/time.h: Fix some typos in comments.
9003
59a629f1
RM
90042012-08-23 Roland McGrath <roland@hack.frob.com>
9005
9006 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9007 * posix/tst-rfc3484-2.c: Likewise.
9008 * posix/tst-rfc3484-3.c: Likewise.
9009
d3bafbc9
SM
90102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9011
9012 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9013 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9014
4efcc022
JM
90152012-08-23 Joseph Myers <joseph@codesourcery.com>
9016
9017 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9018 #include of fxstatat64.c.
9019
3cc3ef96
RM
90202012-08-22 Roland McGrath <roland@hack.frob.com>
9021
f04e2132
RM
9022 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9023 * shadow/getspent_r.c: Likewise.
9024 * shadow/getspnam.c: Likewise.
9025 * shadow/getspnam_r.c: Likewise.
9026 * gshadow/getsgent.c: Likewise.
9027 * gshadow/getsgent_r.c: Likewise.
9028 * gshadow/getsgnam.c: Likewise.
9029 * gshadow/getsgnam_r.c: Likewise.
9030 * inet/getnetbyad.c: Likewise.
9031 * inet/getnetbyad_r.c: Likewise.
9032 * inet/getnetbynm.c: Likewise.
9033 * inet/getnetbynm_r.c: Likewise.
9034 * inet/getnetent.c: Likewise.
9035 * inet/getnetent_r.c: Likewise.
9036 * inet/getproto.c: Likewise.
9037 * inet/getproto_r.c: Likewise.
9038 * inet/getprtent.c: Likewise.
9039 * inet/getprtent_r.c: Likewise.
9040 * inet/getprtname.c: Likewise.
9041 * inet/getprtname_r.c: Likewise.
9042 * inet/getrpcbyname.c: Likewise.
9043 * inet/getrpcbyname_r.c: Likewise.
9044 * inet/getrpcbynumber.c: Likewise.
9045 * inet/getrpcbynumber_r.c: Likewise.
9046 * inet/getrpcent.c: Likewise.
9047 * inet/getrpcent_r.c: Likewise.
9048 * inet/getaliasent.c: Likewise.
9049 * inet/getaliasent_r.c: Likewise.
9050 * inet/getaliasname.c: Likewise.
9051 * inet/getaliasname_r.c: Likewise.
9052 * nscd/getgrgid_r.c: Likewise.
9053 * nscd/getgrnam_r.c: Likewise.
9054 * nscd/gethstbyad_r.c: Likewise.
9055 * nscd/gethstbynm3_r.c: Likewise.
9056 * nscd/getpwnam_r.c: Likewise.
9057 * nscd/getpwuid_r.c: Likewise.
9058 * nscd/getsrvbynm_r.c: Likewise.
9059 * nscd/getsrvbypt_r.c: Likewise.
9060 * nscd/gai.c: Likewise.
9061
c53d909c
RM
9062 * configure.in (build_nscd): New substituted variable, set
9063 by --disable-build-nscd and defaults to $use_nscd.
9064 * configure: Regenerated.
9065 * config.make.in (build-nscd): New substituted variable.
9066 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9067 Change conditional to require [$(build-nscd) = yes] as well.
9068 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9069
3cc3ef96
RM
9070 [BZ# 13696]
9071 * configure.in (use_nscd): New substituted variable, set by
9072 --disable-nscd. If enabled, define USE_NSCD.
9073 * configure: Regenerated.
9074 * config.h.in: Add USE_NSCD.
9075 * config.make.in (use-nscd): New substituted variable.
9076 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9077 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9078 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9079 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9080 (CFLAGS-getgrnam_r.c): Likewise.
9081 (CFLAGS-initgroups.c): Likewise.
9082 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9083 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9084 Variables removed.
9085 * inet/getnetgrent_r.c
9086 (nscd_setnetgrent): New function, broken out of ...
9087 (setnetgrent): ... here. Call it.
9088 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9089 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9090 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9091 * nscd/Makefile (routines, aux): Move definitions after include of
9092 Makeconfig. Conditionalize on [$(use-nscd) != no].
9093 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9094 Conditionalize on [USE_NSCD].
9095 (is_nscd, nscd_init_cb): Likewise.
9096 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9097 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9098 * nss/nss_db/db-init.c: Likewise.
9099 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9100 [USE_NSCD].
9101 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9102 (make_request): Use it.
9103 (cache_valid_p): New function.
9104 (__check_pf): Use it.
9105 * NEWS: Add item for --disable-nscd.
9106
07e51550
DL
91072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9108
9109 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9110 to support sed >= 4.2.1-20-ga9bf076.
9111 * configure: Regenerated.
9112
35a5b08b
RM
91132012-08-22 Roland McGrath <roland@hack.frob.com>
9114
9115 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9116 Conditionalize whole body on [IREL].
9117
8479f23a
JL
91182012-08-22 Jeff Law <law@redhat.com>
9119
9120 [BZ #14505]
9121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9122 if the family is PF_UNSPEC.
9123
48da0b21
MF
91242012-08-22 Mike Frysinger <vapier@gentoo.org>
9125
9126 * Makerules (lib-version): Rename from V.
9127 (install-lib-nosubdir): Change V to lib-version.
9128
15d0da8c
WS
91292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9130
9131 [BZ #14252]
9132 * powerpc32/power6/wcschr.c: New file.
9133 * powerpc32/power6/wcscpy.c: New file.
9134 * powerpc32/power6/wcsrchr.c: New file.
9135 * powerpc64/power6/wcschr.c: New file.
9136 * powerpc64/power6/wcscpy.c: New file.
9137 * powerpc64/power6/wcsrchr.c: New file.
9138
bcca0895
MK
91392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9140
9141 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9142 (two_way_short_needle): Use it.
5a4aaa33
RM
9143 * string/strstr.c (AVAILABLE1_USES_J): Define.
9144 * string/strcasestr.c: Likewise.
99677e57
MK
9145
9146 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9147 array references.
9148 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9149
400726de
MK
9150 [BZ #11607]
9151 * NEWS: Add an entry.
9152 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9153 define their defaults.
9154 (two_way_short_needle): Detect end-of-string on-the-fly.
9155 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9156 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9157 * string/bug-strcasestr1.c: New test.
9158 * string/Makefile: Run it.
9159
20a71f2c
MK
91602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9161
9162 [BZ #11607]
9163 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9164 the first character.
9165
21ad0558
RM
91662012-08-21 Roland McGrath <roland@hack.frob.com>
9167
9168 * csu/elf-init.c (__libc_csu_irel): Function removed.
9169 * csu/libc-start.c (apply_irel): New function.
9170 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9171
0e1d9911
JM
91722012-08-21 Joseph Myers <joseph@codesourcery.com>
9173
9174 * sysdeps/unix/sysv/linux/kernel-features.h
9175 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9176 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9177 <kernel-features.h>.
9178 [__NR_fadvise64_64]: Make code unconditional.
9179 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9180 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9181 !__NR_fadvise64_64)]: Likewise.
9182 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9183 !__NR_fadvise64_64))]: Likewise.
9184 [__NR_fadvise64]: Make code unconditional.
9185 [!__NR_fadvise64]: Remove conditional code.
9186 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9187 <kernel-features.h>.
9188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9189 unconditional.
9190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9191 conditional code.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9193 not include <kernel-features.h>.
9194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9195 unconditional.
9196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9197 conditional code.
9198 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9199 include <kernel-features.h>.
9200 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9201 unconditional.
9202 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9203 conditional code.
9204
14a50c9d
WS
92052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9206
9207 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9208 slight instruction rearrangements per scrollpipe analysis.
9209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9210
c0f4faf0
RM
92112012-08-20 Roland McGrath <roland@hack.frob.com>
9212
696da859
RM
9213 * manual/syslog.texi (syslog; vsyslog, closelog):
9214 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9215 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9216
c0f4faf0
RM
9217 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9218 DSOCAPS to match condition on defining it.
9219
348363b2
JM
92202012-08-20 Joseph Myers <joseph@codesourcery.com>
9221
a35cbf28
JM
9222 * sysdeps/unix/sysv/linux/kernel-features.h
9223 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9228 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9229 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9231 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9232 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9233
445f7ecd
JM
9234 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9235 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9236
348363b2
JM
9237 * sysdeps/unix/sysv/linux/kernel-features.h
9238 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9239 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9240 unconditional.
9241 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9242 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9243 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9244 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9245 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9246 Make code unconditional.
9247 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9248 (__mmap64) [!__NR_mmap2]: Likewise.
9249 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9250 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9251 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9252 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9253 [__NR_mmap2]: Make code unconditional.
9254 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9255 (__mmap64) [!__NR_mmap2]: Likewise.
9256
bc5bc0e5
AK
92572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9258
9259 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9260
88d506de
AJ
92612012-08-18 Andreas Jaeger <aj@suse.de>
9262
9263 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9264
493387d2
MF
92652012-08-18 Mike Frysinger <vapier@gentoo.org>
9266
9267 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9268 * include/unistd.h (__have_sock_cloexec): Likewise.
9269 (__have_pipe2): Likewise.
9270 (__have_dup3): Likewise.
9271
a277af22
MF
92722012-08-18 Mike Frysinger <vapier@gentoo.org>
9273
9274 [BZ #9685]
9275 * include/unistd.h (__have_pipe2): Change define into an extern int.
9276 (__have_dup3): Likewise.
9277 * socket/have_sock_cloexec.c: Include fcntl.h.
9278 (__have_pipe2): New variable.
9279 (__have_dup3): Likewise.
9280
fdab8fd3
MF
92812012-08-17 Mike Frysinger <vapier@gentoo.org>
9282
9283 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9284
31035e80
MP
92852012-08-17 Marek Polacek <polacek@redhat.com>
9286
9287 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9288 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9289
3bd9e993
RM
92902012-08-17 Roland McGrath <roland@hack.frob.com>
9291
c91c505f
RM
9292 * configure.in: Add AC_SUBST for sysheaders.
9293 * configure: Regenerated.
9294 * config.make.in (sysheaders): New substituted variable.
9295
7c6f9d53
RM
9296 * sysdeps/unix/mkfifo.c: Moved ...
9297 * sysdeps/posix/mkfifo.c: ... here.
9298 * sysdeps/unix/mkfifoat.c: Moved ...
9299 * sysdeps/posix/mkfifoat.c: ... here.
9300
9301 * sysdeps/unix/utime.c: Moved ...
9302 * sysdeps/posix/utime.c: ... here.
9303
9304 * sysdeps/unix/time.c: Moved ...
9305 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9306 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9307 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9308
9309 * sysdeps/unix/nice.c: Moved ...
9310 * sysdeps/posix/nice.c: ... here.
9311
9312 * sysdeps/unix/alarm.c: Moved ...
9313 * sysdeps/posix/alarm.c: ... here.
9314
3bd9e993
RM
9315 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9316
d1f09384
JL
93172012-08-17 Jeff Law <law@redhat.com>
9318
9319 * intl/Makefile (codeset_mo): New variable.
9320 ($(codeset_mo)): New target.
9321 (tst-codeset.out): Depend on that. Remove explicit rule.
9322 (tst-gettext3.out, tst-gettext5.out): Likewise.
9323 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9324 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9325 * intl/tst-codeset.sh: Remove.
9326 * intl/tst-gettext3.sh: Likewise.
9327 * intl/tst-gettext5.sh: Likewise.
9328
2ae1ae5c
RM
93292012-08-17 Roland McGrath <roland@hack.frob.com>
9330
c31fdb83
RM
9331 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9332 * sysdeps/unix/syscalls.list: ... here.
9333
a0844057
RM
9334 * sysdeps/posix/getaddrinfo.c
9335 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9336 (gaiconf_init, gaiconf_reload): Use them.
9337 [!_STATBUF_ST_NSEC]
9338 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9339 Define using time_t rather than struct timespec.
9340
750c1f2a
RM
9341 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9342 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9343 Macros removed.
9344 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9345 [!NO_THREADS].
9346 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9347 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9348 Likewise.
9349
2ae1ae5c
RM
9350 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9351 __libc_cleanup_push argument.
9352
e66a42f5
RM
9353 * bits/param.h: New file.
9354 * misc/sys/param.h: New file.
9355 * include/sys/param.h: New file.
9356 * misc/Makefile (headers): Add bits/param.h.
9357 * sysdeps/generic/sys/param.h: File removed.
9358 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9359 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9360 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9361 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9362
b7c08a66
RM
9363 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9364 last change.
9365
b2e1c562
RM
9366 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9367 [_IO_MTSAFE_IO].
9368 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9369 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9370 New macros.
9371
c75ccd4c
RM
9372 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9373 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9374 rather than -D_IO_MTSAFE_IO conditionally.
9375 * stdio-common/Makefile (CPPFLAGS): Likewise.
9376 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9377 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9378 Use $(libio-mtsafe).
9379 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9380 of -D_IO_MTSAFE_IO.
9381 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9382 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9383 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9384 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9385 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9386 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9387 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9388 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9389 (CFLAGS-fread_u_chk.c): Likewise.
9390 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9391 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9392 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9393 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9394 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9395 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9396 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9397 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9398 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9399
9400 * libio/Makefile: Test [$(libc-reentrant) = yes]
9401 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9402
9403 * Makeconfig
9404 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9405 * sysdeps/pthread/configure: File removed.
9406 * sysdeps/pthread/Makeconfig: New file.
9407 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9408 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9409
d9195db8
GB
94102012-08-16 Gary Benson <gbenson@redhat.com>
9411
9412 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9413 unmapping the first object in a namespace.
9414
86466cd9
RM
94152012-08-16 Roland McGrath <roland@hack.frob.com>
9416
9417 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9418 (__internal_setnetgrent): ... this. Add internal_function to
9419 definition. Add libc_hidden_def.
9420 (setnetgrent): Update caller.
9421 (internal_endnetgrent): Renamed to ...
9422 (__internal_endnetgrent): ... this. Add internal_function to
9423 definition. Add libc_hidden_def.
9424 (endnetgrent): Update caller.
9425 (internal_getnetgrent_r): Renamed to ...
9426 (__internal_getnetgrent_r): ... this. Add internal_function to
9427 definition. Add libc_hidden_def.
9428 (__getnetgrent_r): Update caller.
9429 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9430
c3c8283c
JM
94312012-08-16 Joseph Myers <joseph@codesourcery.com>
9432
9433 * stdlib/longlong.h: Update from GCC.
9434
db1ee0a8
RM
94352012-08-16 Roland McGrath <roland@hack.frob.com>
9436
9437 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9438 on _QL, which is set by umul_ppmm but never used.
9439 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9440 variables, which are set by GMP macros but never used.
9441 * stdio-common/_itowa.c (_itowa): Likewise.
9442 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9443 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9444
30f69637
CD
94452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9446
9447 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9448 struct La_sh_regs is not constant.
9449 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9450 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9451 and struct La_sparc64_regs are not constant.
9452
93a78ac4
JM
94532012-08-16 Joseph Myers <joseph@codesourcery.com>
9454
9455 * sysdeps/unix/sysv/linux/kernel-features.h
9456 (__ASSUME_POSIX_TIMERS): Remove.
9457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9459 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9460 Make code unconditional.
9461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9462 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9463 Make code unconditional.
9464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9465 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9466 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9468 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9469 Make code unconditional.
9470 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9471 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9472 (__libc_missing_posix_timers): Remove.
9473
dd924cd7
RM
94742012-08-15 Roland McGrath <roland@hack.frob.com>
9475
4b4f2771
RM
9476 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9477 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9478
601c888b
RM
9479 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9480
176790a7
RM
9481 * elf/dl-sym.c: Include <stdlib.h>.
9482
329bc018
RM
9483 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9484 constants, which avoids warnings in 32-bit builds.
9485
e04e272d
RM
9486 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9487 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9488
952bf94a
RM
9489 * misc/lseek.c: File moved to ...
9490 * io/lseek.c: ... here.
9491
7c99b50a
RM
9492 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9493
dd924cd7
RM
9494 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9495 shifting LEN more than 31 bits at once.
9496
b3f479a8
LD
94972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9498
9499 [BZ #14195]
8c4ae0d4
RM
9500 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9501 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9502 * string/test-strncasecmp.c (check1): Renamed to...
9503 (bz12205): ...this.
9504 (bz14195): Add new testcase for two empty input strings and N > 0.
9505 (test_main): Call new testcase, adapt for renamed function.
9506
9c55864e
AJ
95072012-08-15 Andreas Jaeger <aj@suse.de>
9508
9509 [BZ #14090]
9510 * crypt/md5test2.c: New test, based on test supplied by Serge
9511 Belyshev <belyshev@depni.sinp.msu.ru>.
9512 * crypt/Makefile (xtests): Add md5test-giant..
9513 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9514
02dcb6c5
PE
95152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9516
9517 [BZ #14090]
9518 * crypt/md5.c (md5_process_block): Don't assume the buffer
9519 length is less than 2**32.
9520 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9521 length is less than 2**64.
9522
a3f95dcc
RM
95232012-08-15 Roland McGrath <roland@hack.frob.com>
9524
be75d758
RM
9525 * string/str-two-way.h: Include <sys/param.h>.
9526 (MAX): Macro removed.
9527
7312ca90
RM
9528 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9529 Move #define and #undef of memmove to just before and after
9530 including <string.h>.
9531
9a0a5486
RM
9532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9533 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9534 and after including <string.h>. Move declarations of
9535 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9536 to before #include "string/memmove.c".
9537
67cc348d
RM
9538 * include/dirent.h: Declare __getdirentries.
9539
a3f95dcc
RM
9540 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9541 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9542
ca98e171
MF
95432012-08-14 Mike Frysinger <vapier@gentoo.org>
9544
9545 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9546 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9547 * sysdeps/i386/configure: Regenerated.
9548 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9549 STABS_CURRENT_FILE, and STABS_FUN.
9550 (END): Remove call to STABS_FUN_END.
9551 (STABS_CURRENT_FILE1): Delete.
9552 (STABS_CURRENT_FILE): Likewise.
9553 (STABS_FUN): Likewise.
9554 (STABS_FUN_END): Likewise.
9555 (STABS_FUN2): Likewise.
9556 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9557 * sysdeps/x86_64/configure: Regenerated.
9558
5908bf46
RM
95592012-08-14 Roland McGrath <roland@hack.frob.com>
9560
9561 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9562 * elf/dl-lookup.c: Likewise.
5908bf46 9563
f2c05b9e
JM
95642012-08-14 Joseph Myers <joseph@codesourcery.com>
9565
9566 * sysdeps/unix/sysv/linux/kernel-features.h
9567 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9568 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9569 unconditionally.
9570 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9571 unconditionally.
9572 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9573 condition on __ASSUME_CLONE_THREAD_FLAGS.
9574
e11f5155
AJ
95752012-08-14 Andreas Jaeger <aj@suse.de>
9576
9577 * sysdeps/i386/fpu/libm-test-ulps: Update.
9578
51a9ba86
MK
95792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9580
2fdd4f78
AJ
9581 * include/atomic.h (atomic_exchange_and_add): Split into ...
9582 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9583 New atomic macros.
51a9ba86 9584
ba6cba9e
MT
95852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9586
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9588
42443a47
JL
95892012-08-13 Jeff Law <law@redhat.com>
9590
9591 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9592 null byte in the output string.
9593
121dce05
JM
95942012-08-10 Joseph Myers <joseph@codesourcery.com>
9595
9596 * sysdeps/unix/sysv/linux/kernel-features.h
9597 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9598 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9599 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9600 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9601 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9602 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9603 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9604
bf51f568
JL
96052012-08-09 Jeff Law <law@redhat.com>
9606
9607 [BZ #13939]
9608 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9609 When avoid_arena is set, don't retry in the that arena. Pick the
9610 next one, whatever it might be.
9611 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9612 (arena_lock): Pass in new parameter to arena_get2.
9613 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9614 arena_get2.
9615 (__libc_malloc): Unify retrying after main arena failure with
9616 __libc_memalign version.
9617 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9618
f85fa270
L
96192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9620
9621 [BZ #14166]
9622 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9623 to __redirect_strstr.
9624 (__strstr_sse42): Use typeof __redirect_strstr.
9625 (__strstr_ia32): Likewise.
9626 (__libc_strstr): New prototype.
9627 (strstr): Renamed to ...
9628 (__libc_strstr): This.
9629 (strstr): New strong alias of __libc_strstr.
9630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9631 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9632 __redirect_time.
9633 Include <time.h>.
9634 (__libc_time): New prototype.
9635 (time_ifunc): Replace time with __libc_time.
9636 (time): New strong alias and hidden definition of __libc_time.
9637 (__GI_time): Remove strong alias.
9638 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9639 Include <stddef.h>.
9640 (memmove): Redefined to __redirect_memmove.
9641 (__memmove_sse2): Use typeof __redirect_memmove.
9642 (__memmove_ssse3): Likewise.
9643 (__memmove_ssse3_back): Likewise.
9644 (__libc_memmove): New prototype.
9645 (memmove): Renamed to ...
9646 (__libc_memmove): This.
9647 (memmove): New strong alias of __libc_memmove.
9648
33b4a91e
MS
96492012-08-08 Mark Salter <msalter@redhat.com>
9650
9651 * elf/elf.h
9652 (R_MN10300_TLS_GD): Define.
9653 (R_MN10300_TLS_LD): Likewise.
9654 (R_MN10300_TLS_LDO): Likewise.
9655 (R_MN10300_TLS_GOTIE): Likewise.
9656 (R_MN10300_TLS_IE): Likewise.
9657 (R_MN10300_TLS_LE): Likewise.
9658 (R_MN10300_TLS_DTPMOD): Likewise.
9659 (R_MN10300_TLS_DTPOFF): Likewise.
9660 (R_MN10300_TLS_TPOFF): Likewise.
9661 (R_MN10300_SYM_DIFF): Likewise.
9662 (R_MN10300_ALIGN): Likewise.
9663 (R_MN10300_NUM): Update.
9664
b36137f1
JM
96652012-08-08 Joseph Myers <joseph@codesourcery.com>
9666
9667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9668 Remove.
9669
cdd915fd
RM
96702012-08-08 Roland McGrath <roland@hack.frob.com>
9671
a2433aac
RM
9672 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9673
cdd915fd
RM
9674 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9675 sysdeps/unix -> sysdeps/posix move.
9676 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9677
bf9b740a
AM
96782012-08-07 Allan McRae <allan@archlinux.org>
9679
9680 [BZ #14303]
9681 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9682 (SUNOS_CPP): Likewise.
9683 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9684 not found.
9685 (open_input): Call CPP using execvp.
9686
93df14ee
JM
96872012-08-07 Joseph Myers <joseph@codesourcery.com>
9688
9689 * sysdeps/unix/sysv/linux/kernel-features.h
9690 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9691 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9692 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9693 (__ASSUME_WAITID_SYSCALL): Likewise.
9694 * sysdeps/unix/sysv/linux/dl-execstack.c
9695 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9696 code unconditional.
9697 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9698 conditional code.
9699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9700 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9701 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9702 code.
9703 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9704 unconditional.
9705 [__ASSUME_WAITID_SYSCALL]: Likewise.
9706 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9707
d34689de
RM
97082012-08-07 Roland McGrath <roland@hack.frob.com>
9709
a281decc
RM
9710 * sysdeps/unix/closedir.c: Renamed to ...
9711 * sysdeps/posix/closedir.c: ... here.
9712 * sysdeps/unix/dirfd.c: Renamed to ...
9713 * sysdeps/posix/dirfd.c: ... here.
9714 * sysdeps/unix/dirstream.h: Renamed to ...
9715 * sysdeps/posix/dirstream.h: ... here.
9716 * sysdeps/unix/fdopendir.c: Renamed to ...
9717 * sysdeps/posix/fdopendir.c: ... here.
9718 * sysdeps/unix/opendir.c: Renamed to ...
9719 * sysdeps/posix/opendir.c: ... here.
9720 * sysdeps/unix/readdir.c: Renamed to ...
9721 * sysdeps/posix/readdir.c: ... here.
9722 * sysdeps/unix/readdir_r.c: Renamed to ...
9723 * sysdeps/posix/readdir_r.c: ... here.
9724 * sysdeps/unix/rewinddir.c: Renamed to ...
9725 * sysdeps/posix/rewinddir.c: ... here.
9726 * sysdeps/unix/seekdir.c: Renamed to ...
9727 * sysdeps/posix/seekdir.c: ... here.
9728 * sysdeps/unix/telldir.c: Renamed to ...
9729 * sysdeps/posix/telldir.c: ... here.
9730 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9731 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9732 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9733 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9734
22895b47
RM
9735 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9736 * bits/fcntl.h: ... here.
9737
707a53b6
RM
9738 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9739 not 0.
9740 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9741 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9742 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9743 (struct flock): Move l_start, l_len to the beginning.
9744 Use __pid_t for l_pid.
9745 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9746 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9747 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9748 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9749 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9750 [__USE_LARGEFILE64] (struct flock64): New type.
9751 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9752
f0bd3e25
RM
9753 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9754 * bits/dirent.h: ... here.
9755
d34689de
RM
9756 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9757 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9758
6dad2c06
JM
97592012-08-07 Joseph Myers <joseph@codesourcery.com>
9760
9761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9762 Change from 2.6.0 to 2.6.16.
9763 * sysdeps/unix/sysv/linux/configure: Regenerated.
9764 * sysdeps/unix/sysv/linux/kernel-features.h
9765 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9766 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9767 version.
9768 (__ASSUME_UTIMES): Likewise.
9769 (__ASSUME_CLONE_STOPPED): Remove.
9770 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9771 architectures, not kernel version.
9772 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9773 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9774 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9775 (__ASSUME_WAITID_SYSCALL): Likewise.
9776 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9777 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9778 * README: State 2.6.16 as minimum Linux kernel version. Do not
9779 refer to older versions.
9780
03af9520
RM
97812012-08-06 Roland McGrath <roland@hack.frob.com>
9782
8e49df1d
RM
9783 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9784 Define alphasort64 as an alias.
9785 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9786 Define versionsort64 as an alias.
9787 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9788 Define scandir64 as an alias.
9789 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9790 Define scandirat64 as an alias.
9791 * dirent/alphasort64.c (alphasort64):
9792 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9793 * dirent/versionsort64.c: Likewise.
9794 * dirent/scandir64.c: Likewise.
9795 * dirent/scandirat64.c: Likewise.
9796 * sysdeps/wordsize-64/alphasort.c: File removed.
9797 * sysdeps/wordsize-64/alphasort64.c: File removed.
9798 * sysdeps/wordsize-64/scandir.c: File removed.
9799 * sysdeps/wordsize-64/scandir64.c: File removed.
9800 * sysdeps/wordsize-64/scandirat.c: File removed.
9801 * sysdeps/wordsize-64/scandirat64.c: File removed.
9802 * sysdeps/wordsize-64/versionsort.c: File removed.
9803 * sysdeps/wordsize-64/versionsort64.c: File removed.
9804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9806 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9808 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9812
9813 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9815 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9817 [defined __arch64__ || defined __sparcv9]
9818 (__INO_T_MATCHES_INO64_T): New macro.
9819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9820 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9821 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9822 * sysdeps/unix/sysv/linux/bits/dirent.h
9823 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9824 (_DIRENT_MATCHES_DIRENT64): New macro.
9825
03af9520
RM
9826 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9827 Define lockf64 as an alias.
9828 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9829 Define fseeko64 as an alias.
9830 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9831 Define ftello64 as an alias.
9832 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9833 Define _IO_fgetpos64 and fgetpos64 as aliases.
9834 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9835 Define _IO_fsetpos64 and fsetpos64 as aliases.
9836 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9837 Conditionalize body on this.
9838 * libio/fseeko64.c: Likewise.
9839 * libio/ftello64.c: Likewise.
9840 * libio/iofgetpos64.c: Likewise.
9841 * libio/iofsetpos64.c: Likewise.
9842 * sysdeps/wordsize-64/lockf.c: File removed.
9843 * sysdeps/wordsize-64/lockf64.c: File removed.
9844 * sysdeps/wordsize-64/fseeko.c: File removed.
9845 * sysdeps/wordsize-64/fseeko64.c: File removed.
9846 * sysdeps/wordsize-64/ftello.c: File removed.
9847 * sysdeps/wordsize-64/ftello64.c: File removed.
9848 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9849 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9850 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9851 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9858 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9862
9863 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9865 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9867 [defined __arch64__ || defined __sparcv9]
9868 (__OFF_T_MATCHES_OFF64_T): New macro.
9869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9870 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9872 (__OFF_T_MATCHES_OFF64_T): New macro.
9873
c5757acd
L
98742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9875
9876 * stdlib/secure-getenv.c (__secure_getenv): Replace
9877 GLIBC_2_16 with GLIBC_2_17.
9878
3a31811e
L
98792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9883
faa2bccb
DM
98842012-08-03 David S. Miller <davem@davemloft.net>
9885
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9887
85fe1997
JM
98882012-08-03 Joseph Myers <joseph@codesourcery.com>
9889
9890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9891 Remove.
9892 (__ASSUME_CORRECT_SI_PID): Likewise.
9893 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9894 (__ASSUME_TMPFS_NAME): Likewise.
9895 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9896 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9897 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9898 (HAVE_AUX_SECURE): Make definition unconditional.
9899 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9900 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9901
4f75b7a0
RM
99022012-08-03 Roland McGrath <roland@hack.frob.com>
9903
9904 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9905 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9906 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9908 __eloop_threshold instead of SYMLOOP_MAX.
9909
9910 * sysdeps/generic/eloop-threshold.h: New file.
9911 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9912 of MAXSYMLINKS.
9913 * elf/chroot_canon.c (chroot_canon): Likewise.
9914
7aab07e4
JM
99152012-08-03 Joseph Myers <joseph@codesourcery.com>
9916
9917 [BZ #13717]
9918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9919 Change to 2.6.0 everywhere.
9920 * sysdeps/unix/sysv/linux/configure: Regenerated.
9921 * sysdeps/unix/sysv/linux/kernel-features.h
9922 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9923 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9924 kernel versions.
9925 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9926 (__ASSUME_FUTEX_REQUEUE): Remove.
9927 (__ASSUME_STATFS64): Define unconditionally.
9928 (__ASSUME_AT_SECURE): Likewise.
9929 (__ASSUME_CORRECT_SI_PID): Likewise.
9930 (__ASSUME_TGKILL): Define without depending on kernel version for
9931 i386.
9932 (__ASSUME_UTIMES): Likewise.
9933 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9934 kernel version.
9935 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9936 (__ASSUME_TMPFS_NAME): Likewise.
9937 * README: Update reference to Linux kernel versions.
9938
b67e9372
MP
99392012-08-02 Marek Polacek <polacek@redhat.com>
9940
1f529f7d 9941 [BZ# 14150]
b67e9372
MP
9942 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9943 libc_cv_asm_type_prefix with %.
9944 * configure: Regenerated.
d2441631
RM
9945 * include/libc-symbols.h: Remove comment about
9946 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9947 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9948 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9949 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9950 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9951 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9952 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9953 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9954 * elf/tst-unique2mod1.c: Likewise.
9955 * elf/tst-unique1mod2.c: Likewise.
9956 * elf/tst-unique1mod1.c: Likewise.
9957 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9958 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9959 Replace ASM_TYPE_DIRECTIVE with .type.
9960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9961 * sysdeps/i386/sysdep.h: Likewise.
9962 * sysdeps/x86_64/sysdep.h: Likewise.
9963 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9965 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9966 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9967 * sysdeps/powerpc/powerpc32/sysdep.h:
9968 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9969 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9970 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9971 * sysdeps/i386/fpu/e_powf.S: Likewise.
9972 * sysdeps/i386/fpu/e_expl.S: Likewise.
9973 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9975 * sysdeps/i386/fpu/e_pow.S: Likewise.
9976 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9978 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9979 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9980 * sysdeps/i386/fpu/e_log2.S: Likewise.
9981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9983 * sysdeps/i386/fpu/e_powl.S: Likewise.
9984 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9985 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9986 * sysdeps/i386/fpu/e_logl.S: Likewise.
9987 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9988 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9989 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9990 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9991 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9992 * sysdeps/i386/fpu/e_log.S: Likewise.
9993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9994 * sysdeps/i386/fpu/e_logf.S: Likewise.
9995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9997 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9998 * sysdeps/i386/fpu/e_log10.S: Likewise.
9999 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10000 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10001 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10002 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10003 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10004 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10005 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10006 * sysdeps/i386/i686/strtok.S: Likewise.
10007 * sysdeps/i386/i386-mcount.S: Likewise.
10008 * sysdeps/i386/strtok.S: Likewise.
10009 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10012 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10013 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10018 * sysdeps/x86_64/_mcount.S: Likewise.
10019 * sysdeps/x86_64/strtok.S: Likewise.
10020 * sysdeps/sh/_mcount.S: Likewise.
10021
2747bf9a
RM
100222012-08-01 Roland McGrath <roland@hack.frob.com>
10023
10024 * libio/iofopen.c: Include <fcntl.h>.
10025 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10026 (_IO_fopen64, fopen64): Define as aliases.
10027 * libio/iofopen64.c: Include <fcntl.h>.
10028 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10029 Conditionalize body on this.
10030 * sysdeps/wordsize-64/iofopen.c: File removed.
10031 * sysdeps/wordsize-64/iofopen64.c: File removed.
10032
3fb791b8
MP
100332012-08-01 Marek Polacek <polacek@redhat.com>
10034
10035 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10036 Use dlfcn directly instead of a variable.
10037 (binfmt-subdir): Do not define.
10038 (dlfcn): Likewise.
10039
a9f1039f
JM
100402012-08-01 Joseph Myers <joseph@codesourcery.com>
10041
23bddc06
JM
10042 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10043 Remove all definitions.
10044 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10045 <kernel-features.h>.
10046 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10047 (miss_F_GETOWN_EX): Remove all definitions.
10048 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10049 macro definition.
10050 [!__ASSUME_FCNTL64]: Remove conditional code.
10051 [__ASSUME_FCNTL64]: Make code unconditional.
10052 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10053 <kernel-features.h>.
10054 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10055 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10056 (lockf64) [__NR_fcntl64]: Make code unconditional.
10057 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10058
a9f1039f
JM
10059 * sysdeps/unix/sysv/linux/kernel-features.h
10060 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10061 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10062 Make code unconditional.
10063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10066 [__NR_vfork]: Make code unconditional.
10067 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10068 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10070 [__NR_vfork]: Make code unconditional.
10071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10073
09c0ee5f
RM
100742012-08-01 Roland McGrath <roland@hack.frob.com>
10075
48aec5b9
RM
10076 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10077 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10078
cd97c966
RM
10079 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10080 Define mkstemp64 as an alias.
3f55550c
RM
10081 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10082 Define mkstemps64 as an alias.
cd97c966
RM
10083 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10084 Define mkostemp64 as an alias.
b8625cfc
RM
10085 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10086 Define mkostemps64 as an alias.
cd97c966
RM
10087 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10088 Conditionalize body on this.
10089 * misc/mkostemp64.c: Likewise.
b8625cfc 10090 * misc/mkostemps64.c: Likewise.
3f55550c 10091 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10092 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10093 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10094 * sysdeps/wordsize-64/mkostemp.c: File removed.
10095 * sysdeps/wordsize-64/mkstemp.c: File removed.
10096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10100
09c0ee5f
RM
10101 [BZ #14138]
10102 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10103 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10104 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10105 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10106
10107 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10108 compat_symbol macros from <shlib-compat.h> rather than the underlying
10109 default_symbol_version and symbol_version macros, so that DEFAULT
10110 lines in shlib-versions are respected.
10111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10112
7e66ee51
FW
101132012-08-01 Florian Weimer <fweimer@redhat.com>
10114
10115 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10116 Declare with warn_unused_result.
10117 (setgid, setregid, setegid, setresgid): Likewise.
10118 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10119 Likewise.
10120 * WUR-REPORT: Remove set*id functions.
10121
d2a54255
PT
101222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10123
10124 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10125
7ecdb005
RM
101262012-07-31 Roland McGrath <roland@hack.frob.com>
10127
789bd351
RM
10128 * include/sys/socket.h (__libc_accept, __libc_accept4):
10129 Add attribute_hidden.
10130 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10131
40ce302d
RM
10132 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10133 use of PTR_MANGLE.
10134 * inet/getnetgrent_r.c (setup): Likewise.
10135
7ecdb005
RM
10136 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10137
e2eabb2c
DM
101382012-07-31 David S. Miller <davem@davemloft.net>
10139
10140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10141
d0419dbf
JM
101422012-07-31 Joseph Myers <joseph@codesourcery.com>
10143
10144 [BZ #13629]
10145 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10146 value between 1.0 and 2.0 and smaller part has absolute value less
10147 than 1.0.
10148 * math/s_clog10.c (__clog10): Likewise.
10149 * math/s_clog10f.c (__clog10f): Likewise.
10150 * math/s_clog10l.c (__clog10l): Likewise.
10151 * math/s_clogf.c (__clogf): Likewise.
10152 * math/s_clogl.c (__clogl): Likewise.
10153 * math/libm-test.inc (clog_test): Add more tests.
10154 (clog10_test): Likewise.
10155 * sysdeps/i386/fpu/libm-test-ulps: Update.
10156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10157
2bc13872
FW
101582012-07-31 Florian Weimer <fweimer@redhat.com>
10159
10160 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10161 Exit with zero in case no suitable GID is found, and write a
10162 message to standard error.
10163
bea9b193
RM
101642012-07-30 Roland McGrath <roland@hack.frob.com>
10165
10166 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10167 rather than to 1.
10168 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10169 (MAXPATHLEN): Removed.
10170 (NOGROUP, NODEV): New macros.
10171 (setbit, clrbit, isset, isclr): New macros.
10172 (howmany, roundup, powerof2): New macros.
10173 (DEV_BSIZE): New macro.
10174
10175 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10176 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10177
10178 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10179 definition on [!__NO_LONG_DOUBLE_MATH].
10180
10181 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10182 PTR_MANGLE and PTR_DEMANGLE.
10183
10184 * socket/accept4.c (accept4): Rename to __libc_accept4.
10185 Define accept4 as a weak alias.
10186
10187 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10188 on [_DIRENT_HAVE_D_TYPE].
10189 * io/ftw.c (ftw_dir): Likewise.
10190
10191 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10192
10193 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10194
10195 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10196 Use the BSD numbers rather than the arbitrary ones we had.
10197 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10198 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10199 (SIGXCPU, SIGXFSZ): New macros.
10200 (_NSIG): Now 32.
10201
10202 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10203 initializer on [_LIBC_REENTRANT].
10204
10205 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10206 definitions inside [_POSIX_MAPPED_FILES].
10207
10208 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10209
10210 * dirent/opendir.c: Include <fcntl.h>.
10211
10212 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10213 (__libc_getspecific): Likewise.
10214 (__libc_key_create): Likewise.
10215
10216 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10217 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10218 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10219 (tmpfile64): Define as alias.
10220 * sysdeps/wordsize-64/tmpfile.c: File removed.
10221 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10224
10225 * stdio-common/vfscanf.c: Include <stdbool.h>.
10226 * nss/makedb.c: Likewise.
10227 * stdio-common/_i18n_number.h: Likewise.
10228 * argp/argp-help.c: Likewise.
10229 * posix/wordexp.c: Likewise.
10230 * sysdeps/posix/spawni.c: Likewise.
10231 * nss/nss_files/files-initgroups.c: Likewise.
10232 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10233 * nss/nss_files/files-initgroups.c: Likewise.
10234 * nss/nss_db/db-netgrp.c: Likewise.
10235 * nss/nss_db/db-initgroups.c: Likewise.
10236 * io/fchmodat.c: Include <sys/stat.h>.
10237
10238 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10239 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10240
10241 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10242 [HAVE_MMAP].
10243
10244 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10245 Add multiple inclusion protection.
10246
e5abc686
DM
102472012-07-27 David S. Miller <davem@davemloft.net>
10248
10249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10250
815e6fa3
GB
102512012-07-27 Gary Benson <gbenson@redhat.com>
10252
10253 [BZ #14298]
10254 * elf/rtld.c: Include <stap-probe.h>.
10255 (dl_main): Added static probes "init_start" and "init_complete".
10256 * elf/dl-load.c: Include <stap-probe.h>.
10257 (lose): Take new parameter "nsid".
10258 Added static probe "map_failed".
10259 (_dl_map_object_from_fd): Pass namespace id to lose.
10260 Added static probe "map_start".
10261 (open_verify): Pass namespace id to lose.
10262 * elf/dl-open.c: Include <stap-probe.h>.
10263 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10264 and "reloc_complete".
10265 * elf/dl-close.c: Include <stap-probe.h>.
10266 (_dl_close_worker): Added static probes "unmap_start" and
10267 "unmap_complete".
10268 * elf/rtld-debugger-interface.txt: New file documenting the above.
10269
9f98c16c
RM
102702012-07-26 Roland McGrath <roland@hack.frob.com>
10271
10272 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10273 rather than a string variable.
10274 * sunrpc/rpc_main.c (h_output): Likewise.
10275 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10276
f3c22df3
PT
102772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10278
10279 * inet/check_native.c: New file.
10280
3129cfc6
JM
102812012-07-26 Joseph Myers <joseph@codesourcery.com>
10282
da865e95
JM
10283 [BZ #13629]
10284 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10285 if larger part has absolute value 1.0.
10286 * math/s_clog10.c (__clog10): Likewise.
10287 * math/s_clog10f.c (__clog10f): Likewise.
10288 * math/s_clog10l.c (__clog10l): Likewise.
10289 * math/s_clogf.c (__clogf): Likewise.
10290 * math/s_clogl.c (__clogl): Likewise.
10291 * math/libm-test.inc (clog_test): Add more tests.
10292 (clog10_test): Likewise.
10293 * sysdeps/i386/fpu/libm-test-ulps: Update.
10294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295
3129cfc6
JM
10296 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10297 (pltexit): Likewise.
10298 (La_regs): Likewise.
10299 (La_retval): Likewise.
10300 (int_retval): Likewise.
10301 Update #error for removed macros to refer only to definitions in
10302 tst-audit.h.
10303 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10304 macro.
10305 (pltexit): Likewise.
10306 (La_regs): Likewise.
10307 (La_retval): Likewise.
10308 (int_retval): Likewise.
10309 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10310 macro.
10311 (pltexit): Likewise.
10312 (La_regs): Likewise.
10313 (La_retval): Likewise.
10314 (int_retval): Likewise.
10315 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10316 macro.
10317 (pltexit): Likewise.
10318 (La_regs): Likewise.
10319 (La_retval): Likewise.
10320 (int_retval): Likewise.
10321 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10322 macro.
10323 (pltexit): Likewise.
10324 (La_regs): Likewise.
10325 (La_retval): Likewise.
10326 (int_retval): Likewise.
10327 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10328 macro.
10329 (pltexit): Likewise.
10330 (La_regs): Likewise.
10331 (La_retval): Likewise.
10332 (int_retval): Likewise.
10333 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10334 macro.
10335 (pltexit): Likewise.
10336 (La_regs): Likewise.
10337 (La_retval): Likewise.
10338 (int_retval): Likewise.
10339 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10340 macro definitions in tst-audit.h.
10341 * sysdeps/i386/tst-audit.h: New file.
10342 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10343 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10344 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10345 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10346 * sysdeps/sh/tst-audit.h: Likewise.
10347 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10348 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10349 * sysdeps/x86_64/tst-audit.h: Likewise.
10350
bfc07087
AJ
103512012-07-26 Andreas Jaeger <aj@suse.de>
10352
b1b2aaf8
AJ
10353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10354 ptrace.
10355
10356 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10357 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10358 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10359 PTRACE_O_MASK.
10360 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10362 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10363
bfc07087
AJ
10364 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10365 value.
10366
10367 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10368 _sigsys.
10369 (si_call_addr, si_syscall, si_arch): Define new macro.
10370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10371 _sigsys.
10372 (si_call_addr, si_syscall, si_arch): Define new marcro.
10373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10374 _sigsys.
10375 (si_call_addr, si_syscall, si_arch): Define new macro.
10376 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10377 _sigsys.
10378 (si_call_addr, si_syscall, si_arch): Define new macro.
10379
89b4b02f
JM
103802012-07-25 Joseph Myers <joseph@codesourcery.com>
10381
10382 [BZ #13717]
10383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10384 Change to 2.4.21 where previously 2.4.1.
10385 * sysdeps/unix/sysv/linux/configure: Regenerated.
10386 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10387 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10388 Linux kernel version.
10389 (__ASSUME_STD_AUXV): Remove.
10390 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10391 kernel version.
10392 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10393 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10394 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10395 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10396 (__ASSUME_NETLINK_SUPPORT): Likewise.
10397 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10398 (__no_netlink_support): Remove conditional definition.
10399 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10400 Remove.
10401 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10402 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10403 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10404 (if_nameindex_ioctl): Remove.
10405 (if_nameindex_netlink): Do not handle __no_netlink_support.
10406 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10407 code.
10408 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10409 Remove conditional code.
10410 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10411 code.
10412 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10413 unconditional.
10414 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10415 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10416 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10417 Remove.
10418 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10419 [!__ASSUME_STD_AUXV]: Remove conditional code.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10421 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10422 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10424 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10425 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10426 code.
10427 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10429 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10430 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10431 conditional code.
10432 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10434 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10435 code.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10437 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10438 conditional code.
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10440 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10441 code unconditional.
10442 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10443 conditional code.
10444 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10445 unconditional.
10446 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10447 conditional code.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10449 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10450 unconditional.
10451 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10452 conditional code.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10454 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10455 code unconditional.
10456 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10457 conditional code.
10458 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10459 unconditional.
10460 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10461 conditional code.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10463 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10464 code unconditional.
10465 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10466 conditional code.
10467 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10468 unconditional.
10469 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10470 conditional code.
10471
842a39cd
AS
104722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10473
10474 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10475 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10476 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10477 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10478 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10479 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10480 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10481 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10482 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10483 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10484 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10485 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10486 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10487 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10489 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10490 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10492 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10494 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10495 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10497
84b3fd84
FW
104982012-07-25 Florian Weimer <fweimer@redhat.com>
10499
10500 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10501 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10502 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10503 Introduce __libc_secure_getenv.
0c7936d5
FW
10504 * stdlib/Versions (2.17): Add secure_getenv
10505 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10506 * stdlib/secure-getenv.c: Rename __secure_getenv to
10507 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10508 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10509 * stdlib/tst-secure-getenv.c: New.
10510 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10511 * manual/startup.texi (Environment Access): Document
10512 secure_getenv.
84b3fd84
FW
10513 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10514 __libc_secure_getenv.
10515 * inet/ruserpass.c (ruserpass): Likewise.
10516 * malloc/mtrace.c (mtrace): Likewise.
10517 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10518 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10519 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10520 * sysdeps/posix/tempname.c: Likewise. Evaluate
10521 HAVE_SECURE_GETENV.
10522 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10523 __secure_getenv to __libc_secure_getenv.
84b3fd84 10524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10526 Likewise.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10536
56e49b71
JM
105372012-07-25 Joseph Myers <joseph@codesourcery.com>
10538
10539 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10540 (struct La_i86_retval): Likewise.
10541 (struct La_x86_64_regs): Likewise.
10542 (struct La_x86_64_retval): Likewise.
10543 (struct La_x32_regs): Likewise.
10544 (struct La_x32_retval): Likewise.
10545 (struct La_ppc32_regs): Likewise.
10546 (struct La_ppc32_retval): Likewise.
10547 (struct La_ppc64_regs): Likewise.
10548 (struct La_ppc64_retval): Likewise.
10549 (struct La_sh_regs): Likewise.
10550 (struct La_sh_retval): Likewise.
10551 (struct La_s390_32_regs): Likewise.
10552 (struct La_s390_32_retval): Likewise.
10553 (struct La_s390_64_regs): Likewise.
10554 (struct La_s390_64_retval): Likewise.
10555 (struct La_sparc32_regs): Likewise.
10556 (struct La_sparc32_retval): Likewise.
10557 (struct La_sparc64_regs): Likewise.
10558 (struct La_sparc64_retval): Likewise.
10559 (struct audit_ifaces): Remove architecture-specific pltenter and
10560 pltexit members.
10561 * sysdeps/i386/ldsodefs.h: New file.
10562 * sysdeps/powerpc/ldsodefs.h: Likewise.
10563 * sysdeps/s390/ldsodefs.h: Likewise.
10564 * sysdeps/sh/ldsodefs.h: Likewise.
10565 * sysdeps/sparc/ldsodefs.h: Likewise.
10566 * sysdeps/x86_64/ldsodefs.h: Likewise.
10567
354691b7
MP
105682012-07-25 Marek Polacek <polacek@redhat.com>
10569
10570 [BZ #6808]
10571 * math/libm-test.inc (yn_test): Add another test.
10572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10573 to ERANGE when the result is +-Inf.
10574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10575 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10576 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10577 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10578
bf9e2071
JM
105792012-07-24 Joseph Myers <joseph@codesourcery.com>
10580
10581 * conform/data/time.h-data (NULL): Use macro-constant. Require
10582 equal to 0.
10583 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10584 clock_t.
10585 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10586
57633811
TS
105872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10588
10589 * configure.in <sysdeps resolving>: Correct printing
10590 Implies_before.
10591 * configure: Regenerate.
10592
c23c33b0
TS
105932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10594
10595 * math/w_ilogb.c: Include <limits.h>.
10596 * math/w_ilogbl.c: Likewise.
10597
b5982523
JM
105982012-07-20 Joseph Myers <joseph@codesourcery.com>
10599
10600 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10601 va_copy. Document allowing for unavailable va_copy only as
10602 pre-C99 compatibility.
10603 * manual/string.texi (Copying and Concatenation): Use va_copy
10604 instead of __va_copy in concat example.
10605
ac4ea442
PT
106062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10607
10608 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10609 (__sendto): Use create_address_port. Initialize APORT and deallocate
10610 it if not null.
10611
f98eafbd
PT
10612 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10613 with O_NOLINK passed to __file_name_lookup.
10614
898c7aab
PT
10615 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10616 with O_NOLINK passed to __file_name_lookup.
10617
0ced335a
PT
10618 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10619 negative N or less than NGIDS.
10620
b3404dbd
PT
10621 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10622 type to string_t. Set ERANGE as errno and return it if NAME is not big
10623 enough. Use memcpy instead of strncpy.
10624
0f48659e
JM
106252012-07-20 Joseph Myers <joseph@codesourcery.com>
10626
10627 * elf/Makefile (check-data): Remove.
10628 (localplt.data): New vpath directive.
10629 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10630 instead of $(check-data).
10631 * scripts/data/localplt-generic.data: Move to ...
10632 * sysdeps/generic/localplt.data: ... here.
10633 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10634 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10635 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10637 ... here.
10638 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10640 ... here.
10641 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10643 ... here.
10644 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10646 ... here.
10647 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10649 ... here.
10650 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10652 ... here.
10653
d37cbdaa
AZ
106542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10655
10656 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10657 PPC32 and PPC64 files.
10658 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10659 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10660
46f85fc2
AK
106612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10662
10663 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10664 __makecontext_ret to ...
10665 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10666 ... here and call exit if uc_link is NULL. New file.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10668 __makecontext_ret.S.
10669 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10670 __makecontext_ret to ...
10671 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10672 ... here and call exit if uc_link is NULL. New file.
10673 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10674 __makecontext_ret.S.
10675
08f43f9b
AK
106762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10677
10678 * elf/elf.h (R_390_IRELATIVE): New definition.
10679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10680 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10681 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10682 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10683 (elf_machine_lazy_rel): Likewise.
10684 * sysdeps/s390/dl-irel.h: New file.
10685 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10686 * sysdeps/s390/s390-64/memset.S: New asm code.
10687 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10688 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10690 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10691 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10692 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10694 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10695 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10696 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10697 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10698 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10699 * sysdeps/s390/s390-32/memset.S: New asm code.
10700 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10701
3b05db33
MP
107022012-07-17 Marek Polacek <polacek@redhat.com>
10703
10704 [BZ #14349]
10705 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10706 * sysdeps/s390/s390-64/configure.in: Likewise.
10707 * sysdeps/sparc/configure.in: Likewise.
10708 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10709 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10710 * sysdeps/i386/configure.in: Likewise.
10711 * sysdeps/x86_64/configure.in: Likewise.
10712 * sysdeps/sh/configure.in: Likewise.
10713 * sysdeps/s390/s390-32/configure: Regenerated.
10714 * sysdeps/s390/s390-64/configure: Likewise.
10715 * sysdeps/x86_64/configure: Likewise.
10716 * sysdeps/sh/configure: Likewise.
10717 * sysdeps/powerpc/powerpc64/configure: Likewise.
10718 * sysdeps/powerpc/powerpc32/configure: Likewise.
10719 * sysdeps/sparc/configure: Likwise.
10720 * sysdeps/i386/configure: Likewise.
10721
a66877c6
MP
10722 * elf/dl-open.c: Comment fixes.
10723
cfc82fd8
JM
107242012-07-17 Joseph Myers <joseph@codesourcery.com>
10725
bd29910a
JM
10726 * Makefile [CXX] (check-data): Remove.
10727 [CXX] (c++-types.data): New vpath directive.
10728 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10729 vpath. Do not allow for C++ type data being missing.
10730 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10731 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10732 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10733 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10734 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10735 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10736 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10738 ... here.
10739 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10741 ... here.
10742 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10744 ... here.
10745 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10747 ... here.
10748 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10750 ... here.
10751 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10753 ... here.
10754 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10756 ... here.
10757 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10759
cfc82fd8
JM
10760 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10761 definitions to architecture-specific files.
10762 (TLS_IE): Likewise.
10763 (TLS_LD): Likewise.
10764 (TLS_GD): Likewise.
10765 * sysdeps/i386/tls-macros.h: New file.
10766 * sysdeps/powerpc/tls-macros.h: Likewise.
10767 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10768 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10769 * sysdeps/sh/tls-macros.h: Likewise.
10770 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10771 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10772 * sysdeps/x86_64/tls-macros.h: Likewise.
10773
f7db3170
TS
107742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10775
07cbfc23
TS
10776 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10777 zero value for regular exit case.
10778
f7db3170
TS
10779 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10780 (__start_context): Preserve zero value for regular exit case.
10781
dc97c227
TS
107822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10783 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10784
10785 * manual/setjmp.texi (setcontext): Clarify normal process
10786 termination when uc_link is the null pointer.
10787 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10788 exit call.
10789
d0cd7d02
AS
107902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10791
10792 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10793 preprocessor. Test for each exception mask separately.
10794
dd318934
AJ
107952012-07-16 Andreas Jaeger <aj@suse.de>
10796
10797 * po/ru.po: Update from translation team.
10798
8048311a
JM
107992012-07-15 Joseph Myers <joseph@codesourcery.com>
10800
10801 * conform/data/string.h-data (NULL): Use macro-constant. Require
10802 equal to 0.
10803 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10804 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10805 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10806 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10808
b637d46e
AJ
108092012-07-13 Andreas Jaeger <aj@suse.de>
10810
10811 * po/fr.po: Update from translation team.
10812
541428fe
MP
108132012-07-12 Marek Polacek <polacek@redhat.com>
10814
10815 [BZ #14173]
10816 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10817 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10818 loop condition.
10819
ec332e94
JM
108202012-07-12 Joseph Myers <joseph@codesourcery.com>
10821
10822 [BZ #13717]
10823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10824 Change to 2.4.1 where previously 2.4.0.
10825 * sysdeps/unix/sysv/linux/configure: Regenerated.
10826 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10827 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10828 version.
10829 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10830 (__ASSUME_AT_CLKTCK): Remove.
10831 (__ASSUME_AT_PAGESIZE): Likewise.
10832 (__ASSUME_AT_XID): Likewise.
10833 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10834 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10835 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10836 unconditionally.
10837 (HAVE_AUX_PAGESIZE): Likewise.
10838 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10839 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10840 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10841
7b6e99be
JB
108422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10843
10844 [BZ #14307]
10845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10846 the temporary buffer used to invoke __gethostbyname2_r,
10847 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10848 host_data / struct gaih_addrtuple.
10849 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10850 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10851 header file nss/nsswitch.h.
10852 * nss/nsswitch.h (global scope): Add definition of implementation
10853 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10854 resolv/nss_dns/dns-host.c).
10855
608404eb
AJ
108562012-07-11 Andreas Jaeger <aj@suse.de>
10857
10858 * po/fr.po: Update from translation team.
10859
71220aca
AJ
10860 * po/sv.po: Update from translation team
10861 * po/fr.po: Another update from translation team.
10862
28cfe843
AZ
108632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10864
10865 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10866 for subnormals or multiply small sinh result by itself.
10867 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10869
6b90f981
DM
108702012-07-11 David S. Miller <davem@davemloft.net>
10871
10872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10873
c6825772
AS
108742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10875
10876 [BZ #14347]
10877 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10878 (INTERNAL_MARK): Shift it here.
10879
7b8e0d49
MP
108802012-07-10 Marek Polacek <polacek@redhat.com>
10881
10882 [BZ #14151]
10883 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10884 libc_cv_asm_global_directive with .globl.
10885 * configure: Regenerated.
10886 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10887 with .globl.
10888 * sysdeps/i386/configure: Regenerated.
10889 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10890 with .globl.
10891 * sysdeps/x86_64/configure: Regenerated.
10892 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10893 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10894 * elf/tst-unique2mod2.c: Likewise.
10895 * elf/tst-unique2mod1.c: Likewise.
10896 * elf/tst-unique1mod2.c: Likewise.
10897 * elf/tst-unique1mod1.c: Likewise.
10898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10899 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10901 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10902 * sysdeps/mach/sysdep.h: Likewise.
10903 * sysdeps/i386/sysdep.h: Likewise.
10904 * sysdeps/i386/i386-mcount.S: Likewise.
10905 * sysdeps/x86_64/_mcount.S: Likewise.
10906 * sysdeps/x86_64/sysdep.h: Likewise.
10907 * sysdeps/sh/_mcount.S: Likewise.
10908 * sysdeps/sh/sysdep.h: Likewise.
10909 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10910 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10911 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10913 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10916 * locale/localeinfo.h: Likewise.
10917 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10918 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10919
6c55cda3
RM
109202012-07-09 Roland McGrath <roland@hack.frob.com>
10921
10922 [BZ #14336]
10923 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10924 system".
10925 * manual/message.texi (The Uniforum approach): Likewise.
10926 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10927 (glibc iconv Implementation): Likewise.
10928
638a572e
JM
109292012-07-09 Joseph Myers <joseph@codesourcery.com>
10930
10931 [BZ #14337]
10932 * math/s_clog.c (__clog): Avoid scaling a value down where that
10933 could result in underflow.
10934 * math/s_clog10.c (__clog10): Likewise.
10935 * math/s_clog10f.c (__clog10f): Likewise.
10936 * math/s_clog10l.c (__clog10l): Likewise.
10937 * math/s_clogf.c (__clogf): Likewise.
10938 * math/s_clogl.c (__clogl): Likewise.
10939 * math/libm-test.inc (clog_test): Add more tests.
10940 (clog10_test): Likewise.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
261f4859
AS
109442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10945
0abaf3e4
AS
10946 [BZ #14283]
10947 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10948 by 7 not 8 to examine high bit of fractional part.
10949
261f4859
AS
10950 [BZ #14042]
10951 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10952 for call to __mcount_internal.
10953 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10954 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10955 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10956
f17ac40d
JM
109572012-07-06 Joseph Myers <joseph@codesourcery.com>
10958
9ad63c23
JM
10959 [BZ #14154]
10960 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10961 approximation for values within 0x1p-13f of an odd multiple of
10962 pi/4.
10963 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10964 exception. Add more tests.
10965 * sysdeps/i386/fpu/libm-test-ulps: Update.
10966
f17ac40d
JM
10967 [BZ #6778]
10968 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10969 inputs and return -1 for them. Do not check for +Inf in case not
10970 reachable for +Inf.
10971 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10972 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10974 and return -1 for them. Do not check for +Inf in case not
10975 reachable for +Inf.
10976 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10977 define.
10978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10979 and return -1 for them. Do not check for +Inf in case not
10980 reachable for +Inf.
10981 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10982 spurious underflow.
10983 * sysdeps/i386/fpu/libm-test-ulps: Update.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
fb21f89b
MF
109862012-07-06 Mike Frysinger <vapier@gentoo.org>
10987
10988 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10989
cdfe2c5e
JM
109902012-07-05 Joseph Myers <joseph@codesourcery.com>
10991
10992 [BZ #14157]
10993 [BZ #14331]
10994 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10995 could result in spurious underflow. Scale down values above
10996 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10997 * math/s_csqrtf.c (__csqrtf): Likewise.
10998 * math/s_csqrtl.c (__csqrtl): Likewise.
10999 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11000 spurious underflow.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003
70d35b67
AS
110042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11005
704bc459
AS
11006 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11007 xopen-msg.sed.
11008 * catgets/xopen-msg.awk: New file.
11009 * catgets/xopen-msg.sed: Removed.
11010
70d35b67
AS
11011 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11012 po2text.sed.
11013 * intl/po2test.awk: New file.
11014 * intl/po2test.sed: Removed.
11015
ca61cf32
JM
110162012-07-04 Joseph Myers <joseph@codesourcery.com>
11017
11018 [BZ #14328]
11019 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11020 or multiply small sinh result by itself.
11021 * math/s_ctanf.c (__ctanf): Likewise.
11022 * math/s_ctanh.c (__ctanh): Likewise.
11023 * math/s_ctanhf.c (__ctanhf): Likewise.
11024 * math/s_ctanhl.c (__ctanhl): Likewise.
11025 * math/s_ctanl.c (__ctanl): Likewise.
11026 * math/libm-test.inc (ctan_test_tonearest): New function.
11027 (ctan_test_towardzero): Likewise.
11028 (ctan_test_downward): Likewise.
11029 (ctan_test_upward): Likewise.
11030 (ctanh_test_tonearest): Likewise.
11031 (ctanh_test_towardzero): Likewise.
11032 (ctanh_test_downward): Likewise.
11033 (ctanh_test_upward): Likewise.
11034 (main): Call these new functions.
11035 * sysdeps/i386/fpu/libm-test-ulps: Update.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037
ca48a46a
MF
110382012-07-03 Mike Frysinger <vapier@gentoo.org>
11039
11040 * .gitignore: Delete /ports entry.
11041
9d63d37d
AJ
110422012-07-03 Andreas Jaeger <aj@suse.de>
11043
11044 * po/bg.po: Update from translation team.
11045 * po/cs.po: Likewise.
11046 * po/de.po: Likewise.
11047 * po/hr.po: Likewise.
11048 * po/nl.pl: Likewise.
11049 * po/pl.po: Likewise.
11050 * po/vi.po: Likewise.
11051
370ca3d2
JM
110522012-07-03 Joseph Myers <joseph@codesourcery.com>
11053
95f5a9a8
JM
11054 * Makeconfig [!+link] (+link-before-libc): New variable.
11055 [!+link] (+link-after-libc): Likewise.
11056 [!+link] (+link-tests): Likewise.
11057 [!+link] (+link): Define in terms of $(+link-before-libc) and
11058 $(+link-after-libc).
11059 [!+link-static] (+link-static-before-libc): New variable.
11060 [!+link-static] (+link-static-after-libc): Likewise.
11061 [!+link-static] (+link-static-tests): Likewise.
11062 [!+link-static] (+link-static): Define in terms of
11063 $(+link-static-before-libc) and $(+link-static-after-libc).
11064 [build-shared] (link-libc-before-gnulib): New variable.
11065 [build-shared] (link-libc-tests): Likewise.
11066 [build-shared] (link-libc): Define in terms of
11067 $(link-libc-before-gnulib).
11068 [!build-shared] (link-libc-tests): New variable.
11069 (link-libc-static-tests): New variable.
11070 [!gnulib] (gnulib-arch): New variable.
11071 [!gnulib] (gnulib-tests): Likewise.
11072 [!gnulib] (static-gnulib-arch): Likewise.
11073 [!gnulib] (static-gnulib-tests): Likewise.
11074 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11075 Define with "=" instead of ":=".
11076 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11077 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11078 * Rules (binaries-all-notests): New variable.
11079 (binaries-all-tests): Likewise.
11080 (binaries-static-notests): Likewise.
11081 (binaries-static-tests): Likewise.
11082 (binaries-all): Define using $(binaries-all-notests) and
11083 $(binaries-all-tests).
11084 (binaries-static): Define using $(binaries-static-notests) and
11085 $(binaries-static-tests).
11086 (binaries-shared-tests): New variable.
11087 (binaries-shared-notests): Likewise.
11088 (binaries-shared): Remove variable.
11089 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11090 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11091 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11092 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11093 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11094 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11095 * elf/Makefile (sln-modules): New variable.
11096 (extra-objs): Add $(sln-modules:=.o).
11097 (ldconfig-modules): Add static-stubs.
11098 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11099 * elf/static-stubs.c: New file.
11100
7a845b2c
JM
11101 [BZ #14283]
11102 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11103 by 7 not 8 to examine high bit of fractional part. Use volatile
11104 variables when splitting into final array of floats if
11105 __FLT_EVAL_METHOD__ != 0.
11106 * math/libm-test.inc (cos_test): Add another test.
11107 (sin_test): Likewise.
11108 * sysdeps/i386/fpu/libm-test-ulps: Update.
11109
e2283f38
JM
11110 [BZ #14273]
11111 * math/libm-test.inc (cosh_test): Add more tests.
11112
370ca3d2
JM
11113 * version.h (RELEASE): Set to "development".
11114 (VERSION): Set to "2.16.90".
11115
ee9247c3
CD
111162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11117
11118 * NEWS: Update copyright. Remove last-updated date.
11119 Mention math library bug fixes and timezone data changes.
11120 * README: Mention GNU/Hurd, x32, and HPPA support status.
11121
4648c381
TS
111222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11123
11124 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11125
aac78a43
AJ
111262012-06-27 Andreas Jaeger <aj@suse.de>
11127
11128 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11129
ed3dbfad
AJ
111302012-06-25 Andreas Jaeger <aj@suse.de>
11131
11132 * sysdeps/s390/fpu/libm-test-ulps: Update.
11133
4d0ee855
AS
111342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11135 Thomas Schwinge <thomas@codesourcery.com>
11136
11137 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11138 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11140 fanotify_mark.
11141
af1bce34
TS
111422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11143
a9fa33ba
TS
11144 * sysdeps/mach/start.c: Remove file.
11145 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11146 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11147 * sysdeps/sh/init-first.c: Likewise.
11148
58f902b8
TS
11149 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11150 registers for frame unwinding purposes, add CFI directives.
11151 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11153 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11154 Likewise.
11155
1518f58b
TS
11156 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11157 __fortify_fail returning.
11158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11159
db9b5059
TS
11160 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11161 sysdeps/sh/____longjmp_chk.S.
11162 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11163 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11164 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11165 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11166
967705fe
TS
11167 * sysdeps/sh/abort-instr.h: New file.
11168 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11169 process in case exit returns.
11170
a9def8c4
TS
11171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11172 initialize the GOT register before use.
11173
2a649725
TS
11174 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11175 calculation of ARGC > 4.
11176
af1bce34
TS
11177 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11178 meaningful names to some local labels.
11179
d230f50a
KK
111802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11181 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11182
11183 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11184 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11185 (__arch_compare_and_exchange_val_16_acq): Likewise.
11186 (__arch_compare_and_exchange_val_32_acq): Likewise.
11187 (atomic_exchange_and_add): Fix gUSA sequence.
11188 (atomic_add): Likewise.
11189 (atomic_add_negative): Likewise.
11190 (atomic_add_zero): Likewise.
11191 (atomic_bit_test_set): Likewise.
11192
0479b305
AS
111932012-06-22 Andreas Schwab <schwab@redhat.com>
11194
11195 [BZ #13579]
11196 * include/link.h (struct link_map): Add l_free_initfini.
11197 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11198 l_initfini.
11199 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11200 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11201 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11202 set.
11203
0e3933b9
CD
112042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11205
11206 * configure.in: Use AC_LANG_SOURCE.
11207 * configure: Regenerate.
11208
4248b1b1
RM
112092012-06-22 Roland McGrath <roland@hack.frob.com>
11210
11211 * configure.in (libc_cv_localstatedir): New substituted variable.
11212 * configure: Regenerated.
11213 * config.make.in (localstatedir): New variable, substituted from
11214 libc_cv_localstatedir.
11215 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11216 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11217 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11218 * sysdeps/gnu/configure: Regenerated.
11219
006dd861
JL
112202012-06-21 Jeff Law <law@redhat.com>
11221
11222 [BZ #14277]
11223 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11224 free. Simplify list management for _LIBC case.
11225
79662d42
JM
112262012-06-21 Joseph Myers <joseph@codesourcery.com>
11227
b7abb4bf
JM
11228 [BZ #14273]
11229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11230 Clear sign bit of 64-bit integer value before comparing against
11231 overflow value.
11232
79662d42
JM
11233 * sysdeps/mach/configure: Regenerated.
11234
1f150908
L
112352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 [BZ #14278]
11238 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11239
28363bbf
JL
112402012-06-21 Jeff Law <law@redhat.com>
11241
11242 [BZ #13882]
11243 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11244 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11245 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11246 * elf/dl-open.c (dl_open_worker): Likewise.
11247
09615db4
CD
112482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11249
11250 * scripts/list-sources.sh: Scan PORTS for translations.
11251 * po/libc.pot: Regenerated.
11252
2174c6dd
AJ
112532012-06-21 Andreas Jaeger <aj@suse.de>
11254
11255 [BZ #12194]
11256 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11257 warning.
11258 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11259 * bits/byteswap-16.h (__bswap_16): Likewise.
11260 * bits/byteswap.h (__bswap_constant_16): Likewise.
11261
3ee947b1
L
112622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 [BZ #14117]
a2f34833
L
11265 * sysdeps/i386/fpu_control.h: Removed.
11266 * sysdeps/x86_64/fpu_control.h: Moved to ...
11267 * sysdeps/x86/fpu_control.h: Here.
11268
3ee947b1
L
11269 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11270 (_FPU_SETCW): Likewise.
11271
ed1825f8
L
112722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11273
25f1282a
L
11274 [BZ #14117]
11275 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11276 * sysdeps/x86/fpu/bits/mathinline.h: This.
11277 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11278
ed1825f8
L
11279 [BZ #14050]
11280 [BZ #14117]
11281 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11282 functions if __x86_64__ is defined.
11283
36d54b74
CLT
112842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11285
11286 * string/endian.h: Add !__ASSEMBLER__ condition for including
11287 conversion interfaces.
11288
10285c21
JM
112892012-06-15 Joseph Myers <joseph@codesourcery.com>
11290
11291 [BZ #14241]
11292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11293 of ABS(x) in calculating zero to negative powers other than odd
11294 integers.
11295 * math/libm-test.inc (pow_test): Add more tests.
11296
06c5abbd
AJ
112972012-06-15 Andreas Jaeger <aj@suse.de>
11298
11299 * manual/contrib.texi (Contributors): Update entry of Liubov
11300 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11301 Machado Filho.
11302
a3aeac40
CH
113032012-06-15 Cyril Hrubis <metan@ucw.cz>
11304
11305 * string/string.h: Add __wur to GNU version of strerror_r.
11306
49bdf4c1
L
113072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 [BZ #14229]
11310 * string/Makefile (tests): Add tst-strtok_r.
11311 * string/tst-strtok_r.c: New file.
11312 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11313 RAX_LP/RDX_LP on SAVE_PTR.
11314
834f9b8d
RM
113152012-06-14 Roland McGrath <roland@hack.frob.com>
11316
11317 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11318
75fa1921
JM
113192012-06-14 Joseph Myers <joseph@codesourcery.com>
11320
11321 * libm_test.inc (csqrt_test): Allow more spurious underflow
11322 exceptions.
11323 (j0_test): Likewise.
11324 (j1_test): Likewise.
11325 (y0_test): Likewise.
11326 (y1_test): Likewise.
11327
771766df
CD
113282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11329
11330 * po/Makefile (libc.pot): Use UTF-8 charset.
11331
ceb9e56b
PP
113322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11333
11334 [BZ #14210]
11335 Suppress sign-conversion warning from FD_SET.
11336 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11337 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11338 not unsigned long int.
11339 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11340
ddb28975
L
113412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 [BZ #14050]
11344 [BZ #14117]
11345 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11346 __extern_always_inline instead of __extern_inline.
11347 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11348 (__signbit): Likewise.
11349 (__signbitl): Support C++ namespace.
11350 (lrintf): New inline function.
11351 (lrint): Likewise.
11352 (llrintf): Likewise.
11353 (llrint): Likewise.
11354 (fmaxf): Likewise.
11355 (fmax): Likewise.
11356 (fminf): Likewise.
11357 (fmin): Likewise.
11358 (rint): Likewise.
11359 (rintf): Likewise.
11360 (ceil): Likewise.
11361 (ceilf): Likewise.
11362 (floor): Likewise.
11363 (floorf): Likewise.
11364 (nearbyint): Likewise.
11365 (nearbyintf): Likewise.
11366
d7b4fb26
TS
113672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11368
11369 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11370 non-default versions.
11371
eb55f5c2
RM
113722012-06-11 Roland McGrath <roland@hack.frob.com>
11373
11374 [BZ #14218]
11375 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11376
366af02c
TS
113772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11378
99ff6e5c
TS
11379 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11380 (FE_UPWARD, FE_DOWNWARD): Don't define.
11381 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11382 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11383
366af02c
TS
11384 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11385 reading it.
11386 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11387 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11388
793ea851
KK
113892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11390
11391 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11393 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11394 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11395
a728a38f
L
113962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11397
11398 [BZ #14117]
c08010c7
L
11399 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11400 * sysdeps/i386/fpu/Implies: New file.
11401 * sysdeps/x86_64/fpu/Implies: Likewise.
11402 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11403 * sysdeps/x86/fpu/bits/fenv.h: This.
11404
a728a38f
L
11405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11406 __SSE_MATH__.
11407
6e230d11
SP
114082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11409
11410 [BZ #14134]
11411 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11412 character 0xffff that matches the last element of the
11413 conversion table.
11414
1b671feb
AZ
114152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11416
11417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11418 fmodl commit.
11419
6043738b
AZ
114202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11421
11422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11423 values higher than 25.6283.
11424
34ae0b32
AZ
114252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11426
11427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11428 subnormal exponent extraction and add some __builtin_expect.
11429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11430 Fix for subnormal mantissa calculation.
11431
1214ec8f
MF
114322012-06-04 Mike Frysinger <vapier@gentoo.org>
11433
11434 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11435 cpu2 is -1 and errno is not ENOSYS.
11436
f3d1f93c
L
114372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 [BZ #14117]
0e4a3cd7
L
11440 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11441 * sysdeps/x86/bits/string.h: This.
11442 * sysdeps/x86_64/bits/string.h: Removed.
11443
6704c645
L
11444 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11445 if not compiling for x86-64, but compiling for >= i486.
11446
48495318
L
11447 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11448 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11449
14adcbfc
L
11450 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11451 New macro from Linux kernel 3.4.0.
11452 (FP_XSTATE_MAGIC2): Likewise.
11453 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11454 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11455 (struct _fpx_sw_bytes): New struct.
11456 (struct _xsave_hdr): Likewise.
11457 (struct _ymmh_state): Likewise.
11458 (struct _xstate): Likewise.
11459
68e408ab
L
11460 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11461 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11465 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11466
f3d1f93c
L
11467 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11468 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11469 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11470 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11471 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11472 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11473
d9dc34cd
TMQMF
114742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11475
11476 [BZ #13743]
11477 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11478 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11479 (sysdep_headers): Include sys/platform/ppc.h.
11480 * sysdeps/powerpc/test-gettimebase.c: Test for
11481 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11482 * manual/Makefile (appendices): Include platform.texi.
11483 * manual/contrib.texi (Contributors): Update @node pointers.
11484 * manual/maint.texi (Maintenance): Likewise.
11485 (Platform): New node.
11486 * manual/platform.texi: New file. Document the new features.
11487
4af3879c
SP
114882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11489 Jakub Jelinek <jakub@redhat.com>
11490
11491 [BZ #14188]
11492 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11493 where __builtin_expect is unavailable.
11494
2fd6ff13
DM
114952012-06-03 David S. Miller <davem@davemloft.net>
11496
11497 * stdlib/longlong.h: Updated from GCC.
11498
173f7220
AS
114992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11500
11501 [BZ #14042]
11502 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11503 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11504 __mcount_internal.
11505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11506 (GLIBC_2.16): Likewise.
11507
f34a1c6f
L
115082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11511
88a4576f
JM
115122012-06-01 Joseph Myers <joseph@codesourcery.com>
11513
ea32bcdd
JM
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11515 (default-abi): New variable.
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11517 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11518 variable.
11519 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11520 Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11522 Likewise.
11523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11524 Likewise.
11525
88a4576f
JM
11526 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11527 definition. Document in comment.
11528
402fe938
DM
115292012-06-01 David S. Miller <davem@davemloft.net>
11530
11531 * stdlib/longlong.h: Updated from GCC.
11532
3553723f
L
115332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 [BZ #14117]
3bd872c4
L
11536 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11537 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11538 sys/debugreg.h sys/io.h here.
11539 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11540 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11541 sys/io.h.
11542 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11543 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11544 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11545 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11546 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11547 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11548
3553723f
L
11549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11550 Define only if __x86_64__ is defined.
11551
4842e4fe
JM
115522012-06-01 Joseph Myers <joseph@codesourcery.com>
11553
c5bfe3d5
JM
11554 [BZ #14048]
11555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11556 Use int64_t for variable i.
11557 * math/libm-test.inc (fmod_test): Add more tests.
11558
4842e4fe
JM
11559 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11560 z computation is not scheduled after fetestexcept.
11561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11562 Use math_force_eval instead of asm to ensure calculation scheduled
11563 before exception test.
11564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11565 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11566
efb73488
AJ
115672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11568
11569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11570 computation is not scheduled after fetestexcept.
11571
29bcce7c
L
115722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11573
11574 [BZ #14117]
11575 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11576 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11577
73a68f94
AZ
115782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11579
11580 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11581 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11582
67b6df78
L
115832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11584
edf2933a 11585 [BZ #14117]
ebc64a18
L
11586 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11587 <bits/wordsize.h>.
11588 (__WCHAR_MIN): Support __WORDSIZE == 64.
11589 (__WCHAR_MAX): Likewise.
11590
edf2933a
L
11591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11593
57c6cf40
L
11594 [BZ #14183]
11595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11596 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11597
67b6df78 11598 [BZ #14117]
8eb6281e
L
11599 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11601
aac639f4
L
11602 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11603 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11604
67b6df78
L
11605 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11606 Defined to 1 if __x86_64__ isn't defined.
11607 (_STAT_VER_LINUX_OLD): New.
11608 (st_atime): Remove duplicate.
11609 (st_mtime): Likewise.
11610 (st_ctime): Likewise.
11611
1c2cfe81
DM
116122012-05-31 David S. Miller <davem@davemloft.net>
11613
11614 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11615 entries.
11616
5be8418c
AS
116172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11618
e7725326
AS
11619 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11620 gen-libm-test.pl.
11621
5be8418c
AS
11622 [BZ #14132]
11623 * elf/dl-reloc.c: Include <_itoa.h>.
11624 (_dl_reloc_bad_type): Remove use of INTUSE.
11625 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11626 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11627 * stdio-common/psiginfo.c (psiginfo): Likewise.
11628 * stdio-common/psignal.c (psignal): Likewise.
11629 * string/strsignal.c (strsignal): Likewise.
11630 * include/signal.h (_sys_siglist): Declare hidden proto.
11631 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11632 INTVARDEF with libc_hidden_data_def.
11633 * stdio-common/itoa-udigits.c: Likewise.
11634 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11635 (_itoa_lower_digits_internal): Remove declaration.
11636 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11637 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11638 (_sys_sigabbrev_internal): Remove aliases.
11639 (_sys_siglist): Define hidden alias.
11640
507352f1
MT
116412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11642
11643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11644 bits/sysctl.h.
11645
42bbb1c3
L
116462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 [BZ #14117]
6bd784b6
L
11649 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11650 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11651
8bca20f0
L
11652 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11654 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11655 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11657 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11658
f9e890a9
L
11659 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11660 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11661 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11662
471101a1
L
11663 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11664 with __addr.
11665 (insw): Likewise.
11666 (insl): Likewise.
11667 (outsb): Likewise.
11668 (outsw): Likewise.
11669 (outsl): Likewise.
11670
6451c862
L
11671 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11673 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11674
a254b8c9
L
11675 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11676 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11677 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11678 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11679 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11680 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11681
b8dfdd92
L
11682 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11683 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11684
578cd270
L
11685 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11686 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11687
de662f5f
L
11688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11691
25653439
L
11692 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11693 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11694 to ...
11695 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11696
6bad24a0
L
11697 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11698 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11699 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11700
42bbb1c3
L
11701 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11702 for x86-64.
11703 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11704
2d10d547
JM
117052012-05-31 Joseph Myers <joseph@codesourcery.com>
11706
11707 * math/math.h (M_El): Use two more decimal places.
11708 (M_LOG2El): Likewise.
11709 (M_LOG10El): Likewise.
11710 (M_LN2l): Likewise.
11711 (M_LN10l): Likewise.
11712 (M_PIl): Likewise.
11713 (M_PI_2l): Likewise.
11714 (M_PI_4l): Likewise.
11715 (M_1_PIl): Likewise.
11716 (M_2_PIl): Likewise.
11717 (M_2_SQRTPIl): Likewise.
11718 (M_SQRT2l): Likewise.
11719 (M_SQRT1_2l): Likewise.
11720
f230c29b
DM
117212012-05-31 David S. Miller <davem@davemloft.net>
11722
11723 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11724 values between float registers.
11725 * sysdeps/sparc/sparc64/memset.S: Likewise.
11726 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11727
fed806c3
MF
117282012-05-31 Mike Frysinger <vapier@gentoo.org>
11729
11730 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11731 -D_FORTIFY_SOURCE=1.
11732 (CPPFLAGS-tst-longjmp_chk.c): Define.
11733 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11734 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11735 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11736 CFLAGS-tst-wchar-h.c.
11737
30917259
MP
117382012-05-31 Marek Polacek <polacek@redhat.com>
11739
11740 [BZ #14132]
11741 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11742 __endmntent_internal): Remove declaration.
11743 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11744 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11745 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11746
1c58d5dc
DM
117472012-05-30 David S. Miller <davem@davemloft.net>
11748
11749 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11750 (___Q_simulate_exceptions): Use real FP ops rather than writing
11751 into the %fsr.
11752 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11753 Likewise.
11754
7dc00e0d
L
117552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11756
11757 [BZ #14117]
0bd53985
L
11758 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11759 * sysdeps/x86/bits/xtitypes.h: This.
11760
3a257e66
L
11761 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11762 * sysdeps/x86/bits/wordsize.h: This.
11763
62f62904
L
11764 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11765 * sysdeps/x86/bits/huge_vall.h: This.
11766
404fe9d9
L
11767 * sysdeps/i386/bits/select.h: Removed.
11768 * sysdeps/x86_64/bits/select.h: Renamed to ...
11769 * sysdeps/x86/bits/select.h: This.
11770
d48d0446
L
11771 * sysdeps/i386/bits/setjmp.h: Removed.
11772 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11773 * sysdeps/x86/bits/setjmp.h: This.
11774
7dc00e0d
L
11775 * sysdeps/i386/bits/mathdef.h: Removed.
11776 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11777 * sysdeps/x86/bits/mathdef.h: This.
11778
03277f8f
AS
117792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11780
11781 [BZ #14132]
11782 * include/sys/socket.h (__connect_internal)
11783 (__libc_sa_len_internal): Remove declaration.
11784 (__connect, __libc_sa_len): Declare hidden_proto.
11785 (SA_LEN): Remove use of INTUSE.
11786 * socket/connect.c: Add libc_hidden_def.
11787 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11788 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11789 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11790 alias.
11791 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11792 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11793 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11794 of adding _internal alias.
11795
13764867
L
117962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 [BZ #14117]
6bd97696
L
11799 * sysdeps/i386/bits/link.h: Removed.
11800 * sysdeps/i386/bits/linkmap.h: Likewise.
11801 * sysdeps/x86_64/bits/link.h: Renamed to ...
11802 * sysdeps/x86/bits/link.h: This.
11803 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11804 * sysdeps/x86/bits/linkmap.h: This.
11805
f726f0bb
L
11806 * sysdeps/i386/bits/endian.h: Removed.
11807 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11808 * sysdeps/x86/bits/endian.h: This.
11809
13764867
L
11810 * sysdeps/i386/bits/byteswap.h: Removed.
11811 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11812 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11813 * sysdeps/x86/bits/byteswap.h: This.
11814 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11815 * sysdeps/x86/bits/byteswap-16.h: This.
11816 * sysdeps/i386/Implies: Add x86.
11817 * sysdeps/x86_64/Implies: Likewise.
11818
ae251b0b
DM
118192012-05-30 David S. Miller <davem@davemloft.net>
11820
11821 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11822 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11823 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11824 (FP_TRAPPING_EXCEPTIONS): Define.
11825 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11826 (FP_TRAPPING_EXCEPTIONS): Define.
11827 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11828 subnormals only when inexact has been signalled or underflow
11829 exceptions are enabled.
11830 (_FP_PACK_CANONICAL): Likewise.
11831
d5c90867
L
118322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 [BZ #14183]
11835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11836 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11837
63f1549e
RH
118382012-05-30 Richard Henderson <rth@twiddle.net>
11839
8d8f2279
RH
11840 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11841 with #ifndef NOT_IN_libc.
11842
63f1549e
RH
11843 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11844 marked to avoid plt entry.
11845
0ab0291b
L
118462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 [BZ #14112]
11849 * Makeconfig (default-abi): New macro.
11850 (abi-includes): Likewise.
11851 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11852 $(abi-$(default-abi)-lib-soname) for soname if defined.
11853 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11854 abi-variants.
11855 * Makefile (installed-stubs): Likewise.
11856 * include/stubs-biarch.h: Removed.
11857 * scripts/lib-names.awk: Only handle one library at a time.
11858 * scripts/soversions.awk: Remove WORDSIZE support.
11859 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11860 entries.
11861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11862 Removed.
11863 (syscall-list-default-condition): Likewise.
11864 (syscall-list-default-condition): Likewise.
11865 (syscall-list-includes): Likewise.
11866 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11867 syscall-list-* with abi-*. Handle undefined abi-variants.
11868 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11869 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11870 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11871 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11872 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11873 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11874 Removed.
11875 (syscall-list-32-options): Likewise.
11876 (syscall-list-32-condition): Likewise.
11877 (syscall-list-64-options): Likewise.
11878 (syscall-list-64-condition): Likewise.
11879 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11880 macro.
11881 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11882 Renamed to ...
11883 (abi-*): This.
11884 (abi-64-ld-soname): New macro.
11885 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11886 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11887 Renamed to ...
11888 (abi-*): This.
11889 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11890 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11891
4da0431d
JM
118922012-05-30 Joseph Myers <joseph@codesourcery.com>
11893
3a85279c
JM
11894 * sysdeps/unix/sysv/linux/kernel-features.h
11895 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11896 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11897 include <kernel-features.h>.
11898 [!__NR_ftruncate64]: Remove conditional code.
11899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11900 [__NR_ftruncate64]: Make code unconditional.
11901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11902 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11903 include <kernel-features.h>.
11904 [!__NR_ftruncate64]: Remove conditional code.
11905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11906 [__NR_ftruncate64]: Make code unconditional.
11907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11909 include <kernel-features.h>.
11910 [!__NR_ftruncate64]: Remove conditional code.
11911 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11912 [__NR_ftruncate64]: Make code unconditional.
11913 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11915 include <kernel-features.h>.
11916 [!__NR_ftruncate64]: Remove conditional code.
11917 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11918 [__NR_ftruncate64]: Make code unconditional.
11919 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11920
4da0431d
JM
11921 * configure.in (libc_cv_fpie): Weaken to a compile test using
11922 LIBC_TRY_CC_OPTION.
11923 * configure: Regenerated.
11924
11ef492c
AK
119252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11926
11927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11931 Refreshed.
11932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11938 Refreshed.
11939
d66ef399
DM
119402012-05-27 David S. Miller <davem@davemloft.net>
11941
11942 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11943 (___Q_zero): New.
11944 (__Q_simulate_exceptions): Return void. Change to simulate
11945 exceptions by writing into the %fsr.
11946 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11947 (__Qp_handle_exceptions): Likewise.
11948 (numbers): Delete.
11949 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11950 __Qp_handle_exceptions.
11951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11952 __Qp_handle_exceptions.
11953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11954 as unused and give dummy FP_RND_NEAREST initializer.
11955 (FP_INHIBIT_RESULTS): Define.
11956 (___Q_simulate_exceptions): Update declaration.
11957 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11958 formatting.
11959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11960 as unused and give dummy FP_RND_NEAREST initializer.
11961 (__Qp_handle_exceptions): Update declaration.
11962 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11963 formatting.
11964
04fb54b5
TS
119652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11966
11967 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11968 the temporary FPU control word.
11969 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11970 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11972 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11973 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11974 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11975 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11976 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11977 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11978 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11979 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11980
3f99608f
KK
119812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11982
11983 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11984 fields.
11985
65a4de4e
CLT
119862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11987
11988 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11989 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11990 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11991 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11992 Likewise.
11993 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11994 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11995 Likewise.
11996
15749d40
UD
119972012-05-27 Ulrich Drepper <drepper@gmail.com>
11998
11999 * po/h.po: Update from translation team.
12000
25dbcb27
AS
120012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12002
3d3f8e55
AS
12003 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12004
25dbcb27
AS
12005 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12006 handling of denormals.
12007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12008 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12009 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12010 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12014 Likewise.
12015
7ad47a80 120162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12017
12018 [BZ #14152]
12019 * math/libm-test.inc (fma_test): Don't always expect underflow
12020 exception.
12021
9c6ea9fa
SP
120222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12023
12024 [BZ #12416]
12025 * elf/tst-execstack.c: Include stackinfo.h.
12026 (do_test): Adjust test case to ensure that pthread_getattr_np
12027 behaviour remains the same after marking stack executable.
12028
a8239222
JM
120292012-05-25 Joseph Myers <joseph@codesourcery.com>
12030
12031 * sysdeps/unix/sysv/linux/kernel-features.h
12032 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12033 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12034 kernel-features.h.
12035 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12036 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12037 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12038 kernel-features.h.
12039 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12040 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12041
918b5606
L
120422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * configure.in: Define the default includes to being none.
12045 * configure: Regenerated.
12046
3a097cc7
RM
120472012-05-25 Roland McGrath <roland@hack.frob.com>
12048
8422c9a5
RM
12049 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12050 * sysdeps/x86_64/setjmp.S: Likewise.
12051 * sysdeps/i386/bsd-setjmp.S: Likewise.
12052 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12053 * sysdeps/i386/setjmp.S: Likewise.
12054 * sysdeps/i386/__longjmp.S: Likewise.
12055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12056 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12057
3a097cc7
RM
12058 * include/stap-probe.h: New file.
12059 * configure.in: Handle --enable-systemtap.
12060 * configure: Regenerated.
12061 * config.h.in (USE_STAP_PROBE): New #undef.
12062 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12063 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12064 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12065
21708942
JM
120662012-05-25 Joseph Myers <joseph@codesourcery.com>
12067
12068 [BZ #13717]
12069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12070 to 2.4.0 where earlier.
12071 * sysdeps/unix/sysv/linux/configure: Regenerated.
12072 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12073 <kernel-features.h>.
12074 [__ASSUME_32BITUIDS]: Make code unconditional.
12075 [!__ASSUME_32BITUIDS]: Remove conditional code.
12076 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12077 <kernel-features.h>.
12078 [__ASSUME_32BITUIDS]: Make code unconditional.
12079 [!__ASSUME_32BITUIDS]: Remove conditional code.
12080 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12081 [__ASSUME_32BITUIDS]: Make code unconditional.
12082 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12083 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
12100 <kernel-features.h>.
12101 [__ASSUME_32BITUIDS]: Make code unconditional.
12102 [!__ASSUME_32BITUIDS]: Remove conditional code.
12103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12104 <kernel-features.h>.
12105 [__ASSUME_32BITUIDS]: Make code unconditional.
12106 [!__ASSUME_32BITUIDS]: Remove conditional code.
12107 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12108 <kernel-features.h>.
12109 [__ASSUME_32BITUIDS]: Make code unconditional.
12110 [!__ASSUME_32BITUIDS]: Remove conditional code.
12111 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12112 <kernel-features.h>.
12113 [__ASSUME_32BITUIDS]: Make code unconditional.
12114 [!__ASSUME_32BITUIDS]: Remove conditional code.
12115 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12116 <kernel-features.h>.
12117 [__ASSUME_32BITUIDS]: Make code unconditional.
12118 [!__ASSUME_32BITUIDS]: Remove conditional code.
12119 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12120 <kernel-features.h>.
12121 [__ASSUME_32BITUIDS]: Make code unconditional.
12122 [!__ASSUME_32BITUIDS]: Remove conditional code.
12123 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12124 <kernel-features.h>.
12125 [__NR_setresgid] (__setresgid): Do not declare.
12126 [__ASSUME_32BITUIDS]: Make code unconditional.
12127 [!__ASSUME_32BITUIDS]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12129 <kernel-features.h>.
12130 [__NR_setresuid] (__setresuid): Do not declare.
12131 [__ASSUME_32BITUIDS]: Make code unconditional.
12132 [!__ASSUME_32BITUIDS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12134 <kernel-features.h>.
12135 [__ASSUME_32BITUIDS]: Make code unconditional.
12136 [!__ASSUME_32BITUIDS]: Remove conditional code.
12137 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12138 <kernel-features.h>.
12139 [__ASSUME_32BITUIDS]: Make code unconditional.
12140 [!__ASSUME_32BITUIDS]: Remove conditional code.
12141 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12142 <kernel-features.h>.
12143 [__ASSUME_32BITUIDS]: Make code unconditional.
12144 [!__ASSUME_32BITUIDS]: Remove conditional code.
12145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12146 <kernel-features.h>.
12147 [__ASSUME_32BITUIDS]: Make code unconditional.
12148 [!__ASSUME_32BITUIDS]: Remove conditional code.
12149 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12150 <kernel-features.h>.
12151 [__ASSUME_32BITUIDS]: Make code unconditional.
12152 [!__ASSUME_32BITUIDS]: Remove conditional code.
12153 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12154 <kernel-features.h>.
12155 [__ASSUME_32BITUIDS]: Make code unconditional.
12156 [!__ASSUME_32BITUIDS]: Remove conditional code.
12157 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12158 <kernel-features.h>.
12159 [__ASSUME_32BITUIDS]: Make code unconditional.
12160 [!__ASSUME_32BITUIDS]: Remove conditional code.
12161 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12162 <kernel-features.h>.
12163 [__ASSUME_32BITUIDS]: Make code unconditional.
12164 [!__ASSUME_32BITUIDS]: Remove conditional code.
12165 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12166 <kernel-features.h>.
12167 [__ASSUME_32BITUIDS]: Make code unconditional.
12168 [!__ASSUME_32BITUIDS]: Remove conditional code.
12169 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12170 <kernel-features.h>.
12171 [__ASSUME_32BITUIDS]: Make code unconditional.
12172 [!__ASSUME_32BITUIDS]: Remove conditional code.
12173 * sysdeps/unix/sysv/linux/kernel-features.h
12174 (__ASSUME_SETRESUID_SYSCALL): Remove.
12175 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12176 (__ASSUME_32BITUIDS): Likewise.
12177 (__ASSUME_LDT_WORKS): Likewise.
12178 (__ASSUME_O_DIRECTORY): Likewise.
12179 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12180 architecture but not kernel version.
12181 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12182 (__ASSUME_MMAP2_SYSCALL): Likewise.
12183 (__ASSUME_STAT64_SYSCALL): Likewise.
12184 (__ASSUME_IPC64): Likewise.
12185 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12186 <kernel-features.h>.
12187 [__ASSUME_32BITUIDS]: Make code unconditional.
12188 [!__ASSUME_32BITUIDS]: Remove conditional code.
12189 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12190 <kernel-features.h>.
12191 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12192 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12193 132096]: Remove conditional code.
12194 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12196 <kernel-features.h>.
12197 [__ASSUME_32BITUIDS]: Make code unconditional.
12198 [!__ASSUME_32BITUIDS]: Remove conditional code.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12200 <kernel-features.h>.
12201 [__ASSUME_32BITUIDS]: Make code unconditional.
12202 [!__ASSUME_32BITUIDS]: Remove conditional code.
12203 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12204 <kernel-features.h>.
12205 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12206 unconditional.
12207 (__setresgid): Do not declare.
12208 [__ASSUME_32BITUIDS]: Make code unconditional.
12209 [!__ASSUME_32BITUIDS]: Remove conditional code.
12210 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12211 <kernel-features.h>.
12212 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12213 unconditional.
12214 (__setresuid): Do not declare.
12215 [__ASSUME_32BITUIDS]: Make code unconditional.
12216 [!__ASSUME_32BITUIDS]: Remove conditional code.
12217 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12218 <kernel-features.h>.
12219 [__ASSUME_32BITUIDS]: Make code unconditional.
12220 [!__ASSUME_32BITUIDS]: Remove conditional code.
12221 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12222 <kernel-features.h>.
12223 [__ASSUME_32BITUIDS]: Make code unconditional.
12224 [!__ASSUME_32BITUIDS]: Remove conditional code.
12225
a386f1cc
RH
122262012-05-25 Richard Henderson <rth@twiddle.net>
12227
12228 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12229 dl_hwcap to ifunc resolver.
12230 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12231 elf_ifunc_invoke.
12232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12233 dl_hwcap to ifunc resolver.
12234 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12235
b6550497
JM
122362012-05-24 Joseph Myers <joseph@codesourcery.com>
12237
12238 [BZ #14153]
12239 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12240 for |x| <= 2**-26, not 2**-57.
12241 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12242 exception.
12243
b0bc23a1
JL
122442012-05-24 Jeff Law <law@redhat.com>
12245
12246 * stdio-common/Makefile (tests): Add bug25.
12247 * stdio-common/bug25.c: New test.
12248
347c92e9
L
122492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12250
12251 [BZ #13576]
12252 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12253 multiple of MALLOC_ALIGNMENT in size.
12254 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12255
6bcc8b3f
JM
122562012-05-24 Joseph Myers <joseph@codesourcery.com>
12257
12258 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12259 Require >= 256.
12260 (FILENAME_MAX): Use macro-int-constant.
12261 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12262 (_IOFBF): Use macro-int-constant.
12263 (_IOLBF): Likewise.
12264 (_IONBF): Likewise.
12265 (SEEK_CUR): Likewise.
12266 (SEEK_END): Likewise.
12267 (SEEK_SET): Likewise.
12268 (TMP_MAX): Likewise.
12269 (EOF): Use macro-int-constant. Require < 0.
12270 (NULL): Use macro-constant. Require == 0.
12271 (stdin): Require type to be FILE *.
12272 (stdout): Likewise.
12273 (stderr): Likewise.
12274 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12275 macro-int-constant.
12276 (EXIT_SUCCESS): Likewise.
12277 (NULL): Use macro-constant. Require == 0.
12278 (RAND_MAX): Use macro-int-constant.
12279 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12280 [C99-based standards] (strtof): Require function.
12281 [C99-based standards] (strtold): Likewise.
12282 [C99-based standards] (strtoll): Likewise.
12283 [C99-based standards] (strtoull): Likewise.
12284 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12285 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12286 [ISO || ISO99 || ISO11] (math.h): Likewise.
12287 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12290
d18ea0c5
AS
122912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12292
12293 [BZ #14132]
56d25bb8
AS
12294 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12295 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12296 * intl/dgettext.c (DCGETTEXT): Likewise.
12297 * intl/gettext.c (DCGETTEXT): Likewise.
12298 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12299 * posix/regex_internal.h (gettext): Likewise.
12300 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12301 Remove declaration.
12302 * include/argz.h (__argz_count_internal)
12303 (__argz_stringify_internal): Remove declaration.
12304 (__argz_count, __argz_stringify): Declare hidden proto.
12305 * intl/dcgettext.c: Remove use of INTDEF.
12306 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12307 * string/argz-stringify.c: Likewise.
12308 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12309 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12310 Declare hidden proto.
d18ea0c5
AS
12311 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12312 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12313 Declare hidden proto.
12314 * include/stdio.h (__asprintf_internal): Don't declare.
12315 (__asprintf): Don't define as macro. Declare hidden proto.
12316 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12317 (__fsetlocking): Declare hidden proto.
12318 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12319 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12320 hidden proto.
12321 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12322 (_IO_setlinebuf): Remove use of INTUSE.
12323 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12324 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12325 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12326 Remove declaration.
12327 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12328 (_IO_do_flush): Remove use of INTUSE.
12329 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12330 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12331 (_IO_adjust_column, _IO_least_wmarker)
12332 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12333 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12334 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12335 (_IO_default_doallocate, _IO_wdefault_doallocate)
12336 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12337 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12338 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12339 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12340 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12341 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12342 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12343 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12344 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12345 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12346 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12347 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12348 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12349 proto.
12350 (_IO_flush_all_internal, _IO_adjust_column_internal)
12351 (_IO_default_uflow_internal, _IO_default_finish_internal)
12352 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12353 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12354 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12355 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12356 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12357 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12358 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12359 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12360 (_IO_file_close_internal, _IO_file_close_it_internal)
12361 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12362 (_IO_file_init_internal, _IO_file_attach_internal)
12363 (_IO_file_fopen_internal, _IO_file_read_internal)
12364 (_IO_file_sync_internal, _IO_file_seek_internal)
12365 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12366 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12367 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12368 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12369 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12370 (_IO_list_all_internal, _IO_link_in_internal)
12371 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12372 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12373 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12374 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12375 (_IO_do_write_internal, _IO_padn_internal)
12376 (_IO_getline_info_internal, _IO_getline_internal)
12377 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12378 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12379 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12380 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12381 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12382 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12383 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12384 with libc_hidden_ver, remove use of INTUSE.
12385 * libio/genops.c: Likewise.
12386 * libio/freopen.c: Likewise.
12387 * libio/freopen64.c: Likewise.
12388 * libio/iofclose.c: Likewise.
12389 * libio/iofdopen.c: Likewise.
12390 * libio/iofflush.c: Likewise.
12391 * libio/iofflush_u.c: Likewise.
12392 * libio/iofgets.c: Likewise.
12393 * libio/iofgets_u.c: Likewise.
12394 * libio/iofopen.c: Likewise.
12395 * libio/iofopncook.c: Likewise.
12396 * libio/iofread.c: Likewise.
12397 * libio/iofread_u.c: Likewise.
12398 * libio/ioftell.c: Likewise.
12399 * libio/iofwrite.c: Likewise.
12400 * libio/iogetline.c: Likewise.
12401 * libio/iogets.c: Likewise.
12402 * libio/iogetwline.c: Likewise.
12403 * libio/iopadn.c: Likewise.
12404 * libio/iopopen.c: Likewise.
12405 * libio/ioseekoff.c: Likewise.
12406 * libio/ioseekpos.c: Likewise.
12407 * libio/iosetbuffer.c: Likewise.
12408 * libio/iosetvbuf.c: Likewise.
12409 * libio/ioungetc.c: Likewise.
12410 * libio/ioungetwc.c: Likewise.
12411 * libio/iovdprintf.c: Likewise.
12412 * libio/iovsprintf.c: Likewise.
12413 * libio/iovsscanf.c: Likewise.
12414 * libio/memstream.c: Likewise.
12415 * libio/obprintf.c: Likewise.
12416 * libio/oldfileops.c: Likewise.
12417 * libio/oldiofclose.c: Likewise.
12418 * libio/oldiofdopen.c: Likewise.
12419 * libio/oldiofopen.c: Likewise.
12420 * libio/oldiopopen.c: Likewise.
12421 * libio/oldstdfiles.c: Likewise.
12422 * libio/putc.c: Likewise.
12423 * libio/setbuf.c: Likewise.
12424 * libio/setlinebuf.c: Likewise.
12425 * libio/stdfiles.c: Likewise.
12426 * libio/strops.c: Likewise.
12427 * libio/vasprintf.c: Likewise.
12428 * libio/vscanf.c: Likewise.
12429 * libio/vsnprintf.c: Likewise.
12430 * libio/vswprintf.c: Likewise.
12431 * libio/wfiledoalloc.c: Likewise.
12432 * libio/wfileops.c: Likewise.
12433 * libio/wgenops.c: Likewise.
12434 * libio/wmemstream.c: Likewise.
12435 * libio/wstrops.c: Likewise.
12436 * libio/__fpurge.c: Likewise.
12437 * libio/__fsetlocking.c: Likewise.
12438 * assert/assert.c: Likewise.
12439 * debug/fgets_chk.c: Likewise.
12440 * debug/fgets_u_chk.c: Likewise.
12441 * debug/fread_chk.c: Likewise.
12442 * debug/fread_u_chk.c: Likewise.
12443 * debug/gets_chk.c: Likewise.
12444 * debug/obprintf_chk.c: Likewise.
12445 * debug/vasprintf_chk.c: Likewise.
12446 * debug/vdprintf_chk.c: Likewise.
12447 * debug/vsnprintf_chk.c: Likewise.
12448 * debug/vsprintf_chk.c: Likewise.
12449 * malloc/mtrace.c: Likewise.
12450 * misc/error.c: Likewise.
12451 * misc/syslog.c: Likewise.
12452 * stdio-common/asprintf.c: Likewise.
12453 * stdio-common/fxprintf.c: Likewise.
12454 * stdio-common/getw.c: Likewise.
12455 * stdio-common/isoc99_fscanf.c: Likewise.
12456 * stdio-common/isoc99_scanf.c: Likewise.
12457 * stdio-common/isoc99_vfscanf.c: Likewise.
12458 * stdio-common/isoc99_vscanf.c: Likewise.
12459 * stdio-common/isoc99_vsscanf.c: Likewise.
12460 * stdio-common/printf-prs.c: Likewise.
12461 * stdio-common/printf_fp.c: Likewise.
12462 * stdio-common/printf_fphex.c: Likewise.
12463 * stdio-common/printf_size.c: Likewise.
12464 * stdio-common/putw.c: Likewise.
12465 * stdio-common/scanf.c: Likewise.
12466 * stdio-common/sprintf.c: Likewise.
12467 * stdio-common/tmpfile.c: Likewise.
12468 * stdio-common/vfprintf.c: Likewise.
12469 * stdio-common/vfscanf.c: Likewise.
12470 * stdlib/strfmon_l.c: Likewise.
12471 * sunrpc/openchild.c: Likewise.
12472 * sunrpc/xdr_stdio.c: Likewise.
12473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12474 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12475
d6c33fda
RM
124762012-05-24 Roland McGrath <roland@hack.frob.com>
12477
c1487492
RM
12478 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12479
12480 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12481 in the third column, to generate for the shared library an IFUNC
12482 that uses _dl_vdso_vsym.
12483 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12484 * Makeconfig (object-suffixes-noshared): New variable.
12485
12486 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12487 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12488 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12489 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12490
d6c33fda
RM
12491 [BZ #14132]
12492 * include/sys/time.h (__gettimeofday): Remove macro.
12493 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12494 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12495 Remove INTDEF.
12496 (__gettimeofday): Add libc_hidden_def.
12497 (gettimeofday): Add libc_hidden_weak.
12498 * sysdeps/mach/gettimeofday.c: Likewise.
12499 * sysdeps/posix/gettimeofday.c: Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12503 (__gettimeofday_internal): Remove strong_alias.
12504 (__gettimeofday): Add libc_hidden_def.
12505 (gettimeofday): Add libc_hidden_weak.
12506 * sysdeps/unix/syscalls.list (gettimeofday):
12507 Remove __gettimeofday_internal alias.
12508
b5a2bbe6
L
125092012-05-24 Daniel Jacobowitz <drow@false.org>
12510 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 [BZ #12495]
12513 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12514 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12515 (largebin_index_32_big): New.
12516 (largebin_index): Use it for 16-byte alignment.
12517 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12518 correction with front_misalign.
12519
cfba4fda
L
125202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12521
7f907421
L
12522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12524 Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12526 Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12528 Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12530 Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12532 Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12534 Likewise.
12535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12536 Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12538 Likewise.
12539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12540 Likewise.
12541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12542 Likewise.
12543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12544 Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12546 Likewise.
12547
cfba4fda
L
12548 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12549 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12550
80bad0cc
JM
125512012-05-24 Joseph Myers <joseph@codesourcery.com>
12552
7a25eb06
JM
12553 [BZ #10846]
12554 [BZ #14036]
12555 * math/libm-test.inc (exp_test): Add test from bug 14036.
12556 (pow_test): Add test from bug 10846.
12557
795405f9
JM
12558 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12559 and other flags.
12560 (special_function): Do not include flags in test name.
12561 (parse_args): Likewise.
12562 * sysdeps/i386/fpu/libm-test-ulps: Update.
12563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12564 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567
80bad0cc
JM
12568 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12569 exceptions.
12570 * math/libm-test.inc ("Philosophy"): Update comment about
12571 exception testing.
12572 (UNDERFLOW_EXCEPTION): New macro.
12573 (UNDERFLOW_EXCEPTION_OK): Likewise.
12574 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12575 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12576 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12577 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12578 (INVALID_EXCEPTION_OK): Update value.
12579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12580 (OVERFLOW_EXCEPTION_OK): Likewise.
12581 (IGNORE_ZERO_INF_SIGN): Likewise.
12582 (test_exceptions): Handle underflow exceptions.
12583 (acos_test): Update for underflow exception expectations.
12584 (cexp_test): Likewise.
12585 (clog_test): Likewise.
12586 (clog10_test): Likewise.
12587 (csqrt_test): Likewise.
12588 (ctan_test): Likewise.
12589 (ctanh_test): Likewise.
12590 (exp_test): Likewise.
12591 (exp10_test): Likewise.
12592 (exp2_test): Likewise.
12593 (expm1_test): Likewise.
12594 (fma_test): Likewise.
12595 (j0_test): Likewise.
12596 (jn_test): Likewise.
12597 (nexttoward_test): Likewise.
12598 (pow_test): Likewise.
12599 (scalbn_test): Likewise.
12600 (scalbln_test): Likewise.
12601 (tan_test): Likewise.
12602 (y1_test): Likewise.
12603 * sysdeps/i386/fpu/libm-test-ulps: Update.
12604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12605
9e0e3d0b
DM
126062012-05-23 David S. Miller <davem@davemloft.net>
12607
12608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12609 (__libc_sigaction): Remove unused local variables.
12610
ccd0a08f
L
126112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12614
62bdf9a6
PE
126152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12616
f8591f80
PE
12617 mktime: avoid signed integer overflow
12618 * time/mktime.c (__mktime_internal): Do not mishandle the case
12619 where diff == INT_MIN.
12620
94c7d826
PE
12621 mktime: simplify computation of average
12622 * time/mktime.c (ranged_convert): Use new time_t_avg function
12623 instead of rolling our own (probably-slower) code.
12624
ce73d683
PE
12625 mktime: do not assume signed right shift propagates sign bit
12626 * time/mktime.c (isdst_differ): New static function.
12627 (__mktime_internal): No need to normalize tm_isdst now.
12628 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12629 tm_isdst values.
12630
72a22e59
PE
12631 mktime: merge another wrapv change from gnulib
12632 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12633 from some compilers.
12634
68605433
PE
12635 mktime: remove incorrect attempt at unusual arithmetics
12636 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12637 The code didn't really work on such machines anyway.
12638 (TYPE_MINIMUM): Assume two's complement.
12639 (twos_complement_arithmetic): Verify that long_int and time_t
12640 are two's complement (or unsigned, in the latter case).
12641
03cf7fe3
PE
12642 mktime: check signed shifts on long_int and time_t, too
12643 * time/mktime.c (SHR): Check that shifts work as desired
12644 on the types long_int and time_t too, as SHR is used on
12645 such types.
12646
f04dfbc2
PE
12647 mktime: do not assume 'long' is wide enough
12648 * time/mktime.c (verify): Move decl up.
12649 (long_int): New type.
12650 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12651 to remove assumption in the code that 'long' is wide enough to
12652 store year values. This assumption is not true on x32 and on
12653 some non-glibc platforms.
12654
62bdf9a6
PE
12655 mktime: merge wrapv change from gnulib
12656 * time/mktime.c (WRAPV): New macro.
12657 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12658 (guess_time_tm, __mktime_internal): Do not assume that signed
12659 integer overflow wraps around; modern compilers generate code
12660 where this assumption is no longer valid.
12661
5e292e4f
L
126622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12663
12664 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12665 Replace "jmp L(pseudo_end)" with "ret".
12666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12667 Likewise.
12668
8caf8c87
AJ
126692012-05-23 Andreas Jaeger <aj@suse.de>
12670
12671 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12672 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12673
1a09dc56
AJ
126742012-05-23 Andreas Jaeger <aj@suse.de>
12675 Maximilian Attems <max@stro.at>
12676
12677 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12678 New macros.
12679
1c87aba0
L
126802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12683 code so that pseudo_end is just ret and the stack pointer is
12684 correct also for static library in error case.
12685
40e45bd5
JM
126862012-05-23 Joseph Myers <joseph@codesourcery.com>
12687
c2670533
JM
12688 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12689 move to syscalls.list.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12694
40e45bd5
JM
12695 * manual/install.texi (Running make install): Do not mention Linux
12696 kernel version for which pt_chown is not needed.
12697 (Linux): Do not mention problems with nscd with 2.0 kernels.
12698 * INSTALL: Regenerated.
12699
be08eda5
AJ
127002012-05-23 Andreas Jaeger <aj@suse.de>
12701
12702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12703 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12704 macro.
12705 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12707 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12709 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12714 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12715 * sysdeps/unix/sysv/linux/bits/in.h
12716 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12717
a6a056bb
RM
127182012-05-22 Roland McGrath <roland@hack.frob.com>
12719
12720 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12721 (PREPARE_VERSION): Just use assert instead, it will be elided
12722 under [NDEBUG] anyway.
12723
c9009328
L
127242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 * sysdeps/unix/sysv/linux/Makefile: Include
12727 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12728 (sysdep_routines): Remove sysctl.
c9009328
L
12729 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12730 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12731 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12732 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12733 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12734
73338355
AJ
127352012-05-22 Andreas Jaeger <aj@suse.de>
12736
12737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12738 that pseudo_end is just ret and the stack pointer is correct also
12739 for static library in error case.
12740
d44638b0
PP
127412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12742
12743 [BZ #14122]
12744 * nss/nsswitch.c (defconfig_entries): New variable.
12745 (__nss_database_lookup): Don't leak defconfig entries.
12746 (nss_parse_service_list): Don't leak on error paths.
12747 (free_database_entries): New function.
12748 (free_defconfig): New function.
12749 (free_mem): Move common code to free_database_entries.
12750
31a39bd8
L
127512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12752
da0331a8
L
12753 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12754 Add arch_prctl.
12755 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12756
31a39bd8
L
12757 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12758 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12760 New macro.
12761 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12762 (INTERNAL_SYSCALL_TYPES): Likewise.
12763 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12764 (LOAD_REGS_TYPES_[1-6]): Likewise.
12765 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12766 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12767
45470df3
AZ
127682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12769
12770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12771 copysignl for GLIBC_2_0.
12772 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12773 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12775 logbl for GLIBC_2_0.
12776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12777 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12778
98a61bcb
L
127792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12780
a4f6e481
L
12781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12783
f63d5db6
L
12784 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12785 Use "neg %eax".
12786
98a61bcb
L
12787 * time/mktime.c: Update copyright years.
12788
95770f14
PE
127892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12790
6226efbd
PE
12791 mktime: merge comment-quoting-style change from gnulib
12792 * time/mktime.c: Quote 'like this' in comments.
12793 The GNU coding standards suggest that we no longer quote `like this',
12794 as "`" and "'" are typically rendered asymmetrically nowadays.
12795 The typical gnulib style is to quote 'like this' when quoting
12796 code, and "like this" when quoting English.
12797
b99e4f78
PE
12798 * time/mktime.c (compile-command): Add "-I.".
12799
643e01e6
PE
12800 mktime: merge mktime-internal.h change from gnulib
12801 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12802
2554247d
PE
12803 mktime: merge time_r change from gnulib
12804 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12805
826dd0ab
PE
12806 mktime: merge DEBUG change from gnulib
12807 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12808 case system <time.h> has a #define.
12809
bd83aabe
PE
12810 mktime: merge <sys/types.h> change from gnulib
12811 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12812 since <time.t> is now guaranteed to define time_t.
12813
95770f14
PE
12814 mktime: merge HAVE_CONFIG_H change from gnulib
12815 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12816
5e1a27a9
L
128172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12818
0e44a77e
L
12819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12820 Use "neg %eax".
12821
5e1a27a9
L
12822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12823 __rlim_t cast.
12824 (struct rusage): Use anonymous union to pad each field to
12825 __syscall_slong_t.
12826
46259bec
DM
128272012-05-21 David S. Miller <davem@davemloft.net>
12828
12829 * Makefules (o-iterator): Remove .s cases.
12830 (compile-command.s): Delete.
12831 (COMPILE.s): Delete.
12832 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12833
59f0c22e
JM
128342012-05-21 Joseph Myers <joseph@codesourcery.com>
12835
12836 * configure.in (libc_cv_predef_stack_protector): Only consider
12837 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12838 * configure: Regenerated.
12839
20c07380
L
128402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12841
bbb3154b
L
12842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12843 New macro. Use R*LP on int and pointer.
12844 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12845 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12846 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12847 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12848
20c07380
L
12849 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12850 [__WORDSIZE_TIME64_COMPAT32] instead of
12851 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12852 (struct utmp): Likewise.
12853 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12854 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12855 Renamed to ...
12856 (__WORDSIZE_TIME64_COMPAT32): This.
12857 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12858 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12859 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12861 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12862 (__WORDSIZE_TIME64_COMPAT32): New macro.
12863
d8d1017e
AJ
128642012-05-21 Andreas Jaeger <aj@suse.de>
12865
12866 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12867 only if [SHARED]. Add prototype for __wcschr_ia32.
12868
6c7fb145
RM
128692012-05-21 Roland McGrath <roland@hack.frob.com>
12870
12871 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12872 of %rbp unmolested in the jmp_buf while mangling the low bits.
12873 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12874 unmolested high bits of %rbp while demangling the low bits.
12875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12876
66274218
AJ
128772012-05-21 Andreas Jaeger <aj@suse.de>
12878
07c58f8f
AJ
12879 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12880 * sunrpc/svc_simple.c: Use it for registerrpc.
12881 * sunrpc/xcrypt.c: Use it for passwd2des.
12882
66274218
AJ
12883 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12884
61f65140
L
128852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12888 Don't define if [__SYSCALL_WORDSIZE != 32].
12889 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12890 New macro.
12891
5fefb436
AJ
128922012-05-21 Bruno Haible <bruno@clisp.org>
12893 Andreas Jaeger <aj@suse.de>
12894
12895 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12896 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12897 inptr and inend for must_buffer_ch.
12898 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12899 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12900 * stdio-common/Makefile (tests): Remove bug15.
12901 (bug15-ENV): Remove macro.
12902 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12903 anymore.
12904
d8e272ab
AJ
129052012-05-19 Andreas Jaeger <aj@suse.de>
12906 Roland McGrath <roland@hack.frob.com>
12907
12908 * manual/contrib.texi: Completely rewritten. It contains now an
12909 alphabetical list of contributors and their contributions.
12910
4a56a162
RH
129112012-05-21 Richard Henderson <rth@twiddle.net>
12912
12913 * misc/getauxval.c (__getauxval): Use unsigned long int.
12914 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12915 (getauxval): Use unsigned long int.
12916
d024d23c
L
129172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12920
cbc00a03
RM
129212012-05-21 Roland McGrath <roland@hack.frob.com>
12922
12923 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12924 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12925 __alignof__ (long double).
12926
478143fa
AZ
129272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12928
12929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12930
c7683a6d
RH
129312012-05-20 Richard Henderson <rth@twiddle.net>
12932
12933 * misc/getauxval.c: New file.
12934 * misc/sys/auxv.h: New file.
12935 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12936 (routines): Add getauxval.
12937 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12938 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12939 * elf/dl-sysdep.c (_dl_auxv): Remove.
12940 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12941 * elf/dl-support.c (_dl_auxv): New variable.
12942 (_dl_aux_init): Initialize it.
12943 * manual/startup.texi (Auxiliary Vector): New node.
12944 * sysdeps/generic/bits/hwcap.h: New file.
12945 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12946 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12947 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12948 * sysdeps/sparc/sysdep.h: ... here. Include it.
12949 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12952 Update.
c7683a6d
RH
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12961
a6f1845d
AZ
129622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12963
12964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12965
cbcbe830
DM
129662012-05-19 David S. Miller <davem@davemloft.net>
12967
12968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12969
e0b16cc2
JM
129702012-05-19 Joseph Myers <joseph@codesourcery.com>
12971
12972 [BZ #14123]
12973 * math/s_ccosh.c: Include <float.h>
12974 (__ccosh): Avoid internal overflow calculating sinh and cosh
12975 values before multiplying by sin and cos values.
12976 * math/s_ccoshf.c: Likewise.
12977 * math/s_ccoshl.c: Likewise.
12978 * math/s_csin.c: Likewise.
12979 * math/s_csinf.c: Likewise.
12980 * math/s_csinl.c: Likewise.
12981 * math/s_csinh.c: Likewise.
12982 * math/s_csinhf.c: Likewise.
12983 * math/s_csinhl.c: Likewise.
12984 * math/libm-test.inc (ccos_test): Add more tests.
12985 (ccosh_test): Likewise.
12986 (csin_test): Likewise.
12987 (csinh_test): Likewise.
12988 * sysdeps/i386/fpu/libm-test-ulps: Update.
12989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12990
6ad13e08
L
129912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12992
f66f0ce8
L
12993 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12994 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12995
6ad13e08
L
12996 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12997
b1d072a7
JM
129982012-05-19 Joseph Myers <joseph@codesourcery.com>
12999
13000 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13001 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13002 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13003 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13004 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13005 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13006 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13007 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13008 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13009 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13010 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13011 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13012 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13013 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13014 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13015 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13016 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13017 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13018 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13019 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13020 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13021 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13022 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13023 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13024 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13025 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13026 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13027 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13028 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13029 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13030 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13031
9eae47cb
AJ
130322012-05-18 Andreas Jaeger <aj@suse.de>
13033
13034 * csu/.gitignore: Delete.
13035
bb07f69f
L
130362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13039 (timex): Use __syscall_slong_t.
13040
e6bdb741
AJ
130412012-05-18 Andreas Jaeger <aj@suse.de>
13042 Carlos O'Donell <carlos_odonell@mentor.com>
13043
13044 * manual/install.texi (Configuring and compiling): Update
13045 description about files modified in the source directory.
d6c33fda 13046 * INSTALL: Regenerated.
e6bdb741 13047
1b74487e
L
130482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13051 value. Use "or" to set return value to -1.
13052 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13053 negate return value.
13054
a88b64b9
TMQMF
130552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13056
13057 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13058 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13059 failure if the compiler has Graphite support disabled.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13061 Likewise.
13062 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13063 CFLAGS-memmove.c): Likewise.
13064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13065 Likewise.
13066
3707636e
L
130672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13068
610b8622
L
13069 * sysdeps/x86_64/x32/_itoa.h: New file.
13070
7cd195df
L
13071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13072 getdents system call only if kernel and user dirents have the
13073 same d_ino and d_off.
13074
94b07d20
L
13075 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13076 LLONG_MAX != LONG_MAX.
13077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13078 (_fitoa_word): Likewise.
13079
18298070
L
13080 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13081 years.
13082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13083 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13085
553c7ea4
L
13086 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13087 include <bits/wordsize.h>. Check __x86_64__ instead of
13088 __WORDSIZE.
13089 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13090 if __x86_64__ is defined. Use anonymous union on fpstate.
13091
3707636e
L
13092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13093 anonymous union.
13094
b53ef01a
AS
130952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13096
37fb1dc0
AS
13097 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13098 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13099 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13100 Refer to _rtld_local_ro instead of _rtld_global_ro.
13101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13102 Likewise.
13103 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13104 Likewise.
13105 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13106 Likewise.
13107 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13108 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13109 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13110
b53ef01a
AS
13111 * sysdeps/powerpc/powerpc32/dl-machine.c
13112 (__elf_machine_runtime_setup) [PROF]: Don't reference
13113 _dl_prof_resolve.
13114
7a185db2
AJ
131152012-05-18 Andreas Jaeger <aj@suse.de>
13116
13117 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13118 function only available for GCCs before 3.4 since GCC 3.4
13119 introduced a builtin.
13120 (lrint): Likewise.
13121 (llrintf): Likewise.
13122 (llrint): Likewise.
13123 (fmaxf): Likewise.
13124 (fmax): Likewise.
13125 (fminf): Likewise.
13126 (fmin): Likewise.
13127 (rint): Likewise.
13128 (rintf): Likewise.
13129 (nearbyint): Likewise.
13130 (nearbyintf): Likewise.
13131 (ceil): Likewise.
13132 (ceilf): Likewise.
13133 (floor): Likewise.
13134 (floorf): Likewise.
13135
3e5aef87
L
131362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13137
428bd707
L
13138 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13139 on both fields and cast pointer to __syscall_ulong_t.
13140
3e5aef87
L
13141 * bits/types.h (__fsword_t): New type.
13142 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13143 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13145 (__FSWORD_T_TYPE): Likewise.
13146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13147 (__FSWORD_T_TYPE): Likewise.
13148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13149 (__FSWORD_T_TYPE): Likewise.
13150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13151 (__FSWORD_T_TYPE): Likewise.
13152 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13153 __SWORD_TYPE with __fsword_t.
13154 (statfs64): Likewise.
13155
1ba7c3dc
DM
131562012-05-17 David S. Miller <davem@davemloft.net>
13157
13158 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13159
59910343
AJ
131602012-05-17 Andreas Jaeger <aj@suse.de>
13161
13162 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13163 warning.
13164
2e4c1e9e
L
131652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13168
de7f5ce7
AJ
131692012-05-17 Andreas Jaeger <aj@suse.de>
13170
13171 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13172 when it is used.
13173
286abc3d
CM
131742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13175
13176 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13177
477cc68e
L
131782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13179
13180 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13181 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13182
1a0994f5
CD
131832012-05-17 Andreas Jaeger <aj@suse.de>
13184 Carlos O'Donell <carlos_odonell@mentor.com>
13185
13186 [BZ #14059]
13187 * sysdeps/x86_64/multiarch/init-arch.h
13188 (bit_YMM_Usable): Rename to...
13189 (bit_AVX_Usable): ... this.
13190 (bit_FMA4_Usable): New macro.
13191 (bit_XMM_state): New macro.
13192 (bit_YMM_state): New macro.
13193 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13194 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13195 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13196 (CPUID_OSXSAVE): New macro.
13197 (CPUID_AVX): New macro.
13198 (CPUID_FMA4): New macro.
13199 (index_YMM_Usable): Rename to...
13200 (index_AVX_Usable): ... this.
13201 (HAS_AVX): Use HAS_ARCH_FEATURE.
13202 (HAS_FMA4): Likewise.
13203 (HAS_YMM_USABLE): Remove.
13204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13205 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13206 are present.
13207 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13208 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13209 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13210 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13211 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13212
0af797de
CM
132132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13214
13215 * math/libm-test.c: Support platforms without multiple rounding modes.
13216 * math/bug-nextafter.c: Support platforms without FP exceptions.
13217 * math/bug-nexttoward.c: Likewise.
13218 * math/test-fenv.c: Likewise.
13219 * math/test-misc.c: Likewise.
13220 * stdlib/bug-getcontext.c: Likewise.
13221
e39745ff
AJ
132222012-05-17 Andreas Jaeger <aj@suse.de>
13223
13224 * manual/examples/search.c (critter_cmp): Change signature to
13225 avoid warnings.
13226 * manual/string.texi (Collation Functions): Likewise.
13227
48970aba
L
132282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 * bits/types.h: Fold copyright years.
13231 * bits/typesizes.h: Likewise.
13232 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13236 * time/time.h: Likewise.
13237
bedee953
PP
132382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13239
13240 [BZ #208]
13241 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13242 in instead of returning them. Return void.
13243 (__libc_mallinfo): Accumulate over all arenas.
13244 (__malloc_stats): Adjust for change in int_mallinfo interface.
13245
61653dfb
RM
132462012-05-16 Roland McGrath <roland@hack.frob.com>
13247
30b99d79
RM
13248 [BZ #10375]
13249 * configure.in (NM): Add AC_CHECK_TOOL for it.
13250 (libc_extra_cflags): New substituted variable.
13251 Check for -fstack-protector being used implicitly.
13252 * configure: Regenerated.
13253 * config.make.in (config-extra-cflags): New variable,
13254 gets @libc_extra_cflags@.
13255 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13256
61653dfb
RM
13257 [BZ #10375]
13258 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13259 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13260 * configure: Regenerated.
13261 * config.make.in (CPPUNDEFS): New substituted variable.
13262 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13263 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13264 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13265
661768bb
L
132662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13269 (mq_attr): Use __syscall_slong_t.
13270
d4261567
L
132712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13274 Check __x86_64__ instead of __WORDSIZE.
13275 (_STAT_VER_LINUX): Likewise.
13276 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13277 __syscall_ulong_t and __syscall_slong_t.
13278 (stat64): Likewise.
13279
cf3ff365
L
132802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13281
13282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13283
76cf3e4d
L
132842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13285
13286 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13287
a637753a
L
132882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13289
13290 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13291 __syscall_ulong_t.
13292
d5e05119
L
13293 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13294 include <bits/wordsize.h>. Check __x86_64__ instead of
13295 __WORDSIZE.
13296 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13297 defined.
13298 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13299
f62ee380
L
13300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13301 include <bits/wordsize.h>. Check __x86_64__ instead of
13302 __WORDSIZE.
13303 (user_regs_struct): Use "__extension__ unsigned long long"
13304 instead of "unsigned long" if __x86_64__ is defined.
13305 (user): Likewise. Pad after pointer field if __ILP32__ is
13306 defined.
13307
4e124ced
JM
133082012-05-16 Joseph Myers <joseph@codesourcery.com>
13309
6a3951a0
JM
13310 * configure.in (makeinfo): Require version 4.5 or later. Allow
13311 versions 5 to 9.
13312 * configure: Regenerated.
13313 * manual/install.texi (texinfo): Increase version requirement to
13314 4.5 or later.
13315 * INSTALL: Regenerated.
13316
4e124ced
JM
13317 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13318
953ca31a
L
133192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13322
617aca05
L
13323 * sysdeps/x86_64/x32/ffs.c: New file.
13324
5762f7ae
L
13325 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13326 __syscall_ulong_t.
13327 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13328 defined. Use __syscall_ulong_t.
13329 (shminfo): Use __syscall_ulong_t.
13330 (shm_info): Likewise.
13331
a26b6856
L
13332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13333 __syscall_ulong_t.
13334
cb2b9ef7
L
13335 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13336 <bits/wordsize.h>.
13337 (msgqnum_t): Use __syscall_ulong_t.
13338 (msglen_t): Likewise.
13339 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13340 __syscall_ulong_t.
13341
34683bb0
L
13342 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13344
84a68786
L
13345 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13346
48baa5f1
L
13347 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13348 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13349
180be88b
L
13350 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13351 __syscall_slong_t.
13352
5e90c8ad
L
13353 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13354 include <bits/wordsize.h>. Check __x86_64__ instead of
13355 __WORDSIZE.
13356
23dfb58b
L
13357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13358 "unsigned long long int" if __x86_64__ is defined.
13359 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13360
ce5d54b0
L
13361 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13362 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13363 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13364
13dc9eac
L
13365 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13366 <stdint.h>.
13367 (GET_PC): Cast to uintptr_t first.
13368 (GET_FRAME): Likewise.
13369 (GET_STACK): Likewise.
13370
a7895d15
L
13371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13375 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13379 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13400
656416c9
AS
134012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13402
5bd66283
AS
13403 * Makerules (+depfiles): Also collect depfiles from .oS in
13404 $(extra-objs).
13405 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13406 .oS, $(libnldbl-routines)).
13407
656416c9
AS
13408 * Makerules (native-compile-mkdep-flags): Define.
13409 * sunrpc/Makefile (extra-objs): Add $(addprefix
13410 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13411 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13412 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13413 calling $(make-target-directory).
13414
a46f2169
L
134152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 * bits/types.h (__snseconds_t): Removed.
13418 * time/time.h (struct timespec): Replace __snseconds_t with
13419 __syscall_slong_t.
13420 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13421 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13422 Likewise.
13423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13424 (__SNSECONDS_T_TYPE): Likewise.
13425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13426 (__SNSECONDS_T_TYPE): Likewise.
13427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13428 (__SNSECONDS_T_TYPE): Likewise.
13429
6af6528b
L
134302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/mach/hurd/bits/typesizes.h
13433 (__SYSCALL_SLONG_TYPE): New macro.
13434 (__SYSCALL_ULONG_TYPE): Likewise.
13435
de986b56
L
134362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * bits/types.h (__syscall_slong_t): New type.
13439 (__syscall_ulong_t): Likewise.
13440
13441 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13442 (__SYSCALL_ULONG_TYPE): Likewise.
13443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13444 (__SYSCALL_SLONG_TYPE): Likewise.
13445 (__SYSCALL_ULONG_TYPE): Likewise.
13446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13447 (__SYSCALL_SLONG_TYPE): Likewise.
13448 (__SYSCALL_ULONG_TYPE): Likewise.
13449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13450 (__SYSCALL_SLONG_TYPE): Likewise.
13451 (__SYSCALL_ULONG_TYPE): Likewise.
13452
85736dc7
L
134532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13454
13455 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13456 Add sigaltstack-offsets.sym.
13457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13458 <sigaltstack-offsets.h>.
13459 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13460 longjmp_msg pointer.
13461 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13462 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13463 signal stack.
13464 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13465
cc03b296
JM
134662012-05-15 Joseph Myers <joseph@codesourcery.com>
13467
a9538892
JM
13468 * elf/stackguard-macros.h: Remove file.
13469 * sysdeps/generic/stackguard-macros.h: New file.
13470 * sysdeps/i386/stackguard-macros.h: Likewise.
13471 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13472 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13473 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13474 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13475 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13476 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13477 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13478 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13479 <elf/stackguard-macros.h>.
13480
cc03b296
JM
13481 [BZ #14109]
13482 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13483 __aligned__ in attribute.
13484 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13485 (gregset_t): Likewise.
13486
93171016
L
134872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13490 * sysdeps/x86_64/64/Implies-after: Here. New file.
13491 * sysdeps/x86_64/x32/Implies-after: New file.
13492
d86813a0
L
134932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13494
13495 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13496 and access return value for _dl_profile_fixup. Use R10_LP to
13497 load frame size.
13498
2953ec75
L
134992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13500
13501 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13502
3b550e9e
L
135032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13506 * sysdeps/x86_64/x32/sysdep.h: New file.
13507
eda41706
L
135082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13511 * sysdeps/x86_64/setjmp.S: Likewise.
13512
9ea01d93
AZ
135132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13514
13515 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13517 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13519 remove unused global constant.
13520
02a91938
CM
135212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13522
13523 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13524 include of <not-cancel.h>.
13525
6540185f
RM
135262012-05-15 Roland McGrath <roland@hack.frob.com>
13527
13528 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13529
509072a0
AJ
135302012-05-15 Jeff Law <law@redhat.com>
13531 Andreas Jaeger <aj@suse.de>
13532
13533 [BZ #13594]
13534 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13535 out from...
13536 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13537 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13538 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13539 code changing __hst_map_handle.map.
13540
ba75122d
RM
135412012-05-15 Roland McGrath <roland@hack.frob.com>
13542
13543 * configure.in (sysnames): Look for Implies-before and Implies-after
13544 files.
13545 * configure: Regenerated.
13546
890d8bd8
L
135472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13548
13549 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13550 8-byte data alignment with LP_SIZE alignment.
13551
f6ee6623
L
135522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13555 into R10_LP.
13556
ea2626f6
L
135572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13560
085f715e
L
135612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13562
13563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13564 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13566 Likewise.
13567 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13568
be8498fc
L
135692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13572 (stackinfo_sub_sp): Likewise.
13573
70bc83b9
L
135742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13577 RAX_LP.
13578
9bc0b730
L
135792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13582 into R*_LP.
13583
6d2850e7
L
135842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13587 sizes into R*_LP.
13588
3cb84561
L
135892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13592
54e2ed81
L
135932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13596 into R11_LP and load __x86_64_shared_cache_size_half into
13597 R8_LP.
13598
8a17f349
L
135992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13600
13601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13602 R8_LP.
13603
777b1eea
AZ
136042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13605
13606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13607 logb for POWER7.
13608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13609 logbf for POWER7.
13610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13611 logbl for POWER7.
13612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13613 powerpc32/power7/fpu/s_logb.c via #include.
13614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13615 powerpc32/power7/fpu/s_logbf.c via #include.
13616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13617 powerpc32/power7/fpu/s_logbl.c via #include.
13618
d20d4ac2
JM
136192012-05-15 Joseph Myers <joseph@codesourcery.com>
13620
13621 * README.libm: Remove file.
13622
6cdef1ab
L
136232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13626 count for x32. Use R*_LP and omit operand-size suffix.
13627
0b254d8f
L
136282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13629
13630 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13631 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13632 * sysdeps/x86_64/x32/shlib-versions: New file.
13633
ceb809dc
RM
136342012-05-14 Roland McGrath <roland@hack.frob.com>
13635
13636 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13637 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13638 Use _dl_fatal_printf instead.
13639
37f1abd4
JM
136402012-05-14 Joseph Myers <joseph@codesourcery.com>
13641
13642 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13643 set if not set by the user. Do not allow for being unset.
13644 * sysdeps/unix/sysv/linux/configure: Regenerated.
13645
11de3a33
L
136462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13649 the `q' suffix from lea and replace .quad with ASM_ADDR.
13650
e02f153a
L
136512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13654 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13655 instead of $17.
13656 (PTR_DEMANGLE): Likewise.
13657
520ae0fd
L
136582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13659
13660 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13661 (LP_OP): Likewise.
13662 (ASM_ADDR): Likewise.
13663 (RAX_LP): Likewise.
13664 (RBP_LP): Likewise.
13665 (RBX_LP): Likewise.
13666 (RCX_LP): Likewise.
13667 (RDI_LP): Likewise.
13668 (RSI_LP): Likewise.
13669 (RSP_LP): Likewise.
13670 (R8_LP): Likewise.
13671 (R9_LP): Likewise.
13672 (R10_LP): Likewise.
13673 (R10_LP): Likewise.
13674 (R11_LP): Likewise.
13675 (R12_LP): Likewise.
13676 (R13_LP): Likewise.
13677 (R14_LP): Likewise.
13678 (R15_LP): Likewise.
13679
b985be81
L
136802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13681
13682 * sysdeps/x86_64/x32/dl-machine.h: New file.
13683
6a4888ff
AJ
136842012-05-14 Andreas Jaeger <aj@suse.de>
13685
13686 * manual/Makefile (subdir): Remove export of subdir.
13687 (all): Remove target.
13688 (.PHONY): Remove all from list.
13689 (mkinstalldirs): Remove.
13690 (.PHONY): Remove installdirs from list.
13691 ($(inst_infodir)/libc.info): Use make-target-directory.
13692 (installdirs): Remove.
13693 (subdir_%): Remove.
13694 (glibc-targets): Remove.
13695 (lib): Remove.
13696 (stubs): Remove.
13697 ($(objpfx)stubs ../po/manual.pot): Remove.
13698 ($(objpfx)stamp%): Remove.
13699 (make-target-directory): Remove.
13700 (subdir_install): Remove.
13701 (routines): Remove.
13702 (aux): Remove.
13703 (sources): Remove.
13704 (objects): Remove.
13705 (headers): Remove.
13706
13707 [BZ #13750]
13708 * manual/.gitignore: Remove, it's not needed anymore.
13709 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13710 all files in it.
13711 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13712 directory.
13713 (texis): Renamed to $(objpfx)texis.
13714 (texis-path): New, contains path to generated files.
13715 (chapters.%): Use texis-path for complete path, add extra argument
13716 libc-texinfo.sh.
13717 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13718 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13719 (summary,texi, stamp-summary): Use complete path of
13720 files. Generate files in build dir.
13721 (dir-add.texi): Build in build dir.
13722 (libm-err.texi,stamp-libm-err): Likewise.
13723 (version.texi, stamp-version): Likewise.
13724 (.%c.texi): Likewise.
13725 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13726 (mostlyclean): Remove target.
13727 (realclean): Remove target.
13728 (generated): Add new variable with contents from mostlyclean and
13729 realclean, remove entries duplicated in common-mostlyclean, add
13730 stamp-libm-err and stamp-version.
13731 (generated-dirs): Add libc directory.
13732 ($(inst_infodir)/libc.info): Install files from build dir.
13733
13734 * manual/install.texi (Configuring and compiling): Adjust since
13735 the info files are not part of the tar ball anymore.
13736
7ac77294
AJ
137372012-05-14 Andreas Jaeger <aj@suse.de>
13738
13739 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13740 variable.
13741
ffb7875d
JM
137422012-05-14 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #13717]
13745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13746 to 2.2.0 where earlier.
13747 * sysdeps/unix/sysv/linux/configure: Regenerated.
13748 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13749 Remove conditional code.
13750 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13751 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13752 Remove conditional code.
13753 [!__NR_lchown]: Likewise.
13754 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13755 [__NR_lchown]: Likewise.
13756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13757 comment referencing __ASSUME_LCHOWN_SYSCALL.
13758 * sysdeps/unix/sysv/linux/i386/sigaction.c
13759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13761 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13762 Remove conditional code.
13763 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13764 (__protocol_available): Remove #if 0 code.
13765 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13766 conditional code.
13767 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13768 * sysdeps/unix/sysv/linux/kernel-features.h
13769 (__ASSUME_GETCWD_SYSCALL): Don't define.
13770 (__ASSUME_REALTIME_SIGNALS): Likewise.
13771 (__ASSUME_PREAD_SYSCALL): Likewise.
13772 (__ASSUME_PWRITE_SYSCALL): Likewise.
13773 (__ASSUME_POLL_SYSCALL): Likewise.
13774 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13775 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13776 non-SPARC.
13777 (__ASSUME_SIOCGIFNAME): Don't define.
13778 (__ASSUME_MSG_NOSIGNAL): Likewise.
13779 (__ASSUME_SENDFILE): Define unconditionally.
13780 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13781 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13782 conditional code.
13783 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13784 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13785 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13786 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13787 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13788 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13789 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13806 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13812 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13814 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13815 Remove conditional code.
13816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13817 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13818 Remove conditional code.
13819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13820 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13821 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13822 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13823 Remove conditional code.
13824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13825 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13826 Remove conditional code.
13827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13828 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13829 Remove conditional code.
13830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13831 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13832 Remove conditional code.
13833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13834 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13835 Remove conditional code.
13836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13837 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13840 * sysdeps/unix/sysv/linux/sigaction.c
13841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13843 * sysdeps/unix/sysv/linux/sigpending.c
13844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13846 * sysdeps/unix/sysv/linux/sigprocmask.c
13847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13849 * sysdeps/unix/sysv/linux/sigsuspend.c
13850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13852 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13853 (__libc_missing_rt_sigs): Remove.
13854 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13855 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13856 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13857 Remove conditional code.
13858 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13859 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13860 return 1.
13861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13864 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13865
1bfb7291
AJ
138662012-05-14 Andreas Jaeger <aj@suse.de>
13867
caae5a81
AJ
13868 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13869 it's not used in glibc.
13870 (__coshm1): Likewise.
13871 (__acosh1p): Likewise.
13872 (__sgn): Likewise.
13873
1bfb7291
AJ
13874 * manual/string.texi (Copying and Concatenation): Add missing
13875 variable in concat example.
13876 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13877
c044d724
L
138782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13879
144c5467 13880 [BZ #14103]
c044d724
L
13881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13882 __builtin_clzl with __builtin_clzll.
13883
2523c62b
L
138842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13885
13886 [BZ #14104]
13887 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13888 libc_freeres_ptr.
13889
d7bb4c42
LD
138902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13891
13892 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13893 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13894 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13895 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13896
9dc4e1fb
MF
138972012-05-14 Mike Frysinger <vapier@gentoo.org>
13898
13899 * NEWS: Update ia64 info.
13900
c7df0112
AS
139012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13902
13903 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13904 used as bcopy.
13905
dc70356c
TS
139062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13907
13908 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13909 * sysdeps/unix/syscalls.list (dup3): Likewise.
13910 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13911 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13912
9fb1a21f
L
139132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13916 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13917
4822a2a5
L
139182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13921 thread pointer.
13922 (TLS_IE): Use mov/add instead of movq/addq to load thread
13923 pointer.
13924 (TLS_GD_PREFIX): New.
13925 (TLS_GD): Use it.
13926
842b81d6
DM
139272012-05-11 David S. Miller <davem@davemloft.net>
13928
13929 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13930 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13931 (_FPU_SETCW): Likewise.
13932
1cf463cd
L
139332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13936 is 32-byte aligned.
13937
60cc4a18
AS
139382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13939
13940 [BZ #11837]
13941 * iconvdata/gb18030.c: Update tables.
13942 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13943 characters specially.
13944 (BODY for TO_LOOP): Add encoding of missing ranges.
13945
febb44a4
TS
139462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13947
13948 [BZ #13673]
13949 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13950 * sysdeps/mach/hurd/dup3.c: Likewise.
13951 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13952 * sysdeps/powerpc/memmove.c:: Likewise.
13953
0a10fb9e
L
139542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13955
13956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13957 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13958
df8a552f
L
139592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13960
13961 * elf/elf.h (R_X86_64_RELATIVE64): New.
13962 (R_X86_64_NUM): Updated.
13963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13964 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13965 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13966 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13967 tst-quad1pie tst-quad2pie
13968 (modules-names): Add tst-quadmod1 tst-quadmod2.
13969 ($(objpfx)tst-quad1): New dependency.
13970 ($(objpfx)tst-quad2): Likewise.
13971 ($(objpfx)tst-quad1pie): Likewise.
13972 ($(objpfx)tst-quad2pie): Likewise.
13973 * sysdeps/x86_64/tst-quad1.c: New file.
13974 * sysdeps/x86_64/tst-quad1pie.c: New file.
13975 * sysdeps/x86_64/tst-quad2.c: Likewise.
13976 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13977 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13978 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13979 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13980 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13981
f34d6f84
ST
139822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13983
f42d41d1
ST
13984 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13985 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13986 * streams/stropts.h (t_scalar_t): Define type.
13987
3c3571fc
ST
13988 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13989 (_PATH_PRESERVE): Set to "/var/lib".
13990 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13991
61f06bd3
ST
13992 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13993 instead of int.
13994
918d4d71
ST
13995 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13996 if __dir_mkfile succeeded.
13997
f34d6f84
ST
13998 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13999 checking for _hurd_dtablesize. Unlock it right after having
14000 finished _hurd_dtable allocation.
14001
10589b4a
TS
140022012-05-10 Thomas Schwinge <thomas@schwinge.name>
14003
674cdbc7
TS
14004 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14005 * sysdeps/mach/hurd/configure: Regenerated.
14006 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14007 special-casing to...
14008 * sysdeps/gnu/configure.in: ... this new file.
14009 * sysdeps/unix/sysv/linux/configure: Regenerated.
14010 * sysdeps/gnu/configure: New generated file.
14011
8e41b99f
TS
14012 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14013 for Linux: use nsec instead of usec, as well as:
14014 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14015 members of type struct timespec.
14016 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14017 New macros.
14018 (struct stat64): Likewise.
14019 (_STATBUF_ST_NSEC): New macro.
14020 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14021
10589b4a
TS
14022 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14023 __strtoul_internal rather than strtoul.
14024
63643c85
PT
140252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14026
14027 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14028 and reject them.
14029
3faebe6a
ST
140302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14031
14032 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14033 which preserves existing values.
14034 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14035
c6474b07
PT
140362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14037
14038 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14039 TIMEOUT values. Return EINVAL for NFDS values either negative or
14040 greater than FD_SETSIZE.
14041
1043890b
ST
140422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14043
14044 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14045 allocated, call __vm_protect to finish enabling the existing space, and
14046 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14047 allocate the remainder.
14048
37ed8b9b
PT
140492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14050
14051 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14052 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14053
db653660
ST
140542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14055
37ed8b9b
PT
14056 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14057 sysdeps/mach/hurd/readlink.c.
b29d4053 14058
db653660
ST
14059 * posix/tst-sysconf.c (posix_options): Only use
14060 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14061 _POSIX_SYNCHRONIZED_IO when they are defined
14062 * sysdeps/mach/hurd/bits/posix_opt.h:
14063 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14064 (_XOPEN_REALTIME): Undefine macro.
14065 (_XOPEN_REALTIME_THREADS): Undefine macro.
14066 (_XOPEN_SHM): Undefine macro.
14067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14068 macro to -1.
14069 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14070 macro to -1.
14071 (_POSIX_ASYNC_IO): Undefine macro.
14072 (_POSIX_PRIORITIZED_IO): Undefine macro.
14073 (_POSIX_SPIN_LOCKS): Define macro to -1.
14074
ee16e894
ST
14075 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14076 SA_NODEFER, SA_RESETHAND.
14077 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14078 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14079 F_DUPFD_CLOEXEC.
14080
6103ae3b
TS
140812012-05-10 Thomas Schwinge <thomas@schwinge.name>
14082
14083 * elf/Makefile (pldd-modules): Define unconditionally.
14084
80b4e5f3
TS
140852012-05-10 Thomas Schwinge <thomas@schwinge.name>
14086
14087 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14088
edadcbd6
ST
140892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14090
14091 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14092 Return ENOENT when name is empty.
14093 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14094
80694780
TS
140952012-05-10 Thomas Schwinge <thomas@schwinge.name>
14096
1792c087
TS
14097 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14098
80694780
TS
14099 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14100
6b645f0d
ST
141012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14102
80694780
TS
14103 Fix mlock in all cases except non-readable pages.
14104 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14105 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14106
6b645f0d
ST
14107 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14108 (__mkdir): When path is `/', just fail with EEXIST.
14109 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14110
e468f8a3
TS
141112012-05-10 Thomas Schwinge <thomas@schwinge.name>
14112
14113 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14114 <sys/uio.h> (for writev).
14115 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14116 and <sys/param.h> (for MIN).
14117
a4186cff
PT
141182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14119
14120 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14121 REQUESTED_TIME. Properly set the remaining time and return EINTR
14122 if interrupted.
14123
510bbf14
TS
141242012-05-10 Thomas Schwinge <thomas@schwinge.name>
14125
14126 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14127 Depend on against $(link-rpcuserlibs).
14128
5d5722e8
ST
141292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14130
a4186cff
PT
14131 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14132 (__libc_stack_end): Do not use attribute_relro.
14133 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14134 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14135 to libthread-provided value.
a4186cff
PT
14136 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14137 attribute_relro.
5d5722e8 14138
37233df9
TS
141392012-05-10 Thomas Schwinge <thomas@schwinge.name>
14140
be971a2b
TS
14141 [BZ #3748]
14142 * bits/libc-lock.h (__libc_once_get): New macro.
14143 * sysdeps/mach/bits/libc-lock.h: Likewise.
14144 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14146 instead of using implementation details.
14147
37233df9
TS
14148 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14149 * libio/freopen.c: Likewise.
14150 * libio/freopen64.c: Likewise.
14151 * misc/syslog.c: Likewise.
14152 * nscd/connections.c: Likewise.
14153 * nscd/netgroupcache.c: Likewise.
14154 * sysdeps/posix/getcwd.c: Likewise.
14155
38de94a5
RM
141562012-05-10 Roland McGrath <roland@hack.frob.com>
14157
14158 * math/w_ilogbf.c: Add #include <limits.h>.
14159
67530489
ST
141602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14161
a4186cff 14162 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14163 path instead of returning without unlocking.
14164
67530489
ST
14165 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14166 immediate-write ioctls.
14167 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14168
5aa3a74a
TS
141692012-05-10 Thomas Schwinge <thomas@schwinge.name>
14170
18bad2ae
TS
14171 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14172 __builtin_frame_address instead of making assumptions about the
14173 location of the return address relative to DATA. Force early load of
14174 the return address.
14175 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14176 __builtin_frame_address.
14177
5aa3a74a
TS
14178 dup3 for GNU Hurd.
14179 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14180 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14181 implement dup3 and do some further code clean-ups.
14182 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14183 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14184
ecd0de9a
ST
141852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14186
cd9fa985
ST
14187 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14188
a4186cff
PT
14189 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14190 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14191 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14192 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14193 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14194 d->port.lock.
802ca5a5 14195
a4186cff
PT
14196 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14197 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14198 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14199
bcf55240
TS
142002012-05-10 Thomas Schwinge <thomas@schwinge.name>
14201
6960eb42
TS
14202 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14203 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14204 definitions.
14205
eb43375f
TS
14206 accept4 for GNU Hurd.
14207 * include/sys/socket.h (__libc_accept4): New prototype.
14208 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14209 to implement __libc_accept4.
14210 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14211 __libc_accept4.
14212 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14213
bcf55240
TS
14214 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14215 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14216 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14217 signal-defines.sym.
14218
6178c55b
ST
142192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14220
a4186cff 14221 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14222
6f080c2f
TS
142232012-05-10 Thomas Schwinge <thomas@schwinge.name>
14224
14225 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14226 assertion on O_CLOEXEC flag.
14227 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14228 * hurd/intern-fd.c: Likewise.
14229 * hurd/port2fd.c: Likewise.
14230
bcfe3a54
ST
142312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14232
14233 [BZ #3906]
14234 * bits/in.h (IPV6_PKTINFO): Define new macro.
14235 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14236
89c9aa49
AZ
142372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14238
14239 [BZ #13954]
14240 [BZ #13955]
14241 [BZ #13956]
14242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14244 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14247 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14248 * math/libm-test.inc (logb_test) : Additional logb tests.
14249
021db4be
AJ
142502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14251 Andreas Jaeger <aj@suse.de>
14252
14253 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14254 * configure: Regenerated.
14255 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14256 * config.make.in (link-obsolete-rpc): New substituted variable.
14257 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14258 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14259 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14260 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14261 so that libc.a contains the symbols.
14262 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14263 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14264 * sunrpc/auth_none.c: Likewise.
14265 * sunrpc/auth_unix.c: Likewise.
14266 * sunrpc/authdes_prot.c: Likewise.
14267 * sunrpc/authuxprot.c: Likewise.
14268 * sunrpc/clnt_gen.c: Likewise.
14269 * sunrpc/clnt_perr.c: Likewise.
14270 * sunrpc/clnt_raw.c: Likewise.
14271 * sunrpc/clnt_simp.c: Likewise.
14272 * sunrpc/clnt_tcp.c: Likewise.
14273 * sunrpc/clnt_udp.c: Likewise.
14274 * sunrpc/clnt_unix.c: Likewise.
14275 * sunrpc/des_crypt.c: Likewise.
14276 * sunrpc/des_soft.c: Likewise.
14277 * sunrpc/get_myaddr.c: Likewise.
14278 * sunrpc/key_call.c: Likewise.
14279 * sunrpc/key_prot.c: Likewise.
14280 * sunrpc/netname.c: Likewise.
14281 * sunrpc/pm_getmaps.c: Likewise.
14282 * sunrpc/pm_getport.c: Likewise.
14283 * sunrpc/pmap_clnt.c: Likewise.
14284 * sunrpc/pmap_prot.c: Likewise.
14285 * sunrpc/pmap_prot2.c: Likewise.
14286 * sunrpc/pmap_rmt.c: Likewise.
14287 * sunrpc/publickey.c: Likewise.
14288 * sunrpc/rpc_cmsg.c: Likewise.
14289 * sunrpc/rpc_common.c: Likewise.
14290 * sunrpc/rpc_dtable.c: Likewise.
14291 * sunrpc/rpc_prot.c: Likewise.
14292 * sunrpc/rpc_thread.c: Likewise.
14293 * sunrpc/rtime.c: Likewise.
14294 * sunrpc/svc.c: Likewise.
14295 * sunrpc/svc_auth.c: Likewise.
14296 * sunrpc/svc_raw.c: Likewise.
14297 * sunrpc/svc_run.c: Likewise.
14298 * sunrpc/svc_tcp.c: Likewise.
14299 * sunrpc/svc_udp.c: Likewise.
14300 * sunrpc/svc_unix.c: Likewise.
14301 * sunrpc/svcauth_des.c: Likewise.
14302 * sunrpc/xcrypt.c: Likewise.
14303 * sunrpc/xdr.c: Likewise.
14304 * sunrpc/xdr_array.c: Likewise.
14305 * sunrpc/xdr_float.c: Likewise.
14306 * sunrpc/xdr_intXX_t.c: Likewise.
14307 * sunrpc/xdr_mem.c: Likewise.
14308 * sunrpc/xdr_rec.c: Likewise.
14309 * sunrpc/xdr_ref.c: Likewise.
14310 * sunrpc/xdr_sizeof.c: Likewise.
14311 * sunrpc/xdr_stdio.c: Likewise.
14312
b5c086a2
RM
143132012-05-10 Roland McGrath <roland@hack.frob.com>
14314
14315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14316 change. Update copyright years.
14317
6d74dd09
JM
143182012-05-10 Joseph Myers <joseph@codesourcery.com>
14319
14320 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14321
28e72501
MK
143222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14323 Joseph Myers <joseph@codesourcery.com>
14324 Paul Pluzhnikov <ppluzhnikov@google.com>
14325
14326 [BZ #14012]
14327 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14328 requiring rpcgen.
14329 [cross-compiling] (extra-libs): Likewise.
14330 [cross-compiling] (extra-libs-others): Likewise.
14331 [cross-compiling] (librpcsvc-routines): Likewise.
14332 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14333 [cross-compiling] (omit-deps): Likewise.
14334 (sunrpc-CPPFLAGS): New variable.
14335 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14336 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14337 (cross-rpcgen-objs): New variable.
14338 (extra-objs): Append $(cross-rpcgen-objs).
14339 ($(cross-rpcgen-objs)): New rule.
14340 ($(objpfx)cross-rpcgen): Likewise.
14341 (rpcgen-cmd): Define to use $(built-program-file). Expand
14342 comment.
14343 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14344 ($(objpfx)x%.stmp): Likewise.
14345 * sunrpc/proto.h [IS_IN_build] (_): Define.
14346 [IS_IN_build] (_libc_intl_domainname): Likewise.
14347
c8c59454
L
143482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14349
14350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14351 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14352 and R_X86_64_TPOFF64.
14353
6f27cd16
JM
143542012-05-10 Joseph Myers <joseph@codesourcery.com>
14355
14356 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14357 sysdeps/unix/sysv/syscalls.list.
14358 (stime): Likewise.
14359 (utime): Likewise.
14360 * sysdeps/unix/sysv/syscalls.list: Remove file.
14361
02467e1c
PE
143622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14363
14364 [BZ #3440]
14365 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14366 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14367 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14368 (__LC_IDENTIFICATION): Make these macros useful in #if
14369 expressions, as required by C99.
14370
da392631
AS
143712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14372
14373 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14374 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14375 after this.
14376
8115f29b
L
143772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14378
14379 * stdlib/longlong.h: Updated from GCC.
14380
bdd74070
AJ
143812012-05-09 Andreas Jaeger <aj@suse.de>
14382
edfe0dbe
AJ
14383 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14384 default is first entry.
14385 (run_mode): Set type.
14386 (main): Remove informal message about syslog.
14387 (options): Fix typo.
14388
bcfe3a54
ST
14389 [BZ #14053]
14390 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14391 to asm.
bcfe3a54
ST
14392 (lrint): Likewise.
14393 (llrintf): Likewise.
14394 (llrint): Likewise.
14395 (rint): Likewise.
14396 (rintf): Likewise.
14397 (nearbyint): Likewise.
14398 (nearbyintf): Likewise.
bdd74070 14399
91d8d69e
AJ
144002012-05-09 Andreas Jaeger <aj@suse.de>
14401 Pedro Alves <palves@redhat.com>
14402
14403 * nscd/nscd.c (run_mode): Use enum.
14404 (main): Cleanup coding style issue.
14405
bb90b80b
AJ
144062012-05-09 Alexandre Oliva <aoliva@redhat.com>
14407 Andreas Jaeger <aj@suse.de>
14408
bcfe3a54
ST
14409 * nscd/nscd.c (go_background): Replaced with...
14410 (run_mode): ... this.
bb90b80b 14411 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14412 (options): Add -F --foreground.
14413 (main): Implement it.
14414 (parse_opt): Parse it.
bb90b80b 14415
1a4b75a1
AJ
144162012-05-09 Andreas Jaeger <aj@suse.de>
14417
14418 [BZ #14083]
14419 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14420 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14421 -Wconversion warning.
14422 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14423 Likewise.
14424
b1cc2472
JM
144252012-05-09 Joseph Myers <joseph@codesourcery.com>
14426
14427 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14428 == 0.
14429 (LC_ALL): Use macro-int-constant.
14430 (LC_COLLATE): Likewise.
14431 (LC_CTYPE): Likewise.
14432 (LC_MESSAGES): Likewise.
14433 (LC_MONETARY): Likewise.
14434 (LC_NUMERIC): Likewise.
14435 (LC_TIME): Likewise.
14436 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14437 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14439 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14440 Specify type.
14441 [C99-based standards] (float_t): Expect type.
14442 [C99-based standards] (double_t): Expect type.
14443 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14444 type.
14445 [C99-based standards] (HUGE_VALL): Likewise.
14446 [C99-based standards] (INFINITY): Likewise.
14447 [C99-based standards] (NAN): Likewise.
14448 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14449 [C99-based standards] (FP_NAN): Likewise.
14450 [C99-based standards] (FP_NORMAL): Likewise.
14451 [C99-based standards] (FP_SUBNORMAL): Likewise.
14452 [C99-based standards] (FP_ZERO): Likewise.
14453 [C99-based standards] (FP_FAST_FMA): Use
14454 optional-macro-int-constant. Specify type. Require == 1.
14455 [C99-based standards] (FP_FAST_FMAF): Likewise.
14456 [C99-based standards] (FP_FAST_FMAL): Likewise.
14457 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14458 [C99-based standards] (FP_ILOGBNAN): Likewise.
14459 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14460 Specify type.
14461 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14462 [C99-based standards] (math_errhandling): Specify type.
14463 [ISO99 || ISO11] (signgam): Do not allow.
14464 [non-C99-based standards] (copysignf): Do not allow.
14465 [non-C99-based standards] (exp2f): Likewise.
14466 [non-C99-based standards] (log2f): Likewise.
14467 [non-C99-based standards] (modff): Allow.
14468 [non-C99-based standards] (erff): Do not allow.
14469 [non-C99-based standards] (erfcf): Likewise.
14470 [non-C99-based standards] (gammaf): Likewise.
14471 [non-C99-based standards] (hypotf): Likewise.
14472 [non-C99-based standards] (j0f): Likewise.
14473 [non-C99-based standards] (j1f): Likewise.
14474 [non-C99-based standards] (jnf): Likewise.
14475 [non-C99-based standards] (lgammaf): Likewise.
14476 [non-C99-based standards] (tgammaf): Likewise.
14477 [non-C99-based standards] (y0f): Likewise.
14478 [non-C99-based standards] (y1f): Likewise.
14479 [non-C99-based standards] (ynf): Likewise.
14480 [non-C99-based standards] (isnanf): Likewise.
14481 [non-C99-based standards] (acoshf): Likewise.
14482 [non-C99-based standards] (asinhf): Likewise.
14483 [non-C99-based standards] (atanhf): Likewise.
14484 [non-C99-based standards] (cbrtf): Likewise.
14485 [non-C99-based standards] (expm1f): Likewise.
14486 [non-C99-based standards] (ilogbf): Likewise.
14487 [non-C99-based standards] (log1pf): Likewise.
14488 [non-C99-based standards] (logbf): Likewise.
14489 [non-C99-based standards] (nextafterf): Likewise.
14490 [non-C99-based standards] (remainderf): Likewise.
14491 [non-C99-based standards] (rintf): Likewise.
14492 [non-C99-based standards] (scalbf): Likewise.
14493 [non-C99-based standards] (copysignl): Likewise.
14494 [non-C99-based standards] (exp2l): Likewise.
14495 [non-C99-based standards] (log2l): Likewise.
14496 [non-C99-based standards] (modfl): Allow.
14497 [non-C99-based standards] (erfl): Do not allow.
14498 [non-C99-based standards] (erfcl): Likewise.
14499 [non-C99-based standards] (gammal): Likewise.
14500 [non-C99-based standards] (hypotl): Likewise.
14501 [non-C99-based standards] (j0l): Likewise.
14502 [non-C99-based standards] (j1l): Likewise.
14503 [non-C99-based standards] (jnl): Likewise.
14504 [non-C99-based standards] (lgammal): Likewise.
14505 [non-C99-based standards] (tgammal): Likewise.
14506 [non-C99-based standards] (y0l): Likewise.
14507 [non-C99-based standards] (y1l): Likewise.
14508 [non-C99-based standards] (ynl): Likewise.
14509 [non-C99-based standards] (isnanl): Likewise.
14510 [non-C99-based standards] (acoshl): Likewise.
14511 [non-C99-based standards] (asinhl): Likewise.
14512 [non-C99-based standards] (atanhl): Likewise.
14513 [non-C99-based standards] (cbrtl): Likewise.
14514 [non-C99-based standards] (expm1l): Likewise.
14515 [non-C99-based standards] (ilogbl): Likewise.
14516 [non-C99-based standards] (log1pl): Likewise.
14517 [non-C99-based standards] (logbl): Likewise.
14518 [non-C99-based standards] (nextafterl): Likewise.
14519 [non-C99-based standards] (remainderl): Likewise.
14520 [non-C99-based standards] (rintl): Likewise.
14521 [non-C99-based standards] (scalbl): Likewise.
14522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14523 [non-C99-based standards] (FP_*): Do not allow.
14524 [C99-based standards] (FP_*): Change to
14525 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14526 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14527 allow.
14528 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14529 (SIG_ERR): Likewise.
14530 [X/Open-based standards] (SIG_HOLD): Likewise.
14531 (SIG_IGN): Likewise.
14532 (SIGABRT): Use macro-int-constant. Specify type. Require
14533 positive value.
14534 (SIGFPE): Likewise.
14535 (SIGILL): Likewise.
14536 (SIGINT): Likewise.
14537 (SIGSEGV): Likewise.
14538 (SIGTER): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14542 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14543 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14551 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14552 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14557 [X/Open-based standards] (SIGTRAP): Likewise.
14558 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14560 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14562 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14563 allow.
14564
b9f1922d
IW
145652012-05-08 Ian Wienand <ianw@vmware.com>
14566
14567 [BZ #14080]
14568 * time/tzset.c (__tzset_parse_tz): Update default rules for
14569 daylight time changes in the Energy Policy Act of 2005.
14570
1db86e88
AJ
145712012-05-09 Andreas Jaeger <aj@suse.de>
14572
14573 [BZ #13983]
14574 * elf/ldconfig.c (parse_conf): Change string to make clear that
14575 ldconfig only issued a warning if ld.so.conf does not exist.
14576
dee4a4e3
DM
145772012-05-08 David S. Miller <davem@davemloft.net>
14578
ee0db190
DM
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14580 movxtod instead of popping the value on the stack.
14581
dee4a4e3
DM
14582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14583
6a43ec98
CD
145842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14585
14586 * config.h.in: Add HAVE_ARM_PCS_VFP.
14587
05c2c961
RMG
145882012-05-08 Roland Mc Grath <roland@hack.frob.com>
14589
bcfe3a54
ST
14590 [BZ #13979]
14591 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14592 checking but the checks are disabled for any reason.
05c2c961 14593
4b30f61a
L
145942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14595
14596 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14597 and ELF64_R_TYPE with ELFW(R_TYPE).
14598
eee2bc67
JM
145992012-05-08 Joseph Myers <joseph@codesourcery.com>
14600
7ea5391a
JM
14601 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14602 (ulimit): Likewise.
14603
eee2bc67
JM
14604 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14605 (settimeofday): Likewise.
14606
abb66a67
MF
146072012-05-08 Mike Frysinger <vapier@gentoo.org>
14608
14609 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14610 a struct th_u2 inside the union, and move tu_block/tu_code into
14611 a new th_u3 union of tu_block/tu_code inside of that. Move
14612 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14613 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14614 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14615 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14616 (th_stuff): Change to th_u1.tu_stuff.
14617 (th_data): Define.
14618 (th_msg): Change to th_u1.th_u2.tu_data.
14619
7f18b530
DM
146202012-05-07 David S. Miller <davem@davemloft.net>
14621
05760585
DM
14622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14623
7f18b530
DM
14624 [BZ #14074]
14625 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14626 (SETUP_PIC_REG): Use it.
14627 (SETUP_PIC_REG_LEAF): Use it.
14628
495fd99f
JM
146292012-05-07 Joseph Myers <joseph@codesourcery.com>
14630
14631 [BZ #13885]
14632 [BZ #13923]
14633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14634 USE_AS_EXPM1L.
14635 (EXPL_FINITE): Likewise.
14636 (FLDLOG): Likewise.
14637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14638 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14639 e_expl.S.
14640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14641 USE_AS_EXPM1L.
14642 (EXPL_FINITE): Likewise.
14643 (FLDLOG): Likewise.
14644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14645 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14646 e_expl.S.
14647 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14648 test of -max_value argument for long double.
14649 * sysdeps/i386/fpu/libm-test-ulps: Update.
14650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651
6693d694
DM
146522012-05-06 David S. Miller <davem@davemloft.net>
14653
14654 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14655 quad soft-float symbols whose references which are compiler
14656 generated.
14657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14658
6c23e11c
JM
146592012-05-06 Joseph Myers <joseph@codesourcery.com>
14660
d8b82cad
JM
14661 [BZ #13884]
14662 [BZ #13914]
14663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14664 USE_AS_EXP10L.
14665 (EXPL_FINITE): Likewise.
14666 (FLDLOG): Likewise.
14667 (c0): Likewise.
14668 (c1): Likewise.
14669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14670 Adjust comments for base varying.
14671 (__expl_finite): Change alias to EXPL_FINITE.
14672 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14673 e_expl.S.
14674 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14675 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14677 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14678 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14679 USE_AS_EXP10L.
14680 (EXPL_FINITE): Likewise.
14681 (FLDLOG): Likewise.
14682 (c0): Likewise.
14683 (c1): Likewise.
14684 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14685 Adjust comments for base varying.
14686 (__expl_finite): Change alias to EXPL_FINITE.
14687 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14688 tests for bugs.
14689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14690
6c23e11c
JM
14691 [BZ #14064]
14692 * math/libm-test.inc (check_float_internal): Correct ulp
14693 calculation for subnormal expected results.
14694
29ba805c
AJ
146952012-05-06 Andreas Jaeger <aj@suse.de>
14696
14697 * Makeconfig (+math-flags): New, set to -frounding-math.
14698 (+cflags): Add +math-flags so that all of glibc gets compiled with
14699 it.
14700
14701 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14702
7b17aeda
JM
147032012-05-05 Joseph Myers <joseph@codesourcery.com>
14704
5779f134
JM
14705 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14706 Disable one test.
14707
41498f4d
JM
14708 [BZ #13787]
14709 [BZ #13922]
14710 [BZ #14036]
14711 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14712 (__ieee754_expl): Allow for and saturate large arguments.
14713 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14714 (u_threshold): Likewise.
14715 (__exp): Call __ieee754_exp before checking for overflow and
14716 underflow.
14717 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14718 (u_threshold): Likewise.
14719 (__expf): Call __ieee754_expf before checking for overflow and
14720 underflow.
14721 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14722 (u_threshold): Likewise.
14723 (__expl): Call __ieee754_expl before checking for overflow and
14724 underflow.
14725 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14726 (__ieee754_expl): Allow for and saturate large arguments.
14727 * math/libm-test.inc (exp_test): Add another test. Do not allow
14728 missing overflow exception on overflow.
14729 (expm1_test): Do not allow missing overflow exception on overflow.
14730
6698b8bf
JM
14731 * sysdeps/i386/fpu/e_expl.c: Move to ...
14732 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14733 rather than using inline asm.
14734 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14735 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14736 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14737
7b17aeda
JM
14738 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14739 (nice): Likewise.
14740 (poll): Likewise.
14741 (signal): Likewise.
14742 (time): Likewise.
14743 (times): Likewise.
14744
f7c85819
JM
147452012-05-04 Joseph Myers <joseph@codesourcery.com>
14746
14747 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14748 sysdeps/unix/common/syscalls.list.
14749 (fchmod): Likewise.
14750 (fchown): Likewise.
14751 (ftruncate): Likewise.
14752 (getrusage): Likewise.
14753 (gettimeofday): Likewise.
14754 (setpgid): Likewise.
14755 (setregid): Likewise.
14756 (setreuid): Likewise.
14757 (sigaction): Likewise.
14758 (truncate): Likewise.
14759 (vhangup): Likewise.
14760 * sysdeps/unix/common/syscalls.list: Remove file.
14761 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14762 * sysdeps/unix/sysv/linux/Implies: Likewise.
14763
336270d0
L
147642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14765
14766 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14768 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14769 Moved to ...
14770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14771 Here.
14772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14773 to ...
14774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14776 to ...
14777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14778 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14779 to ...
14780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14781 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14782 to ...
14783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14784 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14785 to ...
14786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14787 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14788 to ...
14789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14790 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14791 to ...
14792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14793 Here.
14794 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14795 to ...
14796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14797 Here.
14798 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14799 to ...
14800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14801 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14802 Moved to ...
14803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14804 Here.
14805 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14806 to ...
14807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14808
d128e450
JM
148092012-05-04 Joseph Myers <joseph@codesourcery.com>
14810
fa8ee516
JM
14811 * sysdeps/unix/common/bits/dirent.h: Remove file.
14812 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14813
d128e450
JM
14814 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14815 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14816 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14817 * sysdeps/unix/bsd/isatty.c: Likewise.
14818 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14819 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14820 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14821
ff8faaf0 148222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14823
62881be4 14824 [BZ #13563]
31dc8730
AZ
14825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14826 long double comparison inaccuracies.
14827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14829
6fef930c
AS
148302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14834
8f203e6c
JM
148352012-05-04 Joseph Myers <joseph@codesourcery.com>
14836
14837 [BZ #14049]
14838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14839 nonzero digits before rounding a hex value.
14840 * stdlib/tst-strtod.c (tests): Add another test.
14841
5197d9c2
AK
148422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14843
14844 * sysdeps/s390/fpu/libm-test-ulps: Update.
14845
f0c1dedf
AJ
148462012-05-03 Andreas Jaeger <aj@suse.de>
14847
14848 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14849 does not get optimized out.
14850 (malloc_opt_barrier): New.
14851
a65ef2ae 148522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14853 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14854
2b942cb7 14855 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14856 intermediate file deletion.
2b942cb7 14857 (generated): Add .symlist files.
a65ef2ae 14858
54b71e02
JM
148592012-05-03 Joseph Myers <joseph@codesourcery.com>
14860
14861 [BZ #13775]
14862 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14863 Redirect under this condition.
14864 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14865 [__USE_GNU] (__dprintf_chk): Not under this condition.
14866 [__USE_GNU] (__vdprintf_chk): Likewise.
14867 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14868 under this condition.
14869 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14870 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14871 [__USE_XOPEN2K8] (vdprintf): Likewise.
14872 [__USE_GNU] (__dprintf_chk): Not under this condition.
14873 [__USE_GNU] (__vdprintf_chk): Likewise.
14874 [__USE_GNU] (dprintf): Likewise.
14875 [__USE_GNU] (vdprintf): Likewise.
14876
d3dfcc41
RM
148772012-05-03 Roland McGrath <roland@hack.frob.com>
14878
14879 * elf/Makefile (common-generated): Set this instead of generated for
14880 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14881 $(all-built-dso)-derived lists.
14882
7ac30cc5
AJ
148832012-05-03 Andreas Jaeger <aj@suse.de>
14884
0c51e550
AJ
14885 * sysdeps/i386/fpu/libm-test-ulps: Update.
14886
7ac30cc5
AJ
14887 * FAQ: Removed.
14888 * FAQ.in: Likewise.
14889 * scripts/gen-FAQ.pl: Likewise.
14890 * manual/install.texi (Installation): Point to online location of
14891 FAQ.
14892 * Makefile (files-for-dist): Remove FAQ.
14893 (FAQ): Remove.
14894
d4c2917f
AM
148952012-05-02 Allan McRae <allan@archlinux.org>
14896
14897 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14898 (LDFLAGS-reldepmod5.so): Likewise.
14899 (LDFLAGS-reldep6mod1.so): Likewise.
14900 (LDFLAGS-reldep6mod4.so): Likewise.
14901 (LDFLAGS-reldep8mod3.so): Likewise.
14902 (LDFLAGS-unload4mod1.so): Likewise.
14903 (LDFLAGS-unload4mod2.so): Likewise.
14904 (LDFLAGS-tst-initorder): Likewise.
14905 (LDFLAGS-tst-initordera2.so): Likewise.
14906 (LDFLAGS-tst-initordera3.so): Likewise.
14907 (LDFLAGS-tst-initordera4.so): Likewise.
14908 (LDFLAGS-tst-initorderb2.so): Likewise.
14909 (LDFLAGS-noload): Likewise.
14910 (LDFLAGS-next): Likewise.
14911 (LDFLAGS-order2mod1.so): Likewise.
14912 (LDFLAGS-order2mod2.so): Likewise.
14913 (LDFLAGS-tst-initorder2): Likewise.
14914 (LDFLAGS-tst-initorder2a.so): Likewise.
14915 (LDFLAGS-tst-initorder2b.so): Likewise.
14916 (LDFLAGS-tst-initorder2c.so): Likewise.
14917 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14918
d77f993f
DM
149192012-05-02 David S. Miller <davem@davemloft.net>
14920
14921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14922
171a70b4
PP
149232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14924
14925 [BZ #14055]
14926 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14927
0be196ad
AJ
149282012-05-02 Andreas Jaeger <aj@suse.de>
14929
14930 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14931 since we manipulate rounding mode.
14932 (CPPFLAGS-test-idouble.c): Likewise.
14933 (CPPFLAGS-test-ifloat.c): Likewise.
14934 (CFLAGS-test-ldouble.c): Likewise.
14935 (CFLAGS-test-double.c): Likewise.
14936 (CFLAGS-test-float.c): Likewise.
14937 (CFLAGS-test-misc.c): Likewise.
14938 (CFLAGS-test-test-fenv.c): Likewise.
14939
4f9d04aa
AZ
149402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14941
2b942cb7
RM
14942 [BZ #2550]
14943 [BZ #2570]
14944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14945 comparisons to determine direction to adjust input.
4f9d04aa 14946
82a79e7d
RM
149472012-05-01 Roland McGrath <roland@hack.frob.com>
14948
f5a01ca9
RM
14949 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14950 output to the target.
14951
90fe4186
RM
14952 * scripts/localplt.awk: New file.
14953 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14954 (check-localplt-CFLAGS): Variable removed.
14955 ($(all-built-dso:=.jmprel)): New static pattern rule.
14956 (generated): Add those targets.
14957 (localplt-built-dso): New variable.
14958 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14959
14960 * elf/check-localplt.c: File removed.
14961
82397ed6
RM
14962 * scripts/check-execstack.awk: New file.
14963 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14964 (check-execstack-CFLAGS): Variable removed.
14965 ($(objpfx)check-execstack.h): Target removed.
14966 ($(objpfx)execstack-default): New target.
14967 (generated): Add that instead of check-execstack.h.
14968 ($(all-built-dso:=.phdr)): New static pattern rule.
14969 (generated): Add those targets.
14970 * elf/check-execstack.c: File removed.
14971
82a79e7d
RM
14972 * scripts/check-textrel.awk: New file.
14973 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14974 (check-textrel-CFLAGS): Variable removed.
14975 (all-built-dso): Use := to define.o
14976 ($(all-built-dso:=.dyn)): New static pattern rule.
14977 (generated): Add those targets.
14978 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14979 * config.make.in (READELF): New substituted variable.
14980 * elf/check-textrel.c: File removed.
14981
62fde54f 149822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14983
615605c9
JM
14984 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14985 allow.
14986 * conform/data/ctype.h-data [C99-based standards] (isblank):
14987 Expect function.
14988 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14989 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14991 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14992 Specify type. Require positive value.
14993 (EILSEQ): Likewise.
14994 (ERANGE): Likewise.
14995 [ISO || POSIX] (EILSEQ): Do not expect.
14996 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14997 Specify type. Require positive value.
14998 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15000 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15001 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15002 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15003 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15006 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15007 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15008 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15009 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15010 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15011 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15012 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15013 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15014 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15016 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15023 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15024 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15066 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15072 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15073 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15074 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15075 Require >= 2.
15076 (FLT_ROUNDS): Expect as macro, not constant.
15077 (FLT_MANT_DIG): Use macro-int-constant.
15078 (DBL_MANT_DIG): Likewise.
15079 (LDBL_MANT_DIG): Likewise.
15080 (FLT_DIG): Likewise.
15081 (DBL_DIG): Likewise.
15082 (LDBL_DIG): Likewise.
15083 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15084 (DBL_MIN_EXP): Likewise.
15085 (LDBL_MIN_EXP): Likewise.
15086 (FLT_MAX_EXP): Use macro-int-constant.
15087 (DBL_MAX_EXP): Likewise.
15088 (LDBL_MAX_EXP): Likewise.
15089 (FLT_MAX_10_EXP): Likewise.
15090 (DBL_MAX_10_EXP): Likewise.
15091 (LDBL_MAX_10_EXP): Likewise.
15092 (FLT_MAX): Use macro-constant.
15093 (DBL_MAX): Likewise.
15094 (LDBL_MAX): Likewise.
15095 (FLT_EPSILON): Use macro-constant. Give upper bound.
15096 (DBL_EPSILON): Likewise.
15097 (LDBL_EPSILON): Likewise.
15098 (FLT_MIN): Likewise.
15099 (DBL_MIN): Likewise.
15100 (LDBL_MIN): Likewise.
15101 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15102 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15103 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15104 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15105 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15106 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15107 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15108 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15109 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15110 [ISO11] (FLT_TRUE_MIN): Likewise.
15111 [ISO11] (LDBL_TRUE_MIN): Likewise.
15112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15113 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15114 (SCHAR_MIN): Use macro-int-constant. Specify type.
15115 (SCHAR_MAX): Likewise.
15116 (UCHAR_MAX): Likewise.
15117 (CHAR_MIN): Likewise.
15118 (CHAR_MAX): Likewise.
15119 (MB_LEN_MAX): Use macro-int-constant.
15120 (SHRT_MIN): Use macro-int-constant. Specify type.
15121 (SHRT_MAX): Likewise.
15122 (USHRT_MAX): Likewise.
15123 (INT_MAX): Likewise.
15124 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15125 bound negative.
15126 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15127 bound with "U".
15128 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15129 bound with "L".
15130 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15131 bound negative. Suffix upper bound with "L".
15132 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15133 bound with "UL".
15134 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15135 Specify type.
15136 [C99-based standards] (LLONG_MAX): Likewise.
15137 [C99-based standards] (ULLONG_MAX): Likewise.
15138 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15139 == 0.
15140 [ISO11] (max_align_t): Require type.
15141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15142
c9140a62
JM
15143 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15144 from $CFLAGS, without defining away __attribute__ calls.
15145 (checknamespace): Use $CFLAGS_namespace.
15146
9af0bf29
JM
15147 * conform/conformtest.pl (@keywords): Only include C99 keywords
15148 for standards based on C99 or C11.
15149
343222a2
JM
15150 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15151 Disable tests.
15152 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15153 UNIX98]: Likewise.
15154
661f8cf0
JM
15155 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15156 usability of symbols in #if.
15157
ee74b9cb
JM
15158 * conform/conformtest.pl: If macro or constant types start
15159 "promoted:", expect the symbol to be of the following type
15160 promoted by the integer promotions.
62fde54f 15161
aafc49b3
JM
15162 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15163 in one place. Also handle "macro-constant".
15164
fefdf574
JM
15165 * conform/conformtest.pl: Only accept expected macro values with
15166 "==". Parse all "macro" lines in one place.
15167 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15168
f2d922fe
JM
15169 * conform/conformtest.pl: Handle braced types on "constant" lines
15170 instead of handling "typed-constant".
15171 * conform/data/signal.h-data: Use "constant" instead of
15172 "typed-constant".
15173
d22956c9
JM
15174 * conform/conformtest.pl: Handle "optional-" at start of lines in
15175 one place rather than duplicating several cases. Handle each
15176 format of "macro" line with initial "optional-".
15177
028e2e38
JM
15178 * conform/conformtest.pl: Only accept expected constant or
15179 optional-constant values with "==". Parse all "constant" lines in
15180 one place. Parse all "optional-constant" lines in one place.
15181 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15182 * conform/data/fmtmsg.h-data: Likewise.
15183 * conform/data/netinet/in.h-data: Likewise.
15184 * conform/data/tar.h-data: Likewise.
15185 * conform/data/limits.h-data: Use "==" form on "constant" and
15186 "optional-constant" lines.
15187
1b8f2850
JM
15188 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15189 Use -std=c99 for XOPEN2K.
15190 (@knownproblems): Remove.
15191 (newtoken): Don't check %isknown.
15192
a05a144b
JM
15193 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15194 Do not expect macro.
15195 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15207 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15208 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15225 [XPG3] (acosh): Likewise.
15226 [XPG3] (asinh): Likewise.
15227 [XPG3] (atanh): Likewise.
15228 [XPG3] (cbrt): Likewise.
15229 [XPG3] (expm1): Likewise.
15230 [XPG3] (ilogb): Likewise.
15231 [XPG3] (log1p): Likewise.
15232 [XPG3] (logb): Likewise.
15233 [XPG3] (nextafter): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15236 [XPG3] (remainder): Likewise.
15237 [XPG3] (rint): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15245 [UNIX98 || XOPEN2K] (scalb): Expect.
15246 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15247 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15323 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15353 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15361 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15373 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15374 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15375 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15383
73c5ebe3
JM
15384 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15385 _XOPEN_SOURCE_EXTENDED for XPG4.
15386
39c33b6c
JM
15387 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15388
62fde54f
JM
15389 * Makeconfig (localtime): Remove variable.
15390 (inst_localtime-file): Likewise.
15391
0741d64c
AS
153922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15393
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15395 Update.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15397 Update.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15399 Update.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15401 Update.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15403 Update.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15405 Update.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15407 Update.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15409 Update.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15411 Update.
15412
7cb029ee
JM
154132012-05-01 Joseph Myers <joseph@codesourcery.com>
15414
15415 [BZ #2550]
15416 [BZ #2570]
15417 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15418 comparisons to determine direction to adjust input.
15419 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15420 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15422 Likewise.
15423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15424 Likewise.
15425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15426 Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15429 Likewise.
15430 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15431 Likewise.
15432 * math/libm-test.inc (nexttoward_test): Add more tests.
15433
412bd966
AS
154342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15435
15436 [BZ #14040]
15437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15438 in version GLIBC_2.1, not GLIBC_2.0.
15439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15440 Likewise.
15441
9568c0c2
JM
154422012-04-30 Joseph Myers <joseph@codesourcery.com>
15443
adfbc8ac
JM
15444 [BZ #13942]
15445 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15446 (1 - x) * (1 + x).
15447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15448 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15449 * math/libm-test.inc (acos_test): Add more tests.
15450 (asin_test): Likewise.
15451 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15453
5ba3cc69
JM
15454 [BZ #14034]
15455 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15456 of square root.
15457 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15459 * math/libm-test.inc (acos_test_tonearest): New function.
15460 (acos_test_towardzero): Likewise.
15461 (acos_test_downward): Likewise.
15462 (acos_test_upward): Likewise.
15463 (asin_test_tonearest): Likewise.
15464 (asin_test_towardzero): Likewise.
15465 (asin_test_downward): Likewise.
15466 (asin_test_upward): Likewise.
15467 (main): Call the new functions.
15468 * sysdeps/i386/fpu/libm-test-ulps: Update.
15469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15470
9568c0c2
JM
15471 [BZ #13884]
15472 [BZ #13924]
15473 * math/e_exp10.c: Include <float.h>.
15474 (__ieee754_exp10): Handle underflow here rather than multiplying
15475 large negative argument by M_LN10.
15476 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15477 of __ieee754_expf.
15478 * math/e_exp10l.c: Include <float.h>.
15479 (__ieee754_exp10l): Handle underflow here rather than multiplying
15480 large negative argument by M_LN10l.
15481 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15482 spurious overflow exception on underflow.
15483
5ac3ea17
MP
154842012-04-29 Marek Polacek <polacek@redhat.com>
15485
15486 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15487 (__fortify_function): New macro.
15488 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15489 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15490 __extern_always_inline.
15491 * libio/bits/stdio2.h: Likewise.
15492 * libio/bits/stdio.h: Likewise.
15493 * string/string.h: Likewise.
15494 * string/bits/string3.h: Likewise.
15495 * include/stdio.h: Likewise.
15496 * stdlib/bits/stdlib.h: Likewise.
15497 * stdlib/stdlib.h: Likewise.
15498 * rt/bits/mqueue2.h: Likewise.
15499 * rt/mqueue.h: Likewise.
15500 * posix/bits/unistd.h: Likewise.
15501 * posix/unistd.h: Likewise.
15502 * io/bits/poll2.h: Likewise.
15503 * io/bits/fcntl2.h: Likewise.
15504 * io/fcntl.h: Likewise.
15505 * io/sys/poll.h: Likewise.
15506 * misc/bits/syslog.h: Likewise.
15507 * misc/bits/syslog-ldbl.h: Likewise.
15508 * misc/sys/syslog.h: Likewise.
15509 * socket/bits/socket2.h: Likewise.
15510 * socket/sys/socket.h: Likewise.
15511 * debug/tst-chk1.c: Likewise.
15512 * wcsmbs/bits/wchar2.h: Likewise.
15513 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15514 * wcsmbs/wchar.h: Likewise.
15515
ecf0ebfb
AJ
155162012-04-29 Andreas Jaeger <aj@suse.de>
15517
15518 * Makerules (tests): Remove enable-check-abi protection.
15519 (check-abi-warn): Remove.
15520 (check-abi-%): Remove check-abi-warn usage.
15521
15522 * configure.in: Remove check-abi configure option.
15523 * configure: Regenerated.
15524 * config.make.in (enable-check-abi): Remove.
15525
6d5c57fa
AS
155262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15527
24c5d07e 15528 [BZ #14033]
ded5180a
AS
15529 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15530 double functions to double *_finite functions.
15531
7e0d315d
AS
15532 [BZ #13941]
15533 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15534 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15535 LDBL_MIN_EXP.
15536 * stdio-common/Makefile (tests): Add tst-sprintf3.
15537 * stdio-common/tst-sprintf3.c: New file.
15538
6d5c57fa
AS
15539 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15540 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15541
0749ff8b
JM
155422012-04-28 Joseph Myers <joseph@codesourcery.com>
15543
15544 * conform/conformtest.pl: Remove duplicate typed-constant
15545 handling.
15546
8dbd5d7b
DM
155472012-04-28 David S. Miller <davem@davemloft.net>
15548
15549 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15550 (check-abi-%): Remove AWK script prerequisite and explicit
15551 abilist directory.
15552 (check-abi): Rewrite to just diff the symlist with the abilist.
15553 (config-tls, config-abi-config): Delete, no longer used.
15554 (update-abi-%): Remove AWK script and explicit abilist directory.
15555 (update-abi): Rewrite to simply compare and conditionally copy the
15556 symlist and the sysdep abilist file. Remove update-abi-config
15557 checks.
15558 * abilist/ld.abilist: Remove.
15559 * abilist/libBrokenLocale.abilist: Remove.
15560 * abilist/libanl.abilist: Remove.
15561 * abilist/libcrypt.abilist: Remove.
15562 * abilist/libdl.abilist: Remove.
15563 * abilist/librt.abilist: Remove.
15564 * abilist/libthread_db.abilist: Remove.
15565 * abilist/libutil.abilist: Remove.
15566 * scripts/extract-abilist.awk: Remove.
15567 * scripts/merge-abilist.awk: Remove.
15568 * sysdeps/generic/libcidn.abilist: New file.
15569 * sysdeps/generic/libnss_compat.abilist: New file.
15570 * sysdeps/generic/libnss_db.abilist: New file.
15571 * sysdeps/generic/libnss_dns.abilist: New file.
15572 * sysdeps/generic/libnss_files.abilist: New file.
15573 * sysdeps/generic/libnss_hesiod.abilist: New file.
15574 * sysdeps/generic/libnss_nis.abilist: New file.
15575 * sysdeps/generic/libnss_nisplus.abilist: New file.
15576 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15577 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15578 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15579 file.
15580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15581 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15582 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15583 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15584 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15586 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15587 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15588 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15589 file.
15590 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15592 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15594 file.
15595 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15596 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15597 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15598 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15599 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15600 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15601 file.
15602 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15604 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15605 file.
15606 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15608 New file.
15609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15610 New file.
15611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15612 New file.
15613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15614 New file.
15615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15616 New file.
15617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15618 New file.
15619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15620 New file.
15621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15622 New file.
15623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15624 New file.
15625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15626 New file.
15627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15628 New file.
15629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15630 New file.
15631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15632 New file.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15634 file.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15636 New file.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15638 New file.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15640 file.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15642 New file.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15644 New file.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15646 file.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15648 New file.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15650 New file.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15652 New file.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15654 New file.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15656 New file.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15658 New file.
15659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15661 file.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15663 New file.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15665 file.
15666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15667 file.
15668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15669 file.
15670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15671 file.
15672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15673 file.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15675 New file.
15676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15677 file.
15678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15679 file.
15680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15681 New file.
15682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15683 file.
15684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15686 file.
15687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15688 New file.
15689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15690 file.
15691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15692 file.
15693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15694 file.
15695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15696 file.
15697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15698 file.
15699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15700 New file.
15701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15702 file.
15703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15704 file.
15705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15706 New file.
15707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15708 file.
15709 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15710 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15711 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15712 file.
15713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15714 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15715 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15716 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15717 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15718 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15719 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15721 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15722 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15725 file.
15726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15727 New file.
15728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15729 file.
15730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15731 file.
15732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15733 file.
15734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15735 file.
15736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15737 file.
15738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15739 New file.
15740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15741 New file.
15742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15743 file.
15744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15745 New file.
15746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15747 file.
15748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15750 file.
15751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15752 New file.
15753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15754 file.
15755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15756 file.
15757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15758 file.
15759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15760 file.
15761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15762 file.
15763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15764 New file.
15765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15766 New file.
15767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15768 file.
15769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15770 New file.
15771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15772 file.
15773
41d73a1b
JM
157742012-04-28 Joseph Myers <joseph@codesourcery.com>
15775
15776 * conform/conformtest.pl: Fix typo in handling typed-constant from
15777 allow-header.
15778
28aeeda4
JM
157792012-04-27 Joseph Myers <joseph@codesourcery.com>
15780
adae8f5e
JM
15781 * README: Cut down references to pre-2.6 Linux kernels and
15782 Linuxthreads. Update lists of configurations in libc and ports
15783 and sort alphabetically. Say "or newer" with Linux kernel version
15784 requirements.
15785
28aeeda4
JM
15786 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15787
a462cb63
RA
157882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15789
15790 [BZ #887]
15791 * math/libm-test.inc (logb_test_downward): New test to expose
15792 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15793 rounding mode.
15794
6ad3493e
JM
157952012-04-27 Joseph Myers <joseph@codesourcery.com>
15796
15797 [BZ #14027]
15798 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15799 to be done.
15800 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15801 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15802
2ce4f015
JM
158032012-04-26 Joseph Myers <joseph@codesourcery.com>
15804
5aeb141a
JM
15805 * sysdeps/unix/i386/brk.S: Remove file.
15806 * sysdeps/unix/i386/dl-brk.S: Likewise.
15807 * sysdeps/unix/i386/pipe.S: Likewise.
15808 * sysdeps/unix/i386/sigreturn.S: Likewise.
15809 * sysdeps/unix/i386/syscall.S: Likewise.
15810 * sysdeps/unix/i386/vfork.S: Likewise.
15811 * sysdeps/unix/i386/wait.S: Likewise.
15812
7143acae
JM
15813 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15814 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15815
2ce4f015
JM
15816 * configure.in (arm*-none*): Do not allow without
15817 --enable-hacker-mode.
15818 (netbsd*): Remove case setting base_os.
15819 (386bsd*): Likewise.
15820 (freebsd*): Likewise.
15821 (bsdi*): Likewise.
15822 (osf*): Likewise.
15823 (sunos*): Likewise.
15824 (ultrix*): Likewise.
15825 (newsos*): Likewise.
15826 (dynix*): Likewise.
15827 (*bsd*): Likewise.
15828 (sysv*): Likewise.
15829 (isc*): Likewise.
15830 (esix*): Likewise.
15831 (sco*): Likewise.
15832 (minix*): Likewise.
15833 (irix4*): Likewise.
15834 (irix6*): Likewise.
15835 (solaris[2-9]*): Likewise.
15836 (none): Likewise.
15837 * configure: Regenerated.
15838
0ac229c8
AZ
158392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840
15841 [BZ #11521]
15842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15843 overflow or cancellation in calculating denominator.
15844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15846 down expression to avoid unexpected rounding in newer GCCs.
15847 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15848
33f244f4
DM
158492012-04-26 David S. Miller <davem@davemloft.net>
15850
15851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15852 long-double compat symbols.
15853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15866
cfa1f3e8
DM
158672012-04-25 David S. Miller <davem@davemloft.net>
15868
15869 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15870 HWCAP_* values only after the memory barriers have been defined.
15871 (atomic_full_barrier): Define.
15872 (atomic_read_barrier): Define.
15873 (atomic_write_barrier): Define.
15874
6e236b92
SP
158752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15876
15877 * shlib-versions: Add libgcc_s version information.
15878 * sysdeps/generic/libgcc_s.h: Remove.
15879 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15880 libgcc_s.h.
15881 * sysdeps/gnu/unwind-resume.c: Likewise.
15882 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15883
aab39a09
DM
158842012-04-25 David S. Miller <davem@davemloft.net>
15885
15886 * sysdeps/unix/sparc/brk.S: Delete.
15887 * sysdeps/unix/sparc/dl-brk.S: Delete.
15888 * sysdeps/unix/sparc/pipe.S: Delete.
15889 * sysdeps/unix/sparc/sysdep.S: Delete.
15890 * sysdeps/unix/sparc/sysdep.h: Delete.
15891 * sysdeps/unix/sparc/vfork.S: Delete.
15892 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15893 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15895 ret_ERRVAL, r0, r1, MOVE): Define.
15896 (JUMPTARGET): Remove.
15897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15898 sysdeps/unix/sparc/sysdep.h
15899 (ENTRY, END): Remove.
15900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15901
a3cc4f48
JM
159022012-04-25 Joseph Myers <joseph@codesourcery.com>
15903
2ed8cda2
JM
15904 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15905 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15906 -DIS_IN_build.
15907
35d76d59
JM
15908 * timezone/README: Update upstream location and email address for
15909 tzcode and tzdata.
15910 * timezone/zdump.c: Update from tzcode 2012b.
15911 * timezone/zic.c: Likewise.
15912
a3cc4f48
JM
15913 * configure.in (libc_cv_as_needed): Remove test.
15914 * configure: Regenerated.
15915 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15916 conditional definition.
15917 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15918 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15919 * config.make.in (have-as-needed): Remove variable.
15920
ceab42c3
SP
159212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 Paul Pluzhnikov <ppluzhnikov@google.com>
15923
15924 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15925 strings correctly.
15926
3ce2865f
CLT
159272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15928
15929 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15930 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15931 * sysdeps/sh/strlen.S: Likewise.
15932
f37e0d68
JM
159332012-04-24 Joseph Myers <joseph@codesourcery.com>
15934
ae186e9a
JM
15935 * sysdeps/unix/fork.S: Remove file.
15936 * sysdeps/unix/i386/fork.S: Likewise.
15937 * sysdeps/unix/sparc/fork.S: Likewise.
15938
b96914af
JM
15939 * sysdeps/unix/system.c: Remove file.
15940 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15941
f37e0d68
JM
15942 * sysdeps/unix/getegid.S: Remove file.
15943 * sysdeps/unix/geteuid.S: Likewise.
15944
87ef29ca
RM
159452012-04-24 Roland McGrath <roland@hack.frob.com>
15946
83bcd236
RM
15947 * scripts/check-localplt.awk: New file.
15948 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15949 of diff.
15950 * scripts/data/localplt-generic.data: Add a comment.
15951
87ef29ca
RM
15952 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15953 NODE when __dir_mkfile failed.
15954 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15955 Reported by Ludovic Courtès <ludo@gnu.org>.
15956
e5a6e567
AJ
159572012-04-24 Andreas Jaeger <aj@suse.de>
15958
15959 * Makerules (common-clean): Also remove gen-as-const-headers
15960 files.
15961
c1820385
JM
159622012-04-24 Joseph Myers <joseph@codesourcery.com>
15963
15964 * Makerules (native-compile): Do not change working directory for
15965 build. Use $(OUTPUT_OPTION) in command.
15966 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15967
94e02fc4
AZ
159682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15969
15970 [BZ #13886]
15971 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15972 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15973 * math/libm-test.inc (floor_test): Add more tests.
15974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15975
3a533ca3
JM
159762012-04-24 Joseph Myers <joseph@codesourcery.com>
15977
940ab4b3
JM
15978 * sysdeps/unix/getdents.c: Remove file.
15979 * sysdeps/unix/sysv/getdents.c: Likewise.
15980 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15981
90e037bd
JM
15982 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15983 sysdeps/unix/mman/syscalls.list.
15984 (mmap): Likewise.
15985 (mprotect): Likewise.
15986 (msync): Likewise.
15987 (munmap): Likewise.
15988 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15989 * sysdeps/unix/mman/syscalls.list: Remove.
15990 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15991
3a533ca3
JM
15992 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15993 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15994 * configure: Regenerated.
15995 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15996 $(libgcc_s_suffix).
15997 * config.make.in (libgcc_s_suffix): Remove variable.
15998
1ad743de
JM
159992012-04-23 Joseph Myers <joseph@codesourcery.com>
16000
4ad451e2
JM
16001 * sysdeps/unix/sysv/gethostname.c: Move to ...
16002 * sysdeps/posix/gethostname.c: ... here.
16003
5e37ce39
JM
16004 * sysdeps/unix/execve.S: Remove file.
16005
1ad743de
JM
16006 * sysdeps/unix/_exit.S: Remove file.
16007
4e681b5b
AJ
160082012-04-23 Andreas Jaeger <aj@suse.de>
16009
16010 [BZ #13739]
16011 * manual/Makefile: Remove make dist support, there's no
16012 need for a stand-alone documentation tar ball.
16013 (TEXI2DVI): Define always, it's not in Makeconfig.
16014 (dist): Removed.
16015 (tar-it): Removed.
16016 (edition): Removed.
16017 (glibc-doc-$(edition).tar): Removed
16018 (%.Z): Removed.
16019 (%.gz): Removed.
16020 (%.uu): Removed.
16021 (ETAGS): Remove, it's in Makeconfig.
16022 (move-if-change): Remove, it's in Makeconfig.
16023
38686a03 160242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16025
16026 [BZ #13970]
16027 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16028 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16029 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16030 (strtod_l, strtof_l, strtold_l): Remove __wur.
16031 It is not necessarily an error to ignore strtol's return value.
16032 One can reliably look at the stored endptr to decide whether
16033 the number had valid syntax.
16034
7c0616fa
AJ
160352012-04-21 Andreas Jaeger <aj@suse.de>
16036
803cb6b7 16037 [BZ #13739]
7c0616fa
AJ
16038 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16039
b0fe253f
JM
160402012-04-21 Joseph Myers <joseph@codesourcery.com>
16041
16042 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16043 * sysdeps/unix/sysv/Versions: Remove file.
16044
8280f22d
MT
160452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16046
16047 [BZ #13927]
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16049
75ce411f 160502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16051
16052 [BZ #7064]
16053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16054 version from __vm86.
16055
097d59fa
JM
160562012-04-20 Joseph Myers <joseph@codesourcery.com>
16057
a90f3bcb
JM
16058 * sysdeps/unix/common/lxstat.c: Remove file.
16059 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16060
edc7ea78
JM
16061 * sysdeps/unix/sysv/Makefile: Remove file.
16062
cb78c221
JM
16063 * sysdeps/unix/sysv/direct.h: Remove file.
16064
efa6a45f
JM
16065 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16066 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16067 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16068 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16069 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16070 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16071 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16072
9c9f2d0c
JM
16073 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16074
4541c83b
JM
16075 * sysdeps/unix/xmknod.c: Remove file.
16076 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16077
f5d153a0
JM
16078 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16079
aa746595
JM
16080 * sysdeps/unix/sysv/i386/time.S: Remove file.
16081
cce5905e
JM
16082 * sysdeps/unix/fxstat.c: Remove file.
16083 * sysdeps/unix/xstat.c: Likewise.
16084 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16085
37fa3841
JM
16086 * sysdeps/unix/sysv/sigaction.c: Remove file.
16087
ff1962a3
JM
16088 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16089 (sysdep_headers): Remove variable.
16090 [termio.h not in sysdep_headers] (generated): Likewise.
16091 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16092 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16093 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16094 * sysdeps/unix/sysv/tcflow.c: Likewise.
16095 * sysdeps/unix/sysv/tcflush.c: Likewise.
16096 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16097 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16098 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16099 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16100 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16101
e7740d31
JM
16102 * sysdeps/unix/siglist.c: Remove file.
16103
ee06f18b
JM
16104 * sysdeps/unix/getppid.S: Remove file.
16105
097d59fa
JM
16106 * sysdeps/unix/mkdir.c: Remove file.
16107 * sysdeps/unix/rmdir.c: Likewise.
16108
ff3d51ec
AS
161092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16110
16111 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16112 ERR_MAX value.
16113 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16114 errlist-compat value.
16115
50f81fd7
DM
161162012-04-18 David S. Miller <davem@davemloft.net>
16117
16118 * sysdeps/generic/memcopy.h (reg_char): Delete.
16119 * debug/strcat_chk.c: Use char, not reg_char.
16120 * debug/strcpy_chk.c: Likewise.
16121 * debug/strncat_chk.c: Likewise.
16122 * debug/strncpy_chk.c: Likewise.
16123 * string/memchr.c: Likewise.
16124 * string/memrchr.c: Likewise.
16125 * string/rawmemchr.c: Likewise.
16126 * string/strcat.c: Likewise.
16127 * string/strchr.c: Likewise.
16128 * string/strchrnul.c: Likewise.
16129 * string/strcmp.c: Likewise.
16130 * string/strcpy.c: Likewise.
16131 * string/strncat.c: Likewise.
16132 * string/strncmp.c: Likewise.
16133 * string/strncpy.c: Likewise.
16134
8ff41c46
WS
161352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16136
16137 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16138 __builtin_memcopy is called when src and dest ranges are known to not
16139 overlap.
16140
6b652f46
WS
161412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16142
16143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16144 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16145 fwd_align_merge macro call.
16146 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16147 bwd_align_merge macro call.
16148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16149
b282631e
WS
161502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16151
16152 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16153 bwd_align_merge macros.
16154 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16155 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16156 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16157
95aa737c
DM
161582012-04-18 David S. Miller <davem@davemloft.net>
16159
16160 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16161
7a99a614
AJ
161622012-04-18 Andreas Jaeger <aj@suse.de>
16163
16164 [BZ# 6794]
16165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16166 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16168
16169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16170 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16171 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16172
16173 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16174 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16175 Adjust for changed ldbl-128 files.
16176
16177 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16178 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16179 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16180
e5270c23
DM
161812012-04-17 David S. Miller <davem@davemloft.net>
16182
16183 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16184
fb5e92c9
AS
161852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16188 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16189 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16190 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16191 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16192 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16193
76da7265
AZ
161942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195
16196 [BZ #6794]
16197 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16198 * math/libm-test.inc: Add ilogb errno and exception tests.
16199 * math/w_ilogb.c: New file: ilogb wrapper.
16200 * math/w_ilogbf.c: New file: ilogbf wrapper.
16201 * math/w_ilogbl.c: New file: ilogbl wrapper.
16202 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16203 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16204 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16205 exception being thrown with 0.0 as argument.
16206 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16207 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16208 exception being thrown with 0.0 as argument.
16209 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16210 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16211 exception being thrown with 0.0 as argument.
16212 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16213 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16214 exception being thrown with 0.0 as argument.
16215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16216 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16217 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16218 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16220 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16221 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16222 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16223 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16224
0396e69d
PB
162252012-04-17 Petr Baudis <pasky@ucw.cz>
16226
16227 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16228 with altivec.
16229
750b5926
MP
162302012-04-16 Marek Polacek <polacek@redhat.com>
16231
16232 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16233
751728a1
MP
162342012-04-16 Marek Polacek <polacek@redhat.com>
16235
16236 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16237 operands of fdivp instruction.
16238
34a27407
L
162392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16240
16241 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16242 * elf/tst-auditmod3b.c: Likewise.
16243 * elf/tst-auditmod4b.c: Likewise.
16244 * elf/tst-auditmod5b.c: Likewise.
16245 * elf/tst-auditmod6b.c: Likewise.
16246 * elf/tst-auditmod6c.c: Likewise.
16247 * elf/tst-auditmod7b.c: Likewise.
16248 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16249 * sysdeps/x86_64/preconfigure.in: Likewise.
16250 * sysdeps/x86_64/preconfigure: Regenerated.
16251
7e73e17d
L
162522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16255 __ILP32__.
16256
c7a6ab72
AB
162572012-04-13 Antoine Balestrat <merkil33@gmail.com>
16258
16259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16260 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16261
a9e8e0e0
CL
162622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16263
16264 [BZ #13973]
16265 * locale/iso-639.def: Fix gl language name. Spotted by
16266 Yaron Shahrabani.
16267
ec98af7d
RM
162682012-04-12 Roland McGrath <roland@hack.frob.com>
16269
16270 [BZ #2074]
16271 * libio/libio.h (__io_write_fn): Update comment.
16272
247c3ede
PB
162732012-04-12 Petr Baudis <pasky@ucw.cz>
16274
16275 [BZ #2074]
16276 * stdio.texi (Hook Functions): The user provided writer function
16277 is not allowed to return -1.
16278
55939d6d
DM
162792012-04-11 David S. Miller <davem@davemloft.net>
16280
16281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16282
90020f5a
MF
162832012-04-11 Mike Frysinger <vapier@gentoo.org>
16284
16285 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16286 Add a leading slash to rtkaio.
16287
288f9098
JM
162882012-04-11 Jim Meyering <meyering@redhat.com>
16289
90020f5a
MF
16290 [BZ #11959]
16291 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16292 It is not necessarily an error to ignore fwrite's return
16293 value. One can reliably use ferror to test for errors after
16294 the fact.
288f9098 16295
4be2b570
L
162962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * bits/types.h (__snseconds_t): New type.
16299 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16300
16301 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16303 (__SNSECONDS_T_TYPE): Likewise.
16304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16305 (__SNSECONDS_T_TYPE): Likewise.
16306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16307 (__SNSECONDS_T_TYPE): Likewise.
16308
288f9098 163092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16310
16311 [BZ #2636]
16312 * manual/time.texi (Processor Time): Return type of times is
16313 elapsed real time since an arbitrary point in the past.
16314 (CPU Time): Move CLK_TCK from here...
16315 (Processor Time): ...to here. Correct description.
16316 * manual/conf.texi (Constants for Sysconf): Correct description of
16317 _SC_CLK_TCK.
16318
d7dd4413
DM
163192012-04-10 David S. Miller <davem@davemloft.net>
16320
16321 [BZ #13967]
16322 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16323 where the is a gap between DT_REL(A) and DT_JMPREL.
16324
b46068fc
L
163252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16326
16327 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16328 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16329 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16330
73d65cc3
SP
163312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16332
16333 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16334 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16335 (dl_main): Handle --inhibit-cache.
16336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16337 _dl_inhibit_cache.
16338 * elf/dl-load.c (_dl_map_object): Use it.
16339 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16340
bcc8d661
JM
163412012-04-09 Joseph Myers <joseph@codesourcery.com>
16342
8f9a2fae
JM
16343 [BZ #13872]
16344 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16345 (__ieee754_powl): Saturate large exponents rather than testing for
16346 overflow of y*log2(x).
16347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16348 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16349 exceptions.
16350
bcc8d661
JM
16351 [BZ #11521]
16352 * math/s_ctan.c: Include <float.h>.
16353 (__ctan): Avoid internal overflow or cancellation in calculating
16354 denominator.
16355 * math/s_ctanf.c: Likewise.
16356 * math/s_ctanl.c: Likewise.
16357 * math/s_ctanh.c: Likewise.
16358 * math/s_ctanhf.c: Likewise.
16359 * math/s_ctanhl.c: Likewise.
16360 * math/libm-test.inc (ctan_test): Add more tests.
16361 (ctanh_test): Likewise.
16362 * sysdeps/i386/fpu/libm-test-ulps: Update.
16363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16364
823fbbb4
AJ
163652012-04-09 Andreas Jaeger <aj@suse.de>
16366
03879793
AJ
16367 [BZ #6894]
16368 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16369 is an optional BSD extension.
16370
823fbbb4
AJ
16371 [BZ #10254]
16372 * manual/stdio.texi (Opening Streams): Document additional fopen
16373 parameters.
16374
8de131cb
RM
163752012-04-09 Roland McGrath <roland@hack.frob.com>
16376
16377 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16378 %eax without telling the compiler.
16379
c0ed9d7d
CD
163802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16381
16382 [BZ # 13963]
16383 * manual/install.texi: Use sourceware.org.
16384
c483f6b4
JM
163852012-04-09 Joseph Myers <joseph@codesourcery.com>
16386
d7dd9453
JM
16387 [BZ #13873]
16388 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16389 (__ieee754_pow): Generate overflow and underflow using huge*huge
16390 and tiny*tiny rather than just returning constant infinity or zero
16391 for large exponents.
16392 * math/libm-test.inc (pow_test): Require overflow exceptions for
16393 applicable cases of large exponents.
16394
c483f6b4
JM
16395 [BZ #706]
16396 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16397 (__ieee754_pow): Use iterative multiplication algorithm only for
16398 integer exponents with absolute value below 1024. Check for odd
16399 integer exponents when using algorithm for real exponents.
16400 * math/libm-test.inc (pow_test): Add more tests.
16401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16402
d2de7579
JM
164032012-04-08 Joseph Myers <joseph@codesourcery.com>
16404
16405 [BZ #13705]
16406 * math/libm-test.inc (exp_test): Do not allow overflow exception
16407 on underflow test.
16408
f77f1232
AJ
164092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16410
16411 [BZ #13705]
16412 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16413 instead of __kernel_standard_f.
16414
3884932b
MF
164152012-04-08 Mike Frysinger <vapier@gentoo.org>
16416
16417 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16418 * sysdeps/x86_64/memset_chk.S: Likewise.
16419
54472e9c
AJ
164202012-04-08 Andreas Jaeger <aj@suse.de>
16421
6ab0fbfc
AJ
16422 [BZ #10153]
16423 * manual/startup.texi (Environment Access): Describe return value
16424 for putenv and setenv.
16425
61efba8c
AJ
16426 [BZ #6895]
16427 * manual/filesys.texi (Directory Entries): Add description for
16428 DT_LNK.
16429
95c3f29a
AJ
16430 [BZ #6890]
16431 * manual/filesys.texi (Directory Entries): Clarify that it's file
16432 system not operating system in the description of DT_UNKNOWN.
16433
54472e9c
AJ
16434 [BZ #6578]
16435 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16436
624254b1
SC
164372012-04-08 Stephen Compall <s11@member.fsf.org>
16438
16439 [BZ #6649]
16440 * manual/llio.texi (Opening and Closing Files): Add cross
16441 reference to explain mode argument.
16442
1e4920e0
MF
164432012-04-07 Mike Frysinger <vapier@gentoo.org>
16444
16445 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16446 * sysdeps/x86_64/memset_chk.S: Likewise.
16447
5ed848f3
DM
164482012-04-07 David S. Miller <davem@davemloft.net>
16449
16450 * elf/elf.h (R_SPARC_WDISP10): Define.
16451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16452 R_SPARC_SIZE32.
16453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16454 R_SPARC_SIZE64 and R_SPARC_H34.
16455
96154cd8
CD
164562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16457
16458 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16459 conditions and remove no longer applicable assertion.
16460
9904dc47
L
164612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16462
16463 * bits/byteswap.h: Include <features.h>.
16464 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16465 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16466
f8887d0a
L
164672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16468
16469 * bits/byteswap.h (__bswap_16): Removed.
16470 Include <bits/byteswap-16.h> to get __bswap_16.
16471 * sysdeps/i386/bits/byteswap.h: Likewise.
16472 * sysdeps/s390/bits/byteswap.h: Likewise.
16473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16474 * bits/byteswap-16.h: New file.
16475 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16476 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16477 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16478 * string/Makefile (headers): Add bits/byteswap-16.h.
16479
62470f60
PP
164802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16481
16482 [BZ #13895]
16483 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16484 extra indirection.
16485 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16486 * nss/tst-nss-static.c: New.
16487
4dad7bab
RM
164882012-04-06 Robert Millan <rmh@gnu.org>
16489
16490 [BZ #6486]
16491 * manual/llio.texi (File Position Primitive): lseek
16492 refers to WHENCE when it really means OFFSET.
16493
e9142a17
AJ
164942012-04-06 Andreas Jaeger <aj@suse.de>
16495
2c040eff
AJ
16496 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16497 strncmp declarations.
16498
e9142a17
AJ
16499 * abilist/libc.abilist: Add __poll and __ppoll.
16500
ff9f1c5f
DM
165012012-04-05 David S. Miller <davem@davemloft.net>
16502
dcd2ae90
DM
16503 * scripts/check-local-headers.sh: Accept a host triplet in the
16504 path matched by the exclude regexp.
16505
993eb054
DM
16506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16507 definition.
16508 * sysdeps/powerpc/powerpc32/dl-machine.h
16509 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16510 * sysdeps/s390/s390-32/dl-machine.h
16511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16512 * sysdeps/sparc/sparc32/dl-machine.h
16513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16514 * sysdeps/sparc/sparc64/dl-machine.h
16515 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16516
ff9f1c5f
DM
16517 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16518 lazy binding.
48e2e132 16519 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16520 undefined symbol errors.
16521
48e2e132 16522 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16523 DT_NEEDED entries.
16524
e80d6f94
MM
165252012-04-05 Michael Matz <matz@suse.de>
16526
16527 [BZ #13592]
16528 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16529
349fa79f
AJ
165302012-04-05 Andreas Jaeger <aj@suse.de>
16531
16532 [BZ #13908]
16533 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16534 comment.
16535
f402708f
KK
165362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16537
16538 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16539 which ROUND is no valid rounding mode.
16540
2ecccfc9
KK
165412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16542
16543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16544 read again.
16545 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16546
8a53f50f
KK
165472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16548
16549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16550 an exception using FPU order intentionally.
16551
165522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16553
16554 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16555 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16556 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16557 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16558
d653abb7
SJ
165592012-04-05 Simon Josefsson <simon@josefsson.org>
16560
16561 [BZ #12340]
16562 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16563 EINVAL when BUFLEN is too smal.
16564
c3b1bf7d
TS
165652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16566
16567 [BZ #13553]
16568 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16569 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16570
b1aa60f3
AJ
165712012-04-03 Andreas Jaeger <aj@suse.de>
16572
c3b1bf7d 16573 [BZ #13938]
67f60a26
AJ
16574 * manual/setjmp.texi (System V contexts): Fix sentence.
16575
b1aa60f3
AJ
16576 [BZ #13926]
16577 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16578 New macro for this case.
16579 [!__GNUC__] (__bswap_64): New inline function for this case.
16580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16581 * bits/byteswap.h: Likewise.
16582 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16583 ull, guard with __GLIBC_HAVE_LONG_LONG.
16584
16585 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16586 __GLIBC_HAVE_LONG_LONG.
16587
16588 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16589 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16590
39c59c35
TMQMF
165912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16592
16593 [BZ #13691]
16594 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16595 inptr and inend, rather than using last_ch.
16596
135ffda8
DM
165972012-04-02 David S. Miller <davem@davemloft.net>
16598
16599 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16600 * stdio-common/printf-parse.h (read_int): Change return type to
16601 'int', return -1 on INT_MAX overflow.
16602 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16603 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16604 overflows INT_MAX. Check for overflow of in-format-string precision
16605 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16606 SIZE_MAX not INT_MAX for integer overflow test.
16607 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16608 skip the construct in the format string but do not record anything.
16609 * stdio-common/bug22.c: Adjust to test both width/prevision
16610 INT_MAX overflow as well as total length INT_MAX overflow. Check
16611 explicitly for proper errno values.
16612
228c019e
TS
166132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16614
302cadd3
TS
16615 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16616 CHAR_MAX.
16617 * string/test-strcmp.c [! WIDE]: Likewise.
16618 * time/tst-mktime2.c: Likewise for INT_MAX.
16619 * string/test-string.h: #include <sys/param.h> for MIN.
16620
228c019e
TS
16621 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16622 * sysdeps/i386/init-first.c (init): Likewise.
16623 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16624 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16625 * sysdeps/sh/init-first.c (init): Likewise.
16626
cfa633f5
UD
166272012-04-01 Ulrich Drepper <drepper@gmail.com>
16628
16629 * po/ru.po: Update from translation team.
d1635ef8 16630 * po/vi.po: Likewise.
cfa633f5 16631
6cd0a5ea
SP
166322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16633
16634 * resolv/nss_dns/dns-host.c: Merge copyright years.
16635
4b43400f
LD
166362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16637
16638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16639 Optimize memcpy with prefetch if
16640 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16641 src, dst pointers have unequal 16 byte alignments.
16642
48c41d04
SP
166432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
16645 [BZ #13928]
16646 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16647 from a CNAME entry and return the minimum ttl for the query.
16648 (gaih_getanswer_slice): Likewise.
16649
b8dc394d
JL
166502012-03-30 Jeff Law <law@redhat.com>
16651
16652 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16653 due to long keys.
16654 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16655 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16656
2f5a5ed0
JL
16657 * resolv/nss_dns/dns-host.c: Update copyright year.
16658
1d39e359
UD
166592012-03-30 Ulrich Drepper <drepper@gmail.com>
16660
c030f70c 16661 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16662 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16663
1d39e359
UD
16664 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16665 comments for sendmmsg.
16666
166672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16668
16669 [BZ #13691]
16670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16671 with only 1 character between 0x0041 and 0x01b0.
16672 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16673 * wcsmbs/tst-mbsnrtowcs.c: New file.
16674
20fde227
DM
166752012-03-29 David S. Miller <davem@davemloft.net>
16676
16677 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16678 small copies by hand.
16679
984a4237
JL
166802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16681
16682 [BZ #13761]
16683 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16684 _nss_compat_initgroups_dyn): Fall back to malloc/free
16685 for large group memberships.
16686
18c9d62b
DM
166872012-03-28 David S. Miller <davem@davemloft.net>
16688
88d85d4f
DM
16689 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16690 that branches into memcpy.
16691 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16694 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16696 bits.
16697 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16698 implementation too.
16699 * sysdeps/sparc/mempcpy.S: New file.
16700
e5aa83e1
DM
16701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16702 the IFUNC routine in the libc case.
16703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16704
88570753
DM
16705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16707 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16708 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16709 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16710 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16711 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16712 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16713
249d7567
DM
16714 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16715 loop to 256 bytes instead of 64 bytes and fix test signedness.
16716
18c9d62b
DM
16717 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16718 * sysdeps/sparc/sparc32/Makefile: rather than here...
16719 * sysdeps/sparc/sparc64/Makefile: and here.
16720
05f3d1f6
UD
167212012-03-28 Ulrich Drepper <drepper@gmail.com>
16722
16723 * malloc/mallocbug.c: Avoid warnings about unused variables.
16724
86ae07a8
JL
167252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16726
16727 [BZ #13760]
16728 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16729 in the right place. Discard and retry query if response is
16730 larger than input buffer size.
16731
41bf21a1
JM
167322012-03-28 Joseph Myers <joseph@codesourcery.com>
16733
d6270972
JM
16734 [BZ #369]
16735 [BZ #2678]
16736 [BZ #3866]
16737 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16738 x for large integer exponent.
16739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16740 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16741 sign of result as needed afterwards.
16742 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16743 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16744 result for underflowing pow the same as for overflow.
16745 (__kernel_standard_l): Handle powl overflow and underflow here
16746 rather than calling __kernel_standard.
16747 * math/libm-test.inc (pow_test): Add more tests.
16748
414fca03 16749 [BZ #3868]
41bf21a1
JM
16750 [BZ #13879]
16751 [BZ #13910]
16752 [BZ #13911]
16753 [BZ #13912]
16754 [BZ #13913]
16755 [BZ #13915]
16756 [BZ #13916]
16757 [BZ #13917]
16758 [BZ #13918]
16759 [BZ #13919]
16760 [BZ #13920]
16761 [BZ #13921]
16762 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16763 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16764 (__kernel_standard_l): New function.
16765 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16766 __kernel_standard.
16767 * math/w_acosl.c (__acosl): Likewise.
16768 * math/w_asinl.c (__asinl): Likewise.
16769 * math/w_atan2l.c (__atan2l): Likewise.
16770 * math/w_atanhl.c (__atanhl): Likewise.
16771 * math/w_coshl.c (__coshl): Likewise.
16772 * math/w_exp10l.c (__exp10l): Likewise.
16773 * math/w_exp2l.c (__exp2l): Likewise.
16774 * math/w_fmodl.c (__fmodl): Likewise.
16775 * math/w_hypotl.c (__hypotl): Likewise.
16776 * math/w_j0l.c (__j0l, __y0l): Likewise.
16777 * math/w_j1l.c (__j1l, __y1l): Likewise.
16778 * math/w_jnl.c (__jnl, __ynl): Likewise.
16779 * math/w_lgammal.c (__lgammal): Likewise.
16780 * math/w_log10l.c (__log10l): Likewise.
16781 * math/w_log2l.c (__log2l): Likewise.
16782 * math/w_logl.c (__logl): Likewise.
16783 * math/w_powl.c (__powl): Likewise.
16784 * math/w_remainderl.c (__remainderl): Likewise.
16785 * math/w_scalbl.c (sysv_scalbl): Likewise.
16786 * math/w_sinhl.c (__sinhl): Likewise.
16787 * math/w_sqrtl.c (__sqrtl): Likewise.
16788 * math/w_tgammal.c (__tgammal): Likewise.
16789 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16790 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16791 * math/libm-test.inc (acos_test): Add more tests.
16792 (acosh_test): Likewise.
16793 (asin_test): Likewise.
16794 (atanh_test): Likewise.
16795 (exp_test): Likewise.
16796 (exp10_test): Likewise.
16797 (exp2_test): Likewise.
16798 (expm1_test): Likewise.
16799 (lgamma_test): Likewise.
16800 (log_test): Likewise.
16801 (log10_test): Likewise.
16802 (log1p_test): Likewise.
16803 (log2_test): Likewise.
16804 (pow_test): Do not allow some spurious overflow exceptions.
16805 (sqrt_test): Add more tests.
16806 (tgamma_test): Likewise.
16807 (y0_test): Likewise.
16808 (y1_test): Likewise.
16809 (yn_test): Likewise.
16810
dd62fda6
AB
168112012-03-27 Anton Blanchard <anton@samba.org>
16812
16813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16814 MAP_HUGETLB.
16815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16818
1e3cdfda
AJ
168192012-03-27 David S. Miller <davem@davemloft.net>
16820
b855ab85
DM
16821 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16822
1e3cdfda
AJ
16823 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16824 have-as-vis3 check.
16825
168262012-03-27 Andreas Jaeger <aj@suse.de>
16827
16828 * sysdeps/x86_64/elf/configure.in: Moved to ...
16829 * sysdeps/x86_64/configure.in: ... here.
16830 * sysdeps/x86_64/elf/start.S: Moved to ...
16831 * sysdeps/x86_64/start.S: ... here.
16832 * sysdeps/x86_64/elf/configure: Delete.
16833
16834 * sysdeps/x86_64/configure.in: Merge contents from
16835 sysdeps/i386/configure.in (without i686 check).
16836
16837 * sysdeps/i386/elf/Versions: Merge into ...
16838 * sysdeps/i386/Versions: ... this.
16839 * sysdeps/i386/elf/Versions: Delete file.
16840 * sysdeps/i386/elf/start.S: Moved to ...
16841 * sysdeps/i386/start.S: ...here.
16842 * sysdeps/i386/elf/configure.in: Merge into...
16843 * sysdeps/i386/configure.in: ...here.
16844 * sysdeps/i386/elf/configure.in: Delete file.
16845 * sysdeps/i386/elf/configure: Delete file.
16846
16847 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16848 * debug/backtracesyms.c: ... here.
16849 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16850 * debug/backtracesymsfd.c: ... here.
16851 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16852 * sysdeps/generic/ifunc-sel.h: ... here.
16853
16854 * sysdeps/unix/i386/start.c: Delete file.
16855 * sysdeps/unix/sparc/start.c: Delete file.
16856 * sysdeps/unix/start.c: Delete file.
16857
16858 * sysdeps/sh/elf/configure.in: Moved to ...
16859 * sysdeps/sh/configure.in: ... here.
16860 * sysdeps/sh/elf/start.S: Moved to ...
16861 * sysdeps/sh/start.S: ... here.
16862 * sysdeps/sh/elf/configure: Delete file.
16863
16864 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16865 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16866 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16867 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16868 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16869 * sysdeps/powerpc/powerpc64/start.S: here.
16870 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16871 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16872 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16873 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16874 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16875
16876 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16877 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16878 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16879 * sysdeps/powerpc/powerpc32/start.S: ... here.
16880 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16881 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16882 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16883
16884 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16885 * sysdeps/powerpc/ifunc-sel.h: ... here.
16886 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16887 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16888
16889 * sysdeps/sparc/elf/configure.in: Moved to ...
16890 * sysdeps/sparc/configure.in: ... here.
16891 * sysdeps/sparc/elf/configure: Delete file.
16892 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16893 * sysdeps/sparc/sparc32/start.S: ... here.
16894 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16895 * sysdeps/sparc/sparc64/start.S: ... here.
16896 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16897 * sysdeps/sparc/sparc32/Makefile: ... this.
16898 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16899 * sysdeps/sparc/sparc64/Makefile: ... this.
16900
16901 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16902 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16903 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16904 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16905 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16906 * sysdeps/s390/s390-32/setjmp.S: ... here.
16907 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16908 * sysdeps/s390/s390-32/configure.in: ... here.
16909 * sysdeps/s390/s390-32/elf/configure: Delete file.
16910 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16911 * sysdeps/s390/s390-32/start.S: ... here.
16912
16913 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16914 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16915 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16916 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16917 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16918 * sysdeps/s390/s390-64/setjmp.S: ... here.
16919 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16920 * sysdeps/s390/s390-64/configure.in: ... here
16921 * sysdeps/s390/s390-64/elf/configure: Delete file.
16922 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16923 * sysdeps/s390/s390-64/start.S: ... here.
16924 * sysdeps/s390/s390-64/elf/configure: Delete.
16925
16926 * configure.in: Remove support for elf directories in sysdeps.
16927
16928 * configure: Regenerated.
16929 * sysdeps/i386/configure: Regenerated.
16930 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16931 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16932 * sysdeps/s390/s390-32/configure: Regenerated.
16933 * sysdeps/s390/s390-64/configure: Regenerated.
16934 * sysdeps/sh/configure: Regenerated.
16935 * sysdeps/sparc/configure: Regenerated.
16936 * sysdeps/x86_64/configure: Regenerated.
16937
a3f61311
AS
169382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16939
c876e002
AS
16940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16941
a3f61311
AS
16942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16943 denormal result into account.
16944
ac4c54f0
RM
169452012-03-25 Roland McGrath <roland@hack.frob.com>
16946
16947 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16948 Reported by Allan McRae <allan@archlinux.org>.
16949
6a9b9c02
JL
169502012-03-23 Jeff Law <law@redhat.com>
16951
16952 * nss/getnssent.c (__nss_getent): Fix typo.
16953
4c42a0c1
DM
169542012-03-23 David S. Miller <davem@davemloft.net>
16955
16956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16957
1532c7ac
L
169582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16959
16960 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16961 to pad to uint64_t for each field.
16962 (dl_tls_index): Replace unsigned long with uint64_t.
16963
3ff42526
PP
169642012-03-23 Daniel Jacobowitz <dmj@google.com>
16965 Paul Pluzhnikov <ppluzhnikov@google.com>
16966
16967 [BZ #6528]
16968 * grp/Makefile (otherlibs): Don't set it.
16969 * inet/Makefile (otherlibs): Likewise.
16970 * login/Makefile (otherlibs): Likewise.
16971 * nscd/Makefile (otherlibs): Likewise.
16972 * posix/Makefile (otherlibs): Likewise.
16973 * pwd/Makefile (otherlibs): Likewise.
16974 * rt/Makefile (otherlibs): Likewise.
16975 * sunrpc/Makefile (otherlibs): Likewise.
16976 * nss/Makefile (otherlibs): Likewise.
16977 Add libnss_files to routines and static-only-routines.
16978 ($(objpfx)getent): Remove rule.
16979 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16980 static-only-routines.
16981
7c69cd14
JM
169822012-03-22 Joseph Myers <joseph@codesourcery.com>
16983
16984 [BZ #13892]
16985 * math/s_cexp.c: Include <float.h>.
16986 (__cexp): Handle exp result overflowing not necessarily
16987 overflowing both real and imaginary parts of result.
16988 * math/s_cexpf.c: Likewise.
16989 * math/s_cexpl.c: Likewise.
16990 * math/libm-test.inc (cexp_test): Add more tests.
16991 * sysdeps/i386/fpu/libm-test-ulps: Update.
16992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
81b035fe
L
169942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16995
16996 * include/link.h (ELFW): New macro.
16997 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16998 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16999
1da7940c
L
170002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17001
17002 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17003 with uint64_t.
17004
b749dbb9
L
170052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17006
17007 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17008 declaration.
17009 (struct La_x32_retval): Likewise.
17010
2ff87f3f
L
170112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 * sysdeps/x86_64/preconfigure.in: New file.
17014 * sysdeps/x86_64/preconfigure: New generated file.
17015
c0df8e69
JM
170162012-03-22 Joseph Myers <joseph@codesourcery.com>
17017
48e44791
JM
17018 [BZ #13824]
17019 * math/e_exp2l.c: Include <float.h>.
17020 (__ieee754_exp2l): Handle overflow and underflow cases
17021 separately. Only pass fractional part of argument to
17022 __ieee754_expl.
17023 * math/libm-test.inc (exp2_test): Add more tests.
17024
c0df8e69
JM
17025 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17026 negating x to take absolute value.
17027 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17028 Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17031 Likewise.
17032 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17033 computing low part if x was negated.
17034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17035
c8e43ba7
L
170362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17039 la_x32_gnu_pltexit.
17040 (pltexit): Cast int_retval to ptrdiff_t.
17041 * elf/tst-auditmod3b.c: Likewise.
17042 * elf/tst-auditmod4b.c: Likewise.
17043 * elf/tst-auditmod5b.c: Likewise.
17044 * elf/tst-auditmod6b.c: Likewise.
17045 * elf/tst-auditmod6c.c: Likewise.
17046 * elf/tst-auditmod7b.c: Likewise.
17047
17048 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17049 and x32_gnu_pltexit.
17050
17051 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17052 __ELF_NATIVE_CLASS.
17053 (La_x32_regs): New macro.
17054 (La_x32_retval): Likewise.
17055 (la_x32_gnu_pltenter): New function prototype.
17056 (la_x32_gnu_pltexit): Likewise.
17057
7998fa78
AS
170582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17059
dcb33988
AS
17060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17061 exponent.
17062
233fc563
AS
17063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17064
7998fa78
AS
17065 * configure.in (libc_cv_cc_nofma): Check for option to disable
17066 generation of FMA instructions.
17067 * configure: Regenerate.
17068 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17069 * sysdeps/ieee754/dbl-64/Makefile: New file.
17070 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17071 Remove brandred-fma4.
17072 (CFLAGS-brandred-fma4.c): Remove.
17073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17074 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17075 define.
17076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17077 define.
17078
8e95c99a
L
170792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17082 LLONG_MAX != LONG_MAX.
17083 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17084 (_fitoa_word): Likewise.
17085 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17086 LLONG_MAX != LONG_MAX.
17087 * stdio-common/_itowa.h: Include <_itoa.h>.
17088 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17089 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17090 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17091 only if not defined.
17092 (_ITOA_WORD_TYPE): Likewise.
17093 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17094 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17095
6f4db457
DM
170962012-03-21 David S. Miller <davem@davemloft.net>
17097
17098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17099
7785fe5a
L
171002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17101
17102 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17103 of x86_64 when setting libc_cv_slibdir, libdir and
17104 libc_cv_localedir.
17105 * sysdeps/unix/sysv/linux/configure: Regenerated.
17106
4535cd55
JM
171072012-03-21 Joseph Myers <joseph@codesourcery.com>
17108
17109 * manual/lang.texi (Old Varargs): Remove section.
17110 (How Variadic): Update menu.
17111 (va_start): Do not mention varargs.h.
17112
17228132
TS
171132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17114 Joseph Myers <joseph@codesourcery.com>
17115
17116 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17117 link test.
17118 * configure: Regenerated.
17119
8149f976
TS
171202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17121
05f3d1f6
UD
17122 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17123 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17124 conformtest.pl
8149f976 17125
1a4ac776
JM
171262012-03-21 Joseph Myers <joseph@codesourcery.com>
17127
be22ce65
JM
17128 * NOTES: Remove.
17129 * Makefile (files-for-dist): Remove NOTES.
17130 (NOTES): Remove rule.
17131 * README: Don't refer to NOTES.
17132 * manual/creature.texi: Don't include macros.texi.
17133 * manual/intro.texi (creature.texi): Remove comment referring to
17134 NOTES.
17135
40b601fb
JM
17136 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17137 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17138 * configure: Regenerated.
17139 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17140 LIBC_TRY_CC_OPTION.
17141 (libc_cv_as_i686): Likewise.
17142 (libc_cv_cc_avx): Likewise.
17143 (libc_cv_cc_sse2avx): Likewise.
17144 (libc_cv_cc_fma4): Likewise.
17145 (libc_cv_cc_novzeroupper): Likewise.
17146 * sysdeps/i386/configure: Regenerated.
17147
1a4ac776
JM
17148 [BZ #13883]
17149 * sysdeps/i386/fpu/s_cexp.S: Remove.
17150 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17151 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17152 * math/libm-test.inc (cexp_test): Add more tests.
17153 * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17155
a458e7fe
AM
171562012-03-21 Allan McRae <allan@archlinux.org>
17157
17158 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17159
0cb7efc5
JM
171602012-03-21 Joseph Myers <joseph@codesourcery.com>
17161
17162 [BZ #13871]
17163 * math/w_exp2.c: Do not include <float.h>.
17164 (o_threshold, u_threshold): Remove.
17165 (__exp2): Calculate result before checking finiteness and calling
17166 __kernel_standard.
17167 * math/w_exp2f.c: Likewise.
17168 * math/w_exp2l.c: Likewise.
17169 * math/libm-test.inc (exp2_test): Require overflow exception for
17170 1e6 input.
2460d3aa
JM
17171
17172 [BZ #3866]
17173 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17174 range of signed 64-bit integers before using fistpll. Remove
17175 checks for whether integers fit in mantissa bits.
17176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17177 the range of signed 32-bit integers before using fistpl. Remove
17178 checks for whether integers fit in mantissa bits.
17179 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17180 (__ieee754_powl): Test for y outside the range of signed 64-bit
17181 integers before using fistpll. Reduce 64-bit values to 63-bit
17182 ones as needed.
17183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17184 divide-by-zero is raised for zero to large negative powers.
17185 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17186 (__ieee754_powl): Test for y outside the range of signed 64-bit
17187 integers before using fistpll. Reduce 64-bit values to 63-bit
17188 ones as needed.
17189 * math/libm-test.inc (pow_test): Add more tests.
17190
eb96ffb0
L
171912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17194 <stdio-common/_itoa.h>.
17195 * debug/segfault.c: Likewise.
17196 * elf/dl-cache.c: Likewise.
17197 * elf/dl-minimal.c: Likewise.
17198 * elf/dl-misc.c: Likewise.
17199 * elf/dl-sysdep.c: Likewise.
17200 * elf/dl-version.c: Likewise.
17201 * elf/rtld.c: Likewise.
17202 * hurd/hurdsock.c: Likewise.
17203 * hurd/lookup-retry.c: Likewise.
17204 * malloc/malloc.c: Likewise.
17205 * malloc/mtrace.c: Likewise.
17206 * nscd/nscd_getgr_r.c: Likewise.
17207 * nscd/nscd_getpw_r.c: Likewise.
17208 * nscd/nscd_getserv_r.c: Likewise.
17209 * posix/getopt_init.c: Likewise.
17210 * posix/wordexp.c: Likewise.
17211 * stdio-common/_itoa.c: Likewise.
17212 * stdio-common/printf_fphex.c: Likewise.
17213 * stdio-common/vfprintf.c: Likewise.
17214 * string/_strerror.c: Likewise.
17215 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17216 * sysdeps/i386/i686/hp-timing.h: Likewise.
17217 * sysdeps/mach/_strerror.c: Likewise.
17218 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17219 * sysdeps/mach/hurd/sethostid.c: Likewise.
17220 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17221 * sysdeps/mach/xpg-strerror.c: Likewise.
17222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17224 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17225 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17226 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17227 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17229 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17230 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17231 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17232 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17233 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17235 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17236 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17237 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17238 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17239 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17240 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17241 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17242 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17243
17244 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17245
17246 * stdio-common/_itoa.h: Moved to ...
17247 * sysdeps/generic/_itoa.h: Here.
17248
17249 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17250
17251 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17252 instead of "_itoa.h" and "_itowa.h".
17253 * stdio-common/vfprintf.: Likewise.
17254
d1af992d
L
172552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17258 <bits/wordsize.h>.
17259 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17260 (__signbit): Likwise.
17261 (llrintf): Likwise.
17262 (llrint): Likwise.
17263
114883e0
L
172642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17265
17266 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17267 __WORDSIZE != 64.
17268
c135cc1b
JM
172692012-03-20 Joseph Myers <joseph@codesourcery.com>
17270
17271 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17272 OVERFLOW_EXCEPTION_OK.
17273 * math/libm-test.inc ("Philosophy"): Update comment about
17274 exception testing.
17275 (OVERFLOW_EXCEPTION): Define.
17276 (OVERFLOW_EXCEPTION_OK): Likewise.
17277 (INVALID_EXCEPTION_OK): Renumber.
17278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17279 (IGNORE_ZERO_INF_SIGN): Likewise.
17280 (test_exceptions): Handle FE_OVERFLOW.
17281 (exp10_test): Expect overflow exceptions.
17282 (exp2_test): Likewise.
17283 (expm1_test): Likewise.
17284 (nextafter_test): Likewise.
17285 (pow_test): Likewise.
17286 (scalbn_test): Likewise.
17287 (scalbln_test): Likewise.
17288
95443d88
L
172892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17290
17291 * sysdeps/x86_64/bits/atomic.h
17292 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17293 64bit integer.
17294 (atomic_exchange_acq): Likewise.
17295 (__arch_exchange_and_add_body): Likewise.
17296 (__arch_add_body): Likewise.
17297 (atomic_add_negative): Likewise.
17298 (atomic_add_zero): Likewise.
17299
490df6c4
L
173002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17301
c2722551 17302 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17303 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17304
5e52b189
L
173052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17306
17307 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17308 Check __x86_64__ instead of __WORDSIZE.
17309
a9879d4c
L
173102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17311
17312 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17313
5df98260
DM
173142012-03-19 David S. Miller <davem@davemloft.net>
17315
e1497744
DM
17316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17317
5df98260
DM
17318 * sysdeps/sparc/fpu/fenv_private.h: New file.
17319 * sysdeps/sparc/fpu/math_private.h: Use it.
17320 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17321 Remove.
17322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17323 (libc_feholdexcept_setroundl): Remove.
17324 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17325 Remove.
17326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17328
b4c35121
L
173292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17332 int64_t instead of long int.
17333 (INSERT_WORDS64): Likwise.
17334
56965fd7
L
173352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17336
17337 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17338 _Unwind_GetCFA return to _Unwind_Ptr first.
17339
83d1aec8
JM
173402012-03-19 Joseph Myers <joseph@codesourcery.com>
17341
1897ad44
JM
17342 [BZ #13629]
17343 * math/s_clog.c: Include <float.h>.
17344 (__clog): Scale large or subnormal inputs.
17345 * math/s_clogf.c: Likewise.
17346 * math/s_clogl.c: Likewise.
17347 * math/s_clog10.c: Include <float.h>.
17348 (M_LOG10_2): Define.
17349 (__clog10): Scale large or subnormal inputs.
17350 * math/s_clog10f.c: Likewise.
17351 * math/s_clog10l.c: Likewise.
17352 * math/libm-test.inc (clog_test): Add more tests.
17353 (clog10_test): Likewise.
17354 * sysdeps/i386/fpu/libm-test-ulps: Update.
17355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17356
7726d6a9
JM
17357 [BZ #11451]
17358 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17359 x and y.
17360 * math/libm-test.inc (atan2_test): Add another test.
17361
83d1aec8
JM
17362 * Makerules (common-objdir-compile): Remove.
17363 * sysdeps/unix/Makefile (config-generated): Do not add
17364 $(unix-generated) to variable.
17365 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17366 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17367 Remove rule.
17368 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17369 Likewise.
17370 [generic bits/local_lim.h] (before-compile): Do not append to
17371 variable.
17372 [generic bits/local_lim.h] (common-generated): Likewise.
17373 [generic sys/param.h] (before-compile): Do not append to variable.
17374 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17375 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17376 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17378 include.
17379 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17380 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17381 [generic sys/param.h] ($(addprefix
17382 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17383 [generic sys/param.h] (common-generated): Do not append to
17384 variable.
17385 [generic sys/param.h] (sysdep_headers): Likewise.
17386 [generic bits/errno.h] (before-compile): Do not append to
17387 variable.
17388 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17389 rule.
17390 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17391 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17392 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17393 [generic bits/errno.h] (common-generated): Do not append to
17394 variable.
17395 [generic bits/ioctls.h] (before-compile): Do not append to
17396 variable.
17397 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17398 rule.
17399 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17400 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17402 rule.
17403 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17404 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17405 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17406 [generic bits/ioctls.h] (common-generated): Do not append to
17407 variable.
17408 [generic sys/syscall.h] (syscall.h): Remove variable.
17409 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17410 rule.
17411 [generic sys/syscall.h] (before-compile): Do not append to
17412 variable.
17413 [generic sys/syscall.h] (common-generated): Likewise.
17414 * sysdeps/unix/errnos-tmpl.c: Remove file.
17415 * sysdeps/unix/errnos.awk: Likewise.
17416 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17417 * sysdeps/unix/ioctls.awk: Likewise.
17418 * sysdeps/unix/mk-local_lim.c: Likewise.
17419 * sysdeps/unix/snarf-ioctls: Likewise.
17420
4851a949
RH
174212012-03-19 Richard Henderson <rth@twiddle.net>
17422
bd37f2ee
RH
17423 * sysdeps/i386/fpu/fenv_private.h: New file.
17424 * sysdeps/i386/fpu/math_private.h: Use it.
17425 (math_opt_barrier, math_force_eval): Remove.
17426 (libc_feholdexcept_setround_53bit): Remove.
17427 (libc_feupdateenv_53bit): Remove.
17428 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17429 (math_opt_barrier, math_force_eval): Remove.
17430 (libc_feholdexcept): Remove.
17431 (libc_feholdexcept_setround): Remove.
17432 (libc_fetestexcept, libc_fesetenv): Remove.
17433 (libc_feupdateenv_test): Remove.
17434 (libc_feupdateenv, libc_feholdsetround): Remove.
17435 (libc_feresetround): Remove.
17436
d0adc922
RH
17437 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17438 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17439
0fe0f1f8
RH
17440 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17441 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17442 (libc_feupdateenv_testl): New.
17443 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17444 (libc_feupdateenv_testf): New.
17445 (libc_feupdateenv): Use libc_feupdateenv_test.
17446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17448
eb92c487
RH
17449 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17450 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17451 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17452 (libc_feresetround_noex): New.
17453 (libc_feresetround_noexf): New.
17454 (libc_feresetround_noexl): New.
17455 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17456 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17457 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17458 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17459 SET_RESTORE_ROUND.
17460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17462 (__cos): Likewise.
17463 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17464 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17465 SET_RESTORE_ROUND_NOEX.
17466 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17467 SET_RESTORE_ROUND_NOEXF.
17468 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17469 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17470 (libc_feholdsetroundf): New.
17471 (libc_feresetround, libc_feresetroundf): New.
17472
7d2e8012
RH
17473 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17474 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17475 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17476
b4dabbb4
RH
17477 * sysdeps/generic/math_private.h: Include <fenv.h>.
17478 (default_libc_feholdexcept): New.
17479 (default_libc_feholdexcept_setround): New.
17480 (default_libc_fesetenv, default_libc_feupdateenv): New.
17481 (libc_feholdexcept): Only define if undefined.
17482 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17484 (libc_feholdexcept_setroundl): Likewise.
17485 (libc_feholdexcept_setround_53bit): Likewise.
17486 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17489 (libc_feupdateenv_53bit): Likewise.
17490 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17491 (libc_feholdexcept): Convert from macro to inline function.
17492 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17493 (libc_fesetenv, libc_feupdateenv): Likewise.
17494
4851a949
RH
17495 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17496 not previously defined.
17497 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17498 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17499 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17500 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17501 * sysdeps/ieee754/flt-32/math_private.h: New file.
17502 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17503 math_private.h below SET_FLOAT_WORD.
17504 (__isnan, __isinf_ns, __finite): Remove.
17505 (__isnanf, __isinf_nsf, __finitef): Remove.
17506
e79d442e
AS
175072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17508
17509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17510
90b80344
DM
175112012-03-17 David S. Miller <davem@davemloft.net>
17512
17513 [BZ #6471]
17514 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17515 for 2.16.
17516
edc21804
DM
175172012-03-16 David S. Miller <davem@davemloft.net>
17518
77e927af
DM
17519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17520 warnings.
17521
374976dd
DM
17522 [BZ #6471]
17523 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17524 properly.
17525 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17526 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17527 sysdep_routines when subdir is sysvipc.
17528 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17529 __getshmlba helper.
17530
edc21804
DM
17531 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17532
473c3ef3
L
175332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17534
17535 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17536 [__LP64__].
17537
eb0f39b6
L
175382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17539
17540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17541 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17542 (__lround): Renamed to ...
17543 (__llround): This. Replace long int with long long int.
17544 Define lround functions as aliases of llround functions.
17545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17546
6b6cd74b
L
175472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17548
17549 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17550 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17551 adresses to uintptr_t. Replace "long int" and "unsigned long
17552 int" with "greg_t" on va_arg.
17553
f1a77b01
L
175542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17555
17556 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17557 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17558
17559 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17560 Move e_machine check before EI_CLASS check. Handle x32
17561 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17562 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17563 SKIP_EM_IA_64 and include
17564 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17565
17566 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17567 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17568 (add_system_dir): New macro.
17569
17570 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17571 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17572
11b90b9f
JM
175732012-03-16 Joseph Myers <joseph@codesourcery.com>
17574
c36e1d23
JM
17575 [BZ #2551]
17576 [BZ #2552]
17577 [BZ #2553]
17578 [BZ #2554]
17579 [BZ #2562]
17580 [BZ #2563]
17581 [BZ #2565]
17582 [BZ #2566]
17583 [BZ #2576]
17584 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17585 (y0): Likewise.
17586 * math/w_j0f.c (j0f): Likewise.
17587 (y0f): Likewise.
17588 * math/w_j0l.c (__j0l): Likewise.
17589 (__y0l): Likewise.
17590 * math/w_j1.c (j1): Likewise.
17591 (y1): Likewise.
17592 * math/w_j1f.c (j1f): Likewise.
17593 (y1f): Likewise.
17594 * math/w_j1l.c (__j1l): Likewise.
17595 (__y1l): Likewise.
17596 * math/w_jn.c (jn): Likewise.
17597 (yn): Likewise.
17598 * math/w_jnf.c (jnf): Likewise.
17599 (ynf): Likewise.
17600 * math/w_jnl.c (__jnl): Likewise.
17601 (__ynl): Likewise.
17602 * math/libm-test.inc (j0_test): Add more tests.
17603 (j1_test): Likewise.
17604 (jn_test): Likewise. Add trailing semicolon to existing test.
17605 (y0_test): Likewise.
17606 (y1_test): Likewise.
17607 * sysdeps/i386/fpu/libm-test-ulps: Update.
17608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17609
11b90b9f
JM
17610 [BZ #13851]
17611 [BZ #13854]
17612 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17613 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17614 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17615 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17616 (__tanl): Set errno for infinite argument.
17617 * sysdeps/i386/fpu/mptan.c: Remove.
17618 * sysdeps/i386/fpu/s_tan.S: Likewise.
17619 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17620 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17621 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17622 * math/libm-test.inc (tan_test): Add more tests and enable more
17623 tests for double and long double.
17624 * sysdeps/i386/fpu/libm-test-ulps: Update.
17625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17626
6a1bd2a1
JK
176272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17628
17629 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17630 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17631
10a803e0
RM
176322012-03-16 Roland McGrath <roland@hack.frob.com>
17633
17634 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17635 * configure.in: Use it for both main tree and add-ons.
17636 * configure: Regenerated.
17637
f196c7f7
L
176382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17639
17640 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17641
8848d99d
JM
176422012-03-16 Joseph Myers <joseph@codesourcery.com>
17643
96cbe7f4
JM
17644 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17645 in comment.
17646
8848d99d
JM
17647 [BZ #13851]
17648 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17649 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17653 infinite argument.
17654 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17656 != 0 for prec == 2.
17657 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17658 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17659 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17660 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17661 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17662 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17663 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17664 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17665 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17666 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17667 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17668 * math/libm-test.inc (cos_test): Add more tests and enable more
17669 tests for long double.
17670 (sin_test): Likewise.
17671 (sincos_test): Likewise.
17672 * sysdeps/i386/fpu/libm-test-ulps: Update.
17673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17674
dd7f4703
DM
176752012-03-16 David S. Miller <davem@davemloft.net>
17676
17677 * sysdeps/sparc/fpu/math_private.h: New file.
17678
006f1daa
DM
176792012-03-15 David S. Miller <davem@davemloft.net>
17680
c0c83bc8
DM
17681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17682 file.
e6a62e18 17683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17685 file.
e6a62e18
DM
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17692 sysdep routines.
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17694
88cb87d9
DM
17695 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17696 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17697
006f1daa 17698 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17700 sparc-ifunc.h
006f1daa 17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17703 Likewise.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17705 Likewise.
006f1daa
DM
17706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17710 Likewise.
006f1daa
DM
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17716 Likewise.
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17718 Likewise.
006f1daa
DM
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17743
11e0098e
AS
177442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17745
17746 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17747 scaling.
17748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17749
e85b09d0
AJ
177502012-03-15 Andreas Jaeger <aj@suse.de>
17751
17752 [BZ #13852]
17753 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17754 ieee754/flt-32 implementation for sin, cos and sincos.
17755 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17756 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17757 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17758 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17759 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17760 ieee754/flt-32 implementation for tan.
17761
17762 * math/libm-test.inc (cos_test): Enable some large input tests for
17763 float as well
17764 (sin_test): Likewise.
17765 (sincos_test): Likewise.
17766 (tan_test): Add tests for large input.
17767
17768 * sysdeps/i386/fpu/libm-test-ulps: Update.
17769
81c64153
AJ
177702012-03-15 Andreas Jaeger <aj@suse.de>
17771
17772 [BZ #13658]
17773 * math/libm-test.inc (cos_test): Add more test cases.
17774 (sin_test): Likewise.
17775 (sincos_test): Likewise.
17776
7bbfa5c6
AJ
177772012-03-15 Andreas Jaeger <aj@suse.de>
17778
17779 [BZ #13837]
17780 * math/libm-test.inc (cos_test): Add a test case for large input
17781 value.
17782 (sin_test): Likewise.
17783 (sincos_test): Likewise.
17784
177852012-03-15 Andreas Jaeger <aj@suse.de>,
17786 Joseph Myers <joseph@codesourcery.com>
17787
17788 [BZ #13658]
0671f479 17789 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17790 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17791 * sysdeps/i386/fpu/branred.c: Likewise.
17792 * sysdeps/i386/fpu/dosincos.c: Likewise.
17793 * sysdeps/i386/fpu/mpa.c: Likewise.
17794 * sysdeps/i386/fpu/s_cos.S: Likewise.
17795 * sysdeps/i386/fpu/s_sin.S: Likewise.
17796 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17797 * sysdeps/i386/fpu/sincos32.c: Likewise.
17798
17799 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17800 Define.
17801 (libc_feupdateenv_53bit): Define.
17802 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17803 Define.
17804 (libc_feupdateenv_53bit): Define.
17805
17806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17807 53 bit (without extend i386 double precision).
17808
17809 * math/libm-test.inc (sincos_test): Add tests for large input.
17810 (sin): Likewise.
17811 (cos): Likewise.
17812
17813 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17814
9cad04ea
AS
178152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17816
17817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17818
f7062b9a
DM
178192012-03-15 David S. Miller <davem@davemloft.net>
17820
17821 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17822 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17823 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17824 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17837 file.
f7062b9a 17838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17840 file.
f7062b9a 17841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17843 file.
f7062b9a 17844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17846 file.
f7062b9a
DM
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17849 fmin/fmax sysdep routines.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17851
7bd951ff
DM
178522012-03-14 David S. Miller <davem@davemloft.net>
17853
559398ab
DM
17854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17883 routines.
17884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17885 file.
559398ab 17886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17888 file.
559398ab 17889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17891 file.
559398ab 17892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17894 file.
559398ab 17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17897 file.
559398ab 17898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17900 file.
17901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17902 file.
17903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17904 file.
17905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17906 file.
17907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17908 New file.
17909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17910 file.
17911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17912 file.
559398ab 17913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17915 file.
559398ab 17916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17918 file.
559398ab 17919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17921 file.
559398ab 17922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17924 VIS3 routines.
559398ab
DM
17925
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17927 New file.
17928
5a1c1e32
DM
17929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17930
eae47a36
DM
17931 * sysdeps/sparc/configure.in: New file.
17932 * sysdeps/sparc/configure: Generate.
17933 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17934 * configure: Regenerate.
17935 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17936 * config.make.in (have-as-vis3): New.
17937 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17938 available use -Av9d instead of -Av9a.
17939 * sysdeps/sparc/sparc64/Makefile: Likewise.
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17942 New file.
17943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17944 file.
17945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17946 New file.
17947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17948 file.
eae47a36
DM
17949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17954
c0c83bc8
DM
17955 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17956 fzeros/fnegs to load 0x80000000 into a float register instead of
17957 using the stack.
7bd951ff
DM
17958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17959
bd951ccb
JM
179602012-03-14 Joseph Myers <joseph@codesourcery.com>
17961
17962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17963 bits/syscall.h.
17964 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17965 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17966 ($(inst_includedir)/bits/syscall.h): Remove rule.
17967 ($(objpfx)bits/syscall.d): Include instead of
17968 $(objpfx)syscall-list.d.
17969 (generated): Change syscall-list.h and syscall-list.d to
17970 bits/syscall.h and bits/syscall.d.
17971
bb4e6db2
RM
179722012-03-14 Roland McGrath <roland@hack.frob.com>
17973
17974 [BZ #13846]
17975 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17976
aa4a2ae1
JM
179772012-03-14 Joseph Myers <joseph@codesourcery.com>
17978
e456826d
JM
17979 [BZ #13841]
17980 * math/s_csqrt.c: Include <float.h>.
17981 (__csqrt): Scale large or subnormal inputs.
17982 * math/s_csqrtf.c: Likewise.
17983 * math/s_csqrtl.c: Likewise.
17984 * math/libm-test.inc (csqrt_test): Add more tests.
17985 * sysdeps/i386/fpu/libm-test-ulps: Update.
17986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17987
aa4a2ae1
JM
17988 [BZ #13840]
17989 * math/libm-test.inc (hypot_test): Add more tests.
17990
7c10fd35
DM
179912012-03-13 David S. Miller <davem@davemloft.net>
17992
17993 [BZ #13840]
17994 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17995 double-precision for the calculation instead of scaling.
17996
f453b98b
JM
179972012-03-13 Joseph Myers <joseph@codesourcery.com>
17998
17999 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18000 manipulate bits before adding and subtracting TWO52[sx].
18001 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18003 Likewise.
18004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18005
09a3453f
DM
180062012-03-13 David S. Miller <davem@davemloft.net>
18007
8e59da90
DM
18008 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18009 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18011 rtld-global-offsets.h
18012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18013
2a8ab7f2
DM
18014 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18015 large parameters.
18016
10f62770
DM
18017 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18018
5f0bdb18
DM
18019 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18020 'err' in the ifdef scope in which it is actually used.
18021
09a3453f
DM
18022 * nss/nss_db/db-init.c: Include string.h
18023
b4b2eb5e
DM
180242012-03-12 David S. Miller <davem@davemloft.net>
18025
98bb2f1c
DM
18026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18027 masking out of the most significant byte of random value used.
18028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18029 Fix coding style in previous change.
18030
b4b2eb5e
DM
18031 * sysdeps/unix/sysv/linux/kernel-features.h
18032 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18033 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18034 expression.
18035 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18036 later.
18037
6e226b09
DM
180382012-03-11 David S. Miller <davem@davemloft.net>
18039
a1bcbd40
DM
18040 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18041 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18043 for 'resultvar' otherwise things get truncated on 64-bit.
18044
cb9d6174
DM
18045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18046 Fix masking out of the most significant byte of random value used.
18047
6e226b09
DM
18048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18049
058c132d
AS
180502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18051
18052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18053
2d2cd515
DM
180542012-03-09 David S. Miller <davem@davemloft.net>
18055
18056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18057 variables with appropriate CPP guards.
18058 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18059 frame pointer, not the stack pointer. Correct layout comments. Fix test
18060 on resulting framesize and the management of the outregs buffer for pltexit.
18061 Preserve floating point return values across _dl_call_pltexit call.
18062 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18063 framesize and the management of the outregs buffer for pltexit.
18064 Preserve floating point return values across _dl_call_pltexit
18065 call.
18066 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18067 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18068 (print_exit): Fix format string for return register value.
18069
9a07f9d0
JM
180702012-03-10 Joseph Myers <joseph@codesourcery.com>
18071
18072 * sunrpc/Makefile (others): Add rpcgen.
18073 ($(objpfx)rpcgen): Remove special build rule and dependency on
18074 libc.
18075 * sunrpc/rpcgen.c: New file.
18076
547b5e30
PE
180772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18078
c524201a
PE
18079 [BZ #13673]
18080 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18081 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18082 * sysdeps/i386/crti.S: Likewise.
18083 * sysdeps/i386/crtn.S: Likewise.
18084 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18085 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18086 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18087 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18088 * sysdeps/sh/crti.S: Likewise.
18089 * sysdeps/sh/crtn.S: Likewise.
18090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18091
7b6235f2
PE
18092 [BZ #13673]
18093 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18094 with URL.
18095 * locale/programs/locfile-kw.gperf: Likewise.
18096 * locale/programs/charmap-kw.h: Regenerated.
18097 * locale/programs/locfile-kw.h: Likewise.
18098
547b5e30
PE
18099 [BZ #13673]
18100 * intl/plural.y: Replace FSF snail mail address with URL.
18101 * intl/plural.c: Regenerated.
18102
5f0a5dae
RH
181032012-03-09 Richard Henderson <rth@twiddle.net>
18104
18105 * include/math_private.h: Remove file.
18106 * math/math_private.h: Move file ...
18107 * sysdeps/generic/math_private.h: ... here.
18108
b8c03620
RH
18109 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18110 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18112
4e234f5d 18113 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18114 and <math_private.h>.
18115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18229 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18242 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18248 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18249 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18251 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18258 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18259 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18264 * sysdeps/ieee754/k_standard.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18414 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18415 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18419 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18420 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18425 * sysdeps/ieee754/s_lib_version.c: Likewise.
18426 * sysdeps/ieee754/s_matherr.c: Likewise.
18427 * sysdeps/ieee754/s_signgam.c: Likewise.
18428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18430 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18431 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18432 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18434 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18435 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18436 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18437 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18438 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18439 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18440 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18442 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18449
1991fa03
JM
184502012-03-09 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18453 * sunrpc/rpc_main.c: Likewise.
18454 * sunrpc/rpc_svcout.c: Likewise.
18455
60d6f5a6
DM
184562012-03-09 David S. Miller <davem@davemloft.net>
18457
18458 * include/math_private.h: New file.
18459
4962050e
JM
184602012-03-09 Joseph Myers <joseph@codesourcery.com>
18461
02a6f887
JM
18462 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18463 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18464 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18465 from <bits/socket_type.h>.
18466 (enum __socket_type): Don't define here.
18467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18469 bits/socket_type.h.
18470
c6e013c1
JM
18471 [BZ #13566]
18472 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18473 checking __USE_GNU.
18474
4962050e
JM
18475 * Makerules ($(inst_includedir)/%.h): New rule.
18476 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18477 (install-others): Remove variable setting.
18478 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18479
38842f45
RH
184802012-03-08 Richard Henderson <rth@twiddle.net>
18481
67bb6da6
RH
18482 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18483 from macro to inline function; merge with the
18484 !__LIBC_INTERNAL_MATH_INLINES version.
18485 (__ieee754_sqrtf): Likewise.
18486
15194b4b
RH
18487 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18488 to inline function.
18489 (__rintf, __floor, __floorf): Likewise.
18490
64e21ede
RH
18491 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18492 macro to inline function.
18493 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18494
38842f45
RH
18495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18496 not <math/math_private.h>.
18497
c64bf5fe
DM
184982012-03-08 David S. Miller <davem@davemloft.net>
18499
18500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18501 copyright year.
18502 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18503
82d86f28
TS
185042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18505
18506 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18507 normalization.
18508 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18509 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18510
aea5d727
UD
185112012-03-08 Ulrich Drepper <drepper@gmail.com>
18512
18513 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18514 be defined individually, they must be defined as a block. Define
18515 S for printing a string instead of hidint the different by using a
18516 macro for adding the 'l'.
18517 * stdio-common/tst-fphex-wide.c: Adjust.
18518
70bca0a3
MP
185192012-03-07 Marek Polacek <polacek@redhat.com>
18520
18521 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18522
65b81130
MP
185232012-03-08 Marek Polacek <polacek@redhat.com>
18524
18525 [BZ #13806]
18526 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18527 * stdio-common/tst-fphex.c: Define a few macros to make the
18528 test reusable. Use them.
18529 * stdio-common/tst-fphex-wide.c: New file.
18530
07037eeb
JM
185312012-03-08 Joseph Myers <joseph@codesourcery.com>
18532
a7a93d50
JM
18533 [BZ #6911]
18534 * manual/macros.texi (gnusystems): New macro.
18535 (nongnusystems): Likewise.
18536 (gnulinuxhurdsystems): Likewise.
18537 (gnuhurdsystems): Likewise..
18538 (gnulinuxsystems): Likewise.
18539 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18540 variants of the GNU system, not "GNU system".
18541 * manual/conf.texi: Likewise.
18542 * manual/errno.texi: Likewise. Update example of errno macro
18543 expansion.
18544 * manual/filesys.texi: Likewise.
18545 (getumask): Document as specific to GNU/Hurd.
18546 * manual/install.texi: Likewise. Reword some references to
18547 GNU/Linux.
18548 * manual/intro.texi: Likewise.
18549 * manual/io.texi: Likewise.
18550 (File Name Portability): Detail which constraints are inapplicable
18551 to all GNU systems and which are only inapplicable to GNU/Hurd.
18552 * manual/job.texi: Likewise.
18553 * manual/llio.texi: Likewise.
18554 (O_NOCTTY): Document as present on GNU/Linux.
18555 * manual/maint.texi: Likewise.
18556 * manual/memory.texi: Likewise.
18557 * manual/pattern.texi: Likewise.
18558 * manual/pipe.texi: Likewise.
18559 * manual/process.texi: Likewise.
18560 * manual/resource.texi: Likewise.
18561 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18562 child on GNU/Hurd.
18563 * manual/setjmp.texi: Likewise.
18564 * manual/signal.texi: Likewise.
18565 * manual/startup.texi: Likewise.
18566 * manual/stdio.texi: Likewise.
18567 * manual/terminal.texi: Likewise.
18568 (ONLCR): Document as POSIX.
18569 (OXTABS): Document availability on GNU/Linux as XTABS.
18570 (ONOEOT): Document availability separately from other bits.
18571 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18572 * manual/time.texi: Likewise.
18573 * manual/users.texi: Likewise.
18574 * INSTALL: Regenerated.
18575 * sysdeps/gnu/errlist.c: Regenerated.
18576
07037eeb
JM
18577 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18578 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18579 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18580 puts.
18581 * configure: Regenerated.
18582
d1d3431a
JM
185832012-03-07 Joseph Myers <joseph@codesourcery.com>
18584
af6a1e37
JM
18585 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18586 default includes instead of AC_HEADER_CHECK.
18587 * sysdeps/i386/configure: Regenerated.
18588
d1d3431a
JM
18589 [BZ #10716]
18590 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18591 * math/s_cacoshf.c (__cacoshf): Likewise.
18592 * math/s_cacoshl.c (__cacoshl): Likewise.
18593 * math/s_casinh.c (__casinh): Set signs of result from argument.
18594 * math/s_casinhf.c (__casinhf): Likewise.
18595 * math/s_casinhl.c (__casinhl): Likewise.
18596 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18597 (casinh_test): Add more tests.
18598 * sysdeps/i386/fpu/libm-test-ulps: Update.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18600
482ff4da
UD
186012012-03-07 Ulrich Drepper <drepper@gmail.com>
18602
872fda05
UD
18603 * po/zh_TW.po: Update from translation team.
18604
a4300c7a
UD
18605 * login/Makefile (distribute): Remove variable.
18606 * catgets/Makefile: Likewise.
18607 * mach/Makefile: Likewise.
18608 * malloc/Makefile: Likewise.
18609 * misc/Makefile: Likewise.
18610 * iconv/Makefile: Likewise.
18611 * nscd/Makefile: Likewise.
18612 * hurd/Makefile: Likewise.
18613 * manual/Makefile: Likewise.
18614 * locale/Makefile: Likewise.
18615 * intl/Makefile: Likewise.
18616 * conform/Makefile: Likewise.
18617 * nss/Makefile: Likewise.
18618 * time/Makefile: Likewise.
18619 * soft-fp/Makefile: Likewise.
18620 * dirent/Makefile: Likewise.
18621 * gmon/Makefile: Likewise.
18622 * po/Makefile: Likewise.
18623 * rt/Makefile: Likewise.
18624 * socket/Makefile: Likewise.
18625 * math/Makefile: Likewise.
18626 * signal/Makefile: Likewise.
18627 * debug/Makefile: Likewise.
18628 * elf/Makefile: Likewise.
18629 * timezone/Makefile: Likewise.
18630 * stdlib/Makefile: Likewise.
18631 * iconvdata/Makefile: Likewise.
18632 * sunrpc/Makefile: Likewise.
18633 * io/Makefile: Likewise.
18634 * argp/Makefile: Likewise.
18635 * inet/Makefile: Likewise.
18636 * hesiod/Makefile: Likewise.
18637 * grp/Makefile: Likewise.
18638 * csu/Makefile: Likewise.
18639 * wctype/Makefile: Likewise.
18640 * crypt/Makefile: Likewise.
18641 * libio/Makefile: Likewise.
18642 * string/Makefile: Likewise.
18643 * nis/Makefile: Likewise.
18644 * resolv/Makefile: Likewise.
18645 * stdio-common/Makefile: Likewise.
18646 * wcsmbs/Makefile: Likewise.
18647 * dlfcn/Makefile: Likewise.
18648 * posix/Makefile: Likewise.
18649
3b7c4e74 18650 [BZ #6959]
482ff4da
UD
18651 * timezone/Makefile: Don't install timezone files, just the programs
18652 and scripts.
18653
f72ed77d
UD
186542012-03-06 Ulrich Drepper <drepper@gmail.com>
18655
a000466f
UD
18656 * nss/databases.def: Add missing gshadow entry.
18657
f72ed77d
UD
18658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18659
a53b7a4e
MP
186602012-03-06 Marek Polacek <polacek@redhat.com>
18661
18662 [BZ #13726]
18663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18666 * stdio-common/tst-long-dbl-fphex.c: New file.
18667
e9258400
DM
186682012-03-06 David S. Miller <davem@davemloft.net>
18669
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18671 (set_obp_int): New function.
18672 (get_obp_int): New function.
18673 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18675 Avoid unused variable warnings on 'val' and use builtin_expect.
18676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18677 __builtin_expect.
e9258400
DM
18678 (INLINE_CLONE_SYSCALL): Likewise.
18679
3bd2c723
DM
186802012-03-05 David S. Miller <davem@davemloft.net>
18681
18682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18683
bbb78d03
AS
186842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18685
884c5db4
AS
18686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18687
bbb78d03
AS
18688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18689 only for |x| >= 40.
18690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18691
1c9f702a 186922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18693
18694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18695 Replace gettimeofday with __vdso_gettimeofday.
18696
7be16f82
RM
18697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18699 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18700
18701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18702 time with __vdso_time.
18703
ed58a00f
JM
187042012-03-05 Joseph Myers <joseph@codesourcery.com>
18705
18706 * manual/lang.texi (size_t): Note types to which size_t may be
18707 equivalent with the GNU C Library, but do not describe when
18708 differences between them are significant.
18709
30ee4ced
AJ
187102012-03-05 Andreas Jaeger <aj@suse.de>
18711
18712 * sysdeps/i386/fpu/libm-test-ulps: Update.
18713
b7cd39e8
JM
187142012-03-05 Joseph Myers <joseph@codesourcery.com>
18715
18716 [BZ #3976]
18717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18718 (__ieee754_pow): Save and restore rounding mode and use
18719 round-to-nearest for main computations.
18720 * math/libm-test.inc (pow_test_tonearest): New function.
18721 (pow_test_towardzero): Likewise.
18722 (pow_test_downward): Likewise.
18723 (pow_test_upward): Likewise.
18724 (main): Call the new functions.
18725 * sysdeps/i386/fpu/libm-test-ulps: Update.
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18727
18728 [BZ #3976]
18729 * math/libm-test.inc (cosh_test_tonearest): New function.
18730 (cosh_test_towardzero): Likewise.
18731 (cosh_test_downward): Likewise.
18732 (cosh_test_upward): Likewise.
18733 (sinh_test_tonearest): Likewise.
18734 (sinh_test_towardzero): Likewise.
18735 (sinh_test_downward): Likewise.
18736 (sinh_test_upward): Likewise.
18737 (main): Call the new functions.
18738 * sysdeps/i386/fpu/libm-test-ulps: Update.
18739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18740
6c6a98c9
TV
187412012-03-05 Tom de Vries <tom@codesourcery.com>
18742
18743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18744 default stack guard is set in last bytes.
18745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18746
21bb2d2e 187472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18748
21bb2d2e 18749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18750
21bb2d2e
AJ
18751 [BZ #13656]
18752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18753 possibly allocate from heap instead of stack.
18754 * stdio-common/bug-vfprintf-nargs.c: New file.
18755 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18756
c6922934
AS
187572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18758
18759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18760
bc957d53
MP
187612012-03-03 Marek Polacek <polacek@redhat.com>
18762
18763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18764 * math/math_private.h: Likewise.
18765 * stdlib/tst-strtod.c: Likewise.
18766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18767 * sysdeps/x86_64/bits/atomic.h: Likewise.
18768
6358490d
DM
187692012-03-02 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18779
01ae168d
RM
187802012-03-02 Roland McGrath <roland@hack.frob.com>
18781
d9a17c07
RM
18782 [BZ #13792]
18783 * manual/examples/README: New file, says the example source files
18784 can be used under GPL>=2.
18785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18786 line containing just "*/".
18787 * manual/examples/add.c: Add copyright header (GPL>=2).
18788 * manual/examples/argp-ex1.c: Likewise.
18789 * manual/examples/argp-ex2.c: Likewise.
18790 * manual/examples/argp-ex3.c: Likewise.
18791 * manual/examples/argp-ex4.c: Likewise.
18792 * manual/examples/atexit.c: Likewise.
18793 * manual/examples/db.c: Likewise.
18794 * manual/examples/dir.c: Likewise.
18795 * manual/examples/dir2.c: Likewise.
18796 * manual/examples/execinfo.c: Likewise.
18797 * manual/examples/filecli.c: Likewise.
18798 * manual/examples/filesrv.c: Likewise.
18799 * manual/examples/fmtmsgexpl.c: Likewise.
18800 * manual/examples/genpass.c: Likewise.
18801 * manual/examples/inetcli.c: Likewise.
18802 * manual/examples/inetsrv.c: Likewise.
18803 * manual/examples/isockad.c: Likewise.
18804 * manual/examples/longopt.c: Likewise.
18805 * manual/examples/memopen.c: Likewise.
18806 * manual/examples/memstrm.c: Likewise.
18807 * manual/examples/mkfsock.c: Likewise.
18808 * manual/examples/mkisock.c: Likewise.
18809 * manual/examples/mygetpass.c: Likewise.
18810 * manual/examples/pipe.c: Likewise.
18811 * manual/examples/popen.c: Likewise.
18812 * manual/examples/rprintf.c: Likewise.
18813 * manual/examples/search.c: Likewise.
18814 * manual/examples/select.c: Likewise.
18815 * manual/examples/setjmp.c: Likewise.
18816 * manual/examples/sigh1.c: Likewise.
18817 * manual/examples/sigusr.c: Likewise.
18818 * manual/examples/stpcpy.c: Likewise.
18819 * manual/examples/strdupa.c: Likewise.
18820 * manual/examples/strftim.c: Likewise.
18821 * manual/examples/strncat.c: Likewise.
18822 * manual/examples/subopt.c: Likewise.
18823 * manual/examples/swapcontext.c: Likewise.
18824 * manual/examples/termios.c: Likewise.
18825 * manual/examples/testopt.c: Likewise.
18826 * manual/examples/testpass.c: Likewise.
18827 * manual/examples/timeval_subtract.c: Likewise.
18828
01ae168d
RM
18829 [BZ #13792]
18830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18831 function to ...
18832 * manual/timeval_subtract.c.texi: ... here, new file.
18833
49efa33d
DM
188342012-03-02 David S. Miller <davem@davemloft.net>
18835
18836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18837
28afd92d
JM
188382012-03-02 Joseph Myers <joseph@codesourcery.com>
18839
804360ed
JM
18840 [BZ #3976]
18841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18842 (__sin): Save and restore rounding mode and use round-to-nearest
18843 for all computations.
18844 (__cos): Save and restore rounding mode and use round-to-nearest
18845 for all computations.
18846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18847 <fenv.h>.
18848 (tan): Save and restore rounding mode and use round-to-nearest for
18849 all computations.
18850 * math/libm-test.inc (cos_test_tonearest): New function.
18851 (cos_test_towardzero): Likewise.
18852 (cos_test_downward): Likewise.
18853 (cos_test_upward): Likewise.
18854 (sin_test_tonearest): Likewise.
18855 (sin_test_towardzero): Likewise.
18856 (sin_test_downward): Likewise.
18857 (sin_test_upward): Likewise.
18858 (tan_test_tonearest): Likewise.
18859 (tan_test_towardzero): Likewise.
18860 (tan_test_downward): Likewise.
18861 (tan_test_upward): Likewise.
18862 (main): Call the new functions.
18863 * sysdeps/i386/fpu/libm-test-ulps: Update.
18864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865
a6d06d7b
JM
18866 [BZ #10135]
18867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18868 small n, then large n, before computing and testing k+n.
18869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18871 Likewise.
18872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18873 Likewise.
18874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18882 * math/libm-test.inc (scalbn_test): Add more tests.
18883 (scalbln_test): Likewise.
18884
07e12bb3
JM
18885 * manual/filesys.texi (mode_t): Describe constraints on size and
18886 signedness, not exact equivalence to a particular type.
18887 (ino_t): Likewise.
18888 (ino64_t): Likewise.
18889 (dev_t): Likewise.
18890 (nlink_t): Likewise.
18891 (blkcnt_t): Likewise.
18892 (blkcnt64_t): Likewise.
18893 * manual/llio.texi (off_t): Likewise.
18894
28afd92d
JM
18895 [BZ #3976]
18896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18897 (__ieee754_exp): Save and restore rounding mode and use
18898 round-to-nearest for all computations.
18899 * math/libm-test.inc (exp_test_tonearest): New function.
18900 (exp_test_towardzero): Likewise.
18901 (exp_test_downward): Likewise.
18902 (exp_test_upward): Likewise.
18903 (main): Call the new functions.
18904 * sysdeps/i386/fpu/libm-test-ulps: Update.
18905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18906
b1eeb65d
CD
189072012-03-01 Chris Demetriou <cgd@google.com>
18908
18909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18910 have predictable order.
18911
53362a4b
DM
189122012-03-01 David S. Miller <davem@davemloft.net>
18913
3c969083
DM
18914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18915
759707de
DM
18916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18920
dfdb8ff2
DM
18921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18930
ead89f96
DM
18931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18932
7f66bd07
DM
18933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18936
53362a4b
DM
18937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18955 * sysdeps/sparc/elf/configure: Regenerated.
18956
7b1902cb
JM
189572012-03-01 Joseph Myers <joseph@codesourcery.com>
18958
bec039bc
JM
18959 * configure.in (AS, LD): Require binutils 2.20 or later.
18960 * configure: Regenerated.
18961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18962 as required minimum version.
18963 * INSTALL: Regenerated.
18964
7b1902cb
JM
18965 [BZ #2541]
18966 [BZ #4108]
18967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18968 before squaring exponent.
18969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18970 bottom long double and 27 bits of top long double before squaring
18971 exponent.
18972 * math/libm-test.inc (erfc_test): Add more tests.
18973 * sysdeps/i386/fpu/libm-test-ulps: Update.
18974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18976
f775c276
KT
189772012-03-01 Kai Tietz <ktietz@redhat.com>
18978
18979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18981 containing bit-fields.
18982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18983 * soft-fp/single.h (_FP_UNION_S): Likewise.
18984 * soft-fp/double.h (_FP_UNION_D): Likewise.
18985
5b8a4d4a
JM
189862012-02-29 Joseph Myers <joseph@codesourcery.com>
18987
0bab47b6
JM
18988 [BZ #13786]
18989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18990 not include ../strcmp.S.
18991 [USE_AS_STRNCASECMP_L]: Likewise.
18992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18995 (__strncasecmp_l_ia32): Define as alias to
18996 __strncasecmp_l_nonascii.
18997
0fcad3e2
JM
18998 [BZ #5794]
18999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19000 * sysdeps/i386/fpu/libm-test-ulps: Update.
19001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19002
5b8a4d4a
JM
19003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19005
8fdceb2e
JL
190062012-02-29 Jeff Law <law@redhat.com>
19007
19008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19009 out of bounds read.
19010
1f393a11
MP
190112012-02-29 Marek Polacek <polacek@redhat.com>
19012
19013 [BZ #13706]
19014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19015 * elf/Makefile: Add rules to run tst-unused-dep.out.
19016
8847f037
DM
190172012-02-28 David S. Miller <davem@davemloft.net>
19018
19019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19025
169d7f11
JM
190262012-02-29 Joseph Myers <joseph@codesourcery.com>
19027
19028 * math/libm-test.inc (llround_test): Move one test from
19029 lround_test. Use TEST_f_L in moved test.
19030 (lround_test): Move misplaced test to llround_test. Add testcase
19031 from bug 2561.
19032
39adf059
UD
190332012-02-28 Ulrich Drepper <drepper@gmail.com>
19034
19035 * sysdeps/x86_64/fpu/e_expf.S: New file.
19036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19037
71b5d1c5
SB
190382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19039
19040 [BZ #13637]
19041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19042 of remain_len that may cause incomplete multi-byte character and
19043 false match.
19044 * posix/bug-regex33.c: New file.
19045 * posix/Makefile (tests): Add bug-regex33.
19046
1f77f049
JM
190472012-02-28 Joseph Myers <joseph@codesourcery.com>
19048
19049 * manual/macros.texi: New file.
19050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19051 * manual/libc.texinfo: Include macros.texi.
19052 * manual/creatute.texi: Likewise.
19053 * manual/install.texi: Likewise.
19054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19055 @glibcadj{} in references to the GNU C Library.
19056 * manual/charset.texi: Likewise.
19057 * manual/conf.texi: Likewise.
19058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19059 when not using those macros.
19060 * manual/creature.texi: Likewise.
19061 * manual/crypt.texi: Likewise.
19062 * manual/errno.texi: Likewise.
19063 * manual/filesys.texi: Likewise.
19064 * manual/header.texi: Likewise.
19065 * manual/install.texi: Likewise.
19066 * manual/intro.texi: Likewise.
19067 * manual/io.texi: Likewise.
19068 * manual/job.texi: Likewise.
19069 * manual/lang.texi: Likewise.
19070 * manual/libc.texiinfo: Likewise.
19071 * manual/llio.texi: Likewise.
19072 * manual/locale.texi: Likewise.
19073 * manual/maint.texi: Likewise.
19074 * manual/math.texi: Likewise.
19075 * manual/memory.texi: Likewise.
19076 * manual/message.texi: Likewise.
19077 * manual/nss.texi: Likewise.
19078 * manual/pattern.texi: Likewise.
19079 * manual/process.texi: Likewise.
19080 * manual/resource.texi: Likewise.
19081 * manual/search.texi: Likewise.
19082 * manual/setjmp.texi: Likewise.
19083 * manual/signal.texi: Likewise.
19084 * manual/socket.texi: Likewise.
19085 * manual/startup.texi: Likewise.
19086 * manual/stdio.texi: Likewise.
19087 * manual/string.texi: Likewise.
19088 * manual/sysinfo.texi: Likewise.
19089 * manual/syslog.texi: Likewise.
19090 * manual/terminal.texi: Likewise.
19091 * manual/time.texi: Likewise.
19092 * manual/users.texi: Likewise.
19093 * INSTALL: Regenerated.
19094 * NOTES: Regenerated.
d40c5d54 19095 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19096
450bf206
AS
190972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19098
19099 * include/dirent.h: Include <dirstream.h> before
19100 <dirent/dirent.h>.
19101
741a235b
DM
191022012-02-28 David S. Miller <davem@davemloft.net>
19103
19104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19108
d6b5aa58
DM
191092012-02-27 David S. Miller <davem@davemloft.net>
19110
1aff59a3
DM
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19115
d6b5aa58
DM
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19117 frame pointer instead of stack pointer relative arg slot.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19121
433f48bf
CD
191222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19123
19124 [BZ #3992]
19125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19126
d674b76d
DM
191272012-02-27 David S. Miller <davem@davemloft.net>
19128
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19137
0e7727f7
JM
191382012-02-27 Joseph Myers <joseph@codesourcery.com>
19139
19140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19141 later. Allow versions 5-9.
43be4ca2 19142 * configure: Regenerated.
0e7727f7
JM
19143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19144 required minimum version and 4.6 as recommended version. Do not
19145 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19146 * INSTALL: Regenerated.
0e7727f7 19147
a78bc654
DM
191482012-02-27 David S. Miller <davem@davemloft.net>
19149
428d5830
DM
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19158
a78bc654
DM
19159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19160 manipulate bits before adding and subtracting TWO112[sx].
19161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19162
4579f81c
RM
191632012-02-27 Roland McGrath <roland@hack.frob.com>
19164
36c8acb4
RM
19165 [BZ #13775]
19166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19169 being in POSIX, because they are in 1003.1-2008.
19170
84ad622b
RM
19171 * rt/tst-aio.c: Include <fcntl.h>.
19172 * rt/tst-aio7.c: Likewise.
19173 * rt/tst-aio64.c: Likewise.
19174
4579f81c
RM
19175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19176
abd923db
JM
191772012-02-27 Joseph Myers <joseph@codesourcery.com>
19178
19179 * manual/install.texi (--with-headers): Describe headers as
19180 interface headers, not private headers.
19181 (Specific advice for GNU/Linux systems): Describe use of headers
19182 from "make headers_install", not private headers from older
19183 kernels.
43be4ca2 19184 * INSTALL: Regenerated.
abd923db
JM
19185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19186 Change to 2.6.19.
19187 * sysdeps/unix/sysv/linux/configure: Regenerated.
19188
6664049b
JM
19189 * manual/llio.texi (fclean): Remove documentation.
19190
bb8b6697
JM
19191 * manual/Makefile (libc-texi-generated): New variable. Include
19192 version.texi.
19193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19194 $(libc-texi-generated), not duplicated list of files.
19195 (version.texi, stamp-version): New rules.
19196 (realclean): Remove $(libc-texi-generated), not individual files
19197 from that list. Do not remove dir-add.texinfo.
19198 * manual/libc.texinfo: Comment out uses of edition numbers and
19199 references to printed manual. Remove last-updated dates.
19200 (EDITION): Comment out.
19201 (ISBN): Likewise.
19202 (VERSION, UPDATED): Remove.
19203 (version.texi): Include.
19204
12e5c3b9
AS
192052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19206
19207 * sysdeps/posix/spawni.c: Include <signal.h>.
19208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19209 * sysdeps/pthread/aio_fsync.c: Likewise.
19210
4efeffc1 192112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19212
ba63ba08
UD
19213 * conform/Makefile (tests): Run only when not cross-compiling and
19214 when fast-check is not defined.
19215
d94a4670
UD
19216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19217 * conform/data/limits.h-data: Fixes for POSIX2008.
19218 * conform/run-conformtest.sh: Run all tests.
19219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19220 headers.
19221 * include/bits/dlfcn.h: Likewise.
19222 * include/langinfo.h: Likewise.
19223 * include/monetary.h: Likewise.
19224 * include/sys/poll.h: Likewise.
19225
19226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19227 for __USE_GNU.
19228 * posix/spawn.h: Define __need_sigset_t.
19229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19232 to get sigevent_t only.
19233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19234 only for __USE_GNU.
19235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19237 process_vm_writev only for __USE_GNU.
19238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19239
19240 * conform/Makefile: For now ignore errors from run-conformtest.
19241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19242 POSIX to avoid namespace pollution. Don't prepend headers.
19243 * conform/data/aio.h-data: Fixes for POSIX testing.
19244 * conform/data/fcntl.h-data: Likewise.
19245 * conform/data/glob.h-data: Likewise.
19246 * conform/data/grp.h-data: Likewise.
19247 * conform/data/pthread.h-data: Likewise.
19248 * conform/data/pwd.h-data: Likewise.
19249 * conform/data/signal.h-data: Likewise.
19250 * conform/data/spawn.h-data: Likewise.
19251 * conform/data/stdio.h-data: Likewise.
19252 * conform/data/stdlib.h-data: Likewise.
19253 * conform/data/stropts.h-data: Likewise.
19254 * conform/data/sys/mman.h-data: Likewise.
19255 * conform/data/sys/stat.h-data: Likewise.
19256 * conform/data/sys/types.h-data: Likewise.
19257 * conform/data/sys/wait.h-data: Likewise.
19258 * conform/data/time.h-data: Likewise.
19259 * conform/data/unistd.h-data: Likewise.
19260 * conform/data/utime.h-data: Likewise.
19261
19262 * io/sys/stat.h: fchmod was always in POSIX.
19263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19265 * rt/aio.h: Define __need_timespec before including <time.h>.
19266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19267 struct. Add forward declaration of pthread_attr_t and use it in
19268 sigevent.
19269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19272 always remove CLK_TCK definition.
19273
c20105c3
AS
192742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19275
19276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19277
7a270350
UD
192782012-02-25 Ulrich Drepper <drepper@gmail.com>
19279
31341567
UD
19280 * conform/run-conformtest.sh: New file.
19281 * conform/Makefile: Run run-conformtest for tests.
19282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19283 support.
19284
19285 * conform/data/uchar.h-data: New file.
19286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19287 * conform/data/arpa/inet.h-data: Likewise.
19288 * conform/data/assert.h-data: Likewise.
19289 * conform/data/complex.h-data: Likewise.
19290 * conform/data/cpio.h-data: Likewise.
19291 * conform/data/ctype.h-data: Likewise.
19292 * conform/data/dirent.h-data: Likewise.
19293 * conform/data/dlfcn.h-data: Likewise.
19294 * conform/data/errno.h-data: Likewise.
19295 * conform/data/fcntl.h-data: Likewise.
19296 * conform/data/float.h-data: Likewise.
19297 * conform/data/fmtmsg.h-data: Likewise.
19298 * conform/data/fnmatch.h-data: Likewise.
19299 * conform/data/ftw.h-data: Likewise.
19300 * conform/data/glob.h-data: Likewise.
19301 * conform/data/grp.h-data: Likewise.
19302 * conform/data/iconv.h-data: Likewise.
19303 * conform/data/inttypes.h-data: Likewise.
19304 * conform/data/langinfo.h-data: Likewise.
19305 * conform/data/libgen.h-data: Likewise.
19306 * conform/data/limits.h-data: Likewise.
19307 * conform/data/locale.h-data: Likewise.
19308 * conform/data/math.h-data: Likewise.
19309 * conform/data/monetary.h-data: Likewise.
19310 * conform/data/mqueue.h-data: Likewise.
19311 * conform/data/ndbm.h-data: Likewise.
19312 * conform/data/net/if.h-data: Likewise.
19313 * conform/data/netdb.h-data: Likewise.
19314 * conform/data/netinet/in.h-data: Likewise.
19315 * conform/data/nl_types.h-data: Likewise.
19316 * conform/data/poll.h-data: Likewise.
19317 * conform/data/pthread.h-data: Likewise.
19318 * conform/data/pwd.h-data: Likewise.
19319 * conform/data/regex.h-data: Likewise.
19320 * conform/data/sched.h-data: Likewise.
19321 * conform/data/search.h-data: Likewise.
19322 * conform/data/semaphore.h-data: Likewise.
19323 * conform/data/setjmp.h-data: Likewise.
19324 * conform/data/signal.h-data: Likewise.
19325 * conform/data/spawn.h-data: Likewise.
19326 * conform/data/stdarg.h-data: Likewise.
19327 * conform/data/stdio.h-data: Likewise.
19328 * conform/data/stdlib.h-data: Likewise.
19329 * conform/data/string.h-data: Likewise.
19330 * conform/data/strings.h-data: Likewise.
19331 * conform/data/stropts.h-data: Likewise.
19332 * conform/data/sys/ipc.h-data: Likewise.
19333 * conform/data/sys/mman.h-data: Likewise.
19334 * conform/data/sys/msg.h-data: Likewise.
19335 * conform/data/sys/resource.h-data: Likewise.
19336 * conform/data/sys/select.h-data: Likewise.
19337 * conform/data/sys/sem.h-data: Likewise.
19338 * conform/data/sys/shm.h-data: Likewise.
19339 * conform/data/sys/socket.h-data: Likewise.
19340 * conform/data/sys/stat.h-data: Likewise.
19341 * conform/data/sys/statvfs.h-data: Likewise.
19342 * conform/data/sys/time.h-data: Likewise.
19343 * conform/data/sys/timeb.h-data: Likewise.
19344 * conform/data/sys/times.h-data: Likewise.
19345 * conform/data/sys/types.h-data: Likewise.
19346 * conform/data/sys/uio.h-data: Likewise.
19347 * conform/data/sys/un.h-data: Likewise.
19348 * conform/data/sys/utsname.h-data: Likewise.
19349 * conform/data/sys/wait.h-data: Likewise.
19350 * conform/data/syslog.h-data: Likewise.
19351 * conform/data/tar.h-data: Likewise.
19352 * conform/data/termios.h-data: Likewise.
19353 * conform/data/utime.h-data: Likewise.
19354 * conform/data/utmpx.h-data: Likewise.
19355 * conform/data/varargs.h-data: Likewise.
19356 * conform/data/wchar.h-data: Likewise.
19357 * conform/data/wctype.h-data: Likewise.
19358 * conform/data/wordexp.h-data: Likewise.
19359
19360 * include/stropts.h: New file.
19361 * include/uchar.h: New file.
19362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19363 * include/assert.h: Likewise.
19364 * include/ctype.h: Likewise.
19365 * include/dirent.h: Likewise.
19366 * include/dlfcn.h: Likewise.
19367 * include/fcntl.h: Likewise.
19368 * include/fnmatch.h: Likewise.
19369 * include/glob.h: Likewise.
19370 * include/grp.h: Likewise.
19371 * include/libio.h: Likewise.
19372 * include/locale.h: Likewise.
19373 * include/math.h: Likewise.
19374 * include/net/if.h: Likewise.
19375 * include/netdb.h: Likewise.
19376 * include/netinet/in.h: Likewise.
19377 * include/pthread.h: Likewise.
19378 * include/pwd.h: Likewise.
19379 * include/regex.h: Likewise.
19380 * include/sched.h: Likewise.
19381 * include/search.h: Likewise.
19382 * include/setjmp.h: Likewise.
19383 * include/signal.h: Likewise.
19384 * include/stdio.h: Likewise.
19385 * include/stdlib.h: Likewise.
19386 * include/string.h: Likewise.
19387 * include/sys/cdefs.h: Likewise.
19388 * include/sys/mman.h: Likewise.
19389 * include/sys/msg.h: Likewise.
19390 * include/sys/resource.h: Likewise.
19391 * include/sys/select.h: Likewise.
19392 * include/sys/socket.h: Likewise.
19393 * include/sys/stat.h: Likewise.
19394 * include/sys/statvfs.h: Likewise.
19395 * include/sys/time.h: Likewise.
19396 * include/sys/times.h: Likewise.
19397 * include/sys/uio.h: Likewise.
19398 * include/sys/utsname.h: Likewise.
19399 * include/sys/wait.h: Likewise.
19400 * include/termios.h: Likewise.
19401 * include/time.h: Likewise.
19402 * include/ulimit.h: Likewise.
19403 * include/unistd.h: Likewise.
19404 * include/utime.h: Likewise.
19405 * include/wchar.h: Likewise.
19406 * include/wctype.h: Likewise.
19407 * include/wordexp.h: Likewise.
19408
19409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19410
7a270350
UD
19411 * time/time.h: TIME_UTC must be a macro.
19412 Make timespec_get available for ISO C11 only as well.
19413
7724defc
UD
194142012-02-24 Ulrich Drepper <drepper@gmail.com>
19415
19416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19418
6b1d1d46
JM
194192012-02-24 Joseph Myers <joseph@codesourcery.com>
19420
19421 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19422
0f8bbd69
JM
194232012-02-24 Joseph Myers <joseph@codesourcery.com>
19424
19425 * manual/texinfo.tex: Update to version 2012-01-19.16.
19426
66ab80bc
JM
194272012-02-24 Joseph Myers <joseph@codesourcery.com>
19428
19429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19430
74981cc5
RM
194312012-02-24 Roland McGrath <roland@hack.frob.com>
19432
ee968201
RM
19433 [BZ #13738]
19434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19435 * manual/fdl-1.3.texi: New file.
19436 * manual/fdl-1.1.texi: File removed.
19437
74981cc5
RM
19438 [BZ #13738]
19439 * manual/libc.texinfo (FDL_VERSION): New @set.
19440 Use it for mention of FDL in cover text.
19441 (Documentation License): Use it in @include file name.
19442
7bb764bc
JM
194432012-02-22 Joseph Myers <joseph@codesourcery.com>
19444 Roland McGrath <roland@hack.frob.com>
19445
19446 [BZ #5461]
19447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19448 not LONG_LONG_MAX and LONG_LONG_MIN.
19449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19451 name.
19452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19453
6cbeae47
JM
194542012-02-22 Joseph Myers <joseph@codesourcery.com>
19455
19456 [BZ #2547]
19457 [BZ #11365]
19458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19459 manipulate bits before adding and subtracting TWO23[sx].
19460 * math/libm-test.inc (nearbyint_test): Add more tests.
19461
fe45ce09
JM
194622012-02-22 Joseph Myers <joseph@codesourcery.com>
19463
19464 [BZ #2548]
19465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19466 bits before adding and subtracting TWO23[sx].
19467 * math/libm-test.inc (rint_test): Add more tests.
19468 (rint_test_tonearest): Likewise.
19469 (rint_test_towardzero): Likewise.
19470 (rint_test_downward): Likewise.
19471 (rint_test_upward: Likewise.
19472
ff3b3d82
JM
194732012-02-22 Joseph Myers <joseph@codesourcery.com>
19474
19475 [BZ #10110]
19476 * include/stdc-predef.h: New file. Extracted from features.h.
19477 * include/features.h: Include stdc-predef.h.
19478 * Makefile (headers): Add stdc-predef.h.
19479 * CONFORMANCE (Compiler limitations): Update.
19480
ef0aab35
JM
194812012-02-22 Joseph Myers <joseph@codesourcery.com>
19482
19483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19484
58639409
DM
194852012-02-21 David S. Miller <davem@davemloft.net>
19486
19487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19489
c0e70b25
DM
194902012-02-20 David S. Miller <davem@davemloft.net>
19491
19492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19493 using a normal save/restore sequence, rather than allocating a
19494 dummy stack frame just to store a frame pointer and restore.
19495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19496
fb06851d
JM
194972012-02-21 Joseph Myers <joseph@codesourcery.com>
19498
19499 * manual/install.texi: Fix stray word in line-wrapped comment.
19500
7a8b71c3
DM
195012012-02-20 David S. Miller <davem@davemloft.net>
19502
d510c123
DM
19503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19504 both binutils and gcc support GOTDATA.
19505
0722d7c2
DM
19506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19507 "rd %pc" in the PIC register setup sequences.
19508
3d2b3019
DM
19509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19518 (SYSCALL_ERROR_HANDLER): Likewise.
19519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19522 (SYSCALL_ERROR_HANDLER): Likewise.
19523
c80098a9
DM
19524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19525 (HAVE_GCC_GOTDATA): New.
19526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19527 relocation support in both binutils and gcc.
19528 * sysdeps/sparc/elf/configure: Regenerate.
19529
3a2545a0
DM
19530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19531 * sysdeps/sparc/sparc32/elf/configure: Delete.
19532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19533 * sysdeps/sparc/sparc64/elf/configure: Delete.
19534 * sysdeps/sparc/elf/configure.in: New file.
19535 * sysdeps/sparc/elf/configure: Generate.
19536
7a8b71c3
DM
19537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19542
f1e86fca
JM
195432012-02-21 Joseph Myers <joseph@codesourcery.com>
19544
19545 * manual/install.texi: Do not mention specific glibc version
19546 numbers.
19547 * manual/libc.texinfo (VERSION, UPDATED): Update.
19548 (@copying): Use @copyright{} and range of years.
19549
0e7dfaef
JM
195502012-02-21 Joseph Myers <joseph@codesourcery.com>
19551
19552 [BZ #13695]
19553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19554 [crti.S not in sysdirs] (generated): Do not append.
19555 [crti.S not in sysdirs] (omit-deps): Likewise.
19556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19561 Likewise.
19562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19565 * csu/defs.awk: Remove file.
19566 * sysdeps/generic/initfini.c: Likewise.
19567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19568 variable.
19569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19570 Likewise.
19571
599af3ca
JM
195722012-02-20 Joseph Myers <joseph@codesourcery.com>
19573
19574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19580 <bits/epoll.h>.
19581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19582 (__EPOLL_PACKED): Define to empty if not defined by
19583 <bits/epoll.h>.
19584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19586 bits/epoll.h.
19587
0e499750
JM
195882012-02-20 Joseph Myers <joseph@codesourcery.com>
19589
19590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19594 <bits/timerfd.h>.
19595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19597 bits/timerfd.h.
19598
5ad91f6e
JM
195992012-02-20 Joseph Myers <joseph@codesourcery.com>
19600
19601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19602 in C locale.
19603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607
06b99b02
AJ
196082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19609
19610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19612
7638c0fd
AS
196132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19614
19615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19617 defined.
19618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19619 Likewise.
19620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19621 entry for 2.16.
19622
92221550
AJ
196232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19624
19625 * math/w_acos.c: Use non-signaling floating-point comparisons.
19626 * math/w_acosf.c: Likewise.
19627 * math/w_acosh.c: Likewise.
19628 * math/w_acoshf.c: Likewise.
19629 * math/w_acoshl.c: Likewise.
19630 * math/w_acosl.c: Likewise.
19631 * math/w_asin.c: Likewise.
19632 * math/w_asinf.c: Likewise.
19633 * math/w_asinl.c: Likewise.
19634 * math/w_atanh.c: Likewise.
19635 * math/w_atanhf.c: Likewise.
19636 * math/w_atanhl.c: Likewise.
19637 * math/w_exp2.c: Likewise.
19638 * math/w_exp2f.c: Likewise.
19639 * math/w_exp2l.c: Likewise.
19640 * math/w_j0.c: Likewise.
19641 * math/w_j0f.c: Likewise.
19642 * math/w_j0l.c: Likewise.
19643 * math/w_j1.c: Likewise.
19644 * math/w_j1f.c: Likewise.
19645 * math/w_j1l.c: Likewise.
19646 * math/w_jn.c: Likewise.
19647 * math/w_jnf.c: Likewise.
19648 * math/w_log.c: Likewise.
19649 * math/w_log10.c: Likewise.
19650 * math/w_log10f.c: Likewise.
19651 * math/w_log10l.c: Likewise.
19652 * math/w_log2.c: Likewise.
19653 * math/w_log2f.c: Likewise.
19654 * math/w_log2l.c: Likewise.
19655 * math/w_logf.c: Likewise.
19656 * math/w_logl.c: Likewise.
19657 * math/w_sqrt.c: Likewise.
19658 * math/w_sqrtf.c: Likewise.
19659 * math/w_sqrtl.c: Likewise.
19660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19665
ebaf36eb
JM
196662012-02-19 Joseph Myers <joseph@codesourcery.com>
19667
19668 [BZ #9739]
19669 * manual/string.texi (strnlen): Use correct parameter name in
19670 equivalent expression.
19671
71c254a6
JM
196722012-02-19 Joseph Myers <joseph@codesourcery.com>
19673
19674 [BZ #11174]
19675 * manual/users.texi (seteuid): Consistently use neweuid for
19676 argument name.
19677
16d2c631
JM
196782012-02-19 Joseph Myers <joseph@codesourcery.com>
19679
19680 [BZ #13704]
19681 * manual/nss.texi (Services in the NSS configuration): Correct
19682 list of services in example configuration file.
19683
cd837b09
NB
196842012-02-19 Nick Bowler <nbowler@draconx.ca>
19685
19686 [BZ #11322]
19687 * manual/arith.texi: Remove statements about negative zero
19688 behaving identically to zero.
19689
02c4bbad
JM
196902012-02-18 Joseph Myers <joseph@codesourcery.com>
19691
19692 [BZ #5993]
19693 * manual/install.texi: Do not document upgrading from libc5.
19694
366842e7
JM
196952012-02-18 Joseph Myers <joseph@codesourcery.com>
19696
19697 [BZ #4596]
19698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19699
dd54084d
DM
197002012-02-18 David S. Miller <davem@davemloft.net>
19701
19702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19704 %o7 across the call.
19705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19706 instead.
19707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19708 SETUP_PIC_REG_LEAF.
19709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19711 * sysdeps/sparc/crtn.S: Likewise.
19712
2bcc53a3
UD
197132012-02-17 Ulrich Drepper <drepper@gmail.com>
19714
19715 * aout/Makefile: Remove.
19716
09c093b5
RK
197172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19718
19719 [BZ #13058]
19720 * manual/examples/argp-ex1.c (main): Format definition in GNU
19721 style.
19722 * manual/examples/argp-ex2.c (main): Likewise.
19723 * manual/examples/argp-ex3.c (main): Likewise.
19724 * manual/examples/argp-ex4.c (main): Likewise.
19725 * manual/examples/longopt.c (main): Use new-style prototype
19726 definition.
19727 * manual/examples/strncat.c (main): Specify return type and use
19728 (void) for arguments.
19729 * manual/examples/subopt.c (main): Use char **argv argument.
19730
2ee633a2
JM
197312012-02-17 Joseph Myers <joseph@codesourcery.com>
19732
19733 [BZ #5077]
19734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19735 rounding modes.
19736
0520adde
FB
197372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19738
19739 [BZ #6907]
19740 * manual/string.texi (strchr): Change when strchrnul is
19741 recommended.
19742
3f4081cd
DGM
197432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19744
19745 [BZ #174]
19746 * manual/locale.texi (setlocale): Document LOCPATH.
19747
d1b10e78
JM
197482012-02-17 Joseph Myers <joseph@codesourcery.com>
19749
19750 [BZ #10210]
19751 * manual/process.texi (execle): Move @dots{} before last argument.
19752
79c6869c
PB
197532012-02-17 Paul Bolle <pebolle@tiscali.nl>
19754
19755 [BZ #12047]
19756 * manual/charset.texi (Generic Charset Conversion): Fix typo
19757 (LC_TYPE -> LC_CTYPE).
19758
cc6e48bc
NB
197592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19760
19761 [BZ #5805]
19762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19763 (scalbnf): Likewise.
19764 (scalbnl): Likewise.
19765 (scalbln): Likewise.
19766 (scalblnf): Likewise.
19767 (scalblnl): Likewise.
19768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19769 (vwarnx): Likewise.
19770 (verr): Likewise.
19771 (verrx): Likewise.
19772 * manual/filesys.texi (telldir): Use braces around return type.
19773 * manual/llio.texi (mmap): Add space after comma.
19774 (mmap64): Likewise.
19775 * manual/math.texi (jn): Use @var{} on parameter names.
19776 (jnf): Likewise.
19777 (jnl): Likewise.
19778 (yn): Likewise.
19779 (ynf): Likewise.
19780 (ynl): Likewise.
19781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19782 line.
19783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19784 "...".
19785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19786 (sched_get_priority_max): Likewise.
19787 * manual/signal.texi (sigvec): Add space after comma.
19788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19789 names.
19790 (if_indextoname): Likewise.
19791 (if_freenameindex): Likewise.
19792 (sendto): Use ',' instead of '.' in prototype.
19793 * manual/startup.texi (syscall): Use @dots{} instead of literal
19794 "...".
19795 * manual/stdio.texi (__fpending): Separate initial words of
19796 paragraph from @deftypefun line.
19797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19798 "...".
19799 (vsyslog): Use @var{} on parameter names.
19800 * manual/terminal.texi (stty): Use @var{} on parameter names.
19801 * manual/users.texi (getutmp): Use @var{} on parameter names.
19802 (getutmpx): Likewise.
19803
5b23062f
JM
198042012-02-17 Joseph Myers <joseph@codesourcery.com>
19805
19806 [BZ #6884]
19807 * manual/stdio.texi (fopen): Fix typos in description of
19808 ",ccs=STRING".
19809
8dee4833
AJ
198102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19811
19812 [BZ #4026]
19813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19814 get clock_id definition.
19815
9078ce93
TS
198162012-02-17 Thomas Schwinge <thomas@schwinge.name>
19817
19818 [BZ #4822]
19819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19820 (madvise): Cast every argument to void on its own.
19821
3835c55f
JM
198222012-02-17 Joseph Myers <joseph@codesourcery.com>
19823
19824 [BZ #9902]
19825 * manual/startup.texi (Exit Status): Fix typo.
19826
35c47e37
JM
198272012-02-17 Joseph Myers <joseph@codesourcery.com>
19828
19829 [BZ #10140]
19830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19831 * manual/examples/argp-ex2.c: Likewise.
19832 * manual/examples/argp-ex3.c: Likewise.
19833
e3b69ca7
RH
198342012-02-16 Richard Henderson <rth@redhat.com>
19835
19836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19837 * sysdeps/s390/s390-32/initfini.c: Remove.
19838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19839 * sysdeps/s390/s390-64/initfini.c: Remove.
19840
df83af67
KK
198412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19842
19843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19844 compiler output for sysdeps/generic/initfini.c.
19845 * sysdeps/sh/elf/initfini.c: Remove file.
19846
f63f3380
DM
198472012-02-16 David S. Miller <davem@davemloft.net>
19848
fb59b3a4
DM
19849 [BZ #11494]
19850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19851
f63f3380
DM
19852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19853 * sysdeps/sparc/crti.S: New file.
19854 * sysdeps/sparc/crtn.S: New file.
19855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19856 * sysdeps/sparc/sparc64/Makefile: Likewise.
19857
df6a4a4a
MF
198582012-02-15 Mike Frysinger <vapier@gentoo.org>
19859
6dd8f3dc 19860 [BZ #3335]
df6a4a4a
MF
19861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19862
1cac7236
RM
198632012-02-15 Roland McGrath <roland@hack.frob.com>
19864
d2c736f8
RM
19865 [BZ #4822]
19866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19867
1cac7236
RM
19868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19869 (write, read, close): Likewise.
19870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19871
8e475601
JM
198722012-02-15 Joseph Myers <joseph@codesourcery.com>
19873
19874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19878 <bits/signalfd.h>.
19879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19881 bits/signalfd.h.
19882
ed656b40
MP
198832012-02-14 Marek Polacek <polacek@redhat.com>
19884
19885 * sysdeps/x86_64/crti.S: New file.
19886 * sysdeps/x86_64/crtn.S: New file.
19887 * sysdeps/x86_64/elf/initfini.c: Remove file.
19888
2a979d3a
JM
198892012-02-13 Joseph Myers <joseph@codesourcery.com>
19890
19891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19895 <bits/inotify.h>.
19896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19898 bits/inotify.h.
19899
2a418ac3
JM
199002012-02-13 Joseph Myers <joseph@codesourcery.com>
19901
19902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19906 <bits/eventfd.h>.
19907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19909 bits/eventfd.h.
19910
fb779be7
TS
199112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19912
e19e83c5
RM
19913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19914 __feraiseexcept instead of feraiseexcept.
7c35ffed 19915
fb779be7
TS
19916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19917 nanosleep invocations.
19918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19919 strings, and add error checking for a nanosleep invocations.
19920
59ba27a6
PE
199212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19922
19923 Replace FSF snail mail address with URLs, as per GNU coding standards.
19924 Most of the snail mail addresses were wrong anyway, and omitting
19925 them makes the source code easier to maintain. Almost all of the
19926 changes are to license notices and to locale LC_IDENTIFICATION
19927 addresses, except for this one:
19928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19929 not its snail mail address.
19930
57b957eb
RH
199312012-02-09 Richard Henderson <rth@twiddle.net>
19932
af850b1c
RH
19933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19934 of kernel-features.h.
19935
57b957eb
RH
19936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19937
6b73181a
MP
199382012-02-08 Marek Polacek <polacek@redhat.com>
19939
19940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19942 * sysdeps/gnu/_G_config.h: Likewise.
19943 * sysdeps/generic/_G_config.h: Likewise.
19944
26ecc33a
AS
199452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19946
6c6dbc63
AS
19947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19948 tests.
19949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19950
e216c012
AS
19951 * sysdeps/powerpc/powerpc32/crti.S: New file.
19952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19953 * sysdeps/powerpc/powerpc64/crti.S: New file.
19954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19955
26ecc33a
AS
19956 * Makeconfig (have-initfini): Don't set.
19957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19958 * configure.in (nopic_initfini): Don't substitute.
19959 * config.h.in (HAVE_INITFINI): Don't #undef.
19960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19962
3add8e13
JM
199632012-02-08 Joseph Myers <joseph@codesourcery.com>
19964
19965 Support crti.S and crtn.S provided directly by architectures.
19966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19967 [crti.S in sysdirs] (omit-deps): Likewise.
19968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19977 compiler output for sysdeps/generic/initfini.c.
19978 * sysdeps/i386/elf/Makefile: Remove file.
19979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19980
a22f12b4
MP
199812012-02-07 Marek Polacek <polacek@redhat.com>
19982
19983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19984 * sysdeps/gnu/_G_config.h: Likewise.
19985 * sysdeps/mach/hurd/_G_config.h: Likewise.
19986
148cf100
MP
199872012-02-07 Marek Polacek <polacek@redhat.com>
19988
19989 * math/Makefile (tests): Add tst-CMPLX2.
19990 * math/tst-CMPLX2.c: New file.
19991
cfdc0dd7
AS
199922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19993
84ba42c4
AS
19994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19995
cfdc0dd7
AS
19996 * math/libm-test.inc (jn_test): Add missing L suffix.
19997
622c86f4
MP
199982012-02-06 Marek Polacek <polacek@redhat.com>
19999
20000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20001 * sysdeps/i386/fpu/e_powf.S: Likewise.
20002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20005 * sysdeps/i386/fpu/e_pow.S: Likewise.
20006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20010 * sysdeps/i386/fpu/e_log2.S: Likewise.
20011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20013 * sysdeps/i386/fpu/e_powl.S: Likewise.
20014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20017 * sysdeps/i386/fpu/e_logl.S: Likewise.
20018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20024 * sysdeps/i386/fpu/e_log.S: Likewise.
20025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20028 * sysdeps/i386/fpu/e_logf.S: Likewise.
20029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20034 * sysdeps/i386/fpu/e_log10.S: Likewise.
20035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20041 * sysdeps/i386/asm-syntax.h: Likewise.
20042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20051 * sysdeps/powerpc/sysdep.h: Likewise.
20052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20054
d4a54ac6
JM
200552012-02-06 Joseph Myers <joseph@codesourcery.com>
20056
20057 [BZ #411]
20058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20059
314054ea
JM
200602012-02-06 Joseph Myers <joseph@codesourcery.com>
20061
20062 * sysdeps/i386/sysdep.h: Include <features.h>.
20063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20064 version.
20065
d8e0ca50
JM
200662012-02-05 Joseph Myers <joseph@codesourcery.com>
20067
20068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20069 Define.
20070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20071 LOAD_PIC_REG_STR.
20072
b1da7dd9
JM
200732012-02-03 Joseph Myers <joseph@codesourcery.com>
20074
20075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20076 (SETUP_PIC_REG): Use GET_PC_THUNK.
20077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20078 macro.
20079
9a1d9254
JM
200802012-02-03 Joseph Myers <joseph@codesourcery.com>
20081
20082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20083 for non-PIC compilation.
20084 (SETUP_PIC_REG): Add .p2align directive.
20085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20126
65dc3b75
JM
201272012-02-03 Joseph Myers <joseph@codesourcery.com>
20128
20129 * math/tst-CMPLX.c: Include <stdio.h>.
20130
d55bf177
JM
201312012-01-31 Joseph Myers <joseph@codesourcery.com>
20132
20133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20134 float.
20135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20136 * sysdeps/sparc/bits/mathdef.h: Likewise.
20137
69db4f8f
MP
201382012-01-31 Marek Polacek <polacek@redhat.com>
20139
20140 * libio/libio.h: Don't define _PARAMS.
20141 * locale/programs/config.h: Don't define PARAMS.
20142 * stdlib/strtol_l.c: Likewise.
20143 (__strtol_l): Remove PARAMS from the prototype.
20144
41b81892
UD
201452012-01-31 Ulrich Drepper <drepper@gmail.com>
20146
3b49edc0
UD
20147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20148 names. Just use the correct names. Remove unnecessary wrapper
20149 functions.
20150 * malloc/arena.c: Likewise.
20151 * malloc/hooks.c: Likewise.
20152
41b81892
UD
20153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20154 ARENA_TEST says not to. Simplify test for creation of a new arena.
20155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20156
27a25b6e
UD
201572012-01-30 Ulrich Drepper <drepper@gmail.com>
20158
20159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20160 into tail calls.
20161 (update_get_addr): New function.
20162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20163 GET_ADDR_MODULE parameter.
20164
c8a89e7d
JM
201652012-01-30 Joseph Myers <joseph@codesourcery.com>
20166
20167 * crypt/cert.c: Remove __STDC__ conditionals.
20168 * crypt/crypt-entry.c: Likewise.
20169 * crypt/crypt_util.c: Likewise.
20170 * libio/filedoalloc.c: Likewise.
20171 * libio/fileops.c: Likewise.
20172 * libio/genops.c: Likewise.
20173 * libio/iofclose.c: Likewise.
20174 * libio/iofdopen.c: Likewise.
20175 * libio/iofopen.c: Likewise.
20176 * libio/iofopen64.c: Likewise.
20177 * libio/iogetdelim.c: Likewise.
20178 * libio/iopopen.c: Likewise.
20179 * libio/obprintf.c: Likewise.
20180 * libio/oldfileops.c: Likewise.
20181 * libio/oldiofclose.c: Likewise.
20182 * libio/oldiofdopen.c: Likewise.
20183 * libio/oldiofopen.c: Likewise.
20184 * libio/oldiopopen.c: Likewise.
20185 * libio/wfiledoalloc.c: Likewise.
20186 * libio/wgenops.c: Likewise.
20187 * locale/programs/xmalloc.c: Likewise.
20188 * misc/syslog.c: Likewise.
20189 * stdio-common/xbug.c: Likewise.
20190 * string/memchr.c: Likewise.
20191 * string/memcmp.c: Likewise.
20192 * string/memrchr.c: Likewise.
20193 * string/rawmemchr.c: Likewise.
20194 * sysdeps/posix/getcwd.c: Likewise.
20195 * time/strftime_l.c: Likewise.
20196
3b100462
JM
201972012-01-30 Joseph Myers <joseph@codesourcery.com>
20198
20199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20200 * config.make.in (config-cflags-sse2avx): Define.
20201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20202 Fix typo.
20203
607998af
CM
202042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20205
20206 * scripts/config.guess: Update from upstream config git repository.
20207 * scripts/config.sub: Likewise.
20208
3601428f
CM
202092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20210
3ac8b282
CM
20211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20212 (EM_NUM): Update.
20213 (R_TILEPRO_*, R_TILEGX_*): New macros.
20214
e034841e
CM
20215 * scripts/firstversions.awk: Fix bug in version range handling.
20216
540d7568
CM
20217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20218
3601428f
CM
20219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20220
463de862
CM
20221 * include/sys/epoll.h: New file.
20222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20223 libc_hidden_def.
20224
73139a76
UD
202252012-01-28 Ulrich Drepper <drepper@gmail.com>
20226
96bc5b45
UD
20227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20228 Avoid unnecessary __WORDSIZE == 64 test.
20229 (fmaxf): Use VEX format if possible.
20230 (fmax): Likewise.
20231 (fminf): Likewise.
20232 (fmin): Likewise.
20233
56f6f6a2
UD
20234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20235 * math/math_private.h: Remove libc_fegetround* and
20236 libc_fesetround*.
20237 * sysdeps/i386/configure.in: Check for -msse2avx.
20238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20239 also if SSE2AVX is defined.
20240 Remove libc_fegetround* and libc_fesetround*.
20241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20244 of HAS_YMM_USABLE.
20245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20250
73139a76
UD
20251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20252
d73f93a4
AZ
202532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20254
20255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20256 size is not set.
20257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20258
6ee65ed6
UD
202592012-01-27 Ulrich Drepper <drepper@gmail.com>
20260
20261 [BZ #13618]
20262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20263 relocation.
20264 * Makeconfig (libm): Define.
20265 * elf/Makefile: Add rules to build and run tst-relsort1.
20266 * elf/tst-relsort1.c: New file.
20267 * elf/tst-relsort1mod1.c: New file.
20268 * elf/tst-relsort1mod2.c: New file.
20269
8db21882
JM
202702012-01-27 Joseph Myers <joseph@codesourcery.com>
20271
20272 * math/s_ldexp.c: Remove __STDC__ conditionals.
20273 * math/s_ldexpf.c: Likewise.
20274 * math/s_ldexpl.c: Likewise.
20275 * math/s_nextafter.c: Likewise.
20276 * math/s_nexttowardf.c: Likewise.
20277 * math/s_significand.c: Likewise.
20278 * math/s_significandf.c: Likewise.
20279 * math/s_significandl.c: Likewise.
20280 * math/w_jnl.c: Likewise.
20281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20321 * sysdeps/ieee754/k_standard.c: Likewise.
20322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20401 * sysdeps/ieee754/s_matherr.c: Likewise.
20402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20406
965a54a4
JM
204072012-01-26 Joseph Myers <joseph@codesourcery.com>
20408
20409 * crypt/md5.h: Remove __STDC__ conditionals.
20410 * libio/libioP.h: Likewise.
20411 * locale/programs/config.h: Likewise.
20412 * sysdeps/generic/sysdep.h: Likewise.
20413 * sysdeps/i386/asm-syntax.h: Likewise.
20414 * sysdeps/s390/asm-syntax.h: Likewise.
20415 * sysdeps/unix/sysdep.h: Likewise.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20418
7071ad79
JM
204192012-01-26 Joseph Myers <joseph@codesourcery.com>
20420
20421 * libio/libio.h: Remove __STDC__ conditionals.
20422 * malloc/obstack.h: Likewise.
20423 * math/complex.h: Likewise.
20424 * math/math.h: Likewise.
20425 * sysdeps/generic/_G_config.h: Likewise.
20426 * sysdeps/gnu/_G_config.h: Likewise.
20427 * sysdeps/mach/hurd/_G_config.h: Likewise.
20428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20430 * sysdeps/sparc/bits/mathdef.h: Likewise.
20431
afc5ed09
UD
204322012-01-26 Ulrich Drepper <drepper@gmail.com>
20433
20434 [BZ #13583]
20435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20436 Clean up HAS_* macros.
afc5ed09 20437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20439 possible.
20440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20441 HAS_AVX.
20442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20447
bdb6de1d
JM
204482012-01-25 Joseph Myers <joseph@codesourcery.com>
20449
20450 * elf/tst-unique3.cc (gets): Remove declaration.
20451 * elf/tst-unique3lib.cc (gets): Likewise.
20452 * elf/tst-unique3lib2.cc (gets): Likewise.
20453 * elf/tst-unique4.cc (gets): Likewise.
20454
b15549e6
UD
204552012-01-24 Ulrich Drepper <drepper@gmail.com>
20456
20457 * include/stdio.h: Add C++ protection. Add gets declarations and
20458 definitions.
20459 * debug/tst-chk1.c: Don't declare gets here.
20460 * stdio-common/tst-gets.c: Likewise.
20461
a037381f
JM
204622012-01-24 Joseph Myers <joseph@codesourcery.com>
20463
20464 * posix/glob: Remove directory.
20465
f1d4aa75
JM
204662012-01-24 Joseph Myers <joseph@codesourcery.com>
20467
20468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20469
81c0c964
PT
204702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20471
20472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20473 of the non-standard EPFNOSUPPORT.
20474
0ea698ae
ST
204752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20476
20477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20480
d220b117
UD
204812012-01-21 Ulrich Drepper <drepper@gmail.com>
20482
20483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20484
3e1aa84e
UD
204852012-01-20 Ulrich Drepper <drepper@gmail.com>
20486
20487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20488 transient errors.
20489 * nscd/grpcache.c (cache_addgr): Likewise.
20490 * nscd/hstcache.c (cache_addhst): Likewise.
20491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20492 * nscd/pwdcache.c (cache_addpw): Likewise.
20493 * nscd/servicescache.c (cache_addserv): Likewise.
20494
400aa020
UD
204952012-01-16 Ulrich Drepper <drepper@gmail.com>
20496
d77e7869
UD
20497 * malloc/malloc.c: Various cleanups.
20498 * malloc/hooks.c: Likewise.
20499
400aa020
UD
20500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20501 * stdlib/bug-fmtmsg1.c: New file.
20502
20503 * stdlib/fmtmsg.c (init): Add missing unlock.
20504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20505
e0a309cf
MP
205062012-01-12 Marek Polacek <polacek@redhat.com>
20507
20508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20509 and _GNU_SOURCE.
20510
929d11c7
WS
205112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20512
20513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20515 macro to ensure uniqueness of label name.
20516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20518
41d0e869
UD
205192012-01-11 Ulrich Drepper <drepper@gmail.com>
20520
0cc5ed3b
UD
20521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20522
41d0e869
UD
20523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20527
a47a831a
UD
205282012-01-10 Ulrich Drepper <drepper@gmail.com>
20529
daa891c0
UD
20530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20531
20532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20535
e58ef0f2
UD
20536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20537
a47a831a 20538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20542
20543 * math/bits/math-finite.h: Add ldexp support.
20544
a0bfc9c7
MP
205452012-01-10 Marek Polacek <polacek@redhat.com>
20546
20547 * locale/programs/localedef.h (show_archive_content): Add noreturn
20548 attribute.
20549
d6e97a1d
UD
205502012-01-09 Ulrich Drepper <drepper@gmail.com>
20551
20552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20553
d5835c26
UD
205542012-01-08 Ulrich Drepper <drepper@gmail.com>
20555
e5f484c6
UD
20556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20557
d5835c26
UD
20558 * io/Makefile (headers): Add bits/poll2.h.
20559
d1f741e9
WS
205602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20561
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20563 typo #include statement.
20564
ec09c1c4
UD
205652012-01-08 Ulrich Drepper <drepper@gmail.com>
20566
20567 * include/sys/cdefs.h: Define __attribute_alloc_size.
20568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20570 * elf/pldd.c: Likewise.
20571 * iconv/iconv_charmap.c: Likewise.
20572 * iconv/iconvconfig.c: Likewise.
20573 * iconv/strtab.c: Likewise.
20574 * locale/programs/locale.c: Likewise.
20575 * locale/programs/localedef.h: Likewise.
20576 * locale/programs/simple-hash.c: Likewise.
20577 * nscd/nscd.h: Likewise.
20578 * nss/makedb.c: Likewise.
20579 * sysdeps/generic/ldconfig.h: Likewise.
20580 * locale/programs/localedef.c: Remove xmalloc prototype.
20581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20582
20b38e03
PP
205832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20584
20585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20586 appropriate.
20587
a0da5fe1
UD
205882012-01-08 Ulrich Drepper <drepper@gmail.com>
20589
1d5a644a 20590 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20591 * math/tst-CMPLX.c: New file.
1d5a644a 20592
8784a6db
UD
20593 * math/complex.h (CMPLXL): Fix typo.
20594
d9a216c0
UD
20595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20597 GLIBC_2.16.
20598 * debug/tst-chk1.c: Add poll and ppoll tests.
20599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20600 * include/sys/poll.h: Add hidden proto for ppoll.
20601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20602 * sysdeps/mach/hurd/ppoll.c: Likewise.
20603 * io/ppoll.c: Likewise.
20604 * debug/poll_chk.c: New file.
20605 * debug/ppoll_chk.c: New file.
20606 * include/bits/poll2.h: New file.
20607 * io/bits/poll2.h: New file.
20608
ac097f5c
UD
20609 [BZ #1350]
20610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20611
2119dcfa
UD
20612 * configure.in: static is always set to yes. Remove.
20613 * config.make.in: Don't set build-static.
20614 * Makeconfig: Remove use of build-static.
20615 * dlfcn/Makefile: Likewise.
20616 * elf/Makefile: Likewise.
20617 * math/Makefile: Likewise.
20618 * misc/Makefile: Likewise.
20619 * nptl/Makefile: Likewise.
20620 * sysdeps/mach/hurd/Makefile: Likewise.
20621
121766a9
UD
20622 * configure.in: PWD_P is not used anymore.
20623 * config.make.in: Remove PWD_P entry.
20624
51a1d39c 20625 * configure.in: Remove last remnants of RANLIB.
8720d066 20626 No need to check for signed size_t anymore.
215f4bdc
UD
20627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20628 and IA-64.
3857022a 20629 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20630 * aclocal.m4: Likewise.
20631
d3ed7225
UD
20632 * wcsmbs/mbrtoc16.c: Implement using towc function.
20633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20634 * wcsmbs/wcsmbsload.c: Likewise.
20635 * iconv/gconv_simple.c: Likewise.
20636 * iconv/gconv_int.h: Likewise.
20637 * iconv/gconv_builtin.h: Likewise.
20638 * iconv/iconv_prog.c: Remove CHAR16 handling.
20639
20640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20641
20642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20643
a0da5fe1
UD
20644 * configure.in: Remove --with-elf and --enable-bounded options.
20645 Dont set base_machine for ia64. More non-ELF conditions removed.
20646 Remove testing and setting of leading underscore information.
20647 * config.make.in (build-bounded): Set to no.
20648 * config.h.in: Remove NO_UNDERSCORES entry.
20649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20650 them.
20651 * csu/start.c: Remove !NO_UNDERSCORE code.
20652 * locale/localeinfo.h: Likewise.
20653 * sysdeps/generic/machine-gmon.h: Likewise.
20654 * sysdeps/generic/sysdep.h: Likewise.
20655 * sysdeps/i386/sysdep.h: Likewise.
20656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20657 * sysdeps/mach/sysdep.h: Likewise.
20658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20660 * sysdeps/sh/sysdep.h: Likewise.
20661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20662 * sysdeps/unix/i386/sysdep.S: Likewise.
20663 * sysdeps/unix/sparc/start.c: Likewise.
20664 * sysdeps/unix/sparc/sysdep.S: Likewise.
20665 * sysdeps/unix/sparc/sysdep.h: Likewise.
20666 * sysdeps/unix/start.c: Likewise.
20667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20668 * sysdeps/x86_64/sysdep.h: Likewise.
20669
df78418a
UD
206702012-01-07 Ulrich Drepper <drepper@gmail.com>
20671
a784e502
UD
20672 [BZ #13553]
20673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20674 for non-gcc.
20675 * argp/argp-fmtstream.h: Use const instead __const.
20676 * argp/argp.h: Likewise.
20677 * assert/assert.h: Likewise.
20678 * bits/fenv.h: Likewise.
20679 * bits/sched.h: Likewise.
20680 * bits/sigset.h: Likewise.
20681 * bits/sigthread.h: Likewise.
20682 * catgets/nl_types.h: Likewise.
20683 * conform/data/pthread.h-data: Likewise.
20684 * crypt/crypt-private.h: Likewise.
20685 * crypt/crypt.h: Likewise.
20686 * crypt/crypt_util.c: Likewise.
20687 * ctype/ctype.h: Likewise.
20688 * debug/execinfo.h: Likewise.
20689 * debug/mbsnrtowcs_chk.c: Likewise.
20690 * debug/mbsrtowcs_chk.c: Likewise.
20691 * debug/wcsnrtombs_chk.c: Likewise.
20692 * debug/wcsrtombs_chk.c: Likewise.
20693 * debug/wcstombs_chk.c: Likewise.
20694 * dirent/dirent.h: Likewise.
20695 * dlfcn/dlfcn.h: Likewise.
20696 * elf/neededtest4.c: Likewise.
20697 * grp/grp.h: Likewise.
20698 * gshadow/gshadow.h: Likewise.
20699 * iconv/gconv.h: Likewise.
20700 * iconv/gconv_int.h: Likewise.
20701 * iconv/gconv_simple.c: Likewise.
20702 * iconv/iconv.h: Likewise.
20703 * iconv/loop.c: Likewise.
20704 * iconv/skeleton.c: Likewise.
20705 * include/aio.h: Likewise.
20706 * include/aliases.h: Likewise.
20707 * include/argz.h: Likewise.
20708 * include/arpa/inet.h: Likewise.
20709 * include/assert.h: Likewise.
20710 * include/dirent.h: Likewise.
20711 * include/dlfcn.h: Likewise.
20712 * include/execinfo.h: Likewise.
20713 * include/fcntl.h: Likewise.
20714 * include/fenv.h: Likewise.
20715 * include/glob.h: Likewise.
20716 * include/grp.h: Likewise.
20717 * include/libintl.h: Likewise.
20718 * include/mntent.h: Likewise.
20719 * include/netdb.h: Likewise.
20720 * include/pwd.h: Likewise.
20721 * include/rpc/netdb.h: Likewise.
20722 * include/sched.h: Likewise.
20723 * include/search.h: Likewise.
20724 * include/shadow.h: Likewise.
20725 * include/signal.h: Likewise.
20726 * include/stdio.h: Likewise.
20727 * include/stdlib.h: Likewise.
20728 * include/string.h: Likewise.
20729 * include/sys/socket.h: Likewise.
20730 * include/sys/stat.h: Likewise.
20731 * include/sys/statfs.h: Likewise.
20732 * include/sys/statvfs.h: Likewise.
20733 * include/sys/syslog.h: Likewise.
20734 * include/sys/time.h: Likewise.
20735 * include/sys/uio.h: Likewise.
20736 * include/time.h: Likewise.
20737 * include/unistd.h: Likewise.
20738 * include/utmp.h: Likewise.
20739 * include/wchar.h: Likewise.
20740 * include/wctype.h: Likewise.
20741 * inet/aliases.h: Likewise.
20742 * inet/arpa/inet.h: Likewise.
20743 * inet/netinet/ether.h: Likewise.
20744 * inet/netinet/in.h: Likewise.
20745 * intl/libintl.h: Likewise.
20746 * io/bits/fcntl2.h: Likewise.
20747 * io/fcntl.h: Likewise.
20748 * io/ftw.h: Likewise.
20749 * io/sys/poll.h: Likewise.
20750 * io/sys/stat.h: Likewise.
20751 * io/sys/statfs.h: Likewise.
20752 * io/sys/statvfs.h: Likewise.
20753 * io/utime.h: Likewise.
20754 * libio/bits/stdio.h: Likewise.
20755 * libio/bits/stdio2.h: Likewise.
20756 * libio/libio.h: Likewise.
20757 * libio/libioP.h: Likewise.
20758 * libio/stdio.h: Likewise.
20759 * locale/lc-ctype.c: Likewise.
20760 * locale/locale.h: Likewise.
20761 * login/utmp.h: Likewise.
20762 * malloc/arena.c: Likewise.
20763 * malloc/malloc.c: Likewise.
20764 * malloc/malloc.h: Likewise.
20765 * malloc/mcheck.c: Likewise.
20766 * malloc/mtrace.c: Likewise.
20767 * math/bits/mathcalls.h: Likewise.
20768 * math/fenv.h: Likewise.
20769 * math/math_private.h: Likewise.
20770 * misc/bits/error.h: Likewise.
20771 * misc/bits/syslog.h: Likewise.
20772 * misc/err.h: Likewise.
20773 * misc/error.h: Likewise.
20774 * misc/fstab.h: Likewise.
20775 * misc/mntent.h: Likewise.
20776 * misc/regexp.h: Likewise.
20777 * misc/search.h: Likewise.
20778 * misc/sgtty.h: Likewise.
20779 * misc/sys/mman.h: Likewise.
20780 * misc/sys/syslog.h: Likewise.
20781 * misc/sys/uio.h: Likewise.
20782 * misc/sys/xattr.h: Likewise.
20783 * misc/ttyent.h: Likewise.
20784 * nis/rpcsvc/ypclnt.h: Likewise.
20785 * nss/nss.h: Likewise.
20786 * posix/bits/unistd.h: Likewise.
20787 * posix/fnmatch.h: Likewise.
20788 * posix/glob.h: Likewise.
20789 * posix/sched.h: Likewise.
20790 * posix/spawn.h: Likewise.
20791 * posix/sys/wait.h: Likewise.
20792 * posix/unistd.h: Likewise.
20793 * posix/wordexp.h: Likewise.
20794 * pwd/pwd.h: Likewise.
20795 * resolv/netdb.h: Likewise.
20796 * resource/sys/resource.h: Likewise.
20797 * rt/aio.h: Likewise.
20798 * rt/bits/mqueue2.h: Likewise.
20799 * rt/mqueue.h: Likewise.
20800 * shadow/shadow.h: Likewise.
20801 * signal/signal.h: Likewise.
20802 * socket/send.c: Likewise.
20803 * socket/sendto.c: Likewise.
20804 * socket/sys/socket.h: Likewise.
20805 * stdio-common/printf.h: Likewise.
20806 * stdlib/bits/stdlib.h: Likewise.
20807 * stdlib/fmtmsg.h: Likewise.
20808 * stdlib/monetary.h: Likewise.
20809 * stdlib/stdlib.h: Likewise.
20810 * stdlib/ucontext.h: Likewise.
20811 * streams/stropts.h: Likewise.
20812 * string/argz.h: Likewise.
20813 * string/bits/string2.h: Likewise.
20814 * string/string.h: Likewise.
20815 * string/strings.h: Likewise.
20816 * sunrpc/rpc/auth.h: Likewise.
20817 * sunrpc/rpc/auth_des.h: Likewise.
20818 * sunrpc/rpc/clnt.h: Likewise.
20819 * sunrpc/rpc/netdb.h: Likewise.
20820 * sunrpc/rpc/pmap_clnt.h: Likewise.
20821 * sunrpc/rpc/xdr.h: Likewise.
20822 * sysdeps/generic/inttypes.h: Likewise.
20823 * sysdeps/generic/net/if.h: Likewise.
20824 * sysdeps/generic/sys/swap.h: Likewise.
20825 * sysdeps/gnu/net/if.h: Likewise.
20826 * sysdeps/gnu/utmpx.h: Likewise.
20827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20828 * sysdeps/i386/i486/bits/string.h: Likewise.
20829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20830 * sysdeps/s390/bits/string.h: Likewise.
20831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20862 * sysvipc/sys/ipc.h: Likewise.
20863 * sysvipc/sys/msg.h: Likewise.
20864 * sysvipc/sys/sem.h: Likewise.
20865 * sysvipc/sys/shm.h: Likewise.
20866 * termios/termios.h: Likewise.
20867 * time/sys/time.h: Likewise.
20868 * time/time.h: Likewise.
20869 * wcsmbs/bits/wchar2.h: Likewise.
20870 * wcsmbs/uchar.h: Likewise.
20871 * wcsmbs/wchar.h: Likewise.
20872 * wctype/wctype.h: Likewise.
20873
0269750c
UD
20874 [BZ #13551]
20875 * Makeconfig: Remove all but ELF support including AIX support.
20876 * Makerules: Likewise.
20877 * config.h.in: Likewise.
20878 * config.make.in: Likewise.
20879 * configure: Likewise.
20880 * configure.in: Likewise.
20881 * csu/Makefile: Likewise.
20882 * csu/version.c: Likewise.
20883 * debug/Makefile: Likewise.
20884 * dlfcn/Makefile: Likewise.
20885 * elf/Makefile: Likewise.
20886 * extra-lib.mk: Likewise.
20887 * iconv/Makefile: Likewise.
20888 * include/libc-symbols.h: Likewise.
20889 * include/shlib-compat.h: Likewise.
20890 * resolv/Makefile: Likewise.
20891 * resolv/res_libc.c: Likewise.
20892 * rt/Makefile: Likewise.
20893 * sysdeps/i386/asm-syntax.h: Likewise.
20894 * sysdeps/i386/sysdep.h: Likewise.
20895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20896 * sysdeps/mach/sysdep.h: Likewise.
20897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20899 * sysdeps/s390/asm-syntax.h: Likewise.
20900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20902 * sysdeps/sh/sysdep.h: Likewise.
20903 * sysdeps/unix/sparc/sysdep.h: Likewise.
20904 * sysdeps/wordsize-32/divdi3.c: Likewise.
20905 * sysdeps/x86_64/sysdep.h: Likewise.
20906
00bbd29b
UD
20907 * argp/Versions: Remove _argp_unlock_xxx.
20908
20909 [BZ #13559]
20910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20911 * abilist/libBrokenLocale.abilist: Likewise.
20912 * abilist/libanl.abilist: Likewise.
20913 * abilist/libc.abilist: Likewise.
20914 * abilist/libcrypt.abilist: Likewise.
20915 * abilist/libdl.abilist: Likewise.
20916 * abilist/libm.abilist: Likewise.
20917 * abilist/libnsl.abilist: Likewise.
20918 * abilist/libpthread.abilist: Likewise.
20919 * abilist/libresolv.abilist: Likewise.
20920 * abilist/librt.abilist: Likewise.
20921 * abilist/libthread_db.abilist: Likewise.
20922 * abilist/libutil.abilist: Likewise.
20923 * abilist/libnss_db.abilist: New file.
20924
20925 * scripts/abilist.awk: Add support for indirect functions.
20926
a2693a0e
UD
20927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20928
3f05895f
UD
20929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20930
ecb6fb48
UD
20931 * shlib-versions: Remove entries for ports architectures.
20932
664f8cb9
UD
20933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20934 files in ports.
20935 * elf/stackguard-macros.h: Remove support for IA-64.
20936 * elf/tst-auditmod1.c: Likewise.
20937 * sysdeps/generic/ldsodefs.h: Likewise.
20938
7ae81d88
UD
20939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20941 configure files.
20942
bdeba135
UD
20943 [BZ #13552]
20944 * configure.in: Remove --enable-omitfp support.
20945 * FAQ.in: Adjust.
20946 * config.make.in: Likewise.
20947 * Makeconfig: Likewise.
20948 * manual/install.texi: Likewise.
20949
d75a0a62
UD
20950 In case anyone cares, the IA-64 architecture could move to ports.
20951 * sysdeps/ia64/*: Removed.
20952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20954
dcc9756b
UD
20955 [BZ #13555]
20956 * configure.in: Remove entries for unsupported architectures.
20957
d3761ebc 20958 [BZ #13533]
9954432e
UD
20959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20961 routines.
20962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20965 fall back to using wcrtomb.
20966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20968 renaming.
20969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20970 * wcsmbs/tst-c16c32-1.c: New file.
20971
20972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20973 local variable.
20974
c3a87236
UD
20975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20976
28926a1b
UD
20977 * elf/tst-unique3.cc: Add explicit declaration of gets.
20978 * elf/tst-unique3lib.cc: Likewise.
20979 * elf/tst-unique3lib2.cc: Likewise.
20980 * elf/tst-unique4.cc: Likewise.
20981
df78418a
UD
20982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20983
8ecd6b2a
JM
209842012-01-06 Joseph Myers <joseph@codesourcery.com>
20985
20986 [BZ #13566]
20987 * assert/assert.h (static_assert): Don't define for C++.
20988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20990
9f115170
UD
209912012-01-03 Ulrich Drepper <drepper@gmail.com>
20992
5e0d0300
UD
20993 * iconv/loop.c (single loop): Fix assertion in storing of
20994 remaining bytes.
20995
9f115170
UD
20996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20997
81fb02b0
UD
209982012-01-01 Ulrich Drepper <drepper@gmail.com>
20999
21000 * posix/getconf.c: Update copyright year.
21001 * nss/getent.c: Likewise.
a316c1f6 21002 * nss/makedb.c: Likewise.
81fb02b0
UD
21003 * iconv/iconvconfig.c: Likewise.
21004 * iconv/iconv_prog.c: Likewise.
21005 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21006 * elf/pldd.c: Likewise.
21007 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21008 * catgets/gencat.c: Likewise.
21009 * csu/version.c: Likewise.
21010 * elf/ldd.bash.in: Likewise.
21011 * elf/sprof.c (print_version): Likewise.
21012 * locale/programs/locale.c: Likewise.
21013 * locale/programs/localedef.c: Likewise.
a316c1f6 21014 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21015 * nscd/nscd.c (print_version): Likewise.
21016 * debug/xtrace.sh: Likewise.
21017 * malloc/memusage.sh: Likewise.
21018 * malloc/mtrace.pl: Likewise.
21019 * debug/catchsegv.sh: Likewise.
21020
2ba92745
JJ
210212011-12-30 Jakub Jelinek <jakub@redhat.com>
21022
21023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21024 pure attribute.
21025
dadebdae
UD
210262011-12-24 Ulrich Drepper <drepper@gmail.com>
21027
d3761ebc 21028 [BZ #13533]
db6af3eb
UD
21029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21031 transformations.
21032 * iconv/gconv_int.h: Likewise.
21033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21035 from libc for GLIBC_2.16.
21036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21038 * wcsmbs/uchar.h: Really define mbstate_t.
21039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21040 * wcsmbs/c16rtomb.c: New file.
21041 * wcsmbs/mbrtoc16.c: New file.
21042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21043 for C/POSIX locale.
21044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21046
dadebdae
UD
21047 * wcsmbs/wchar.h: Add missing __restrict.
21048
67371b56
UD
210492011-12-23 Ulrich Drepper <drepper@gmail.com>
21050
74033a25
UD
21051 [BZ #13532]
21052 * time/Makefile (routines): Add timespec_get.
21053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21055 timespec for ISO C11.
21056 * time/timespec_get.c: New file.
21057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21059
380d7e87
UD
21060 [BZ #13531]
21061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21062 * stdlib/stdlib.h: Declare aligned_alloc.
21063 * Versions.def: Add GLIBC_2.16 for libc.
21064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21065
4e9e7a35
UD
21066 [BZ 13527]
21067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21068 ISO C11.
21069
380d7e87 21070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21071 code.
21072
03a71829
UD
21073 [BZ #13528]
21074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21075
839e283e
UD
21076 [BZ #13529]
21077 * assert/assert.h (static_assert): Define.
21078
ce5294e2 21079 * version.h: Update for 2.16 development version.
90fa7312 21080
8d44e150 21081 [BZ #13526]
d7809905
UD
21082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21083 _ISOC11_SOURCE.
21084
c0da14cd
UD
21085 * version.h (RELEASE): Bump for 2.15 release.
21086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21087
530a3249
MP
21088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21089 Patch by Marek Polacek <mpolacek@redhat.com>.
21090
67371b56
UD
21091 * bits/byteswap.h: Protect long long constants with __extension__.
21092 * sysdeps/i386/bits/byteswap.h: Likewise.
21093 * sysdeps/ia64/bits/byteswap.h: Likewise.
21094 * sysdeps/s390/bits/byteswap.h: Likewise.
21095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21096
15db4de1
LD
210972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21098
21099 [BZ #13540]
bbe315ea
LD
21100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21101 destination buffer.
15db4de1
LD
21102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21103
2b2596b1
MP
211042011-12-23 Marek Polacek <polacek@redhat.com>
21105
21106 * elf/dl-addr.c (determine_info): Add inline keyword.
21107 * elf/tst-auditmod4b.c (check_avx): Likewise.
21108 * elf/tst-auditmod6b.c (check_avx): Likewise.
21109 * elf/tst-auditmod6c.c (check_avx): Likewise.
21110 * elf/tst-auditmod7b.c (check_avx): Likewise.
21111
70c6c246
UD
211122011-12-23 Ulrich Drepper <drepper@gmail.com>
21113
21114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21115 !__SSE_MATH__.
21116
c044cf14
LD
211172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21118
15db4de1 21119 [BZ #13540]
c044cf14
LD
21120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21121 processing for last bytes.
21122
6b13d9d9
BH
211232011-08-06 Bruno Haible <bruno@clisp.org>
21124
d455f537
BH
21125 [BZ #13061]
21126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21127 U+0385, not to U+1FEE.
21128
6b13d9d9
BH
21129 [BZ #13062]
21130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21131 entry for U+00A5 U+0301.
21132
db910efd
UD
211332011-12-22 Ulrich Drepper <drepper@gmail.com>
21134
27deeafc
UD
21135 [BZ #13166]
21136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21137 buffer for the output is too small.
21138
aed9d171
UD
21139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21140 optimization.
21141
db910efd
UD
21142 [BZ #13185]
21143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21144 SSE flags if possible.
21145
2bd779ae
LD
211462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21147
e7f9dac3 21148 [BZ #13540]
2bd779ae
LD
21149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21150 processing for last bytes.
21151
154bfc16
JM
211522011-12-22 Joseph Myers <joseph@codesourcery.com>
21153
21154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21155 (syscall-list-default-options, syscall-list-default-condition)
21156 (syscall-list-includes): Define.
21157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21158 list of ABIs and options and #if conditions for each ABI. Do not
21159 handle common syscalls between ABIs specially.
21160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21161 Remove.
21162 (syscall-list-variants, syscall-list-32bit-options)
21163 (syscall-list-32bit-condition, syscall-list-64bit-options)
21164 (syscall-list-64bit-condition): Define.
21165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21166 (syscall-list-variants, syscall-list-32bit-options)
21167 (syscall-list-32bit-condition, syscall-list-64bit-options)
21168 (syscall-list-64bit-condition): Define.
21169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21170 Remove.
21171 (syscall-list-variants, syscall-list-32bit-options)
21172 (syscall-list-32bit-condition, syscall-list-64bit-options)
21173 (syscall-list-64bit-condition): Define.
21174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21175 Remove.
21176 (syscall-list-variants, syscall-list-32bit-options)
21177 (syscall-list-32bit-condition, syscall-list-64bit-options)
21178 (syscall-list-64bit-condition): Define.
21179
21eaf3a5
UD
211802011-12-22 Ulrich Drepper <drepper@gmail.com>
21181
16c6f992
UD
21182 * locale/iso-639.def: Add brx entry.
21183
41043168
UD
21184 [BZ #13328]
21185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21187
21eaf3a5
UD
21188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21189 __feraiseexcept_renamed.
21190
e3a851a2
UD
211912011-12-21 Ulrich Drepper <drepper@gmail.com>
21192
4920765e
UD
21193 [BZ #13538]
21194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21195 EPOLLET with unsigned values.
21196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21198
e3a851a2
UD
21199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21200 to large cancellation.
21201 * math/s_cacoshf.c: Likewise.
21202 * math/s_cacoshl.c: Likewise.
21203
b27e24b8
RK
212042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21205
21206 [BZ #13305]
aebefeee 21207 [BZ #12786]
b27e24b8
RK
21208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21209 * math/s_cacoshf.c: Likewise.
21210 * math/s_cacoshl.c: Likewise.
21211
ee190f67
UD
212122011-12-21 Ulrich Drepper <drepper@gmail.com>
21213
21214 [BZ #13439]
21215 * iconv/gconv.h: Define __GCONV_SWAP.
21216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21217 * iconvdata/utf-16.c: Likewise.
21218 * iconvdata/utf-32.c: Likewise.
21219
707f25df
AS
212202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21221
21222 [BZ #13524]
21223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21224 numerator after shifting it by one limb.
21225
d2daaa1e
RÁE
212262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21227
21228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21229 under [__USE_EXTERN_INLINES].
21230
a4647e72
UD
212312011-12-17 Ulrich Drepper <drepper@gmail.com>
21232
21233 [BZ #13446]
21234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21235
f0b264f1
AZ
212362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21240 optimized code.
21241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21245 for strncasecmp/strncasecmp_l compilation.
21246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21248
8ef4f244
MP
212492011-12-08 Marek Polacek <mpolacek@redhat.com>
21250
21251 [BZ #13484]
21252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21253 of __asm__.
21254
97ac2654
UD
212552011-12-17 Ulrich Drepper <drepper@gmail.com>
21256
21257 [BZ #13506]
21258 * time/tzfile.c (__tzfile_read): Check values from file header.
21259
91d2a845
WS
212602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21261
21262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21264 * powerpc/powerpc32/dl-start.S: Likewise.
21265 * powerpc/powerpc32/elf/start.S: Likewise.
21266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21279 * powerpc/powerpc32/memset.S: Likewise.
21280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21293
a1267ba1
AZ
212942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295
21296 * math/libm-test.inc: Added more nearbyint tests.
21297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21301
ad8ac1bd
RL
213022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21303
21304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21305 FD_CLOEXEC.
21306
1d3e4b61
UD
213072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21308
21309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21310 Add wcscpy-ssse3 wcscpy-c.
21311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21314 * sysdeps/x86_64/wcschr.S: New file.
21315 * sysdeps/x86_64/wcsrchr.S: New file.
21316 * string/test-strcmp.c: Remove checking of wcscmp function for
21317 wrong alignments.
21318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21320 wcsrchr-sse2 wcsrchr-c.
21321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21330 * wcsmbc/wcschr.c (WCSCHR): New macro.
21331
5b330a2d
UD
213322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21333
21334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21335 * wcsmbs/test-wcsrchr.c: New file.
21336 * string/test-strrchr.c: Add wcsrchr support.
21337 (WIDE): New macro.
21338 * wcsmbs/test-wcscpy.c: New file.
21339 * string/test-strcpy.c: Add wcscpy support.
21340 (WIDE): New macro.
26428b7c 21341
f039c043
UD
213422011-12-10 Ulrich Drepper <drepper@gmail.com>
21343
21344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21345 the inner loop.
21346
850fb039
AS
213472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21348
21349 [BZ #13472]
21350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21351
4efbd5cb
UD
213522011-12-04 Ulrich Drepper <drepper@gmail.com>
21353
52ff5dd0 21354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21355 Minor optimizations.
52ff5dd0 21356
4efbd5cb
UD
21357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21360
8a426e12
UD
213612011-12-03 Ulrich Drepper <drepper@gmail.com>
21362
aff2453d
UD
21363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21366 for gcc to avoid warnings.
21367 * inet/Makefile (tests): Add tst-checks.
21368 * inet/tst-checks.c: New file.
21369
21370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21371 warning.
21372
21373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21374 __wmemcmp_sse2.
21375
21376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21378
8a426e12
UD
21379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21380
9bea3473
UD
213812011-12-02 Ulrich Drepper <drepper@gmail.com>
21382
3a965496
UD
21383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21384 problem.
21385
9bea3473
UD
21386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21387
f101631b
UD
213882011-11-29 Joseph Myers <joseph@codesourcery.com>
21389
21390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21391 conditional on GCC version.
21392 (__arch_compare_and_exchange_val_8_acq)
21393 (__arch_compare_and_exchange_val_16_acq)
21394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21397
a98275aa
UD
213982011-12-02 Joseph Myers <joseph@codesourcery.com>
21399
21400 * sysdeps/sh/backtrace.c: New file.
21401
d4cc29a2
AS
214022011-12-02 Andreas Schwab <schwab@redhat.com>
21403
21404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21405 parenthesis.
21406
6257af2d
AS
214072011-12-01 Andreas Schwab <schwab@redhat.com>
21408
21409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21410 falling back to utime.
21411
b5f44c1a
AS
214122011-11-30 Andreas Schwab <schwab@redhat.com>
21413
21414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21415 expectations for float.
21416
f3a6cc0a
AS
214172011-11-29 Andreas Schwab <schwab@redhat.com>
21418
21419 * locale/weight.h (findidx): Add parameter len.
21420 * locale/weightwc.h (findidx): Likewise.
21421 * posix/fnmatch_loop.c (FCT): Adjust caller.
21422 * posix/regcomp.c (build_equiv_class): Likewise.
21423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21424 * posix/regexec.c (check_node_accept_bytes): Likewise.
21425 * string/strcoll_l.c (STRCOLL): Likewise.
21426 * string/strxfrm_l.c (STRXFRM): Likewise.
21427
9d65ea3a
UD
214282011-11-17 Ulrich Drepper <drepper@gmail.com>
21429
21430 * Makefile.in: Remove CVSOPT handling.
21431 * configure.in: Remove use of AC_REVISION.
21432 * iconvdata/Makefile (distribute): No need to filter out CVS.
21433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21434 handling.
21435
5583a086
AS
214362011-11-16 Andreas Schwab <schwab@redhat.com>
21437
21438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21440 [USE_AS_STRNCASECMP_L]: Likewise.
21441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21442 NO_TLS_DIRECT_SEG_REFS.
21443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21444 Fix argument offsets for non-PIC.
21445 [USE_AS_STRNCASECMP_L]: Likewise.
21446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21447 NO_TLS_DIRECT_SEG_REFS.
21448
d62a8200
UD
214492011-11-15 Ulrich Drepper <drepper@gmail.com>
21450
9d65ea3a 21451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21452 O_CLOEXEC.
21453 * locale/loadlocale.c (_nl_load_locale): Likewise.
21454
09f93bd3
AS
214552011-11-15 Andreas Schwab <schwab@redhat.com>
21456
446514f9
AS
21457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21460 (SYSCALL_GETTIME): Set errno on error.
21461
09f93bd3
AS
21462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21463 count references to noai6ai_cached.
21464
312be3f9
UD
214652011-11-15 Ulrich Drepper <drepper@gmail.com>
21466
21467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21468
21469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21470 FD_CLOEXEC for /proc/self/maps.
21471
21472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21473 FD_CLOEXEC for /proc/meminfo.
21474
21475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21476 gai.conf.
21477
21478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21479 FD_CLOEXEC for given file.
21480
21481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21482
21483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21484 FD_CLOEXEC for /etc/hosts.
21485 (_gethtent): Likewise.
21486
21487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21488
21489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21490 cancellation and set FD_CLOEXEC for /etc/netgroup.
21491
21492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21493 reading /etc/publickey.
21494
21495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21496 allow cancellation when reading /etc/group.
21497
21498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21499 cancellation.
21500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21501
21502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21503 when using data file.
21504
21505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21506
21507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21508 (write_nis_obj): Use "c" and "e" in fopen.
21509
21510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21511
21512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21513
21514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21515
21516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21517
21518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21519 locale.alias.
21520
21521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21522
21523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21524
21525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21526
21527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21528 file parsing and set FD_CLOEXEC.
21529
82af0fa8
UD
215302011-11-14 Ulrich Drepper <drepper@gmail.com>
21531
21532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21533
a5fb313c
AS
215342011-11-14 Andreas Schwab <schwab@redhat.com>
21535
21536 * malloc/arena.c (arena_get2): Don't call reused_arena when
21537 _int_new_arena failed.
21538
6abf3465
UD
215392011-11-14 Ulrich Drepper <drepper@gmail.com>
21540
21541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21547 to compile strcasecmp and strncasecmp.
21548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21550
21551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21552
76e3966e
UD
215532011-11-13 Ulrich Drepper <drepper@gmail.com>
21554
21555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21556 locale-defines.sym to gen-as-const-headers.
21557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21560 to compile strcasecmp and strncasecmp.
21561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21562 strcasecmp_l and strncasecmp_l.
21563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21574
ab26144e
UD
215752011-11-12 Ulrich Drepper <drepper@gmail.com>
21576
7edb22ef
UD
21577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21578 result of SYSDEP_GETTIME_CPU to retval.
21579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21580 parameter list to macro. Remove trailing semicolon. Adjust users.
21581
9694fc44
UD
21582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21583 variable.
21584
8ad89ef8
UD
21585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21586 mantissa words.
21587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21588
0c822ef9
UD
21589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21590 from unused variable.
21591
874e0564
UD
21592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21593 DWARF definitions.
21594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21595 for assembling.
21596
3a2edc79
UD
21597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21598 over namespaces.
21599
f3c2577f
UD
21600 * sunrpc/rpc_prot.c (rejected): Fix case value.
21601
294ce126
UD
21602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21603 unsigned long long int to avoid warnings in shift.
21604
5e2b63c6
UD
21605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21606 of use of trans.
21607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21608 variable tmp.
21609
e7f4b08e
UD
21610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21613
ab26144e
UD
21614 * nis/nis_table.c (nis_list): Use variable of correct type for
21615 result of __follow_path call.
21616
8a6d5255
AZ
216172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21618
21619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21620 of math functions ceil, trunc, floor, round, and sqrt, when
21621 avaliable on the platform.
21622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21623 name clash.
21624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21627
aaddc98c
MP
216282011-10-30 Marek Polacek <mpolacek@redhat.com>
21629
21630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21632
95b7042b
RM
216332011-11-11 Roland McGrath <roland@hack.frob.com>
21634
21635 * include/unistd.h: Fix __readlink return type.
21636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21637
57769839
UD
216382011-11-11 Ulrich Drepper <drepper@gmail.com>
21639
21640 * stdlib/ucontext.h: Undo last change for makecontext.
21641
edc5984d
AS
216422011-11-11 Andreas Schwab <schwab@redhat.com>
21643
98591e58
AS
21644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21645
edc5984d
AS
21646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21647 * setjmp/setjmp.h: Mark functions as non-leaf.
21648 * setjmp/bits/setjmp2.h: Likewise.
21649 * stdlib/ucontext.h: Likewise.
21650
77cdc054
AS
216512011-11-10 Andreas Schwab <schwab@redhat.com>
21652
21653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21654 (reused_arena): Don't check arena limit.
21655 (arena_get2): Atomically check arena limit.
21656
fe72eebd
UD
216572011-11-08 Ulrich Drepper <drepper@gmail.com>
21658
5f078c32
UD
21659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21661
fe72eebd
UD
21662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21663 instructions.
21664
ae1bc2fa
AS
216652011-11-07 Andreas Schwab <schwab@redhat.com>
21666
7583a88d
AS
21667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21668 handler when locking.
21669
ae1bc2fa
AS
21670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21671 Fix size of allocated buffer.
21672
10fb0bfa
AS
216732011-11-04 Andreas Schwab <schwab@redhat.com>
21674
998832a4
AS
21675 [BZ #10103]
21676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21677 declarations for long double functions.
21678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21679
10fb0bfa
AS
21680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21681
3d7ba52b
AS
216822011-11-03 Andreas Schwab <schwab@redhat.com>
21683
a9ae54a1
AS
21684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21685 installed.
21686
3d7ba52b
AS
21687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21688 is disabled.
21689
bc8db248
ST
216902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21691
21692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21693
45b96dd6
AS
216942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21695
647776f6
AS
21696 * include/alloca.h (stackinfo_alloca_round): Define.
21697 (extend_alloca): Use it.
21698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21700 here.
21701
d91a8b93
AS
21702 * scripts/check-local-headers.sh: Ignore libaudit.h.
21703
45b96dd6
AS
21704 * nscd/Makefile (extra-objs): Make recursively expanded.
21705
432d41ce
UD
217062011-11-01 Ulrich Drepper <drepper@gmail.com>
21707
34372fc6
UD
21708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21710
fadb59f8
UD
21711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21712 * posix/tst-rfc3484-2.c: Likewise.
21713 * posix/tst-rfc3484-3.c: Likewise.
21714
78239589
UD
21715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21716 process_vm_writev.
21717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21718 process_vm_writev.
21719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21720 process_vm_writev from libc using GLIBC_2.15 version.
21721
432d41ce
UD
21722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21723
02f9c6cf
PP
217242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21725
21726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21727 stack usage.
21728
3a2c0242
UD
217292011-10-31 Ulrich Drepper <drepper@gmail.com>
21730
f4ec4833
UD
21731 [BZ #13367]
21732 * nss/getent.c (initgroups_keys): Show error message in case no group
21733 names are given.
21734
3a2c0242
UD
21735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21737 __bump_nl_timestamp.
21738 * nscd/connections (nscd_init): When host database is served open
21739 netlink socket and request notification about configuration changes.
21740 (main_loop_poll): Track netlink file descriptor and bump timestamp
21741 in case data becomes available.
21742 (main_loop_epoll): Likewise.
21743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21744 (database_pers_head): Add extra_data fileds.
21745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21748 Adjust caller.
21749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21750 in6ai data, call __free_in6ai.
21751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21752 Add -DHAVE_NETLINK.
21753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21754 interface information. Reuse previous data if netlink timestamp
21755 is not changed.
21756 (__bump_nl_timestamp): New function.
21757 (__free_in6ai): New function.
21758
636064eb
UD
217592011-10-30 Ulrich Drepper <drepper@gmail.com>
21760
21761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21762 close_not_cancel_no_status here.
21763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21764
9beb2334
UD
217652011-10-29 Ulrich Drepper <drepper@gmail.com>
21766
6ef76f3b
UD
21767 [BZ #13276]
21768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21769 return value.
21770
0ffc4f3e 21771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21774
cb95113e
UD
217752011-07-03 Andreas Jaeger <aj@suse.de>
21776
21777 [BZ #10709]
21778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21780 * math/libm-test.inc (sin_test): Add test case.
21781
a1b560ff
UD
217822011-10-29 Ulrich Drepper <drepper@gmail.com>
21783
c9aaface
UD
21784 [BZ #13337]
21785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21787
d272e7f1
UD
21788 * elf/chroot_canon.c (chroot_canon): Cleanups.
21789
1bc33071
UD
21790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21791
1760874d
TJ
21792 [BZ #13335]
21793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21795
51d91b18
UD
21796 * string/test-strchr.c: Make usable for strchrnul testing.
21797 * string/test-strchrnul.c: New file.
21798 * string/Makefile (strop-tests): Add strchrnul.
21799
a1b560ff 21800 * po/it.po: Update from translation team.
b611fb81 21801 * po/es.po: Likewise.
a1b560ff 21802
a5b81e1f
UD
218032011-10-28 Ulrich Drepper <drepper@gmail.com>
21804
fd52bc6d
UD
21805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21806 the three constants needed as parameters. Drop the others.
21807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21808 __m128i_strloadu_tolower.
52e4b9eb
UD
21809 Create and initialize variable zero and use it in all the places
21810 where _mm_setzero_si128 was used.
fd52bc6d 21811
a5b81e1f
UD
21812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21816 anymore.
21817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21822 __mpranred, __mptan.
21823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21832
b4343346
AS
218332011-10-28 Andreas Schwab <schwab@redhat.com>
21834
0c92d8a8
AS
21835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21836 redefine if SHARED.
21837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21838
b4343346
AS
21839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21840 wide char related routines to wcsmbs subdir.
21841
3871f58f
AS
218422011-10-27 Andreas Schwab <schwab@redhat.com>
21843
21844 [BZ #13344]
21845 * misc/sys/cdefs.h (__THROWNL): Define.
21846 * posix/unistd.h: Use __THREADNL instead of __THREAD
21847 for memory synchronization functions.
21848
94d44d9f
RM
218492011-10-26 Roland McGrath <roland@hack.frob.com>
21850
21b64b15 21851 [BZ #13349]
94d44d9f
RM
21852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21853 doesn't exist.
21854 * manual/stdio.texi (Obstack Streams): Node removed.
21855
f6ce9294
AS
218562011-10-26 Andreas Schwab <schwab@redhat.com>
21857
80479147
AS
21858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21861
f6ce9294
AS
21862 * math/math_private.h (math_force_eval): Allow non-addressable
21863 arguments.
21864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21865
618280a1
UD
218662011-10-25 Ulrich Drepper <drepper@gmail.com>
21867
e0016b11
UD
21868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21869 file is not needed.
21870
21871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21879 Add AVX variants.
21880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21899
21900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21902
618280a1
UD
21903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21904 place. Use VEX encoding when compiling for AVX.
21905
37822576
AS
219062011-10-25 Andreas Schwab <schwab@redhat.com>
21907
1f1e1947
AS
21908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21910
37822576
AS
21911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21912
31ea014d
UD
219132011-10-25 Ulrich Drepper <drepper@gmail.com>
21914
d7826aa1 21915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21916 useless if() expression.
d7826aa1
UD
21917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21936
31ea014d
UD
21937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21938
16437fec
AS
219392011-10-25 Andreas Schwab <schwab@redhat.com>
21940
21941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21942 condition.
21943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21944
31d3cc00
UD
219452011-10-25 Ulrich Drepper <drepper@gmail.com>
21946
21947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21948 .text section. Avoid duplicate constants.
21949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21994
58985aa9
UD
219952011-10-24 Ulrich Drepper <drepper@gmail.com>
21996
202c9deb
UD
21997 * sysdeps/x86_64/dla.h: Move to ...
21998 * sysdeps/x86_64/fpu/dla.h: ...here.
21999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22000 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22001
af968f62
UD
22002 * config.make.in: Add have-mfma4 entry.
22003 * configure.in: Substitute libc_cv_cc_fma4.
22004 * math/Makefile (dbl-only-routines): Add sincostab.
22005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22006 Use __sincostab not sincos.
22007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22008 name is a macro.
22009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22013 using __copysign.
22014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22018 and __inv.
22019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22021 __copysign.
22022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22023 define aliases when function name is a macro.
22024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22025 sysdeps/ieee754/dbl-64/sincos.tbl.
22026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22027 fma4-enabled routines.
22028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22058
58985aa9
UD
22059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22060 rename.
22061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22069
a201fbcf
AS
220702011-10-24 Andreas Schwab <schwab@redhat.com>
22071
22072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22073
fc2ee42a
LD
220742011-10-23 Ulrich Drepper <drepper@gmail.com>
22075
bb3129bd
UD
22076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22077
0275fff8
UD
22078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22079 prediction.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22081
2fa2ae85
UD
22082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22083 Remove unused variable magic_bits.
22084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22085
fc2ee42a
LD
22086 * string/strnlen.c: Define and use STRNLEN macro.
22087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22090 * wcsmbs/wcslen.c: Define and use WCSLEN.
22091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22098
ce7dd29f
LD
220992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22100
22101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22102 strnlen-sse2-no-bsf.
22103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22106 Add strnlen support.
22107 (USE_AS_STRNLEN): New macro.
22108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22111 * sysdeps/x86_64/wcslen.S: New file.
22112
979c70a3
MZ
221132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22114
22115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22116 XMM-moves are used for copying on small sizes.
22117
2d09f82f
LD
221182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22119
22120 * wcsmbs/Makefile (strop-tests): Add wcschr.
22121 * wcsmbs/test-wcschr.c: New file.
22122 * string/test-strchr.c: Update.
22123 Add wcschr support.
22124 (WIDE): New macro.
22125
619fccca
LD
221262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22127
2d09f82f 22128 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22129 * wcsmbs/test-wcslen.c: New file.
22130 * string/test-strlen.c: Update.
22131 Add wcslen support.
22132 (WIDE): New macro.
22133
09f699ea
UD
221342011-10-23 Ulrich Drepper <drepper@gmail.com>
22135
22136 * po/it.po: Update from translation team.
22137
95584d3b
LD
221382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22139
22140 * sysdeps/x86_64/wcscmp.S: Update.
22141 Fix wrong comparison semantics.
22142 wcscmp shall use signed comparison not unsigned.
22143 Don't use substraction to avoid overflow bug.
22144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22145 * wcsmbc/wcscmp.c: Likewise.
22146 * string/test-strcmp.c: Likewise.
22147 Add new tests to check cases with negative values.
22148
c8b3296b
UD
221492011-10-23 Ulrich Drepper <drepper@gmail.com>
22150
22151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22152 * sysdeps/x86_64/dla.h: ...here. New file.
22153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22162
246ad57a
AS
221632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22164
22165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22166 __ynl_finite aliases.
22167
a1a87169
UD
221682011-10-22 Ulrich Drepper <drepper@gmail.com>
22169
0d355eb7
UD
22170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22171
a1a87169
UD
22172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22173 define DLA_FMA.
22174 [DLA_FMA] (EMULV): Use DLA_FMA.
22175 [DLA_FMA] (MUL12): Use EMULV.
22176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22177 that are not needed.
22178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22185
ee2aafe0
AS
221862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22187
22188 * math/s_nan.c: Undef __nan.
22189 * math/s_nanf.c: Undef __nanf.
22190 * math/s_nanl.c: Undef __nanl.
22191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22192 "math_private.h".
22193
bc62c2fb
UD
221942011-10-22 Ulrich Drepper <drepper@gmail.com>
22195
77425c63
UD
22196 * math/s_catan.c: Add branch predictions.
22197 * math/s_catanf.c: Likewise.
22198 * math/s_catanh.c: Likewise.
22199 * math/s_catanhf.c: Likewise.
22200 * math/s_catanhl.c: Likewise.
22201 * math/s_catanl.c: Likewise.
22202 * math/s_cexp.c: Likewise.
22203 * math/s_cexpf.c: Likewise.
22204 * math/s_cexpl.c: Likewise.
22205 * math/s_clog.c: Likewise.
22206 * math/s_clog10.c: Likewise.
22207 * math/s_clog10f.c: Likewise.
22208 * math/s_clog10l.c: Likewise.
22209 * math/s_clogf.c: Likewise.
22210 * math/s_clogl.c: Likewise.
22211 * math/s_csqrt.c: Likewise.
22212 * math/s_csqrtf.c: Likewise.
22213 * math/s_csqrtl.c: Likewise.
22214 * math/s_ctanf.c: Likewise.
22215 * math/s_ctanh.c: Likewise.
22216 * math/s_ctanhf.c: Likewise.
22217 * math/s_ctanhl.c: Likewise.
22218 * math/s_ctanl.c: Likewise.
22219
bc62c2fb
UD
22220 * math/math_private.h: Define __nan, __nanf, __nanl.
22221 * math/s_cacosh.c: Include <math_private.h>.
22222 * math/s_cacoshl.c: Likewise.
22223 * math/s_casinh.c: Likewise.
22224 * math/s_casinhf.c: Likewise.
22225 * math/s_casinhl.c: Likewise.
22226 * math/s_ccos.c: Rely entire on ccosh.
22227 * math/s_ccosf.c: Rely entire on ccoshf.
22228 * math/s_ccosl.c: Rely entirely on ccoshl.
22229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22230 Remove tests for FE_INVALID.
22231 * math/s_ccoshf.c: Likewise.
22232 * math/s_ccoshl.c: Likewise.
22233 * math/s_csin.c: Likewise.
22234 * math/s_csinf.c: Likewise.
22235 * math/s_csinh.c Likewise.
22236 * math/s_csinhf.c: Likewise.
22237 * math/s_csinhl.c: Likewise.
22238 * math/s_csinl.c: Likewise.
22239 * math/s_ctan.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22243
8ec250a4
UD
222442011-10-21 Ulrich Drepper <drepper@gmail.com>
22245
c196fed8
UD
22246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22247 compilation problems.
22248
8ec250a4
UD
22249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22250 __builtin_expect.
22251
8d4f46c6
UD
222522011-10-20 Ulrich Drepper <drepper@gmail.com>
22253
ed72b654
UD
22254 * sysdeps/i386/configure.in: Test for -mfma4 option.
22255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22257 COMMON_CPUID_INDEX_80000001.
22258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22260 use it if FMA3 is not supported.
22261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22262
8d4f46c6
UD
22263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22265
d45c60c2
AS
222662011-10-20 Andreas Schwab <schwab@redhat.com>
22267
22268 [BZ #12892]
22269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22270 it would create a cycle with a link time dependency.
22271
d9a4d2ab
UD
222722011-10-19 Ulrich Drepper <drepper@gmail.com>
22273
855d1560
UD
22274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22275 instruction.
22276 * string/Makefile (strop-tests): Add rawmemchr.
22277 * string/test-rawmemchr.c: New file.
22278
d9a4d2ab
UD
22279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22282 when compiling str{,n}casecmp and when AVX is available. Hook up
22283 new optimized code in initializers.
22284
8f3b1ffe
AS
222852011-10-19 Andreas Schwab <schwab@redhat.com>
22286
22287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22288 __feraiseexcept instead of feraiseexcept.
22289
d38f1dba
UD
222902011-10-18 Ulrich Drepper <drepper@gmail.com>
22291
d9a8d0ab
UD
22292 * math/math_private.h: Define defaults for libc_fetestexcept and
22293 libc_feupdateenv.
22294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22300 libc_fetestexcept and libc_feupdateenv.
22301
4855e3dd
UD
22302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22306 libc_feholdexcept_setround.
22307
581d30e3
UD
22308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22309 Add s_nearbyint-c and s_nearbyintf-c.
22310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22311 nearbyintf inlines.
22312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22316
d38f1dba
UD
22317 * math/math_private.h: Define defaults for libc_fegetround,
22318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22323 standard functions.
22324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22325 Remove comments and hacks for old compiler versions.
22326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22328 libc_feholdexceptl.
22329
caa6c9d8
AS
223302011-10-18 Andreas Schwab <schwab@redhat.com>
22331
22332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22333 (__feraiseexcept_renamed): Add __NTH.
22334 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22335 namespace violations.
22336
97c066e6
UD
223372011-10-17 Ulrich Drepper <drepper@gmail.com>
22338
99ce7b04
UD
22339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22340
1004d182
UD
22341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22342
228a984d
UD
22343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22344 recently added interfaces.
22345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22346
c8553a6a
UD
22347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22348 about macro parameter expansion.
22349
ed22dcf6
UD
22350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22351 __NO_MATH_INLINES is defined. Cleanups.
22352
22353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22354 and __floorf is target has SSE4.1.
22355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22359
b171c137
UD
22360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22361 name.
22362 (floorf): Likewise.
22363
97c066e6
UD
22364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22365
629f62ef
AS
223662011-10-17 Andreas Schwab <schwab@redhat.com>
22367
49a43d80
AS
22368 * misc/sys/cdefs.h: Fix last change.
22369
629f62ef
AS
22370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22371 database lookup.
22372
e453f6cd
UD
223732011-10-16 Ulrich Drepper <drepper@gmail.com>
22374
aa78043a
UD
22375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22376
ad0f5cad
UD
22377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22399
22400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22401 ceil, ceilf, floor, floorf.
22402
22403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22404 Perform IRELATIVE relocations last.
22405
e453f6cd
UD
22406 * elf/do-rel.h: Add another parameter nrelative, replacing the
22407 local variable with the same name. Change name of the function
22408 to end in Rel or Rela (uppercase).
22409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22411 elf_dynamic_do_##reloc function.
22412
fd5bdc09
UD
224132011-10-15 Ulrich Drepper <drepper@gmail.com>
22414
79b195b5
UD
22415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22416 is sufficient, at least on modern CPUs.
22417
d4a28569
UD
22418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22419
b61099b5
UD
22420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22422
bcf01e6d
UD
22423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22424 __expl_finite.
22425 * math/bits/math-finite.h: Add entries for exp.
22426 * math/e_expl.c: Add __*_finite alias.
22427 * sysdeps/i386/fpu/e_exp.S: Likewise.
22428 * sysdeps/i386/fpu/e_expf.S: Likewise.
22429 * sysdeps/i386/fpu/e_expl.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22437
ba1a0d59
UD
22438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22439 is sufficient, at least on modern CPUs.
22440
fd5bdc09
UD
22441 * ctype/ctype-info.c (__ctype_init): Define.
22442 * include/ctype.h (__ctype_init): Declare.
22443 (__ctype_b_loc): The variable is always initialized.
22444 (__ctype_toupper_loc): Likewise.
22445 (__ctype_tolower_loc): Likewise.
22446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22448
7872cfb0
AS
224492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22450
b468825a
AS
22451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22452
7872cfb0
AS
22453 * configure.in: Also look in $cxxmachine/include for C++ system
22454 headers.
22455
be13f7bf
LD
224562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22457
22458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22463 (USE_AS_WMEMCMP): New macro.
22464 Fixing indents.
22465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22476 (USE_AS_WMEMCMP): New macro.
22477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22478 * sysdeps/string/test-memcmp.c: Update.
22479 Fix simple_wmemcmp.
22480 Add new tests.
22481 * wcsmbs/wmemcmp.c: Update.
22482 (WMEMCMP): New macro.
22483 Fix overflow bug.
22484
556a2007
AJ
224852011-10-12 Andreas Jaeger <aj@suse.de>
22486
22487 [BZ #13268]
22488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22489
538faaa7
UD
224902011-10-15 Ulrich Drepper <drepper@gmail.com>
22491
ab6737ff
UD
22492 * libio/iofwide.c (do_length): Avoid warning.
22493
538faaa7
UD
22494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22495
396a21b1
UD
224962011-10-14 Ulrich Drepper <drepper@gmail.com>
22497
cdf2901f
UD
22498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22499
38ad40ce
UD
22500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22503 * sysdeps/i386/i686/fpu/e_log.S: New file.
22504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22506
396a21b1
UD
22507 * ctype/ctype.h: Add support for inlined isXXX functions when
22508 compiling C++ code.
22509
6b1f68c9
AS
225102011-10-14 Andreas Schwab <schwab@redhat.com>
22511
349290c0
AS
22512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22513
6b1f68c9
AS
22514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22515
f2282d42
RM
225162011-10-13 Roland McGrath <roland@hack.frob.com>
22517
22518 [BZ #13291]
22519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22520
5298ffa8
AS
225212011-10-13 Andreas Schwab <schwab@redhat.com>
22522
714fad23
AS
22523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22525 feraiseexcept.
22526
81dcc7fb
AS
22527 * sysdeps/x86_64/memrchr.S: Check for zero size.
22528
5298ffa8
AS
22529 * string/stratcliff.c: Add memrchr tests.
22530
951fbcec
LD
225312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22532
22533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22535 rawmemchr-sse2 rawmemchr-sse2-bsf.
22536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22546 * string/memrchr.c (MEMRCHR): New macro.
22547
0ac5ae23
UD
225482011-10-12 Ulrich Drepper <drepper@gmail.com>
22549
22550 Add integration with gcc's -ffinite-math-only and optimize wrapper
22551 functions in libm.
22552 * Versions.def: Define GLIBC_2.15 version for libm.
22553 * math/Makefile (headers): Add bits/math-finite.h.
22554 * math/bits/math-finite.h: New file.
22555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22557 * math/e_acoshl.c: Add __*_finite alias.
22558 * math/e_acosl.c: Likewise.
22559 * math/e_asinl.c: Likewise.
22560 * math/e_atan2l.c: Likewise.
22561 * math/e_atanhl.c: Likewise.
22562 * math/e_coshl.c: Likewise.
22563 * math/e_exp10.c: Likewise.
22564 * math/e_exp10f.c: Likewise.
22565 * math/e_exp10l.c: Likewise.
22566 * math/e_exp2l.c: Likewise.
22567 * math/e_fmodl.c: Likewise.
22568 * math/e_gammal_r.c: Likewise.
22569 * math/e_hypotl.c: Likewise.
22570 * math/e_j0l.c: Likewise.
22571 * math/e_j1l.c: Likewise.
22572 * math/e_jnl.c: Likewise.
22573 * math/e_lgammal_r.c: Likewise.
22574 * math/e_log10l.c: Likewise.
22575 * math/e_log2l.c: Likewise.
22576 * math/e_logl.c: Likewise.
22577 * math/e_powl.c: Likewise.
22578 * math/e_sinhl.c: Likewise.
22579 * math/e_sqrtl.c: Likewise.
22580 * math/e_scalb.c: Completely rewritten and optimized.
22581 * math/e_scalbf.c: Likewise.
22582 * math/e_scalbl.c: Likewise.
22583 * math/w_acos.c: Likewise.
22584 * math/w_acosf.c: Likewise.
22585 * math/w_acosl.c: Likewise.
22586 * math/w_acosh.c: Likewise.
22587 * math/w_acoshf.c: Likewise.
22588 * math/w_acoshl.c: Likewise.
22589 * math/w_asin.c: Likewise.
22590 * math/w_asinf.c: Likewise.
22591 * math/w_asinl.c: Likewise.
22592 * math/w_atan2.c: Likewise.
22593 * math/w_atan2f.c: Likewise.
22594 * math/w_atan2l.c: Likewise.
22595 * math/w_atanh.c: Likewise.
22596 * math/w_atanhf.c: Likewise.
22597 * math/w_atanhl.c: Likewise.
22598 * math/w_exp10.c: Likewise.
22599 * math/w_exp10f.c: Likewise.
22600 * math/w_exp10l.c: Likewise.
22601 * math/w_fmod.c: Likewise.
22602 * math/w_fmodf.c: Likewise.
22603 * math/w_fmodl.c: Likewise.
22604 * math/w_j0.c: Likewise.
22605 * math/w_j0f.c: Likewise.
22606 * math/w_j0l.c: Likewise.
22607 * math/w_j1.c: Likewise.
22608 * math/w_j1f.c: Likewise.
22609 * math/w_j1l.c: Likewise.
22610 * math/w_jn.c: Likewise.
22611 * math/w_jnf.c: Likewise.
22612 * math/w_log.c: Likewise.
22613 * math/w_logf.c: Likewise.
22614 * math/w_logl.c: Likewise.
22615 * math/w_log10.c: Likewise.
22616 * math/w_log10f.c: Likewise.
22617 * math/w_log10l.c: Likewise.
22618 * math/w_log2.c: Likewise.
22619 * math/w_log2f.c: Likewise.
22620 * math/w_log2l.c: Likewise.
22621 * math/w_pow.c: Likewise.
22622 * math/w_powf.c: Likewise.
22623 * math/w_powl.c: Likewise.
22624 * math/w_remainder.c: Likewise.
22625 * math/w_remainderf.c: Likewise.
22626 * math/w_remainderl.c: Likewise.
22627 * math/w_scalb.c: Likewise.
22628 * math/w_scalbf.c: Likewise.
22629 * math/w_scalbl.c: Likewise.
22630 * math/w_sqrt.c: Likewise.
22631 * math/w_sqrtf.c: Likewise.
22632 * math/w_sqrtl.c: Likewise.
22633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22635 used.
22636 * math/math_private.h: Declare __kernel_standard_f.
22637 * math/w_cosh.c: Remove cruft and optimize a bit.
22638 * math/w_coshf.c: Likewise.
22639 * math/w_coshl.c: Likewise.
22640 * math/w_exp2.c: Likewise.
22641 * math/w_exp2f.c: Likewise.
22642 * math/w_exp2l.c: Likewise.
22643 * math/w_hypot.c: Likewise.
22644 * math/w_hypotf.c: Likewise.
22645 * math/w_hypotl.c: Likewise.
22646 * math/w_lgamma.c: Likewise.
22647 * math/w_lgamma_r.c: Likewise.
22648 * math/w_lgammaf.c: Likewise.
22649 * math/w_lgammaf_r.c: Likewise.
22650 * math/w_lgammal.c: Likewise.
22651 * math/w_lgammal_r.c: Likewise.
22652 * math/w_sinh.c: Likewise.
22653 * math/w_sinhf.c: Likewise.
22654 * math/w_sinhl.c: Likewise.
22655 * math/w_tgamma.c: Likewise.
22656 * math/w_tgammaf.c: Likewise.
22657 * math/w_tgammal.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22661 Minor optimizations. Pretty printing. Remove cruft.
22662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22667 * sysdeps/i386/fpu/e_asin.S: Likewise.
22668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22686 * sysdeps/i386/fpu/e_log.S: Likewise.
22687 * sysdeps/i386/fpu/e_log10.S: Likewise.
22688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22690 * sysdeps/i386/fpu/e_log2.S: Likewise.
22691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22693 * sysdeps/i386/fpu/e_logf.S: Likewise.
22694 * sysdeps/i386/fpu/e_logl.S: Likewise.
22695 * sysdeps/i386/fpu/e_pow.S: Likewise.
22696 * sysdeps/i386/fpu/e_powf.S: Likewise.
22697 * sysdeps/i386/fpu/e_powl.S: Likewise.
22698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22820 (__isnanf): Likewise.
22821 (__isinf_ns): Likewise.
22822 (__isinf_nsf): Likewise.
22823 (__finite): Likewise.
22824 (__finitef): Likewise.
22825 (__ieee754_sqrt): Define as macro.
22826 (__ieee754_sqrtf): Define as macro.
22827 (__ieee754_sqrtl): Define as macro.
22828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22829 inlined copy.
22830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22831 __FINITE_MATH_ONLY__ consistent.
22832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22833
12cc2fcd
AS
228342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22835
a843a204
AS
22836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22837 of rawmemchr.
22838
12cc2fcd
AS
22839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22840
c853acd5
UD
228412011-10-09 Ulrich Drepper <drepper@gmail.com>
22842
22843 * po/ja.po: Update from translation team.
22844
c658d255
RM
228452011-10-08 Roland McGrath <roland@hack.frob.com>
22846
110946e4
RM
22847 * locale/programs/locarchive.c (prepare_address_space): New function.
22848 (create_archive, enlarge_archive, open_archive): Use it.
22849
50604220
RM
22850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22851 inside [SHARED], where it is used.
22852
c658d255
RM
22853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22854
22855 * nss/getent.c (netgroup_keys): Remove unused variable.
22856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22857
6a621eb7
UD
228582011-10-08 Ulrich Drepper <drepper@gmail.com>
22859
7edb55ce
UD
22860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22866 * math/Makefile (libm-calls): Add s_isinf_ns.
22867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22868 * math/multc3.c: Likewise.
22869 * math/s_casin.c: Likewise.
22870 * math/s_casinf.c: Likewise.
22871 * math/s_casinl.c: Likewise.
22872 * math/s_ccos.c: Likewise.
22873 * math/s_ccosf.c: Likewise.
22874 * math/s_ccosl.c: Likewise.
22875 * math/s_ctan.c: Likewise.
22876 * math/s_ctanf.c: Likewise.
22877 * math/s_ctanh.c: Likewise.
22878 * math/s_ctanhf.c: Likewise.
22879 * math/s_ctanhl.c: Likewise.
22880 * math/s_ctanl.c: Likewise.
22881 * math/w_fmod.c: Likewise.
22882 * math/w_fmodf.c: Likewise.
22883 * math/w_fmodl.c: Likewise.
22884 * math/w_remainder.c: Likewise.
22885 * math/w_remainderf.c: Likewise.
22886 * math/w_remainderl.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22895
187da0ae
UD
22896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22897 of the number.
22898 * stdio-common/printf_fphex.c: Likewise.
22899 * stdio-common/printf_size.c: Likewise.
22900
9277c064
UD
22901 * math/e_exp10.c: Include math_private.h using <...> not "...".
22902 * math/e_exp10f.c: Likewise.
22903 * math/e_exp10l.c: Likewise.
22904 * math/e_exp2l.c: Likewise.
22905 * math/e_j0l.c: Likewise.
22906 * math/e_j1l.c: Likewise.
22907 * math/e_jnl.c: Likewise.
22908 * math/e_lgammal_r.c: Likewise.
22909 * math/e_rem_pio2l.c: Likewise.
22910 * math/e_scalb.c: Likewise.
22911 * math/e_scalbf.c: Likewise.
22912 * math/e_scalbl.c: Likewise.
22913 * math/k_cosl.c: Likewise.
22914 * math/k_sinl.c: Likewise.
22915 * math/k_tanl.c: Likewise.
22916 * math/s_cacoshf.c: Likewise.
22917 * math/s_catan.c: Likewise.
22918 * math/s_catanf.c: Likewise.
22919 * math/s_catanh.c: Likewise.
22920 * math/s_catanhf.c: Likewise.
22921 * math/s_catanhl.c: Likewise.
22922 * math/s_catanl.c: Likewise.
22923 * math/s_ccosh.c: Likewise.
22924 * math/s_ccoshf.c: Likewise.
22925 * math/s_ccoshl.c: Likewise.
22926 * math/s_cexp.c: Likewise.
22927 * math/s_cexpf.c: Likewise.
22928 * math/s_cexpl.c: Likewise.
22929 * math/s_clog.c: Likewise.
22930 * math/s_clog10.c: Likewise.
22931 * math/s_clog10f.c: Likewise.
22932 * math/s_clog10l.c: Likewise.
22933 * math/s_clogf.c: Likewise.
22934 * math/s_clogl.c: Likewise.
22935 * math/s_csin.c: Likewise.
22936 * math/s_csinf.c: Likewise.
22937 * math/s_csinh.c: Likewise.
22938 * math/s_csinhf.c: Likewise.
22939 * math/s_csinhl.c: Likewise.
22940 * math/s_csinl.c: Likewise.
22941 * math/s_csqrt.c: Likewise.
22942 * math/s_csqrtf.c: Likewise.
22943 * math/s_csqrtl.c: Likewise.
22944 * math/s_ctan.c: Likewise.
22945 * math/s_ctanf.c: Likewise.
22946 * math/s_ctanh.c: Likewise.
22947 * math/s_ctanhf.c: Likewise.
22948 * math/s_ctanhl.c: Likewise.
22949 * math/s_ctanl.c: Likewise.
22950 * math/s_ldexp.c: Likewise.
22951 * math/s_ldexpf.c: Likewise.
22952 * math/s_ldexpl.c: Likewise.
22953 * math/s_significand.c: Likewise.
22954 * math/s_significandf.c: Likewise.
22955 * math/s_significandl.c: Likewise.
22956 * math/w_acos.c: Likewise.
22957 * math/w_acosf.c: Likewise.
22958 * math/w_acosh.c: Likewise.
22959 * math/w_acoshf.c: Likewise.
22960 * math/w_acoshl.c: Likewise.
22961 * math/w_acosl.c: Likewise.
22962 * math/w_asin.c: Likewise.
22963 * math/w_asinf.c: Likewise.
22964 * math/w_asinl.c: Likewise.
22965 * math/w_atan2.c: Likewise.
22966 * math/w_atan2f.c: Likewise.
22967 * math/w_atan2l.c: Likewise.
22968 * math/w_atanh.c: Likewise.
22969 * math/w_atanhf.c: Likewise.
22970 * math/w_atanhl.c: Likewise.
22971 * math/w_cosh.c: Likewise.
22972 * math/w_coshf.c: Likewise.
22973 * math/w_coshl.c: Likewise.
22974 * math/w_dremf.c: Likewise.
22975 * math/w_exp10.c: Likewise.
22976 * math/w_exp10f.c: Likewise.
22977 * math/w_exp10l.c: Likewise.
22978 * math/w_exp2.c: Likewise.
22979 * math/w_exp2f.c: Likewise.
22980 * math/w_fmod.c: Likewise.
22981 * math/w_fmodf.c: Likewise.
22982 * math/w_fmodl.c: Likewise.
22983 * math/w_hypot.c: Likewise.
22984 * math/w_hypotf.c: Likewise.
22985 * math/w_hypotl.c: Likewise.
22986 * math/w_j0.c: Likewise.
22987 * math/w_j0f.c: Likewise.
22988 * math/w_j0l.c: Likewise.
22989 * math/w_j1.c: Likewise.
22990 * math/w_j1f.c: Likewise.
22991 * math/w_j1l.c: Likewise.
22992 * math/w_jn.c: Likewise.
22993 * math/w_jnf.c: Likewise.
22994 * math/w_jnl.c: Likewise.
22995 * math/w_lgamma.c: Likewise.
22996 * math/w_lgamma_r.c: Likewise.
22997 * math/w_lgammaf.c: Likewise.
22998 * math/w_lgammaf_r.c: Likewise.
22999 * math/w_lgammal.c: Likewise.
23000 * math/w_lgammal_r.c: Likewise.
23001 * math/w_log.c: Likewise.
23002 * math/w_log10.c: Likewise.
23003 * math/w_log10f.c: Likewise.
23004 * math/w_log10l.c: Likewise.
23005 * math/w_log2.c: Likewise.
23006 * math/w_log2f.c: Likewise.
23007 * math/w_log2l.c: Likewise.
23008 * math/w_logf.c: Likewise.
23009 * math/w_logl.c: Likewise.
23010 * math/w_pow.c: Likewise.
23011 * math/w_powf.c: Likewise.
23012 * math/w_powl.c: Likewise.
23013 * math/w_remainder.c: Likewise.
23014 * math/w_remainderf.c: Likewise.
23015 * math/w_remainderl.c: Likewise.
23016 * math/w_scalb.c: Likewise.
23017 * math/w_scalbf.c: Likewise.
23018 * math/w_scalbl.c: Likewise.
23019 * math/w_sinh.c: Likewise.
23020 * math/w_sinhf.c: Likewise.
23021 * math/w_sinhl.c: Likewise.
23022 * math/w_sqrt.c: Likewise.
23023 * math/w_sqrtf.c: Likewise.
23024 * math/w_sqrtl.c: Likewise.
23025 * math/w_tgamma.c: Likewise.
23026 * math/w_tgammaf.c: Likewise.
23027 * math/w_tgammal.c: Likewise.
23028
6a621eb7
UD
23029 * po/ja.po: Update from translation team.
23030
bf582445
AJ
230312011-09-29 Andreas Jaeger <aj@suse.de>
23032
f9efbf3a
AJ
23033 [BZ #13179]
23034 * sunrpc/netname.c (netname2host): Fix logic.
23035
bf582445
AJ
23036 [BZ #6779]
23037 [BZ #6783]
23038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23039 correctly.
23040 * math/w_remainder.c (__remainder): Likewise.
23041 * math/w_remainderf.c (__remainderf): Likewise.
23042 * math/libm-test.inc (remainder_test): Add test cases.
23043
48693bea
AK
230442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23045
23046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23047 sdiv_qrnnd.
23048
42622229
LD
230492011-10-07 Ulrich Drepper <drepper@gmail.com>
23050
23051 * string/test-memcmp.c: Avoid unncessary #defines.
23052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23053
093ecf92
LD
230542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23055
23056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23057 Use new sse2 version for core i3 - i7 as it's faster
23058 than sse42 version.
23059 (bit_Prefer_PMINUB_for_stringop): New.
23060 * sysdeps/x86_64/rawmemchr.S: Update.
23061 Replace with faster SSE2 version.
23062 * sysdeps/x86_64/memrchr.S: New file.
23063 * sysdeps/x86_64/memchr.S: Update.
23064 Replace with faster SSE2 version.
23065
fde56e5c
MP
230662011-09-12 Marek Polacek <mpolacek@redhat.com>
23067
23068 * elf/dl-load.c (lose): Add cast to avoid warning.
23069
21fd49a9
UD
230702011-10-07 Ulrich Drepper <drepper@gmail.com>
23071
5a06e643
UD
23072 * po/ca.po: Update from translation team.
23073
684ae515
UD
23074 * inet/getnetgrent_r.c: Hook up nscd.
23075 * nscd/Makefile (routines): Add nscd_netgroup.
23076 (nscd-modules): Add netgroupcache.
23077 (CFLAGS-netgroupcache.c): Define.
23078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23079 (cache_search): Add const to second parameter.
23080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23081 INNETGR.
23082 (dbs): Add netgrdb entry.
23083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23084 (verify_persistent_db): Handle netgrdb.
23085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23087 GETFDNETGR.
23088 (netgroup_response_header): Define.
23089 (innetgroup_response_header): Define.
23090 (datahead): Add netgroup_response_header and innetgroup_response_header
23091 elements.
23092 * nscd/nscd.conf: Add entries for netgroup cache.
23093 * nscd/nscd.h (dbtype): Add netgrdb.
23094 (_PATH_NSCD_NETGROUP_DB): Define.
23095 (netgroup_iov_disabled): Declare.
23096 (xmalloc, xcalloc, xrealloc): Move declarations here.
23097 (cache_search): Adjust prototype.
23098 Add netgroup-related prototypes.
23099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23101 (__nscd_innetgr): Declare.
23102 * nscd/selinux.c (perms): Use access_vector_t as element type and
23103 add netgroup-related initializers.
23104 * nscd/netgroupcache.c: New file.
23105 * nscd/nscd_netgroup.c: New file.
23106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23108 For four parameters use innetgr.
23109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23113
21fd49a9
UD
23114 * nscd/connections.c (register_traced_file): Don't register file
23115 for disabled databases.
23116
054c0457
UD
231172011-10-06 Ulrich Drepper <drepper@gmail.com>
23118
32b63198
UD
23119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23120
054c0457
UD
23121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23122 from tree and freeing node.
23123
64031225
JO
231242011-09-25 Jiri Olsa <jolsa@redhat.com>
23125
23126 * nss/nsswitch.c (__nss_database_lookup): Handle
23127 nss_parse_service_list out of memory case.
23128
0490345c
JO
231292011-09-15 Jiri Olsa <jolsa@redhat.com>
23130
23131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23132 out of memory case.
23133
3a62d00d
AS
231342011-10-04 Andreas Schwab <schwab@redhat.com>
23135
23136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23138 pass it down.
23139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23140 elf_machine_rela, elf_machine_lazy_rel.
23141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23142 (ELF_DYNAMIC_DO_REL): Likewise.
23143 (ELF_DYNAMIC_DO_RELA): Likewise.
23144 (ELF_DYNAMIC_RELOCATE): Likewise.
23145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23146 to ELF_DYNAMIC_DO_REL.
23147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23150 elf_machine_rela.
23151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23152 skip_ifunc, don't call ifunc function if non-zero.
23153 (elf_machine_rela): Likewise.
23154 (elf_machine_lazy_rel): Likewise.
23155 (elf_machine_lazy_rela): Likewise.
23156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23157 (elf_machine_lazy_rel): Likewise.
23158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23159 Likewise.
23160 (elf_machine_lazy_rel): Likewise.
23161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23162 Likewise.
23163 (elf_machine_lazy_rel): Likewise.
23164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23165 (elf_machine_lazy_rel): Likewise.
23166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23167 (elf_machine_lazy_rel): Likewise.
23168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23169 (elf_machine_lazy_rel): Likewise.
23170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23171 (elf_machine_lazy_rel): Likewise.
23172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23173 (elf_machine_lazy_rel): Likewise.
23174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23175 (elf_machine_lazy_rel): Likewise.
23176
68577918
UD
231772011-09-28 Ulrich Drepper <drepper@gmail.com>
23178
23179 * nss/nss_files/files-init.c (_nss_files_init): Use static
23180 initialization for all the *_traced_file variables.
23181
68822d74
AS
231822011-09-28 Andreas Schwab <schwab@redhat.com>
23183
23184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23185
2056100b
RM
231862011-09-27 Roland McGrath <roland@hack.frob.com>
23187
23188 [BZ #13226]
23189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23190
32c76b63
AS
231912011-09-27 Andreas Schwab <schwab@redhat.com>
23192
23193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23194 Reread the line before reparsing it.
23195
bf972c9d
AS
231962011-09-26 Andreas Schwab <schwab@redhat.com>
23197
23198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23199
e057a1b5
JM
232002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23201 Maxim Kuvyrkov <maxim@codesourcery.com>
23202 Joseph Myers <joseph@codesourcery.com>
23203
23204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23205 if needed for __stack_chk_guard.
23206
bc7e1c36
RM
232072011-09-19 Roland McGrath <roland@hack.frob.com>
23208
ecb1482f
RM
23209 * sysdeps/posix/spawni.c (script_execute): Always define it.
23210 It will be optimized away if unused.
23211 (maybe_script_execute): New function.
23212 (__spawni): Call it.
23213
bc7e1c36
RM
23214 * Makerules: Don't include tls.make.
23215 (config-tls): Always set to thread.
23216 * tls.make.c: File removed.
23217
1c3b002b
MF
232182011-09-19 Mike Frysinger <vapier@gentoo.org>
23219
23220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23221 * config.make.in (CPPFLAGS-config): New substituted variable.
23222
2840865d
UD
232232011-09-15 Ulrich Drepper <drepper@gmail.com>
23224
88738eb6
UD
23225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23226
cbf645a6 23227 [BZ #13192]
2840865d
UD
23228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23230
b402e91a
RM
232312011-09-15 Roland McGrath <roland@hack.frob.com>
23232
23233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23236 (CALL_FAIL): Likewise.
23237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23238 (CALL_FAIL): Macro removed.
23239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23240
4c1a1f71
UD
232412011-09-15 Ulrich Drepper <drepper@gmail.com>
23242
23243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23244 for __FINITE_MATH_ONLY__ == 1.
23245
edc121be
AS
232462011-09-15 Andreas Schwab <schwab@redhat.com>
23247
23248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23249 __ieee754_sqrt instead of sqrt.
23250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23251 __ieee754_sqrtf instead of sqrtf.
23252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23253 __floorf instead of floorf.
23254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23255 __floorf, __truncf instead of floorf, truncf.
23256
cd205654
UD
232572011-09-14 Ulrich Drepper <drepper@gmail.com>
23258
ee4d0315
UD
23259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23260
cd205654
UD
23261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23262 __extern_always_inline.
23263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23264 32-bit.
23265
48b67d71
AS
232662011-09-14 Andreas Schwab <schwab@redhat.com>
23267
23268 * elf/rtld.c (dl_main): Also relocate in dependency order when
23269 doing symbol dependency testing.
23270
1ae12c75
AS
232712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23272
23273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23274 Always define `refsym'.
23275
995a80df
AS
232762011-09-13 Andreas Schwab <schwab@redhat.com>
23277
e529793b
AS
23278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23279 (__FD_ELT): Renamed from __FDELT.
23280 * misc/bits/select2.h (__FD_ELT): Likewise.
23281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23282 __FD_MASK instead of __FDELT, __FDMASK.
23283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23284 Likewise.
23285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23286 Likewise.
23287
52d4fef8
AS
23288 * elf/Makefile (gen-ldd): Fix pattern.
23289
995a80df
AS
23290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23291 (init_tls): Likewise.
23292
8682f8b0
UD
232932011-09-12 Ulrich Drepper <drepper@gmail.com>
23294
23295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23296
de82006d
AS
232972011-09-12 Andreas Schwab <schwab@redhat.com>
23298
a7c8e6a1
AS
23299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23300 `struct cmsghdr *' instead of `void *'.
23301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23302 Likewise.
23303
0f31fe77
AS
233042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23305
23306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23307 if non-absolute.
23308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23309 ldd_rewrite_script.
0f31fe77 23310
32b4c839
UD
233112011-09-11 Ulrich Drepper <drepper@gmail.com>
23312
83cd1420
UD
23313 * configure.in: Remove --with-tls option.
23314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23316 out in case it is missing.
23317 * sysdeps/ia64/elf/configure.in: Likewise.
23318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23322 * sysdeps/sh/elf/configure.in: Likewise.
23323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23325 * sysdeps/x86_64/elf/configure.in: Likewise.
23326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23327 * sysdeps/mach/hurd/tls.h: Likewise.
23328
633f745d
UD
23329 [BZ #13067]
23330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23331
f318beb8
UD
23332 [BZ #13090]
23333 * configure.in: Fix use of AC_INIT.
23334
32b4c839
UD
23335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23336
3ce1f295
UD
233372011-09-10 Ulrich Drepper <drepper@gmail.com>
23338
bb016596
UD
23339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23340 __set_errno.
8e58439c
UD
23341 * malloc/hooks.c: Likewise.
23342
aebae053 23343 [BZ #11929]
02d46fc4
UD
23344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23345 variables statically.
23346 (narenas): Initialize.
23347 (list_lock): Initialize.
bb016596
UD
23348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23349 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23352 Add initializers to main_arena and mp_.
23353 (malloc_state): Remove pagesize member. Change all users to use
23354 GLRO(dl_pagesize).
23355
23356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23358 is always initialized.
23359
22a89187
UD
23360 * malloc/malloc.c: Removed unused configurations and dead code.
23361 * malloc/arena.c: Likewise.
23362 * malloc/hooks.c: Likewise.
02d46fc4 23363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23364
d063d164
UD
23365 * include/tls.h: Removed. USE___THREAD must always be defined.
23366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23367 * elf/dl-libc.c: Likewise.
23368 * elf/dl-tsd.c: Likewise.
23369 * include/errno.h: Likewise.
23370 * include/netdb.h: Likewise.
23371 * include/resolv.h: Likewise.
23372 * inet/herrno-loc.c: Likewise.
23373 * inet/herrno.c: Likewise.
23374 * malloc/arena.c: Likewise.
23375 * malloc/hooks.c: Likewise.
23376 * malloc/malloc.c: Likewise.
23377 * resolv/res-state.c: Likewise.
23378 * resolv/res_libc.c: Likewise.
23379 * sysdeps/i386/dl-machine.h: Likewise.
23380 * sysdeps/ia64/dl-machine.h: Likewise.
23381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23385 * sysdeps/sh/dl-machine.h: Likewise.
23386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23388 * sysdeps/unix/i386/sysdep.S: Likewise.
23389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23400 * sysdeps/x86_64/dl-machine.h: Likewise.
23401 * tls.make.c: Likewise.
23402
3ce1f295
UD
23403 * configure.in: Remove --with-__thread option. Make tests for
23404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23405 tls_model attribute fail if no support is available. Remove
23406 USE_IN_LIBIO.
23407 * Makeconfig: Adjust for dropped configure option. All features are
23408 now mandatory.
23409 * Makerules: Likewise.
23410 * Versions.def: Likewise.
23411 * argp/argp-fmtstream.c: Likewise.
23412 * argp/argp-fmtstream.h: Likewise.
23413 * argp/argp-help.c: Likewise.
23414 * assert/assert.c: Likewise.
23415 * config.h.in: Likewise.
23416 * config.make.in: Likewise.
23417 * configure: Likewise.
23418 * configure.in: Likewise.
23419 * csu/Versions: Likewise.
23420 * csu/init.c: Likewise.
23421 * elf/tst-audit2.c: Likewise.
23422 * elf/tst-tls10.c: Likewise.
23423 * elf/tst-tls10.h: Likewise.
23424 * elf/tst-tls11.c: Likewise.
23425 * elf/tst-tls12.c: Likewise.
23426 * elf/tst-tls14.c: Likewise.
23427 * elf/tst-tlsmod11.c: Likewise.
23428 * elf/tst-tlsmod12.c: Likewise.
23429 * elf/tst-tlsmod13.c: Likewise.
23430 * elf/tst-tlsmod13a.c: Likewise.
23431 * elf/tst-tlsmod14a.c: Likewise.
23432 * elf/tst-tlsmod15b.c: Likewise.
23433 * elf/tst-tlsmod16a.c: Likewise.
23434 * elf/tst-tlsmod16b.c: Likewise.
23435 * elf/tst-tlsmod7.c: Likewise.
23436 * elf/tst-tlsmod8.c: Likewise.
23437 * elf/tst-tlsmod9.c: Likewise.
23438 * gmon/gmon.c: Likewise.
23439 * grp/fgetgrent_r.c: Likewise.
23440 * grp/putgrent.c: Likewise.
23441 * hurd/fopenport.c: Likewise.
23442 * include/libc-symbols.h: Likewise.
23443 * include/tls.h: Likewise.
23444 * intl/gettextP.h: Likewise.
23445 * intl/loadinfo.h: Likewise.
23446 * locale/global-locale.c: Likewise.
23447 * locale/localeinfo.h: Likewise.
23448 * mach/devstream.c: Likewise.
23449 * malloc/arena.c: Likewise.
23450 * malloc/set-freeres.c: Likewise.
23451 * misc/err.c: Likewise.
23452 * misc/getttyent.c: Likewise.
23453 * misc/mntent_r.c: Likewise.
23454 * posix/getopt.c: Likewise.
23455 * posix/wordexp.c: Likewise.
23456 * pwd/fgetpwent_r.c: Likewise.
23457 * resolv/Versions: Likewise.
23458 * resolv/res_hconf.c: Likewise.
23459 * shadow/fgetspent_r.c: Likewise.
23460 * shadow/putspent.c: Likewise.
23461 * stdio-common/printf_fphex.c: Likewise.
23462 * stdio-common/tmpfile.c: Likewise.
23463 * stdlib/abort.c: Likewise.
23464 * stdlib/fmtmsg.c: Likewise.
23465 * sunrpc/auth_unix.c: Likewise.
23466 * sunrpc/clnt_perr.c: Likewise.
23467 * sunrpc/clnt_tcp.c: Likewise.
23468 * sunrpc/clnt_udp.c: Likewise.
23469 * sunrpc/clnt_unix.c: Likewise.
23470 * sunrpc/openchild.c: Likewise.
23471 * sunrpc/svc_simple.c: Likewise.
23472 * sunrpc/svc_tcp.c: Likewise.
23473 * sunrpc/svc_udp.c: Likewise.
23474 * sunrpc/svc_unix.c: Likewise.
23475 * sunrpc/xdr.c: Likewise.
23476 * sunrpc/xdr_array.c: Likewise.
23477 * sunrpc/xdr_rec.c: Likewise.
23478 * sunrpc/xdr_ref.c: Likewise.
23479 * sunrpc/xdr_stdio.c: Likewise.
23480
1248c1c4
PB
234812011-09-09 Ulrich Drepper <drepper@gmail.com>
23482
23483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23484
234852011-07-03 Andreas Jaeger <aj@suse.de>
23486
23487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23489 regenerate with gen-libm-tests.pl.
23490
234912010-05-12 Petr Baudis <pasky@suse.cz>
23492
23493 [BZ #11589]
23494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23495 around j0() zero points by switching to j1().
23496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23500
f22e1074
UD
235012011-09-09 Ulrich Drepper <drepper@gmail.com>
23502
f19009c1
UD
23503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23504 instead of 0.
23505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23506 instead of 0.
f19009c1
UD
23507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23508 Patch in part by Pavel Roskin <proski@gnu.org>.
23509
3f8cc204
UD
23510 [BZ #13138]
23511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23512 realloc.
23513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23514 Free memory block if necessary.
23515
f22e1074
UD
23516 [BZ #12847]
23517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23518 be NULL. Don't lock in this case.
23519
0a2349f9
RM
235202011-09-09 Roland McGrath <roland@hack.frob.com>
23521
23522 * elf/elf.h (ELFOSABI_GNU): New macro.
23523 (ELFOSABI_LINUX): Define to that.
23524
f3cdd467
DZ
235252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23526
23527 * string/strncat.c (strncat): Undef the symbol in case it has been
23528 defined in bits/string.h.
23529
74718d13
UD
235302011-09-09 Ulrich Drepper <drepper@gmail.com>
23531
633e9e0f
UD
23532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23533
0a2349f9 23534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23535 link map.
23536
f9924780
AJ
235372011-08-17 Andreas Jaeger <aj@suse.de>
23538
23539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23540
7f5517aa
PP
235412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23542 Ian Lance Taylor <iant@google.com>
23543
23544 * math/libm-test.inc (lround_test): New testcase.
23545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23546
762011fe
UD
235472011-09-08 Ulrich Drepper <drepper@gmail.com>
23548
92963737
UD
23549 * Makefile: Remove support for automatic cvs check-ins.
23550 * Makerules: Likewise.
23551 * config.make.in: Likewise.
23552 * configure.in: Likewise.
23553 * intl/Makefile: Likewise.
23554 * locale/Makefile: Likewise.
23555 * po/Makefile: Likewise.
23556 * posix/Makefile: Likewise.
23557 * sysdeps/gnu/Makefile: Likewise.
23558 * sysdeps/mach/hurd/Makefile: Likewise.
23559 * sysdeps/sparc/sparc32/Makefile: Likewise.
23560
b0727fd8
JS
23561 [BZ #13118]
23562 * posix/Makefile (bug-regex32-ENV): Define.
23563 Patch by John Stanley <jpsinthemix@verizon.net>.
23564
a0f33f99
UD
23565 * misc/Makefile (headers): Add bits/select2.h.
23566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23567 * misc/bits/select2.h: New file.
23568 * include/bits/select2.h: New file.
23569 * debug/Makefile (routines): Add fdelt_chk.
23570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23572 FD_ISSET.
23573 * debug/fdelt_chk.c: New file.
23574
762011fe
UD
23575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23576 * wcsmbs/test-wmemcmp.c: Likewise.
23577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23579
235802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23581
23582 * string/Makefile (strop-tests): Add memcmp.
23583 * string/test-wmemcmp.c: New file.
23584 * string/test-memcmp.c: Add wmemcmp support.
23585
7f513ec8
RM
235862011-09-08 Roland McGrath <roland@hack.frob.com>
23587
0442afb4
RM
23588 [BZ #13153]
23589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23590 2011-07-19 change.
23591
7f513ec8
RM
23592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23593 garbage value in a __mach_port_mod_refs call in the cases of the
23594 task-self and thread-self ports.
23595
a12b2239
ST
235962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23597
23598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23599
610f9ab4
AS
236002011-09-08 Andreas Schwab <schwab@redhat.com>
23601
7f513ec8 23602 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23603
48882a1a
LD
236042011-09-07 Ulrich Drepper <drepper@gmail.com>
23605
b49865be
UD
23606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23607
fdc86bc9
UD
23608 * elf/dl-libc.c (dlerror_run): Pass back error code from
23609 dl_catch_error.
23610
c966526a
UD
23611 [BZ #13123]
23612 * elf/dl-load.c (lose): Free l_origin if it is valid.
23613
48882a1a
LD
23614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23615 names.
23616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23622
77a2a8b4
AZ
236232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23624
23625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23635
24f579d8
AM
236362011-08-15 Alan Modra <amodra@gmail.com>
23637
23638 [BZ #13092]
23639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23642 ppc_mcount to static-only-routines.
23643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23644 __mcount_internal.
23645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23647
3d4837df
UD
236482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23649
23650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23651 for finite and infinity parameters.
23652
22700377
WS
236532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23654
23655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23656 and add nop instructions for throughput optimization.
23657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23658
5025581e
WS
236592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23660
23661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23662 aligned copy for power7 with vector-scalar instructions.
23663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23664
08a300c9
L
236652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23666
23667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23668 AVX check.
23669
59178ef9
AS
236702011-09-07 Andreas Schwab <schwab@redhat.com>
23671
23672 [BZ #13144]
23673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23674 last change.
23675
e38ba7ab
UD
236762011-09-07 Ulrich Drepper <drepper@gmail.com>
23677
23678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23682 clock_gettime.
23683
d53a73ac
UD
236842011-09-06 Ulrich Drepper <drepper@gmail.com>
23685
fc8bffcc
UD
23686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23687 Forgot to demangle the pointer.
23688
ceaa0c5d
UD
23689 * sysdeps/i386/sysdep.h: Define atom_text_section.
23690 * sysdeps/x86_64/sysdep.h: Likewise.
23691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23692 section with atom_text_section.
23693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23698
a77d3c17
UD
23699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23701 already be defined. Change to take two parameters and don't assign
23702 result to variable. Adjust all users.
23703 Define INTERNAL_GETTIME if not already defined.
23704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23705 call.
23706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23707 HAVE_CLOCK_GETTIME_VSYSCALL.
23708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23709
d53a73ac
UD
23710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23711 gettimeofday vsyscall, just use time.
23712
a8f84144
AS
237132011-09-06 Andreas Schwab <schwab@redhat.com>
23714
23715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23716 <errno.h>.
23717
ef606249
UD
237182011-09-06 Ulrich Drepper <drepper@gmail.com>
23719
23720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23721 syscall on x86-64.
23722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23723 syscall.
23724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23726 syscall if possible.
23727
6585cb60
UD
237282011-09-05 Ulrich Drepper <drepper@gmail.com>
23729
23730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23731 e_ident. Don't pass to find_mapsXX.
23732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23733
a5f524e4
LD
237342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23735
23736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23738 * sysdeps/x86_64/multiarch/strchr.S: Update.
23739 Check bit_slow_BSF bit.
23740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23743
554881ef
UD
237442011-09-05 Ulrich Drepper <drepper@gmail.com>
23745
d96de963
UD
23746 [BZ #13134]
23747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23748 before glibc 2.15.
23749 (tryshell): Define.
23750 (__spawni): Change last parameter to be flag. Test
23751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23754 * posix/spawni.c: Likewise.
23755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23756 * posix/spawnp.c: Likewise. Change normal version to use
23757 SPAWN_XFLAGS_USE_PATH.
23758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23759 SPAWN_XFLAGS_TRY_SHELL.
23760
d48e5868
UD
23761 [BZ #13150]
23762 * posix/glob.h: Remove gcc 1.x support.
23763
554881ef
UD
23764 [BZ #13068]
23765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23766
693fb948
LD
237672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23768
23769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23771 strrchr-sse2-bsf
23772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23778
1b48c537
UD
237792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23780
49d42c37
UD
23781 * sysdeps/x86_64/wcscmp.S: New file.
23782
1b48c537
UD
23783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23784 wcscmp-c wcscmp-sse2
23785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23788 * wcsmbs/wcscmp.c: Allow renaming.
23789
15c95c5d
DM
237902011-09-05 David S. Miller <davem@davemloft.net>
23791
23792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23793 stack slot, rather than the struct return pointer slot.
23794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23798
2f0ad8f3
UD
237992011-09-05 Ulrich Drepper <drepper@gmail.com>
23800
d88ae418
UD
23801 * po/ja.po: Update from translation team.
23802
2f0ad8f3
UD
23803 [BZ #13144]
23804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23805 kernel in 64-bit binaries.
23806
5f4318d1
DM
238072011-09-01 David S. Miller <davem@davemloft.net>
23808
23809 * elf/elf.h (HWCAP_SPARC_*): Move to..
23810 * sysdeps/sparc/sysdep.h: this new file and add new values.
23811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23813 _DL_HWCAP_COUNT to 24.
23814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23815 entries.
23816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23820 instead of magic constants.
23821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23822
3ba57516
DM
238232011-08-31 David S. Miller <davem@davemloft.net>
23824
23825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23827 Reimplement to do errno handling inline.
23828 (SYSCALL_ERROR_HANDLER): New macro.
23829 (__SYSCALL_STRING): Do not do errno handling in asm.
23830 (__CLONE_SYSCALL_STRING): Delete.
23831 (__INTERNAL_SYSCALL_STRING): Delete.
23832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23834 (PSEUDO): Reimplement to do errno handling inline.
23835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23836 (SYSCALL_ERROR_HANDLER): New macro.
23837 (__SYSCALL_STRING): Do not do errno handling in asm.
23838 (__CLONE_SYSCALL_STRING): Delete.
23839 (__INTERNAL_SYSCALL_STRING): Delete.
23840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23842 i386.
23843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23844 (inline_syscall*): Add 'err' argument.
23845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23849
23850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23852
2bc17433
AS
238532011-08-30 Andreas Schwab <schwab@redhat.com>
23854
23855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23856
fbeb5f4d
JO
238572011-08-29 Jiri Olsa <jolsa@redhat.com>
23858
23859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23860 directive.
23861
ad69cc26
DM
238622011-08-24 David S. Miller <davem@davemloft.net>
23863
23864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23865
39dd69df
AS
238662011-08-24 Andreas Schwab <schwab@redhat.com>
23867
23868 * elf/Makefile: Add rules to build and run unload8 test.
23869 * elf/unload8.c: New file.
23870 * elf/unload8mod1.c: New file.
23871 * elf/unload8mod1x.c: New file.
23872 * elf/unload8mod2.c: New file.
23873 * elf/unload8mod3.c: New file.
23874
23875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23876 it wasn't used.
23877
2c0b250a
DM
238782011-08-23 David S. Miller <davem@davemloft.net>
23879
23880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23881 subtract stack bias.
23882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23883 %sp not %fp in calculations.
23884 (_JMPBUF_UNWINDS_ADJ): Likewise.
23885
22044b48
DM
23886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23887 (aio_suspend): Call it to force an exception region around the
23888 AIO_MISC_WAIT() invocation.
23889
2cae4995
AS
238902011-08-23 Andreas Schwab <schwab@redhat.com>
23891
23892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23893 backslash.
23894
873a772e
AJ
238952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23896
23897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23898 protection macro.
23899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23900 and <dl-machine.h>.
23901 (Elf64_FuncDesc): Remove.
23902
25ad0df1
DM
239032011-08-22 David S. Miller <davem@davemloft.net>
23904
23905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23906 sigaltstack check, add missing cfi directives.
23907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23908 missing cfi directives, and sigaltstack handling.
23909
e888bcbe
AS
239102011-08-16 Andreas Schwab <schwab@redhat.com>
23911
23912 [BZ #11724]
23913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23914 object is seen twice.
23915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23916
23917 * elf/Makefile (distribute): Add tst-initorder2.c.
23918 (tests): Add tst-initorder2.
23919 (modules-names): Add tst-initorder2a tst-initorder2b
23920 tst-initorder2c tst-initorder2d. Add rules to build them.
23921 ($(objpfx)tst-initorder2.out): New rule.
23922 * elf/tst-initorder2.c: New file.
23923 * elf/tst-initorder2.exp: New file.
23924
87162f46
AS
239252011-08-22 Andreas Schwab <schwab@redhat.com>
23926
70538b7f
AS
23927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23928
f55ffe58
AS
23929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23930 dependencies back to end of function.
23931
87162f46
AS
23932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23933 $(elfobjdir)/ld.so.
23934
91b392a4
UD
239352011-08-21 Ulrich Drepper <drepper@gmail.com>
23936
23937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23942 of __vdso_gettimeofday.
23943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23945 attribute_hidden.
23946 (_libc_vdso_platform_setup): Remove initialization of
23947 __vdso_gettimeofday and __vdso_time.
23948
5c43483f
UD
239492011-08-20 Ulrich Drepper <drepper@gmail.com>
23950
775a77e7
UD
23951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23952 and fgetc_unlocked.
23953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23954 getc_unlocked.
89f447ed 23955
49c74ba9
UD
23956 * elf/dl-open.c (add_to_global): Report additions to the global scope
23957 for LD_DEBUG=scopes.
23958 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23959 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23960
5c43483f
UD
23961 [BZ #13114]
23962 * stdio-common/Makefile (tests): Add bug24.
23963 * stdio-common/bug24.c: New file.
23964
a101b025
AJ
239652011-08-19 Andreas Jaeger <aj@suse.de>
23966
23967 [BZ #13114]
23968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23969 non-existant file when using close-on-exec mode.
23970
c88f1766
UD
239712011-08-20 Ulrich Drepper <drepper@gmail.com>
23972
0276a718
UD
23973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23974 the very first instruction.
23975
c88f1766
UD
23976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23977 the CFI state in the end.
23978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23979 inclusion of dl-trampoline.h.
23980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23981
51ccffa0
AS
239822011-08-19 Andreas Schwab <schwab@redhat.com>
23983
94d7165f
AS
23984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23985 expectations for long double.
23986
51ccffa0
AS
23987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23989
fd708658 239902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23991
23992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23993 artificual limit depends upon the system page size.
23994
44f0a71e
UD
239952011-08-17 Ulrich Drepper <drepper@gmail.com>
23996
23997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23998 * resolv/Makefile: Define CFLAGS-libresolv.
23999
8de79a24
AS
240002011-08-17 Andreas Schwab <schwab@redhat.com>
24001
24002 * nss/makedb.c (compute_tables): Make variables used in nested
24003 function static.
24004
27724598
UD
240052011-08-17 Ulrich Drepper <drepper@gmail.com>
24006
c5305d88
UD
24007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24009 if buffer was too small.
24010
27724598
UD
24011 * elf/pldd.c (main): Attach to all threads in the process.
24012 Rewrite /proc handling to use *at functions.
24013
076fe015
UD
240142011-08-16 Ulrich Drepper <drepper@gmail.com>
24015
174baab3
UD
24016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24017 specifies first scope to show.
24018 (dl_open_worker): Update callers. Move printing scope of new
24019 object to before the relocation.
44f0a71e 24020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24021 * sysdeps/generic/ldsodefs.h: Update declaration.
24022
076fe015
UD
24023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24024 string for the scope number.
24025
a60df2c3
UD
240262011-08-14 Ulrich Drepper <drepper@gmail.com>
24027
24028 * nscd/servicescache.c (cache_addserv): Make sure written is always
24029 initialized.
24030
5e4287d1
RM
240312011-08-14 Roland McGrath <roland@hack.frob.com>
24032
85ae0589
RM
24033 * sysdeps/i386/i486/bits/atomic.h
24034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24035 statement expression, so as to suppress "set but not used" warning.
24036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24037
69f63097
RM
24038 * string/strncat.c (STRNCAT): Use prototype definition.
24039
675456ef
RM
24040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24042 -Iprograms here.
24043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24044 (localedef-modules): Add localedef.
24045 (locale-modules): Add locale.
24046
5e4287d1
RM
24047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24049 to avoid a warning.
24050
9c96ff23
DM
240512011-08-14 David S. Miller <davem@davemloft.net>
24052
24053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24055
f9ddf089
UD
240562011-08-13 Ulrich Drepper <drepper@gmail.com>
24057
44f0a71e 24058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24060 * elf/rtld.c (dl_main): Set l_name of vDSO.
24061 Call _dl_show_scope when DL_DEBUG_SCOPES.
24062 (process_dl_debug): Recognize scopes flag and also set it for all.
24063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24064 Declare _dl_show_scope.
24065
1dc27704
UD
24066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24067 (do_dlopen): Pass caller_dlopen to dl_open.
24068 (__libc_dlopen_mode): Initialize caller_dlopen.
24069
f9ddf089
UD
24070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24071 of libc. Make tolower call locale-independent. Optimize a bit by
24072 using isdigit instead of isalnum.
24073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24074
9ac533d3
UD
240752011-08-12 Ulrich Drepper <drepper@gmail.com>
24076
24077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24078 was a dependency or dynamically loaded.
24079
89edf2e9
UD
240802011-08-11 Ulrich Drepper <drepper@gmail.com>
24081
8e999d29
UD
24082 * intl/l10nflist.c: Allow architecture-specific pop function.
24083 * sysdeps/x86_64/l10nflist.c: New file.
24084
89edf2e9
UD
24085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24086 classification.
24087
14d96785
AS
240882011-08-10 Andreas Schwab <schwab@redhat.com>
24089
24090 * include/dirent.h: Add libc_hidden_proto for scandirat and
24091 scandirat64. Don't declare __scandirat64.
24092 * dirent/scandirat.c: Add libc_hidden_def.
24093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24095
6761ac04
DM
240962011-08-10 David S. Miller <davem@davemloft.net>
24097
24098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24099 enum.
24100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24103
c55fbd1e
UD
241042011-08-09 Ulrich Drepper <drepper@gmail.com>
24105
24106 * Versions.def [libc]: Add GLIBC_2.15.
24107 * dirent/Makefile (routines): Add scandirat and scandirat64.
24108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24109 GLIBC_2.15.
24110 * dirent/dirent.h: Declare scandirat and scandirat64.
24111 * dirent/scandirat.c: New file.
24112 * dirent/scandirat64.c: New file.
24113 * sysdeps/wordsize-64/scandirat.c: New file.
24114 * sysdeps/wordsize-64/scandirat64.c: New file.
24115 * dirent/opendir.c: Define opendirat.
24116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24117 using scandirat.
24118 * dirent/scandir64.c: Adjust for scandir.c change.
24119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24120 __scandirat64, and __scandir_cancel_handler.
24121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24122 additional parameter and use openat instead of open (outside of ld.so).
24123 Add new __opendir as wrapper around __opendirat.
24124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24125 here without requiring old scandirat implementation.
24126
879165f2
UD
241272011-08-08 Ulrich Drepper <drepper@gmail.com>
24128
24129 * dirent/scandir.c (cancel_handler): Renamed to
24130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24131 defined. Adjust users.
24132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24134
cb7e923b
UD
241352011-08-04 Ulrich Drepper <drepper@gmail.com>
24136
16292edd
UD
24137 * string/test-string.h (IMPL): Use __STRING to expand name and then
24138 stringify it.
24139
cb7e923b
UD
24140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24141 of cleanups.
24142
cff82933
LD
241432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24144
24145 * string/Makefile: Update.
24146 (strop-tests): Append strncat.
24147 * string/test-wcscmp.c: New file.
24148 New comprehensive test for wcscmp.
24149 * string/test-strcmp.c: Update.
24150 (WIDE): New define.
24151
9be9bfcc
AS
241522011-07-22 Andreas Schwab <schwab@redhat.com>
24153
24154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24155 line.
24156
2e96f1c7
AS
241572011-07-26 Andreas Schwab <schwab@redhat.com>
24158
24159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24160 encoding to ACE if AI_IDN.
24161
85188888
JJ
241622011-08-01 Jakub Jelinek <jakub@redhat.com>
24163
24164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24166
5fa16e9b
LD
241672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24168
24169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24170 Fix overflow bug in strncat.
24171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24172
24173 * string/test-strncat.c: Update.
24174 Add new tests for checking overflow bugs.
24175
241762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24177
24178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24187
24188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24189 (USE_AS_STRCAT): Define.
24190 Add strcat and strncat support.
24191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24192
8c1a459f
AS
241932011-07-25 Andreas Schwab <schwab@redhat.com>
24194
24195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24196 __n bigger than INT_MAX+1.
24197 (__strncmp_g): Likewise.
24198
bba33c28
UD
241992011-07-23 Ulrich Drepper <drepper@gmail.com>
24200
798be72d
UD
24201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24202 * libio/stido.h: Likewise.
24203
8accd4dc
UD
24204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24205 (AF_NFC): Define.
24206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24207 (AF_NFC): Define.
24208
cbff0d96
UD
24209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24214
9191c04a
UD
24215 [BZ #13021]
24216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24217 installed.
24218
bba33c28
UD
24219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24220 typo.
24221 (_dl_x86_64_save_sse): Likewise.
24222
90f139dd
UD
242232011-07-22 Ulrich Drepper <drepper@gmail.com>
24224
1aae088a
UD
24225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24226 OSXSAVE.
24227 (_dl_x86_64_save_sse): Likewise.
24228
8e2045f5
UD
24229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24230
90f139dd
UD
24231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24232
1d002f25
AS
242332011-07-21 Andreas Schwab <schwab@redhat.com>
24234
24235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24236 change.
24237 (_dl_x86_64_save_sse): Use correct AVX check.
24238
21137f89
UD
242392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24240
24241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24242 bug in strncpy/strncat.
24243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24244
a65c0b7a
UD
242452011-07-21 Ulrich Drepper <drepper@gmail.com>
24246
24247 * string/tester.c (test_strcat): Add tests for different alignments
24248 of source and destination.
24249 (test_strncat): Likewise.
24250
6986b98a
UD
242512011-07-20 Ulrich Drepper <drepper@gmail.com>
24252
90bb2039
UD
24253 [BZ #12852]
24254 * posix/glob.c (glob): Check passed in values before using them in
24255 expressions to avoid some overflows.
24256 (glob_in_dir): Likewise.
24257
5644ef54
UD
24258 [BZ #13007]
24259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24260 check for AVX enablement so that we don't crash with old kernels and
24261 new hardware.
24262 * elf/tst-audit4.c: Add same checks here.
24263 * elf/tst-audit6.c: Likewise.
24264
24265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24266
bfc9dc9b
AS
242672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24268
24269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24270
702e64bb
UD
242712011-07-20 Ulrich Drepper <drepper@gmail.com>
24272
24273 * po/cs.po: Update from translation team.
24274 * po/bg.po: Likewise.
24275
295e904f
MP
242762011-07-12 Marek Polacek <mpolacek@redhat.com>
24277
24278 * misc/sys/cdefs.h: Add support for const attribute.
24279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24280 to gnu_dev_{major,minor,makedev} functions.
24281
3ff94596
MP
242822011-07-20 Marek Polacek <mpolacek@redhat.com>
24283
24284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24285
28b59fca
AS
242862011-07-20 Andreas Schwab <schwab@redhat.com>
24287
24288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24289 strlen results.
24290
19df733e
AK
242912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24292
24293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24295 register in order to avoid conflicts with the soft frame pointer
24296 being held in r11 when necessary.
24297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24298 (INTERNAL_VSYSCALL_NCS): Likewise.
24299
c8835729
MP
243002011-07-14 Marek Polacek <mpolacek@redhat.com>
24301
24302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24303 * elf/dl-fini.c (_dl_fini): Adjust caller.
24304 * elf/dl-close.c (_dl_close_worker): Likewise.
24305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24306
b902330c
MP
243072011-07-15 Marek Polacek <mpolacek@redhat.com>
24308
8991e135
MP
24309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24310 "aux_cache->nlibs < 0".
24311
b902330c
MP
24312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24313 in the reload-count case.
24314
99710781
LD
243152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24316
24317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24321 * sysdeps/x86_64/multiarch/strcat.S: New file.
24322 * sysdeps/x86_64/multiarch/strncat.S: New file.
24323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24328 (USE_AS_STRCAT): Define.
24329 Add strcat and strncat support.
24330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24333 * string/strncat.c: Update.
24334 (USE_AS_STRNCAT): Define.
24335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24337 and i7.
24338 * sysdeps/x86_64/multiarch/init-arch.h
24339 (bit_Prefer_PMINUB_for_stringop): New.
24340 (index_Prefer_PMINUB_for_stringop): Likewise.
24341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24342 bit_Prefer_PMINUB_for_stringop.
24343
7dc6bd90
UD
243442011-07-19 Ulrich Drepper <drepper@gmail.com>
24345
24346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24347 buffer64.
24348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24349 of casting of buffer.
24350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24351 buffer32 and buffer64.
24352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24353 writes instead of casting of buffer.
24354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24355 buffer32.
24356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24357 casting of buffer.
24358
e0e72284
AS
243592011-07-19 Andreas Schwab <schwab@redhat.com>
24360
24361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24362
feb1eb0b
UD
243632011-07-19 Ulrich Drepper <drepper@gmail.com>
24364
24365 * nscd/nscd.c (termination_handler): Don't do anything for a database
24366 if it has not yet been initialized.
24367
298711ff
UD
243682011-07-18 Ulrich Drepper <drepper@gmail.com>
24369
24370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24371
243722011-07-15 Marek Polacek <mpolacek@redhat.com>
24373
24374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24375
f9d68389
UD
243762011-07-18 Ulrich Drepper <drepper@gmail.com>
24377
24378 * po/nl.po: Update from translation team.
24379 * po/sv.po: Likewise.
24380
db290cf5
RM
243812011-07-16 Roland McGrath <roland@hack.frob.com>
24382
24383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24384 now disallowed by GCC.
5c550700 24385
fd5e21c7
RM
24386 * configure.in (use-default-link): Default to yes if a test -shared
24387 link meets our qualifications.
24388 * configure: Regenerated.
24389
5c550700
RM
24390 * config.make.in (output-format): New variable.
24391 * configure.in: Check for ld --print-output-format support.
24392 * configure: Regenerated.
24393 * Makerules ($(common-objpfx)format.lds)
24394 [$(output-format) != unknown]: Just use $(output-format),
24395 instead of the linker-script munging.
24396
9fa2c032
RM
243972011-07-14 Roland McGrath <roland@hack.frob.com>
24398
a6928d51
RM
24399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24400 of $(common-objpfx)shlib.lds.
24401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24402
661607b3
RM
24403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24405
9fa2c032
RM
24406 * configure.in (-z relro check): Adjust test code to add a large
24407 writable data section after it.
24408 * configure: Regenerated.
24409
defe9061
RM
244102011-07-11 Roland McGrath <roland@hack.frob.com>
24411
24412 * configure.in (-z relro check): Fix test code to make the variable
24413 truly const.
24414 * configure: Regenerated.
24415
319b9ad4
UD
244162011-07-11 Ulrich Drepper <drepper@gmail.com>
24417
24418 * nscd/nscd.h (struct traced_file): Define.
24419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24420 elements. Add traced_files.
24421 (inotify_fd): Declare.
24422 (register_traced_file): Declare.
24423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24424 (inotify_fd): Export.
24425 (resolv_conf_descr): Remove.
24426 (nscd_init): Move inotify descriptor creation to main.
24427 Don't register files for notification here.
24428 (register_traced_file): New function.
24429 (invalidate_cache): Don't use reset_res to determine whether to call
24430 res_init, go through the list of registered files.
24431 (main_loop_poll): The inotify descriptors are now stored in the
24432 structures for the traced files.
24433 (main_loop_epoll): Likewise
24434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24435 to __nss_disable_nscd.
24436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24437 for a database anymore. Check the records for all the registered
24438 files instead.
24439 * nss/Makefile (libnss_files-routines): Add files-init.
24440 (libnss_db-routines): Add db-init.
24441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24443 * nss/nss_db/db-init.c: New file.
24444 * nss/nss_files/files-init.c: New file.
24445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24446 __nss_lookup_function.
24447 (__nss_lookup_function): Call nss_load_library.
24448 (nss_load_all_libraries): New function.
24449 (__nss_disable_nscd): Take parameter with callback function for files
24450 to register. Set is_nscd. Load all the DSOs for the NSS modules
24451 used for the cached services.
24452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24454 options for features to all the files in nscd.
24455
24456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24457
23bee3e8
RM
244582011-07-10 Roland McGrath <roland@hack.frob.com>
24459
24460 * csu/elf-init.c (__libc_csu_init): Comment typo.
24461
46a5b7f0
UD
244622011-07-09 Ulrich Drepper <drepper@gmail.com>
24463
24464 * po/pl.po: Update from translation team.
24465 * po/ja.po: Likewise.
24466 * po/ru.po: Likewise.
24467 * po/ko.po: Likewise.
24468 * po/fr.po: Likewise.
24469
d30cf5bb
RM
244702011-07-09 Roland McGrath <roland@hack.frob.com>
24471
113ddea4
RM
24472 * configure.in (.ctors/.dtors header and trailer check):
24473 Use an empirical test on a built program.
24474 * configure: Regenerated.
24475
574920b4
RM
24476 * configure.in (-z relro check): Use an empirical test on a built DSO.
24477 Detect, but do not require, on ia64.
24478 * configure: Regenerated.
24479
d30cf5bb
RM
24480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24481 Update tests that use readelf to use $READELF instead.
24482 * configure: Regenerated.
24483
8538fdb3
UD
244842011-07-08 Ulrich Drepper <drepper@gmail.com>
24485
24486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24487 if the result is not used.
24488
04d08991
AJ
244892011-07-05 Andreas Jaeger <aj@suse.de>
24490
24491 [BZ#9696]
24492 * stdlib/tst-strtod.c: Add testcase.
24493
de283087
AD
244942011-07-07 Ulrich Drepper <drepper@gmail.com>
24495
4e5f31c8 24496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24498 The latter has a higher limit. Take additional parameter to pass to
24499 the new function.
24500 (__pathconf): Pass file to __statfs_link_max.
24501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24502 __statfs_link_max.
24503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24504 __statfs_link_max.
24505
de283087
AD
24506 [BZ #12868]
24507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24509 Handle Lustre.
24510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24511 (__statfs_filesize_max): Likewise.
24512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24513
c75fa153
AJ
245142011-07-05 Andreas Jaeger <aj@suse.de>
24515
24516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24517
1a544854
UD
245182011-07-06 Marek Polacek <mpolacek@redhat.com>
24519
24520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24521 `status' variable.
24522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24523 Likewise.
24524
6f0eec67
UD
245252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24526
24527 * Makefile (strop-tests): Add strncat.
24528 * string/test-strncat.c: New file.
24529
aae30307
UD
245302011-06-30 Marek Polacek <mpolacek@redhat.com>
24531
24532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24533
c0cfb5eb
UD
245342011-06-21 Andreas Jaeger <aj@suse.de>
24535
24536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24537 Copy rule from iconvdata/Makefile.
24538
01636b21
UD
245392011-07-06 Ulrich Drepper <drepper@gmail.com>
24540
24541 [BZ #12922]
24542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24543 but no long options are defined, just return 'W'.
24544
9895c8bc
UD
245452011-06-22 Marek Polacek <mpolacek@redhat.com>
24546
24547 [BZ #9696]
24548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24549
5d4cf042
UD
245502011-07-06 Ulrich Drepper <drepper@gmail.com>
24551
24552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24553 netgroups to read.
960e5535 24554 (innetgr): Likewise.
5d4cf042 24555
751eb97e
RM
245562011-07-05 Roland McGrath <roland@hack.frob.com>
24557
24558 * config.make.in (install_root): Default to $(DESTDIR).
24559
f15f1e45
UD
245602011-07-05 Ulrich Drepper <drepper@gmail.com>
24561
24562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24563
4e34ac6a
RM
245642011-07-02 Roland McGrath <roland@hack.frob.com>
24565
5e9b6af4
RM
24566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24567
84f9ea0f
RM
24568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24569 containing directory rather than embedding absolute directory names.
24570
ea5ee9f7
RM
24571 * scripts/check-local-headers.sh: Rewritten using awk.
24572 Match by word, not by line. Print error messages for matches.
24573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24574
1b74661a
RM
24575 * Makerules [shlib-lds-flags empty]:
24576 ($(common-objpfx)libc_pic.opts): New target.
24577 ($(common-objpfx)libc_pic.os.clean): New target.
24578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24579
24580 * config.make.in (OBJCOPY): New variable.
24581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24582 * configure: Regenerated.
24583
f781ef40
RM
24584 * config.make.in (use-default-link): New variable.
24585 * configure.in (use_default_link): Grok --with-default-link to set it.
24586 * configure: Regenerated.
24587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24588 (shlib-lds, shlib-lds-flags): Define to empty.
24589
2d4fa81e
RM
24590 * Makerules (shlib-lds): New variable.
24591 (shlib-lds-flags): New variable.
24592 (build-shlib, build-moduile, build-module-asneeded): Use it.
24593 ($(common-objpfx)libc.so): Use $(shlib-lds).
24594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24596
31fffa6b
RM
24597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24598 DT_FLAGS/DT_FLAGS_1 with zero flags.
24599
4e34ac6a
RM
24600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24601 linker script munging.
24602
fcfc776b
UD
246032011-07-02 Ulrich Drepper <drepper@gmail.com>
24604
24605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24606 as 128-bit value.
24607 * crypt/sha512.c (sha512_process_block): Perform total addition using
24608 128-bit if possible.
24609 (__sha512_finish_ctx): Likewise.
24610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24611 as 64-bit value.
24612 * crypt/sha256.c (SWAP64): Define.
24613 (sha256_process_block): Perform total addition using 64-bit if
24614 possible.
24615 (__sha256_finish_ctx): Likewise.
24616
99231d9a
UD
246172011-07-01 Ulrich Drepper <drepper@gmail.com>
24618
24619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24621 * nscd/hstcache.c (cache_addhst): Likewise.
24622 * nscd/grpcache.c (cache_addgr): Likewise.
24623 * nscd/aicache.c (addhstaiX): Likewise
24624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24625
445b4a53
TK
246262011-07-01 Thorsten Kukuk <kukuk@suse.de>
24627
24628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24630 * nscd/hstcache.c (cache_addhst): Likewise.
24631 * nscd/grpcache.c (cache_addgr): Likewise.
24632 * nscd/aicache.c (addhstaiX): Likewise
24633
6d4d8e8e
AS
246342011-07-01 Andreas Schwab <schwab@redhat.com>
24635
24636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24637 domain only when needed.
24638
89f654c5
AS
246392011-06-30 Andreas Schwab <schwab@redhat.com>
24640
24641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24642 is always restored.
24643
cf3b23ff
UD
246442011-06-29 Ulrich Drepper <drepper@gmail.com>
24645
24646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24647 are re-adding the entry.
24648 * nscd/servicescache.c (cache_addserv): Likewise.
24649
751626f9
AJ
246502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24651
24652 * sysdeps/generic/dl-irel.h: fix protection against multiple
24653 inclusions.
24654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24655
9113ea1f
UD
246562011-06-28 Ulrich Drepper <drepper@gmail.com>
24657
5c0b8d90
UD
24658 [BZ #12935]
24659 * malloc/memusage.sh: Fix quoting in message.
24660 * debug/xtrace.sh: Likewise.
24661
9113ea1f
UD
24662 * configure.in: Remove support for --experimental-malloc option, make
24663 it the default.
24664 * config.make.in: Likewise.
24665 * malloc/Makefile: Likewise.
24666
a4172181
AS
246672011-06-27 Andreas Schwab <schwab@redhat.com>
24668
24669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24670 two-byte characters.
24671
78a7eee7
RM
246722011-06-27 Roland McGrath <roland@hack.frob.com>
24673
62bede13
RM
24674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24675 AC_CACHE_CHECK invocation.
24676 * configure: Regenerated.
24677
78a7eee7
RM
24678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24679
5ce33a62
UD
246802011-06-27 Ulrich Drepper <drepper@gmail.com>
24681
034807a9
UD
24682 [BZ #12350]
24683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24684 bit from old_res_options.
24685
4902da17
UD
24686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24687
5ce33a62
UD
24688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24689 value type for setfct.
24690
c2344f56
L
246912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24692
24693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24694 __gettimeofday instead of gettimeofday.
24695
68468076
UD
246962011-06-26 Ulrich Drepper <drepper@gmail.com>
24697
24698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24699
acb0d739
L
247002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24701
24702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24703
24704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24705 info.
24706
8912479f
L
247072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24708
24709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24711 strcpy-sse2-unaligned strncpy-sse2-unaligned
24712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24722 (STRCPY): Support SSE2 and SSSE3 versions.
24723
d5495a11
UD
247242011-06-24 Ulrich Drepper <drepper@gmail.com>
24725
24726 [BZ #12874]
24727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24729 kernels which artificially limit size of requests.
24730
0b1cbaae
L
247312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24732
24733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24749 Enable unaligned load optimization for Intel Core i3, i5 and i7
24750 processors.
24751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24752 Define.
24753 (index_Fast_Unaligned_Load): Define.
24754 (HAS_FAST_UNALIGNED_LOAD): Define.
24755
07f494a0
MP
247562011-06-23 Marek Polacek <mpolacek@redhat.com>
24757
24758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24759
fa3fc0fe
UD
247602011-06-22 Ulrich Drepper <drepper@gmail.com>
24761
24762 [BZ #12907]
24763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24764 until it is clear that the information is realy needed.
24765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24766
e12df166
AS
247672011-06-22 Andreas Schwab <schwab@redhat.com>
24768
24769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24770
852eb34d
UD
247712011-06-22 Ulrich Drepper <drepper@gmail.com>
24772
84e2a551
UD
24773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24774 /sys/devices/system/cpu/online if it is usable.
24775
852eb34d
UD
24776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24777 reading the information from the /proc filesystem to once a second.
24778
6e502e19
UD
247792011-06-21 Andreas Jaeger <aj@suse.de>
24780
24781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24782 NULL after inclusion of kernel headers.
24783
75d39ff2
UD
247842011-06-21 Ulrich Drepper <drepper@gmail.com>
24785
51f9aa6a
UD
24786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24787 calls to internal_setent.
24788
c0244a9d
UD
24789 [BZ #12885]
24790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24791 addresses using gethostbyname4_r ignore IPv4 addresses.
24792
c5e3c2ae
UD
24793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24795
75d39ff2
UD
24796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24797
42675c6f
DM
247982011-06-20 David S. Miller <davem@davemloft.net>
24799
24800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24801 inclusions.
24802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24803
24804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24805 (elf_irel): Use it.
24806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24810 * sysdeps/x86_64/dl-irel.h: Likewise.
24811
24812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24813 * elf/dl-sym.c: Likewise.
24814
57912a71
UD
248152011-06-15 Ulrich Drepper <drepper@gmail.com>
24816
24817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24818 need to dereference resplen2.
24819
ee22793d
AS
248202011-06-14 Andreas Schwab <schwab@redhat.com>
24821
24822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24823
a9e836b0
UD
248242011-06-15 Ulrich Drepper <drepper@gmail.com>
24825
77fb9117
UD
24826 * Makeconfig: Define vardbdir and inst_vardbdir.
24827 * nss/Makefile: Add rules to install db-Makefile.
24828
40c1b22c
UD
24829 * nss/nss_db/db-XXX.c: Cleanup.
24830
9f2da732
UD
24831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24833 GLIBC_PRIVATE.
24834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24835 * nss/makedb.c: Implement -g option to specify that value strings
24836 are generated and should not be added to table iterated over for
24837 get*ent calls.
24838 * nss/nss_db/db-initgroups.c: New file.
24839
82e9a1f7
UD
24840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24841 interface.
24842
c41af17e
UD
24843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24844 (internal_getgrouplist): Adjust to name change.
24845 Update use_initgroups_entry if this is not the first call.
24846 * nss/databases.def: Add initgroups entry.
24847
a9e836b0
UD
24848 * nss/makedb.c (compute_tables): Check result of multiple hash table
24849 sizes to minimize maximum chain length.
24850
2666d441
UD
248512011-06-14 Ulrich Drepper <drepper@gmail.com>
24852
24853 * Versions.def: Add entry for libnss_db.
24854 * shlib-versions: Likewise.
24855 * nss/Makefile: Add rules to build libnss_db.
24856 * nss/Versions: Add libnss_db information. Organize libnss_files
24857 entries better.
24858 * nss/db-Makefile: Add gshadow support. Change rules for the new
24859 makedb progra. Some minor improvements to generate smaller files.
24860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24861 here from...
24862 * nss/makedb.c: ...here.
24863 Improve database format to be smaller and require less memory at
24864 runtime.
24865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24866 db anymore.
24867 * nss/nss_db/db-netgrp.c: Likewise.
24868 * nss/nss_db/db-open.c: Likewise.
24869 * nss/nss_files/flies-XXX.x: Adjust comments.
24870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24871 * nss/nss_files/files-grp.c: Likewise.
24872 * nss/nss_files/files-hosts.c: Likewise.
24873 * nss/nss_files/files-network.c: Likewise.
24874 * nss/nss_files/files-proto.c: Likewise.
24875 * nss/nss_files/files-pwd.c: Likewise.
24876 * nss/nss_files/files-rpc.c: Likewise.
24877 * nss/nss_files/files-service.c: Likewise.
24878 * nss/nss_files/files-sgrp.c: Likewise.
24879 * nss/nss_files/files-spwd.c: Likewise.
24880 * nss/nss_db/db-alias.c: Removed.
24881 * nss/nss_db/dummy-db.h: Removed.
24882
9ee76b5a
UD
248832011-06-02 Ulrich Drepper <drepper@gmail.com>
24884
24885 * nss/makedb.c: Rewritten to not use database library.
24886 * nss/Makefile: Update to build new makedb program.
24887
c71ca1f8
AJ
248882011-06-14 Andreas Jaeger <aj@suse.de>
24889
24890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24891 memset declaration.
24892
3154bfb8
UD
248932011-06-10 Andreas Schwab <schwab@redhat.com>
24894
24895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24896 tmpbuf.
24897
b350afab
RM
248982011-06-10 Roland McGrath <roland@hack.frob.com>
24899
decd4e50
RM
24900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24901 * elf/Makefile ($(objpfx)ld.so): Likewise.
24902
5615eaf2
RM
24903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24904 Don't list ld.so twice in dependencies.
24905
24906 * posix/bug-regex31.c: Include <stdlib.h>.
24907
24908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24909
24910 * nis/nss_compat/compat-spwd.c
24911 (getspent_next_nss_netgr): Remove unused variable.
24912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24913
24914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24915 nonmembers" output to use the right array.
24916
24917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24918
24919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24920
24921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24923 * catgets/gencat.c (read_input_file): Likewise.
24924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24925
24926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24927 variable definition inside #if's controlling its use.
24928
24929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24930
24931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24932
24933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24934
24935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24936 unreachable code.
24937
24938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24939
b68e08db
RM
24940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24941 * configure: Regenerated.
24942
b350afab
RM
24943 * Makerules: Revert last change.
24944 * elf/Makefile: Likewise.
24945
28368601
RM
249462011-06-09 Roland McGrath <roland@hack.frob.com>
24947
24948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24950 (reloc-link): Likewise.
24951
11988f8f
UD
249522011-06-09 Ulrich Drepper <drepper@gmail.com>
24953
24954 * elf/Makefile: Add rules to build pldd.
24955 * elf/pldd.c: New file.
24956 * elf/pldd-xx.c: New file.
24957
e80fab37
UD
249582011-06-07 Ulrich Drepper <drepper@gmail.com>
24959
24960 * version.h: Update for 2.15 development version.
24961
9b849836
DM
249622011-06-07 David S. Miller <davem@davemloft.net>
24963
24964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24965 ifuncs.
24966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24967 elf_machine_lazy_rel): Likewise.
24968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24970 elf_machine_lazy_rel): Likewise.
24971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24972 dl_hwcap via passed in argument.
24973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24974 Likewise.
24975
5a31b283
AK
249762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24977
24978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24979
069e52f8
RM
249802011-06-06 Roland McGrath <roland@hack.frob.com>
24981
24982 [BZ #12849]
24983 * manual/fdl-1.1.texi: New file, verbatim from:
24984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24985 * manual/lgpl-2.1.texi: New file, verbatim from:
24986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24987 * manual/Makefile (licenses): New variable, list those new file names.
24988 (texis): Use it.
24989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24990
24991 * manual/fdl.texi: File removed.
24992 * manual/lesser.texi: File removed.
24993 * manual/libc.texinfo (Copying, Documentation License):
24994 Use new @include file names, put @appendix directive before @include.
24995
f16846a5
JJ
249962011-06-04 Jakub Jelinek <jakub@redhat.com>
24997
24998 [BZ #12841]
24999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25001 (mq_open): Add __NTH.
25002
3d29045b
L
250032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25004
25005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25006 Assume Intel Core i3/i5/i7 processor if AVX is available.
25007
8c297311
UD
250082011-05-31 Ulrich Drepper <drepper@gmail.com>
25009
25010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25011 typo.
25012
c8fc0c91
UD
250132011-05-31 Andreas Schwab <schwab@redhat.com>
25014
25015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25016 memory. Use alloca_account. Fix memory leak when retrying.
25017
5b27a807
UD
250182011-05-31 Ulrich Drepper <drepper@gmail.com>
25019
356f8bc6
UD
25020 * version.h (RELEASE): Bump for 2.14 release.
25021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25022
5b27a807
UD
25023 * config.make.in (RANLIB): Remove entry.
25024
01f16ab0
UD
250252011-05-30 Ulrich Drepper <drepper@gmail.com>
25026
41fce8bd
UD
25027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25028 (libc.pot): Work around missing support for .ksh extension in xgettext.
25029
4769ae77
UD
25030 [BZ #12684]
25031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25032 if both request failed.
25033 (send_dg): In case of server errors clear resplen or *resplen2.
25034
6b1e7d19
UD
25035 [BZ #12454]
25036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25037 when there are multiple maps.
25038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25039 (_dl_fini): Remove test here.
25040
01f16ab0
UD
25041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25042
b1ebd700
UD
250432011-05-29 Ulrich Drepper <drepper@gmail.com>
25044
7ae22829
UD
25045 [BZ #12350]
25046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25047 bit from old_res_options.
25048 (gaih_inet): Likewise.
25049
553149f6 25050 [BZ #11099]
18a84741 25051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25052 as signed.
25053
652ffab1
UD
25054 * resolv/res_init.c (res_setoptions): Make the code more compact.
25055
16985fd0
UD
25056 [BZ #11558]
25057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25058 set RES_USEVC.
25059
0464f746
UD
25060 [BZ #11634]
25061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25062
7d17596c
UD
25063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25064
cf6bbbd7
UD
25065 [BZ #11781]
25066 * malloc/malloc.h: Declare malloc hook variables as volatile.
25067
13f1ab36
UD
25068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25069 in last patch.
25070
b1ebd700
UD
25071 [BZ #11799]
25072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25073 raise in the comment.
80e2212d
UD
25074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25077
ce67228d
UD
250782011-05-28 Ulrich Drepper <drepper@gmail.com>
25079
8887a920
UD
25080 [BZ #12811]
25081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25082 grow the buffers more if it already has to be sufficient.
25083 (build_wcs_upper_buffer): Likewise.
25084 * posix/regexec.c (check_matching): Likewise.
25085 (clean_state_log_if_needed): Likewise.
25086 (extend_buffers): Don't enlarge buffers beyond size of the input
25087 buffer.
25088 Patches mostly by Emil Wojak <emil@wojak.eu>.
25089 * posix/bug-regex32.c: New file.
25090 * posix/Makefile (tests): Add bug-regex32.
25091
4f031072
UD
25092 * locale/findlocale.c (_nl_find_locale): Return right away if
25093 _nl_explode_name failed.
25094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25095
d0478f0c
UD
25096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25097
de81b246
UD
25098 * debug/xtrace.sh: Unify messages.
25099 * malloc/memusage.sh: Likewise.
25100
c738465a
UD
25101 [BZ #12813]
25102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25103 time symbol from vDSO. Substitute with vsyscall if not available.
25104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25105 __vdso_time.
25106
f1f929d7
UD
25107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25110 Add sendmmsg and internal_sendmmsg.
25111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25114
ce67228d
UD
25115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25118
e57420c6
UD
251192011-05-27 Ulrich Drepper <drepper@gmail.com>
25120
a8509ca5
UD
25121 [BZ #12813]
25122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25124 available.
25125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25126 __vdso_getcpu.
25127
e57420c6
UD
25128 [BZ #12814]
25129 * iconvdata/Makefile (tests): Add bug-iconv9.
25130 * iconvdata/bug-iconv9.c: New file.
25131
4d07db15
AS
251322011-05-27 Andreas Schwab <schwab@redhat.com>
25133
25134 [BZ #12814]
25135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25136
ea486f69
JJ
251372011-05-25 Jakub Jelinek <jakub@redhat.com>
25138
25139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25140 (struct user_regs_struct): Change intcs field back to cs.
25141
6f038433
UD
251422011-05-25 Ulrich Drepper <drepper@gmail.com>
25143
25144 * po/ja.po: Update from translation team.
25145
67f86a25
UD
251462011-05-23 Ulrich Drepper <drepper@gmail.com>
25147
25148 [BZ #12795]
25149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25151
def7fbd6
AS
251522011-05-20 Andreas Schwab <schwab@redhat.com>
25153
25154 * stdlib/longlong.h: Update from GCC.
25155
f50ef8f1
AS
251562011-05-23 Andreas Schwab <schwab@redhat.com>
25157
25158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25159 parameter name.
25160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25161 Add parameter name.
25162 (__sysconf): Pass it down.
25163
de7ce8f1
UD
251642011-05-22 Ulrich Drepper <drepper@gmail.com>
25165
f2962a71
UD
25166 [BZ #12671]
25167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25168 some situations.
25169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25171 add in in __libc_use_alloca calls. Adjust callers.
25172 (glob): Use malloc in some situations.
25173
de7ce8f1
UD
25174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25176 pltexit.
25177
aec84f53
UD
251782011-05-21 Ulrich Drepper <drepper@gmail.com>
25179
05bb4a68
UD
25180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25181 and CLOCK_BOOTTIME_ALARM.
25182
7ea72f99
UD
25183 [BZ #12782]
25184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25185 is returned.
25186
7e4afad5
UD
25187 * string/_strerror.c (__strerror_r): Print negative errors as signed
25188 numbers.
25189
8e211fec
UD
25190 [BZ #12777]
25191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25194
f7d82dc9
UD
25195 * configure.in: Fix typo in redirection and correct removal of test
25196 files in two cases.
25197
cc9e536d
UD
25198 [BZ #12788]
25199 * locale/setlocale.c (new_composite_name): Fix test to check for
25200 identical name of all categories.
25201
aec84f53
UD
25202 [BZ #12792]
25203 * libio/filedoalloc.c (local_isatty): New function.
25204 (_IO_file_doallocate): Use local_isatty.
25205 * stdio-common/perror.c (perror): In case a new stream is used
25206 forward the stream error.
25207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25208 error flag.
25209
78e64fdc
RT
252102011-05-20 Ulrich Drepper <drepper@gmail.com>
25211
34a9094f
UD
25212 [BZ #11869]
25213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25214 alloca.
25215 * include/alloca.h (extend_alloca_account): Define.
25216
78e64fdc
RT
25217 [BZ #11857]
25218 * posix/regex.h: Fix comments with documentation of user-accessible
25219 fields after compilation and describe correct free'ing of pattern
25220 after re_compile_pattern.
25221 Patch by Reuben Thomas <rrt@sc3d.org>.
25222
457bddfc
RA
252232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25224
25225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25226 and -mno-altivec to prevent the compiler from using Altivec and/or
25227 VSX instructions when the corresponding registers are not available.
25228
a4527b51
AS
252292011-05-19 Andreas Schwab <schwab@redhat.com>
25230
25231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25232
ed690b2f
UD
252332011-05-19 Ulrich Drepper <drepper@gmail.com>
25234
25235 * libio/freopen.c (freopen): Use __dup2, not dup2.
25236 * libio/freopen64.c (freopen64): Likewise.
25237
8db73634
L
252382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25239
25240 [BZ #12775]
25241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25242 * math/Makefile (tests): Add test-powl.
25243 (CFLAGS-test-powl.c): Define.
25244 * math/test-powl.c: New file.
25245
0a197a9d
L
252462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25247
25248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25249
ee30c380
UD
252502011-05-17 Ulrich Drepper <drepper@gmail.com>
25251
25252 [BZ #11837]
25253 * iconvdata/gb18030.c: Update to GB18020-2005.
25254
6ce75379
UD
252552011-05-16 Ulrich Drepper <drepper@gmail.com>
25256
a4b89fd8
AR
25257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25259 Patch by Aharon Robbins <arnold@skeeve.com>.
25260
ea389b12
UD
25261 [BZ #11892]
25262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25263 on the stack.
25264
68a3f91f
UD
25265 [BZ #11895]
25266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25267 through underflows.
25268
15cc7dd1
UD
25269 [BZ #12766]
25270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25271 point to strings before performing equality test for error_one_per_line
25272 mode.
25273
f3799213
UD
25274 [BZ #11697]
25275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25276
d79a9c94
UD
25277 [BZ #11820]
25278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25279 (struct user_fpregs_struct): Avoid __uint*_t types.
25280
56e5eb46
UD
25281 [BZ #6420]
25282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25283 symbol info. Use it instead of calling _dl_addr locally.
25284 (lock_and_info): New function.
25285 (tr_freehook): Call lock_and_info and pass symbol info as additional
25286 parameter to tr_where.
25287 (tr_mallochook): Likewise.
25288 (tr_reallochook): Likewise.
25289 (tr_memalignhook): Likewise.
25290
6ce75379
UD
25291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25292 used and couldn't be at all thread-safe.
25293
f8a3b5bf
UD
252942011-05-15 Ulrich Drepper <drepper@gmail.com>
25295
94b7cc37
UD
25296 * libio/freopen.c (freopen): Don't close old file descriptor
25297 before the new one is opened. Instead dup the new file descriptor
25298 to the old one after the new stream is created.
25299 * libio/freopen64.c (freopen64): Likewise.
25300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25301 * libio/fileops.c (_IO_new_file_close_it): Handle new
25302 _IO_FLAGS2_NOCLOSE flag.
25303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25306 _IO_FLAGS2_NOCLOSE flag.
25307 * include/unistd.h: Add hidden_proto for dup3.
25308 Define __have_dup3.
25309 * io/dup3.c: Define hidden symbol.
25310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25311
bd25564e
UD
25312 [BZ #7101]
25313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25314 when an incomplete long option is used.
25315 * posix/tst-getopt_long1.c: New file.
25316 * posix/Makefile (tests): Add tst-getopt_long1.
25317
c84cfef4
UD
25318 [BZ #10138]
25319 * scripts/config.guess: Update from autoconf-2.68.
25320 * scripts/config.sub: Likewise.
25321
3b85df27
UD
25322 [BZ #10157]
25323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25324 tests into ...
25325 (has_cpuclock): ...this. New function.
25326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25327 macro here based on has_cpuclock code.
25328
15a856b1
UD
25329 [BZ #10149]
25330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25331 First byte (not low byte) is now always NUL.
25332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25333
05f399e6
UD
25334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25335 Use non-cancelable interfaces.
25336
10a52685 25337 [BZ #9809]
94ecc67d
UD
25338 * locale/iso-639.def: Add entry for Sorani.
25339
f8a3b5bf
UD
25340 [BZ #11901]
25341 * include/stdlib.h: Move include protection to the right place.
25342 Define abort_msg_s. Declare __abort_msg with it.
25343 * stdlib/abort.c (__abort_msg): Adjust type.
25344 * assert/assert.c (__assert_fail_base): New function. Majority
25345 of code from __assert_fail. Allocate memory for __abort_msg with
25346 mmap.
25347 (__assert_fail): Now call __assert_fail_base.
25348 * assert/assert-perr.c: Remove bulk of implementation. Use
25349 __assert_fail_base.
25350 * include/assert.hL Declare __assert_fail_base.
25351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25352 mmap.
25353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25354
1af4e298
UD
253552011-05-14 Ulrich Drepper <drepper@gmail.com>
25356
f8a3b5bf 25357 [BZ #11952]
d26dfc60
MG
25358 [BZ #12453]
25359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25360 until all modules are registered in the DTV.
25361 * elf/Makefile: Add rules to build and run tst-tls19.
25362 * elf/tst-tls19.c: New file.
25363 * elf/tst-tls19mod1.c: New file.
25364 * elf/tst-tls19mod2.c: New file.
25365 * elf/tst-tls19mod3.c: New file.
25366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25367
2fc54d6f
UD
25368 [BZ #12083]
25369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25370 correctly.
25371
98d76b46
UD
25372 [BZ #12601]
25373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25374 two-byte sequence errors.
25375 * iconvdata/Makefile (tests): Add bug-iconv8.
25376 * iconvdata/bug-iconv8.c: New file.
25377
da3c19ef
UD
25378 [BZ #12626]
25379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25380 buf2 definition.
25381
ca408c15
UD
25382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25383
d6f67f7d
UD
25384 [BZ #12432]
25385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25386 (dummy_getcfa): New function.
25387 (init): Get _Unwind_GetCFA address, use dummy if not found.
25388 (backtrace_helper): In recursion check, also check whether CFA changes.
25389 (__backtrace): Completely initialize arg.
25390
1af4e298 25391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25392 storing incomplete byte sequence in state object. Avoid testing for
25393 guaranteed too small input if we know there is enough data available.
1af4e298 25394
da62f81b
AS
253952011-05-11 Andreas Schwab <schwab@redhat.com>
25396
25397 * Makeconfig (+link-pie): Indent.
25398 * Rules (binaries-pie): Define if $(have-fpie) and
25399 $(build-shared).
25400 (binaries-shared): Also filter out $(binaries-pie).
25401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25402 * nscd/Makefile (others-pie): Add nscd.
25403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25404 ($(objpfx)nscd): Remove command override.
25405 * login/Makefile (others-pie): Add pt_chown.
25406 ($(objpfx)pt_chown): Remove command override.
25407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25408 remove command overrides.
25409
fcabc0f8
UD
254102011-05-13 Ulrich Drepper <drepper@gmail.com>
25411
20030ae6
UD
25412 * libio/tst_putwc.c: Fix error messages.
25413
fcabc0f8
UD
25414 [BZ #12724]
25415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25416 currently writing and seek to current position when not.
25417 * libio/Makefile (tests): Add bug-fclose1.
25418 * libio/bug-fclose1.c: New file.
25419
320a5dc0
PB
254202011-05-12 Ulrich Drepper <drepper@gmail.com>
25421
25422 [BZ #12511]
25423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25424 don't set DF_1_NODELETE here.
25425 (do_lookup_x): When entering new entry test for copy relocation
25426 and if necessary set DF_1_NODELETE flag.
25427 * elf/tst-unique4.cc: New file.
25428 * elf/tst-unique4.h: New file.
25429 * elf/tst-unique4lib.cc: New file.
25430 * elf/Makefile: Add rules to build and run tst-unique4.
25431 Patch by Piotr Bury <pbury@goahead.com>.
25432
22836f52
UD
254332011-05-11 Ulrich Drepper <drepper@gmail.com>
25434
f574184a
UD
25435 [BZ #12052]
25436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25437
e1fb097f
UD
25438 [BZ #12625]
25439 * misc/mntent_r.c (addmntent): Flush the stream after the output
25440
22836f52
UD
25441 [BZ #12393]
25442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25443 (is_trusted_path_normalize): Skip initial colon. Append slash
25444 to empty buffer. Duplicate is_trusted_path code but allow
25445 constructed patch to be prefix.
25446 (is_dst): Allow $ORIGIN followed by /.
25447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25448 Correct testing of result of is_trusted_path_normalize
25449 (decompose_rpath): Fix warning.
25450
7b3b0b2a
UD
254512011-05-10 Ulrich Drepper <drepper@gmail.com>
25452
25453 [BZ #11257]
25454 * grp/initgroups.c (internal_getgrouplist): When we found the service
25455 list through the initgroups entry in nsswitch.conf do not always
25456 continue on a successful lookup. Don't always use the
eac80ce2 25457 __nss_group_database value if it is set.
7b3b0b2a
UD
25458 * nss/nsswitch.conf (initgroups): Change action for successful db
25459 lookup to continue for compatibility.
25460
2a81eaa5
UD
254612011-05-09 Ulrich Drepper <drepper@gmail.com>
25462
be97a69e
UD
25463 [BZ #11532]
25464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25465 and CP774 modules.
25466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25467 and CP774 modules.
25468 * iconvdata/tst-tables.sh: Likewise.
25469 * iconvdata/cp770.c: New file.
25470 * iconvdata/cp771.c: New file.
25471 * iconvdata/cp772.c: New file.
25472 * iconvdata/cp773.c: New file.
25473 * iconvdata/cp774.c: New file.
25474 * iconvdata/testdata/CP770: New file.
25475 * iconvdata/testdata/CP770..UTF8: New file.
25476 * iconvdata/testdata/CP771: New file.
25477 * iconvdata/testdata/CP771..UTF8: New file.
25478 * iconvdata/testdata/CP772: New file.
25479 * iconvdata/testdata/CP772..UTF8: New file.
25480 * iconvdata/testdata/CP773: New file.
25481 * iconvdata/testdata/CP773..UTF8: New file.
25482 * iconvdata/testdata/CP774: New file.
25483 * iconvdata/testdata/CP774..UTF8: New file.
25484
25485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25486 END CHARMAP line.
25487 * iconvdata/gen-8bit-gap.sh: Likewise.
25488 * iconvdata/gen-8bit.sh: Likewise.
25489
c1e9e399
UD
25490 * locale/iso-639.def: Add ary entry.
25491
24c55fb3 25492 [BZ #11258]
96b4b1b0
UD
25493 * locale/C-translit.h.in: Add U20A1 transliteration.
25494
bdc2f971
KB
25495 [BZ #12178]
25496 * locale/iso-639.def: Add wae entry.
25497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25498
2952b117
UD
25499 [BZ #12545]
25500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25501 for n.
25502
2a81eaa5
UD
25503 [BZ #12711]
25504 * locale/C-translit.h.in: Add entry for U20B9.
25505 Patch by pravin.d.s@gmail.com.
25506
28377d1b
UD
255072011-05-08 Ulrich Drepper <drepper@gmail.com>
25508
7fb90fb8
UD
25509 [BZ #12713]
25510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25511 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25513 in rtld. Use *stat64.
7fb90fb8 25514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25521 __fstatat64 macros.
7fb90fb8
UD
25522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25523 * dirent/rewinddir.c: Add libc_hidden_def.
25524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25526
28377d1b
UD
25527 * include/dirent.h (__alloc_dir): Add flags parameter.
25528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25530 __alloc_dir.
25531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25532 from fdopendir if O_CLOEXEC is already set.
25533
66bdbaa4
AM
255342011-03-15 Alan Modra <amodra@gmail.com>
25535
25536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25537 l_tls_firstbyte_offset non-zero. Save padding offset in
25538 l_tls_firstbyte_offset for later use.
25539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25540 freeing static tls block.
25541
95721191
JN
255422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25543
25544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25545 where #ifdef was intended. The intent is to prevent ARG_MAX from
25546 being defined by the kernel headers.
25547
f87dfb1f
UD
255482011-05-07 Ulrich Drepper <drepper@gmail.com>
25549
25550 [BZ #12734]
25551 * resolv/resolv.h: Define RES_NOTLDQUERY.
25552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25553 no-tld-query and set RES_NOTLDQUERY.
25554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25556 modern BIND to search name as TLD unless forbidden.
25557
47c3cd7a
UD
255582011-05-07 Petr Baudis <pasky@suse.cz>
25559 Ulrich Drepper <drepper@gmail.com>
25560
25561 [BZ #12393]
25562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25563 (is_trusted_path): ...to here.
c1e9ea35 25564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25566 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25567
8a35c912
PP
255682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25569
25570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25571 __BEGIN/__END_DECLS.
25572
acd41f47
UD
255732011-05-06 Ulrich Drepper <drepper@gmail.com>
25574
25575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25576 NSS_STATUS_NOTFOUND if no record was found.
25577
597df647
AS
255782011-05-05 Andreas Schwab <schwab@redhat.com>
25579
25580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25581 (headers-not-in-tirpc): Remove rpc/netdb.h
25582 * resolv/netdb.h: Revert last change.
25583
b9af1301
PP
255842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25585
25586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25587 circular dependency between libgcc.a and libc.a.
25588
4e34d5f5
AS
255892011-05-05 Andreas Schwab <schwab@redhat.com>
25590
25591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25592 * nis/Makefile: Don't install rpcsvc/*.
25593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25594 instead of <rpc/types.h>.
25595 (MAXHOSTNAMELEN): Define.
25596
00ee369c
AS
255972011-05-03 Andreas Schwab <schwab@redhat.com>
25598
25599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25600
0b592a30
MB
256012011-04-28 Maciej Babinski <mbabinski@google.com>
25602
25603 [BZ #12714]
25604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25605 gethostbyname4_r when IPv6 results are possible.
25606
6e04cbbe
UD
256072011-05-02 Ulrich Drepper <drepper@gmail.com>
25608
25609 [BZ #12723]
25610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25611 _PC_PIPE_BUF handling.
25612
e4ecafe0
BH
256132011-04-30 Bruno Haible <bruno@clisp.org>
25614
25615 [BZ #12717]
25616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25618 to 'int'.
25619 * inet/getnameinfo.c (getnameinfo): Likewise.
25620
125ee683
UD
256212011-04-29 Ulrich Drepper <drepper@gmail.com>
25622
25623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25624 to groups setting in database lookup.
25625 * nss/nsswitch.conf: Add initgroups entry.
25626
b722481a
EB
256272011-04-22 Ulrich Drepper <drepper@gmail.com>
25628
25629 [BZ #12685]
25630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25631 mode string.
25632 Patch by Eric Blake <eblake@redhat.com>.
25633
4df46dbd
L
256342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25635
25636 * sunrpc/Makefile (need-export-routines): Add svc_run.
25637 (routines): Remove svc_run.
25638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25640 * sunrpc/svc_run.c (svc_run): Likewise.
25641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25642
e84142d2
UD
256432011-04-21 Ulrich Drepper <drepper@gmail.com>
25644
25645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25646 problem in reallocation in last patch.
25647
877175d8
UD
256482011-04-20 Ulrich Drepper <drepper@gmail.com>
25649
25650 * sunrpc/Makefile: Move inclusion of Rules.
25651
ab8eed78
UD
256522011-04-19 Ulrich Drepper <drepper@gmail.com>
25653
25654 * nss/nss_files/files-initgroups.c: New file.
25655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25657 _nss_files_initgroups_dyn.
25658
e3d8f584
RS
256592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25660
25661 * elf/elf.h (R_ARM_IRELATIVE): Define.
25662
af190f45
UD
256632011-04-19 Ulrich Drepper <drepper@gmail.com>
25664
25665 * po/ru.po: Update from translation team.
25666
53cf59ef
UD
256672011-04-17 Ulrich Drepper <drepper@gmail.com>
25668
25669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25670 dependencies.
25671
4c559bcd
MF
256722011-02-06 Mike Frysinger <vapier@gentoo.org>
25673
25674 [BZ #12653]
25675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25680
4420675c
AS
256812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25682
25683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25684 differing bytes.
25685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25688
75ea32ab
UD
256892011-04-17 Ulrich Drepper <drepper@gmail.com>
25690
25691 [BZ #12420]
25692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25693 storing it.
25694 * stdlib/bug-getcontext.c: New file.
25695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25696
27390476
AK
256972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25698
25699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25700 instructions into .machine "z9-109".
25701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25703
10442705
AK
257042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25705
25706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25707 between environment variables and auxiliary vector.
25708
7b57bfe5
UD
257092011-04-16 Ulrich Drepper <drepper@gmail.com>
25710
25711 * Makefile: Add rules to build linkobj/libc.so.
25712 * include/libc-symbols.h: Define libc_hidden_nolink.
25713 * include/rpc/auth.h: Mark functions which are to be hidden.
25714 * include/rpc/auth_des.h: Likewise.
25715 * include/rpc/auth_unix.h: Likewise.
25716 * include/rpc/clnt.h: Likewise.
25717 * include/rpc/des_crypt.h: Likewise.
25718 * include/rpc/key_prot.h: Likewise.
25719 * include/rpc/pmap_clnt.h: Likewise.
25720 * include/rpc/pmap_prot.h: Likewise.
25721 * include/rpc/pmap_rmt.h: Likewise.
25722 * include/rpc/rpc_msg.h: Likewise.
25723 * include/rpc/svc.h: Likewise.
25724 * include/rpc/svc_auth.h: Likewise.
25725 * include/rpc/xdr.h: Likewise.
25726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25727 * nss/Makefile: Likewise.
25728 * sunrpc/Makefile: Don't install headers. Build library with normal
25729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25731 for the compat linking library. Remove use of INTDEF/INTUSE.
25732 * sunrpc/auth_none.c: Likewise.
25733 * sunrpc/auth_unix.c: Likewise.
25734 * sunrpc/authdes_prot.c: Likewise.
25735 * sunrpc/authuxprot.c: Likewise.
25736 * sunrpc/clnt_gen.c: Likewise.
25737 * sunrpc/clnt_perr.c: Likewise.
25738 * sunrpc/clnt_raw.c: Likewise.
25739 * sunrpc/clnt_simp.c: Likewise.
25740 * sunrpc/clnt_tcp.c: Likewise.
25741 * sunrpc/clnt_udp.c: Likewise.
25742 * sunrpc/clnt_unix.c: Likewise.
25743 * sunrpc/des_crypt.c: Likewise.
25744 * sunrpc/des_soft.c: Likewise.
25745 * sunrpc/get_myaddr.c: Likewise.
25746 * sunrpc/key_call.c: Likewise.
25747 * sunrpc/key_prot.c: Likewise.
25748 * sunrpc/netname.c: Likewise.
25749 * sunrpc/pm_getmaps.c: Likewise.
25750 * sunrpc/pm_getport.c: Likewise.
25751 * sunrpc/pmap_clnt.c: Likewise.
25752 * sunrpc/pmap_prot.c: Likewise.
25753 * sunrpc/pmap_prot2.c: Likewise.
25754 * sunrpc/pmap_rmt.c: Likewise.
25755 * sunrpc/publickey.c: Likewise.
25756 * sunrpc/rpc_cmsg.c: Likewise.
25757 * sunrpc/rpc_common.c: Likewise.
25758 * sunrpc/rpc_dtable.c: Likewise.
25759 * sunrpc/rpc_prot.c: Likewise.
25760 * sunrpc/rpc_thread.c: Likewise.
25761 * sunrpc/rtime.c: Likewise.
25762 * sunrpc/svc.c: Likewise.
25763 * sunrpc/svc_auth.c: Likewise.
25764 * sunrpc/svc_authux.c: Likewise.
25765 * sunrpc/svc_raw.c: Likewise.
25766 * sunrpc/svc_run.c: Likewise.
25767 * sunrpc/svc_simple.c: Likewise.
25768 * sunrpc/svc_tcp.c: Likewise.
25769 * sunrpc/svc_udp.c: Likewise.
25770 * sunrpc/svc_unix.c: Likewise.
25771 * sunrpc/svcauth_des.c: Likewise.
25772 * sunrpc/xcrypt.c: Likewise.
25773 * sunrpc/xdr.c: Likewise.
25774 * sunrpc/xdr_array.c: Likewise.
25775 * sunrpc/xdr_float.c: Likewise.
25776 * sunrpc/xdr_intXX_t.c: Likewise.
25777 * sunrpc/xdr_mem.c: Likewise.
25778 * sunrpc/xdr_rec.c: Likewise.
25779 * sunrpc/xdr_ref.c: Likewise.
25780 * sunrpc/xdr_sizeof.c: Likewise.
25781 * sunrpc/xdr_stdio.c: Likewise.
25782
e6c61494
UD
257832011-04-10 Ulrich Drepper <drepper@gmail.com>
25784
25785 [BZ #12650]
25786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25787 * sysdeps/ia64/dl-tls.h: Likewise.
25788 * sysdeps/powerpc/dl-tls.h: Likewise.
25789 * sysdeps/s390/dl-tls.h: Likewise.
25790 * sysdeps/sh/dl-tls.h: Likewise.
25791 * sysdeps/sparc/dl-tls.h: Likewise.
25792 * sysdeps/x86_64/dl-tls.h: Likewise.
25793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25794
34fe483e
AS
257952011-03-14 Andreas Schwab <schwab@redhat.com>
25796
25797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25798 rpath element also skip the following colon.
25799 (expand_dynamic_string_token): Add is_path parameter and pass
25800 down to DL_DST_REQUIRED and _dl_dst_substitute.
25801 (decompose_rpath): Call expand_dynamic_string_token with
25802 non-zero is_path. Ignore empty rpaths.
25803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25804 with zero is_path.
25805
f12a32e6
AS
258062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25807
25808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25809 Make cancelable.
25810
38a7d692
UD
258112011-04-09 Ulrich Drepper <drepper@gmail.com>
25812
25813 [BZ #12655]
25814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25815 Patch by Filipe David Manana <fdmanana@apache.org>.
25816
e451d22b
AS
258172011-04-07 Andreas Schwab <schwab@redhat.com>
25818
25819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25820 Maintain aligned stack.
25821 (CHECK_RSP): Remove unused macro.
25822
dedc7c7b
UD
258232011-04-03 Ulrich Drepper <drepper@gmail.com>
25824
25825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25827
94521213
UD
258282011-04-02 Ulrich Drepper <drepper@gmail.com>
25829
25830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25831
8cb700c0 25832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25833
0354e355
L
258342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25835
25836 [BZ #12518]
25837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25839 * sysdeps/x86_64/memmove.c: New file.
25840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25841 (memcpy): Renamed to ...
25842 (__new_memcpy): This.
25843 (memcpy): Provide GLIBC_2_14 memcpy.
25844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25845 (memcpy): Provide GLIBC_2_2_5 memcpy.
25846
8593482f
UD
258472011-04-01 Ulrich Drepper <drepper@gmail.com>
25848
25849 [BZ #12631]
25850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25851
81a5726b
AS
258522011-03-30 Andreas Schwab <schwab@redhat.com>
25853
25854 * misc/syncfs.c: New file.
25855 * misc/Makefile (routines): Add syncfs.
25856 * posix/unistd.h: Declare syncfs.
25857 * sysdeps/unix/syscalls.list: Add syncfs.
25858
00e5419f
AS
258592011-04-01 Andreas Schwab <schwab@redhat.com>
25860
25861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25862 open_by_handle_at.
25863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25870
748876bf
UD
258712011-04-01 Ulrich Drepper <drepper@gmail.com>
25872
658e451d
UD
25873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25880
748876bf
UD
25881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25882 sync_file_range.c with -fexceptions.
25883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25890 sync_file_range as cancellation point
25891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25892 now a wrapper around __call_sync_file_range with cancellation handling.
25893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25895 function name to __call_sync_file_range.
25896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25897 Add call_sync_file_range.
748876bf 25898
6e63d5e1
AS
258992011-04-01 Andreas Schwab <schwab@redhat.com>
25900
25901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25902 bits/timex.h.
6e63d5e1 25903
46998f74
UD
259042011-04-01 Ulrich Drepper <drepper@gmail.com>
25905
4c1423ed
UD
25906 * iconv/iconv.h: Fix typo in comment.
25907 * io/fcntl.h: Likewise.
25908 * libio/stdio.h: Likewise.
25909 * posix/spawn.h: Likewise.
25910 * posix/unistd.h: Likewise.
25911 * stdlib/stdlib.h: Likewise.
25912 * time/time.h: Likewise.
25913 * wcsmbs/wchar.h: Likewise.
25914
158648c0
UD
25915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25916 open_by_handle): Add.
25917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25919 Augment a few comments.
25920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25926 open_by_handle.
25927
46998f74
UD
25928 * io/fcntl.h (AT_EMPTY_PATH): Define.
25929
83fe108b
UD
259302011-03-30 Ulrich Drepper <drepper@gmail.com>
25931
25932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25935 to...
25936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25937 * Versions.def: Add GLIBC_2.14.
25938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25939 Export.
83fe108b 25940
bb242059
UD
259412011-03-22 Ulrich Drepper <drepper@gmail.com>
25942
25943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25944 round counter.
25945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25946
c97a1282
L
259472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25948
25949 [BZ #12597]
25950 * string/test-strncmp.c (do_page_test): New function.
25951 (check2): Likewise.
25952 (test_main): Call check2.
25953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25954
2a115601
UD
259552011-03-20 Ulrich Drepper <drepper@gmail.com>
25956
25957 [BZ #12587]
25958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25959 Handle cache information in CPU leaf 4.
25960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25961
8126d904
UD
259622011-03-18 Ulrich Drepper <drepper@gmail.com>
25963
042c49c6 25964 [BZ #12583]
8126d904
UD
25965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25966 character representation.
25967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25968
ccfe366e
RA
259692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25970
25971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25972 END(__isnan) to END(__isnanf) to match function entry point/label
25973 EALIGN(__isnanf,...).
25974
c6e13027
JJ
259752011-03-10 Jakub Jelinek <jakub@redhat.com>
25976
25977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25978
33f85a3f
UD
259792011-03-10 Ulrich Drepper <drepper@gmail.com>
25980
028478fa
UD
25981 [BZ #12510]
25982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25983 copy from the symbol referenced in the relocation to initialize the
25984 used variable.
25985 Patch by Piotr Bury <pbury@goahead.com>.
25986 * elf/Makefile: Add rules to build and tst-unique3.
25987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25988 * elf/tst-unique3.cc: New file.
25989 * elf/tst-unique3.h: New file.
25990 * elf/tst-unique3lib.cc: New file.
25991 * elf/tst-unique3lib2.cc: New file.
25992
33f85a3f
UD
25993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25994
03592fc7
MF
259952011-03-10 Mike Frysinger <vapier@gentoo.org>
25996
25997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25999 to _start.
03592fc7 26000
6a5ee102
UD
260012011-03-06 Ulrich Drepper <drepper@gmail.com>
26002
26003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26004 to-be-loaded object along a path to loader is ld.so.
26005
7e4ba49c
HJ
260062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26007 Ulrich Drepper <drepper@gmail.com>
26008
26009 * sysdeps/x86_64/memset.S: After aligning destination, code
26010 branches to different locations depending on the value of
26011 misalignment, when multiarch is enabled. Fix this.
26012
260132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26014
26015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26016 Set _x86_64_preferred_memory_instruction for AMD processsors.
26017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26018 Set bit_Prefer_SSE_for_memop for AMD processors.
26019
13a804de
UD
260202011-03-04 Ulrich Drepper <drepper@gmail.com>
26021
26022 * libio/fmemopen.c (fmemopen): Optimize a bit.
26023
9d25c392
AS
260242011-03-03 Andreas Schwab <schwab@redhat.com>
26025
26026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26027
a5543c6a
RM
260282011-03-03 Roland McGrath <roland@redhat.com>
26029
26030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26031
012d35f7
DM
260322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26033
7e4ba49c 26034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26035 __bzero_ultra1 instead of __memset_ultra1.
26036
4bff6e01
AS
260372011-02-23 Andreas Schwab <schwab@redhat.com>
26038 Ulrich Drepper <drepper@gmail.com>
26039
26040 [BZ #12509]
26041 * include/link.h (struct link_map): Add l_orig_initfini.
26042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26043 returning unsuccessfully.
26044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26045 close of a file loaded at startup, restore the original l_initfini
26046 list.
26047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26048 list, store the pointer.
26049 * elf/Makefile ($(objpfx)noload-mem): New rule.
26050 (noload-ENV): Define.
26051 (tests): Add $(objpfx)noload-mem.
26052 * elf/noload.c: Include <memcheck.h>.
26053 (main): Call mtrace. Close all opened handles.
26054
f2092faf
AS
260552011-02-17 Andreas Schwab <schwab@redhat.com>
26056
26057 [BZ #12454]
26058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26059 dependencies are missing.
26060
6c8a2e88
ST
260612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26062
f2092faf 26063 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26064 Hurd needs munmap.
26065 * sysdeps/mach/hurd/ifreq.h: New file.
26066
84a42118
PB
260672011-01-27 Petr Baudis <pasky@suse.cz>
26068 Ulrich Drepper <drepper@gmail.com>
26069
071f805e 26070 [BZ 12445]#
84a42118
PB
26071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26072 to extend_alloca().
26073 * stdio-common/bug23.c: New file.
26074 * stdio-common/Makefile (tests): Add bug23.
26075
e23fe25b
AS
260762010-09-28 Andreas Schwab <schwab@redhat.com>
26077 Ulrich Drepper <drepper@gmail.com>
26078
26079 [BZ #12489]
26080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26081 before performing relro protection. At old place add assertion
26082 to make sure nothing changed.
26083
d3f02e10
NS
260842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26085 Glauber de Oliveira Costa <glommer@gmail.com>
26086
26087 * elf/elf.h: Add new ARM TLS relocs.
26088
d55fd7a5
RA
260892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26090
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26093 cast from r3.
26094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26095 'tests' variable.
26096 * sysdeps/wordsize-64/tst-writev.c: New file.
26097
2206397e
RA
260982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26099
26100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26102 insns in _dl_start to prevent a TOC reference before relocs are
26103 resolved.
26104
e9433893
UD
261052011-02-15 Ulrich Drepper <drepper@gmail.com>
26106
26107 [BZ #12469]
26108 * Makeconfig: Remove RANLIB definition.
26109 * Makerules: Don't use RANLIB.
26110 * aclocal.m4: Remove ranlib test.
26111 * configure.in: No need to check for ranlib.
26112 * elf/rtld-Rules: Don't use RANLIB.
26113
f75286c6
ST
261142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26115
8e31c82d
ST
26116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26117 protection macro.
26118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26119 inclusion protection macro.
26120
f75286c6
ST
26121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26122 SIGRTMIN and SIGRTMAX and print information in that case only when
26123 SIGRTMIN is defined.
26124
c1d0e639
JJ
261252011-02-11 Jakub Jelinek <jakub@redhat.com>
26126
26127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26128 arginfo fn returning -1.
26129
26130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26131 and thousands string is zero terminated.
26132
edf9294e
AS
261332011-02-03 Andreas Schwab <schwab@redhat.com>
26134
26135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26136 sysdeps/unix/sysv/linux/bits/socket.h.
26137
2b7e92df
ST
261382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26139
edf9294e
AS
26140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26141 (__CPU_COUNT): Remove old macros.
26142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26144 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26145 (__sched_cpualloc, __sched_cpufree): Add declarations.
26146
a4c7ea7b
UD
261472011-02-05 Ulrich Drepper <drepper@gmail.com>
26148
26149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26152 (readdhstai): Return value of addhstaiX call.
26153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26154 (addgrbyX): Return value returned by cache_addgr.
26155 (readdgrbyname): Return value returned by addgrbyX.
26156 (readdgrbygid): Likewise.
26157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26158 (addpwbyX): Return value returned by cache_addpw.
26159 (readdpwbyname): Return value returned by addhstbyX.
26160 (readdpwbyuid): Likewise.
26161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26162 (addservbyX): Return value returned by cache_addserv.
26163 (readdservbyname): Return value returned by addservbyX:
26164 (readdservbyport): Likewise.
26165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26166 (addhstbyX): Return value returned by cache_addhst.
26167 (readdhstbyname): Return value returned by addhstbyX.
26168 (readdhstbyaddr): Likewise.
26169 (readdhstbynamev6): Likewise.
26170 (readdhstbyaddrv6): Likewise.
26171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26172 (readdinitgroups): Return value returned by addinitgroupsX.
26173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26174 (prune_cache): Keep track of timeout value of re-added entries.
26175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26176 * nscd/nscd.h: Adjust prototypes of readd* functions.
26177
a0bf67cc
RM
261782011-02-04 Roland McGrath <roland@redhat.com>
26179
26180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26181 (nis_stats): Likewise.
26182 * nis/nis_modify.c (nis_modify): Likewise.
26183 * nis/nis_remove.c (nis_remove): Likewise.
26184 * nis/nis_add.c (nis_add): Likewise.
26185
26186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26187
26188 * posix/fnmatch_loop.c: Add some consts.
26189
26190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26191
435b95eb
L
261922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26193
26194 [BZ #12460]
26195 * config.make.in (config-cflags-novzeroupper): Define.
26196 * configure.in: Substitute libc_cv_cc_novzeroupper.
26197 * elf/Makefile (AVX-CFLAGS): Define.
26198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26199 (CFLAGS-tst-auditmod4a.c): Likewise.
26200 (CFLAGS-tst-auditmod4b.c): Likewise.
26201 (CFLAGS-tst-auditmod6b.c): Likewise.
26202 (CFLAGS-tst-auditmod6c.c): Likewise.
26203 (CFLAGS-tst-auditmod7b.c): Likewise.
26204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26205
8517b15e
UD
262062011-02-02 Ulrich Drepper <drepper@gmail.com>
26207
26208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26209 function to the callback.
26210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26211
10a656fe
AS
262122011-02-02 Andreas Schwab <schwab@redhat.com>
26213
26214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26215 of errno.
26216
968dad0a
UD
262172011-01-19 Ulrich Drepper <drepper@gmail.com>
26218
9f94d2ea 26219 [BZ #11724]
968dad0a
UD
26220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26221 of constructors.
26222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26223 of destructors.
26224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26225
26226 [BZ #11724]
26227 * elf/Makefile: Add rules to build and run new test.
26228 * elf/tst-initorder.c: New file.
26229 * elf/tst-initorder.exp: New file.
26230 * elf/tst-initordera1.c: New file.
26231 * elf/tst-initordera2.c: New file.
26232 * elf/tst-initordera3.c: New file.
26233 * elf/tst-initordera4.c: New file.
26234 * elf/tst-initorderb1.c: New file.
26235 * elf/tst-initorderb2.c: New file.
26236 * elf/tst-order-a1.c: New file.
26237 * elf/tst-order-a2.c: New file.
26238 * elf/tst-order-a3.c: New file.
26239 * elf/tst-order-a4.c: New file.
26240 * elf/tst-order-b1.c: New file.
26241 * elf/tst-order-b2.c: New file.
26242 * elf/tst-order-main.c: New file.
26243 New test case by George Gensure <werkt0@gmail.com>.
26244
86e92359
UD
262452010-10-01 Andreas Schwab <schwab@redhat.com>
26246
26247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26248 decoding ACE if AI_CANONIDN.
26249
5d5732b0
UD
262502011-01-18 Ulrich Drepper <drepper@gmail.com>
26251
26252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26253
a77e8cbc
UD
262542011-01-17 Ulrich Drepper <drepper@gmail.com>
26255
6392473f
UD
26256 * version.h (RELEASE): Bump for 2.13 release.
26257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26258
620a0529
UD
26259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26260
18ba70a5
UD
26261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26262 MADV_NOHUGEPAGE.
32465c3e
UD
26263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26269
c0dafcf1
UD
26270 * posix/getconf.c: Update copyright year.
26271 * catgets/gencat.c: Likewise.
26272 * csu/version.c: Likewise.
26273 * debug/catchsegv.sh: Likewise.
26274 * debug/xtrace.sh: Likewise.
26275 * elf/ldconfig.c: Likewise.
26276 * elf/ldd.bash.in: Likewise.
26277 * elf/sprof.c (print_version): Likewise.
26278 * iconv/iconv_prog.c: Likewise.
26279 * iconv/iconvconfig.c: Likewise.
26280 * locale/programs/locale.c: Likewise.
26281 * locale/programs/localedef.c: Likewise.
26282 * malloc/memusage.sh: Likewise.
26283 * malloc/mtrace.pl: Likewise.
26284 * nscd/nscd.c (print_version): Likewise.
26285 * nss/getent.c: Likewise.
26286
a77e8cbc
UD
26287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26288 PF_CAIF, and PF_ALG.
26289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26290
77e8bddf
AS
262912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26292
1f20b93a
AS
26293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26294 (modules-names): Use them.
26295 (ifunc-test-modules, ifunc-pie-tests): Define.
26296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26298 (test-extras): Likewise.
26299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26300 $(compile-command.c).
26301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26302 (all-built-dso): Define.
26303 (check-textrel.out, check-execstack.out): Depend on it.
26304
77e8bddf
AS
26305 * configure.in: Don't override --enable-multi-arch.
26306
bc425b33
UD
263072011-01-15 Ulrich Drepper <drepper@gmail.com>
26308
26309 [BZ #6812]
26310 * nscd/hstcache.c (tryagain): Define.
26311 (cache_addhst): Return tryagain not notfound for temporary errors.
26312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26313 failed.
26314
794c3ad3
UD
263152011-01-14 Ulrich Drepper <drepper@gmail.com>
26316
70181fdd
UD
26317 [BZ #10563]
26318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26319 to make the syscall.
26320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26321
794c3ad3
UD
26322 [BZ #12378]
26323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26324 and fall back to matching as normal character if the string ends before
26325 the matching ']' is found. This is what POSIX requires.
26326 * posix/testfnm.c: Adjust test result.
26327 * posix/globtest.sh: Adjust test result. Add new test.
26328 * posix/tst-fnmatch.input: Likewise.
26329 * posix/tst-fnmatch2.c: Add new test.
26330
68dc9497
AS
263312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26332
26333 * elf/Makefile (check-execstack): Revert last change. Depend on
26334 check-execstack.h.
26335 (check-execstack.h): New target.
26336 (generated): Add check-execstack.h.
26337 * elf/check-execstack.c: Include "check-execstack.h".
26338 (main): Revert last change.
26339 (handle_file): Return zero if GNU_STACK is absent and
26340 DEFAULT_STACK_PERMS doesn't include PF_X.
26341
451f001b
UD
263422011-01-13 Ulrich Drepper <drepper@gmail.com>
26343
cfa28e56
UD
26344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26345 in child fails because the descriptor is already closed.
8cf8ce17
UD
26346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26349
1086d70d
UD
26350 [BZ #12397]
26351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26352 syscall.
26353
451f001b
UD
26354 [BZ #10484]
26355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26356 temporary buffer used to handle multi lookups locally.
a85b5cb4 26357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26358
08769175
UD
263592011-01-12 Ulrich Drepper <drepper@gmail.com>
26360
26361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26362 loader is ld.so.
26363
5e49c52e
UD
263642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26365
26366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26367 alignment for SSE2.
26368
60522a5f
UD
263692011-01-12 Ulrich Drepper <drepper@gmail.com>
26370
26371 [BZ #12394]
26372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26373 characters. When rounding increased number of integer digits recompute
26374 number of groups.
26375 * stdio-common/tst-grouping.c: New file.
26376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26377
f257bbd7
UD
263782011-01-09 Ulrich Drepper <drepper@gmail.com>
26379
26380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26382
26383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26384 void.
26385 * bits/select.h: Likewise.
26386
fa9c15cb
UD
263872011-01-08 Ulrich Drepper <drepper@gmail.com>
26388
26389 * po/ja.po: Update from translation team.
26390
16c2895f
DM
263912011-01-04 David S. Miller <davem@sunset.davemloft.net>
26392
26393 [BZ #11155]
26394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26395 implementation just like for lxstat, fxstatat, et al.
26396
2543fef2
JM
263972010-12-27 Jim Meyering <meyering@redhat.com>
26398
26399 [BZ #12348]
26400 * posix/regexec.c (build_trtable): Return failure indication upon
26401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26402
98727dbe
UD
264032010-12-25 Ulrich Drepper <drepper@gmail.com>
26404
5bd6dc5c
UD
26405 [BZ #12201]
26406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26410
97983464
UD
26411 [BZ #12207]
26412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26413
98727dbe
UD
26414 [BZ #12204]
26415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26417
4a531bb0
L
264182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26422 script has SORT_BY_INIT_PRIORITY.
26423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26424 NO_CTORS_DTORS_SECTIONS is defined.
26425 * elf/soinit.c: Likewise.
26426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26427 NO_CTORS_DTORS_SECTIONS is defined.
26428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26430 * sysdeps/sh/init-first.c: Likewise.
26431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26432
07eb4b71
UD
264332010-12-24 Ulrich Drepper <drepper@gmail.com>
26434
26435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26436 always use the slow path.
26437
30950a5f
RA
264382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26439
26440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26441 similar rule which adds the sysdep directories to the header search in
26442 order to pick up the correct platform stackinfo.h.
26443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26444 perform test if it is, otherwise return successfully without testing.
26445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26446 DEFAULT_STACK_PERMS define in stackinfo.h.
26447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26448 defined in stackinfo.h.
26449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26450 DEFAULT_STACK_PERMS defined in stackinfo.h.
26451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26452 * sysdeps/ia64/stackinfo.h: Likewise.
26453 * sysdeps/s390/stackinfo.h: Likewise.
26454 * sysdeps/sh/stackinfo.h: Likewise.
26455 * sysdeps/sparc/stackinfo.h: Likewise.
26456 * sysdeps/x86_64/stackinfo.h: Likewise.
26457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26458 PF_X for powerpc64. Retain PF_X for powerpc32.
26459
db753e2c
UD
264602010-12-19 Ulrich Drepper <drepper@gmail.com>
26461
14b697f7
UD
26462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26463 accurately.
db753e2c
UD
26464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26465 GETDENTS_64BIT_ALIGNED.
26466
28300719
UD
264672010-12-14 Ulrich Drepper <dreper@gmail.com>
26468
14b697f7 26469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26470
4f197237
AS
264712010-12-10 Andreas Schwab <schwab@redhat.com>
26472
dbb0472f
AS
26473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26474 _GNU_SOURCE.
26475
4f197237
AS
26476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26478 Remove __restrict.
26479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26481
fb88ac72
UD
264822010-12-09 Ulrich Drepper <drepper@gmail.com>
26483
26484 [BZ #11655]
26485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26486 are initialized.
26487
42acbb92
JJ
264882010-12-09 Jakub Jelinek <jakub@redhat.com>
26489
26490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26491
c038d98d
UD
264922010-12-03 Ulrich Drepper <drepper@gmail.com>
26493
26494 * po/it.po: Update from translation team.
26495
3a4a2499
L
264962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26497
26498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26499 unused codes.
26500
1e24cf6e
UD
265012010-11-30 Ulrich Drepper <drepper@gmail.com>
26502
26503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26504
a7690819
AS
265052010-11-24 Andreas Schwab <schwab@redhat.com>
26506
26507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26508 specially.
26509 (gaih_getanswer_slice): Likewise.
26510
3bf8d1b1
JJ
265112010-10-20 Jakub Jelinek <jakub@redhat.com>
26512
26513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26514
6db52fbb
PB
265152010-05-31 Petr Baudis <pasky@suse.cz>
26516
26517 [BZ #11149]
26518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26519 silently even in the chroot mode.
26520
eaca7569
UD
265212010-11-22 Ulrich Drepper <drepper@gmail.com>
26522
26523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26524 last patch a bit. Pretty printing
26525
3056dcdb
UD
265262010-05-31 Petr Baudis <pasky@suse.cz>
26527
26528 [BZ #10085]
26529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26530 initialization of skip_initgroups_dyn.
26531
cf7c9078
UD
265322010-11-19 Ulrich Drepper <drepper@gmail.com>
26533
26534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26536
a1fb5e3e
UD
265372010-11-16 Ulrich Drepper <drepper@gmail.com>
26538
26539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26540
3540d66b
AS
265412010-11-11 Andreas Schwab <schwab@redhat.com>
26542
26543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26546 ($(objpfx)tst-fnmatch-mem): New rule.
26547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26548 * posix/tst-fnmatch.c (main): Call mtrace.
26549
13b69574
L
265502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26551
26552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26553 Support Intel processor model 6 and model 0x2c.
26554
da93d214
LM
265552010-11-10 Luis Machado <luisgpm@br.ibm.com>
26556
26557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26558 signed comparison.
26559
8ca52c6e
L
265602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26561
26562 [BZ #12205]
26563 * string/test-strncasecmp.c (check_result): New function.
26564 (do_one_test): Use it.
26565 (check1): New function.
26566 (test_main): Use it.
26567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26568 Support strcasecmp and strncasecmp.
26569
69da074d
UD
265702010-11-08 Ulrich Drepper <drepper@gmail.com>
26571
26572 [BZ #12194]
26573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26575
ff02d528
L
265762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26577
26578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26579 IFUNC support.
26580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26581 memset-x86-64.
26582 * sysdeps/x86_64/multiarch/bzero.S: New file.
26583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26585 * sysdeps/x86_64/multiarch/memset.S: New file.
26586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26588 Set bit_Prefer_SSE_for_memop for Intel processors.
26589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26590 Define.
26591 (index_Prefer_SSE_for_memop): Define.
26592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26593
344d0b54
LM
265942010-11-04 Luis Machado <luisgpm@br.ibm.com>
26595
26596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26598
c0dde15b
UD
265992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26600
26601 [BZ #12191]
26602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26603 (__x86_64_raw_data_cache_size_half): Likewise.
26604 (__x86_64_raw_shared_cache_size): Likewise.
26605 (__x86_64_raw_shared_cache_size_half): Likewise.
26606
26607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26608 (__x86_64_raw_data_cache_size_half): Likewise.
26609 (__x86_64_raw_shared_cache_size): Likewise.
26610 (__x86_64_raw_shared_cache_size_half): Likewise.
26611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26613 and __x86_64_raw_shared_cache_size_half. Round
26614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26616 to multiple of 256 bytes.
26617
0e516e0e
MS
266182010-11-03 Ulrich Drepper <drepper@gmail.com>
26619
26620 [BZ #12167]
26621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26622 of inacessible symlinks. Verify result of symlink before returning it.
26623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26625
0e012e87
ER
266262010-10-28 Erich Ritz <erichritz@gmail.com>
26627
26628 * math/math.h (isinf): Fix typo in comment.
26629
de0ff7bc
UD
266302010-11-01 Ulrich Drepper <drepper@gmail.com>
26631
26632 * po/da.po: Update from translation team.
26633
fa41c84d
UD
266342010-10-26 Ulrich Drepper <drepper@gmail.com>
26635
26636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26637 is added to the list.
26638
f0967738
AK
266392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26640 Ulrich Drepper <drepper@gmail.com>
26641
26642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26643 the global list here. Move code to...
26644 (_dl_add_to_namespace_list): ...here. New function.
26645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26647 * elf/dl-load.c (lose): Don't remove the element from the list.
26648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26649 (_dl_map_object): Likewise.
26650
266512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26652
26653 [BZ #12159]
26654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26655 into all bytes of SSE register.
26656 Patch by Richard Li <richardpku@gmail.com>.
26657
f0967738 266582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26659
26660 [BZ #12140]
26661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26662 perturbing.
26663
d0b9e94f
MB
266642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26665
26666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26671 submachine.
26672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26673
8e9f92e9
AS
266742010-10-22 Andreas Schwab <schwab@redhat.com>
26675
26676 * include/dlfcn.h (__RTLD_SECURE): Define.
26677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26678 mode & __RTLD_SECURE instead.
26679 (open_path): Rename preloaded parameter to secure.
26680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26682 * elf/dl-deps.c (openaux): Likewise.
26683 * elf/rtld.c (struct map_args): Remove is_preloaded.
26684 (map_doit): Don't use it.
26685 (dl_main): Likewise.
26686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26688
bc96fbda
AS
266892010-09-09 Andreas Schwab <schwab@redhat.com>
26690
26691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26692 (sysd-rules-targets): Remove duplicates.
26693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26694 rtld-%.$o dependency.
26695
22cd1c9b
AS
266962010-10-18 Andreas Schwab <schwab@redhat.com>
26697
26698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26699 _dl_map_object do it.
26700
18edac48
UD
267012010-10-19 Ulrich Drepper <drepper@gmail.com>
26702
26703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26704 fast fma builtins, define the macros in the C99 standard.
26705 (FP_FAST_FMAF): Likewise.
26706 (FP_FAST_FMAL): Likewise.
26707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26708
26709 * bits/mathdef.h: Update copyright year.
26710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26711
d2050124
MM
267122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26713
26714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26715 builtins, define the macros in the C99 standard.
26716 (FP_FAST_FMAF): Likewise.
26717 (FP_FAST_FMAL): Likewise.
26718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26719 multiply/add.
26720 (FP_FAST_FMAF): Likewise.
26721
475facd1
JJ
267222010-10-15 Jakub Jelinek <jakub@redhat.com>
26723
26724 [BZ #3268]
26725 * math/libm-test.inc (fma_test): Some new testcases.
26726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26728 y and infinite z. Do multiplication by C already in long double.
26729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26731 y and infinite z. Do bitwise or of inexact bit into u.d.
26732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26734 * sysdeps/i386/fpu/s_fma.S: Removed.
26735 * sysdeps/i386/fpu/s_fmal.S: Removed.
26736
7c08a05c
JJ
267372010-10-16 Jakub Jelinek <jakub@redhat.com>
26738
26739 [BZ #3268]
26740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26742 computation is not scheduled after fetestexcept. Fix value
26743 of minimum denormal long double.
26744
f3f7372d
JJ
267452010-10-14 Jakub Jelinek <jakub@redhat.com>
26746
26747 [BZ #3268]
26748 * math/libm-test.inc (fma_test): Add some more tests.
26749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26750 correctly.
26751
14d43591
AS
267522010-10-15 Andreas Schwab <schwab@redhat.com>
26753
26754 * scripts/data/localplt-s390-linux-gnu.data: New file.
26755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26756
5e908464
JJ
267572010-10-13 Jakub Jelinek <jakub@redhat.com>
26758
26759 [BZ #3268]
26760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26762 instead of dbl-64.
26763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26764 inlines.
26765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26767 if one of x and y is very large and the other is subnormal.
26768 * sysdeps/s390/fpu/s_fmaf.c: New file.
26769 * sysdeps/s390/fpu/s_fma.c: New file.
26770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26771 * sysdeps/powerpc/fpu/s_fma.S: New file.
26772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26775
267762010-10-12 Jakub Jelinek <jakub@redhat.com>
26777
26778 [BZ #3268]
26779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26780 fma tests.
26781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26788
b833d51f
UD
267892010-10-12 Ulrich Drepper <drepper@redhat.com>
26790
26791 [BZ #12078]
26792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26793 * posix/bug-regex31.input: Add test case.
26794
1751705d
UD
267952010-10-11 Ulrich Drepper <drepper@gmail.com>
26796
e9b9cbf5
UD
26797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26798 * posix/bug-regex31.input: New file.
26799
26800 [BZ #12078]
26801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26802 (parse_sub_exp): Fix last change, use postorder.
26803
ef06edbe
UD
26804 * posix/bug-regex31.c: New file.
26805 * posix/Makefile: Add rules to build and run bug-regex31.
26806
a129c80d
UD
26807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26808
26809 [BZ #12078]
26810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26811
b76b818e
UD
26812 [BZ #12108]
26813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26814 to have entries in sys_siglist.
26815
1751705d
UD
26816 [BZ #12093]
26817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26818 be NULL.
26819
9ff8d36f
JJ
268202010-10-07 Jakub Jelinek <jakub@redhat.com>
26821
26822 [BZ #3268]
26823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26836 * math/ftestexcept.c (fetestexcept): Likewise.
26837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26844
af325969
UD
268452010-10-11 Ulrich Drepper <drepper@gmail.com>
26846
c579b202 26847 [BZ #12107]
af325969
UD
26848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26849 newline.
26850
67a67b95
UD
268512010-10-06 Ulrich Drepper <drepper@gmail.com>
26852
26853 * string/bug-strstr1.c: New file.
26854 * string/Makefile: Add rules to build and run bug-strstr1.
26855
5fb308bc
EB
268562010-10-05 Eric Blake <eblake@redhat.com>
26857
26858 [BZ #12092]
26859 * string/str-two-way.h (two_way_long_needle): Always clear memory
26860 when skipping input due to the shift table.
26861
45db99c7
UD
268622010-10-03 Ulrich Drepper <drepper@gmail.com>
26863
3b111893
UD
26864 [BZ #12005]
26865 * malloc/mcheck.c: Handle large requests.
26866
45db99c7
UD
26867 [BZ #12077]
26868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26869 for strncmp and strncasecmp.
26870 * string/stratcliff.c: Add tests for strcmp and strncmp.
26871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26872
cf7a1eb8
NI
268732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26874
26875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26876 __set_fpscr.
26877
6484ba5e
AJ
268782010-09-30 Andreas Jaeger <aj@suse.de>
26879
26880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26881 (CGROUP_SUPER_MAGIC): Define.
26882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26883 Handle btrfs and cgroup file systems.
26884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26885 Likewise.
26886
91c42559
LM
268872010-09-27 Luis Machado <luisgpm@br.ibm.com>
26888
26889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26891
87a97932
AK
268922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26893
26894 [BZ #12067]
26895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26896 trying to locate the ELF header.
26897
c21cc9bc
AS
268982010-09-27 Andreas Schwab <schwab@redhat.com>
26899
26900 [BZ #11611]
26901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26902 Mask out sign-bit copies when constructing f_fsid.
26903
315970f6
PB
269042010-09-24 Petr Baudis <pasky@suse.cz>
26905
26906 * debug/stack_chk_fail_local.c: Add missing licence exception.
26907 * debug/warning-nop.c: Likewise.
26908
1ac7a2c7
JM
269092010-09-15 Joseph Myers <joseph@codesourcery.com>
26910
26911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26912 implementing getdents64 using getdents syscall, set d_type if
26913 __ASSUME_GETDENTS32_D_TYPE.
26914
56801c50
AS
269152010-09-16 Andreas Schwab <schwab@redhat.com>
26916
26917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26919
dda51327
UD
269202010-09-21 Ulrich Drepper <drepper@redhat.com>
26921
26922 [BZ #12037]
26923 * posix/unistd.h: Undo change of feature selection for ftruncate from
26924 2010-01-11.
26925
8ffcee4a
UD
269262010-09-20 Ulrich Drepper <drepper@redhat.com>
26927
a545ecd9 26928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26929 detection.
26930
e24f0a8b
AS
269312010-09-20 Andreas Schwab <schwab@redhat.com>
26932
26933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26934 fanotify_mark.
26935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26936
7291c56f
AS
269372010-09-14 Andreas Schwab <schwab@redhat.com>
26938
26939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26940 variables after CHECK_SP call.
26941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26942
bc5fb037
AS
269432010-09-13 Andreas Schwab <schwab@redhat.com>
26944 Ulrich Drepper <drepper@redhat.com>
26945
26946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26947 re-relocationg ld.so.
26948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26949 _dl_init_paths call.
26950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26951 here anymore.
26952
e66e7419
UD
269532010-09-14 Ulrich Drepper <drepper@redhat.com>
26954
26955 * resolv/res_init.c (__res_vinit): Count the default server we added.
26956
c044aa75
CLT
269572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26958 Ulrich Drepper <drepper@redhat.com>
26959
26960 [BZ #11968]
26961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26962 (____longjmp_chk): Use %ebx for saving value across system call.
26963 Add unwind info.
26964
32cf4069
AS
269652010-09-06 Andreas Schwab <schwab@redhat.com>
26966
26967 * manual/Makefile: Don't mix pattern rules with normal rules.
26968
817328ee
AS
269692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26970
26971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26972 operation.
26973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26978 Likewise.
26979
29fddf61
UD
269802010-09-04 Ulrich Drepper <drepper@redhat.com>
26981
26982 [BZ #11979]
26983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26985
0959ffc9
UD
269862010-09-02 Ulrich Drepper <drepper@redhat.com>
26987
26988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26989 * sysdeps/x86_64/addmul_1.S: Likewise.
26990 * sysdeps/x86_64/lshift.S: Likewise.
26991 * sysdeps/x86_64/mul_1.S: Likewise.
26992 * sysdeps/x86_64/rshift.S: Likewise.
26993 * sysdeps/x86_64/sub_n.S: Likewise.
26994 * sysdeps/x86_64/submul_1.S: Likewise.
26995
ece29840
ST
269962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26997
0959ffc9
UD
26998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26999 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27000 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27001 * bits/sched.h [__need_schedparam]
ece29840 27002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27004 (__defined_schedparam): Define to 1.
ece29840
ST
27005 (__sched_param): New structure, identical to sched_param.
27006 (__need_schedparam): Undefine.
27007
e53a31fe
MF
270082010-08-31 Mike Frysinger <vapier@gentoo.org>
27009
fdc0c10d
MF
27010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27011 (epoll_create1): Declare.
27012
e53a31fe
MF
27013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27014
a726d796
AS
270152010-08-31 Andreas Schwab <schwab@redhat.com>
27016
27017 [BZ #7066]
27018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27019 shifting retval into place.
27020
2f3e3dc7
UD
270212010-09-01 Ulrich Drepper <drepper@redhat.com>
27022
f2933da9
UD
27023 * nis/rpcsvc/nis.h: Update copyright notice.
27024 * nis/rpcsvc/nis.x: Likewise.
27025 * nis/rpcsvc/nis_callback.h: Likewise.
27026 * nis/rpcsvc/nis_callback.x: Likewise.
27027 * nis/rpcsvc/nis_object.x: Likewise.
27028 * nis/rpcsvc/nis_tags.h: Likewise.
27029 * nis/rpcsvc/yp.h: Likewise.
27030 * nis/rpcsvc/yp.x: Likewise.
27031 * nis/rpcsvc/ypupd.h: Likewise.
27032 * nis/yp_xdr.c: Likewise.
27033 * nis/ypupdate_xdr.c: Likewise.
27034
2f3e3dc7
UD
27035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27036 mainly the body of pmap_getport. Add parameters to specify timeouts.
27037 (pmap_getport): Use __libc_rpc_getport.
27038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27041
f3dcc2f9
AS
270422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27043
27044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27045 fanotify_mark.
27046
6d34eb5b
RM
270472010-08-27 Roland McGrath <roland@redhat.com>
27048
27049 * sysdeps/i386/i686/multiarch/Makefile
27050 (CFLAGS-varshift.c): New variable.
27051
9ea3de11
UD
270522010-08-27 Ulrich Drepper <drepper@redhat.com>
27053
c96d23fc
UD
27054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27056
9ea3de11
UD
27057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27058
27059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27060
623aac7f
L
270612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27062
27063 * sysdeps/x86_64/strlen.S: Unroll the loop.
27064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27065 strlen-sse2 strlen-sse2-bsf.
27066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27067 __strlen_no_bsf if bit_Slow_BSF is set.
27068 (__strlen_sse42): Removed.
27069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27071
8b2b7715
RM
270722010-08-25 Roland McGrath <roland@redhat.com>
27073
27074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27075 * sysdeps/x86_64/multiarch/varshift.c: New file.
27076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27080
e73015f2
L
270812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27082
27083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27084 strlen-sse2 strlen-sse2-bsf.
27085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27087 (__strlen_sse2): Removed.
27088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27091 bit_Slow_BSF for Atom.
27092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27093 (index_Slow_BSF): Define.
27094 (HAS_SLOW_BSF): Define.
27095
df24a73e
UD
270962010-08-25 Ulrich Drepper <drepper@redhat.com>
27097
27098 [BZ #10851]
27099 * resolv/res_init.c (__res_vinit): When no server address at all
27100 is given default to loopback.
27101
f2ac4868
RM
271022010-08-24 Roland McGrath <roland@redhat.com>
27103
09055553
RM
27104 * configure.in: Remove config-name.h generation.
27105 * configure: Regenerated.
27106 * config-name.in: File removed.
27107 * scripts/config-uname.sh: New file.
27108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27109 ($(objdir)config-name.h): New target.
27110
f2ac4868
RM
27111 * sunrpc/rpc_parse.h: Avoid nested comment.
27112
73f27d5e
RH
271132010-08-24 Richard Henderson <rth@redhat.com>
27114 Ulrich Drepper <drepper@redhat.com>
27115 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27121 _mm_alignr_epi8 with _mm_loadu_si128.
27122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27124 (__m128i_shift_right): Removed.
27125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27127 * sysdeps/x86_64/multiarch/varshift.h: New file.
27128 * sysdeps/x86_64/multiarch/varshift.S: New file.
27129
84b9230c
MF
271302010-08-21 Mike Frysinger <vapier@gentoo.org>
27131
27132 * configure.in: Move assembler checks to before sysdep dir checking.
27133
9bbd0ddc
PB
271342010-08-20 Petr Baudis <pasky@suse.cz>
27135
27136 * LICENSES: Sync the sunrpc license.
27137
9da4bb31
UD
271382010-08-19 Ulrich Drepper <drepper@redhat.com>
27139
a7ab6ec8
UD
27140 * sunrpc/auth_des.c: Update copyright notice once again.
27141 * sunrpc/auth_none.c: Likewise.
27142 * sunrpc/auth_unix.c: Likewise.
27143 * sunrpc/authdes_prot.c: Likewise.
27144 * sunrpc/authuxprot.c: Likewise.
27145 * sunrpc/bindrsvprt.c: Likewise.
27146 * sunrpc/clnt_gen.c: Likewise.
27147 * sunrpc/clnt_perr.c: Likewise.
27148 * sunrpc/clnt_raw.c: Likewise.
27149 * sunrpc/clnt_simp.c: Likewise.
27150 * sunrpc/clnt_tcp.c: Likewise.
27151 * sunrpc/clnt_udp.c: Likewise.
27152 * sunrpc/clnt_unix.c: Likewise.
27153 * sunrpc/des_crypt.c: Likewise.
27154 * sunrpc/des_soft.c: Likewise.
27155 * sunrpc/get_myaddr.c: Likewise.
27156 * sunrpc/getrpcport.c: Likewise.
27157 * sunrpc/key_call.c: Likewise.
27158 * sunrpc/key_prot.c: Likewise.
27159 * sunrpc/openchild.c: Likewise.
27160 * sunrpc/pm_getmaps.c: Likewise.
27161 * sunrpc/pm_getport.c: Likewise.
27162 * sunrpc/pmap_clnt.c: Likewise.
27163 * sunrpc/pmap_prot.c: Likewise.
27164 * sunrpc/pmap_prot2.c: Likewise.
27165 * sunrpc/pmap_rmt.c: Likewise.
27166 * sunrpc/rpc/auth.h: Likewise.
27167 * sunrpc/rpc/auth_unix.h: Likewise.
27168 * sunrpc/rpc/clnt.h: Likewise.
27169 * sunrpc/rpc/des_crypt.h: Likewise.
27170 * sunrpc/rpc/key_prot.h: Likewise.
27171 * sunrpc/rpc/netdb.h: Likewise.
27172 * sunrpc/rpc/pmap_clnt.h: Likewise.
27173 * sunrpc/rpc/pmap_prot.h: Likewise.
27174 * sunrpc/rpc/pmap_rmt.h: Likewise.
27175 * sunrpc/rpc/rpc.h: Likewise.
27176 * sunrpc/rpc/rpc_des.h: Likewise.
27177 * sunrpc/rpc/rpc_msg.h: Likewise.
27178 * sunrpc/rpc/svc.h: Likewise.
27179 * sunrpc/rpc/svc_auth.h: Likewise.
27180 * sunrpc/rpc/types.h: Likewise.
27181 * sunrpc/rpc/xdr.h: Likewise.
27182 * sunrpc/rpc_clntout.c: Likewise.
27183 * sunrpc/rpc_cmsg.c: Likewise.
27184 * sunrpc/rpc_common.c: Likewise.
27185 * sunrpc/rpc_cout.c: Likewise.
27186 * sunrpc/rpc_dtable.c: Likewise.
27187 * sunrpc/rpc_hout.c: Likewise.
27188 * sunrpc/rpc_main.c: Likewise.
27189 * sunrpc/rpc_parse.c: Likewise.
27190 * sunrpc/rpc_parse.h: Likewise.
27191 * sunrpc/rpc_prot.c: Likewise.
27192 * sunrpc/rpc_sample.c: Likewise.
27193 * sunrpc/rpc_scan.c: Likewise.
27194 * sunrpc/rpc_scan.h: Likewise.
27195 * sunrpc/rpc_svcout.c: Likewise.
27196 * sunrpc/rpc_tblout.c: Likewise.
27197 * sunrpc/rpc_util.c: Likewise.
27198 * sunrpc/rpc_util.h: Likewise.
27199 * sunrpc/rpcinfo.c: Likewise.
27200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27201 * sunrpc/rpcsvc/key_prot.x: Likewise.
27202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27203 * sunrpc/rpcsvc/mount.x: Likewise.
27204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27206 * sunrpc/rpcsvc/rex.x: Likewise.
27207 * sunrpc/rpcsvc/rstat.x: Likewise.
27208 * sunrpc/rpcsvc/rusers.x: Likewise.
27209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27210 * sunrpc/rpcsvc/spray.x: Likewise.
27211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27212 * sunrpc/rtime.c: Likewise.
27213 * sunrpc/svc.c: Likewise.
27214 * sunrpc/svc_auth.c: Likewise.
27215 * sunrpc/svc_authux.c: Likewise.
27216 * sunrpc/svc_raw.c: Likewise.
27217 * sunrpc/svc_run.c: Likewise.
27218 * sunrpc/svc_simple.c: Likewise.
27219 * sunrpc/svc_tcp.c: Likewise.
27220 * sunrpc/svc_udp.c: Likewise.
27221 * sunrpc/svc_unix.c: Likewise.
27222 * sunrpc/svcauth_des.c: Likewise.
27223 * sunrpc/xcrypt.c: Likewise.
27224 * sunrpc/xdr.c: Likewise.
27225 * sunrpc/xdr_array.c: Likewise.
27226 * sunrpc/xdr_float.c: Likewise.
27227 * sunrpc/xdr_mem.c: Likewise.
27228 * sunrpc/xdr_rec.c: Likewise.
27229 * sunrpc/xdr_ref.c: Likewise.
27230 * sunrpc/xdr_sizeof.c: Likewise.
27231 * sunrpc/xdr_stdio.c: Likewise.
27232
9da4bb31
UD
27233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27234 handling.
27235
bdaa77bc
AS
272362010-08-19 Andreas Schwab <schwab@redhat.com>
27237
27238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27239
fe2f79db
LM
272402010-08-19 Luis Machado <luisgpm@br.ibm.com>
27241
27242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27256
b9b42ee0
AB
272572010-07-26 Anton Blanchard <anton@samba.org>
27258
27259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27260 * malloc/arena.c (heap_trim): Likewise.
27261
1c06ba31
UD
272622010-08-16 Ulrich Drepper <drepper@redhat.com>
27263
27264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27265 here. Not...
27266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27268
f8392f40
L
272692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 * sysdeps/i386/elf/Makefile: New file.
27272
3162f12e
AS
272732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27274
27275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27276 from fanotify_init.
27277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27279
28c90b2c
UD
272802010-08-15 Ulrich Drepper <drepper@redhat.com>
27281
27282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27283 of strncasecmp_l.
1feccb6c 27284 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27285
ca6bb004
UD
272862010-08-14 Ulrich Drepper <drepper@redhat.com>
27287
e9f82e0d
UD
27288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27289 strncase_l-nonascii.
27290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27291 Add strncase_l-ssse3.
27292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27293 * sysdeps/x86_64/strcmp.S: Likewise.
27294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27296 * sysdeps/x86_64/strncase.S: New file.
27297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27298 * sysdeps/x86_64/strncase_l.S: New file.
27299 * string/Makefile (strop-tests): Add strncasecmp.
27300 * string/test-strncasecmp.c: New file.
27301
27302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27303 warning.
27304
ca6bb004
UD
27305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27307
052fa7b3
AS
273082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27309
27310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27311
962dba78
UD
273122010-08-12 Ulrich Drepper <drepper@redhat.com>
27313
27314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27317
bebff237
AM
273182010-05-01 Alan Modra <amodra@gmail.com>
27319
27320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27325 tidying. Don't tail-call __sigjmp_save for static lib.
27326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27327 save location.
27328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27329 (CALL_MCOUNT): Add eh info, and nop after bl.
27330 (TAIL_CALL_SYSCALL_ERROR): New macro.
27331 (PSEUDO_RET): Use it.
27332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27333 Correct save location of integer regs and cr.
27334 (_dl_profile_resolve): Correct cr save location. Delete nops
27335 after bl when SHARED. Reduce cfi size a little by better
27336 placement of cfi directives.
27337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27338 make a stack frame. Instead use parm save area as a temp.
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27342 Don't make a stack frame for parent, use parm save area.
27343 Increase child stack frame to 112 bytes. Don't save unused reg,
27344 and adjust reg usage. Set up cfi on error recovery and
27345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27347 (__makecontext): Add dummy nop after jump to exit.
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27349 Use correct parm save area and cr save, reduce stack frame.
27350 Correct cfi for possible PSEUDO_RET frame setup.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27352 Branch to local label emitted by PSEUDO_RET rather than
27353 __syscall_error.
27354
02637374
AS
273552010-08-12 Andreas Schwab <schwab@redhat.com>
27356
27357 [BZ #11904]
27358 * locale/programs/locale.c (print_assignment): New function.
27359 (show_locale_vars): Use it.
27360
c3e2f19b
UD
273612010-08-11 Ulrich Drepper <drepper@redhat.com>
27362
3cdaa6ad
UD
27363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27364 field.
27365 (struct statfs64): Likewise.
27366 (_STATFS_F_FLAGS): Define.
27367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27370 (ST_VALID): Define locally.
27371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27372 __statvfs_getflags, use the provided value.
27373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27374 __ASSUME_STATFS_F_FLAGS.
27375
754f7da3
UD
27376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27377
10b3bedc
UD
27378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27379 Add sys/fanotify.h.
27380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27381 fanotify_mask for GLIBC_2.13.
27382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27383 fanotify_init and fanotify_mark.
27384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27386
c08fb0d7
UD
27387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27388 Add prlimit.
27389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27390 prlimit64 for GLIBC_2.13.
27391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27392 prlimit64.
27393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27394 syscall.
27395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27400 add prlimit alias.
27401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27402
15bac72b
UD
27403 [BZ #11903]
27404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27406
c3e2f19b
UD
27407 * nss/Makefile: Add rules to build and run tst-nss-test1.
27408 * shlib-versions: Add entry for libnss_test1.
27409 * nss/nss_test1.c: New file.
27410 * nss/tst-nss-test1.c: New file.
27411
27412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27413 (__nss_configure_lookup): Set appropriate entry in
27414 __nss_configure_lookup to true.
27415 * nss/nsswitch.h: Define enum with indeces of databases in
27416 databases and __nss_database_custom arrays. Declare
27417 __nss_database_custom.
27418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27419 to avoid using nscd when custom rules are installed.
27420 * nss/getXXbyYY_r.c: Likewise.
27421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27422
27423 * nss/nss_files/files-parse.c: Whitespace fixes.
27424
f15ce4d8
UD
274252010-08-09 Ulrich Drepper <drepper@redhat.com>
27426
27427 [BZ #11883]
27428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27429 * posix/fnmatch_loop.c: Likewise.
27430
d22e4cc9
AK
274312010-07-17 Andi Kleen <ak@linux.intel.com>
27432
27433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27436 * Versions.def [GLIBC_2.13]: Add.
27437
805bc17d
UD
274382010-08-06 Ulrich Drepper <drepper@redhat.com>
27439
27440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27441 Also fail if tpwd after pwuid call is NULL.
27442
5a42321d
ST
274432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27444
27445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27446 when converting to ms.
27447
fd3ebeda
ST
274482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27449
27450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27451 EOPNOTSUPP errors with ENOTTY.
27452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27453 EOPNOTSUPP errors with ENOTTY.
27454
73507d3a
UD
274552010-07-31 Ulrich Drepper <drepper@redhat.com>
27456
27457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27458 Add strcasecmp_l-ssse3.
27459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27460 strcasecmp.
27461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27464
fe36dd02
UD
274652010-07-30 Ulrich Drepper <drepper@redhat.com>
27466
66f6765a
UD
27467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27468
42e08a54
UD
27469 * string/Makefile (strop-tests): Add strcasecmp.
27470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27471 strcasecmp_l-nonascii.
27472 (gen-as-const-headers): Add locale-defines.sym.
27473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27474 * sysdeps/x86_64/strcasecmp.S: New file.
27475 * sysdeps/x86_64/strcasecmp_l.S: New file.
27476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27477 * sysdeps/x86_64/locale-defines.sym: New file.
27478 * string/test-strcasecmp.c: New file.
27479
fe36dd02
UD
27480 * string/test-strcasestr.c: Test both ends of the range of characters.
27481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27482
48cbc0d6
RM
274832010-07-29 Roland McGrath <roland@redhat.com>
27484
76e6d6bc 27485 [BZ #11856]
48cbc0d6
RM
27486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27487
880113d9
UD
274882010-07-27 Ulrich Drepper <drepper@redhat.com>
27489
27490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27491 for ld.so.
27492
deb9cabb
AS
274932010-07-27 Andreas Schwab <schwab@redhat.com>
27494
27495 * manual/memory.texi (Malloc Tunable Parameters): Document
27496 M_PERTURB.
27497
1c7570ff
RM
274982010-07-26 Roland McGrath <roland@redhat.com>
27499
27500 [BZ #11840]
27501 * configure.in (-fgnu89-inline check): Set and substitute
27502 gnu89_inline, not libc_cv_gnu89_inline.
27503 * configure: Regenerated.
27504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27505
24fb0f88
UD
275062010-07-26 Ulrich Drepper <drepper@redhat.com>
27507
27508 * string/test-strnlen.c: New file.
27509 * string/Makefile (strop-tests): Add strnlen.
27510 * string/tester.c (test_strnlen): Add a few more test cases.
27511 * string/tst-strlen.c: Better error reporting.
27512
27513 * sysdeps/x86_64/strnlen.S: New file.
27514
8e96b93a
UD
275152010-07-24 Ulrich Drepper <drepper@redhat.com>
27516
27517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27518 lower-latency instructions.
27519
dbc676d4
UD
275202010-07-23 Ulrich Drepper <drepper@redhat.com>
27521
27522 * string/test-strcasestr.c: New file.
27523 * string/test-strstr.c: New file.
27524 * string/Makefile (strop-tests): Add strstr and strcasestr.
27525 * string/str-two-way.h: Don't undefine MAX.
27526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27527
f6a31e0e
AS
275282010-07-21 Andreas Schwab <schwab@redhat.com>
27529
27530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27531 strcasestr-nonascii.
27532 (CFLAGS-strcasestr-nonascii.c): Define.
27533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27535 Remove unused attribute.
27536
5dbc3b6c
RM
275372010-07-20 Roland McGrath <roland@redhat.com>
27538
27539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27541 ld.so.cache was broken. With it, there is no way to disable dsocaps
27542 like LD_HWCAP_MASK can disable hwcaps.
27543
23d101d8
EPM
275442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27545
27546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27547
cc9f2e47
UD
275482010-07-16 Ulrich Drepper <drepper@redhat.com>
27549
27550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27551 call in strcasestr.
27552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27553 __strcasestr_sse42_nonascii.
27554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27555 strcasestr-nonascii.c.
27556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27557
77c1b069
LM
275582010-06-15 Luis Machado <luisgpm@br.ibm.com>
27559
27560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27564
440566c3
UD
275652010-07-09 Ulrich Drepper <drepper@redhat.com>
27566
27567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27568 fcntl.
27569
5be9d05d
AS
275702010-07-06 Andreas Schwab <schwab@redhat.com>
27571
c30b7ee2 27572 [BZ #11577]
5be9d05d
AS
27573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27574 dl_signal_cerror.
27575
8a492a67
UD
275762010-07-06 Ulrich Drepper <drepper@redhat.com>
27577
27578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27579 _PC_PIPE_BUF using F_GETPIPE_SZ.
27580
713df3d5
RM
275812010-07-05 Roland McGrath <roland@redhat.com>
27582
27583 * manual/arith.texi (Rounding Functions): Fix rint description
27584 implicit in round description.
27585
702e8f14
UD
275862010-07-02 Ulrich Drepper <drepper@redhat.com>
27587
27588 * elf/Makefile: Fix linking for a few tests to make recent linker
27589 happy.
27590
52ed8be9
AS
275912010-06-30 Andreas Schwab <schwab@redhat.com>
27592
27593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27594 $(common-objpfx)libc_nonshared.a.
27595
f47c9a11
LM
275962010-06-21 Luis Machado <luisgpm@br.ibm.com>
27597
27598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27646
6fb8cbcb
L
276472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27648
27649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27651 * string/memmove.c (memmove): Renamed to ...
27652 (MEMMOVE): ...this. Default to memmove.
27653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27655 (END_CHK): Define.
27656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27658 mempcpy-ssse3-back memmove-ssse3-back.
27659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27666 * sysdeps/x86_64/multiarch/memmove.c: New file.
27667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27673 Define.
27674 (index_Fast_Copy_Backward): Define.
27675 (HAS_ARCH_FEATURE): Define.
27676 (HAS_FAST_REP_STRING): Define.
27677 (HAS_FAST_COPY_BACKWARD): Define.
27678
4e733bac 276792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27680
27681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27682 Restore proper fallback handling.
27683
63c4ed22
UD
276842010-06-19 Ulrich Drepper <drepper@redhat.com>
27685
ac2b484c
UD
27686 [BZ #11701]
27687 * posix/group_member.c (__group_member): Correct checking loop.
27688
63c4ed22
UD
27689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27690 OOM in getpwuid_r correctly. Return error number when the caller
27691 should return, otherwise -1.
27692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27693 call returning > 0 value.
27694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27695
765ade4b
AS
276962010-06-07 Andreas Schwab <schwab@redhat.com>
27697
27698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27699 libc_nonshared.a from targets in modules-names.
27700
80da2e09
KS
277012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27702
27703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27704 requires it.
27705
158db122
LM
277062010-06-10 Luis Machado <luisgpm@br.ibm.com>
27707
27708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27712
caa78cf8
AS
277132010-06-02 Andreas Schwab <schwab@redhat.com>
27714
27715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27716
b2ef2c01
UD
277172010-06-14 Ulrich Drepper <drepper@redhat.com>
27718
27719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27720 and F_GETPIPE_SZ.
27721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27727
fbd643b6
RM
277282010-06-14 Roland McGrath <roland@redhat.com>
27729
27730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27731
f32f2869
JJ
277322010-06-07 Jakub Jelinek <jakub@redhat.com>
27733
27734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27735 __REDIRECT followed by __THROW.
27736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27737 * posix/getopt.h (getopt): Likewise.
27738
2a50c078
EPM
277392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27740
27741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27744 in AT_FLAGS.
27745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27747
eb5ad2eb
LM
277482010-05-28 Luis Machado <luisgpm@br.ibm.com>
27749
27750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27751
3c88fe1e
L
277522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27753
27754 [BZ #11640]
27755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27756 Properly check family and model.
27757
d2f73151
TY
277582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27759
27760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27761
ebd2e13d
LM
277622010-05-24 Luis Machado <luisgpm@br.ibm.com>
27763
27764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27765
b32b8b45
UD
277662010-05-21 Ulrich Drepper <drepper@redhat.com>
27767
27768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27769 symbol reference.
27770
9acbe24d
AS
277712010-05-19 Andreas Schwab <schwab@redhat.com>
27772
27773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27774 symbol reference.
27775
f0ccf6ea
AS
277762010-05-21 Andreas Schwab <schwab@redhat.com>
27777
3d04ff3a
AS
27778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27779 and internal_recvmmsg.
27780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27784
f0ccf6ea
AS
27785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27788
5b08ac57
AS
277892010-05-20 Andreas Schwab <schwab@redhat.com>
27790
27791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27792
4828935d
LM
277932010-05-17 Luis Machado <luisgpm@br.ibm.com>
27794
27795 POWER7 optimizations.
27796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27798
373d545e
UD
277992010-05-19 Ulrich Drepper <drepper@redhat.com>
27800
27801 * version.h: Update for 2.13 development version.
27802
21a2b1ae
AS
278032010-05-12 Andrew Stubbs <ams@codesourcery.com>
27804
27805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27806 exceptions. Return 0.
27807
3f7dcb2b
RM
278082010-05-07 Roland McGrath <roland@redhat.com>
27809
27810 * elf/ldconfig.c (main): Add a const.
27811
5f24d53a 278122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27813
a160f8d8
UD
27814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27815 (args_options): Add no-idn option.
27816 (ahosts_keys_int): Add idn_flags to ai_flags.
27817 (parse_option): Handle 'i' option to clear idn_flags.
27818
5f24d53a
UD
27819 * malloc/malloc.c (_int_free): Possible race in the most recently
27820 added check. Only act on the data if no current modification
27821 happened.
265bb1ce
UD
27822
27823See ChangeLog.17 for earlier changes.