]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Russian translations update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
29c5de99
DM
12013-04-21 David S. Miller <davem@davemloft.net>
2
3 * po/ru.po: Update Russion translation from translation project.
4
ccdad15d
AC
52013-04-17 Adam Conrad <adconrad@0c3.net>
6
7 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8 and setfsgid.
9
0f122b8d
CD
102013-04-17 Carlos O'Donell <carlos@redhat.com>
11
5c5b07da 12 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 13 * configure: Regenerate.
5c5b07da 14 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15 Add example to error message.
16 * sysdeps/i386/configure: Regenerate.
17
037714dd
SP
182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19
20 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21 slowtan.
22 * benchtests/cos-inputs: New file.
23 * benchtests/slowcos-inputs: New file.
24 * benchtests/slowcos.c: New file.
25 * benchtests/slowtan-inputs: New file.
26 * benchtests/slowtan.c: New file.
27 * benchtests/tan-inputs: New file.
28
e913141d
RM
292013-04-16 Roland McGrath <roland@hack.frob.com>
30
31 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32 considered kosher.
33
a2964074
SP
342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35
4856bcd2
SP
36 * benchtests/Makefile: Include cppflags-iterator.mk to add
37 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38
a2964074
SP
39 * Makefile.in (bench-clean): New target.
40 * benchtests/Makefile (bench-clean): Likewise.
41
9fbf9aca
DH
422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
43
44 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45
207d1e2a
TS
462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
47
48 * stdio-common/tstdiomisc.c: Fix coding-style violation.
49
306dfba9
AS
502013-04-15 Andreas Schwab <schwab@suse.de>
51
52 * nscd/grpcache.c (cache_addgr): Properly check for short write.
53 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54 * nscd/pwdcache.c (cache_addpw): Likewise.
55 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
56 more than recsize.
57
206a6699
SP
582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 * benchtests/Makefile (bench): Write all output to
61 bench-out.tmp together.
62
0582f6b3
AS
632013-04-15 Andreas Schwab <schwab@suse.de>
64
65 * nscd/nscd.c (main): Don't fork again after closing files.
66
acb4325f
SP
672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68
5cb26d0a
SP
69 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
70
acb4325f
SP
71 * benchtests/Rules (bench-deps): Collect dependencies into a
72 single variable. Add Makefile to dependencies.
73 ($(objpfx)bench-%.c): Depend on bench-deps.
74
47792506
RM
752013-04-12 Roland McGrath <roland@hack.frob.com>
76 Xavier Roche <roche+kml2@exalead.com>
77
78 [BZ #15361]
79 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
80 just that it's a file descriptor.
81 * manual/llio.texi (Synchronizing AIO Operations): Update description
82 for EBADF error from aio_fsync.
83
8fc1bee5
SP
842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
85
86 * Rules (bench): Move target definition...
87 * benchtests/Makefile: ... here.
88
aba5e333
CD
892013-04-11 Carlos O'Donell <carlos@redhat.com>
90
91 * math/libm-test.inc (cos_test): Fix PI/2 test.
92 (sincos_test): Likewise.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
94 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
95
273cdee8
AS
962013-04-11 Andreas Schwab <schwab@suse.de>
97
6ecec3b6
AS
98 [BZ #13988]
99 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
100 accept exponent character only when digits were seen.
101 * stdio-common/Makefile (tests): Add bug26.
102 * stdio-common/bug26.c: New file.
103
273cdee8
AS
104 [BZ #14293]
105 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
106 non-freeable.
107
8da491f5
SP
1082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
109
01dc6df9
SP
110 * Makeconfig (rtld-prefix): Define built linker prefix.
111 * Rules (run-bench): Use it.
112 * math/Makefile (run-regen-ulps): Likewise.
113
8da491f5
SP
114 * Rules (bench): Remove eval.
115
abe7f530
SP
1162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
117 Roland McGrath <roland@hack.frob.com>
118 Ondrej Bilka <neleai@seznam.cz>
119
120 [BZ #15346]
121 * time/getdate.c: Include ctype.h and alloca.h.
122 (__getdate_r): Trim leading and trailing spaces of input.
123 * time/tst-getdate.c (tests): Add tests with leading and
124 trailing spaces.
125
61c23e62
RM
1262013-04-08 Roland McGrath <roland@hack.frob.com>
127
128 [BZ #14280]
129 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
130 when computing value.
131
7208a313
CD
1322013-04-06 Carlos O'Donell <carlos@redhat.com>
133
085b2d41
CD
134 * math/README.libm-test (How can I generate "libm-test-ulps"?):
135 Use testrun.sh to run libm tests.
136
7208a313
CD
137 [BZ #15309]
138 * elf/dl-open.c (dl_open_worker): memset all of seen array.
139
872c0acd
MM
1402013-04-06 Marko Myllynen <myllynen@redhat.com>
141
142 [BZ #15264]
143 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
144
26510bdd
CD
1452013-04-06 Carlos O'Donell <carlos@redhat.com>
146
147 * Makefile.in (regen-ulps): New target.
148 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
149 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
150 [ifneq (no,$(PERL)] (regen-ulps): New target.
151 [ifeq (no,$(PERL)] (regen-ulps): New target.
152 * math/libm-test.inc (ulps_file_name): Define.
153 (output_dir): New variable.
154 (options): Add "output-dir" option.
155 (parse_opt): Handle 'o' case.
156 (main): If output_dir is non-NULL use it as a prefix
157 otherwise use "".
158 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
159
a01f19c8
CD
1602013-04-06 Carlos O'Donell <carlos@redhat.com>
161
162 [BZ #10060, #10062]
163 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
164 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
165 fail configure if __sync_val_compare_and_swap is not inlined.
166 * sysdeps/i386/configure: Regenerate.
167 * configure.in: Build for i686 when configured for i386.
168 * configure: Regenerate.
169 * README: Remove i386 reference.
170
b7a329a5
CD
1712013-04-06 Carlos O'Donell <carlos@redhat.com>
172
173 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
175
bf0f50df
TS
1762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
177
ee091edf
TS
178 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
179 (lmsnanval): New variables.
180 (F): Add conversion tests.
181 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
182 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
183
a8b792d6
TS
184 * stdio-common/tstdiomisc.c (F): Properly collect individual
185 tests' results.
186
a1cbf437
TS
187 [BZ #14686, #15336]
188 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
189 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
190 Instead, use input NaN values or generate a qNaN by arithmetic
191 operation. Also fix bugs to comply with the standard.
192 * math/libm-test.inc (remainder_test): Add more tests.
193
8b43a0c9
TS
194 [BZ #15335, #15342]
195 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
197 input NaN values or generate a qNaN by arithmetic operation.
198
d91da4ce
TS
199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
200 unreachable code.
201
bf0f50df
TS
202 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
203 definitions.
204
05e166c8
JM
2052013-04-03 Joseph Myers <joseph@codesourcery.com>
206
207 [BZ #14478]
208 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
209 underflowed result.
210 * math/s_cexpf.c (__cexpf): Likewise.
211 * math/s_cexpl.c (__cexpl): Likewise.
212 * math/libm-test.inc (cexp_test): Add more tests.
213
1cef1b19
AS
2142013-04-03 Andreas Schwab <schwab@suse.de>
215
216 [BZ #15330]
217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
218 order arrays from heap if bigger than alloca cutoff.
219
74d87055
TS
2202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
221
222 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
223 (SNAN_TESTS_double): Refer to GCC PR56831.
224 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
225 GCC PR56828.
226
d755bba4
SP
2272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
228
90d5d5bb
SP
229 * Rules (bench): Move bench.out after the run is complete.
230
73e0cd5d
SP
231 * Rules (bench): Echo currently running benchmark.
232
64aabd4b
SP
233 * benchtests/Makefile (bench): Add atan and slowatan.
234 * benchtests/atan-inputs: New file.
235 * benchtests/slowatan-inputs: New file.
236 * benchtests/slowatan.c: New file.
237
c871eccd
SP
238 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
240 its value.
241
d755bba4
SP
242 [BZ #15305]
243 * sysdeps/unix/sysv/linux/kernel-features.h
244 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
245 __ASSUME_XFS_RESTRICTED_CHOWN.
246 * sysdeps/unix/sysv/linux/pathconf.c
247 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
248 Save and restore errno.
249
52ce4860
JM
2502013-04-02 Joseph Myers <joseph@codesourcery.com>
251
252 [BZ #15327]
253 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
254 arguments using __kernel_casinh.
255 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
256 arguments using __kernel_casinhf.
257 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
258 arguments using __kernel_casinhl.
259 * math/libm-test.inc (cacosh_test): Add more tests.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262
81f311c2
SP
2632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
264
e7906a47
SP
265 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
267
92e3664b
SP
268 * bench/Makefile (bench): Add sin and slowsin.
269 * benchtests/sin-inputs: New file.
270 * benchtests/slowsin-inputs: New file.
271 * benchtests/slowsin.c: New file.
272
81f311c2
SP
273 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
274 (bench): Add slowexp and slowpow.
275 (exp-ITER): Increase iterations.
276 (pow-ITER): Likewise.
277 * benchtests/exp-inputs: Change input.
278 * benchtests/pow-inputs: Likewise.
279 * benchtests/slowexp-inputs: New file.
280 * benchtests/slowexp.c: New file.
281 * benchtests/slowpow-inputs: New file.
282 * benchtests/slowpow.c: New file.
283
ab0f1aa9
AZ
2842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
287 instructions.
288 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
289 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
290 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
291 * benchtests/Makefile: Add rint benchtest.
292 * benchtests/rint-inputs: Input for rint benchtest.
293
57267616
TS
2942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
295
296 * Versions.def (libm): Add GLIBC_2.18.
297 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
298 hidden libm prototypes.
299 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
300 * math/Makefile (libm-calls): Add s_issignaling.
301 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
302 __issignalingf, __issignalingl. Adjust all libm.abilist files.
303 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
304 declaration.
305 * math/math.h [__USE_GNU] (issignaling): New macro.
306 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
307 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
308 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
312 * manual/arith.texi (issignaling): New section.
313 * manual/libm-err-tab.pl (@all_functions): Update comment.
314 * math/gen-libm-test.pl (parse_args): Apply special handling for
315 issignaling.
316 * math/libm-test.inc (print_float, issignaling_test): New
317 functions.
318 (check_float_internal): Add issignaling checks.
319 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
320 default definition.
321 * sysdeps/powerpc/math-tests.h: New file.
322 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
323 tests.
324 * math/test-snan.c (TEST_FUNC): Likewise.
325
6142896d
DM
3262013-03-30 David S. Miller <davem@davemloft.net>
327
328 * po/de.po: Update from translation team.
329
ccc8cadf
JM
3302013-03-30 Joseph Myers <joseph@codesourcery.com>
331
332 [BZ #10357]
333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
334 imaginary part less than 1.0 and real part less than 0.5
335 specially.
336 * math/k_casinhf.c (__kernel_casinhf): Likewise.
337 * math/k_casinhl.c (__kernel_casinhl): Likewise.
338 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
339 (cacos_test): Add more tests.
340 (casin_test): Likewise.
341 (casinh_test): Likewise.
342 * sysdeps/i386/fpu/libm-test-ulps: Update.
343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344
0f6a8d4b
SP
3452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
346
0d1029de
SP
347 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
348 ONE with its value.
349
c2d94018
SP
350 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
351 (__pow_mp): Replace ONE and MONE with their values.
352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
353 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
355 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
356 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
357 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
358
27ec37f1
SP
359 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
360
a64d7e0e
SP
361 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
362 (__pow_mp): Replace ZERO and MZERO with their values.
363 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
364 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
365 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
367 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
368 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
369 (__sqr): Likewise.
370
d26dd3eb
SP
371 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
372
0f6a8d4b
SP
373 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
374
e57b0c61
RM
3752013-03-28 Roland McGrath <roland@hack.frob.com>
376
377 * include/stdlib.h [!SHARED] (__call_tls_dtors):
378 Declare with __attribute__ ((weak)).
379 * stdlib/exit.c (__libc_atexit) [!SHARED]:
380 Call __call_tls_dtors only if it's not NULL.
381
356b3480
RM
3822013-03-28 Roland McGrath <roland@hack.frob.com>
383
288f7d79
RM
384 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
385 didn't do it already, then set _dl_phdr and _dl_phnum based on the
386 magic __ehdr_start linker symbol if it's defined.
387 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
388 them up here if it was already done.
389
dc0a0263
RM
390 * elf/dl-support.c (_dl_phdr): Make pointer to const.
391 (_dl_aux_init): Use const in cast when setting it.
392 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
393 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
394 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
395
3d3436ae
RM
396 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
397 Declare them here.
398 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
399 * csu/libc-tls.c: Nor here.
400 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
401
356b3480
RM
402 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
403 (__libc_message): Never call vsyslog.
404
b0f1246a
AM
4052013-03-28 Alan Modra <amodra@gmail.com>
406
407 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
408 Define as empty.
409 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
410 Likewise.
411
fbbe2b9a
AZ
4122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
414 [BZ #15214]
415 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
416 underflow.
417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
418
1728ab37
SP
4192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
420
7a86be6e
SP
421 [BZ #15304]
422 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
423 Don't add gid passed as argument.
424
1728ab37
SP
425 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
426
3a7182a1
JM
4272013-03-27 Joseph Myers <joseph@codesourcery.com>
428
429 [BZ #15307]
430 * math/k_casinh.c (__kernel_casinh): Handle arguments with
431 imaginary part between 1.0 and 1.5 and real part less than 0.5
432 specially.
433 * math/k_casinhf.c (__kernel_casinhf): Likewise.
434 * math/k_casinhl.c (__kernel_casinhl): Likewise.
435 * math/libm-test.inc (cacos_test): Add more tests.
436 (casin_test): Likewise.
437 (casinh_test): Likewise.
438 * sysdeps/i386/fpu/libm-test-ulps: Update.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440
6f2e90e7
SP
4412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
442
5739f705
SP
443 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
444 constants.
445 (norm): Likewise.
446 (denorm): Likewise.
447 (__dbl_mp): Likewise.
448 (add_magnitudes): Likewise.
449 (sub_magnitudes): Likewise.
450 (__add): Likewise.
451 (__sub): Likewise.
452 (__mul): Likewise.
453 (__sqr): Likewise.
454 (__inv): Likewise.
455 (__dvd): Likewise.
456
e375e83d
SP
457 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
458 commented code.
459 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
460 (__dubcos): Likewise.
461 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
462 (__ieee754_acos): Likewise.
463 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
464 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
465 (__exp1): Likewise.
466 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
468 (log1): Likewise.
469 (my_log2): Likewise.
470 (checkint): Likewise.
471 * sysdeps/ieee754/dbl-64/e_remainder.c
472 (__ieee754_remainder): Likewise.
473 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
475 (bsloww): Likewise.
476 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
477
6f2e90e7
SP
478 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
479 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
480 MANTISSA_STORE_T to store computations on mantissa. Use
481 macros for rounding and division.
482 (denorm): Likewise.
483 (__dbl_mp): Likewise.
484 (add_magnitudes): Likewise.
485 (sub_magnitudes): Likewise.
486 (__mul): Likewise.
487 (__sqr): Likewise.
488 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
489 powers of two in terms of TWOPOW macro.
490 (mp_no): Make type of mantissa as MANTISSA_T.
491 [!RADIXI]: Define RADIXI.
492 [!TWO52]: Define TWO52.
493 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
494
fce14d4e
AZ
4952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496
497 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
498 llroundl symbol when building for PPC32.
499
9ad027fb
MW
5002013-03-24 Mark H Weaver <mhw@netris.org>
501
502 * manual/arith.texi (Normalization Functions): Fix prototypes for
503 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
504
e42a38dd
AZ
5052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506
507 [BZ #13889]
508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
509 high value to check if expl overflow.
510 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
511 to check for underflow and overflow.
512 * math/libm-test.inc: Add exp test.
513
2e0fb521
DL
5142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
515
516 [BZ #11120]
517 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
518 with NOT_IN_libc.
519
b5784d95
AZ
5202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
523 symbol.
524
5aa4a1a1
TS
5252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
526
bdef0be7
TS
527 * math/gen-libm-test.pl (parse_args, special_functions): Properly
528 wrap blocks consisting of several statements.
529
5aa4a1a1
TS
530 * sysdeps/generic/math-tests.h: New file.
531 * sysdeps/i386/fpu/math-tests.h: Likewise.
532 * math/test-snan.c: Include it.
533 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
534
98c48fe5
JM
5352013-03-21 Joseph Myers <joseph@codesourcery.com>
536
537 [BZ #15285]
538 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
539 (__ieee754_j0l): Do not improve calculations using cos of twice
540 input for inputs above LDBL_MAX / 2.0L.
541 (__ieee754_y0l): Likewise.
542 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
543 (__ieee754_j1l): Do not improve calculations using cos of twice
544 input for inputs above LDBL_MAX / 2.0L.
545 (__ieee754_y1l): Likewise.
546 * math/libm-test.inc (j0_test): Add another test.
547 (j1_test): Likewise.
548 (y0_test): Likewise.
549 (y1_test): Likewise.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551
3775a8bc
SP
5522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
553
554 * Rules ($(objpfx)bench-%.c): Include code from a C source
555 file.
556
0a1b2ae6
JM
5572013-03-21 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #15287]
560 * math/k_casinh.c (__kernel_casinh): Handle arguments with
561 imaginary part 1.0 and real part less than 0.5 specially.
562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
564 * math/libm-test.inc (cacos_test): Add more tests.
565 (casin_test): Likewise.
566 (casinh_test): Likewise.
567 * sysdeps/i386/fpu/libm-test-ulps: Update.
568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
569
b33d4ce4
SP
5702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
571
572 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
573 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
574
bef0b507
JM
5752013-03-20 Joseph Myers <joseph@codesourcery.com>
576
577 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
578 * config.make.in (config-cflags-sse4): Remove variable.
579 (config-cflags-avx): Likewise.
580 (config-cflags-sse2avx): Likewise.
581 (config-cflags-novzeroupper): Likewise.
582 (config-asflags-i686): Likewise.
583 (have-mfma4): Likewise.
584 (have-as-vis3): Likewise.
585 (MIG): Likewise.
586 * configure.in (MIG): Do not AC_SUBST.
587 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
588 (libc_cv_cc_sse4): Do not AC_SUBST.
589 (libc_cv_cc_avx): Likewise.
590 (libc_cv_cc_sse2avx): Likewise.
591 (libc_cv_cc_novzeroupper): Likewise.
592 (libc_cv_cc_fma4): Likewise.
593 (libc_cv_as_i686): Likewise.
594 (libc_cv_sparc_as_vis3): Likewise.
595 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
596 LIBC_CONFIG_VAR.
597 (config-asflags-i686): Likewise.
598 (config-cflags-avx): Likewise.
599 (config-cflags-sse2avx): Likewise.
600 (have-mfma4): Likewise.
601 (config-cflags-novzeroupper): Likewise.
602 * sysdeps/mach/configure.in (MIG): Likewise.
603 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
604 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
605 LIBC_CONFIG_VAR.
606 (config-cflags-avx): Likewise.
607 (config-cflags-sse2avx): Likewise.
608 (have-mfma4): Likewise.
609 (config-cflags-novzeroupper): Likewise.
610 * configure: Regenerated.
611 * sysdeps/i386/configure: Likewise.
612 * sysdeps/mach/configure: Likewise.
613 * sysdeps/sparc/configure: Likewise.
614 * sysdeps/x86_64/configure: Likewise.
615
912cc4b3
RM
6162013-03-20 Roland McGrath <roland@hack.frob.com>
617
618 [BZ #14812]
619 * locale/programs/localedef.c (options): Put N_ translation marker
620 on argument names, not just descriptions.
621
04eed2b0
MS
6222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
623
624 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
625
a065ceff
OB
6262013-03-20 Ondřej Bílka <neleai@seznam.cz>
627
9bb2a810 628 [BZ #14176]
a065ceff
OB
629 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
630
a600e5ce
RM
6312013-03-19 Roland McGrath <roland@hack.frob.com>
632
633 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
634 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
635 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
636 [!BEFORE_ABORT] (before_abort): New function.
637 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
638 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
639 (writev_for_fatal): New function.
640 (WRITEV_FOR_FATAL): New macro; call that.
641 (backtrace_and_maps): New function.
642 (BEFORE_ABORT): New macro; call that.
643 (struct str_list): Type removed.
644 (__libc_message, __libc_fatal): Functions removed.
645 Include <sysdeps/posix/libc_fatal.c> instead.
646
6b18bea6
JM
6472013-03-19 Joseph Myers <joseph@codesourcery.com>
648
649 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
650 constants.
651 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
652 double constants.
653
aaa8cb4b
AS
6542013-03-19 Andreas Schwab <schwab@suse.de>
655
44673770
AS
656 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
657 * sysdeps/gnu/configure: Regenerate.
658
aaa8cb4b
AS
659 * configure.in: Substitute libc_cv_rtlddir.
660 * configure: Regenerate.
661 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
662 * Makeconfig (rtlddir, inst_rtlddir): New variables.
663 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
664 * elf/Makefile (install-others, CFLAGS-interp.c)
665 (ldso_install, common-ldd-rewrite): Likewise.
666 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
667 $(inst_slibdir)/$(rtld-installed-name).
668 * scripts/rellns-sh: Add -p option.
669 * Makerules (make-shlib-link): Use rellns-sh to get relative name
670 for source.
671
d3cfc668
SP
6722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 * manual/nptl.texi: Renamed to ...
675 * manual/threads.texi: ... this.
676 * manual/Makefile (chapters): Update.
677
0e2b9cdd
RM
6782013-03-18 Roland McGrath <roland@hack.frob.com>
679
680 [BZ #14812]
681 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
682 on argument names, not just descriptions.
0e2b9cdd
RM
683 * malloc/memusagestat.c (options): Likewise.
684 * nss/getent.c (options): Likewise.
63270c24
RM
685
6862013-03-18 Benno Schulenberg <bensberg@justemail.net>
687
688 [BZ #14812]
689 * iconv/iconv_prog.c (options): Put N_ translation marker
690 on argument names, not just descriptions.
691 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 692
b2e1393c
OB
6932013-03-18 Ondrej Bilka <neleai@seznam.cz>
694
695 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
696 implementation which is faster on all x86_64 architectures.
697 Tested on AMD, Intel Nehalem, SNB, IVB.
698 * sysdeps/x86_64/strnlen.S: Likewise.
699
700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
701 Remove all multiarch strlen and strnlen versions.
702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
703 Remove strlen and strnlen related parts.
704
705 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
706 Inline strlen part.
707 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
708
709 * sysdeps/x86_64/multiarch/strlen.S: Remove.
710 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
712 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
713 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
714 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
715
ec4ff04d
CD
7162013-03-17 Carlos O'Donell <carlos@redhat.com>
717
718 * manual/memory.texi (Malloc Tunable Parameters):
719 Sort parameters alphabetically. Add comments for missing entries.
720
cd18e90a
DM
7212013-03-17 David S. Miller <davem@davemloft.net>
722
723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
724
2a185d32
JM
7252013-03-16 Joseph Myers <joseph@codesourcery.com>
726
d2f9799e
JM
727 [BZ #15283]
728 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
729 for arguments at most half maximum finite value.
730 * math/libm-test.inc (j0_test): Add more tests.
731 (j1_test): Likewise.
732 (y0_test): Likewise.
733 (y1_test): Likewise.
734 * sysdeps/i386/fpu/libm-test-ulps: Update.
735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
736
2a185d32
JM
737 [BZ #14155]
738 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
739 1 / x and functions P and Q for arguments above 0x1p256L.
740 (__ieee754_y0l): Likewise.
741 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
742 (__ieee754_y1l): Likewise.
743 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
744 (j1_test): Likewise.
745 (y0_test): Likewise.
746 (y1_test): Likewise.
747
6cbec759
TS
7482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
749
750 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
751 variable.
752
bc16e260
RM
7532013-03-15 Roland McGrath <roland@hack.frob.com>
754
aefc9b8c
RM
755 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
756 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
757 zero since it's initialized to EXEC_PAGESIZE.
758
bc16e260
RM
759 * sysdeps/unix/sysv/linux/ldsodefs.h
760 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
761 * sysdeps/generic/ldsodefs.h: ... here.
762
a57da955
TS
7632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
764
af00a34d
TS
765 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
766
495ded2c
TS
767 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
768 math/test-snan.c.
769 * math/test-snan.c: Renamed from
770 sysdeps/powerpc/fpu/test-powerpc-snan.c.
771 * math/Makefile (tests): Add test-snan.
772 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
773 test-powerpc-snan.
774
777b0332
TS
775 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
776 SUFFIX. Initialize qNaN_var with __builtin_nan family of
777 functions.
778 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
779 __builtin_nan family of functions.
780 * math/libm-test.inc (initialize): Initialize qnan_value with
781 __builtin_nan family of functions.
782 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
783 Remove variables.
784 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
785 Remove functions.
786 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
787 storage class. Initialize qNaN_var and sNaN_var with
788 __builtin_nan and __builtin_nans families of functions,
789 respectively.
790
64d063b8
TS
791 * math/libm-test.inc (acosh_test): Also test with qNaN input.
792 (sqrt_test): Remove duplicate test with qNaN input.
793 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
794 (round_test, signbit_test, significand_test): Note missing +/-Inf
795 as well as qNaN tests.
796
67e971f1
TS
797 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
798 qNaN_var. Fix a few strings, too.
799 * math/libm-test.inc (nan_value): Rename to qnan_value.
800 * math/gen-libm-test.pl (%beautify): Adjust to that.
801 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
802 * math/test-misc.c (main): Likewise.
803 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
804 to __qnan_bytes, and __qnan_union, respectively.
805 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
806 Likewise.
807 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
808 and lqnanval, respectively.
809 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
810 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
811 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
812 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
813
64487e12
TS
814 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
815 * math/test-misc.c (main) [__x86_64__]: Enable test for long
816 doubles.
817
e015e27b
TS
818 * math/test-misc.c (main): Fix copy'n'pastos.
819 * misc/tst-efgcvt.c (special): Likewise.
820
a57da955
TS
821 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
822 Remove declarations.
823
1e380345
SP
8242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
825
826 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
827 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
828 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
829 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
830
ef26eece
AZ
8312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
832
833 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
834 macro to return vdso values correctly in IFUNC implementations.
835 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
836 Optimization by using IFUNC.
837
8cfdb7e0
SP
8382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
839 Richard Henderson <rth@redhat.com>
840 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
841
842 * Makefile.in (bench): New target.
843 * NEWS: Mention the benchmark framework.
844 * Rules (bench): Likewise.
845 (binaries-bench): Generate binaries for functions to
846 benchmark.
847 * benchtests/Makefile: New makefile for benchmark tests.
848 * benchtests/bench-skeleton.c: New skeleton file for benchmark
849 programs.
850 * benchtests/exp-inputs: New input file for EXP function.
851 * benchtests/pow-inputs: New input file for POW function.
852 * scripts/bench.pl: New script to generate source files for
853 benchmark programs.
854
bcda9880
SP
8552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
856
d22ca8cd
SP
857 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
858 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
859 computations on mantissa. Use macros for rounding and
860 division.
861 (denorm): Likewise.
862 (__dbl_mp): Likewise.
863 (add_magnitudes): Likewise.
864 (sub_magnitudes): Likewise.
865 (__mul): Likewise.
866 (__sqr): Likewise.
867 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
868 powers of two in terms of TWOPOW macro.
869 (mp_no): Make type of mantissa as MANTISSA_T.
870 [!RADIXI]: Define RADIXI.
871 [!TWO52]: Define TWO52.
872 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
873
bcda9880
SP
874 * manual/nptl.texi (cindex): Modify threads to pthreads.
875
06d5adfb
JM
8762013-03-15 Joseph Myers <joseph@codesourcery.com>
877
878 * sysdeps/x86_64/preconfigure: Regenerated.
879
41c7328e
JM
8802013-03-14 Joseph Myers <joseph@codesourcery.com>
881
882 [BZ #14155]
883 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
884 0x1p28 and above.
885 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
886 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
887 0x1p28 and above.
888 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
889 * math/libm-test.inc (j0_test): Do not allow one spurious
890 underflow exception.
891 (y1_test): Likewise.
892
e25cfa60
SP
8932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
894
0409959c
SP
895 * manual/Makefile (chapters): Add nptl.
896 * manual/debug.texi (Debugging Support): Add link to Threads
897 chapter.
898 * manual/nptl.texi: New file.
899
e25cfa60
SP
900 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
901
58a1335e
PB
9022013-03-14 Petr Baudis <pasky@ucw.cz>
903
904 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
905 for non-NULL pointer before the memory validity test. Pointed
906 out by Holger Brunck <holger.brunck@keymile.com>.
907
9dc7c64f
AS
9082013-03-13 Andreas Schwab <schwab@suse.de>
909
910 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
911 instead of .os.
912
54206aa6
JM
9132013-03-13 Joseph Myers <joseph@codesourcery.com>
914
915 * timezone/zic.c: Update from tzcode 2013b.
916
e98cdb38
CD
9172013-03-12 Carlos O'Donell <carlos@redhat.com>
918
919 * manual/install.texi (Configuring and compiling):
920 Mention i686 and i586.
921 * INSTALL: Regenerate.
922
9967e003
RM
9232013-03-12 Roland McGrath <roland@hack.frob.com>
924
925 * sysdeps/init_array/elf-init.c: New file.
926 * csu/elf-init.c
927 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
928 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
929
930 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
931 __gmon_start__ as global, but as static with a .preinit_array pointer.
932 * sysdeps/init_array/gmon-start.c: New file. Use that.
933 * sysdeps/init_array/crti.S: New file, empty except for comments.
934 * sysdeps/init_array/crtn.S: Likewise.
935
e6b5a293 9362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
937
938 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
939 definining bcopy.
80f844c9
OB
940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
941 Remove Prefer_SSE_for_memop.
942 * sysdeps/x86_64/multiarch/init-arch.h: Remove
943 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
944 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
946 memset-x86-64.
80f844c9 947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 948 Remove bzero, memset ifunc support.
80f844c9
OB
949 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
950 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
951 * sysdeps/x86_64/multiarch/memset.S: Likewise.
952 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
953
fb6b0fcb
AS
9542013-03-11 Andreas Schwab <schwab@suse.de>
955
956 [BZ #15234]
957 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
958 by SHLIB_COMPAT.
959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
960 (GLIBC_2.16): Remove pthread_atfork.
961
3e6bd4b1
PP
9622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
963
964 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
965 (ptestcases.h): Likewise.
966
222d7f00
RM
9672013-03-08 Roland McGrath <roland@hack.frob.com>
968
969 * Makeconfig ($(common-objpfx)config.status): Depend on
970 sysdeps/*/preconfigure{,.in} too.
971
1ba4f030
JM
9722013-03-08 Joseph Myers <joseph@codesourcery.com>
973
a222d91a
JM
974 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
975 (__free_hook): Use void * instead of __malloc_ptr_t.
976 (__malloc_hook): Likewise.
977 (__realloc_hook): Likewise.
978 (__memalign_hook): Likewise.
979 (__after_morecore_hook): Likewise.
980 * malloc/arena.c (save_malloc_hook): Likewise.
981 (save_free_hook): Likewise.
982 * malloc/hooks.c (malloc_hook_ini): Likewise.
983 (realloc_hook_ini): Likewise.
984 (memalign_hook_ini): Likewise.
985 * malloc/malloc.c (malloc_hook_ini): Likewise.
986 (realloc_hook_ini): Likewise.
987 (memalign_hook_ini): Likewise.
988 (__free_hook): Likewise.
989 (__malloc_hook): Likewise.
990 (__realloc_hook): Likewise.
991 (__memalign_hook): Likewise.
992 (__libc_malloc): Likewise.
993 (__libc_free): Likewise.
994 (__libc_realloc): Likewise.
995 (__libc_memalign): Likewise.
996 (__libc_valloc): Likewise.
997 (__libc_pvalloc): Likewise.
998 (__libc_calloc): Likewise.
999 (__posix_memalign): Likewise.
1000 * malloc/morecore.c (__sbrk): Likewise.
1001 (__default_morecore): Likewise.
1002
5cc45e10
JM
1003 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1004
dd54b864
JM
1005 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1006 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1007 __malloc_ptrdiff_t.
1008
1ba4f030
JM
1009 * malloc/malloc.h (__malloc_size_t): Remove macro.
1010 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1011 __malloc_size_t.
1012 (old_memalign_hook): Likewise.
1013 (old_realloc_hook): Likewise.
1014 (struct hdr): Likewise.
1015 (flood): Likewise.
1016 (mallochook): Likewise.
1017 (memalignhook): Likewise.
1018 (reallochook): Likewise.
1019 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1020 (tr_old_realloc_hook): Likewise.
1021 (tr_old_memalign_hook): Likewise.
1022 (tr_mallochook): Likewise.
1023 (tr_reallochook): Likewise.
1024 (tr_memalignhook): Likewise.
1025
edf66e57
AZ
10262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027
1028 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1029 default_ldbl_pack and using as default implementation.
1030 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1031 implementation.
1032 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1033 redundant definition.
1034 (ldbl_insert_mantissa): Likewise.
1035 (ldbl_canonicalize): Likewise.
1036 (ldbl_nearbyint): Likewise.
1037 (ldbl_pack): Rename to ldbl_pack_ppc.
1038 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1039 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1040 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1041
6d9145d8
SP
10422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1043
1044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1045 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1046 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1047 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1049 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1050 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1051 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1052
4dd4e157
AJ
10532013-03-07 Andreas Jaeger <aj@suse.de>
1054
1055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1056 bits/mman-linux.h.
1057
adbb8027
SP
10582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1059
ce544b5b
SP
1060 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1061 Include mpa.h and declare __MPEXP.
1062 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1064 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1065 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1066 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1067 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1068 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1069
4cc149fd
SP
1070 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1071 (__slowpow): Use long double EXPL and LOGL functions to
1072 compute POW.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1074 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1075 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1076 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1077 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1078 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1079
e6ebd4a7
SP
1080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1081 intermediate variable to calculate exponent.
1082 (__sqr): Likewise.
1083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1084 Likewise.
1085 (__sqr): Likewise.
1086
82a9811d
SP
1087 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1088 [!NO__SQR]: Define __sqr.
1089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1090 and NO__SQR. Remove all code except __mul and __sqr. Include
1091 sysdeps/ieee754/dbl-64/mpa.c.
1092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1093
adbb8027
SP
1094 [BZ #12723]
1095 * posix/Makefile (tests): Add tst-pathconf.
1096 * posix/tst-pathconf.c: New test case.
1097 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1098 _PC_PIPE_BUF.
1099 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1100
39120df9
PF
11012013-03-06 Patsy Franklin <pfrankli@redhat.com>
1102
1103 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1104
67525cb8
AJ
11052013-03-06 Andreas Jaeger <aj@suse.de>
1106
664a9ce4
AJ
1107 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1108 definition via __MAP_ANONYMOUS.
1109
8e39047d
AJ
1110 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1111 it's not part of Linux headers.
1112
67525cb8
AJ
1113 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1114 (MAP_HUGE_MASK): Define.
1115
1116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1117 Define.
1118 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1120 Define.
1121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1122 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1123 Define.
1124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1126 Define.
1127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1128
1129 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1130 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1131 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1132 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1133 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1135
1136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1137 Handle f2fs.
1138
1139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1140 Handle f2fs and efivarfs.
1141
1142 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1143 f2fs.
1144
1145 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1146 (EFIVARFS_MAGIC): Add.
1147 (F2FS_LINK_MAX): Add.
1148
e1b42695
PP
11492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1150
1151 * stdio-common/vfprintf.c: Replace __builtin_expect with
1152 __glibc_unlikely.
1153
2d67d91a
JM
11542013-03-06 Joseph Myers <joseph@codesourcery.com>
1155
1156 [BZ #13550]
1157 * sysdeps/generic/bp-sym.h: Remove file.
1158 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1160 <bp-sym.h> and <bp-asm.h>.
1161 (__longjmp): Don't use BP_SYM.
1162 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1163 and <bp-asm.h>.
1164 (memcpy): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (memcpy): Don't use BP_SYM.
1168 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1169 <bp-asm.h>.
1170 (memcpy): Don't use BP_SYM.
1171 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1172 <bp-asm.h>.
1173 (memset): Don't use BP_SYM.
1174 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1175 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1176 (__bzero): Don't use BP_SYM.
1177 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1178 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1179 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1180 <bp-sym.h> and <bp-asm.h>.
1181 (memcmp): Don't use BP_SYM. Remove comment about bounded
1182 pointers.
1183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1184 <bp-sym.h> and <bp-asm.h>.
1185 (memcpy): Don't use BP_SYM.
1186 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1187 <bp-sym.h> and <bp-asm.h>.
1188 (memset): Don't use BP_SYM.
1189 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1190 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1191 (__bzero): Don't use BP_SYM.
1192 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1193 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1195 <bp-sym.h> and <bp-asm.h>.
1196 (strncmp): Don't use BP_SYM. Remove comment about bounded
1197 pointers.
1198 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1199 <bp-sym.h> and <bp-asm.h>.
1200 (memcpy): Don't use BP_SYM.
1201 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1202 <bp-sym.h> and <bp-asm.h>.
1203 (memset): Don't use BP_SYM.
1204 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1205 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1206 (__bzero): Don't use BP_SYM.
1207 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1208 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1210 <bp-sym.h> and <bp-asm.h>.
1211 (__memchr): Don't use BP_SYM.
1212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1213 <bp-sym.h> and <bp-asm.h>.
1214 (memcmp): Don't use BP_SYM. Remove comment about bounded
1215 pointers.
1216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1217 <bp-sym.h> and <bp-asm.h>.
1218 (memcpy): Don't use BP_SYM.
1219 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1220 <bp-sym.h> and <bp-asm.h>.
1221 (__mempcpy): Don't use BP_SYM.
1222 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1223 <bp-sym.h> and <bp-asm.h>.
1224 (__memrchr): Don't use BP_SYM.
1225 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1226 <bp-sym.h> and <bp-asm.h>.
1227 (memset): Don't use BP_SYM.
1228 (__bzero): Likewise.
1229 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1230 <bp-sym.h> and <bp-asm.h>.
1231 (__rawmemchr): Don't use BP_SYM.
1232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1233 <bp-sym.h> and <bp-asm.h>.
1234 (__STRCMP): Don't use BP_SYM.
1235 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (strchr): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__strchrnul): Don't use BP_SYM.
1241 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1242 <bp-sym.h> and <bp-asm.h>.
1243 (strlen): Don't use BP_SYM.
1244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1245 <bp-sym.h> and <bp-asm.h>.
1246 (strncmp): Don't use BP_SYM. Remove comment about bounded
1247 pointers.
1248 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1249 <bp-sym.h> and <bp-asm.h>.
1250 (__strnlen): Don't use BP_SYM.
1251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1252 <bp-sym.h> and <bp-asm.h>.
1253 (__GI__setjmp): Don't use BP_SYM.
1254 (_setjmp): Likewise.
1255 (__sigsetjmp): Likewise.
1256 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1257 (L(start_addresses)): Don't use BP_SYM.
1258 (_start): Likewise.
1259 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1260 <bp-asm.h>.
1261 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1262 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1263 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1264 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1265 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1266 <bp-asm.h>.
1267 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1268 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1269 about bounded pointers.
1270 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1271 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1272 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1273 <bp-asm.h>.
1274 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1275 about bounded pointers. Remove GKM FIXME comments.
1276 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1277 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1278 <bp-asm.h>.
1279 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1280 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1281 Remove GKM FIXME comments.
1282 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1283 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1284 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1285 <bp-asm.h>.
1286 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1287 about bounded pointers. Remove GKM FIXME comment.
1288 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1289 and <bp-asm.h>.
1290 (strncmp): Don't use BP_SYM. Remove comment about bounded
1291 pointers.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1298 comment.
1299
cdcf361f
PP
13002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1301
1302 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1303 call free(NULL).
1304
3c4a2b15
DM
13052013-03-05 David S. Miller <davem@davemloft.net>
1306
1307 * po/es.po: Update from translation team.
1308
cdcf361f 13092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1310
1311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1312 <bits/mman-linux.h>.
1313 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1314 is fine.
1315 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1316 <bits/mman-linux.h> to end of file.
1317 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1318 is fine.
1319 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1320 <bits/mman-linux.h> to end of file.
1321 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1322 is fine.
1323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1324 <bits/mman-linux.h> to end of file.
1325
1326 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1327 (MCL_CURRENT, MCL_FUTURE): Define here.
1328
5f67c04f
AK
13292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1330
8a4473cc 1331 [BZ #15232]
5f67c04f
AK
1332 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1333 attribute_hidden.
1334 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1335
c3e94a95
AK
13362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1337
1338 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1339 fourth parameter needed for rt_sigprocmask syscall.
1340 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1341 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1342 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1343 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1345 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1346
cfb6382a
JM
13472013-03-04 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #13550]
1350 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1351 comment about bounded pointers.
1352 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1353 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1354
539d8e01
AJ
13552013-03-04 Andreas Jaeger <aj@suse.de>
1356
1357 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1358 common definitions.
1359
1360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1361 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1362 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1366
2e167a70 13672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1368
1369 [BZ #15055]
1370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1371 __ieee754_sqrl instead of __sqrl.
1372
68508633
JM
13732013-03-01 Joseph Myers <joseph@codesourcery.com>
1374
1375 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1376 * sysdeps/powerpc/fpu_control.h: ... here.
1377 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1378 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1379 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1380 * sysdeps/powerpc/bits/mathinline.h: ... here.
1381
7775448e
RM
13822013-03-01 Roland McGrath <roland@hack.frob.com>
1383
1384 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1385 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1386 to just [NEED_DL_SYSINFO_DSO].
1387 * elf/dl-support.c: Likewise.
1388 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1389 * elf/rtld.c (dl_main): Likewise.
1390 * elf/setup-vdso.h (setup_vdso): Likewise.
1391 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1392 * sysdeps/unix/sysv/linux/dl-sysdep.c
1393 (_dl_discover_osversion): Likewise.
1394
4e9b5995
CD
13952013-03-01 Carlos O'Donell <carlos@redhat.com>
1396
1397 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1398 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1399
e23872c8
SP
14002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1401
e5c74c63
SP
1402 * NEWS: Mention libm performance improvements and non-x86 PI
1403 futex support.
1404
e23872c8
SP
1405 * csu/libc-start.c (__pthread_initialize_minimal): Change
1406 function arguments.
1407 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1408
b5510883
JM
14092013-02-28 Joseph Myers <joseph@codesourcery.com>
1410
1411 [BZ #13550]
1412 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1413 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1414 <bp-sym.h> and <bp-asm.h>.
1415 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1417 and <bp-asm.h>.
1418 (memcpy): Don't use BP_SYM.
1419 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1420 <bp-asm.h>.
1421 (__mpn_add_n): Don't use BP_SYM.
1422 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1423 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1424 and <bp-asm.h>.
1425 (__mpn_addmul_1): Don't use BP_SYM.
1426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1427 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1428 <bp-sym.h>.
1429 (_setjmp): Don't use BP_SYM.
1430 (__novmx_setjmp): Likewise.
1431 (__GI__setjmp): Likewise.
1432 (__vmx_setjmp): Likewise.
1433 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1434 <bp-sym.h>.
1435 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1436 (__bzero): Don't use BP_SYM.
1437 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1438 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1439 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1440 <bp-sym.h> and <bp-asm.h>.
1441 (memcpy): Don't use BP_SYM.
1442 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1443 <bp-sym.h> and <bp-asm.h>.
1444 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1445 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1446 <bp-sym.h> and <bp-asm.h>.
1447 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1448 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1449 <bp-asm.h>.
1450 (__mpn_lshift): Don't use BP_SYM.
1451 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1452 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1453 <bp-asm.h>.
1454 (memset): Don't use BP_SYM.
1455 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1456 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1457 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1458 <bp-asm.h>.
1459 (__mpn_mul_1): Don't use BP_SYM.
1460 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1461 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1462 <bp-sym.h> and <bp-asm.h>.
1463 (memcmp): Don't use BP_SYM.
1464 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1465 <bp-sym.h> and <bp-asm.h>.
1466 (memcpy): Don't use BP_SYM.
1467 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1468 <bp-sym.h> and <bp-asm.h>.
1469 (memset): Don't use BP_SYM.
1470 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1471 <bp-sym.h> and <bp-asm.h>.
1472 (strncmp): Don't use BP_SYM.
1473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1474 <bp-sym.h> and <bp-asm.h>.
1475 (memcpy): Don't use BP_SYM.
1476 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1477 <bp-sym.h> and <bp-asm.h>.
1478 (memset): Don't use BP_SYM.
1479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1480 <bp-sym.h> and <bp-asm.h>.
1481 (__memchr): Don't use BP_SYM.
1482 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1483 <bp-sym.h> and <bp-asm.h>.
1484 (memcmp): Don't use BP_SYM.
1485 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1486 <bp-sym.h> and <bp-asm.h>.
1487 (memcpy): Don't use BP_SYM.
1488 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1489 <bp-sym.h> and <bp-asm.h>.
1490 (__mempcpy): Don't use BP_SYM.
1491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1492 <bp-sym.h> and <bp-asm.h>.
1493 (__memrchr): Don't use BP_SYM.
1494 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1495 <bp-sym.h> and <bp-asm.h>.
1496 (memset): Don't use BP_SYM.
1497 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1498 <bp-sym.h> and <bp-asm.h>.
1499 (__rawmemchr): Don't use BP_SYM.
1500 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1501 <bp-sym.h> and <bp-asm.h>.
1502 (__STRCMP): Don't use BP_SYM.
1503 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1504 <bp-sym.h> and <bp-asm.h>.
1505 (strchr): Don't use BP_SYM.
1506 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1507 <bp-sym.h> and <bp-asm.h>.
1508 (__strchrnul): Don't use BP_SYM.
1509 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1510 <bp-sym.h> and <bp-asm.h>.
1511 (strlen): Don't use BP_SYM.
1512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1513 <bp-sym.h> and <bp-asm.h>.
1514 (strncmp): Don't use BP_SYM.
1515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1516 <bp-sym.h> and <bp-asm.h>.
1517 (__strnlen): Don't use BP_SYM.
1518 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1519 <bp-asm.h>.
1520 (__mpn_rshift): Don't use BP_SYM.
1521 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1522 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1523 <bp-sym.h> and <bp-asm.h>.
1524 (__sigsetjmp): Don't use BP_SYM.
1525 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1526 (L(start_addresses)): Don't use BP_SYM.
1527 (_start): Likewise.
1528 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1529 <bp-asm.h>.
1530 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1533 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1534 <bp-asm.h>.
1535 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1536 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1537 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1538 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1539 <bp-asm.h>.
1540 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1541 comments.
1542 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1543 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1544 <bp-asm.h>.
1545 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1546 FIXME comments.
1547 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1548 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1549 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1550 <bp-asm.h>.
1551 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1552 comment.
1553 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1554 and <bp-asm.h>.
1555 (strncmp): Don't use BP_SYM,
1556 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1557 <bp-asm.h>.
1558 (__mpn_sub_n): Don't use BP_SYM.
1559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1560 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1561 and <bp-asm.h>.
1562 (__mpn_submul_1): Don't use BP_SYM.
1563 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1565 <bp-sym.h> and <bp-asm.h>.
1566 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1568 <bp-sym.h> and <bp-asm.h>.
1569 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1570 comment.
1571
8d19fe64
SP
15722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1573
1574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1575 Use ZK to minimize writes to Z.
1576 (sub_magnitudes): Simplify code a bit.
1577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1578 Use ZK to minimize writes to Z.
1579 (sub_magnitudes): Simplify code a bit.
1580
85bd816a
RM
15812013-02-27 Roland McGrath <roland@hack.frob.com>
1582
1583 * csu/gmon-start.c: Add special exception to license text.
1584
b5977bf2
RH
15852013-02-27 Richard Henderson <rth@redhat.com>
1586
1587 * scripts/config.guess: Update from config.git.
1588 * scripts/config.sub: Likewise.
1589
11d6e2f2
SP
15902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1591
09c14ed2
SP
1592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1593
a688864e
SP
1594 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1595
6295157a
SP
1596 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1597
b8de2202
SP
1598 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1599
11d6e2f2
SP
1600 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1601
7e80ddb8
RM
16022013-02-26 Roland McGrath <roland@hack.frob.com>
1603
1604 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1605 [$(build-shared = yes].
7e80ddb8 1606
7da6d9ed
SP
16072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1608
45f05884
SP
1609 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1610 (__mul): Reduce iterations for calculating mantissa.
1611
2236d359
SP
1612 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1613 MPTWO.
1614 (__mpranred): Likewise.
1615
7da6d9ed
SP
1616 [BZ #15160]
1617 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1618 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1619
b7688c42
PE
16202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1621
1622 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1623 Define __attribute__.
1624
53a5c423
SP
16252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1628 unused.
1629 * posix/regex_internal.h (__attribute): Remove.
1630 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1631 (re_string_context_at): Likewise.
1632 (bitset_not): Use __attribute__ and mark function as possibly
1633 unused.
1634 (bitset_merge): Likewise.
1635 (bitset_mask): Likewise.
1636 (re_string_char_size_at): Likewise.
1637 (re_string_wchar_at): Likewise.
1638 (re_string_elem_size_at): Likewise.
1639
60f5a8b5
SP
16402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1641
2a983a2e
SP
1642 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1643 code.
1644 (cc32): Likewise.
1645
e69804d1
SP
1646 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1647 (__acr): Likewise.
1648 (__cpy): Likewise.
1649 (norm): Likewise.
1650 (denorm): Likewise.
1651 (__dbl_mp): Likewise.
1652 (add_magnitudes): Likewise.
1653 (sub_magnitudes): Likewise.
1654 (__mul): Likewise.
1655 (__inv): Likewise.
1656
2f22a1e8
SP
1657 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1658 style.
1659
8930ddc7
SP
1660 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1661 style.
1662
dc60cb11
SP
1663 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1664 code.
1665
60f5a8b5
SP
1666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1667 up changes with default code.
1668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1669 Likewise.
1670
b4d1fd33
AM
16712013-02-24 Allan McRae <allan@archlinux.org>
1672
faf6f8bc
AM
1673 * manual/socket.texi (The Internet Namespace): Order menu items
1674 to match that in the file.
1675
b4d1fd33
AM
1676 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1677 node listing of the info page menu.
1678
2366713d
JM
16792013-02-21 Joseph Myers <joseph@codesourcery.com>
1680
1681 [BZ #13550]
1682 * sysdeps/i386/bp-asm.h: Remove file.
1683 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1684 (PARMS): Do not use macros from bp-asm.h.
1685 (S1): Likewise.
1686 (S2): Likewise.
1687 (SIZE): Likewise.
1688 (__mpn_add_n): Do not use BP_SYM
1689 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1690 "bp-asm.h".
1691 (PARMS): Do not use macros from bp-asm.h.
1692 (S1): Likewise.
1693 (SIZE): Likewise.
1694 (__mpn_addmul_1): Do not use BP_SYM
1695 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1696 "bp-asm.h".
1697 (PARMS): Do not use macros from bp-asm.h.
1698 (SIGMSK): Likewise.
1699 (_setjmp): Likewise. Do not use BP_SYM.
1700 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1701 "bp-asm.h".
1702 (PARMS): Do not use macros from bp-asm.h.
1703 (SIGMSK): Likewise.
1704 (setjmp): Likewise. Do not use BP_SYM.
1705 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1706 "bp-asm.h".
1707 (PARMS): Do not use macros from bp-asm.h.
1708 (__frexp): Do not use BP_SYM.
1709 (frexp): Likewise.
1710 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1711 "bp-asm.h".
1712 (PARMS): Do not use macros from bp-asm.h.
1713 (__frexpf): Do not use BP_SYM.
1714 (frexpf): Likewise.
1715 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1716 "bp-asm.h".
1717 (PARMS): Do not use macros from bp-asm.h.
1718 (__frexpl): Do not use BP_SYM.
1719 (frexpl): Likewise.
1720 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1721 "bp-asm.h".
1722 (PARMS): Do not use macros from bp-asm.h.
1723 (__remquo): Do not use BP_SYM.
1724 (remquo): Likewise.
1725 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1726 "bp-asm.h".
1727 (PARMS): Do not use macros from bp-asm.h.
1728 (__remquof): Do not use BP_SYM.
1729 (remquof): Likewise.
1730 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1731 "bp-asm.h".
1732 (PARMS): Do not use macros from bp-asm.h.
1733 (__remquol): Do not use BP_SYM.
1734 (remquol): Likewise.
1735 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1736 "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1738 (DEST): Likewise.
1739 (SRC): Likewise.
1740 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1741 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1742 "bp-asm.h".
1743 (PARMS): Do not use macros from bp-asm.h.
1744 (strlen): Do not use BP_SYM.
1745 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1746 "bp-asm.h".
1747 (PARMS): Do not use macros from bp-asm.h.
1748 (S1): Likewise.
1749 (S2): Likewise.
1750 (SIZE): Likewise.
1751 (__mpn_add_n): Do not use BP_SYM.
1752 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1753 "bp-asm.h".
1754 (PARMS): Do not use macros from bp-asm.h.
1755 (S1): Likewise.
1756 (SIZE): Likewise.
1757 (__mpn_addmul_1): Do not use BP_SYM.
1758 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1759 weak_alias.
1760 (bzero): Likewise.
1761 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1762 "bp-asm.h".
1763 (PARMS): Do not use macros from bp-asm.h.
1764 (S): Likewise.
1765 (SIZE): Likewise.
1766 (__mpn_lshift): Do not use BP_SYM.
1767 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1768 "bp-asm.h".
1769 (PARMS): Do not use macros from bp-asm.h.
1770 (DEST): Likewise.
1771 (SRC): Likewise.
1772 (LEN): Likewise.
1773 (memcpy): Likewise. Do not use BP_SYM.
1774 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1775 libc_hidden_def and weak_alias.
1776 (mempcpy): Do not use BP_SYM in weak_alias.
1777 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1778 "bp-asm.h".
1779 (PARMS): Do not use macros from bp-asm.h.
1780 (DEST): Likewise.
1781 (LEN): Likewise.
1782 [!BZERO_P] (CHR): Likewise.
1783 (memset): Likewise. Do not use BP_SYM.
1784 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1785 "bp-asm.h".
1786 (PARMS): Do not use macros from bp-asm.h.
1787 (S1): Likewise.
1788 (SIZE): Likewise.
1789 (__mpn_mul_1): Do not use BP_SYM.
1790 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1791 "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (S): Likewise.
1794 (SIZE): Likewise.
1795 (__mpn_rshift): Do not use BP_SYM.
1796 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1797 "bp-asm.h".
1798 (PARMS): Do not use macros from bp-asm.h.
1799 (STR): Likewise.
1800 (CHR): Likewise.
1801 (strchr): Likewise. Do not use BP_SYM.
1802 (index): Do not use BP_SYM in weak_alias.
1803 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1804 "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1806 (DEST): Likewise.
1807 (SRC): Likewise.
1808 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1809 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1810 "bp-asm.h".
1811 (PARMS): Do not use macros from bp-asm.h.
1812 (strlen): Do not use BP_SYM.
1813 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1814 "bp-asm.h".
1815 (PARMS): Do not use macros from bp-asm.h.
1816 (S1): Likewise.
1817 (S2): Likewise.
1818 (SIZE): Likewise.
1819 (__mpn_sub_n): Do not use BP_SYM.
1820 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1821 "bp-asm.h".
1822 (PARMS): Do not use macros from bp-asm.h.
1823 (S1): Likewise.
1824 (SIZE): Likewise.
1825 (__mpn_submul_1): Do not use BP_SYM.
1826 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1827 "bp-asm.h".
1828 (PARMS): Do not use macros from bp-asm.h.
1829 (S1): Likewise.
1830 (S2): Likewise.
1831 (SIZE): Likewise.
1832 (__mpn_add_n): Do not use BP_SYM.
1833 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1834 weak_alias.
1835 (bzero): Likewise.
1836 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1837 "bp-asm.h".
1838 (PARMS): Do not use macros from bp-asm.h.
1839 (BLK2): Likewise.
1840 (LEN): Likewise.
1841 (memcmp): Do not use BP_SYM.
1842 (bcmp): Do not use BP_SYM in weak_alias.
1843 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1844 "bp-asm.h".
1845 (PARMS): Do not use macros from bp-asm.h.
1846 (DEST): Likewise.
1847 (SRC): Likewise.
1848 (LEN): Likewise.
1849 (memcpy): Likewise. Do not use BP_SYM.
1850 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1851 "bp-asm.h".
1852 (PARMS): Do not use macros from bp-asm.h.
1853 (DEST): Likewise.
1854 (SRC): Likewise.
1855 (LEN): Likewise.
1856 (memmove): Likewise. Do not use BP_SYM.
1857 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1858 "bp-asm.h".
1859 (PARMS): Do not use macros from bp-asm.h.
1860 (DEST): Likewise.
1861 (SRC): Likewise.
1862 (LEN): Likewise.
1863 (__mempcpy): Likewise. Do not use BP_SYM.
1864 (mempcpy): Do not use BP_SYM in weak_alias.
1865 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1866 "bp-asm.h".
1867 (PARMS): Do not use macros from bp-asm.h.
1868 (DEST): Likewise.
1869 (LEN): Likewise.
1870 [!BZERO_P] (CHR): Likewise.
1871 (memset): Likewise. Do not use BP_SYM.
1872 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1873 "bp-asm.h".
1874 (PARMS): Do not use macros from bp-asm.h.
1875 (STR2): Likewise.
1876 (strcmp): Do not use BP_SYM.
1877 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1878 "bp-asm.h".
1879 (PARMS): Do not use macros from bp-asm.h.
1880 (STR): Likewise.
1881 (DELIM): Likewise.
1882 [USE_AS_STRTOK_R] (SAVE): Likewise.
1883 (FUNCTION): Likewise. Do not use BP_SYM.
1884 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1885 aliases.
1886 (strtok_r): Likewise.
1887 (__GI___strtok_r): Likewise.
1888 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1889 (PARMS): Do not use macros from bp-asm.h.
1890 (S): Likewise.
1891 (SIZE): Likewise.
1892 (__mpn_lshift): Do not use BP_SYM.
1893 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1894 (PARMS): Do not use macros from bp-asm.h.
1895 (STR): Likewise.
1896 (CHR): Likewise.
1897 (__memchr): Do not use BP_SYM.
1898 (memchr): Do not use BP_SYM in weak_alias.
1899 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1900 (PARMS): Do not use macros from bp-asm.h.
1901 (BLK2): Likewise.
1902 (LEN): Likewise.
1903 (memcmp): Do not use BP_SYM.
1904 (bcmp): Do not use BP_SYM in weak_alias.
1905 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1906 (PARMS): Do not use macros from bp-asm.h.
1907 (S1): Likewise.
1908 (SIZE): Likewise.
1909 (__mpn_mul_1): Do not use BP_SYM.
1910 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1911 "bp-asm.h".
1912 (PARMS): Do not use macros from bp-asm.h.
1913 (STR): Likewise.
1914 (CHR): Likewise.
1915 (__rawmemchr): Do not use BP_SYM.
1916 (rawmemchr): Do not use BP_SYM in weak_alias.
1917 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1918 (PARMS): Do not use macros from bp-asm.h.
1919 (S): Likewise.
1920 (SIZE): Likewise.
1921 (__mpn_rshift): Do not use BP_SYM.
1922 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1923 (PARMS): Do not use macros from bp-asm.h.
1924 (SIGMSK): Likewise.
1925 (__sigsetjmp): Likewise. Do not use BP_SYM.
1926 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1927 (_start): Do not use BP_SYM.
1928 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1929 (PARMS): Do not use macros from bp-asm.h.
1930 (DEST): Likewise.
1931 (SRC): Likewise.
1932 (__stpcpy): Likewise. Do not use BP_SYM.
1933 (stpcpy): Do not use BP_SYM in weak_alias.
1934 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1935 "bp-asm.h".
1936 (PARMS): Do not use macros from bp-asm.h.
1937 (DEST): Likewise.
1938 (SRC): Likewise.
1939 (LEN): Likewise.
1940 (__stpncpy): Likewise. Do not use BP_SYM.
1941 (stpncpy): Do not use BP_SYM in weak_alias.
1942 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1943 (PARMS): Do not use macros from bp-asm.h.
1944 (STR): Likewise.
1945 (CHR): Likewise.
1946 (strchr): Likewise. Do not use BP_SYM.
1947 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1948 "bp-asm.h".
1949 (PARMS): Do not use macros from bp-asm.h.
1950 (STR): Likewise.
1951 (CHR): Likewise.
1952 (__strchrnul): Likewise. Do not use BP_SYM.
1953 (strchrnul): Do not use BP_SYM in weak_alias.
1954 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1955 "bp-asm.h".
1956 (PARMS): Do not use macros from bp-asm.h.
1957 (STOP): Likewise.
1958 (strcspn): Do not use BP_SYM.
1959 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1960 "bp-asm.h".
1961 (PARMS): Do not use macros from bp-asm.h.
1962 (STR): Likewise.
1963 (STOP): Likewise.
1964 (strpbrk): Likewise. Do not use BP_SYM.
1965 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1966 "bp-asm.h".
1967 (PARMS): Do not use macros from bp-asm.h.
1968 (STR): Likewise.
1969 (CHR): Likewise.
1970 (strrchr): Likewise. Do not use BP_SYM.
1971 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1972 (PARMS): Do not use macros from bp-asm.h.
1973 (SKIP): Likewise.
1974 (strspn): Do not use BP_SYM.
1975 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1976 (PARMS): Do not use macros from bp-asm.h.
1977 (STR): Likewise.
1978 (DELIM): Likewise.
1979 (SAVE): Likewise.
1980 (FUNCTION): Likewise. Do not use BP_SYM.
1981 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1982 aliases.
1983 (strtok_r): Likewise.
1984 (__GI___strtok_r): Likewise.
1985 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1986 (PARMS): Do not use macros from bp-asm.h.
1987 (S1): Likewise.
1988 (S2): Likewise.
1989 (SIZE): Likewise.
1990 (__mpn_sub_n): Do not use BP_SYM.
1991 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1992 "bp-asm.h".
1993 (PARMS): Do not use macros from bp-asm.h.
1994 (S1): Likewise.
1995 (SIZE): Likewise.
1996 (__mpn_submul_1): Do not use BP_SYM.
1997 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1998 <bp-sym.h>.
1999 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2000 and <bp-asm.h>.
2001 (PARMS): Do not use macros from bp-asm.h.
2002 (FLAGS): Likewise.
2003 (PTID): Likewise.
2004 (TLS): Likewise.
2005 (CTID): Likewise.
2006 (__clone): Do not use BP_SYM.
2007 (clone): Do not use BP_SYM in weak_alias.
2008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2009 and <bp-asm.h>.
2010 (PARMS): Do not use macros from bp-asm.h.
2011 (LEN): Likewise.
2012 (__mmap64): Do not use BP_SYM.
2013 (mmap64): Do not use BP_SYM in weak_alias.
2014 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2015 <bp-sym.h> and <bp-asm.h>.
2016 (PARMS): Do not use macros from bp-asm.h.
2017 (__posix_fadvise64_l64): Do not use BP_SYM.
2018 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2019 (PARMS): Do not use macros from bp-asm.h.
2020 (NSOPS): Likewise.
2021 (semtimedop): Do not use BP_SYM.
2022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2023 and <bp-asm.h>.
2024
582a3cff
AM
20252013-02-21 Allan McRae <allan@archlinux.org>
2026
2027 * manual/message.texi (Charset conversion in gettext):
2028 Move @end statement to beginning of line.
2029
bab8a695
SP
20302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2031
80945231
SP
2032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2033 static.
2034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2035 Likewise.
2036
bab8a695
SP
2037 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2038 (denorm): Likewise.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2041
e21d7aa7
AK
20422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2043
2044 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2045 tail-call to the resolved function if pltexit isn't needed.
2046
4c7a4263
SP
20472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2048
2049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2050 or Y being zero as being unlikely.
2051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2052 Likewise.
2053
41f49342
CD
20542013-02-20 Carlos O'Donell <carlos@redhat.com>
2055
2056 * manual/nss.texi (System Databases and Name Service Switch):
2057 Remove frobnicate @pxref.
2058
50022a93
TS
20592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2060
2061 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2062 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2063
08cbd996
PM
20642013-02-20 Petr Machata <pmachata@redhat.com>
2065
2066 * elf/elf.h (R_ARM_TARGET1): New macro.
2067 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2068 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2069 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2070 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2071 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2072 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2073 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2074 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2075 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2076 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2077 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2078 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2079 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2080 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2081 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2082 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2083 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2084 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2085 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2086 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2087 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2088 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2089 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2090 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2091 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2092 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2093 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2094 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2095 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2096 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2097 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2098 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2099 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2100 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2101 (R_ARM_THM_GOT_BREL12): Likewise.
2102 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2103 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2104 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2105 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2106 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2107 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2108 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2109 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2110 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2111
c7b275d6
TS
21122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2113
2114 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2115 __attribute_used__ to __attribute__ ((unused)).
2116
20cd7fb3
SP
21172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2118
2119 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2120 powerpc mpa.c.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2122 comment formatting.
2123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2124
92945b52
JM
21252013-02-19 Joseph Myers <joseph@codesourcery.com>
2126
2127 [BZ #13550]
2128 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2129 Remove macro.
2130 (ENTER): Remove both macro definitions.
2131 (LEAVE): Likewise.
2132 (CHECK_BOUNDS_LOW): Likewise.
2133 (CHECK_BOUNDS_HIGH): Likewise.
2134 (CHECK_BOUNDS_BOTH): Likewise.
2135 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2136 (RETURN_BOUNDED_POINTER): Likewise.
2137 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2138 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2139 (POP_ERRNO_LOCATION_RETURN): Likewise.
2140 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2141 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2142 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2143 macros.
2144 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2145 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2146 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2147 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2148 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2149 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2150 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2151 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2152 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2153 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2154 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2155 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2157 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2158 removed macros.
2159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2160 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2161 macros.
2162 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2163 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2164 * sysdeps/i386/i586/memset.S (memset): Likewise.
2165 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2166 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2167 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2168 macros.
2169 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2170 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2171 Change uses of L(2) to L(out).
2172 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2173 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2174 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2175 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2176 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2177 removed macros.
2178 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2179 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2180 macros.
2181 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2182 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2183 (RETURN): Do not use macro LEAVE.
2184 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2185 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2186 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2187 * sysdeps/i386/i686/memset.S (memset): Likewise.
2188 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2189 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2190 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2191 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2192 Likewise.
2193 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2194 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2195 L(1_2) and L(1_3) into L(1).
2196 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2197 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2198 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2199 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2200 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2201 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2202 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2204 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2205 macros.
2206 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2207 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2208 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2209 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2210 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2211 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2212 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2213 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2214 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2215 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2216 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2217 * sysdeps/i386/strspn.S (strspn): Likewise.
2218 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2219 conditional code.
2220 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2221 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2222 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2223 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2224 L(1_3) into L(1_1).
2225 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2226 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2227 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2228 macros.
2229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2230
2389741a
JJ
22312013-02-19 Jakub Jelinek <jakub@redhat.com>
2232
2233 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2234 macro.
2235
2016b3cd
SP
22362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
e4f22324
SP
2238 * math/atest-exp.c (exp_mpn): Remove ROUND.
2239 * math/atest-exp2.c (exp_mpn): Likewise.
2240 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2241
2016b3cd
SP
2242 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2243 * stdlib/tst-tls-atexit-lib.c: Likewise.
2244 * stdlib/tst-tls-atexit.c: Likewise.
2245
4be9b544
MF
22462013-02-18 Mike Frysinger <vapier@gentoo.org>
2247
2248 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2249 and __attribute_alloc_size__.
2250
2f62b9ee
MF
22512013-02-18 Mike Frysinger <vapier@gentoo.org>
2252
2253 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2254 __attribute_alloc_size__.
2255 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2256 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2257
6ff444c4
MF
22582013-02-18 Mike Frysinger <vapier@gentoo.org>
2259
2260 * include/programs/xmalloc.h: New file.
2261 * catgets/gencat.c: Include it.
2262 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2263 * elf/pldd.c: Likewise.
2264 * iconv/iconv_charmap.c: Likewise.
2265 * iconv/iconvconfig.c: Likewise.
2266 * iconv/strtab.c: Likewise.
2267 * locale/programs/locale.c: Likewise.
2268 * locale/programs/localedef.h: Likewise.
2269 * locale/programs/simple-hash.c: Likewise.
2270 * nscd/nscd.h: Likewise.
2271 * nss/makedb.c: Likewise.
2272 * sysdeps/generic/ldconfig.h: Likewise.
2273
be179c8a
SP
22742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2275
ba384f6e
SP
2276 * Versions.def: Add GLIBC_2.18.
2277 * include/link.h (struct link_map): New member l_tls_dtor_count.
2278 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2279 (__call_tls_dtors): Likewise.
2280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2281 __cxa_thread_atexit_impl.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2285 Likewise.
2286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2289 Likewise.
2290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2292 Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2294 Likewise.
2295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2297 Likewise.
2298 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2299 (tests): Add test case tst-tls-atexit.
2300 (modules-names): Add shared library for tst-tls-atexit.
2301 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2302 (GLIBC_PRIVATE): Add __call_tls_dtors.
2303 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2304 for libstdc++.
2305 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2306 * stdlib/tst-tls-atexit.c: New test case.
2307 * stdlib/tst-tls-atexit-lib.c: New test case.
2308
ffaa74cf 2309 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2310
be179c8a
SP
2311 * elf/Versions (ld): Add _dl_find_dso_for_object.
2312 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2313 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2314 (dl_open_worker): Use _dl_find_dso_for_object.
2315 * elf/dl-sym.c (do_sym): Likewise.
2316 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2317
f78b5caa
AK
23182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2319
2320 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2321 Syntactic changes only.
2322 (_dl_runtime_profile): Do a tail-call to the resolved function.
2323
29691210
JM
23242013-02-17 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #13550]
2327 * sysdeps/x86_64/bp-asm.h: Remove file.
2328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2329 <bp-sym.h> and <bp-asm.h>.
2330 (__clone): Do not use BP_SYM.
2331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2332 <bp-sym.h> and <bp-asm.h>.
2333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2334 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2335 "bp-asm.h".
2336 (_setjmp): Do not use BP_SYM.
2337 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2338 "bp-asm.h".
2339 (setjmp): Do not use BP_SYM.
2340 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2341 libc_hidden_def.
2342 (mempcpy): Do not use BP_SYM in weak_alias.
2343 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2344 "bp-asm.h".
2345 (strchr): Do not use BP_SYM.
2346 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2347 "bp-asm.h".
2348 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2349 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2350 (_start): Do not use BP_SYM.
2351 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2352 "bp-asm.h".
2353 (strcat): Do not use BP_SYM.
2354 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2355 "bp-asm.h".
2356 (STRCMP): Do not use BP_SYM.
2357 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2358 "bp-asm.h".
2359 (STRCPY): Do not use BP_SYM.
2360 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2361 "bp-asm.h".
2362 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2363 "bp-asm.h".
2364 (FUNCTION): Do not use BP_SYM.
2365 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2366 weak_alias.
2367 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2368
f238fd19
AJ
23692013-02-17 Andreas Jaeger <aj@suse.de>
2370
2371 * time/Versions: Sort entries.
2372 * string/Versions: Likewise.
2373 * resolv/Versions: Likewise.
2374 * posix/Versions: Likewise.
2375 * iconv/Versions: Likewise.
2376 * elf/Versions: Likewise.
2377 * wcsmbs/Versions: Likewise.
2378
bd07f23c 23792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2380
22af19f9
SP
2381 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2382 loop termination condition.
2383
4709fe76
SP
2384 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2385 variable to calculate EZ.
2386 (__sqr): Likewise.
2d0e0f29
SP
2387
2388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2389 the lower precision input.
2390
daaa7713
JM
23912013-02-15 Joseph Myers <joseph@codesourcery.com>
2392
2393 [BZ #13550]
2394 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2395 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2396 (run-via-rtld-prefix): Do not handle %-bp tests.
2397 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2398 (all-object-suffixes): Remove .ob.
2399 (bppfx): Remove variable.
2400 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2401 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2402 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2403 [$(build-bounded) = yes] (libtype.ob): Likewise.
2404 * Makerules (elide-routines.ob): Remove variable.
2405 (do-tests-clean): Do not handle *-bp.out.
2406 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2407 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2408 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2409 (tests): Do not include $(tests-bp.out).
2410 (xtests): Do not include $(xtests-bp.out).
2411 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2412 [$(build-bounded) = yes] ($(addprefix
2413 $(objpfx),$(binaries-bounded))): Remove rule.
2414 ($(objpfx)%-bp.out): Remove rule.
2415 * config.make.in (build-bounded): Remove variable.
2416 * crypt/Makefile [$(build-bounded) = yes]
2417 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2418 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2419 append to variable.
2420 [$(build-bounded) = yes] (install-lib): Likewise.
2421 [$(build-bounded) = yes] (generated): Likewise.
2422 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2423 Remove rule.
2424 * intl/Makefile [$(build-bounded) = yes]
2425 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2426 * math/Makefile [$(build-bounded) = yes]
2427 ($(tests:%=$(objpfx)%-bp): Likewise.
2428 * misc/Makefile [$(build-bounded) = yes]
2429 ($(objpfx)tst-tsearch-bp): Likewise.
2430 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2431 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2432 Remove dependency.
2433 * string/Makefile (o-objects.ob): Remove variable.
2434 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2435 (CFLAGS-.ob): Remove variable.
2436 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2437 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2438 both definitions of variable.
2439 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2440 (ASFLAGS-.ob): Remove variable.
2441
e97ed6dd
JM
24422013-02-14 Joseph Myers <joseph@codesourcery.com>
2443
2bdd4ca6
JM
2444 [BZ #13550]
2445 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2446 Remove __BOUNDED_POINTERS__ from condition.
2447 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2448 * string/bits/string2.h [!__NO_STRING_INLINES &&
2449 !__BOUNDED_POINTERS__]: Likewise.
2450 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2451 Likewise.
2452 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2453 Remove conditional code.
2454 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2455 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2456 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2457 condition.
2458
e97ed6dd
JM
2459 [BZ #13550]
2460 * csu/libc-start.c: Do not include <bp-sym.h>.
2461 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2462 * elf/dl-open.c: Do not include <bp-sym.h>.
2463 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2464 * math/fegetenv.c: Do not include <bp-sym.h>.
2465 (fegetenv): Do not use BP_SYM in versioned symbols.
2466 * nptl/sysdeps/pthread/bits/libc-lockP.h
2467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2468 <bp-sym.h>.
2469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2470 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2472 (__pthread_mutex_destroy): Likewise.
2473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2474 (__pthread_mutex_lock): Likewise.
2475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2476 (__pthread_mutex_trylock): Likewise.
2477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2478 (__pthread_mutex_unlock): Likewise.
2479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2480 (__pthread_mutexattr_init): Likewise.
2481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2482 (__pthread_mutexattr_destroy): Likewise.
2483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2484 (__pthread_mutexattr_settype): Likewise.
2485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2486 (__pthread_rwlock_init): Likewise.
2487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2488 (__pthread_rwlock_destroy): Likewise.
2489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2490 (__pthread_rwlock_rdlock): Likewise.
2491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2492 (__pthread_rwlock_tryrdlock): Likewise.
2493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2494 (__pthread_rwlock_wrlock): Likewise.
2495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2496 (__pthread_rwlock_trywrlock): Likewise.
2497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2498 (__pthread_rwlock_unlock): Likewise.
2499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2500 (__pthread_key_create): Likewise.
2501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2502 (__pthread_setspecific): Likewise.
2503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2504 (__pthread_getspecific): Likewise.
2505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2506 Likewise.
2507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2508 (_pthread_cleanup_push_defer): Likewise.
2509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2510 (_pthread_cleanup_pop_restore): Likewise.
2511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2512 (pthread_setcancelstate): Likewise.
2513 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2514 <bp-sym.h>.
2515 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2516 (memchr): Do not use BP_SYM in weak_alias.
2517 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2518 (fegetenv): Do not use BP_SYM in versioned symbols.
2519 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2520 (fesetenv): Do not use BP_SYM in versioned symbols.
2521 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2522 (feupdateenv): Do not use BP_SYM in versioned symbols.
2523 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2524 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2525 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2526 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2527 (open64): Do not use BP_SYM in weak_alias.
2528 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2529 (fegetenv): Do not use BP_SYM in versioned symbols.
2530 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2531 (fesetenv): Do not use BP_SYM in versioned symbols.
2532 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2533 (feupdateenv): Do not use BP_SYM in versioned symbols.
2534 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2535 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2536 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2537 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2538 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2539 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2540 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2541 <bp-sym.h>.
2542 (__libc_start_main): Do not use BP_SYM.
2543
d6752ccd
SP
25442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2545
cb57ce60
SP
2546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2547 redundant return line.
2548 (norm): Likewise.
2549 (denorm): Likewise.
2550 (dbl_mp): Likewise.
2551 (sub_magnitudes): Likewise.
2552 (__add): Likewise.
2553 (__sub): Likewise.
2554 (__mul): Likewise.
2555 (__inv): Likewise.
2556 (__dvd): Likewise.
2557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2558 (norm): Likewise.
2559 (denorm): Likewise.
2560 (dbl_mp): Likewise.
2561 (sub_magnitudes): Likewise.
2562 (__add): Likewise.
2563 (__sub): Likewise.
2564 (__mul): Likewise.
2565 (__inv): Likewise.
2566 (__dvd): Likewise.
2567
f414520d
SP
2568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2569 instead of __mul.
2570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2571 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2572 (cc32): Likewise.
2573
d6752ccd
SP
2574 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2575 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2577 of __mul for squares.
2578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2579 function
2580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2581 Likewise.
2582 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2583 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2584
70d9946a
JM
25852013-02-13 Joseph Myers <joseph@codesourcery.com>
2586
2587 [BZ #13550]
2588 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2589 code.
2590 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2591 prototype or function definition. Rename ubp_* variables and
2592 parameters. Remove argv definitions conditional on
2593 [__BOUNDED_POINTERS__].
2594 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2595 * elf/dl-runtime.c (_dl_fixup): Likewise.
2596 * include/set-hooks.h (RUN_HOOK): Likewise.
2597 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2598 definition.
2599 * string/strcpy.c (strcpy): Do not use __unbounded.
2600 * sysdeps/generic/frame.h (struct layout): Likewise.
2601 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2602 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2603 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2604 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2605 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2606 (__backtrace): Likewise.
2607 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2608 use __ptrvalue.
2609 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2610 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2611 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2612 Likewise.
2613 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2614 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2615 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2616 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2617 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2618 Do not use __unbounded.
2619 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2620 Rename __unboundedrlimits parameter to rlimits in prototype.
2621 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2622 Do not use __unbounded.
2623 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2624 not use __ptrvalue.
2625 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2626 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2627 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2629 __ptrvalue or __unbounded.
2630 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2631 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2632 use __unbounded.
2633 (__new_msgctl): Do not use __ptrvalue.
2634 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2635 __unbounded.
2636 (__libc_msgrcv): Do not use __ptrvalue.
2637 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2638 startup_info): Do not use __unbounded.
2639 (__libc_start_main): Likewise. Rename ubp_* variables and
2640 parameters. Remove argv definitions conditional on
2641 [__BOUNDED_POINTERS__].
2642 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2643 __ptrvalue.
2644 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2645 use __unbounded.
2646 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2647 or __ptrvalue.
2648 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2649 use __unbounded.
2650 (__new_shmctl): Do not use __ptrvalue.
2651 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2652 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2653 Likewise.
2654 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2656 (__libc_sigaction): Likewise.
2657 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2659 Likewise.
2660 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2661
cc7834d6
OB
26622013-02-13 Ondřej Bílka <neleai@seznam.cz>
2663
ffb1ec7b 2664 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2665
2666 * string/mempcpy.c: Implement by calling memcpy.
2667
bdf02814
SP
26682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2669
c2af38aa
SP
2670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2671
4e92d59e
SP
2672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2673 evaluation.
2674
909279a5
SP
2675 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2676 values in the mantissa.
2677
bdf02814
SP
2678 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2679 minimize writes to Z.
2680 (sub_magnitudes): Simplify code a bit.
2681
cd525923
RM
26822013-02-12 Roland McGrath <roland@hack.frob.com>
2683
2684 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2685 from the message. The linker prefixes all warnings with that already.
2686
7e2f0d2d
AS
26872013-02-12 Andreas Schwab <schwab@suse.de>
2688
a445af0b
AS
2689 [BZ #15078]
2690 * posix/regexec.c (extend_buffers): Add parameter min_len.
2691 (check_matching): Pass minimum needed length.
2692 (clean_state_log_if_needed): Likewise.
2693 (get_subexp): Likewise.
2694 * posix/Makefile (tests): Add bug-regex34.
2695 (bug-regex34-ENV): Define.
2696 * posix/bug-regex34.c: New file.
2697
7e2f0d2d
AS
2698 [BZ #11561]
2699 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2700 elements compare against the byte sequence of it, not its name.
2701 * posix/Makefile (tests): Add bug-regex35.
2702 (bug-regex35-ENV): Define.
2703 * posix/bug-regex35.c: New file.
2704
a175b684
TV
27052013-02-11 Tom de Vries <tom@codesourcery.com>
2706
2707 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2708 comment.
2709 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2710 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2711 (CHECK_EOL): Add undef.
2712
310998fe 27132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2714
2715 * bits/stdlib-bsearch.h: New file.
2716 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2717 * stdlib/stdlib.h: Likewise.
41eda41d 2718
8ded91fb
RM
27192013-02-11 Roland McGrath <roland@hack.frob.com>
2720
2721 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2722 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2723 declaration.
2724 * manual/search.texi (Array Search Function): Add missing const in
2725 lfind prototype.
2726 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2727 declaration to use rlim_t.
2728 (Basic Scheduling Functions): Remove erroneous const from
2729 sched_getparam prototype. Remove erroneous * from
2730 sched_get_priority_max and sched_get_priority_min prototypes.
2731 (Resource Usage): Fix summary @comment on vtimes to refer to
2732 sys/vtimes.h rather than vtimes.h.
2733 Add missing *s in vtimes prototype.
2734 (Limits on Resources): Fix ulimit prototype to return long int.
2735 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2736 prototypes to use long int rather than double.
2737 (BSD Random): Fix initstate and setstate to use char *, not void *.
2738 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2739 prototype to make second argument 'struct aiocb64 *const[]'.
2740 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2741 (Status of AIO Operations): Remove erroneous const in aio_return and
2742 aio_return64 prototypes.
2743 (Synchronizing I/O): Fix sync prototype to return void.
2744 * manual/startup.texi (Suboptions): Remove an erroneous const in
2745 getsubopt prototype.
2746 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2747 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2748 use size_t rather than int.
2749 (Scanning All Users): Likewise for getpwent_r.
2750 (Setting Groups): Add missing const to setgroups prototype.
2751 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2752 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2753 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2754 'const void *' rather than 'const char *'.
2755 (Host Address Functions): Likewise for inet_ntop.
2756 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2757 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2758 ssize_t for return value.
2759 (Sending Data): Likewise for send, sendto, sendmsg.
2760 (Socket Option Functions): Add a missing const in setsockopt prototype.
2761 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2762 use wchar_t for the argument.
2763 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2764 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2765 take no arguments.
2766 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2767 double/float/long double for second argument.
2768 Fix return types of significand, significandf, significandl.
2769 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2770 argument in fchmod prototype.
2771 (File Owner): Use uid_t and gid_t in fchown prototype.
2772 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2773 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2774 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2775 use 'const struct dirent **' as argument types to CMP function pointer
2776 argument.
2777 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2778 (File Times): Fix summary magic @comment for struct utimbuf and utime
2779 to refer to utime.h, not time.h.
2780 * manual/string.texi (Argz Functions): Add missing const in
2781 argz_extract and argz_next prototypes.
2782 (Finding Tokens in a String): Likewise for basename.
2783 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2784 (Copying and Concatenation): Fix typo in wmemmove prototype.
2785 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2786 (Signal Stack): Remove erroneous const in sigstack prototype.
2787 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2788 prototype.
2789 (Simple Calendar Time): Likewise for stime.
2790 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2791 prototype.
2792 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2793 say sys/sysctl.h instead.
2794 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2795 and vsyslog prototypes.
2796
fe77fe6d
TV
27972013-02-11 Tom de Vries <tom@codesourcery.com>
2798
2799 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2800 Remove.
2801
3a09b620
RM
28022013-02-11 Roland McGrath <roland@hack.frob.com>
2803
2804 * misc/sys/mman.h: Fix typo in mremap comment.
2805
550a0b89
RM
28062013-02-08 Roland McGrath <roland@hack.frob.com>
2807
2808 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2809 the '\0' terminator.
2810
a2da1673
JM
28112013-02-08 Joseph Myers <joseph@codesourcery.com>
2812
2813 [BZ #13550]
2814 * debug/segfault.c: Don't include <bp-checks.h>.
2815 * sysdeps/generic/bp-checks.h: Remove file.
2816 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2817 (__GETDENTS): Don't use CHECK_N.
2818 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2819 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2820 (__getgroups): Don't use CHECK_N.
2821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2822 (setgroups): Don't use CHECK_N.
2823 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2824 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2825 (__libc_msgrcv): Don't use CHECK_N.
2826 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2827 (__libc_msgsnd): Don't use CHECK_N.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2829 <bp-checks.h>.
2830 (__libc_pread): Don't use CHECK_N.
2831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2832 include <bp-checks.h>.
2833 (__libc_pread64): Don't use CHECK_N.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2835 include <bp-checks.h>.
2836 (__libc_pwrite): Don't use CHECK_N.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2838 include <bp-checks.h>.
2839 (__libc_pwrite64): Don't use CHECK_N.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2841 <bp-checks.h>.
2842 (__libc_pread): Don't use CHECK_N.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2844 include <bp-checks.h>.
2845 (__libc_pread64): Don't use CHECK_N.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2847 include <bp-checks.h>.
2848 (__libc_pwrite): Don't use CHECK_N.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2850 include <bp-checks.h>.
2851 (__libc_pwrite64): Don't use CHECK_N.
2852 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2853 (do_pread): Don't use CHECK_N.
2854 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2855 (do_pread64): Don't use CHECK_N.
2856 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2857 (do_pwrite): Don't use CHECK_N.
2858 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2859 (do_pwrite64): Don't use CHECK_N.
2860 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2861 (__libc_readv): Don't use CHECK_N.
2862 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2863 (semop): Don't use CHECK_N.
2864 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2865 <bp-checks.h>.
2866 (semtimedop): Don't use CHECK_N.
2867 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2868 (__libc_pread): Don't use CHECK_N.
2869 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2870 <bp-checks.h>.
2871 (__libc_pread64): Don't use CHECK_N.
2872 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2873 <bp-checks.h>.
2874 (__libc_pwrite): Don't use CHECK_N.
2875 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2876 <bp-checks.h>.
2877 (__libc_pwrite64): Don't use CHECK_N.
2878 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2879 <bp-checks.h>.
2880 (__libc_msgrcv): Don't use CHECK_N.
2881 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2882 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2883 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2884 (__libc_writev): Don't use CHECK_N.
2885
b84660a8
RM
28862013-02-08 Roland McGrath <roland@hack.frob.com>
2887
7f3e75f8
RM
2888 * string/strcpy.c: Removed unused variable.
2889
b84660a8
RM
2890 * Makeconfig (+sysdep-includes): Define with := rather than =.
2891 Use an existing include/ subdir of each sysdeps dir before it.
2892
471514d3
CD
28932013-02-08 Carlos O'Donell <carlos@redhat.com>
2894
2895 * nscd/connection.c (register_traced_file): Comment function.
2896 [HAVE_INOTIFY] (union __inev): Define.
2897 [HAVE_INOTIFY] (inotify_check_files): New function.
2898 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2899 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2900 clear_db_cache.
2901 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2902
b2d3c3be
CD
29032013-02-08 Carlos O'Donell <carlos@redhat.com>
2904
2905 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2906 loaded if not already and that a failure is permanent.
2907
b39949d2
CD
29082013-02-08 Carlos O'Donell <carlos@redhat.com>
2909
ddacd1db 2910 [BZ #15006]
b39949d2
CD
2911 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2912 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2913
b2c9eff4
JM
29142013-02-08 Joseph Myers <joseph@codesourcery.com>
2915
f3aae3f3
JM
2916 [BZ #13550]
2917 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2918 (CHECK_1_NULL_OK): Likewise.
2919 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2920 (__fxstat): Do not use CHECK_1.
2921 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2922 <bp-checks.h>.
2923 (___fxstat64): Do not use CHECK_1.
2924 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2925 <bp-checks.h>.
2926 (__fxstatat): Do not use CHECK_1.
2927 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2928 <bp-checks.h>.
2929 (__fxstatat64): Do not use CHECK_1.
2930 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2931 <bp-checks.h>.
2932 (__fxstat): Do not use CHECK_1.
2933 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2934 <bp-checks.h>.
2935 (__fxstatat): Do not use CHECK_1.
2936 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2937 <bp-checks.h>.
2938 (__getresgid): Do not use CHECK_1.
2939 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2940 <bp-checks.h>.
2941 (__getresuid): Do not use CHECK_1.
2942 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2943 <bp-checks.h>.
2944 (__lxstat): Do not use CHECK_1.
2945 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2946 <bp-checks.h>.
2947 (__old_msgctl): Do not use CHECK_1.
2948 (__new_msgctl): Likewise.
2949 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2950 <bp-checks.h>.
2951 (__new_setrlimit): Do not use CHECK_1.
2952 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2953 <bp-checks.h>.
2954 (__old_shmctl): Do not use CHECK_1.
2955 (__new_shmctl): Likewise.
2956 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2957 <bp-checks.h>.
2958 (__xstat): Do not use CHECK_1.
2959 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2960 (__lxstat): Do not use CHECK_1.
2961 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2962 <bp-checks.h>.
2963 (___lxstat64): Do not use CHECK_1.
2964 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2965 (__old_msgctl): Do not use CHECK_1.
2966 (__new_msgctl): Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2968 <bp-checks.h>.
2969 (__gettimeofday): Do not use CHECK_1.
2970 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2971 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2972 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2973 <bp-checks.h>.
2974 (__gettimeofday): Do not use CHECK_1.
2975 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2976 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2977 (__new_shmctl): Do not use CHECK_1.
2978 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2979 <bp-checks.h>.
2980 (do_sigtimedwait): Do not use CHECK_1.
2981 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2982 <bp-checks.h>.
2983 (do_sigwaitinfo): Do not use CHECK_1.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2985 <bp-checks.h>.
2986 (msgctl): Do not use CHECK_1.
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2988 <bp-checks.h>.
2989 (shmctl): Do not use CHECK_1.
2990 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2991 (ustat): Do not use CHECK_1.
2992 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2993 <bp-checks.h>.
2994 (__fxstat): Do not use CHECK_1.
2995 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2996 <bp-checks.h>.
2997 (__fxstatat): Do not use CHECK_1.
2998 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2999 <bp-checks.h>.
3000 (__lxstat): Do not use CHECK_1.
3001 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3002 <bp-checks.h>.
3003 (__xstat): Do not use CHECK_1.
3004 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3005 (__xstat): Do not use CHECK_1.
3006 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3007 (___xstat64): Do not use CHECK_1.
3008
b2c9eff4
JM
3009 [BZ #13550]
3010 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3011 definitions.
3012 (CHECK_BOUNDS_HIGH): Likewise.
3013 * string/strcpy.c: Do not include <bp-checks.h>.
3014 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3015
f1d70dad
RM
30162013-02-07 Roland McGrath <roland@hack.frob.com>
3017
3018 * nscd/nscd-client.h (__nscd_drop_map_ref):
3019 Add __attribute__ ((unused)).
3020 * nis/nss-nisplus.h (niserr2nss): Likewise.
3021
3022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3023 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3024
3025 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3026 Remove inline keyword.
3027 * include/rounding-mode.h (round_away): Likewise.
3028 * libio/wfileops.c (adjust_wide_data): Likewise.
3029 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3030 (__m128i_strloadu_tolower): Likewise.
3031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3032 (__m128i_strloadu_tolower): Likewise.
3033 * time/mktime.c (ydhms_diff): Likewise.
3034 * locale/elem-hash.h (elem_hash): Likewise.
3035 * locale/setlocale.c (setdata): Likewise.
3036 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3037 (re_string_wchar_at): Likewise.
3038 (bitset_not, bitset_merge, bitset_mask): Likewise.
3039 [!(__GNUC__ > 3)] (inline): Remove macro.
3040 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3041 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3042 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3043 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3044 * string/memcmp.c (memcmp_bytes): Likewise.
3045 * locale/programs/locarchive.c (compute_hashval): Likewise.
3046 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3047 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3048 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3049 * nss/getent.c (print_rpc, print_protocols): Likewise.
3050 (print_passwd, print_group, print_aliases): Likewise.
3051 * nis/nss-nisplus.h (niserr2nss): Likewise.
3052 * nscd/connections.c (restart_p): Likewise.
3053 Change return type to bool.
3054
eab55bfb
RM
30552013-02-05 Roland McGrath <roland@hack.frob.com>
3056
7bd642f5
RM
3057 * Makeconfig (all-Depend-files): Add existing
3058 $(sorted-subdirs:=/Depend) files.
3059 (all-subdirs): Remove nss.
3060 * sysdeps/unix/inet/Subdirs: Add it here instead.
3061 * hesiod/Depend: New file.
3062
573c29b2
RM
3063 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3064 instead of calling alloca.
3065
b2e25af0
RM
3066 * io/lseek.c (__lseek): Rename to __libc_lseek.
3067 Define __lseek as an alias.
3068
eab55bfb
RM
3069 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3070
9a0d1941
CD
30712013-02-04 Carlos O'Donell <carlos@redhat.com>
3072
3073 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3074 else clause and remove check for non-standard endianness.
3075
b83bbec4
DM
30762013-02-04 David S. Miller <davem@davemloft.net>
3077
3078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3079
6277fdab
JM
30802013-02-04 Joseph Myers <joseph@codesourcery.com>
3081
3082 [BZ #13550]
3083 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3084 (__ubp_memchr): Remove prototype.
3085 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3086 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3087 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3088 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3089 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3090 Remove alias.
3091 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3092 (__ubp_memchr): Likewise.
3093 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3094 (__ubp_memchr): Likewise.
3095 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3096 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3097 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3098 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3099 CHECK_STRING.
3100 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3101 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3102 (__getcwd): Do not use CHECK_STRING.
3103 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3104 <bp-checks.h>.
3105 (__real_chown): Do not use CHECK_STRING.
3106 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3107 <bp-checks.h>.
3108 (fchownat): Do not use CHECK_STRING.
3109 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3110 CHECK_STRING.
3111 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3112 <bp-checks.h>.
3113 (__lchown): Do not use CHECK_STRING.
3114 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3115 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3116 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3117 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3119 include <bp-checks.h>.
3120 (truncate64): Do not use CHECK_STRING.
3121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3122 <bp-checks.h>.
3123 (__real_chown): Do not use CHECK_STRING.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3125 <bp-checks.h>.
3126 (__lchown): Do not use CHECK_STRING.
3127 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3128 <bp-checks.h>.
3129 (__chown): Do not use CHECK_STRING.
3130 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3131 <bp-checks.h>.
3132 (truncate64): Do not use CHECK_STRING.
3133 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3134 Likewise.
3135 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3136 (__xmknod): Do not use CHECK_STRING.
3137 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3138 <bp-checks.h>.
3139 (__xmknodat): Do not use CHECK_STRING.
3140 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3141 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3142
903ae060
AS
31432013-02-04 Andreas Schwab <schwab@suse.de>
3144
3145 [BZ #14142]
3146 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3147 * include/netdb.h: Likewise for h_errno.
3148 * elf/tst-stackguard1.c: Include <tls.h>.
3149
542f9466
JK
31502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3151
3152 * elf/link.h (struct link_map): Extend the l_addr comment.
3153 * include/link.h (struct link_map): Likewise.
3154
e782a927
JM
31552013-02-01 Joseph Myers <joseph@codesourcery.com>
3156
3157 [BZ #13550]
3158 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3159 (BOUNDED_1): Remove macro.
3160 * debug/backtrace.c: Don't include <bp-checks.h>.
3161 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3162 (__backtrace): Likewise.
3163 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3164 <bp-checks.h>.
3165 (__backtrace): Don't use BOUNDED_1.
3166 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3167 <bp-checks.h>.
3168 (__backtrace): Don't use BOUNDED_1.
3169 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3170 (__backtrace): Don't use BOUNDED_1.
3171 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3172 (shmat): Don't use BOUNDED_N.
3173
8cf28c5e
JM
31742013-01-31 Joseph Myers <joseph@codesourcery.com>
3175
3a7ac8a0
JM
3176 [BZ #13550]
3177 * sysdeps/generic/bp-start.h: Remove file.
3178 * csu/libc-start.c: Don't include <bp-start.h>.
3179 (LIBC_START_MAIN): Set up __environ directly instead of using
3180 INIT_ARGV_and_ENVIRON.
3181 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3182 <bp-start.h>.
3183
f3499f95
JM
3184 [BZ #13550]
3185 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3186 definitions.
3187 (CHECK_FCNTL): Likewise.
3188 (CHECK_N_PAGES): Likewise.
3189
32a45bea
JM
3190 [BZ #13550]
3191 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3192 definitions.
3193 (CHECK_SIGSET_NULL_OK): Likewise.
3194 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3195 <bp-checks.h>.
3196 (sigpending): Don't use CHECK_SIGSET.
3197 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3198 <bp-checks.h>.
3199 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3200 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3201 <bp-checks.h>.
3202 (do_sigsuspend): Don't use CHECK_SIGSET.
3203 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3204 use CHECK_SIGSET.
3205 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3206 (do_sigwait): Don't use CHECK_SIGSET.
3207 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3208 use CHECK_SIGSET.
3209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3210 include <bp-checks.h>.
3211 (sigpending): Don't use CHECK_SIGSET.
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3213 include <bp-checks.h>.
3214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3215 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3216 <bp-checks.h>.
3217 (sigpending): Don't use CHECK_SIGSET.
3218 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3219 <bp-checks.h>.
3220 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3221
2e8a5c8c
JM
3222 [BZ #13550]
3223 * sysdeps/generic/bp-semctl.h: Remove file.
3224 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3225 <bp-checks.h> and <bp-semctl.h>.
3226 (__old_semctl): Don't use CHECK_SEMCTL.
3227 (__new_semctl): Likewise.
3228 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3229 and <bp-semctl.h>.
3230 (__old_semctl): Don't use CHECK_SEMCTL.
3231 (__new_semctl): Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3233 <bp-checks.h> and <bp-semctl.h>.
3234 (__old_semctl): Don't use CHECK_SEMCTL.
3235 (__new_semctl): Likewise.
3236 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3237 <bp-checks.h> and <bp-semctl.h>.
3238 (semctl): Don't use CHECK_SEMCTL.
3239
c2d54929
JM
3240 [BZ #13550]
3241 * Makerules (elide-bp-thunks): Remove variable.
3242 (elide-routines.oS): Don't use $(elide-bp-thunks).
3243 (elide-routines.os): Likewise.
3244 (elide-routines.o): Likewise.
3245 (elide-routines.op): Likewise.
3246 (elide-routines.og): Likewise.
3247 (objects): Don't use $(bp-thunks).
3248 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3249 include.
3250 (common-generated): Do not add s-proto-bp.d.
3251 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3252 (int): Likewise.
3253 (typ): Likewise.
3254 Do not generate makefile rules for bounded-pointer thunks.
3255 * sysdeps/generic/bp-thunks.h: Remove file.
3256 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3257 * sysdeps/unix/s-proto-bp.S: Likewise.
3258
8cf28c5e
JM
3259 [BZ #15062]
3260 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3261 parts of result separately when argument is not close to line from
3262 -i to i and one part of argument is small.
3263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3265 * math/libm-test.inc (cacos_test): Add more tests.
3266 (casin_test): Likewise.
3267 (casinh_test): Likewise.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3270
c4e33b8d
DM
32712013-01-31 David S. Miller <davem@davemloft.net>
3272
3273 * po/de.po: Update from translation team.
3274
3b60b421
MK
32752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3276
3277 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3278
bb931195
TS
32792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3280
b5a5da23
TS
3281 * configure.in (_AC_PROG_CC_C89): New definition.
3282 * configure: Regenerate.
3283
bb931195
TS
3284 * configure.in (AC_PROG_CPP): New definition.
3285 * configure: Regenerate.
3286
8c53a12c
JM
32872013-01-23 Joseph Myers <joseph@codesourcery.com>
3288
3289 * debug/tst-backtrace.h: New file.
3290 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3291 (ret): Remove variable.
3292 (x): Likewise.
3293 (FAIL): Remove macro.
3294 (NO_INLINE): Likewise.
3295 (fn1): Use match function instead of strstr.
3296 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3297 (ret): Remove variable.
3298 (x): Likewise.
3299 (FAIL): Remove macro.
3300 (NO_INLINE): Likewise.
3301 (fn): Use match function instead of strstr.
3302 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3303 (ret): Remove variable.
3304 (x): Likewise.
3305 (FAIL): Remove macro.
3306 (NO_INLINE): Likewise.
3307 (handle_signal): Use match function instead of strstr.
3308 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3309 (ret): Remove variable.
3310 (x): Likewise.
3311 (FAIL): Remove macro.
3312 (NO_INLINE): Likewise.
3313 (handle_signal): Use match function instead of strstr.
3314
4858fa2a
RM
33152013-01-23 Roland McGrath <roland@hack.frob.com>
3316
3317 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3318
bae8e7f5
DM
33192013-01-23 David S. Miller <davem@davemloft.net>
3320
3321 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3322 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3323 argument of CAS if possible.
3324 * sysdeps/sparc/sparc64/bits/atomic.h
3325 (__arch_compare_and_exchange_val_32_acq): Likewise.
3326 (__arch_compare_and_exchange_val_64_acq): Likewise.
3327
9cbbc4ae
PT
33282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3329
3330 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3331 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3332 Include <limits.h>.
67b3f58c 3333 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3334
5655a0b5
AC
33352013-01-23 Adam Conrad <adconrad@0c3.net>
3336
3337 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3338 (LDFLAGS-tst-array5): Likewise.
3339
052aff95
JM
33402013-01-23 Joseph Myers <joseph@codesourcery.com>
3341
3342 [BZ #15036]
3343 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3344 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3345 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3346 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3347
7c1e01aa
DM
33482013-01-21 David S. Miller <davem@davemloft.net>
3349
3350 * sysdeps/sparc/backtrace.c: New file.
3351 * sysdeps/sparc/sparc32/backtrace.h: New file.
3352 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3353 * sysdeps/sparc/sparc64/backtrace.h: New file.
3354 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3355 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3356 -funwind-tables.
3357
ab087e0a
AS
33582013-01-21 Andreas Schwab <schwab@suse.de>
3359
3360 [BZ #15020]
3361 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3362 closed its stdout.
3363
ed689c2f
AS
33642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3367 "mpa2.h".
3368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3369
31d470ac
JM
33702013-01-18 Joseph Myers <joseph@codesourcery.com>
3371 Mark Mitchell <mark@codesourcery.com>
3372 Tom de Vries <tom@codesourcery.com>
3373 Paul Pluzhnikov <ppluzhnikov@google.com>
3374
3375 * debug/tst-backtrace2.c: New file.
3376 * debug/tst-backtrace3.c: Likewise.
3377 * debug/tst-backtrace4.c: Likewise.
3378 * debug/tst-backtrace5.c: Likewise.
3379 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3380 (CFLAGS-tst-backtrace3.c): Likewise.
3381 (CFLAGS-tst-backtrace4.c): Likewise.
3382 (CFLAGS-tst-backtrace5.c): Likewise.
3383 (LDFLAGS-tst-backtrace2): Likewise.
3384 (LDFLAGS-tst-backtrace3): Likewise.
3385 (LDFLAGS-tst-backtrace4): Likewise.
3386 (LDFLAGS-tst-backtrace5): Likewise.
3387 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3388 tst-backtrace4 and tst-backtrace5.
3389
90567f30 33902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3391 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3392
3393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3394 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3396 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3398 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3399 "+r" and remove output regs list as redundant. Add explicit inline
3400 asm to specify register of return val to work around compiler codegen
3401 bug. Remove (int) cast on return value. Add return type parameter to
3402 use in macro so that this macro does not truncate return value for
3403 64-bit values.
3404 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3405 pass to INTERNAL_VSYSCALL_NCS.
3406 (INLINE_VSYSCALL): Add 'long int' as return type to
3407 INTERNAL_VSYSCALL_NCS macro invocation.
3408 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3409 INTERNAL_VSYSCALL_NCS macro invocation.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3411
d3b9ea61
SP
34122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3413
0b57daeb
SP
3414 [BZ #14496]
3415 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3416 Fix application of SIMD FP exception mask.
3417
caa99d06
SP
3418 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3419 mp_no from a power of two.
3420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3421 __mpexp_twomm1. Use __pow_mp.
3422
d3b9ea61
SP
3423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3424 multiplication.
3425
1dbaee3c
DM
34262013-01-17 David S. Miller <davem@davemloft.net>
3427
3428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3429
728d7b43
JM
34302013-01-17 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #15023]
3433 * include/complex.h: Condition contents on [!_COMPLEX_H].
3434 (__kernel_casinhf): New prototype.
3435 (__kernel_casinh): Likewise.
3436 (__kernel_casinhl): Likewise.
3437 * math/Makefile (libm_calls): Add k_casinh.
3438 * math/k_casinh.c: New file.
3439 * math/k_casinhf.c: Likewise.
3440 * math/k_casinhl.c: Likewise.
3441 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3442 finite nonzero arguments.
3443 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3444 finite nonzero arguments.
3445 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3446 finite nonzero arguments.
3447 * math/s_casinh.c: Do not include <float.h>.
3448 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3449 * math/s_casinhf.c: Do not include <float.h>.
3450 (__casinhf): Move code for finite nonzero arguments to
3451 k_casinhf.c.
3452 * math/s_casinhl.c: Do not include <float.h>.
3453 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3454 redefine.
3455 (__casinhl): Move code for finite nonzero arguments to
3456 k_casinhl.c.
3457 * math/libm-test.inc (cacos_test): Add more tests.
3458 * sysdeps/i386/fpu/libm-test-ulps: Update.
3459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460
2a26ef3a
PT
34612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3462
3463 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3464 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3465 [!HAVE_MREMAP]: Remove [defined linux] case.
3466 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3467
a897655d
SP
34682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3469
3470 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3471
881ebe89 34722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3473
3474 * elf/elf.h (R_386_SIZE32): New relocation.
3475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3476 R_386_SIZE32.
3477 (elf_machine_rela): Likewise.
3478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3479 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3480
59981e9b
JM
34812013-01-17 Joseph Myers <joseph@codesourcery.com>
3482
3483 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3484 (FP_FAST_FMA): Do not define.
3485 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3486 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3487 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3488 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3489 !_SOFT_FLOAT]: Likewise.
3490 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3491 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3492 value.
3493 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3494 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3497 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3498 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3499 file.
3500
cfa8054f
AS
35012013-01-16 Andreas Schwab <schwab@suse.de>
3502
3503 [BZ #14327]
3504 * include/stdlib.h (__mktemp): Add declaration.
3505 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3506 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3507
dd930cc5
SP
35082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3509
881ebe89
SP
3510 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3511 definitions.
3512 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3513 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3514 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3515 definitions here.
3516 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3517 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3518 definitions.
3519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3520 and ONE.
3521 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3522 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3523 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3524 definitions.
3525 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3526 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3527 definitions.
3528 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3529
dd930cc5
SP
3530 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3531
c19a9f89
DM
35322013-01-15 David S. Miller <davem@davemloft.net>
3533
1aa61767
DM
3534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3535 trunc{,f} to libm-sysdep_routes.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3538 file.
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3541 file.
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3543 file.
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3547 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3549 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3550 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3551 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3552
c42d5e98
DM
3553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3554 nearbyint{,f} to libm-sysdep_routes.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3557 New file.
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3559 file.
3560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3561 New file.
3562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3563 file.
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3566 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3567 file.
3568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3570 file.
3571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3572 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3573 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3574
c19a9f89
DM
3575 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3576 libc_feholdexcept and libc_fesetenv.
3577
357679d2
MF
35782013-01-15 Mike Frysinger <vapier@gentoo.org>
3579
3580 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3581
65a82e3d
DM
35822013-01-14 David S. Miller <davem@davemloft.net>
3583
8b954ab9
DM
3584 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3585 (SPARC_ASM_VIS2_IFUNC): Likewise.
3586 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3588 use of 'siam' instruction.
3589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3590 Likewise.
3591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3592 Likewise.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3594 Likewise.
3595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3600 file.
3601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3602 file.
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3604 file.
3605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3606 file.
3607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3612 new VIS2 routines.
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3616 Likewise.
3617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3622 routines to libm-sysdep_routines.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3624
65a82e3d
DM
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3626 fdim/fdimf to libm-sysdep_routines.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3628 file.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3631 file.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3635 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3636 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3639
e34ab705
SP
36402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3641
2a91b573
SP
3642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3643 to optimize copies.
3644
1066a534
SP
3645 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3648
e34ab705
SP
3649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3650 local variable MPTWO.
3651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3652 Likewise.
3653
aba5e596
MF
36542013-01-13 Mike Frysinger <vapier@gentoo.org>
3655
3656 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3657 GLOB_NOESCAPE.
3658
e557e9e5
MF
36592013-01-13 Mike Frysinger <vapier@gentoo.org>
3660
3661 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3662
0428cec9
MF
36632013-01-13 Mike Frysinger <vapier@gentoo.org>
3664
3665 * manual/pattern.texi (glob_t): Document gl_flags.
3666 (glob64_t): Likewise.
3667
8794a964
DM
36682013-01-11 David S. Miller <davem@davemloft.net>
3669
66438c3f
RM
3670 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3671 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3672 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3673 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3674 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3675 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3676 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3677 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3678 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3679 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3680 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3681 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3682 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3683
4ae4244d
DM
3684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3685 sparc V9 rather than using V8 code.
3686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3688
8794a964
DM
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3690 Move to...
3691 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3692 Here.
3693
6270516e
RM
36942013-01-11 Roland McGrath <roland@hack.frob.com>
3695
3696 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3697 not in the main loop.
3698 * configure: Regenerated.
3699
6a57d931
JM
37002013-01-11 Joseph Myers <joseph@codesourcery.com>
3701
3702 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3703 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3704 to just #else.
3705 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3706 [!__GLIBC_HAVE_LONG_LONG] case.
3707 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3708 condition to just #else.
3709 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3710 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3711 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3712 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3713 unconditional.
3714 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3715 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3716 #elif condition to just #else.
3717 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3718 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3719 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3720 #elif condition to just #else.
3721
0e8529e9
SE
37222013-01-11 Steve Ellcey <sellcey@mips.com>
3723
3724 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3725 (EF_MIPS_ARCH_64): Fix value.
3726 (EF_MIPS_ARCH_32R2): New.
3727 (EF_MIPS_ARCH_64R2): New.
3728
740b3dbe
L
37292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3730
3731 * Makeconfig (+link-pie-before-libc): New.
3732 (+link-pie-after-libc): Likewise.
3733 (+link-pie-tests): Likewise.
3734 (+link-pie): Rewritten.
3735 (link-before-libc): Remove $(config-LDFLAGS).
3736 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3737 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3738 (config-LDFLAGS): Renamed to ...
3739 (rtld-LDFLAGS): This.
3740 (rtld-tests-LDFLAGS): New macro.
3741 (link-libc-rpath-link): Likewise.
3742 (link-libc-tests-rpath-link): Likewise.
3743 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3744 (link-libc): Prepand $(link-libc-rpath-link).
3745 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3746 (test-program-prefix): New macro.
3747 (test-via-rtld-prefix): Likewise.
3748 (test-program-cmd): Likewise.
3749 (host-test-program-cmd): Likewise.
3750 * Makefile ($(common-objpfx)testrun.sh): Replace
3751 $(run-program-prefix) with $(test-program-prefix).
3752 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3753 $(rtld-LDFLAGS).
3754 ($(common-objpfx)shlib.lds): Likewise.
3755 (build-module-helper): Likewise.
3756 ($(common-objpfx)format.lds): Likewise.
3757 * Rules (binaries-pie-tests): New.
3758 (binaries-pie-notests): Likewise.
3759 (binaries-pie): Rewritten.
3760 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3761 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3762 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3763 (make-test-out): Replace $(host-built-program-cmd) with
3764 $(host-test-program-cmd).
3765 * config.make.in (build-hardcoded-path-in-tests): New variable.
3766 * configure.in (--enable-hardcoded-path-in-tests): New configure
3767 option.
3768 (hardcoded_path_in_tests): New AC_SUBST.
3769 * configure: Regenerated.
3770 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3771 $(built-program-cmd) with $(test-program-cmd).
3772 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3773 (test_program_cmd): This.
3774 * elf/Makefile ($(objpfx)order.out): Run test with
3775 $(test-program-prefix).
3776 ($(objpfx)order2.out): Likewise.
3777 ($(objpfx)tst-initorder.out): Likewise.
3778 ($(objpfx)tst-initorder2.out): Likewise.
3779 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3780 $(test-program-cmd).
3781 ($(objpfx)tst-array1-static.out): Likewise.
3782 ($(objpfx)tst-array2.out): Likewise.
3783 ($(objpfx)tst-array3.out): Likewise.
3784 ($(objpfx)tst-array4.out): Likewise.
3785 ($(objpfx)tst-array5.out): Likewise.
3786 ($(objpfx)tst-array5-static.out): Likewise.
3787 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3788 $(test-program-cmd).
3789 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3790 $(run-program-prefix) with $(test-program-prefix).
3791 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3792 (test_program_prefix): This.
3793 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3794 $(run-program-prefix) with $(test-program-prefix).
3795 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3796 (test_program_prefix): This.
3797 * iconvdata/tst-tables.sh: Likewise.
3798 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3799 $(run-program-prefix) with $(test-program-prefix).
3800 ($(objpfx)tst-translit.out): Likewise.
3801 ($(objpfx)tst-gettext2.out): Likewise.
3802 ($(objpfx)tst-gettext4.out): Likewise.
3803 ($(objpfx)tst-gettext6.out): Likewise.
3804 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3805 (test_program_prefix): This.
3806 * intl/tst-gettext2.sh: Likewise.
3807 * intl/tst-gettext4.sh Likewise.
3808 * intl/tst-gettext6.sh: Likewise.
3809 * intl/tst-translit.sh: Likewise.
3810 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3811 with $(test-program-cmd).
3812 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3813 $(run-program-prefix) with $(test-program-prefix).
3814 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3815 (test_program_prefix): This.
3816 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3817 $(run-program-prefix) with $(test-program-prefix).
3818 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3819 (test_program_prefix): This.
3820 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3821 * posix/Makefile ($(objpfx)globtest.out): Replace
3822 $(run-via-rtld-prefix) and $(test-wrapper) with
3823 $(test-program-prefix) and $(test-via-rtld-prefix).
3824 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3825 $(test-program-prefix).
3826 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3827 $(host-test-program-cmd).
3828 (tst-spawn-ARGS): Likewise.
3829 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3830 $(test-program-prefix).
3831 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3832 (test_via_rtld_prefix): This.
3833 (test_wrapper): Renamed to ...
3834 (test_program_prefix): This.
3835 (run_program_prefix): Replaced by test_program_prefix.
3836 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3837 (test_program_prefix): This.
3838 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3839 with $(host-test-program-cmd).
3840 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3841 $(run-program-prefix) with $(test-program-prefix).
3842 ($(objpfx)tst-printf.out): Likewise.
3843 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3844 $(test-program-cmd).
3845 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3846 (test_program_prefix): This.
3847 * stdio-common/tst-unbputc.sh: Likewise.
3848 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3849 $(run-program-prefix) with $(test-program-prefix).
3850 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3851 (test_program_prefix): This.
3852 * string/Makefile ($(objpfx)tst-svc.out): Replace
3853 $(built-program-cmd) with $(test-program-cmd).
3854
c6fe55cf
AJ
38552013-01-11 Andreas Jaeger <aj@suse.de>
3856
3857 [BZ #15003]
3858 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3859 value. Sync with Linux 3.7.
3860
9e6919c8
DM
38612013-01-10 David S. Miller <davem@davemloft.net>
3862
3863 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3864 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3865 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3866
1c9f1a02
RM
38672013-01-10 Roland McGrath <roland@hack.frob.com>
3868
3869 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3870 never set.
3871 * configure: Regenerated.
3872
b9de2dde
DM
38732013-01-10 David S. Miller <davem@davemloft.net>
3874
3875 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3876 sparc V9 rather than using V8 code.
3877 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3878 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3879
e7f68ef4
RM
38802013-01-10 Roland McGrath <roland@hack.frob.com>
3881
3882 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3883 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3884 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3885 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3886 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3887 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3888 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3889 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3890 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3891 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3892 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3893 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3894 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3895 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3896 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3897 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3898 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3899 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3900 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3901 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3902 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3903 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3904 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3905 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3906 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3907 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3908 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3909
5a47cc9c
DM
39102013-01-10 David S. Miller <davem@davemloft.net>
3911
3912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3913
4cf8f209
L
39142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3915
3916 * posix/Makefile (tests-static): New variable.
3917 (tests): Add $(tests-static).
3918 (tst-exec-static-ARGS): New variable.
3919 (tst-spawn-static-ARGS): Likewise.
3920 * posix/tst-exec-static.c: New file.
3921 * posix/tst-spawn-static.c: Likewise.
3922 * posix/tst-exec.c: Support run directly.
3923 * posix/tst-spawn.c: Likewise.
3924
fed0faa1
JM
39252013-01-10 Joseph Myers <joseph@codesourcery.com>
3926
828beb13
JM
3927 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3928 long.
3929 * math/bits/mathcalls.h (llrint): Likewise.
3930 (llround): Likewise.
3931 * stdlib/stdlib.h (struct drand48_data): Likewise.
3932 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3933 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3934 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3935 Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3937 Likewise.
3938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3939 (elf_greg_t): Likewise.
3940 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3941 (__jmp_buf): Likewise.
3942 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3943 definitions.
3944 (llrint): Likewise, for all definitions.
3945 (llrintl): Likewise.
3946
fed0faa1
JM
3947 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3948 Remove [__GNUC__] condition.
3949 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3950 condition to just [__USE_ISOC99].
3951 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3952
1a20cb20
L
39532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3954
3955 [BZ #14200]
3956 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3957 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3958 defined.
3959 (_POSIX_V6_ILP32_OFF32): Likewise.
3960 (_XBS5_ILP32_OFF32): Likewise.
3961 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3962 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3963
751b85f7
SP
39642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3965
7490eb81
SP
3966 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3967
751b85f7
SP
3968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3969 doubles __mpexp_twomm1. Adjust usage.
3970 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3971 Remove.
3972
988197f0
AS
39732013-01-10 Andreas Schwab <schwab@suse.de>
3974
3975 [BZ #14964]
3976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3977 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3978
e83d7298
DM
39792013-01-09 David S. Miller <davem@davemloft.net>
3980
034ed64b 3981 [BZ #15003]
e83d7298
DM
3982 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3983 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3984 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3985 TCP_FASTOPEN): Define.
3986 (tcp_repair_opt): New structure.
3987 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3988 enum values.
3989 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3990 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3991 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3992 (tcp_cookie_transactions): New structure.
3993
d5e0b9bd
AB
39942013-01-09 Anton Blanchard <anton@samba.org>
3995
3996 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3997 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3999 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4000
0c07e3ea
JM
40012013-01-09 Joseph Myers <joseph@codesourcery.com>
4002
4003 * include/features.h (__USE_ANSI): Remove.
4004
232f7002
RM
40052013-01-09 Roland McGrath <roland@hack.frob.com>
4006
ad98e30c
RM
4007 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4008
232f7002
RM
4009 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4010
950c99ca
SP
40112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
b5792741
SP
4013 * sysdeps/s390/fpu/libm-test-ulps: Update.
4014
47cf2278
SP
4015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4016
950c99ca
SP
4017 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4018 (__acr): Likewise.
4019 (__cpy): Likewise.
4020 (norm): Likewise.
4021 (denorm): Likewise.
4022 (__mp_dbl): Likewise.
4023 (__dbl_mp): Likewise.
4024 (add_magnitudes): Likewise.
4025 (sub_magnitudes): Likewise.
4026 (__add): Likewise.
4027 (__sub): Likewise.
4028 (__mul): Likewise.
4029 (__inv): Likewise.
4030 (__dvd): Likewise.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4032 (__acr): Likewise.
4033 (__cpy): Likewise.
4034 (norm): Likewise.
4035 (denorm): Likewise.
4036 (__mp_dbl): Likewise.
4037 (__dbl_mp): Likewise.
4038 (add_magnitudes): Likewise.
4039 (sub_magnitudes): Likewise.
4040 (__add): Likewise.
4041 (__sub): Likewise.
4042 (__mul): Likewise.
4043 (__inv): Likewise.
4044 (__dvd): Likewise.
4045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4046 (__acr): Likewise.
4047 (__cpy): Likewise.
4048 (norm): Likewise.
4049 (denorm): Likewise.
4050 (__mp_dbl): Likewise.
4051 (__dbl_mp): Likewise.
4052 (add_magnitudes): Likewise.
4053 (sub_magnitudes): Likewise.
4054 (__add): Likewise.
4055 (__sub): Likewise.
4056 (__mul): Likewise.
4057 (__inv): Likewise.
4058 (__dvd): Likewise.
4059
eede9df9
JM
40602013-01-08 Joseph Myers <joseph@codesourcery.com>
4061
4062 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4063 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4064 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4065 2 && __USE_EXTERN_INLINES]: Likewise.
4066
c40ea3d9
AJ
40672013-01-08 Andreas Jaeger <aj@suse.de>
4068
4069 [BZ# 14985]
4070 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4071 Remove.
4072 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4073 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4074
2ccdea26
AB
40752013-01-07 Anton Blanchard <anton@samba.org>
4076
4077 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4078 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4079 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4080 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4083 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4084 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4086 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4091 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4093 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4095 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4097 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4098 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4100 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4101 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4102 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4103 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4104 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4106 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4107 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4110 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4111 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4112 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4114 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4115 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4119 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4120
a9708fed
JM
41212013-01-07 Joseph Myers <joseph@codesourcery.com>
4122
375607b9
JM
4123 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4124 (__MALLOC_PMT): Likewise.
4125 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4126 [__GNUC__], only on [_LIBC].
4127 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4128 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4129 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4130 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4131 forward declaration.
4132 (realloc_hook_ini): Likewise.
4133 (memalign_hook_ini): Likewise.
4134 (__libc_memalign): Do not use __MALLOC_PMT in variable
4135 declaration.
4136 (__libc_valloc): Likewise.
4137 (__libc_pvalloc): Likewise.
4138 (__libc_calloc): Likewise.
4139 (__posix_memalign): Likewise.
4140
a9708fed
JM
4141 [BZ #14996]
4142 * math/s_casinh.c: Include <float.h>.
4143 (__casinh): Do not do computation with squaring and square root
4144 for large arguments.
4145 * math/s_casinhf.c: Include <float.h>.
4146 (__casinhf): Do not do computation with squaring and square root
4147 for large arguments.
4148 * math/s_casinhl.c: Include <float.h>.
4149 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4150 (__casinhl): Do not do computation with squaring and square root
4151 for large arguments.
4152 * math/libm-test.inc (casin_test): Add more tests.
4153 (casinh_test): Likewise.
4154 * sysdeps/i386/fpu/libm-test-ulps: Update.
4155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4156
afec409a
L
41572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4158
4159 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4160 (__x86_64_raw_data_cache_size): Likewise.
4161 (__x86_64_data_cache_size_half): Likewise.
4162 (__x86_64_raw_data_cache_size_half): Likewise.
4163 (__x86_64_shared_cache_size): Likewise.
4164 (__x86_64_raw_shared_cache_size): Likewise.
4165 (__x86_64_shared_cache_size_half): Likewise.
4166 (__x86_64_raw_shared_cache_size_half): Likewise.
4167 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4168 to ...
4169 (__x86_data_cache_size): This.
4170 (__x86_64_raw_data_cache_size): Renamed to ...
4171 (__x86_raw_data_cache_size): This.
4172 (__x86_64_data_cache_size_half): Renamed to ...
4173 (__x86_data_cache_size_half): This.
4174 (__x86_64_raw_data_cache_size_half): Renamed to ...
4175 (__x86_raw_data_cache_size_half): This.
4176 (__x86_64_shared_cache_size): Renamed to ...
4177 (__x86_shared_cache_size): This.
4178 (__x86_64_raw_shared_cache_size): Renamed to ...
4179 (__x86_raw_shared_cache_size): This.
4180 (__x86_64_shared_cache_size_half): Renamed to ...
4181 (__x86_shared_cache_size_half): This.
4182 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4183 (__x86_raw_shared_cache_size_half): This.
4184 * sysdeps/x86_64/memcpy.S: Updated.
4185 * sysdeps/x86_64/memset.S: Likewise.
4186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4189
0b3986d0
DM
41902013-01-04 David S. Miller <davem@davemloft.net>
4191
4192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4193
e47686e9
AS
41942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4195
d643bac1
AS
4196 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4197 1 to avoid redefinition warning.
4198 (__USE_GNU): Don't define.
4199 (init_signaling_nan): Protoize.
4200
e47686e9
AS
4201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4202
b18decba
SP
42032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4204
fffb407f
SP
4205 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4207 (__cpymn): Likewise.
4208 (norm): Remove commented code.
4209 (denorm): Likewise.
4210 (__mp_dbl): Likewise.
4211 (__inv): Likewise.
4212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4213 (__cpymn): Likewise.
4214 (norm): Remove commented code.
4215 (denorm): Likewise.
4216 (__mp_dbl): Likewise.
4217 (__inv): Likewise.
4218
b18decba
SP
4219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4220 mp_no value for 1.0 and 2.0.
4221 (norm): Use RADIXI instead of radixi.d.
4222 (denorm): Likewise.
4223 (__mul): Use 0.0 instead of zero.d.
4224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4225 mp_no value for 1.0 and 2.0.
4226 (norm): Use RADIXI instead of radixi.d.
4227 (denorm): Likewise.
4228 (__mul): Use 0.0 instead of zero.d.
4229
cdc1c96f
JM
42302013-01-04 Joseph Myers <joseph@codesourcery.com>
4231
4232 [BZ #14994]
4233 * math/s_casinh.c (__casinh): Reduce finite argument to first
4234 quadrant then set signs of results at the end.
4235 * math/s_casinhf.c (__casinhf): Likewise.
4236 * math/s_casinhl.c (__casinhl): Likewise.
4237 * math/libm-test.inc (casin_test): Add more tests.
4238 (casinh_test): Likewise.
4239 * sysdeps/i386/fpu/libm-test-ulps: Update.
4240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241
302913e1
SP
42422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4243
6420d207
SP
4244 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4245
a9e48ab4
SP
4246 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4247
b7837264
SP
4248 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4249 declarations.
4250 (denorm): Likewise.
4251 (__mp_dbl): Likewise.
4252 (__inv): Likewise.
4253
f8af25d2
SP
4254 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4255 and adjust the header comment.
4256
302913e1
SP
4257 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4258 variable name from declaration.
4259
5d7dd1ca
L
42602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4261
4262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4263 Initialize COMMON_CPUID_INDEX_7 element.
4264 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4265 (CPUID_RTM): Likewise.
4266 (HAS_RTM): Likewise.
4267 (COMMON_CPUID_INDEX_7): New enum.
4268
2f5f40f4
AS
42692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 [BZ #14981]
4272 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4273 size is zero, record memory as freed.
4274
4056f4a0
AJ
42752013-01-03 Andreas Jaeger <aj@suse.de>
4276
4277 * po/ia.po: Add new Interlingua translation.
4278
ab15736f 42792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4280
4281 * locale/programs/localedef.c: Fix description of '--posix' flag.
4282
568035b7
JM
42832013-01-02 Joseph Myers <joseph@codesourcery.com>
4284
e6898b8d
JM
4285 * NEWS: Update dates in second copyright notice.
4286 * README: Update copyright dates in example.
4287 * manual/libc.texinfo: Update copyright dates.
4288 * scripts/test-installation.pl: Update copyright date in --version
4289 output.
4290
0e2f9562
JM
4291 * hurd/ctty-input.c: Fix copyright notice formatting.
4292 * hurd/ctty-output.c: Likewise.
4293 * hurd/dtable.c: Likewise.
4294 * hurd/hurd-raise.c: Likewise.
4295 * hurd/hurdprio.c: Likewise.
4296 * hurd/msgportdemux.c: Likewise.
4297 * misc/sys/file.h: Likewise.
4298 * misc/sys/ioctl.h: Likewise.
4299 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4300 * sysdeps/mach/hurd/chdir.c: Likewise.
4301 * sysdeps/mach/hurd/fchdir.c: Likewise.
4302 * sysdeps/mach/hurd/rename.c: Likewise.
4303 * sysdeps/mach/hurd/rmdir.c: Likewise.
4304 * sysdeps/mach/hurd/seekdir.c: Likewise.
4305 * sysdeps/mach/hurd/setsid.c: Likewise.
4306 * sysdeps/posix/wait3.c: Likewise.
4307
568035b7
JM
4308 * All files with FSF copyright notices: Update copyright dates
4309 using scripts/update-copyrights.
4310 * intl/plural.c: Regenerated.
4311 * locale/programs/charmap-kw.h: Likewise.
4312 * locale/programs/locfile-kw.h: Likewise.
4313
da08f647
SP
43142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4315
0f5477af
SP
4316 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4317 four values.
4318
44e0d4c2
SP
4319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4320 calculation loop and add branch prediction.
4321
4d55b4e5
SP
4322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4323 check access beyond bounds of m1np.
4324
da08f647
SP
4325 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4326 MPTWO.
4327 (__inv): Remove local variable MPTWO to use the global
4328 constant.
4329 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4331 variable MPTWO.
4332 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4333 MP3HALFS static const.
4334
8e051029
DM
43352013-01-01 David S. Miller <davem@davemloft.net>
4336
4337 * po/ca.po: Update from translation team.
4338
f4cf5f2d
JM
43392013-01-01 Joseph Myers <joseph@codesourcery.com>
4340
4341 * scripts/update-copyrights: New file.
4342 * Makeconfig: Reformat copyright notice.
4343 * ctype/ctype.h: Likewise.
4344 * debug/swprintf_chk.c: Likewise.
4345 * elf/dl-cache.c: Likewise.
4346 * elf/dl-debug.c: Likewise.
4347 * elf/dl-object.c: Likewise.
4348 * grp/initgroups.c: Likewise.
4349 * hurd/Makefile: Likewise.
4350 * hurd/hurd/signal.h: Likewise.
4351 * hurd/hurdfault.c: Likewise.
4352 * hurd/hurdioctl.c: Likewise.
4353 * hurd/hurdlookup.c: Likewise.
4354 * hurd/intr-msg.c: Likewise.
4355 * iconv/gconv_open.c: Likewise.
4356 * libio/swprintf.c: Likewise.
4357 * locale/lc-ctype.c: Likewise.
4358 * locale/nl_langinfo.c: Likewise.
4359 * mach/Machrules: Likewise.
4360 * mach/Makefile: Likewise.
4361 * malloc/obstack.h: Likewise.
4362 * manual/Makefile: Likewise.
4363 * manual/tsort.awk: Likewise.
4364 * misc/bits/stab.def: Likewise.
4365 * nis/nis_print_group_entry.c: Likewise.
4366 * nis/nis_table.c: Likewise.
4367 * nis/nss_compat/compat-pwd.c: Likewise.
4368 * nis/nss_compat/compat-spwd.c: Likewise.
4369 * po/Makefile: Likewise.
4370 * posix/fnmatch.c: Likewise.
4371 * posix/regex.h: Likewise.
4372 * resolv/Makefile: Likewise.
4373 * resolv/nss_dns/dns-network.c: Likewise.
4374 * resolv/res_hconf.c: Likewise.
4375 * scripts/gen-sorted.awk: Likewise.
4376 * soft-fp/soft-fp.h: Likewise.
4377 * stdio-common/printf.h: Likewise.
4378 * stdlib/monetary.h: Likewise.
4379 * stdlib/random.c: Likewise.
4380 * stdlib/random_r.c: Likewise.
4381 * sysdeps/generic/Makefile: Likewise.
4382 * sysdeps/gnu/Makefile: Likewise.
4383 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4395 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4396 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4411 * sysdeps/mach/hurd/errnos.awk: Likewise.
4412 * sysdeps/mach/hurd/fork.c: Likewise.
4413 * sysdeps/mach/hurd/getcwd.c: Likewise.
4414 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4415 * sysdeps/mach/hurd/mmap.c: Likewise.
4416 * sysdeps/mach/hurd/utimes.c: Likewise.
4417 * sysdeps/mach/hurd/xmknod.c: Likewise.
4418 * sysdeps/posix/profil.c: Likewise.
4419 * sysdeps/posix/readdir_r.c: Likewise.
4420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4421 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4422 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4423 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4426 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4427 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4431 * sysdeps/pthread/lio_listio.c: Likewise.
4432 * sysdeps/sparc/dl-procinfo.h: Likewise.
4433 * sysdeps/unix/i386/sysdep.S: Likewise.
4434 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4435 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4436 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4437 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4439 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4440 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4441 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4442 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4443 * sysdeps/wordsize-32/divdi3.c: Likewise.
4444 * time/sys/time.h: Likewise.
4445 * wcsmbs/Makefile: Likewise.
4446
0549fbba
DM
44472013-01-01 David S. Miller <davem@davemloft.net>
4448
a141f1a7
DM
4449 * po/fr.po: Update from translation team.
4450
0549fbba
DM
4451 * catgets/gencat.c: Update copyright year.
4452 * csu/version.c: Likewise.
4453 * debug/catchsegv.sh: Likewise.
4454 * debug/pcprofiledump.c: Likewise.
4455 * debug/xtrace.sh: Likewise.
4456 * elf/ldconfig.c: Likewise.
4457 * elf/ldd.bash.in: Likewise.
4458 * elf/pldd.c: Likewise.
4459 * elf/sotruss.ksh: Likewise.
4460 * elf/sprof.c: Likewise.
4461 * iconv/iconv_prog.c: Likewise.
4462 * iconv/iconvconfig.c: Likewise.
4463 * locale/programs/locale.c: Likewise.
4464 * locale/programs/localedef.c: Likewise.
4465 * login/programs/pt_chown.c: Likewise.
4466 * malloc/memusage.sh: Likewise.
4467 * malloc/memusagestat.c: Likewise.
4468 * malloc/mtrace.pl: Likewise.
4469 * nscd/nscd.c: Likewise.
4470 * nss/getent.c: Likewise.
4471 * nss/makedb.c: Likewise.
4472 * posix/getconf.c: Likewise.
4473
18ea052c
SP
44742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4475
4476 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4477 numbers.
4478
9c89fca6
MF
44792012-12-30 Mike Frysinger <vapier@gentoo.org>
4480
4481 * math/bits/mathcalls.h (modf): Use __nonnull.
4482
085ec079
SP
44832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4484
4485 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4486 (split): Use macro CN instead of the bare value.
4487 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4488 could be used.
4489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4490 instead of the bare value.
4491 (power1): Likewise.
4492
6d9f97e1
SP
44932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
d63f73be
SP
4495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4496 __ATAN_TWOM.
4497 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4498
6d9f97e1
SP
4499 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4500 their values.
4501 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4502 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4503 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4504 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4505
4c4febf5
AJ
45062012-12-28 Andreas Jaeger <aj@suse.de>
4507
af5843ef
AJ
4508 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4509 values are from Linux 3.7.
4510
4c4febf5
AJ
4511 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4512 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4513
99136f82
SP
45142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4515
2f216c3c 4516 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4517 TRUE case.
4518
99136f82
SP
4519 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4520 (norm): Likewise.
4521 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4522 variables with preprocessor constants.
4523 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4524 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4525 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4526
7fffbdff
BH
45272012-12-27 Bruno Haible <bruno@clisp.org>
4528
4529 [BZ #14317]
4530 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4531 only if needed.
4532
b76eb5f0
SP
45332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4534
31a7fe5c
SP
4535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4536 and use variable directly.
4537 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4538
b76eb5f0
SP
4539 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4540 MPONE.
4541 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4543 variable MPONE.
4544 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4546 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4547 include directive. Remove local variable MPONE.
4548 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4551
2c8bfe7d
DM
45522012-12-25 David S. Miller <davem@davemloft.net>
4553
4554 * version.h (RELEASE): Set to "development".
4555 (VERSION): Set to "2.17.90".
4556 * NEWS: Add 2.18 section.
4557
147d03b0
DM
45582012-12-21 David S. Miller <davem@davemloft.net>
4559
4560 * po/hr.po: Update from translation team.
4561
a8ebb2b9
AK
45622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4563
4564 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4565
95b4f1b6
SE
45662012-12-19 Steve Ellcey <sellcey@mips.com>
4567
b2d94007 4568 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4569
cedb2a90
MS
45702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4571
4572 * manual/contrib.texi (Contributors): Spelling correction.
4573
bbf527d6
DM
45742012-12-15 David S. Miller <davem@davemloft.net>
4575
4576 * po/ru.po: Update from translation team.
4577
bc38c906
DM
45782012-12-13 David S. Miller <davem@davemloft.net>
4579
85429b1a
DM
4580 * NEWS: Mention IFUNC testsuite enhancements.
4581
d283e353
DM
4582 * po/pl.po: Update from translation team.
4583 * po/bg.po: Likewise.
4584
bc38c906
DM
4585 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4586 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4587
a181b0d7
DM
45882012-12-11 David S. Miller <davem@davemloft.net>
4589
4641d57e
DM
4590 * po/sv.po: Update from translation team.
4591
f7bc6495
DM
4592 * po/vi.po: Update from translation team.
4593
6fc9048f
DM
4594 * po/cs.po: Update from translation team.
4595
a181b0d7
DM
4596 * po/de.po: Update from translation team.
4597 * po/eo.po: Likewise.
4598 * po/nl.po: Likewise.
4599
f70bfe80
SP
46002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4601
3c8b4190
SP
4602 [BZ #14246]
4603 * manual/argp.texi (Argp Helper Functions): Move node to follow
4604 Argp Parsing State.
4605
f70bfe80
SP
4606 [BZ #14872]
4607 * manual/conf.texi (Limits on File System Capacity): Mention if
4608 terminating null is included in the max size.
4609
188f0adf
AJ
46102012-12-10 Andreas Jaeger <aj@suse.de>
4611
4612 * po/cs.po: Update from translation team.
4613
56e7d3ad
SP
46142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
4616 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4617 void pointer and cast to uintptr_t.
4618 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4619 path.
4620 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4621 * sysdeps/s390/s390-64/memset.S: Likewise.
4622
76f2d2ea 46232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4624
4625 [BZ #14833]
4626 * menual/message.texi (Message Translation): Fix typos.
4627 (Helper programs for gettext): Likewise.
4628
67cbf9a2
AS
46292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4630
4631 [BZ #14898]
4632 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4633 Change to -1.
4634
682d0e9a
DM
46352012-12-07 David S. Miller <davem@davemloft.net>
4636
4637 * po/libc.pot: Update.
4638
573cd484
RH
46392012-12-07 Richard Henderson <rth@redhat.com>
4640
7e9da188 4641 [BZ #10114]
573cd484
RH
4642 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4643 normal/normal case to before the switch.
4644 (_FP_DIV): Likewise.
4645
e933a943
MF
46462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4647 Mike Frysinger <vapier@gentoo.org>
4648
4649 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4650 check for __NR_fadvise64_64.
4651
82123268
CM
46522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4653
4654 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4655 0, not just to plain "0" as a statement.
4656 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4657 with cw.
4658
d9814526
JM
46592012-12-06 Joseph Myers <joseph@codesourcery.com>
4660
4661 * NEWS: Use sourceware.org in Bugzilla URL.
4662
7728c574
SP
46632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4664
f16946dd
SP
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4666 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4667
5704bbcb
SP
4668 * stdio-common/tst-put-error.c (do_test): Add newline to the
4669 padded test to ensure flush.
4670
17aa0516
JL
46712012-12-05 Jeff Law <law@redhat.com>
4672
4673 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4674
363313b5
JM
46752012-12-05 Joseph Myers <joseph@codesourcery.com>
4676
effbd42a
JM
4677 * README: Don't refer to ports add-on as distributed separately.
4678 Mention AArch64 in list of systems supported in the ports add-on.
4679
87600365
JM
4680 * LICENSES: Add more non-FSF copyright and license notices.
4681
a0d7066a
JM
4682 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4683 ((unused)).
4684
66ca5a5b
JM
4685 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4686
363313b5
JM
4687 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4688 10000 as width of padded output.
4689
b37984ad
JM
46902012-12-04 Joseph Myers <joseph@codesourcery.com>
4691
9003570a
JM
4692 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4693
b37984ad
JM
4694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4695 variable LX with __attribute__ ((unused)).
4696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4697 Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4701 with __attribute__ ((unused)).
4702
c8df52ec
DM
47032012-12-04 David S. Miller <davem@abraco.davemloft.net>
4704
4705 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4706
b3b099af
JM
47072012-12-04 Joseph Myers <joseph@codesourcery.com>
4708
c33aa6e3
JM
4709 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4710 (CFLAGS-nldbl-acos.c): New variable.
4711 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4712 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4713 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4714 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4715 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4716 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4717 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4718 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4719 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4724 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4725 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4726 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4727 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4728 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4729 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4730 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4731 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4732 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4733 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4734 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4735 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4736 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4737 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4738 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4739 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4740 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4741 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4742 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4743 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4751 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4752 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4753 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4754 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4755 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4756 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4757 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4758 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4759 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4760 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4761 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4762 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4763 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4764 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4765 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4766 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4767 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4768 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4769 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4770 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4771 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4772 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4773 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4774 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4775 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4776 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4777 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4778 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4779 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4780 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4781 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4782 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4783 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4784 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4785 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4786 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4787 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4788 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4789 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4790 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4791 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4792 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4793 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4794 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4795 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4796 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4797 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4798 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4799 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4800 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4801 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4802 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4803 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4804 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4805 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4806 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4807 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4808
20f0018d
JM
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4810 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4811
b3b099af
JM
4812 [BZ #14914]
4813 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4814 whole low double instead of just low 47 bits when splitting values
4815 into two parts.
4816
029264d1
AM
48172012-12-03 Allan McRae <allan@archlinux.org>
4818
4819 * manual/stdio.texi (Predefined Printf Handlers): Remove
4820 @hsep and @vsep usage.
4821
c9d6789e
MF
48222012-12-03 Mike Frysinger <vapier@gentoo.org>
4823
4824 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4825 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4826
4b7634a5
JL
48272012-12-03 Jeff Law <law@redhat.com>
4828
4829 * time/sys/time.h (settimeofday): Do not mark TV argument
4830 as __nonnull.
4831
eb6cbd24
MF
48322012-12-01 Mike Frysinger <vapier@gentoo.org>
4833
4834 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4835 when currently writing and seek to current position when not.
4836 * libio/Makefile (tests): Remove bug-fclose1.
4837 * libio/bug-fclose1.c: Delete.
4838
f638872a
JM
48392012-12-01 Joseph Myers <joseph@codesourcery.com>
4840
4841 * manual/arith.texi (feenableexcept): Fix typo.
4842 (fedisableexcept): Likewise.
4843
48085d14
RM
48442012-11-30 Roland McGrath <roland@hack.frob.com>
4845
4846 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4847 second, differently-typed declaration, rather than a cast.
4848
1a538b9f
SP
48492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
4851 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4852 * include/rpc/svc.h: ... here.
4853
d07f2ff1 48542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4855
4856 [BZ #13013]
4857 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4858 depending n and resplen2 to catch cases where answer
4859 equals answerp2.
4860
c93ec1f0
CD
48612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4862
4863 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4864 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4865
37db69de
MF
48662012-11-29 Mike Frysinger <vapier@gentoo.org>
4867
4868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4869
e10c4e4f
RM
48702012-11-29 Roland McGrath <roland@hack.frob.com>
4871
4872 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4873
2af1b328
JL
48742012-11-28 Jeff Law <law@redhat.com>
4875
4876 [BZ #13761]
4877 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4878 dataset_temporary. Track alloca usage into alloca_used.
4879 If dataset is large allocate and release it via malloc/free.
4880
111db5b1
FW
48812012-06-04 Florian Weimer <fweimer@redhat.com>
4882
f06cc227 4883 [BZ #14197]
111db5b1
FW
4884 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4885
dd694abd
DM
48862012-11-28 David S. Miller <davem@davemloft.net>
4887
4888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4889
9984dd01
JM
48902012-11-28 Joseph Myers <joseph@codesourcery.com>
4891
4892 [BZ #14803]
4893 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4894 of pi/2 rounded to nearest to 64 bits.
4895 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4896 nearest to 64 bits.
4897 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4898 bits.
4899
14bc93a9
JL
49002012-11-28 Jeff Law <law@redhat.com>
4901 Martin Osvald <mosvald@redhat.com>
4902
4903 [BZ #14889]
4904 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4905 * sunrpc/svc.c: Include time.h.
4906 (__svc_accept_failed): New function.
4907 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4908 any reason other than EINTR, call __svc_accept_failed.
4909 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4910 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4911
e3c6aa3a
AS
49122012-11-28 Andreas Schwab <schwab@suse.de>
4913
4914 * scripts/abilist.awk: Also handle indirect functions in .opd
4915 section.
4916
1bead169
JM
49172012-11-28 Joseph Myers <joseph@codesourcery.com>
4918
4919 [BZ #13881]
4920 * sysdeps/x86/fpu/powl_helper.c: New file.
4921 * sysdeps/x86/fpu/Makefile: Likewise.
4922 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4923 (p3): New object.
4924 (__ieee754_powl): Use __powl_helper for finite arguments except
4925 integer exponents below 8.
4926 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4927 (p3): New object.
4928 (__ieee754_powl): Use __powl_helper for finite arguments except
4929 integer exponents below 8.
4930 * math/libm-test.inc (pow_test): Add more tests and enable some
4931 previously disabled tests.
4932 * sysdeps/i386/fpu/libm-test-ulps: Update.
4933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4934
0817d63d
SP
49352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4936 Carlos O'Donell <carlos_odonell@mentor.com>
4937
4938 * nss/makedb.c (is_prime): Assert that input is odd and greater
4939 than 4. Note that fact in a comment too.
4940 (next_prime): Add 4 to input.
4941
de2fd463
SP
49422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4943
4944 [BZ #11741]
4945 * libio/Makefile (tests): Add test case tst-fwrite-error.
4946 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4947 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4948 * libio/tst-fwrite-error.c: New test case.
4949
c515fb51
L
49502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4951
4952 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4953 before casting to void *.
4954 * include/libc-internal.h (__pointer_type): New macro.
4955 (__integer_if_pointer_type_sub): Likewise.
4956 (__integer_if_pointer_type): Likewise.
4957 (cast_to_integer): Likewise.
4958 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4959 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4960 before casting to atomic64_t.
4961 (atomic_exchange_acq): Likewise.
4962 (__arch_exchange_and_add_body): Likewise.
4963 (__arch_add_body): Likewise.
4964 (atomic_add_negative): Likewise.
4965 (atomic_add_zero): Likewise.
4966
4cf77aa9
JM
49672012-11-26 Joseph Myers <joseph@codesourcery.com>
4968
4969 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4970 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4971 (add_fdes): Likewise.
4972 (linear_search_fdes): Likewise.
4973 (binary_search_unencoded_fdes): Likewise.
4974
d260b3b4
AS
49752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4976
4977 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4978
67060746
AC
49792012-11-24 Adam Conrad <adconrad@0c3.net>
4980
4981 * configure.in: Autodetect C++ header directories.
4982 * configure: Regenerated.
4983
800938a1
MF
49842012-11-23 Mike Frysinger <vapier@gentoo.org>
4985
4986 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4987
4e6e34e6
AS
49882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4989
4990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4991
7c7feb47
JM
49922012-11-22 Joseph Myers <joseph@codesourcery.com>
4993
7184dcdf
JM
4994 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4995 LDBL_MANT_DIG == 106]: Disable some tests.
4996 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4997 Likewise.
4998 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4999 Likewise.
5000
0a42601f
JM
5001 [BZ #14871]
5002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5003 input for small inputs. Return +/- pi/2 for large inputs.
5004 * math/libm-test.inc (atan_test): Add more tests.
5005
79c9b9fe
JM
5006 * sysdeps/generic/unwind-dw2-fde-glibc.c
5007 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5008 __attribute__ ((unused)).
5009
c60d3bf2
JM
5010 [BZ #14645]
5011 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5012 x * y if x and y are nonzero and z is zero.
5013
ef1e0867
JM
5014 [BZ #14811]
5015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5016 nonzero exponents with absolute value below 0x1p-117 to +/-
5017 0x1p-117.
5018
1468ded3
JM
5019 [BZ #14869]
5020 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5021 up arguments below 2**-450, not just those below 2**-500.
5022 * math/libm-test.inc (hypot_test): Add another test.
5023
8e27e3cc
JM
5024 [BZ #14868]
5025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5026 Return a+b for ratio over 2**120, not 2**60.
5027 * math/libm-test.inc (hypot_test): Add another test.
5028
c9c0279b
JM
5029 * math/libm-test.inc (clog_test): Use
5030 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5031 (clog10_test): Likewise.
5032
7c7feb47
JM
5033 [BZ #6778]
5034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5035
fff1530e
AS
50362012-11-22 Andreas Schwab <schwab@suse.de>
5037
5038 * sysdeps/i386/fpu/libm-test-ulps: Update.
5039
94558d30
PT
50402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5041
5042 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5043 printf output with newline.
5044
7e1be741
L
50452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5046
6bfea974
L
5047 [BZ #14865]
5048 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5049 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5050 -z nodlopen, -z initfirst and -z execstack support.
5051 * configure: Regenerated.
5052
7e1be741
L
5053 * elf/elf.h (DF_1_NODIRECT): New macro.
5054 (DF_1_IGNMULDEF): Likewise.
5055 (DF_1_NOKSYMS): Likewise.
5056 (DF_1_NOHDR): Likewise.
5057 (DF_1_EDITED): Likewise.
5058 (DF_1_NORELOC): Likewise.
5059 (DF_1_SYMINTPOSE): Likewise.
5060 (DF_1_GLOBAUDIT): Likewise.
5061 (DF_1_SINGLETON): Likewise.
5062 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5063 DT_1_SUPPORTED_MASK bits.
5064 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5065
105ce2ce
CD
50662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5067
5068 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5069
123be9de
TS
50702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5071
d072f3f7
TS
5072 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5073 macro.
5074
123be9de
TS
5075 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5076 (sendmmsg): Move declarations...
5077 * socket/sys/socket.h: ... here.
5078 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5079 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5080 include it from...
5081 * socket/recvmmsg.c: ... this new file.
5082 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5083 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5084 definition of __sendmmsg hidden.
5085 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5086 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5087 Move ENOSYS stub into and include it from...
5088 * socket/sendmmsg.c: ... this new file.
5089 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5090 (sysdep_routines): Move recvmmsg and sendmmsg...
5091 * socket/Makefile (routines): ... here.
5092 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5093 (GLIBC_PRIVATE): Add __sendmmsg.
5094 * include/sys/socket.h (__sendmmsg): Add declarations.
5095 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5096 sendmmsg.
5097
cf9a5d18
JM
50982012-11-20 Joseph Myers <joseph@codesourcery.com>
5099
5100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5101 variable I1 with __attribute__ ((unused)).
5102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5103
ecd4caf9
JM
51042012-11-19 Joseph Myers <joseph@codesourcery.com>
5105
be14d48f
JM
5106 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5107 DUMMY variables with __attribute__ ((unused)).
5108
ecd4caf9
JM
5109 * bits/byteswap.h: Include <bits/types.h>.
5110 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5111
986cab95
PT
51122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5113
5114 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5115 string_t. Do not manually set errno.
5116 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5117 length with __strnlen. Make sure to both set errno and return it on
5118 failure.
5119
6d33cc9d
DM
51202012-11-19 David S. Miller <davem@davemloft.net>
5121
5122 With help from Joseph Myers.
5123 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5124 very large arguments properly.
5125 * math/libm-test.inc (atan_test): New tests.
5126 (atan2_test): New tests.
5127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5129
ee663277
JM
51302012-11-19 Joseph Myers <joseph@codesourcery.com>
5131
877f2d8e
JM
5132 [BZ #14856]
5133 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5134 Define to 3.
5135
116fc08a
JM
5136 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5137 [POSIX] (EADDRNOTAVAIL): Likewise.
5138 [POSIX] (EAFNOSUPPORT): Likewise.
5139 [POSIX] (EALREADY): Likewise.
5140 [POSIX] (ECONNABORTED): Likewise.
5141 [POSIX] (ECONNREFUSED): Likewise.
5142 [POSIX] (ECONNRESET): Likewise.
5143 [POSIX] (EDESTADDRREQ): Likewise.
5144 [POSIX] (EDQUOT): Likewise.
5145 [POSIX] (EHOSTUNREACH): Likewise.
5146 [POSIX] (EIDRM): Likewise.
5147 [POSIX] (EISCONN): Likewise.
5148 [POSIX] (ELOOP): Likewise.
5149 [POSIX] (EMULTIHOP): Likewise.
5150 [POSIX] (ENETDOWN): Likewise.
5151 [POSIX] (ENETUNREACH): Likewise.
5152 [POSIX] (ENOBUFS): Likewise.
5153 [POSIX] (ENODATA): Likewise.
5154 [POSIX] (ENOLINK): Likewise.
5155 [POSIX] (ENOMSG): Likewise.
5156 [POSIX] (ENOPROTOOPT): Likewise.
5157 [POSIX] (ENOSR): Likewise.
5158 [POSIX] (ENOSTR): Likewise.
5159 [POSIX] (ENOTCONN): Likewise.
5160 [POSIX] (ENOTSOCK): Likewise.
5161 [POSIX] (EOPNOTSUPP): Likewise.
5162 [POSIX] (EOVERFLOW): Likewise.
5163 [POSIX] (EPROTO): Likewise.
5164 [POSIX] (EPROTONOSUPPORT): Likewise.
5165 [POSIX] (EPROTOTYPE): Likewise.
5166 [POSIX] (ESTALE): Likewise.
5167 [POSIX] (ETIME): Likewise.
5168 [POSIX] (ETXTBSY): Likewise.
5169 [POSIX] (EWOULDBLOCK): Likewise.
5170 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5171 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5172 [POSIX] (SEEK_CUR): Likewise.
5173 [POSIX] (SEEK_END): Likewise.
5174 [POSIX || UNIX98] (mode_t): Do not require.
5175 [POSIX] (off_t): Likewise.
5176 [POSIX] (pid_t): Likewise.
5177 [POSIX] (sys/stat.h): Do not allow header.
5178 [POSIX] (unistd.h): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5180 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5182 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5183 require.
5184 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5185 sigevent): Specify elements.
5186 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5187 entry.
5188 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5189 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5190
a483863f
JM
5191 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5192 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5193 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5194 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5195 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5196 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5197 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5198 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5199 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5200 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5201 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5202 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5203 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5204 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5205 Likewise.
5206 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5207 Likewise.
5208 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5209 Likewise.
5210 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5211 Likewise.
5212 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5213 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5215 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5216 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5217 Specify lower bound on value.
5218 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5219 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5220 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5221 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5222 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5224 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5225 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5226 value.
5227 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5228 as optional.
5229 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5231 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5232 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5233 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5234 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5235 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5236 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5237 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5238 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5239 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5240 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5241 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5242 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5243 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5244 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5245 entry.
5246 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5247 optional.
5248 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5249 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5250 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5251 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5252 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5253 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5254 Likewise.
5255 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5257 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5258 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5259 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5260 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5261 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5262 as optional.
5263 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5265 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5266 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5267 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5268 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5269 specify as optional.
5270 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5272 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5273 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5274 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5275 [XPG3] (NL_LANGMAX): Likewise.
5276 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5277 [POSIX || XPG3] (NL_NMAX): Likewise.
5278 [POSIX || XPG3] (NL_SETMAX): Likewise.
5279 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5280 [XPG3] (NZERO): Likewise.
5281 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5282 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5283 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5284 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5285 (REG_ERANGE): Expect.
5286 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5287 optional-constant.
5288 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5289 Use (void) in prototype.
5290 [POSIX] (*_t): Allow.
5291 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5292 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5293 (WRDE_BADVAL): Expect.
5294
5ba924e3
JM
5295 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5296 expect.
5297 [XPG3 || XPG4] (O_RSYNC): Likewise.
5298 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5299 Likewise.
5300 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5301 [XPG3 || XPG4] (sigqueue): Likewise.
5302 [XPG3 || XPG4] (sigtimedwait): Likewise.
5303 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5304 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5305 [XPG3 || XPG4] (vsnprintf): Likewise.
5306 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5307 Likewise.
5308 [XPG3 || XPG4] (blksize_t): Likewise.
5309 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5310 Likewise.
5311 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5312 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5313 [XPG3 || XPG4] (struct itimerspec): Likewise.
5314 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5315 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5316 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5317 [XPG3 || XPG4] (clockid_t): Likewise.
5318 [XPG3 || XPG4] (timer_t): Likewise.
5319 [XPG3 || XPG4] (clock_getres): Likewise.
5320 [XPG3 || XPG4] (clock_gettime): Likewise.
5321 [XPG3 || XPG4] (clock_settime): Likewise.
5322 [XPG3 || XPG4] (nanosleep): Likewise.
5323 [XPG3 || XPG4] (timer_create): Likewise.
5324 [XPG3 || XPG4] (timer_delete): Likewise.
5325 [XPG3 || XPG4] (timer_gettime): Likewise.
5326 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5327 [XPG3 || XPG4] (timer_settime): Likewise.
5328 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5329 [XPG3 || XPG4] (getlogin_r): Likewise.
5330 [XPG3 || XPG4] (pread): Likewise.
5331 [XPG3 || XPG4] (pthread_atfork): Likewise.
5332 [XPG3 || XPG4] (pwrite): Likewise.
5333
ee663277
JM
5334 [BZ #14835]
5335 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5336 <bits/siginfo.h>.
5337
942caa16
PT
53382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5339
e19af380
PT
5340 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5341 finalizing MALLSTREAM.
5342
942caa16
PT
5343 * sysdeps/mach/hurd/syncfs.c: New file.
5344
cfde9b46
SP
53452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
5347 [BZ #14719]
5348 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5349 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5350 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5351 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5352 (_nss_dns_gethostbyname4_r): Likewise.
5353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5354 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5355
f6da27e5
PH
53562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5357
5358 [BZ #13763]
5359 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5360
6665d4a2
SM
53612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5362
1f51ee92
SM
5363 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5364 * elf/cache.c (print_entry): Print ",AArch64" for
5365 FLAG_AARCH64_LIB64
5366
6665d4a2
SM
5367 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5368 * elf/cache.c (print_entry): Print ",hard-float" for
5369 FLAG_ARM_LIBHF.
5370
05b227bd
DM
53712012-11-18 David S. Miller <davem@davemloft.net>
5372
5373 With help from Joseph Myers.
5374 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5375 cutoff to 2**-13.
5376 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5377 cutoff to 2**-25.
5378 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5379 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5380 small.
5381 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5382 * math/libm-test.inc (y0_test): New tests.
5383 (y1_test): New tests.
5384 * sysdeps/i386/fpu/libm-test-ulps: Update.
5385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5387
786b0b67
AS
53882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5389
5390 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5391 64-bit targets.
5392 * configure: Regenerated.
5393
8e18b86d
DM
53942012-11-17 David S. Miller <davem@davemloft.net>
5395
5396 [BZ #14811]
5397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5398 nonzero exponents with absolute value below 0x1p-128 to +/-
5399 0x1p-128.
5400
531f1ae0
JM
54012012-11-17 Joseph Myers <joseph@codesourcery.com>
5402
12df29e2
JM
5403 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5404
150dc1a0
JM
5405 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5406
531f1ae0
JM
5407 * posix/getconf-speclist.c: New file.
5408 * posix/posix-envs.def: Likewise.
5409 * posix/confstr.c (START_ENV_GROUP): New macro.
5410 (END_ENV_GROUP): Likewise.
5411 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5412 (KNOWN_PRESENT_ENV_STRING): Likewise.
5413 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5414 (UNKNOWN_ENVIRONMENT): Likewise.
5415 (confstr): Include posix-envs.def instead of handling
5416 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5417 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5418 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5419 (END_ENV_GROUP): Likewise.
5420 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5421 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5422 (UNKNOWN_ENVIRONMENT): Likewise.
5423 (__sysconf): Include posix-envs.def instead of handling associated
5424 cases directly here.
5425 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5426 preprocessing getconf-speclist.c rather than running getconf or
5427 generating empty file.
5428
a93f9cbc
PT
54292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5430
5431 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5432
d64d9f87
AL
54332012-11-16 Andrej Lajovic <natrij@gmail.com>
5434
5435 [BZ #14672]
5436 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5437
447885eb
DM
54382012-11-16 David S. Miller <davem@davemloft.net>
5439
5440 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5441 smaller than LDBL_EPSILON/2.0L, just return xm1.
5442
bcbf9830
L
54432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5444
5445 * elf/tst-array1.c (init): Set constructor priority to 1000.
5446 (fini): Set destructor priority to 1000.
5447 * elf/tst-array2dep.c: Likewise.
5448
2b766585
SP
54492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5450
5451 [BZ #11741]
5452 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5453 (_IO_new_file_xsputn): Also return EOF if none of the input
5454 data was written when overflow failed.
5455 * libio/iopadn.c (_IO_padn): Likewise.
5456 * libio/iowpadn.c (_IO_wpadn): Likewise.
5457 * stdio-common/tst-put-error.c: Add copyright notice.
5458 (do_test): Add case for printing padded string.
5459 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5460 _IO_padn returned error.
5461 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5462 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5463 return EOF.
5464
b1848fde
SP
54652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5466
5467 * libio/libioP.h: Add comment note that the references to C++
5468 bits are now obsolete.
5469
2fd89785
MS
54702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5471
5472 * math/libm-test.inc (check_complex): Use asprintf.
5473
e3ea5409
JM
54742012-11-14 Joseph Myers <joseph@codesourcery.com>
5475
5476 * debug/pcprofiledump.c (print_version): Update copyright year.
5477 * malloc/memusagestat.c (print_version): Likewise.
5478
2e64d265
L
54792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5480
5481 [BZ #14831]
5482 * elf/Makefile (tests): Add tst-audit8.
5483 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5484 ($(objpfx)tst-audit8.out): New target.
5485 (tst-audit8-ENV): New variable.
5486 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5487 audit if l_reloc_result is NULL.
5488 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5489 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5490 * elf/tst-audit8.c: New file.
5491
c485e4d2
MS
54922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5493
5494 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5495 * misc/Makefile (CFLAGS-select.c): Define.
5496 * posix/Makefile (CFLAGS-pause.c): Define.
5497
3a0d900a
DM
54982012-11-13 David S. Miller <davem@davemloft.net>
5499
5500 * crypt/Makefile: Move test targets after toplevel Rules
5501 inclusion. Grab any necessary sysdep routines when linking.
5502 * crypt/md5.c (md5_process_block): Remove define, we will always
5503 name it __md5_process_block.
5504 (md5_finish_ctx): Update md5_process_block call.
5505 (md5_stream): Likewise.
5506 (md5_process_bytes): Likewise.
5507 (md5_process_block): Rename to __md5_process_block and move to ...
5508 * crypt/md5-block.c: ... here.
5509 * crypt/sha256.c (sha256_process_block): Move to ...
5510 * crypt/sha256-block.c: ... here.
5511 * crypt/sha512.c (sha512_process_block): Move to ...
5512 * crypt/sha512-block.c: ... here.
5513 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5514 path.
5515 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5516 * sysdeps/sparc/sparc64/multiarch/Makefile
5517 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5518 crypt subdir.
5519 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5521 multiarch changes.
5522 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5523 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5524 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5525 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5526 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5527 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5528 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5529 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5530 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5531 file.
5532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5534 file.
5535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5536
8ca89318
JM
55372012-11-13 Joseph Myers <joseph@codesourcery.com>
5538
e27d476a
JM
5539 * timezone/tzselect.ksh: Update from tzcode git revision
5540 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5541 * timezone/zdump.c: Likewise.
5542 * timezone/zic.c: Likewise.
5543 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5544 in TZVERSION setting, not $(PKGVERSION).
5545 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5546 REPORT_BUGS_TO settings.
5547
8ca89318
JM
5548 [BZ #14838]
5549 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5550 macro.
5551
47594329
MS
55522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5553
5554 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5555 detection to immediately after _FP_ROUND().
5556 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5557 bits are 0.
5558
640ac3f1
DM
55592012-11-11 David S. Miller <davem@davemloft.net>
5560
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5562 inttypes.h
5563 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5564 __close rather than their public counterparts.
5565
3d2577bb
JM
55662012-11-10 Joseph Myers <joseph@codesourcery.com>
5567
5568 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5569 file.
5570 [UNIX98] (sem_timedwait): Do not expect.
5571 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5572 [XPG4 || UNIX98] (sockatmark): Do not expect.
5573 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5574 (clock_getcpuclockid): Do not expect.
5575 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5576 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5577 Do not expect.
5578 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5579 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5580 [UNIX98] (vwscanf): Likewise.
5581 [UNIX98] (vswscanf): Likewise.
5582
fb1ae1ee
JM
55832012-11-09 Joseph Myers <joseph@codesourcery.com>
5584
9ec6f8bd
JM
5585 * timezone/version.h: Remove file.
5586 * timezone/README: Do not refer to version.h.
5587 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5588 $(objpfx)version.h.
5589 ($(objpfx)zdump.o): Likewise.
c3f81911 5590 ($(objpfx)version.h): New target.
9ec6f8bd 5591
0aa8f8a1
JM
5592 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5593 2012i.
5594 * timezone/README: Don't mention modification to tzselect.ksh.
5595 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5596 work on unmodified tzselect.ksh. Substitute version numbers in
5597 tzselect.ksh.
5598
4e87147f
JM
5599 * Makefile (format-me): Remove.
5600 (INSTALL): Adjust indentation. Use commands directly instead of
5601 using $(format-me).
5602
8b748aed
JM
5603 * aclocal.m4 (ACX_PKGVERSION): New macro.
5604 (ACX_BUGURL): Likewise.
5605 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5606 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5607 (REPORT_BUGS_TO): Likewise.
5608 * configure: Regenerated.
5609 * config.h.in (PKGVERSION): New macro.
5610 (REPORT_BUGS_TO): Likewise.
5611 * config.make.in (PKGVERSION): New variable.
5612 (PKGVERSION_TEXI): Likewise.
5613 (REPORT_BUGS_TO): Likewise.
5614 (REPORT_BUGS_TEXI): Likewise.
5615 * Makefile (format-me): Use -I$(common-objpfx)manual.
5616 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5617 ($(common-objpfx)manual/%): New target.
5618 (manual/%): Remove target.
5619 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5620 (print_version): Use PKGVERSION.
5621 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5622 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5623 and REPORT_BUGS_TO.
5624 ($(objpfx)xtrace): Likewise.
5625 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5626 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5627 (print_version): Use PKGVERSION.
5628 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5629 (do_version): Use PKGVERSION.
5630 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5631 REPORT_BUGS_TO.
5632 (common-ldd-rewrite): Likewise.
5633 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5634 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5635 (print_version): Use PKGVERSION.
5636 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5637 * elf/pldd.c (argp_program_bug_address): Remove variable.
5638 (more_help): New function.
5639 (argp): Use more_help.
5640 (print_version): Use PKGVERSION.
5641 * elf/sln.c (main): Use PKGVERSION.
5642 (usage): Use REPORT_BUGS_TO.
5643 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5644 (top level): Use PKGVERSION.
5645 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5646 (print_version): Use PKGVERSION.
5647 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5648 (print_version): Use PKGVERSION.
5649 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5650 (print_version): Use PKGVERSION.
5651 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5652 (print_version): Use PKGVERSION.
5653 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5654 (print_version): Use PKGVERSION.
5655 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5656 (print_version): Use PKGVERSION.
5657 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5658 and BUGURL.
5659 ($(objpfx)memusage): Likewise.
5660 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5661 (do_version): Use PKGVERSION.
5662 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5663 (print_version): Use PKGVERSION.
5664 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5665 ($PKGVERSION): New variable.
5666 ($REPORT_BUGS_TO): Likewise.
5667 (usage): Use $REPORT_BUGS_TO.
5668 (top level): Use $PKGVERSION.
5669 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5670 ($(objpfx)pkgvers.texi): New rule.
5671 ($(objpfx)stamp-pkgvers): Likewise.
5672 * manual/install.texi: Include pkgvers.texi.
5673 (--with-pkgversion): Document new configure option.
5674 (--with-bugurl): Likewise.
5675 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5676 than necessarily for this particular distribution. Use
5677 REPORT_BUGS_TO for where to report bugs.
5678 * INSTALL: Regenerated.
5679 * manual/libc.texinfo: Include pkgvers.texi.
5680 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5681 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5682 (print_version): Use PKGVERSION.
5683 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5684 (print_version): Use PKGVERSION.
5685 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5686 (print_version): Use PKGVERSION.
5687 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5688 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5689 macro.
5690 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5691 (print_version): Use PKGVERSION.
5692 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5693 (print_version): Use PKGVERSION.
5694 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5695 and PKGVERSION.
5696
92e4b6a9
JM
5697 * timezone/checktab.awk: Update from tzcode 2012i.
5698 * timezone/ialloc.c: Likewise.
5699 * timezone/private.h: Likewise.
5700 * timezone/scheck.c: Likewise.
5701 * timezone/tzfile.h: Likewise.
5702 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5703 (TZVERSION): Hardcode tzcode version number.
5704 * timezone/zdump.c: Update from tzcode 2012i.
5705 * timezone/zic.c: Likewise.
5706 * timezone/version.h: New file.
5707 * timezone/README: Describe version.h. Update upstream location.
5708
9bde902c
JM
5709 [BZ #14824]
5710 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5711 (mktemp): Enable declaration.
5712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5716 Likewise.
5717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5718 Likewise.
5719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5720 Likewise.
5721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5722 Likewise.
5723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5724 Likewise.
5725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5726 Likewise.
5727
fb1ae1ee
JM
5728 [BZ #14821]
5729 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5730 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5731 for copies of such integer values.
5732 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5733 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5734
2c1adbcb
AJ
57352012-11-09 Andreas Jaeger <aj@suse.de>
5736
5737 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5738 definitions and declarations that are provided by
5739 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5740
d0f8457e
AK
57412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5742
3a235abb 5743 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5744 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5745 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5746 definition.
5747
57241e26
MS
57482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5749
5750 * elf/elf.h: Update comment before AArch64 relocations.
5751
60e8270d
DM
57522012-11-07 David S. Miller <davem@davemloft.net>
5753
5754 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5755 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5756 (__start_context): Declare.
5757 (__makecontext_ret): Delete.
5758 (__makecontext): Hook up __start_context instead of
5759 __makecontext_ret.
5760 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5761 (sysdep_routines): Add __start_context when in stdlib.
5762
0fbb0fbc
JM
57632012-11-07 Joseph Myers <joseph@codesourcery.com>
5764
5765 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5766 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5767 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5768 hardcoded "nm".
5769 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5770 (READELF): New variable. Use it instead of hardcoded "readelf".
5771
eb48db7e
L
57722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5773
5774 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5775 * sysdeps/x86/Makefile: Here.
5776 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5777 * sysdeps/x86/tst-xmmymm.sh: This.
5778
05bcf62a
JM
57792012-11-07 Joseph Myers <joseph@codesourcery.com>
5780
c4b6cf53
JM
5781 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5782 expectations.
5783 [UNIX98] (pthread_barrier_t): Do not expect.
5784 [UNIX98] (pthread_barrierattr_t): Likewise.
5785 [UNIX98] (pthread_spinlock_t): Likewise.
5786 [UNIX98] (pthread_barrier_destroy): Likewise.
5787 [UNIX98] (pthread_barrier_init): Likewise.
5788 [UNIX98] (pthread_barrier_wait): Likewise.
5789 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5790 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5791 [UNIX98] (pthread_barrierattr_init): Likewise.
5792 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5793 [UNIX98] (pthread_getcpuclockid): Likewise.
5794 [UNIX98] (pthread_mutex_timedlock): Likewise.
5795 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5796 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5797 [UNIX98] (pthread_sigmask): Likewise.
5798 [UNIX98] (pthread_spin_destroy): Likewise.
5799 [UNIX98] (pthread_spin_init): Likewise.
5800 [UNIX98] (pthread_spin_lock): Likewise.
5801 [UNIX98] (pthread_spin_trylock): Likewise.
5802 [UNIX98] (pthread_spin_unlock): Likewise.
5803 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5804 Do not expect.
5805 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5807 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5808 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5809 [XPG3 || XPG4] (pthread_key_t): Likewise.
5810 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5811 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5812 [XPG3 || XPG4] (pthread_once_t): Likewise.
5813 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5814 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5816 [XPG3 || XPG4] (pthread_t): Likewise.
5817
cbe6e120
JM
5818 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5819 not expect.
5820 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5821
1b126443
JM
5822 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5823 Change function return type to int.
5824
b961a573
JM
5825 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5826 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5827 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5828 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5829 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5830 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5831 [!POSIX] (posix_madvise): Likewise.
5832 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5833 && !UNIX98].
5834 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5835 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5836 (mode_t): Likewise.
5837 (posix_mem_offset): Likewise.
5838 (posix_typed_mem_get_info): Likewise.
5839 (posix_typed_mem_open): Likewise.
5840
9e188909
JM
5841 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5842 Change condition to [XOPEN2K8].
5843
05bcf62a
JM
5844 * conform/conformtest.pl: Preprocess allow-header data with -x c
5845 instead of from stdin.
5846 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5847 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5848 [C99-based standards] (cerfc): Likewise.
5849 [C99-based standards] (cexp2): Likewise.
5850 [C99-based standards] (cexpm1): Likewise.
5851 [C99-based standards] (clog10): Likewise.
5852 [C99-based standards] (clog1p): Likewise.
5853 [C99-based standards] (clog2): Likewise.
5854 [C99-based standards] (clgamma): Likewise.
5855 [C99-based standards] (ctgamma): Likewise.
5856 [C99-based standards] (cerff): Likewise.
5857 [C99-based standards] (cerfcf): Likewise.
5858 [C99-based standards] (cexp2f): Likewise.
5859 [C99-based standards] (cexpm1f): Likewise.
5860 [C99-based standards] (clog10f): Likewise.
5861 [C99-based standards] (clog1pf): Likewise.
5862 [C99-based standards] (clog2f): Likewise.
5863 [C99-based standards] (clgammaf): Likewise.
5864 [C99-based standards] (ctgammaf): Likewise.
5865 [C99-based standards] (cerfl): Likewise.
5866 [C99-based standards] (cerfcl): Likewise.
5867 [C99-based standards] (cexp2l): Likewise.
5868 [C99-based standards] (cexpm1l): Likewise.
5869 [C99-based standards] (clog10l): Likewise.
5870 [C99-based standards] (clog1pl): Likewise.
5871 [C99-based standards] (clog2l): Likewise.
5872 [C99-based standards] (clgammal): Likewise.
5873 [C99-based standards] (ctgammal): Likewise.
5874 * conform/data/inttypes.h-data [C99-based standards]: Include
5875 stdint.h-data. Remove all expectations for stdint.h contents.
5876 [C99-based standards] (PRI*): Do not allow.
5877 [C99-based standards] (SCN*): Likewise.
5878 [C99-based standards] (*_t): Likewise.
5879 [C99-based-standards] (PRId8): Expect macro.
5880 [C99-based-standards] (PRIi8): Likewise.
5881 [C99-based-standards] (PRIo8): Likewise.
5882 [C99-based-standards] (PRIu8): Likewise.
5883 [C99-based-standards] (PRIx8): Likewise.
5884 [C99-based-standards] (PRIX8): Likewise.
5885 [C99-based-standards] (SCNd8): Likewise.
5886 [C99-based-standards] (SCNi8): Likewise.
5887 [C99-based-standards] (SCNo8): Likewise.
5888 [C99-based-standards] (SCNu8): Likewise.
5889 [C99-based-standards] (SCNx8): Likewise.
5890 [C99-based-standards] (PRIdLEAST8): Likewise.
5891 [C99-based-standards] (PRIiLEAST8): Likewise.
5892 [C99-based-standards] (PRIoLEAST8): Likewise.
5893 [C99-based-standards] (PRIuLEAST8): Likewise.
5894 [C99-based-standards] (PRIxLEAST8): Likewise.
5895 [C99-based-standards] (PRIXLEAST8): Likewise.
5896 [C99-based-standards] (SCNdLEAST8): Likewise.
5897 [C99-based-standards] (SCNiLEAST8): Likewise.
5898 [C99-based-standards] (SCNoLEAST8): Likewise.
5899 [C99-based-standards] (SCNuLEAST8): Likewise.
5900 [C99-based-standards] (SCNxLEAST8): Likewise.
5901 [C99-based-standards] (PRIdFAST8): Likewise.
5902 [C99-based-standards] (PRIiFAST8): Likewise.
5903 [C99-based-standards] (PRIoFAST8): Likewise.
5904 [C99-based-standards] (PRIuFAST8): Likewise.
5905 [C99-based-standards] (PRIxFAST8): Likewise.
5906 [C99-based-standards] (PRIXFAST8): Likewise.
5907 [C99-based-standards] (SCNdFAST8): Likewise.
5908 [C99-based-standards] (SCNiFAST8): Likewise.
5909 [C99-based-standards] (SCNoFAST8): Likewise.
5910 [C99-based-standards] (SCNuFAST8): Likewise.
5911 [C99-based-standards] (SCNxFAST8): Likewise.
5912 [C99-based-standards] (PRId16): Likewise.
5913 [C99-based-standards] (PRIi16): Likewise.
5914 [C99-based-standards] (PRIo16): Likewise.
5915 [C99-based-standards] (PRIu16): Likewise.
5916 [C99-based-standards] (PRIx16): Likewise.
5917 [C99-based-standards] (PRIX16): Likewise.
5918 [C99-based-standards] (SCNd16): Likewise.
5919 [C99-based-standards] (SCNi16): Likewise.
5920 [C99-based-standards] (SCNo16): Likewise.
5921 [C99-based-standards] (SCNu16): Likewise.
5922 [C99-based-standards] (SCNx16): Likewise.
5923 [C99-based-standards] (PRIdLEAST16): Likewise.
5924 [C99-based-standards] (PRIiLEAST16): Likewise.
5925 [C99-based-standards] (PRIoLEAST16): Likewise.
5926 [C99-based-standards] (PRIuLEAST16): Likewise.
5927 [C99-based-standards] (PRIxLEAST16): Likewise.
5928 [C99-based-standards] (PRIXLEAST16): Likewise.
5929 [C99-based-standards] (SCNdLEAST16): Likewise.
5930 [C99-based-standards] (SCNiLEAST16): Likewise.
5931 [C99-based-standards] (SCNoLEAST16): Likewise.
5932 [C99-based-standards] (SCNuLEAST16): Likewise.
5933 [C99-based-standards] (SCNxLEAST16): Likewise.
5934 [C99-based-standards] (PRIdFAST16): Likewise.
5935 [C99-based-standards] (PRIiFAST16): Likewise.
5936 [C99-based-standards] (PRIoFAST16): Likewise.
5937 [C99-based-standards] (PRIuFAST16): Likewise.
5938 [C99-based-standards] (PRIxFAST16): Likewise.
5939 [C99-based-standards] (PRIXFAST16): Likewise.
5940 [C99-based-standards] (SCNdFAST16): Likewise.
5941 [C99-based-standards] (SCNiFAST16): Likewise.
5942 [C99-based-standards] (SCNoFAST16): Likewise.
5943 [C99-based-standards] (SCNuFAST16): Likewise.
5944 [C99-based-standards] (SCNxFAST16): Likewise.
5945 [C99-based-standards] (PRId32): Likewise.
5946 [C99-based-standards] (PRIi32): Likewise.
5947 [C99-based-standards] (PRIo32): Likewise.
5948 [C99-based-standards] (PRIu32): Likewise.
5949 [C99-based-standards] (PRIx32): Likewise.
5950 [C99-based-standards] (PRIX32): Likewise.
5951 [C99-based-standards] (SCNd32): Likewise.
5952 [C99-based-standards] (SCNi32): Likewise.
5953 [C99-based-standards] (SCNo32): Likewise.
5954 [C99-based-standards] (SCNu32): Likewise.
5955 [C99-based-standards] (SCNx32): Likewise.
5956 [C99-based-standards] (PRIdLEAST32): Likewise.
5957 [C99-based-standards] (PRIiLEAST32): Likewise.
5958 [C99-based-standards] (PRIoLEAST32): Likewise.
5959 [C99-based-standards] (PRIuLEAST32): Likewise.
5960 [C99-based-standards] (PRIxLEAST32): Likewise.
5961 [C99-based-standards] (PRIXLEAST32): Likewise.
5962 [C99-based-standards] (SCNdLEAST32): Likewise.
5963 [C99-based-standards] (SCNiLEAST32): Likewise.
5964 [C99-based-standards] (SCNoLEAST32): Likewise.
5965 [C99-based-standards] (SCNuLEAST32): Likewise.
5966 [C99-based-standards] (SCNxLEAST32): Likewise.
5967 [C99-based-standards] (PRIdFAST32): Likewise.
5968 [C99-based-standards] (PRIiFAST32): Likewise.
5969 [C99-based-standards] (PRIoFAST32): Likewise.
5970 [C99-based-standards] (PRIuFAST32): Likewise.
5971 [C99-based-standards] (PRIxFAST32): Likewise.
5972 [C99-based-standards] (PRIXFAST32): Likewise.
5973 [C99-based-standards] (SCNdFAST32): Likewise.
5974 [C99-based-standards] (SCNiFAST32): Likewise.
5975 [C99-based-standards] (SCNoFAST32): Likewise.
5976 [C99-based-standards] (SCNuFAST32): Likewise.
5977 [C99-based-standards] (SCNxFAST32): Likewise.
5978 [C99-based-standards] (PRId64): Likewise.
5979 [C99-based-standards] (PRIi64): Likewise.
5980 [C99-based-standards] (PRIo64): Likewise.
5981 [C99-based-standards] (PRIu64): Likewise.
5982 [C99-based-standards] (PRIx64): Likewise.
5983 [C99-based-standards] (PRIX64): Likewise.
5984 [C99-based-standards] (SCNd64): Likewise.
5985 [C99-based-standards] (SCNi64): Likewise.
5986 [C99-based-standards] (SCNo64): Likewise.
5987 [C99-based-standards] (SCNu64): Likewise.
5988 [C99-based-standards] (SCNx64): Likewise.
5989 [C99-based-standards] (PRIdLEAST64): Likewise.
5990 [C99-based-standards] (PRIiLEAST64): Likewise.
5991 [C99-based-standards] (PRIoLEAST64): Likewise.
5992 [C99-based-standards] (PRIuLEAST64): Likewise.
5993 [C99-based-standards] (PRIxLEAST64): Likewise.
5994 [C99-based-standards] (PRIXLEAST64): Likewise.
5995 [C99-based-standards] (SCNdLEAST64): Likewise.
5996 [C99-based-standards] (SCNiLEAST64): Likewise.
5997 [C99-based-standards] (SCNoLEAST64): Likewise.
5998 [C99-based-standards] (SCNuLEAST64): Likewise.
5999 [C99-based-standards] (SCNxLEAST64): Likewise.
6000 [C99-based-standards] (PRIdFAST64): Likewise.
6001 [C99-based-standards] (PRIiFAST64): Likewise.
6002 [C99-based-standards] (PRIoFAST64): Likewise.
6003 [C99-based-standards] (PRIuFAST64): Likewise.
6004 [C99-based-standards] (PRIxFAST64): Likewise.
6005 [C99-based-standards] (PRIXFAST64): Likewise.
6006 [C99-based-standards] (SCNdFAST64): Likewise.
6007 [C99-based-standards] (SCNiFAST64): Likewise.
6008 [C99-based-standards] (SCNoFAST64): Likewise.
6009 [C99-based-standards] (SCNuFAST64): Likewise.
6010 [C99-based-standards] (SCNxFAST64): Likewise.
6011 [C99-based-standards] (PRIdMAX): Likewise.
6012 [C99-based-standards] (PRIiMAX): Likewise.
6013 [C99-based-standards] (PRIoMAX): Likewise.
6014 [C99-based-standards] (PRIuMAX): Likewise.
6015 [C99-based-standards] (PRIxMAX): Likewise.
6016 [C99-based-standards] (PRIXMAX): Likewise.
6017 [C99-based-standards] (SCNdMAX): Likewise.
6018 [C99-based-standards] (SCNiMAX): Likewise.
6019 [C99-based-standards] (SCNoMAX): Likewise.
6020 [C99-based-standards] (SCNuMAX): Likewise.
6021 [C99-based-standards] (SCNxMAX): Likewise.
6022 [C99-based-standards] (PRIdPTR): Likewise.
6023 [C99-based-standards] (PRIiPTR): Likewise.
6024 [C99-based-standards] (PRIoPTR): Likewise.
6025 [C99-based-standards] (PRIuPTR): Likewise.
6026 [C99-based-standards] (PRIxPTR): Likewise.
6027 [C99-based-standards] (PRIXPTR): Likewise.
6028 [C99-based-standards] (SCNdPTR): Likewise.
6029 [C99-based-standards] (SCNiPTR): Likewise.
6030 [C99-based-standards] (SCNoPTR): Likewise.
6031 [C99-based-standards] (SCNuPTR): Likewise.
6032 [C99-based-standards] (SCNxPTR): Likewise.
6033 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6034 allow.
6035 * conform/data/stdint.h-data: Update comments to clarify
6036 requirements.
6037 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6038 type.
6039 [C99-based standards] (INT8_MAX): Likewise.
6040 [C99-based standards] (INT16_MIN): Likewise.
6041 [C99-based standards] (INT16_MAX): Likewise.
6042 [C99-based standards] (INT32_MIN): Likewise.
6043 [C99-based standards] (INT32_MAX): Likewise.
6044 [C99-based standards] (INT64_MIN): Likewise.
6045 [C99-based standards] (INT64_MAX): Likewise.
6046 [C99-based standards] (UINT8_MAX): Likewise.
6047 [C99-based standards] (UINT16_MAX): Likewise.
6048 [C99-based standards] (UINT32_MAX): Likewise.
6049 [C99-based standards] (UINT64_MAX): Likewise.
6050 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6051 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6052 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6053 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6054 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6055 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6056 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6057 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6058 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6059 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6060 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6061 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6062 [C99-based standards] (INT_FAST8_MIN): Likewise.
6063 [C99-based standards] (INT_FAST8_MAX): Likewise.
6064 [C99-based standards] (INT_FAST16_MIN): Likewise.
6065 [C99-based standards] (INT_FAST16_MAX): Likewise.
6066 [C99-based standards] (INT_FAST32_MIN): Likewise.
6067 [C99-based standards] (INT_FAST32_MAX): Likewise.
6068 [C99-based standards] (INT_FAST64_MIN): Likewise.
6069 [C99-based standards] (INT_FAST64_MAX): Likewise.
6070 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6071 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6072 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6073 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6074 [C99-based standards] (INTPTR_MIN): Likewise.
6075 [C99-based standards] (INTPTR_MAX): Likewise.
6076 [C99-based standards] (UINTPTR_MAX): Likewise.
6077 [C99-based standards] (INTMAX_MIN): Likewise.
6078 [C99-based standards] (INTMAX_MAX): Likewise.
6079 [C99-based standards] (UINTMAX_MAX): Likewise.
6080 [C99-based standards] (PTRDIFF_MIN): Likewise.
6081 [C99-based standards] (PTRDIFF_MAX): Likewise.
6082 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6083 [C99-based standards] (SIZE_MAX): Likewise.
6084 [C99-based standards] (WCHAR_MAX): Likewise.
6085 [C99-based standards] (WINT_MAX): Likewise.
6086 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6087 constraint on value.
6088 [C99-based standards] (WCHAR_MIN): Likewise.
6089 [C99-based standards] (WINT_MIN): Likewise.
6090 [C99-based standards] (*_t): Allow.
6091 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6092 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6093 Include math.h-data and complex.h-data. Remove all expectations
6094 of math.h and complex.h contents.
6095 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6096 at end of line.
6097 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6098 (struct tm): Expect tag.
6099 [C99-based-standards] (wcstof): Expect function.
6100 [C99-based-standards] (wcstold): Likewise.
6101 [C99-based-standards] (wcstoll): Likewise.
6102 [C99-based-standards] (wcstoull): Likewise.
6103 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6104 macro-int-constant. Specify type.
6105 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6106 constraint on value.
6107 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6108 Specify type.
6109 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6110 Specify value.
6111 [ISO C standards]: Do not allow headers.
6112 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6113 wcs[abcdefghijklmnopqrstuvwxyz]*.
6114 [ISO C standards] (*_t): Do not allow.
6115 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6116 Expect function.
6117 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6118 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6119 Specify type.
6120 [ISO C standards]: Do not allow headers.
6121 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6122 is[abcdefghijklmnopqrstuvwxyz]*.
6123 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6124 to[abcdefghijklmnopqrstuvwxyz]*.
6125 [ISO C standards] (*_t): Do not allow.
6126 * conform/data/stdalign.h-data: New file.
6127 * conform/data/stdbool.h-data: Likewise.
6128 * conform/data/stdnoreturn.h-data: Likewise.
6129
7514feb8
RM
61302012-11-07 Roland McGrath <roland@hack.frob.com>
6131
6132 [BZ #14815]
6133 * manual/filesys.texi (Directory Entries): Typo fix.
6134 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6135
19b2ecfc
MS
61362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6137
6138 * elf/elf.h (EM_AARCH64): New macro.
6139 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6140 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6141 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6142 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6143 (R_AARCH64_TLSDESC): Likewise.
6144 (NT_ARM_TLS): Likewise.
6145 (NT_ARM_HW_BREAK): Likewise.
6146 (NT_ARM_HW_WATCH): Likewise.
6147
60e235ee
JM
61482012-11-07 Joseph Myers <joseph@codesourcery.com>
6149
6150 [BZ #14811]
6151 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6152 (__ieee754_powl): Saturate nonzero exponents with absolute value
6153 below 0x1p-79 to +/- 0x1p-79.
6154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6155 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6156 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6157 nonzero exponents with absolute value below 0x1p-32 to +/-
6158 0x1p-32.
6159 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6160 (__ieee754_powl): Saturate nonzero exponents with absolute value
6161 below 0x1p-79 to +/- 0x1p-79.
6162 * math/libm-test.inc (pow_test): Add more tests.
6163
0ab234b7
AK
61642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6165
6166 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6167 _dl_s390_cap_flags with kernel. Increase string length.
6168 (_dl_s390_platforms): Add z196 and zEC12.
6169
45832f74
JM
61702012-11-07 Joseph Myers <joseph@codesourcery.com>
6171
6172 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6173 Change XOPEN21K to XOPEN2K.
6174
19218757
MK
61752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6176
6177 * string/memmove.c: Use memcpy when possible.
6178
c5f45721
AJ
61792012-11-06 Andreas Jaeger <aj@suse.de>
6180
6181 * po/eo.po: Update from translation team.
6182
82477c28
JM
61832012-11-06 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #14793]
6186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6187 exponent and small x and y exponents, scale x or y up. Increase
6188 by 2 the exponent used in scaling up.
6189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6191 * math/libm-test.inc (fma_test): Add more tests.
6192 (fma_test_towardzero): Likewise.
6193 (fma_test_downward): Likewise.
6194 (fma_test_upward): Likewise.
6195
99252c8c
JM
61962012-11-05 Joseph Myers <joseph@codesourcery.com>
6197
acfa885f
JM
6198 [BZ #14805]
6199 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6200 fenv_t *.
6201
99252c8c
JM
6202 [BZ #14801]
6203 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6204 namespace for names of struct fields.
6205 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6206 fenv_t fields.
6207 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6208 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6209
d6d98dea
ST
62102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6211
6212 [BZ #3665]
6213 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6214
e10bb107
TS
62152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6216
6217 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6218 PTR_DEMANGLE.
6219
6220 [BZ #5246]
6221 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6222 PTR_DEMANGLE.
6223
a0c2940d
JM
62242012-11-04 Joseph Myers <joseph@codesourcery.com>
6225
6226 [BZ #14797]
6227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6228 definitely overflow as x * y not x * y + z.
6229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6231 * math/libm-test.inc (fma_test): Add more tests.
6232 (fma_test_towardzero): Likewise.
6233 (fma_test_downward): Likewise.
6234 (fma_test_upward): Likewise.
6235
b830319d
TS
62362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6237
6238 [BZ #157]
6239
6240 * include/stub-tag.h: Remove file.
6241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6242 '#include' of it.
6243 * manual/maint.texi (Porting): Don't reference it.
6244 * Makerules ($(objpfx)stubs): Likewise.
6245 * dirent/closedir.c: Don't include <stub-tag.h>.
6246 * dirent/dirfd.c: Likewise.
6247 * dirent/fdopendir.c: Likewise.
6248 * dirent/getdents.c: Likewise.
6249 * dirent/getdents64.c: Likewise.
6250 * dirent/opendir.c: Likewise.
6251 * dirent/readdir.c: Likewise.
6252 * dirent/readdir64.c: Likewise.
6253 * dirent/readdir64_r.c: Likewise.
6254 * dirent/readdir_r.c: Likewise.
6255 * dirent/rewinddir.c: Likewise.
6256 * dirent/seekdir.c: Likewise.
6257 * dirent/telldir.c: Likewise.
6258 * gmon/profil.c: Likewise.
6259 * grp/setgroups.c: Likewise.
6260 * inet/if_index.c: Likewise.
6261 * io/access.c: Likewise.
6262 * io/chdir.c: Likewise.
6263 * io/chmod.c: Likewise.
6264 * io/chown.c: Likewise.
6265 * io/close.c: Likewise.
6266 * io/dup.c: Likewise.
6267 * io/dup2.c: Likewise.
6268 * io/dup3.c: Likewise.
6269 * io/euidaccess.c: Likewise.
6270 * io/faccessat.c: Likewise.
6271 * io/fchdir.c: Likewise.
6272 * io/fchmod.c: Likewise.
6273 * io/fchmodat.c: Likewise.
6274 * io/fchown.c: Likewise.
6275 * io/fchownat.c: Likewise.
6276 * io/fcntl.c: Likewise.
6277 * io/flock.c: Likewise.
6278 * io/fstatfs.c: Likewise.
6279 * io/fstatfs64.c: Likewise.
6280 * io/fstatvfs.c: Likewise.
6281 * io/fstatvfs64.c: Likewise.
6282 * io/futimens.c: Likewise.
6283 * io/fxstat.c: Likewise.
6284 * io/fxstat64.c: Likewise.
6285 * io/fxstatat.c: Likewise.
6286 * io/fxstatat64.c: Likewise.
6287 * io/getcwd.c: Likewise.
6288 * io/isatty.c: Likewise.
6289 * io/lchmod.c: Likewise.
6290 * io/lchown.c: Likewise.
6291 * io/link.c: Likewise.
6292 * io/linkat.c: Likewise.
6293 * io/lseek.c: Likewise.
6294 * io/lseek64.c: Likewise.
6295 * io/lxstat64.c: Likewise.
6296 * io/mkdir.c: Likewise.
6297 * io/mkdirat.c: Likewise.
6298 * io/mkfifo.c: Likewise.
6299 * io/mkfifoat.c: Likewise.
6300 * io/open.c: Likewise.
6301 * io/open64.c: Likewise.
6302 * io/openat.c: Likewise.
6303 * io/openat64.c: Likewise.
6304 * io/pipe.c: Likewise.
6305 * io/pipe2.c: Likewise.
6306 * io/poll.c: Likewise.
6307 * io/posix_fadvise.c: Likewise.
6308 * io/posix_fadvise64.c: Likewise.
6309 * io/posix_fallocate.c: Likewise.
6310 * io/posix_fallocate64.c: Likewise.
6311 * io/read.c: Likewise.
6312 * io/readlink.c: Likewise.
6313 * io/readlinkat.c: Likewise.
6314 * io/rmdir.c: Likewise.
6315 * io/sendfile.c: Likewise.
6316 * io/sendfile64.c: Likewise.
6317 * io/statfs.c: Likewise.
6318 * io/statfs64.c: Likewise.
6319 * io/statvfs.c: Likewise.
6320 * io/statvfs64.c: Likewise.
6321 * io/symlink.c: Likewise.
6322 * io/symlinkat.c: Likewise.
6323 * io/ttyname.c: Likewise.
6324 * io/ttyname_r.c: Likewise.
6325 * io/umask.c: Likewise.
6326 * io/unlink.c: Likewise.
6327 * io/unlinkat.c: Likewise.
6328 * io/utime.c: Likewise.
6329 * io/utimensat.c: Likewise.
6330 * io/write.c: Likewise.
6331 * io/xmknod.c: Likewise.
6332 * io/xmknodat.c: Likewise.
6333 * io/xstat.c: Likewise.
6334 * io/xstat64.c: Likewise.
6335 * login/getpt.c: Likewise.
6336 * login/grantpt.c: Likewise.
6337 * login/unlockpt.c: Likewise.
6338 * math/e_acoshl.c: Likewise.
6339 * math/e_acosl.c: Likewise.
6340 * math/e_asinl.c: Likewise.
6341 * math/e_atan2l.c: Likewise.
6342 * math/e_atanhl.c: Likewise.
6343 * math/e_coshl.c: Likewise.
6344 * math/e_expl.c: Likewise.
6345 * math/e_fmodl.c: Likewise.
6346 * math/e_gammal_r.c: Likewise.
6347 * math/e_hypotl.c: Likewise.
6348 * math/e_j0l.c: Likewise.
6349 * math/e_j1l.c: Likewise.
6350 * math/e_jnl.c: Likewise.
6351 * math/e_lgammal_r.c: Likewise.
6352 * math/e_log10l.c: Likewise.
6353 * math/e_log2l.c: Likewise.
6354 * math/e_logl.c: Likewise.
6355 * math/e_powl.c: Likewise.
6356 * math/e_rem_pio2l.c: Likewise.
6357 * math/e_sinhl.c: Likewise.
6358 * math/e_sqrtl.c: Likewise.
6359 * math/fclrexcpt.c: Likewise.
6360 * math/fedisblxcpt.c: Likewise.
6361 * math/feenablxcpt.c: Likewise.
6362 * math/fegetenv.c: Likewise.
6363 * math/fegetexcept.c: Likewise.
6364 * math/fegetround.c: Likewise.
6365 * math/feholdexcpt.c: Likewise.
6366 * math/fesetenv.c: Likewise.
6367 * math/fesetround.c: Likewise.
6368 * math/feupdateenv.c: Likewise.
6369 * math/fgetexcptflg.c: Likewise.
6370 * math/fraiseexcpt.c: Likewise.
6371 * math/fsetexcptflg.c: Likewise.
6372 * math/ftestexcept.c: Likewise.
6373 * math/k_cosl.c: Likewise.
6374 * math/k_rem_pio2l.c: Likewise.
6375 * math/k_sinl.c: Likewise.
6376 * math/k_tanl.c: Likewise.
6377 * math/s_asinhl.c: Likewise.
6378 * math/s_atanl.c: Likewise.
6379 * math/s_cbrtl.c: Likewise.
6380 * math/s_erfl.c: Likewise.
6381 * math/s_expm1l.c: Likewise.
6382 * math/s_log1pl.c: Likewise.
6383 * math/s_tanhl.c: Likewise.
6384 * misc/acct.c: Likewise.
6385 * misc/brk.c: Likewise.
6386 * misc/chflags.c: Likewise.
6387 * misc/chroot.c: Likewise.
6388 * misc/fchflags.c: Likewise.
6389 * misc/fgetxattr.c: Likewise.
6390 * misc/flistxattr.c: Likewise.
6391 * misc/fremovexattr.c: Likewise.
6392 * misc/fsetxattr.c: Likewise.
6393 * misc/fsync.c: Likewise.
6394 * misc/ftruncate.c: Likewise.
6395 * misc/futimes.c: Likewise.
6396 * misc/futimesat.c: Likewise.
6397 * misc/getdomain.c: Likewise.
6398 * misc/getdtsz.c: Likewise.
6399 * misc/gethostid.c: Likewise.
6400 * misc/gethostname.c: Likewise.
6401 * misc/getloadavg.c: Likewise.
6402 * misc/getpagesize.c: Likewise.
6403 * misc/getsysstats.c: Likewise.
6404 * misc/getxattr.c: Likewise.
6405 * misc/gtty.c: Likewise.
6406 * misc/ioctl.c: Likewise.
6407 * misc/lgetxattr.c: Likewise.
6408 * misc/listxattr.c: Likewise.
6409 * misc/llistxattr.c: Likewise.
6410 * misc/lremovexattr.c: Likewise.
6411 * misc/lsetxattr.c: Likewise.
6412 * misc/lutimes.c: Likewise.
6413 * misc/madvise.c: Likewise.
6414 * misc/mincore.c: Likewise.
6415 * misc/mlock.c: Likewise.
6416 * misc/mlockall.c: Likewise.
6417 * misc/mmap.c: Likewise.
6418 * misc/mprotect.c: Likewise.
6419 * misc/msync.c: Likewise.
6420 * misc/munlock.c: Likewise.
6421 * misc/munlockall.c: Likewise.
6422 * misc/munmap.c: Likewise.
6423 * misc/preadv.c: Likewise.
6424 * misc/preadv64.c: Likewise.
6425 * misc/ptrace.c: Likewise.
6426 * misc/pwritev.c: Likewise.
6427 * misc/pwritev64.c: Likewise.
6428 * misc/readv.c: Likewise.
6429 * misc/reboot.c: Likewise.
6430 * misc/remap_file_pages.c: Likewise.
6431 * misc/removexattr.c: Likewise.
6432 * misc/revoke.c: Likewise.
6433 * misc/select.c: Likewise.
6434 * misc/setdomain.c: Likewise.
6435 * misc/setegid.c: Likewise.
6436 * misc/seteuid.c: Likewise.
6437 * misc/sethostid.c: Likewise.
6438 * misc/sethostname.c: Likewise.
6439 * misc/setregid.c: Likewise.
6440 * misc/setreuid.c: Likewise.
6441 * misc/setxattr.c: Likewise.
6442 * misc/sstk.c: Likewise.
6443 * misc/stty.c: Likewise.
6444 * misc/swapoff.c: Likewise.
6445 * misc/swapon.c: Likewise.
6446 * misc/sync.c: Likewise.
6447 * misc/syncfs.c: Likewise.
6448 * misc/syscall.c: Likewise.
6449 * misc/truncate.c: Likewise.
6450 * misc/ualarm.c: Likewise.
6451 * misc/usleep.c: Likewise.
6452 * misc/ustat.c: Likewise.
6453 * misc/utimes.c: Likewise.
6454 * misc/vhangup.c: Likewise.
6455 * misc/writev.c: Likewise.
6456 * posix/_exit.c: Likewise.
6457 * posix/alarm.c: Likewise.
6458 * posix/execve.c: Likewise.
6459 * posix/fexecve.c: Likewise.
6460 * posix/fork.c: Likewise.
6461 * posix/fpathconf.c: Likewise.
6462 * posix/getaddrinfo.c: Likewise.
6463 * posix/getegid.c: Likewise.
6464 * posix/geteuid.c: Likewise.
6465 * posix/getgid.c: Likewise.
6466 * posix/getgroups.c: Likewise.
6467 * posix/getlogin.c: Likewise.
6468 * posix/getlogin_r.c: Likewise.
6469 * posix/getpgid.c: Likewise.
6470 * posix/getpid.c: Likewise.
6471 * posix/getppid.c: Likewise.
6472 * posix/getresgid.c: Likewise.
6473 * posix/getresuid.c: Likewise.
6474 * posix/getsid.c: Likewise.
6475 * posix/getuid.c: Likewise.
6476 * posix/glob64.c: Likewise.
6477 * posix/nanosleep.c: Likewise.
6478 * posix/pathconf.c: Likewise.
6479 * posix/pause.c: Likewise.
6480 * posix/posix_madvise.c: Likewise.
6481 * posix/pread.c: Likewise.
6482 * posix/pread64.c: Likewise.
6483 * posix/pwrite.c: Likewise.
6484 * posix/pwrite64.c: Likewise.
6485 * posix/sched_getaffinity.c: Likewise.
6486 * posix/sched_getp.c: Likewise.
6487 * posix/sched_gets.c: Likewise.
6488 * posix/sched_primax.c: Likewise.
6489 * posix/sched_primin.c: Likewise.
6490 * posix/sched_rr_gi.c: Likewise.
6491 * posix/sched_setaffinity.c: Likewise.
6492 * posix/sched_setp.c: Likewise.
6493 * posix/sched_sets.c: Likewise.
6494 * posix/sched_yield.c: Likewise.
6495 * posix/setgid.c: Likewise.
6496 * posix/setlogin.c: Likewise.
6497 * posix/setpgid.c: Likewise.
6498 * posix/setresgid.c: Likewise.
6499 * posix/setresuid.c: Likewise.
6500 * posix/setsid.c: Likewise.
6501 * posix/setuid.c: Likewise.
6502 * posix/sleep.c: Likewise.
6503 * posix/spawni.c: Likewise.
6504 * posix/sysconf.c: Likewise.
6505 * posix/times.c: Likewise.
6506 * posix/wait.c: Likewise.
6507 * posix/wait3.c: Likewise.
6508 * posix/wait4.c: Likewise.
6509 * posix/waitpid.c: Likewise.
6510 * resolv/gai_sigqueue.c: Likewise.
6511 * resource/getpriority.c: Likewise.
6512 * resource/getrlimit.c: Likewise.
6513 * resource/getrusage.c: Likewise.
6514 * resource/nice.c: Likewise.
6515 * resource/setpriority.c: Likewise.
6516 * resource/setrlimit.c: Likewise.
6517 * resource/ulimit.c: Likewise.
6518 * rt/aio_cancel.c: Likewise.
6519 * rt/aio_fsync.c: Likewise.
6520 * rt/aio_read.c: Likewise.
6521 * rt/aio_sigqueue.c: Likewise.
6522 * rt/aio_suspend.c: Likewise.
6523 * rt/aio_write.c: Likewise.
6524 * rt/clock_getres.c: Likewise.
6525 * rt/clock_gettime.c: Likewise.
6526 * rt/clock_nanosleep.c: Likewise.
6527 * rt/clock_settime.c: Likewise.
6528 * rt/lio_listio.c: Likewise.
6529 * rt/mq_close.c: Likewise.
6530 * rt/mq_getattr.c: Likewise.
6531 * rt/mq_notify.c: Likewise.
6532 * rt/mq_open.c: Likewise.
6533 * rt/mq_receive.c: Likewise.
6534 * rt/mq_send.c: Likewise.
6535 * rt/mq_setattr.c: Likewise.
6536 * rt/mq_timedreceive.c: Likewise.
6537 * rt/mq_timedsend.c: Likewise.
6538 * rt/mq_unlink.c: Likewise.
6539 * rt/shm_open.c: Likewise.
6540 * rt/shm_unlink.c: Likewise.
6541 * rt/timer_create.c: Likewise.
6542 * rt/timer_delete.c: Likewise.
6543 * rt/timer_getoverr.c: Likewise.
6544 * rt/timer_gettime.c: Likewise.
6545 * rt/timer_settime.c: Likewise.
6546 * setjmp/__longjmp.c: Likewise.
6547 * setjmp/setjmp.c: Likewise.
6548 * signal/kill.c: Likewise.
6549 * signal/killpg.c: Likewise.
6550 * signal/raise.c: Likewise.
6551 * signal/sigaction.c: Likewise.
6552 * signal/sigaltstack.c: Likewise.
6553 * signal/sigblock.c: Likewise.
6554 * signal/sigignore.c: Likewise.
6555 * signal/sigintr.c: Likewise.
6556 * signal/signal.c: Likewise.
6557 * signal/sigpause.c: Likewise.
6558 * signal/sigpending.c: Likewise.
6559 * signal/sigqueue.c: Likewise.
6560 * signal/sigreturn.c: Likewise.
6561 * signal/sigset.c: Likewise.
6562 * signal/sigsetmask.c: Likewise.
6563 * signal/sigstack.c: Likewise.
6564 * signal/sigsuspend.c: Likewise.
6565 * signal/sigtimedwait.c: Likewise.
6566 * signal/sigvec.c: Likewise.
6567 * signal/sigwait.c: Likewise.
6568 * signal/sigwaitinfo.c: Likewise.
6569 * signal/sysv_signal.c: Likewise.
6570 * socket/accept.c: Likewise.
6571 * socket/accept4.c: Likewise.
6572 * socket/bind.c: Likewise.
6573 * socket/connect.c: Likewise.
6574 * socket/getpeername.c: Likewise.
6575 * socket/getsockname.c: Likewise.
6576 * socket/getsockopt.c: Likewise.
6577 * socket/isfdtype.c: Likewise.
6578 * socket/listen.c: Likewise.
6579 * socket/recv.c: Likewise.
6580 * socket/recvfrom.c: Likewise.
6581 * socket/recvmsg.c: Likewise.
6582 * socket/send.c: Likewise.
6583 * socket/sendmsg.c: Likewise.
6584 * socket/sendto.c: Likewise.
6585 * socket/setsockopt.c: Likewise.
6586 * socket/shutdown.c: Likewise.
6587 * socket/sockatmark.c: Likewise.
6588 * socket/socket.c: Likewise.
6589 * socket/socketpair.c: Likewise.
6590 * stdio-common/ctermid.c: Likewise.
6591 * stdio-common/cuserid.c: Likewise.
6592 * stdio-common/remove.c: Likewise.
6593 * stdio-common/rename.c: Likewise.
6594 * stdio-common/renameat.c: Likewise.
6595 * stdio-common/tempname.c: Likewise.
6596 * stdlib/getcontext.c: Likewise.
6597 * stdlib/makecontext.c: Likewise.
6598 * stdlib/setcontext.c: Likewise.
6599 * stdlib/swapcontext.c: Likewise.
6600 * stdlib/system.c: Likewise.
6601 * streams/fattach.c: Likewise.
6602 * streams/fdetach.c: Likewise.
6603 * streams/getmsg.c: Likewise.
6604 * streams/getpmsg.c: Likewise.
6605 * streams/putmsg.c: Likewise.
6606 * streams/putpmsg.c: Likewise.
6607 * sysdeps/unix/bsd/getpt.c: Likewise.
6608 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6609 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6610 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6612 Likewise.
6613 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6614 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6615 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6616 * sysvipc/msgctl.c: Likewise.
6617 * sysvipc/msgget.c: Likewise.
6618 * sysvipc/msgrcv.c: Likewise.
6619 * sysvipc/msgsnd.c: Likewise.
6620 * sysvipc/semctl.c: Likewise.
6621 * sysvipc/semget.c: Likewise.
6622 * sysvipc/semop.c: Likewise.
6623 * sysvipc/semtimedop.c: Likewise.
6624 * sysvipc/shmat.c: Likewise.
6625 * sysvipc/shmctl.c: Likewise.
6626 * sysvipc/shmdt.c: Likewise.
6627 * sysvipc/shmget.c: Likewise.
6628 * termios/tcdrain.c: Likewise.
6629 * termios/tcflow.c: Likewise.
6630 * termios/tcflush.c: Likewise.
6631 * termios/tcgetattr.c: Likewise.
6632 * termios/tcgetpgrp.c: Likewise.
6633 * termios/tcsendbrk.c: Likewise.
6634 * termios/tcsetattr.c: Likewise.
6635 * termios/tcsetpgrp.c: Likewise.
6636 * time/adjtime.c: Likewise.
6637 * time/clock.c: Likewise.
6638 * time/getitimer.c: Likewise.
6639 * time/gettimeofday.c: Likewise.
6640 * time/setitimer.c: Likewise.
6641 * time/settimeofday.c: Likewise.
6642 * time/stime.c: Likewise.
6643 * time/time.c: Likewise.
6644
66452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6646
a20492cf
PT
6647 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6648 /usr/old/bin.
6649
72e182e3
PT
6650 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6651 instead of spaces.
6652 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6653
fbeafede
JM
66542012-11-03 Joseph Myers <joseph@codesourcery.com>
6655
5b5b04d6
JM
6656 [BZ #14796]
6657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6658 FE_TONEAREST before applying Dekker multiplication and Knuth
6659 addition. Clear inexact exceptions and check for exact zero
6660 results afterwards.
6661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6664 * math/libm-test.inc (fma_test): Add more tests.
6665 (fma_test_towardzero): Likewise.
6666 (fma_test_downward): Likewise.
6667 (fma_test_upward): Likewise.
6668 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6669 function.
6670 (libc_fesetround): New macro.
6671 (libc_fesetroundf): Likewise.
6672 (libc_fesetroundl): Likewise.
6673 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6674 function.
6675 (libc_fesetround_387): Likewise.
6676 (libc_fesetroundf): New macro.
6677 (libc_fesetround): Likewise.
6678 (libc_fesetroundl): Likewise.
6679 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6680 function.
6681 (libc_fesetroundf): New macro.
6682 (libc_fesetround): Likewise.
6683 (libc_fesetroundl): Likewise.
6684 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6685 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6686 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6687 libm_hidden_ver.
6688 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6689 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6690 libm_hidden_def.
6691 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6692 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6693 libm_hidden_ver.
6694 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6695 libm_hidden_def.
6696
fbeafede
JM
6697 [BZ #3439]
6698 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6699 integer constant usable in #if and use that to give value to enum
6700 constant.
6701 (FE_DIVBYZERO): Likewise.
6702 (FE_UNDERFLOW): Likewise.
6703 (FE_OVERFLOW): Likewise.
6704 (FE_INVALID): Likewise.
6705 (FE_INVALID_SNAN): Likewise.
6706 (FE_INVALID_ISI): Likewise.
6707 (FE_INVALID_IDI): Likewise.
6708 (FE_INVALID_ZDZ): Likewise.
6709 (FE_INVALID_IMZ): Likewise.
6710 (FE_INVALID_COMPARE): Likewise.
6711 (FE_INVALID_SOFTWARE): Likewise.
6712 (FE_INVALID_SQRT): Likewise.
6713 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6714 (FE_TONEAREST): Likewise.
6715 (FE_TOWARDZERO): Likewise.
6716 (FE_UPWARD): Likewise.
6717 (FE_DOWNWARD): Likewise.
6718 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6719 (FE_DIVBYZERO): Likewise.
6720 (FE_OVERFLOW): Likewise.
6721 (FE_UNDERFLOW): Likewise.
6722 (FE_INEXACT): Likewise.
6723 (FE_TONEAREST): Likewise.
6724 (FE_DOWNWARD): Likewise.
6725 (FE_UPWARD): Likewise.
6726 (FE_TOWARDZERO): Likewise.
6727 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6728 (FE_UNDERFLOW): Likewise.
6729 (FE_OVERFLOW): Likewise.
6730 (FE_DIVBYZERO): Likewise.
6731 (FE_INVALID): Likewise.
6732 (FE_TONEAREST): Likewise.
6733 (FE_TOWARDZERO): Likewise.
6734 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6735 (FE_OVERFLOW): Likewise.
6736 (FE_UNDERFLOW): Likewise.
6737 (FE_DIVBYZERO): Likewise.
6738 (FE_INEXACT): Likewise.
6739 (FE_TONEAREST): Likewise.
6740 (FE_TOWARDZERO): Likewise.
6741 (FE_UPWARD): Likewise.
6742 (FE_DOWNWARD): Likewise.
6743 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6744 (FE_DIVBYZERO): Likewise.
6745 (FE_OVERFLOW): Likewise.
6746 (FE_UNDERFLOW): Likewise.
6747 (FE_INEXACT): Likewise.
6748 (FE_TONEAREST): Likewise.
6749 (FE_DOWNWARD): Likewise.
6750 (FE_UPWARD): Likewise.
6751 (FE_TOWARDZERO): Likewise.
6752
105ca950
CM
67532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6754
6755 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6756
a542b389
AS
67572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6758
6759 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6760 commands. Quote $PWD.
6761 (blacklist_exports): Don't use remove_newlines. Replace "declare
6762 -x" by "export".
6763 (remove_newlines): Remove.
6764
f62c8abc
L
67652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6766
6767 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6768 * stdlib/stdlib.h (atof): Moved to ...
6769 * include/bits/stdlib-float.h: Here. New file.
6770 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6771 * stdlib/bits/stdlib-float.h: New file.
6772 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6773 -mno-sse -mno-mmx.
6774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6775 <xmmintrin.h>.
6776
0155d5b2
JM
67772012-11-02 Joseph Myers <joseph@codesourcery.com>
6778
a68d0680
JM
6779 * conform/conformtest.pl (@headers): Add fenv.h.
6780 * conform/data/fenv.h-data: New file.
6781 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6782 include of <math/fenv.h>.
6783
caf7f573
JM
6784 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6785 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6786 && !UNIX98]. Enables tests for XOPEN2K8.
6787 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6788 POSIX2008]: Likewise.
6789
6c073ad6
JM
6790 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6791 (struct rusage): Do not expect type or its members.
6792
0155d5b2
JM
6793 [BZ #3439]
6794 * math/math.h (FP_NAN): Define macro to integer constant usable in
6795 #if and use that to give value to enum constant.
6796 (FP_INFINITE): Likewise.
6797 (FP_ZERO): Likewise.
6798 (FP_SUBNORMAL): Likewise.
6799 (FP_NORMAL): Likewise.
6800
b5dcacb4
AS
68012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6802
6803 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6804 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6805 arguments.
6806
f7934be8
RM
68072012-11-02 Roland McGrath <roland@hack.frob.com>
6808
6809 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6810 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6811 autoconf-time if not.
6812 * configure.in: Remove AC_PREREQ.
6813
d7d08bde
TMQMF
68142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6815
6816 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6817 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6818 of the internal implementation.
6819
dcdae19a
JM
68202012-11-02 Joseph Myers <joseph@codesourcery.com>
6821
6822 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6823 except include of <misc/sys/syslog.h>.
6824
d6cffd3e
AS
68252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6826
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6828 function returns with a NULL context exit with zero.
6829
b3563932
TMQMF
68302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6831
6832 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6833
b288a93d
L
68342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6837 (run_program_cmd): This.
6838 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6839 (tst_langinfo): New variable. Use it.
6840
a2421a68
SAS
68412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6842
6843 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6844 floating point opcodes.
6845
6f796e1b
TS
68462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6847
7402596b
TS
6848 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6849 variable.
6850
d0d4f868
TS
6851 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6852
6f796e1b
TS
6853 * sysdeps/mach/hurd/powerpc: Remove directory.
6854 * sysdeps/mach/powerpc: Likewise.
6855
4da224a2
AS
68562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 * scripts/check-local-headers.sh: Ignore c++ headers.
6859
341dd673
TS
68602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6861
6862 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6863 __libc_cleanup_region_start argument.
6864
473611b2
JM
68652012-11-01 Joseph Myers <joseph@codesourcery.com>
6866
6867 [BZ #14784]
6868 [BZ #14785]
6869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6870 x * y using scaling, not as x * y + z.
6871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6873 * math/libm-test.inc (fma_test): Add more tests.
6874 (fma_test_towardzero): Likewise.
6875 (fma_test_downward): Likewise.
6876 (fma_test_upward): Likewise.
6877
4078da3d
TS
68782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6879
6880 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6881
903252aa
JM
68822012-10-31 Joseph Myers <joseph@codesourcery.com>
6883
6884 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6885 New variable.
6886
cbc818d0
TS
68872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6888
6889 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6890
5a03cb1e
AS
68912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6892
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6894 Fix sort order.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6896 Likewise.
6897
90aff2ff
TMQMF
68982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6899
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6901 Fix the order of the list for glibc 2.17.
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6903 Likewise.
6904
1818fcb7
AS
69052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6906
6907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6908
ef82f4da
JM
69092012-10-31 Joseph Myers <joseph@codesourcery.com>
6910
16a0e2ec
JM
6911 [BZ #14610]
6912 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6913 for low part of x being zero before using __atanl (y).
6914 * math/libm-test.inc (atan2_test): Add another test.
6915
0eb69512
JM
6916 * manual/install.texi (Configuring and compiling): Document
6917 general use of test-wrapper and test-wrapper-env.
6918 * INSTALL: Regenerated.
6919
ef82f4da
JM
6920 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6921 (__fma): Do not extract and scale down low bits on after-rounding
6922 systems when result rounded to normal precision would have normal
6923 exponent.
6924 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6925 (__fmal): Do not extract and scale down low bits on after-rounding
6926 systems when result rounded to normal precision would have normal
6927 exponent.
6928 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6929 (__fmal): Do not extract and scale down low bits on after-rounding
6930 systems when result rounded to normal precision would have normal
6931 exponent.
6932 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6933 macro.
6934 (fma_test): Add more tests.
6935 (fma_test_towardzero): Likewise.
6936 (fma_test_downward): Likewise.
6937 (fma_test_upward): Likewise.
6938
954ef0d9
L
69392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6940
6941 * sysdeps/i386/tininess.h: Renamed to ...
6942 * sysdeps/x86/tininess.h: This.
6943 * sysdeps/x86_64/tininess.h: Removed.
6944
df61ffb2
JM
69452012-10-30 Joseph Myers <joseph@codesourcery.com>
6946
6947 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6948 input. Use $(build-program-cmd).
6949 ($(objpfx)tst-array1-static.out): Likewise.
6950 ($(objpfx)tst-array2.out): Likewise.
6951 ($(objpfx)tst-array3.out): Likewise.
6952 ($(objpfx)tst-array4.out): Likewise.
6953 ($(objpfx)tst-array5.out): Likewise.
6954 ($(objpfx)tst-array5-static.out): Likewise.
6955
01767843
CM
69562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6957
47cc1490
CM
6958 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6959 if defined.
6960
01767843
CM
6961 * nss/nsswitch.h (nss_interface_function): Provide new
6962 macro for use with NSS functions.
6963 * grp/initgroups.c: Use new macro.
6964 * nss/getXXbyYY.c: Likewise.
6965 * nss/getXXbyYY_r.c: Likewise.
6966 * nss/getXXent.c: Likewise.
6967 * nss/getXXent_r.c: Likewise.
6968 * sysdeps/posix/getaddrinfo.c: Likewise.
6969
8321aa97
AJ
69702012-10-30 Andreas Jaeger <aj@suse.de>
6971
6972 * po/ru.po: Update Russion translation from translation project.
6973
2a27fd6d
JM
69742012-10-30 Joseph Myers <joseph@codesourcery.com>
6975
8627a232
JM
6976 [BZ #14152]
6977 [BZ #14783]
6978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6979 result and shift together with sticky bit instead of replicating
6980 round-to-nearest rounding.
6981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6983 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6984 missing underflow exceptions.
6985 (fma_test_towardzero): Add more tests.
6986 (fma_test_downward): Likewise.
6987 (fma_test_upward): Likewise.
6988
2a27fd6d
JM
6989 [BZ #14047]
6990 * sysdeps/generic/tininess.h: New file.
6991 * sysdeps/i386/tininess.h: Likewise.
6992 * sysdeps/sh/tininess.h: Likewise.
6993 * sysdeps/x86_64/tininess.h: Likewise.
6994 * stdlib/tst-strtod-underflow.c: Likewise.
6995 * stdlib/tst-tininess.c: Likewise.
6996 * stdlib/strtod_l.c: Include <tininess.h>.
6997 (round_and_return): Do not set errno for exact underflow cases.
6998 Force an underflow exception when setting errno for underflow.
6999 Determine underflow based on rounding to normal precision if
7000 TININESS_AFTER_ROUNDING.
7001 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7002 ERANGE for exact underflow cases.
7003 * stdlib/Makefile (tests): Add tst-tininess and
7004 tst-strtod-underflow.
7005 ($(objpfx)tst-tininess): Use $(link-libm).
7006 ($(objpfx)tst-strtod-underflow): Likewise.
7007
e7170363
AJ
70082012-10-30 Andreas Jaeger <aj@suse.de>
7009
e5088dc6
AJ
7010 [BZ#14767]
7011 * elf/Makefile (tests): Remove conditional for have-initfini-array
7012 since this is now always required and the variable does not exist
7013 anymore.
7014 (tests-static): Likewise.
7015 (modules-names): Likewise.
7016
e7170363 7017 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7018
7019 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7020 merged with constructor/destructor.
7021 (init_array): Likewise.
7022 * elf/tst-array2dep.c (fini_array): Likewise.
7023 (init_array): Likewise.
7024
60457d8a
MF
70252012-10-29 Mike Frysinger <vapier@gentoo.org>
7026
7027 * manual/message.texi: Delete @cartouche tags.
7028
8bece752
PT
70292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7030
94ce799f
PT
7031 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7032 EOPNOTSUPP.
7033 * sysdeps/mach/hurd/fsync.c: Likewise.
7034
8bece752
PT
7035 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7036 [_POSIX_REALTIME_SIGNALS]: Change condition to
7037 [_POSIX_REALTIME_SIGNALS > 0].
7038
86ebe6b1
AJ
70392012-10-27 Andreas Jaeger <aj@suse.de>
7040
7041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7042 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7044 [__WORDSIZE != 64]: Likewise.
7045
54399c08
L
70462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7047
7048 * iconvdata/tst-table.sh: Remove ${SHELL}.
7049 * iconvdata/tst-tables.sh: Likewise.
7050
e2211bed
DM
70512012-10-25 David S. Miller <davem@davemloft.net>
7052
7053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7054 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7055 of strtoull.
7056
f303f97c
DM
7057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7058 ifunc-impl-list.c
7059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7060 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7061 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7062 file.
7063
1e9d84cd
RM
70642012-10-25 Roland McGrath <roland@hack.frob.com>
7065
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7067 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7068 __getdirentries.
7069
df381762
JM
70702012-10-25 Joseph Myers <joseph@codesourcery.com>
7071 Jim Blandy <jimb@codesourcery.com>
7072
7073 * scripts/cross-test-ssh.sh: New file.
7074 * manual/install.texi (Configuring and compiling): Document use of
7075 cross-test-ssh.sh.
7076 * INSTALL: Regenerated.
7077
bff64913
PT
70782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7079
7080 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7081 EOPNOTSUPP.
7082
25fe8932
JM
70832012-10-25 Joseph Myers <joseph@codesourcery.com>
7084
7085 * Makeconfig (run-program-prefix): Fix comment.
7086
cc1290d0
JM
70872012-10-24 Joseph Myers <joseph@codesourcery.com>
7088 Jim Blandy <jimb@codesourcery.com>
7089
7090 * Makeconfig (test-wrapper): New variable,
7091 (test-wrapper-env): Likewise.
7092 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7093 (run-built-tests): Define to yes.
7094 (run-program-prefix): Use $(test-wrapper).
7095 (built-program-cmd): Likewise.
7096 * Rules (make-test-out): Use $(test-wrapper-env) and
7097 $(host-built-program-cmd).
7098 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7099 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7100 tst-pathopt.sh.
7101 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7102 $(test-wrapper-env) to tst-rtld-load-self.sh.
7103 ($(objpfx)order2.out): Use $(test-wrapper).
7104 ($(objpfx)tst-initorder.out): Likewise.
7105 ($(objpfx)tst-initorder2.out): Likewise.
7106 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7107 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7108 (test_wrapper_env): New variable. Use it to run ld.so.
7109 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7110 Use it to run ld.so.
7111 (test_wrapper_env): Likewise.
7112 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7113 $(test-wrapper) to run-iconv-test.sh.
7114 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7115 (ICONV): Use $test_wrapper.
7116 * posix/Makefile ($(objpfx)globtest.out): Pass
7117 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7118 globtest.sh, not $(run-program-prefix).
7119 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7120 (test_wrapper): Likewise.
7121 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7122 set together with run_via_rtld_prefix.
7123 (run_program_prefix): Define in terms of test_wrapper and
7124 run_via_rtld_prefix.
7125
6e6249d0
RM
71262012-10-24 Roland McGrath <roland@hack.frob.com>
7127
7128 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7129 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7130 Targets removed.
7131
7132 [BZ #14743]
7133 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7134 Declare __clock_getres, __clock_gettime, __clock_settime,
7135 __clock_nanosleep, and __clock_getcpuclockid.
7136 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7137 Remove librt_hidden_def (clock_gettime).
7138 * sysdeps/unix/clock_gettime.c: Likewise.
7139 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7141 * rt/clock_getres.c: Define __clock_getres as an alias.
7142 * sysdeps/posix/clock_getres.c: Likewise.
7143 * rt/clock_settime.c: Define __clock_settime as an alias.
7144 * sysdeps/unix/clock_settime.c: Likewise.
7145 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7146 * sysdeps/unix/clock_nanosleep.c: Likewise.
7147 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7148 * rt/clock-compat.c: New file.
7149 * rt/Makefile (librt-routines): Add clock-compat and move
7150 $(clock-routines) to ...
7151 (routines): ... here, new variable.
7152 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7153 Don't add get_clockfreq here.
7154 * rt/Versions (libc: GLIBC_2.17): New version set.
7155 Add clock_* symbols here.
7156 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7158 (GLIBC_2.17): Add clock_* symbols.
7159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7163 Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7165 Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7170 * NEWS: Mention the move.
7171
7172 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7173 Use __open, __read, __close rather than their public counterparts.
7174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7175 (__get_clockfreq_via_cpuinfo): Likewise.
7176 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7177 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7178
7179 * config.h.in (HAVE_IFUNC): New #undef.
7180 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7181 was successful.
7182 * configure: Regenerated.
7183
0cae3f4b
MF
71842012-10-24 Mike Frysinger <vapier@gentoo.org>
7185
7186 * configure.in: Move READELF check to start of file.
7187 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7188 libc_cv_asm_gnu_indirect_function in the process.
7189 * configure: Regenerated.
7190
8175a253
MF
71912012-10-24 Mike Frysinger <vapier@gentoo.org>
7192
7193 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7194 send the output to /dev/null.
7195 (libc_cv_cc_with_libunwind): Likewise.
7196 (libc_cv_as_noexecstack): Likewise.
7197 * configure: Regenerate.
7198
0708a7d1
JM
71992012-10-24 Joseph Myers <joseph@codesourcery.com>
7200
10b40d85
JM
7201 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7202
0708a7d1
JM
7203 * posix/globtest.sh (TMPDIR): Do not set.
7204 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7205 (testout): Likewise.
7206
9fddec1a
AJ
72072012-10-24 Andreas Jaeger <aj@suse.de>
7208
3a8db22f
AJ
7209 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7210 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7211 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7212 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7213 posix_fadvise64, posix_fallocate64.
7214
9fddec1a
AJ
7215 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7216 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7217 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7218 Likewise.
7219 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7220 Likewise.
7221 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7222
7223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7224 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7225 <bits/fcntl-linux.h>.
7226 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7227
7228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7229 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7230 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7231 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7232 [__WORDSIZE != 64]: Likewise.
7233
ebfd1bbd
JM
72342012-10-23 Joseph Myers <joseph@codesourcery.com>
7235
03ac099f
JM
7236 * Makeconfig (run-built-tests): New variable.
7237 * Rules [$(cross-compiling) = yes]: Change condition to
7238 [$(run-built-tests) = no].
7239 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7240 to [$(run-built-tests) = yes].
7241 * elf/Makefile [$(cross-compiling) = no]: Likewise
7242 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7243 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7244 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7245 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7246 * io/Makefile [$(cross-compiling) = no]: Likewise.
7247 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7248 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7249 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7250 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7251 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7252 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7253 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7254 * string/Makefile [$(cross-compiling) = no]: Likewise.
7255
ebfd1bbd
JM
7256 * posix/Makefile ($(objpfx)globtest.out): Pass
7257 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7258 $(rtld-installed-name).
7259 * posix/globtest.sh (elf_objpfx): Remove variable.
7260 (rtld_installed_name): Likewise.
7261 (library_path): Likewise.
7262 (run_program_prefix): New variable. Use for running globtest
7263 binary.
7264
166bca24
JB
72652012-10-23 Jim Blandy <jimb@codesourcery.com>
7266 Joseph Myers <joseph@codesourcery.com>
7267
7268 * Makeconfig (host-built-program-cmd): New variable.
7269 * elf/Makefile (tst-stackguard1-ARGS): Use
7270 $(host-built-program-cmd).
7271 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7272 (tst-spawn-ARGS): Likewise.
7273 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7274
88866099
JM
72752012-10-23 Joseph Myers <joseph@codesourcery.com>
7276 Jim Blandy <jimb@codesourcery.com>
7277
7278 * Makeconfig (run-via-rtld-prefix): New variable.
7279 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7280 (built-program-cmd): Likewise.
7281
b4b4c296
AJ
72822012-10-22 Andreas Jaeger <aj@suse.de>
7283
7284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7285 __O_RSYNC if it exists, otherwise to O_SYNC.
7286
6fb54a22
JB
72872012-10-22 Jim Blandy <jimb@codesourcery.com>
7288 Joseph Myers <joseph@codesourcery.com>
7289
7290 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7291 /dev/null.
7292 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7293 from /dev/null
7294 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7295 /dev/null.
7296
481b90b9
AJ
72972012-10-22 Andreas Jaeger <aj@suse.de>
7298
2a0e2669
AJ
7299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7300 Define always.
7301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7302
76e38f9a
AJ
7303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7304 bits/fcntl-linux.h.
7305
7cd37b43
AJ
7306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7307 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7308
481b90b9
AJ
7309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7310 to __O_LARGEFILE.
7311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7312 to __O_LARGEFILE.
7313
aba75984
JB
73142012-10-21 Jim Blandy <jimb@codesourcery.com>
7315 Joseph Myers <joseph@codesourcery.com>
7316
7317 * config.make.in (NM): New variable.
7318
88d4247f
AJ
73192012-10-21 Andreas Jaeger <aj@suse.de>
7320
7321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7322 definitions and declarations that are provided by
7323 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7324
f2eed205
L
73252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7326
7327 [BZ #14683]
7328 * elf/Makefile (tests-static): Add tst-leaks1-static.
7329 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7330 ($(objpfx)tst-leaks1-static): New rule.
7331 ($(objpfx)tst-leaks1-static-mem): Likewise.
7332 (tst-leaks1-static-ENV): New macro.
7333 * elf/dl-open.c (dl_open_worker): Check the main application
7334 only if SHARED is defined.
7335 * elf/tst-leaks1-static.c: New file.
7336
335e6931
AJ
73372012-10-20 Andreas Jaeger <aj@suse.de>
7338
7339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7340 generic values for Linux.
7341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7342 and declarations that are provided by <bits/fcntl-linux.h> and
7343 include <bits/fcntl-linux.h>.
7344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7346
ac5c94d3
RM
73472012-10-20 Roland McGrath <roland@hack.frob.com>
7348
7349 * io/fcntl.h: Move include of <bits/types.h> to the top and
7350 include it unconditionally.
7351
de54b33a
L
73522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7353
228cfb01
L
7354 * wcsmbs/Makefile (tests-ifunc): New variable.
7355 (tests): Add $(tests-ifunc).
7356 * wcsmbs/test-wcschr-ifunc.c: New file.
7357 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7358 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7359 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7360 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7361 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7362
69f07e5f
L
7363 * string/Makefile (tests-ifunc): New variable.
7364 (tests): Add $(tests-ifunc).
7365 * string/test-memccpy.c (TEST_NAME): New macro.
7366 * string/test-memchr.c (TEST_NAME): Likewise.
7367 * string/test-memcmp.c (TEST_NAME): Likewise.
7368 * string/test-memcpy.c (TEST_NAME): Likewise.
7369 * string/test-memmem.c (TEST_NAME): Likewise.
7370 * string/test-memmove.c (TEST_NAME): Likewise.
7371 * string/test-memset.c (TEST_NAME): Likewise.
7372 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7373 * string/test-stpcpy.c (TEST_NAME): Likewise.
7374 * string/test-stpncpy.c (TEST_NAME): Likewise.
7375 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7376 * string/test-strcasestr.c (TEST_NAME): Likewise.
7377 * string/test-strcat.c (TEST_NAME): Likewise.
7378 * string/test-strchr.c (TEST_NAME): Likewise.
7379 * string/test-strcmp.c(TEST_NAME): Likewise.
7380 * string/test-strcpy.c (TEST_NAME): Likewise.
7381 * string/test-strcspn.c (TEST_NAME): Likewise.
7382 * string/test-strlen.c (TEST_NAME): Likewise.
7383 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7384 * string/test-strncmp.c (TEST_NAME): Likewise.
7385 * string/test-strncpy.c (TEST_NAME): Likewise.
7386 * string/test-strnlen.c (TEST_NAME): Likewise.
7387 * string/test-strpbrk.c (TEST_NAME): Likewise.
7388 * string/test-strrchr.c (TEST_NAME): Likewise.
7389 * string/test-strspn.c (TEST_NAME): Likewise.
7390 * string/test-strstr.c (TEST_NAME): Likewise.
7391 * string/test-bcopy-ifunc.c: New file.
7392 * string/test-bzero-ifunc.c: Likewise.
7393 * string/test-memccpy-ifunc.c: Likewise.
7394 * string/test-memchr-ifunc.c: Likewise.
7395 * string/test-memcmp-ifunc.c: Likewise.
7396 * string/test-memcpy-ifunc.c: Likewise.
7397 * string/test-memmem-ifunc.c: Likewise.
7398 * string/test-memmove-ifunc.c: Likewise.
7399 * string/test-mempcpy-ifunc.c: Likewise.
7400 * string/test-memset-ifunc.c: Likewise.
7401 * string/test-rawmemchr-ifunc.c: Likewise.
7402 * string/test-stpcpy-ifunc.c: Likewise.
7403 * string/test-stpncpy-ifunc.c: Likewise.
7404 * string/test-strcasecmp-ifunc.c: Likewise.
7405 * string/test-strcasestr-ifunc.c: Likewise.
7406 * string/test-strcat-ifunc.c: Likewise.
7407 * string/test-strchr-ifunc.c: Likewise.
7408 * string/test-strchrnul-ifunc.c: Likewise.
7409 * string/test-strcmp-ifunc.c: Likewise.
7410 * string/test-strcpy-ifunc.c: Likewise.
7411 * string/test-strcspn-ifunc.c: Likewise.
7412 * string/test-strlen-ifunc.c: Likewise.
7413 * string/test-strncasecmp-ifunc.c: Likewise.
7414 * string/test-strncat-ifunc.c: Likewise.
7415 * string/test-strncmp-ifunc.c: Likewise.
7416 * string/test-strncpy-ifunc.c: Likewise.
7417 * string/test-strnlen-ifunc.c: Likewise.
7418 * string/test-strpbrk-ifunc.c: Likewise.
7419 * string/test-strrchr-ifunc.c: Likewise.
7420 * string/test-strspn-ifunc.c: Likewise.
7421 * string/test-strstr-ifunc.c: Likewise.
7422
de54b33a
L
7423 * debug/Makefile (tests-ifunc): New variable.
7424 (tests): Add $(tests-ifunc).
7425 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7426 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7427 * debug/test-stpcpy_chk-ifunc.c: New file.
7428 * debug/test-strcpy_chk-ifunc.c: Likewise.
7429
88481c16
SP
74302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7431
7432 [BZ #13601]
7433 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7434 header is not read in.
7435
135948bd
JM
74362012-10-19 Joseph Myers <joseph@codesourcery.com>
7437
89f1c388
JM
7438 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7439 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7440 directly. Pass built executable to script as
7441 $(built-program-cmd).
7442 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7443 $testprogram without using LD_LIBRARY_PATH and $ldso.
7444
e40a0d21
JM
7445 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7446 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7447 $(rtld-installed-name).
7448 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7449 (rtld_installed_name): Likewise.
7450 (library_path): Likewise.
7451 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7452 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7453 $(run-program-prefix) to tst-tables.sh.
7454 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7455 it to run tst-table-from and tst-table-to.
7456 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7457 Pass it to tst-table.sh.
7458 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7459 $(run-program-prefix) to tst-gettext.sh.
7460 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7461 tst-translit.sh.
7462 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7463 tst-gettext2.sh.
7464 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7465 to run tst-gettext.
7466 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7467 to run tst-gettext2.
7468 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7469 to run tst-translit.
7470 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7471 $(run-program-prefix) to tst-mtrace.sh.
7472 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7473 to run tst-mtrace.
7474 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7475 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7476 $(rtld-installed-name).
7477 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7478 (rtld_installed_name): Likewise.
7479 (run_program_prefix): New variable. Use it to run wordexp-test.
7480
728e272a
JM
7481 * Makeconfig (ARCH): Remove all definitions.
7482 (machine): Likewise.
7483 [ARCH]: Remove conditional code.
7484 [!objdir]: Give error.
7485 [!objdir] (objpfx): Remove.
7486 [!objdir] (common-objpfx): Likewise.
7487 [!objdir] (common-objdir): Likewise.
7488 * configure.in (config_makefile): Remove. Hardcode Makefile in
7489 AC_CONFIG_FILES call.
7490 * configure: Regenerated.
7491
d528cdcf
JM
7492 [BZ #13888]
7493 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7494 or TMPDIR.
7495 (testout): Likewise.
7496
135948bd
JM
7497 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7498 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7499 $(rtld-installed-name).
7500 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7501 (rtld_installed_name): Likwise.
7502 (runit): Remove function.
7503 (run_getconf): New variable, Use it for running getconf binary.
7504
38c78296
L
75052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 [BZ #14716]
7508 * string/test-memmem.c (check_result): New function.
7509 (do_one_test): Use it.
7510 (check1): New function.
7511 (test_main): Use it.
7512
d077f65f
MT
75132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7514
7515 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7516
ced52c71
JM
75172012-10-18 Joseph Myers <joseph@codesourcery.com>
7518
7519 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7520 (_G_LSEEK64): Likewise.
7521 (_G_MMAP64): Likewise.
7522 (_G_FSTAT64): Likewise.
7523 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7524 (_G_LSEEK64): Likewise.
7525 (_G_MMAP64): Likewise.
7526 (_G_FSTAT64): Likewise.
7527 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7528 unconditional. Call __mmap64 directly.
7529 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7530 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7531 __lseek64 directly.
7532 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7533 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7534 __mmap64 directly.
7535 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7536 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7537 __lseek64 directly.
7538 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7539 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7540 __lseek64 directly.
7541 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7542 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7543 __lseek64 directly.
7544 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7545 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7546 __fxstat64 directly.
7547 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7548 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7549 unconditional.
7550 (freopen64) [!_G_OPEN64]: Remove conditional code.
7551 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7552 unconditional.
7553 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7554 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7555 unconditional.
7556 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7557 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7558 unconditional.
7559 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7560 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7561 unconditional.
7562 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7563 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7564 unconditional.
7565 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7566 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7567 unconditional.
7568 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7569 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7570 unconditional.
7571 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7572
b741de23
SP
75732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7574
7575 [BZ #12140]
7576 * manual/memory.texi (Malloc Tunable Parameters): Add note
7577 about free list pointers overwriting some perturb bytes.
7578 Wording suggested by Roland McGrath.
7579
f9b9d9c9
JM
75802012-10-17 Joseph Myers <joseph@codesourcery.com>
7581
7582 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7583 (lgamma_test): Likewise.
7584 (tgamma_test): Likewise.
7585
172a631a
FW
75862012-10-16 Florian Weimer <fweimer@redhat.com>
7587
7588 [BZ #14700]
7589 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7590 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7591
e9f37252
MK
75922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7593
7594 * NEWS: Mention BZ #14716.
7595 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7596 when removing AVAILABLE1_USES_J macro.
7597
d394eb74
L
75982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7601 (__bswap_64): __uint64_t for unsigned 64-bit int.
7602
ca38dc17
AS
76032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7604
7605 * include/string.h (memmem): Declare libc hidden alias.
7606 * string/memmem.c (memmem): Define libc hidden alias.
7607 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7608 __read, __close instead of open, read, close.
7609
9a387d1f
L
76102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7611
ac49ecaf
L
7612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7613 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7614 global and hidden.
7615 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7616 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7617 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7618 Likewise.
7619 (__rawmemchr_sse2): Likewise.
7620 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7621 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7622 (__strchr_sse2): Likewise.
7623 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7624 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7625 (__strcasecmp_sse2): Likewise.
7626 (__strncasecmp_sse2): Likewise.
7627 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7628 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7629 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7630 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7631 (__strrchr_sse2): Likewise.
7632 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7633 ifunc-impl-list.c.
7634 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7635 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7636 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7637 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7638 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7639 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7640 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7641 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7642 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7643 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7644 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7645 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7646 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7647 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7648 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7649 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7650 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7651 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7652 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7653 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7654 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7655 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7656 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7657 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7658 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7659 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7660 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7661 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7662 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7663 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7664
b090e8ea
L
7665 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7666 global and hidden.
7667 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7668 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7669 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7670 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7671 Likewise.
7672 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7673 Likewise.
7674 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7675 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7676 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7677 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7678 ifunc-impl-list.c.
7679 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7680 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7681 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7682 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7683 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7684 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7685 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7686 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7687 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7688 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7689 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7690 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7691 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7692 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7693 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7694 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7696 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7697 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7698 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7700 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7701 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7702 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7704 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7705 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7706 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7707 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7708 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7709 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7710 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7711 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7712 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7719 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7720
11dd4af6
L
7721 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7722 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7723 * include/ifunc-impl-list.h: New file.
7724 * misc/ifunc-impl-list.c: Likewise.
7725 * misc/Makefile (routines): Add ifunc-impl-list.
7726 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7727 * string/test-string.h: Include <ifunc-impl-list.h>.
7728 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7729 impl_array): New variables.
7730 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7731 are defined.
7732 (test_init): Call __libc_ifunc_impl_list to initialize
7733 func_list if TEST_IFUNC and TEST_NAME are defined.
7734
9a387d1f
L
7735 * string/Makefile (strop-tests): Add bcopy and bzero.
7736 * string/test-bcopy.c: New file.
7737 * string/test-bzero.c: Likewise.
7738 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7739 defined.
7740 * string/test-memset.c: Support bzero test if TEST_BZERO is
7741 defined.
7742 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7743 __libc_memmove.
7744 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7745 __libc_memset.
7746 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7747 of memset.
7748
472371b9
JM
77492012-10-10 Joseph Myers <joseph@codesourcery.com>
7750
1e4a9536
JM
7751 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7752 * configure: Regenerated.
7753
d173d12e
JM
7754 * Makeconfig (+link-static-before-libc): Don't include
7755 $(link-static-libc).
7756
472371b9
JM
7757 * libio/libio.h (_IO_pos_t): Remove.
7758
89a3ad0b
AO
77592012-10-10 Alexandre Oliva <aoliva@redhat.com>
7760
7761 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7762 McGrath.
7763
e7451425
AO
77642012-10-10 Alexandre Oliva <aoliva@redhat.com>
7765
7766 * crypt/crypt-entry.c: Include fips-private.h.
7767 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7768 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7769 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7770 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7771
4ba74a35
AO
77722012-10-10 Alexandre Oliva <aoliva@redhat.com>
7773
7774 * crypt/crypt-private.h: Include stdbool.h.
7775 (_ufc_setup_salt_r): Return bool.
7776 * crypt/crypt-entry.c: Include errno.h.
7777 (__crypt_r): Return NULL with EINVAL for bad salt.
7778 * crypt/crypt_util.c (bad_for_salt): New.
7779 (_ufc_setup_salt_r): Check that salt is long enough and within
7780 the specified alphabet.
7781 * crypt/badsalttest.c: New file.
7782 * crypt/Makefile (tests): Add it.
7783 ($(objpfx)badsalttest): New.
7784
f96f1242
MK
77852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7786
7787 * NEWS: Add entry for BZ #14602.
7788
0e8e0c1c
JM
77892012-10-09 Joseph Myers <joseph@codesourcery.com>
7790
7791 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7792 type-generic.
7793 * math/libm-test.inc: Update comment listing what functions and
7794 macros are tested.
7795 (isgreater_test): New function.
7796 (isgreaterequal_test): Likewise.
7797 (isless_test): Likewise.
7798 (islessequal_test): Likewise.
7799 (islessgreater_test): Likewise.
7800 (isunordered_test): Likewise.
7801 (main): Call the new functions.
7802
273edc5e
RM
78032012-10-09 Roland McGrath <roland@hack.frob.com>
7804
b8493de0
RM
7805 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7806 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7807 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7808 * sysdeps/i386/configure: Regenerated.
7809 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7810 * sysdeps/mach/configure: Regenerated.
7811 * sysdeps/mach/hurd/configure: Regenerated.
7812 * sysdeps/powerpc/configure: Regenerated.
7813 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7814 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7815 * sysdeps/s390/s390-32/configure: Regenerated.
7816 * sysdeps/s390/s390-64/configure: Regenerated.
7817 * sysdeps/sh/configure: Regenerated.
7818 * sysdeps/sparc/configure: Regenerated.
7819 * sysdeps/unix/sysv/linux/configure: Regenerated.
7820 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7821 * sysdeps/x86_64/configure: Regenerated.
7822
273edc5e
RM
7823 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7824 defined. Don't check if MAP is NULL.
7825
c8450f70
JM
78262012-10-09 Joseph Myers <joseph@codesourcery.com>
7827
7828 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7829 (_G_stat64): Likewise.
7830 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7831 (_G_stat64): Likewise.
7832 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7833 instead of struct _G_stat64.
7834 * libio/fileops.c (mmap_remap_check): Likewise.
7835 (decide_maybe_mmap): Likewise.
7836 (_IO_new_file_seekoff): Likewise.
7837 (_IO_file_stat): Likewise.
7838 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7839 _G_off64_t.
7840 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7841 instead of struct _G_stat64.
7842 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7843
57e605ba
MK
78442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7845
7846 [BZ #14602]
7847 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7848 Replace with ...
7849 (CHECK_EOL): New macro.
7850 (two_way_short_needle): Check beginning of haystack for EOL. Use
7851 CHECK_EOL.
7852 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7853 Replace with CHECK_EOL.
7854 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7855 Replace with CHECK_EOL.
7856
ef1bb361
JM
78572012-10-08 Joseph Myers <joseph@codesourcery.com>
7858
7859 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7860 type-generic.
7861 * math/libm-test.inc: Update comment listing what functions and
7862 macros are tested.
7863 (finite_test): New function.
7864 (isinf_test): Likewise.
7865 (isnan_test): Likewise.
7866 (fpclassify_test): Test subnormal input.
7867 (isfinite_test): Likewise.
7868 (isnormal_test): Likewise.
7869 (main): Call the new functions.
7870
55f11534
JN
78712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7872
7873 [BZ #14660]
7874 * Makerules (%.dynsym): Force C locale when running
7875 $(OBJDUMP) --dynamic-syms.
7876
1ab29350
AS
78772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7878
7879 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7880 <stdint.h>.
7881
f1ecb7ef
DM
78822012-10-06 David S. Miller <davem@davemloft.net>
7883
7884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7885 upper 32-bits of the length value in %o2 since we use branch-on-register
7886 tests which consider the entire 64-bit register.
7887
5d41d91a
L
78882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 * string/test-strstr.c (check2): Add a test for page boundary.
7891
3baddb72
DM
78922012-10-05 David S. Miller <davem@davemloft.net>
7893
7894 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7895 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7896 file.
7897 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7898 sysdep_routines.
7899 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7900 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7901 and bzero when HWCAP_SPARC_CRYPTO is present.
7902
9cee5585
L
79032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7904
d7e0dab9
L
7905 [BZ #14602]
7906 * string/test-strstr.c (check2): New function.
7907 (test_main): Call check2.
7908
03759f47
L
7909 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7910 and bug-strchr1.
7911 * string/bug-strcasestr1.c (do_test): Moved to ...
7912 * string/test-strcasestr.c (check1): Here. New function.
7913 (do_one_test): Break out result checking code into ...
7914 (check_result): This. New function.
7915 (do_one_test): Call check_result.
7916 (test_main): Call check1.
7917 * string/bug-strchr1.c (do_test): Moved to ...
7918 * string/test-strchr.c (check1): Here. New function.
7919 (do_one_test): Break out result checking code into ...
7920 (check_result): This. New function.
7921 (do_one_test): Call check_result.
7922 (test_main): Call check1.
7923 * string/bug-strstr1.c (main): Moved to ...
046f153e 7924 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7925 (do_one_test): Break out result checking code into ...
7926 (check_result): This. New function.
7927 (do_one_test): Call check_result.
7928 (test_main): Call check1.
7929 * string/bug-strcasestr1.c: Removed.
7930 * string/bug-strchr1.c: Likewise.
7931 * string/bug-strstr1.c: Likewise.
7932
53cea63e
L
7933 * elf/Makefile (dl-routines): Add hwcaps.
7934 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7935 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7936 (_dl_important_hwcaps): Moved to ...
7937 * elf/dl-hwcaps.c: Here. New file.
7938 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7939
9cee5585 7940 [BZ #14557]
bb859b06
L
7941 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7942 if IS_IN_rtld isn't defined.
7943
9cee5585
L
7944 * elf/dl-support.c (_dl_sysinfo_map): New.
7945 Include "get-dynamic-info.h" and "setup-vdso.h".
7946 (_dl_non_dynamic_init): Call setup_vdso.
7947 * elf/dynamic-link.h: Don't include <assert.h>.
7948 (elf_get_dynamic_info): Moved to ...
7949 * elf/get-dynamic-info.h: Here. New file.
7950 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7951 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7952 * elf/setup-vdso.h: Here. New file.
7953 * elf/rtld.c: Include "setup-vdso.h".
7954 (dl_main): Call setup_vdso.
7955
23c31b76
JM
79562012-10-05 Joseph Myers <joseph@codesourcery.com>
7957
28234b07
JM
7958 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7959 creal in comment listing functions tested. List finite, isinf,
7960 isnan, isless, islessequal, isgreater, isgreaterequal,
7961 islessgreater, isunordered, lgamma_r and pow10 as functions and
7962 macros not tested. Mention which functions not tested are aliases
7963 for other functions. Fix typo. Note that signs of NaNs are not
7964 tested.
7965
23c31b76
JM
7966 * scripts/config.guess: Update from config.git.
7967 * scripts/config.sub: Likewise.
7968
9043e228
RM
79692012-10-04 Roland McGrath <roland@hack.frob.com>
7970
7971 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7972 * misc/madvise.c (madvise): Renamed to __madvise.
7973 Make madvise a weak alias.
7974 * include/sys/mman.h: Declare __madvise.
7975 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7976 * sysdeps/unix/syscalls.list
7977 (madvise): Make __madvise the strong name, and madvise a weak alias.
7978 * sysdeps/unix/sysv/linux/syscalls.list
7979 (madvise, mmap): Remove redundant entries.
7980 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7981 * malloc/malloc.c (mtrim): Likewise.
7982 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7983
f57f8055
RM
79842012-10-03 Roland McGrath <roland@hack.frob.com>
7985
7986 * sysdeps/mach/hurd/dl-cache.c: File removed.
7987 * config.h.in (USE_LDCONFIG): New #undef.
7988 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7989 * configure: Regenerated.
7990 * elf/Makefile (dl-routines): Add dl-cache only under
7991 [$(use-ldconfig) = yes].
7992 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7993 cache on [USE_LDCONFIG].
7994 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7995 [USE_LDCONFIG].
7996 * elf/rtld.c (dl_main): Likewise.
7997
5bb0c10a
PT
79982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7999
8000 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8001 _SC_LEVEL4_CACHE_LINESIZE.
8002
010188c6
RM
80032012-10-03 Roland McGrath <roland@hack.frob.com>
8004
8005 * sysdeps/unix/bsd/confstr.h: File removed.
8006
b6c5ec07
AO
80072012-10-02 Alexandre Oliva <aoliva@redhat.com>
8008
8009 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8010 sys/sdt-config.h.
8011
408223d4
RM
80122012-10-02 Roland McGrath <roland@hack.frob.com>
8013
8014 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8015 Make 'mapoff' field ElfW(Off) rather than off_t.
8016
bb9510dc
DL
80172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8018
fc997c6e
DL
8019 * nscd/Makefile: Remove nscd-cflags and all its users.
8020 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8021 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8022
bb9510dc
DL
8023 [BZ #10631]
8024 * malloc.c (malloc_printerr): Clarify error message.
8025
05699367
L
80262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8027
8028 [BZ #14648]
8029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8030 Set bit_FMA_Usable if FMA is supported.
8031 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8032 macro.
8033 (bit_FMA4_Usable): Updated.
8034 (index_FMA_Usable): New macro.
8035 (CPUID_FMA): Likewise
8036 (HAS_FMA): Defined with bit_FMA_Usable.
8037
51367701
RM
80382012-10-01 Roland McGrath <roland@hack.frob.com>
8039
8040 * bits/types.h (__swblk_t): Type removed.
8041 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8042 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8044 (__SWBLK_T_TYPE): Likewise.
8045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8046 (__SWBLK_T_TYPE): Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8048 (__SWBLK_T_TYPE): Likewise.
8049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8050 (__SWBLK_T_TYPE): Likewise.
8051
4d57bf63 80522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8053 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8054
8055 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8056 (xdr_mapname): Use YPMAXMAP as maxsize.
8057 (xdr_peername): Use YPMAXPEER as maxsize.
8058 (xdr_keydat): Use YPAXRECORD as maxsize.
8059 (xdr_valdat): Use YPMAXRECORD as maxsize.
8060
93c65d43
RM
80612012-10-01 Roland McGrath <roland@hack.frob.com>
8062
497a03d6
RM
8063 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8064
93c65d43
RM
8065 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8066 * csu/init-first.c: ... here.
8067 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8068 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8069 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8070 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8071 * sysdeps/i386/init-first.c: File removed.
8072 * sysdeps/sh/init-first.c: File removed.
8073
bec749fd
JM
80742012-10-01 Joseph Myers <joseph@codesourcery.com>
8075
8076 [BZ #14645]
8077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8078 if x * y might underflow to zero and z is zero.
8079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8081 * math/libm-test.inc (min_subnorm_value): New variable.
8082 (fma_test): Add more tests.
8083 (fma_test_towardzero): Likewise.
8084 (fma_test_downward): Likewise
8085 (fma_test_upward): Likewise.
8086 (initialize): Set min_subnorm_value.
8087
8ec5b013
JM
80882012-09-29 Joseph Myers <joseph@codesourcery.com>
8089
8090 [BZ #14638]
8091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8092 0 + 0.
8093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8094 mode for addition resulting in exact zero.
8095 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8097 exact 0 + 0.
8098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8100 * math/libm-test.inc (fma_test): Add more tests.
8101 (fma_test_towardzero): New function.
8102 (fma_test_downward): Likewise.
8103 (fma_test_upward): Likewise.
8104 (main): Call the new functions.
8105
b1fa802e
DM
81062012-09-28 David S. Miller <davem@davemloft.net>
8107
8108 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8109
d3b9fd9e
RM
81102012-09-28 Roland McGrath <roland@hack.frob.com>
8111
ea4d37b3
RM
8112 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8113 instead of SIGALRM.
8114
ac51c949
RM
8115 * sysdeps/gnu/_G_config.h: Moved to ...
8116 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8117 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8118 * sysdeps/generic/_G_config.h: ... here.
8119
28c195f7
RM
8120 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8121
848917f9
RM
8122 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8123
6bacf05b
RM
8124 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8125 Conditionalize target on [libnss_test1.so-version].
8126
91363dbb
RM
8127 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8128
cc87f7d8
RM
8129 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8130 (elfobjdir): Move out of conditionals.
8131
b1c608fe
RM
8132 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8133 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8134 (__nss_lookup_function): Conditionalize label remove_from_tree on
8135 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8136
1d9a6d96
DM
81372012-09-28 David S. Miller <davem@davemloft.net>
8138
8139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8140 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8141 file.
8142 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8143 sysdep_routines.
8144 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8146 when HWCAP_SPARC_CRYPTO is present.
8147
72581615
PT
81482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8149
8150 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8151
715a900c
JL
81522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8153
8154 [BZ #6530]
8155 * stdio-common/vfprintf.c (process_string_arg): Revert
8156 2000-07-22 change.
8157
81582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8159
8160 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8161 for testcase.
8162 * stdio-common/tst-sprintf.c: Include <locale.h>
8163 (main): Test sprintf's handling of incomplete multibyte
8164 characters.
8165
9bac1d86
L
81662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * elf/dl-runtime.c (VERSYMIDX): Removed.
8169 * elf/dl-version.c (VERSYMIDX): Likewise.
8170 * elf/do-rel.h (VERSYMIDX): Likewise.
8171 (VALIDX): Likewise.
8172 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8173 * elf/rtld.c (VALIDX): Likewise.
8174 (ADDRIDX): Likewise.
9bac1d86
L
8175 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8176 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8177 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8178 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8179 (VALIDX): Likewise.
8180 (ADDRIDX): Likewise.
9bac1d86 8181
b31606c0
PT
81822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8183
8184 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8185
11541177
JL
81862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8187
8188 [BZ #11438]
8189 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8190 to global scope.
8191 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8192 addresses are in the same scope as 192.0.2/24.
8193 * posix/gai.conf: Document new scope table defaults.
8194
adb26fae
SP
81952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 [BZ #5298]
8198 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8199 for ftell. Compute offsets from write pointers instead.
8200 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8201
4573c6b0
SP
82022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8203
8204 [BZ #14543]
8205 * libio/Makefile (tests): New test case tst-fseek.
8206 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8207 combination works in wide mode.
8208 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8209 state when the external buffer state changes.
8210
aa9bbfe6
DM
82112012-09-27 David S. Miller <davem@davemloft.net>
8212
8213 [BZ #14376]
8214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8215 pass reloc->r_addend in as the 'high' argument to
8216 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8217
784421e7
DM
8218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8219
c39bc8b8
PT
82202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8221
8222 * rt/tst-aio2.c: Include <pthread.h>.
8223 * rt/tst-aio3.c: Likewise.
8224
1ccc2399
SE
82252012-09-27 Steve Ellcey <sellcey@mips.com>
8226
8227 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8228
31ed4153
L
82292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8230
25f5f885
L
8231 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8232 contents on [SHARED].
31ed4153 8233
b7bfe116
MP
82342012-09-26 Marek Polacek <polacek@redhat.com>
8235
8236 [BZ #14530]
8237 [BZ #13741]
8238 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8239 for C++ and GCC <4.3 as well as for non GCC compilers.
8240
43c4edba
MT
82412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8242
8243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8244
6a1bf82f
RM
82452012-09-25 Roland McGrath <roland@hack.frob.com>
8246
8247 * Makefile.in (all, install): Declare with .PHONY.
8248 Reported by Michael Hope <michael.hope@linaro.org>.
8249
8ad11b9a
TMQMF
82502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8251
8252 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8253 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8254 system header.
8255 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8256 Likewise.
8257 (sydep_routines): Add the new and the internal functions.
8258 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8261 (GLIBC_2.17): Add the new function.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8263 (GLIBC_2.17): Likewise.
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8265 (GLIBC_2.17): Likewise.
8266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8267 (GLIBC_2.17): Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8269
7e2fca8d
AM
82702012-09-25 Alan Modra <amodra@gmail.com>
8271
8272 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8273 Add release barrier before setting once_control to say
8274 initialisation is done. Add hints on lwarx. Use macro in
8275 place of isync.
8276 (clear_once_control): Add release barrier.
8277
b87c4b24
JM
82782012-09-25 Joseph Myers <joseph@codesourcery.com>
8279
d032e0d2
JM
8280 [BZ #13629]
8281 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8282 specially.
8283 * math/s_clog10.c (__clog10): Likewise.
8284 * math/s_clog10f.c (__clog10f): Likewise.
8285 * math/s_clog10l.c (__clog10l): Likewise.
8286 * math/s_clogf.c (__clogf): Likewise.
8287 * math/s_clogl.c (__clogl): Likewise.
8288 * math/Makefile (libm-calls): Add x2y2m1.
8289 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8290 (__x2y2m1): Likewise.
8291 (__x2y2m1l): Likewise.
8292 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8293 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8298 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8299 * sysdeps/i386/fpu/libm-test-ulps: Update.
8300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301
b87c4b24
JM
8302 [BZ #14621]
8303 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8304 int as type of variable DEPTH.
8305 (glob): Use size_t instead of int as type of variables NEWCOUNT
8306 and OLD_PATHC.
8307
6d3bf199
LD
83082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8309
22bf5c17
LD
8310 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8311 Add s_sincosf-sse2.
8312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8314 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8315 macros for using routine as __sincosf_ia32.
8316 Use macro for function declaration and weak_alias.
8317 * sysdeps/i386/fpu/libm-test-ulps: Update.
8318
8319 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8321
8322 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8323 subnormal argument.
8324 * math/s_cexpf.c (__cexpf): Likewise.
8325 * math/s_csinf.c (__csinf): Likewise.
8326 * math/s_csinhf.c (__csinhf): Likewise.
8327 * math/s_ctanf.c (__ctanf): Likewise.
8328 * math/s_ctanhf.c (__ctanhf): Likewise.
8329 * math/s_ccosh.c (__ccoshf): Likewise.
8330 * math/s_cexp.c (__cexpl): Likewise.
8331 * math/s_csin.c (__csin): Likewise.
8332 * math/s_csinh.c (__csinh): Likewise.
8333 * math/s_ctan.c (__ctan): Likewise.
8334 * math/s_ctanh.c (ctanh): Likewise.
8335 * math/s_ccoshl.c (__ccoshl): Likewise.
8336 * math/s_cexpl.c (__cexpl): Likewise.
8337 * math/s_csinl.c (__csinl): Likewise.
8338 * math/s_csinhl.c (__csinhl): Likewise.
8339 * math/s_ctanl.c (__ctanl): Likewise.
8340 * math/s_ctanhl.c (__ctanhl): Likewise.
8341
203e5603
JM
83422012-09-25 Joseph Myers <joseph@codesourcery.com>
8343
8344 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8345 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8346 (_IO_off_t): Define to __off_t, not _G_off_t.
8347 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8348 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8349 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8350 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8351 type of __dummy and __dummy2 fields.
8352 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8353 (_G_ssize_t): Likewise.
8354 (_G_off_t): Likewise.
8355 (_G_pid_t): Likewise.
8356 (_G_uid_t): Likewise.
8357 (_G_wchar_t): Likewise.
8358 (_G_wint_t): Likewise.
8359 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8360 (_G_ssize_t): Likewise.
8361 (_G_off_t): Likewise.
8362 (_G_pid_t): Likewise.
8363 (_G_uid_t): Likewise.
8364 (_G_wchar_t): Likewise.
8365 (_G_wint_t): Likewise.
8366 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8367 (_G_ssize_t): Likewise.
8368 (_G_off_t): Likewise.
8369 (_G_pid_t): Likewise.
8370 (_G_uid_t): Likewise.
8371 (_G_wchar_t): Likewise.
8372 (_G_wint_t): Likewise.
8373
9fab36eb
SP
83742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8375
8376 * malloc/arena.c: Include malloc-sysdep.h.
8377 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8378 is sufficient to shrink the heap or an unmap is needed.
8379 * sysdeps/generic/malloc-sysdep.h: New file. Define
8380 new function check_may_shrink_heap.
8381 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8382 new function check_may_shrink_heap.
8383
2b4f00d1
SP
83842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8385
8386 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8387 comments.
8388
9a9028b1
DL
83892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8390
57c69bef
DL
8391 * catgets/test-gencat.sh: Add "set -e".
8392 * elf/tst-pathopt.sh: Likewise.
8393 * grp/tst_fgetgrent.sh: Likewise.
8394 * iconvdata/run-iconv-test.sh: Likewise.
8395 * intl/tst-gettext.sh: Likewise.
8396 * intl/tst-gettext2.sh: Likewise.
8397 * intl/tst-gettext4.sh: Likewise.
8398 * intl/tst-gettext6.sh: Likewise.
8399 * intl/tst-translit.sh: Likewise.
8400 * io/ftwtest-sh: Likewise.
8401 * libio/test-freopen.sh: Likewise.
8402 * malloc/tst-mtrace.sh: Likewise.
8403 * posix/globtest.sh: Likewise.
8404 * posix/tst-getconf.sh: Likewise.
8405 * posix/wordexp-tst.sh: Likewise.
8406 * stdio-common/tst-printf.sh: Likewise.
8407 * stdio-common/tst-unbputc.sh: Likewise.
8408 * stdlib/tst-fmtmsg.sh: Likewise.
8409 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8410 * catgets/Makefile: Do not specify -e option when running
8411 testsuite shell scripts.
8412 * elf/Makefile: Likewise.
8413 * grp/Makefile: Likewise.
8414 * iconvdata/Makefile: Likewise.
8415 * intl/Makefile: Likewise.
8416 * io/Makefile: Likewise.
8417 * libio/Makefile: Likewise.
8418 * malloc/Makefile: Likewise.
8419 * posix/Makefile: Likewise.
8420 * stdio-common/Makefile: Likewise.
8421 * stdlib/Makefile: Likewise.
8422 * sysdeps/x86_64/Makefile: Likewise.
8423
9a9028b1
DL
8424 * io/ftwtest-sh: Add copyright header.
8425 * posix/globtest.sh: Likewise.
8426 * posix/tst-getconf.sh: Likewise.
8427 * posix/wordexp-tst.sh: Likewise.
8428 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8429
ced6f16e
L
84302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8431
94b32c39
L
8432 [BZ #13679]
8433 * Makeconfig (+link): Defined as $(+link-static) if
8434 $(build-shared) isn't yes.
8435 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8436 isn't yes.
8437 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8438
189e935b
L
8439 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8440
ced6f16e
L
8441 [BZ #14562]
8442 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8443 new chunk size with MALLOC_ALIGN_MASK.
8444
a9f8e53a
JM
84452012-09-24 Joseph Myers <joseph@codesourcery.com>
8446
8447 [BZ #5044]
8448 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8449 <rounding-mode.h>.
8450 (__printf_fphex): Determine rounding using get_rounding_mode and
8451 round_away.
8452 * stdio-common/tst-printf-round.c (struct hex_test): New
8453 structure.
8454 (hex_tests): New variable.
8455 (test_hex_in_one_mode): New function.
8456 (do_test): Also run tests for hex float output.
8457
43153109
JM
84582012-09-21 Joseph Myers <joseph@codesourcery.com>
8459
8460 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8461 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8462 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8463 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8464 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8465 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8466 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8467 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8468
8a26625d
JM
84692012-09-20 Joseph Myers <joseph@codesourcery.com>
8470
8471 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8472 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8473 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8474 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8475
f3fd569c
DL
84762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8477
8478 [BZ #14579]
8479 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8480 mode only.
8481 * elf/tst-rtld-load-self.sh: New test.
8482 * elf/Makefile: Run it.
8483
63bbedd4
JM
84842012-09-18 Joseph Myers <joseph@codesourcery.com>
8485
8486 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8487 (tst-writev-ENV): Remove.
8488 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8489
626f8b6a
CM
84902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8491
8492 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8493
b7aaa4d6
JM
84942012-09-17 Joseph Myers <joseph@codesourcery.com>
8495
8496 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8497 unconditional.
8498 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8499 Likewise.
8500 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8501 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8502 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8503 Likewise.
8504
65513990
L
85052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8506
8507 [BZ #14587]
8508 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8509 * config.make.in (have-cpp-asm-debuginfo): Removed.
8510 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8511 * configure: Regenerated.
8512
784761be
JM
85132012-09-14 Joseph Myers <joseph@codesourcery.com>
8514
8515 [BZ #5044]
8516 * stdio-common/printf_fp.c: Include <stdbool.h> and
8517 <rounding-mode.h>.
8518 (___printf_fp): Determine rounding using get_rounding_mode and
8519 round_away.
8520 * stdio-common/tst-printf-round.c: New file.
8521 * stdio-common/Makefile (tests): Add tst-printf-round.
8522 (link-libm): New variable.
8523 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8524
9503345f
L
85252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8526
8527 [BZ #14576]
8528 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8529 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8530 Likewise.
8531 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8532 Likewise.
8533
ad35fc00
JM
85342012-09-13 Joseph Myers <joseph@codesourcery.com>
8535
8536 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8537 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8538 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8540
6c9b0f68
JM
85412012-09-12 Joseph Myers <joseph@codesourcery.com>
8542
8543 [BZ #14518]
8544 * include/rounding-mode.h: New file.
8545 * sysdeps/generic/get-rounding-mode.h: Likewise.
8546 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8547 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8548 (MAX_VALUE): New macro.
8549 (MIN_VALUE): Likewise.
8550 (overflow_value): New function.
8551 (underflow_value): Likewise.
8552 (round_and_return): Use overflow_value and underflow_value to
8553 determine return values in overflow and underflow cases. Use
8554 round_away to determine rounding depending on rounding mode.
8555 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8556 determine return values in overflow and underflow cases.
8557 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8558 (struct test_results): New structure.
8559 (struct test): Use struct test_results to store expected results
8560 for all rounding modes.
8561 (TEST): Include expected results for all rounding modes.
8562 (test_in_one_mode): New function.
8563 (do_test): Use test_in_one_mode to compute and check results.
8564 Check results for all rounding modes.
8565 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8566 $(link-libm).
8567
19fcedd5
AM
85682012-12-09 Allan McRae <allan@archlinux.org>
8569
1e9d84cd 8570 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8571
8bbfd2f1
JM
85722012-09-11 Joseph Myers <joseph@codesourcery.com>
8573
8574 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8575 (_G_int32_t): Likewise.
8576 (_G_uint16_t): Likewise.
8577 (_G_uint32_t): Likewise.
8578 (_G_HAVE_BOOL): Likewise.
8579 (_G_HAVE_ATEXIT): Likewise.
8580 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8581 (_G_HAVE_IO_FILE_OPEN): Likewise.
8582 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8583 (_G_int32_t): Likewise.
8584 (_G_uint16_t): Likewise.
8585 (_G_uint32_t): Likewise.
8586 (_G_HAVE_BOOL): Likewise.
8587 (_G_HAVE_ATEXIT): Likewise.
8588 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8589 (_G_HAVE_IO_FILE_OPEN): Likewise.
8590 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8591 (_G_int32_t): Likewise.
8592 (_G_uint16_t): Likewise.
8593 (_G_uint32_t): Likewise.
8594 (_G_HAVE_BOOL): Likewise.
8595 (_G_HAVE_ATEXIT): Likewise.
8596 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8597 (_G_HAVE_IO_FILE_OPEN): Likewise.
8598
b1dc5912
L
85992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * csu/libc-tls.c: Update copyright years.
8602
0e886ef9
JM
86032012-09-10 Joseph Myers <joseph@codesourcery.com>
8604
28361c5e
JM
8605 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8606 [!_G_USING_THUNKS]: Remove conditional code.
8607 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8608 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8609
0e886ef9
JM
8610 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8611 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8612 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8613 (_G_VTABLE_LABEL_PREFIX): Likewise.
8614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8615 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8616 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8617 (_G_VTABLE_LABEL_PREFIX): Likewise.
8618 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8619 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8620 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8621 (_G_VTABLE_LABEL_PREFIX): Likewise.
8622 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8623
bcba7aa2
L
86242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * libio/Makefile: Include ../Makeconfig before tests.
8627 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8628 only if $(build-shared) is yes.
8629
06585ee8
L
8630 * iconv/gconv_db.c: Update copyright years.
8631
80ccd52c
LD
86322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8633
8634 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8635 unwind info if defined PIC. Fix special cases description.
8636 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8637
8638 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8639 DP_HI_MASK entry.
8640 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8641
691bc9c1
L
86422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8643
3d9b46b3
L
8644 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8645
de2139a9
L
8646 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8647 is NULL.
8648
5ca78dd0
L
8649 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8650 (LDLIBS-tst-chk4): This.
8651 (LDFLAGS-tst-chk5): Renamed to ...
8652 (LDLIBS-tst-chk5): This.
8653 (LDFLAGS-tst-chk6): Renamed to ...
8654 (LDLIBS-tst-chk6): This.
8655 (LDFLAGS-tst-lfschk4): Renamed to ...
8656 (LDLIBS-tst-lfschk4): This.
8657 (LDFLAGS-tst-lfschk5): Renamed to ...
8658 (LDLIBS-tst-lfschk5): This.
8659 (LDFLAGS-tst-lfschk6): Renamed to ...
8660 (LDLIBS-tst-lfschk6): This.
8661
691bc9c1
L
8662 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8663 on $(common-objpfx)soversions.mk.
8664
65cafb1c
JM
86652012-09-07 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #10014]
8668 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8669 example host name.
8670
c78ab094
SP
86712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
8673 * malloc/arena.c (arena_get_retry): New function that gets
8674 another arena for the caller to try its request on.
8675 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8676 current arena cannot fulfill the request.
8677 (__libc_memalign): Likewise.
8678 (__libc_memalign): Likewise.
8679 (__libc_pvalloc): Likewise.
8680 (__libc_calloc): Likewise.
8681
01f49f59
JT
86822012-09-05 John Tobey <john.tobey@gmail.com>
8683
8684 [BZ #13542]
8685 * manual/arith.texi (Operations on Complex): Fix description
8686 of carg branch cut.
8687
4c23fed5
JM
86882012-09-06 Joseph Myers <joseph@codesourcery.com>
8689
1d3c8572
JM
8690 [BZ #10014]
8691 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8692 host name.
8693
4c23fed5
JM
8694 [BZ #10038]
8695 * manual/memory.texi (Memory): Make order of menu items match
8696 order of sections.
8697
04570aaa
L
86982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8701 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8702 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8703
b80af2f4
L
87042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 * csu/libc-tls.c (static_dtv): Renamed to ...
8707 (_dl_static_dtv): This. Make it global.
8708 (_dl_initial_dtv): Removed.
8709 (__libc_setup_tls): Updated.
8710 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8711 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8712 DL_INITIAL_DTV.
8713
2abe9f15
PM
87142012-09-06 Petr Machata <pmachata@redhat.com>
8715
8716 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8717 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8718 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8719 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8720
0948c3af
L
87212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #14545]
8724 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8725 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8726 freeing dtv[-1].
8727
a5055ad1
L
87282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 [BZ #14544]
8731 * Makeconfig (link-static-before-libc): Replace $(+prector)
8732 with $(+prectorT).
8733 (link-static-after-libc): Replace $(+postctor) with
8734 $(+postctorT).
8735 (link-bounded): Replace $(+prector)/$(+postctor) with
8736 $(+prectorT)/$(+postctorT).
8737 (+prectorT): New macro.
8738 (+postctorT): Likewise.
8739
ed8c2ecd
JM
87402012-09-06 Joseph Myers <joseph@codesourcery.com>
8741
8742 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8743 (round_str): Handle values above the maximum for IBM long double
8744 as inexact.
8745 * stdlib/tst-strtod-round.c (tests): Regenerated.
8746
14c996c8
AK
87472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8748
8749 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8750 assembler flag.
8751 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8752 zarch_nohighgprs around the zarch optimized routines.
8753 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8754 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8756 for zarch.
8757
430d6ce6
DM
87582012-09-05 David S. Miller <davem@davemloft.net>
8759
8760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8761
ff04dda4
DM
8762 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8763 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8764 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8765 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8766 entries.
8767
24d4e01b
AO
87682012-09-05 Alexandre Oliva <aoliva@redhat.com>
8769
8770 * malloc/arena.c: Fold copyright years.
8771 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8772
61d58174
AO
87732012-09-05 Alexandre Oliva <aoliva@redhat.com>
8774
8775 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8776
20196a5e
AO
87772012-09-05 Alexandre Oliva <aoliva@redhat.com>
8778
8779 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8780
5c447383
AO
87812012-09-05 Alexandre Oliva <aoliva@redhat.com>
8782
8783 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8784 change internal state upon failure.
8785
fad64255
AO
87862012-09-05 Alexandre Oliva <aoliva@redhat.com>
8787
8788 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8789 * malloc/memusage.c (mmap): Likewise.
8790 (mmap64, mremap): Likewise. Adjust name in comment.
8791
1ffb8c90
SP
87922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8793
8794 * libio/fileops.c: Fix typos in comments.
8795 * libio/oldfileops.c: Likewise.
8796 * libio/wfileops.c: Likewise.
8797
6ef9cc37
SP
87982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
8800 [BZ #1349]
8801 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8802 (tst-malloc-usable-ENV): Set environment for test case.
8803 * malloc/hooks.c (malloc_check_get_size): New function to get
8804 requested size.
8805 * malloc/malloc.c (musable): Use malloc_check_get_size.
8806 * malloc/tst-malloc-usable.c: New test case.
8807
4d038ae3
AS
88082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8809
8810 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8811
c4e85184
AM
88122012-09-05 Allan McRae <allan@archlinux.org>
8813
b9dafc56 8814 [BZ #13966]
c4e85184
AM
8815 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8816 determine header location.
8817 * configure: Regenerated.
8818
e1343020
AS
88192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8820
8821 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8822 float format.
8823 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8824 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8825 format.
e1343020
AS
8826 (test): Regenerate.
8827
0a9f1987
DM
88282012-09-04 David S. Miller <davem@davemloft.net>
8829
8830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8833
29237804
FW
88342012-09-04 Florian Weimer <fweimer@redhat.com>
8835
8836 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8837 failures.
8838
edb3cb88
FW
8839 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8840
60160d83
JM
88412012-09-04 Joseph Myers <joseph@codesourcery.com>
8842
8843 [BZ #9914]
8844 * libio/iogetdelim.c: Include <limits.h>.
8845 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8846 + len + 1 would overflow.
8847
bcd6c8dc
AJ
88482012-09-03 Andreas Jaeger <aj@suse.de>
8849
8850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8851 * sysdeps/i386/fpu/libm-test-ulps: Update.
8852
4ffffbd2
LD
88532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8854
8855 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8856 Add s_sinf-sse2, s_conf-sse2.
8857
8858 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8859 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8860 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8861 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8862
8863 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8864 for using routine as __sinf_ia32.
8865 Use macro for function declaration and weak_alias.
8866 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8867 for using routine as __cosf_ia32.
8868 Use macro for function declaration and weak_alias.
8869
8870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8871 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8872
8873 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8874 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8876
8877 * math/libm-test.inc (cos_test): Add more test cases.
8878 (sin_test): Likewise.
8879 (sincos_test): Likewise.
8880
511fa286
AK
88812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8882
8883 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8884 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8885 hidden.
8886 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8887
5f30cfec
L
88882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8889
8890 [BZ #14538]
8891 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8892 first element of the GOT.
8893 (elf_machine_load_address): Return the difference between
8894 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8895
0786794f
AM
88962012-09-01 Allan McRae <allan@archlinux.org>
8897
5f30cfec
L
8898 [BZ #13412]
8899 * configure.in (AWK): Require gawk version 3.0 or later.
8900 * configure: Regenerated.
0786794f 8901
26889eac
JM
89022012-09-01 Joseph Myers <joseph@codesourcery.com>
8903
8904 * sysdeps/unix/sysv/linux/kernel-features.h
8905 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8907 [__NR_clock_getres]: Make code unconditional.
8908 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8909 (clock_getcpuclockid): Remove code left unreachable by removal of
8910 conditionals.
8911 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8912 code unconditional.
8913 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8914 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8915 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8916 Make code unconditional.
8917 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8918 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8919 * sysdeps/unix/sysv/linux/clock_settime.c
8920 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8921 conditional code.
8922 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8924
d22e28b0
L
89252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 [BZ #14476]
8928 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8929 scripts/test-installation.pl.
8930
8931 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8932 and $ld_so_version if it is set.
8933
050af9c4
SP
89342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
8936 [BZ #14516]
8937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8938 failure if reading from procfs failed.
8939 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8940
ad845c0b
JM
89412012-08-27 Joseph Myers <joseph@codesourcery.com>
8942
8943 * sysdeps/unix/sysv/linux/kernel-features.h
8944 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8945 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8946 Remove conditional code.
8947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8948 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8949 Remove conditional code.
8950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8951 * sysdeps/unix/sysv/linux/i386/fxstat.c
8952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8954 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8957 * sysdeps/unix/sysv/linux/i386/lxstat.c
8958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8960 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8961 Remove conditional code.
8962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8963 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8964 Remove conditional code.
8965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8966 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8967 <kernel-features.h>.
8968 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8969 Remove.
8970 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8971 Remove conditional code.
8972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8973 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8974 Remove conditional.
8975
5dbf56af
MF
89762012-08-27 Mike Frysinger <vapier@gentoo.org>
8977
8978 [BZ #5400]
8979 * NEWS: Add fixed bug number.
8980
d6e70f43
JM
89812012-08-27 Joseph Myers <joseph@codesourcery.com>
8982
7efb4737
JM
8983 [BZ #14519]
8984 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8985 underflowing exponent in case of negative sign.
8986 * stdlib/tst-strtod-round-data: Add more tests.
8987 * stdlib/tst-strtod-round.c (tests): Regenerated.
8988
af92131a
JM
8989 [BZ #3479]
8990 * stdlib/strtod_l.c (NDIG): Remove.
8991 (HEXNDIG): Likewise.
8992 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8993 smallest representable value.
8994 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8995 lie within an exact representation of 1/2 ulp of the result.
8996 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8997 unconditionally.
8998 (TENS_P9_IDX): Define unconditionally.
8999 (TENS_P9_SIZE): Likewise.
9000 (TENS_P10_IDX): Likewise.
9001 (TENS_P10_SIZE): Likewise.
9002 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9003 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9004 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9005 entries for 10^2^13 and 10^2^14.
9006 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9007 (TENS_P13_IDX): Define.
9008 (TENS_P13_SIZE): Likewise.
9009 (TENS_P14_IDX): Likewise.
9010 (TENS_P14_SIZE): Likewise.
9011 (_fpioconst_pow10): Change array size to
9012 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9013 unconditional.
9014 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9015 1024]: Add entries for 10^2^13 and 10^2^14.
9016 [LAST_POW10 > _LAST_POW10]: Remove #error.
9017 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9018 (_fpioconst_pow10): Change array size to
9019 FPIOCONST_POW10_ARRAY_SIZE.
9020 * stdlib/gen-fpioconst.c: New file.
9021 * stdlib/gen-tst-strtod-round.c: Likewise.
9022 * stdlib/tst-strtod-round-data: Likewise.
9023 * stdlib/tst-strtod-round.c: Likewise.
9024 * stdlib/Makefile (tests): Add tst-strtod-round.
9025
d6e70f43
JM
9026 [BZ #14459]
9027 * stdlib/strtod_l.c: Include <stdint.h>.
9028 (NDEBUG): Do not define.
9029 (round_and_return): Change EXPONENT parameter to type intmax_t.
9030 Rearrange calculations to avoid internal overflow possibilities.
9031 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9032 Rearrange calculations to avoid internal overflow possibilities.
9033 Assert that number fits inside MPNSIZE limbs.
9034 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9035 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9036 calculations and add assertions to avoid internal overflow
9037 possibilities. Add casts to avoid signed/unsigned operations.
9038 * stdlib/tst-strtod-overflow.c: New file.
9039 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9040
1f529f7d
MP
90412012-08-25 Marek Polacek <polacek@redhat.com>
9042
9043 * time/time.h: Fix some typos in comments.
9044
59a629f1
RM
90452012-08-23 Roland McGrath <roland@hack.frob.com>
9046
9047 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9048 * posix/tst-rfc3484-2.c: Likewise.
9049 * posix/tst-rfc3484-3.c: Likewise.
9050
d3bafbc9
SM
90512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9052
9053 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9054 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9055
4efcc022
JM
90562012-08-23 Joseph Myers <joseph@codesourcery.com>
9057
9058 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9059 #include of fxstatat64.c.
9060
3cc3ef96
RM
90612012-08-22 Roland McGrath <roland@hack.frob.com>
9062
f04e2132
RM
9063 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9064 * shadow/getspent_r.c: Likewise.
9065 * shadow/getspnam.c: Likewise.
9066 * shadow/getspnam_r.c: Likewise.
9067 * gshadow/getsgent.c: Likewise.
9068 * gshadow/getsgent_r.c: Likewise.
9069 * gshadow/getsgnam.c: Likewise.
9070 * gshadow/getsgnam_r.c: Likewise.
9071 * inet/getnetbyad.c: Likewise.
9072 * inet/getnetbyad_r.c: Likewise.
9073 * inet/getnetbynm.c: Likewise.
9074 * inet/getnetbynm_r.c: Likewise.
9075 * inet/getnetent.c: Likewise.
9076 * inet/getnetent_r.c: Likewise.
9077 * inet/getproto.c: Likewise.
9078 * inet/getproto_r.c: Likewise.
9079 * inet/getprtent.c: Likewise.
9080 * inet/getprtent_r.c: Likewise.
9081 * inet/getprtname.c: Likewise.
9082 * inet/getprtname_r.c: Likewise.
9083 * inet/getrpcbyname.c: Likewise.
9084 * inet/getrpcbyname_r.c: Likewise.
9085 * inet/getrpcbynumber.c: Likewise.
9086 * inet/getrpcbynumber_r.c: Likewise.
9087 * inet/getrpcent.c: Likewise.
9088 * inet/getrpcent_r.c: Likewise.
9089 * inet/getaliasent.c: Likewise.
9090 * inet/getaliasent_r.c: Likewise.
9091 * inet/getaliasname.c: Likewise.
9092 * inet/getaliasname_r.c: Likewise.
9093 * nscd/getgrgid_r.c: Likewise.
9094 * nscd/getgrnam_r.c: Likewise.
9095 * nscd/gethstbyad_r.c: Likewise.
9096 * nscd/gethstbynm3_r.c: Likewise.
9097 * nscd/getpwnam_r.c: Likewise.
9098 * nscd/getpwuid_r.c: Likewise.
9099 * nscd/getsrvbynm_r.c: Likewise.
9100 * nscd/getsrvbypt_r.c: Likewise.
9101 * nscd/gai.c: Likewise.
9102
c53d909c
RM
9103 * configure.in (build_nscd): New substituted variable, set
9104 by --disable-build-nscd and defaults to $use_nscd.
9105 * configure: Regenerated.
9106 * config.make.in (build-nscd): New substituted variable.
9107 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9108 Change conditional to require [$(build-nscd) = yes] as well.
9109 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9110
3cc3ef96
RM
9111 [BZ# 13696]
9112 * configure.in (use_nscd): New substituted variable, set by
9113 --disable-nscd. If enabled, define USE_NSCD.
9114 * configure: Regenerated.
9115 * config.h.in: Add USE_NSCD.
9116 * config.make.in (use-nscd): New substituted variable.
9117 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9118 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9119 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9120 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9121 (CFLAGS-getgrnam_r.c): Likewise.
9122 (CFLAGS-initgroups.c): Likewise.
9123 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9124 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9125 Variables removed.
9126 * inet/getnetgrent_r.c
9127 (nscd_setnetgrent): New function, broken out of ...
9128 (setnetgrent): ... here. Call it.
9129 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9130 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9131 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9132 * nscd/Makefile (routines, aux): Move definitions after include of
9133 Makeconfig. Conditionalize on [$(use-nscd) != no].
9134 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9135 Conditionalize on [USE_NSCD].
9136 (is_nscd, nscd_init_cb): Likewise.
9137 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9138 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9139 * nss/nss_db/db-init.c: Likewise.
9140 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9141 [USE_NSCD].
9142 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9143 (make_request): Use it.
9144 (cache_valid_p): New function.
9145 (__check_pf): Use it.
9146 * NEWS: Add item for --disable-nscd.
9147
07e51550
DL
91482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9149
9150 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9151 to support sed >= 4.2.1-20-ga9bf076.
9152 * configure: Regenerated.
9153
35a5b08b
RM
91542012-08-22 Roland McGrath <roland@hack.frob.com>
9155
9156 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9157 Conditionalize whole body on [IREL].
9158
8479f23a
JL
91592012-08-22 Jeff Law <law@redhat.com>
9160
9161 [BZ #14505]
9162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9163 if the family is PF_UNSPEC.
9164
48da0b21
MF
91652012-08-22 Mike Frysinger <vapier@gentoo.org>
9166
9167 * Makerules (lib-version): Rename from V.
9168 (install-lib-nosubdir): Change V to lib-version.
9169
15d0da8c
WS
91702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9171
9172 [BZ #14252]
9173 * powerpc32/power6/wcschr.c: New file.
9174 * powerpc32/power6/wcscpy.c: New file.
9175 * powerpc32/power6/wcsrchr.c: New file.
9176 * powerpc64/power6/wcschr.c: New file.
9177 * powerpc64/power6/wcscpy.c: New file.
9178 * powerpc64/power6/wcsrchr.c: New file.
9179
bcca0895
MK
91802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9181
9182 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9183 (two_way_short_needle): Use it.
5a4aaa33
RM
9184 * string/strstr.c (AVAILABLE1_USES_J): Define.
9185 * string/strcasestr.c: Likewise.
99677e57
MK
9186
9187 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9188 array references.
9189 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9190
400726de
MK
9191 [BZ #11607]
9192 * NEWS: Add an entry.
9193 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9194 define their defaults.
9195 (two_way_short_needle): Detect end-of-string on-the-fly.
9196 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9197 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9198 * string/bug-strcasestr1.c: New test.
9199 * string/Makefile: Run it.
9200
20a71f2c
MK
92012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9202
9203 [BZ #11607]
9204 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9205 the first character.
9206
21ad0558
RM
92072012-08-21 Roland McGrath <roland@hack.frob.com>
9208
9209 * csu/elf-init.c (__libc_csu_irel): Function removed.
9210 * csu/libc-start.c (apply_irel): New function.
9211 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9212
0e1d9911
JM
92132012-08-21 Joseph Myers <joseph@codesourcery.com>
9214
9215 * sysdeps/unix/sysv/linux/kernel-features.h
9216 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9217 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9218 <kernel-features.h>.
9219 [__NR_fadvise64_64]: Make code unconditional.
9220 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9221 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9222 !__NR_fadvise64_64)]: Likewise.
9223 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9224 !__NR_fadvise64_64))]: Likewise.
9225 [__NR_fadvise64]: Make code unconditional.
9226 [!__NR_fadvise64]: Remove conditional code.
9227 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9228 <kernel-features.h>.
9229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9230 unconditional.
9231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9232 conditional code.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9234 not include <kernel-features.h>.
9235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9236 unconditional.
9237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9238 conditional code.
9239 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9240 include <kernel-features.h>.
9241 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9242 unconditional.
9243 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9244 conditional code.
9245
14a50c9d
WS
92462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9247
9248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9249 slight instruction rearrangements per scrollpipe analysis.
9250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9251
c0f4faf0
RM
92522012-08-20 Roland McGrath <roland@hack.frob.com>
9253
696da859
RM
9254 * manual/syslog.texi (syslog; vsyslog, closelog):
9255 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9256 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9257
c0f4faf0
RM
9258 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9259 DSOCAPS to match condition on defining it.
9260
348363b2
JM
92612012-08-20 Joseph Myers <joseph@codesourcery.com>
9262
a35cbf28
JM
9263 * sysdeps/unix/sysv/linux/kernel-features.h
9264 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9274
445f7ecd
JM
9275 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9276 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9277
348363b2
JM
9278 * sysdeps/unix/sysv/linux/kernel-features.h
9279 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9280 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9281 unconditional.
9282 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9283 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9284 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9285 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9286 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9287 Make code unconditional.
9288 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9289 (__mmap64) [!__NR_mmap2]: Likewise.
9290 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9291 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9292 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9294 [__NR_mmap2]: Make code unconditional.
9295 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9296 (__mmap64) [!__NR_mmap2]: Likewise.
9297
bc5bc0e5
AK
92982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9299
9300 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9301
88d506de
AJ
93022012-08-18 Andreas Jaeger <aj@suse.de>
9303
9304 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9305
493387d2
MF
93062012-08-18 Mike Frysinger <vapier@gentoo.org>
9307
9308 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9309 * include/unistd.h (__have_sock_cloexec): Likewise.
9310 (__have_pipe2): Likewise.
9311 (__have_dup3): Likewise.
9312
a277af22
MF
93132012-08-18 Mike Frysinger <vapier@gentoo.org>
9314
9315 [BZ #9685]
9316 * include/unistd.h (__have_pipe2): Change define into an extern int.
9317 (__have_dup3): Likewise.
9318 * socket/have_sock_cloexec.c: Include fcntl.h.
9319 (__have_pipe2): New variable.
9320 (__have_dup3): Likewise.
9321
fdab8fd3
MF
93222012-08-17 Mike Frysinger <vapier@gentoo.org>
9323
9324 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9325
31035e80
MP
93262012-08-17 Marek Polacek <polacek@redhat.com>
9327
9328 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9329 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9330
3bd9e993
RM
93312012-08-17 Roland McGrath <roland@hack.frob.com>
9332
c91c505f
RM
9333 * configure.in: Add AC_SUBST for sysheaders.
9334 * configure: Regenerated.
9335 * config.make.in (sysheaders): New substituted variable.
9336
7c6f9d53
RM
9337 * sysdeps/unix/mkfifo.c: Moved ...
9338 * sysdeps/posix/mkfifo.c: ... here.
9339 * sysdeps/unix/mkfifoat.c: Moved ...
9340 * sysdeps/posix/mkfifoat.c: ... here.
9341
9342 * sysdeps/unix/utime.c: Moved ...
9343 * sysdeps/posix/utime.c: ... here.
9344
9345 * sysdeps/unix/time.c: Moved ...
9346 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9347 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9349
9350 * sysdeps/unix/nice.c: Moved ...
9351 * sysdeps/posix/nice.c: ... here.
9352
9353 * sysdeps/unix/alarm.c: Moved ...
9354 * sysdeps/posix/alarm.c: ... here.
9355
3bd9e993
RM
9356 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9357
d1f09384
JL
93582012-08-17 Jeff Law <law@redhat.com>
9359
9360 * intl/Makefile (codeset_mo): New variable.
9361 ($(codeset_mo)): New target.
9362 (tst-codeset.out): Depend on that. Remove explicit rule.
9363 (tst-gettext3.out, tst-gettext5.out): Likewise.
9364 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9365 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9366 * intl/tst-codeset.sh: Remove.
9367 * intl/tst-gettext3.sh: Likewise.
9368 * intl/tst-gettext5.sh: Likewise.
9369
2ae1ae5c
RM
93702012-08-17 Roland McGrath <roland@hack.frob.com>
9371
c31fdb83
RM
9372 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9373 * sysdeps/unix/syscalls.list: ... here.
9374
a0844057
RM
9375 * sysdeps/posix/getaddrinfo.c
9376 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9377 (gaiconf_init, gaiconf_reload): Use them.
9378 [!_STATBUF_ST_NSEC]
9379 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9380 Define using time_t rather than struct timespec.
9381
750c1f2a
RM
9382 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9383 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9384 Macros removed.
9385 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9386 [!NO_THREADS].
9387 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9388 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9389 Likewise.
9390
2ae1ae5c
RM
9391 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9392 __libc_cleanup_push argument.
9393
e66a42f5
RM
9394 * bits/param.h: New file.
9395 * misc/sys/param.h: New file.
9396 * include/sys/param.h: New file.
9397 * misc/Makefile (headers): Add bits/param.h.
9398 * sysdeps/generic/sys/param.h: File removed.
9399 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9400 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9401 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9402 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9403
b7c08a66
RM
9404 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9405 last change.
9406
b2e1c562
RM
9407 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9408 [_IO_MTSAFE_IO].
9409 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9410 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9411 New macros.
9412
c75ccd4c
RM
9413 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9414 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9415 rather than -D_IO_MTSAFE_IO conditionally.
9416 * stdio-common/Makefile (CPPFLAGS): Likewise.
9417 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9418 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9419 Use $(libio-mtsafe).
9420 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9421 of -D_IO_MTSAFE_IO.
9422 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9423 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9424 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9425 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9426 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9427 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9428 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9429 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9430 (CFLAGS-fread_u_chk.c): Likewise.
9431 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9432 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9433 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9434 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9435 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9436 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9437 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9438 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9439 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9440
9441 * libio/Makefile: Test [$(libc-reentrant) = yes]
9442 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9443
9444 * Makeconfig
9445 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9446 * sysdeps/pthread/configure: File removed.
9447 * sysdeps/pthread/Makeconfig: New file.
9448 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9449 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9450
d9195db8
GB
94512012-08-16 Gary Benson <gbenson@redhat.com>
9452
9453 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9454 unmapping the first object in a namespace.
9455
86466cd9
RM
94562012-08-16 Roland McGrath <roland@hack.frob.com>
9457
9458 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9459 (__internal_setnetgrent): ... this. Add internal_function to
9460 definition. Add libc_hidden_def.
9461 (setnetgrent): Update caller.
9462 (internal_endnetgrent): Renamed to ...
9463 (__internal_endnetgrent): ... this. Add internal_function to
9464 definition. Add libc_hidden_def.
9465 (endnetgrent): Update caller.
9466 (internal_getnetgrent_r): Renamed to ...
9467 (__internal_getnetgrent_r): ... this. Add internal_function to
9468 definition. Add libc_hidden_def.
9469 (__getnetgrent_r): Update caller.
9470 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9471
c3c8283c
JM
94722012-08-16 Joseph Myers <joseph@codesourcery.com>
9473
9474 * stdlib/longlong.h: Update from GCC.
9475
db1ee0a8
RM
94762012-08-16 Roland McGrath <roland@hack.frob.com>
9477
9478 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9479 on _QL, which is set by umul_ppmm but never used.
9480 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9481 variables, which are set by GMP macros but never used.
9482 * stdio-common/_itowa.c (_itowa): Likewise.
9483 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9484 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9485
30f69637
CD
94862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9487
9488 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9489 struct La_sh_regs is not constant.
9490 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9491 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9492 and struct La_sparc64_regs are not constant.
9493
93a78ac4
JM
94942012-08-16 Joseph Myers <joseph@codesourcery.com>
9495
9496 * sysdeps/unix/sysv/linux/kernel-features.h
9497 (__ASSUME_POSIX_TIMERS): Remove.
9498 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9500 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9501 Make code unconditional.
9502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9503 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9504 Make code unconditional.
9505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9506 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9507 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9509 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9510 Make code unconditional.
9511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9512 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9513 (__libc_missing_posix_timers): Remove.
9514
dd924cd7
RM
95152012-08-15 Roland McGrath <roland@hack.frob.com>
9516
4b4f2771
RM
9517 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9518 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9519
601c888b
RM
9520 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9521
176790a7
RM
9522 * elf/dl-sym.c: Include <stdlib.h>.
9523
329bc018
RM
9524 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9525 constants, which avoids warnings in 32-bit builds.
9526
e04e272d
RM
9527 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9528 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9529
952bf94a
RM
9530 * misc/lseek.c: File moved to ...
9531 * io/lseek.c: ... here.
9532
7c99b50a
RM
9533 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9534
dd924cd7
RM
9535 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9536 shifting LEN more than 31 bits at once.
9537
b3f479a8
LD
95382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9539
9540 [BZ #14195]
8c4ae0d4
RM
9541 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9542 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9543 * string/test-strncasecmp.c (check1): Renamed to...
9544 (bz12205): ...this.
9545 (bz14195): Add new testcase for two empty input strings and N > 0.
9546 (test_main): Call new testcase, adapt for renamed function.
9547
9c55864e
AJ
95482012-08-15 Andreas Jaeger <aj@suse.de>
9549
9550 [BZ #14090]
9551 * crypt/md5test2.c: New test, based on test supplied by Serge
9552 Belyshev <belyshev@depni.sinp.msu.ru>.
9553 * crypt/Makefile (xtests): Add md5test-giant..
9554 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9555
02dcb6c5
PE
95562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9557
9558 [BZ #14090]
9559 * crypt/md5.c (md5_process_block): Don't assume the buffer
9560 length is less than 2**32.
9561 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9562 length is less than 2**64.
9563
a3f95dcc
RM
95642012-08-15 Roland McGrath <roland@hack.frob.com>
9565
be75d758
RM
9566 * string/str-two-way.h: Include <sys/param.h>.
9567 (MAX): Macro removed.
9568
7312ca90
RM
9569 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9570 Move #define and #undef of memmove to just before and after
9571 including <string.h>.
9572
9a0a5486
RM
9573 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9574 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9575 and after including <string.h>. Move declarations of
9576 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9577 to before #include "string/memmove.c".
9578
67cc348d
RM
9579 * include/dirent.h: Declare __getdirentries.
9580
a3f95dcc
RM
9581 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9582 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9583
ca98e171
MF
95842012-08-14 Mike Frysinger <vapier@gentoo.org>
9585
9586 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9587 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9588 * sysdeps/i386/configure: Regenerated.
9589 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9590 STABS_CURRENT_FILE, and STABS_FUN.
9591 (END): Remove call to STABS_FUN_END.
9592 (STABS_CURRENT_FILE1): Delete.
9593 (STABS_CURRENT_FILE): Likewise.
9594 (STABS_FUN): Likewise.
9595 (STABS_FUN_END): Likewise.
9596 (STABS_FUN2): Likewise.
9597 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9598 * sysdeps/x86_64/configure: Regenerated.
9599
5908bf46
RM
96002012-08-14 Roland McGrath <roland@hack.frob.com>
9601
9602 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9603 * elf/dl-lookup.c: Likewise.
5908bf46 9604
f2c05b9e
JM
96052012-08-14 Joseph Myers <joseph@codesourcery.com>
9606
9607 * sysdeps/unix/sysv/linux/kernel-features.h
9608 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9609 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9610 unconditionally.
9611 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9612 unconditionally.
9613 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9614 condition on __ASSUME_CLONE_THREAD_FLAGS.
9615
e11f5155
AJ
96162012-08-14 Andreas Jaeger <aj@suse.de>
9617
9618 * sysdeps/i386/fpu/libm-test-ulps: Update.
9619
51a9ba86
MK
96202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9621
2fdd4f78
AJ
9622 * include/atomic.h (atomic_exchange_and_add): Split into ...
9623 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9624 New atomic macros.
51a9ba86 9625
ba6cba9e
MT
96262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9627
9628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9629
42443a47
JL
96302012-08-13 Jeff Law <law@redhat.com>
9631
9632 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9633 null byte in the output string.
9634
121dce05
JM
96352012-08-10 Joseph Myers <joseph@codesourcery.com>
9636
9637 * sysdeps/unix/sysv/linux/kernel-features.h
9638 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9639 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9640 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9641 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9642 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9643 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9644 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9645
bf51f568
JL
96462012-08-09 Jeff Law <law@redhat.com>
9647
9648 [BZ #13939]
9649 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9650 When avoid_arena is set, don't retry in the that arena. Pick the
9651 next one, whatever it might be.
9652 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9653 (arena_lock): Pass in new parameter to arena_get2.
9654 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9655 arena_get2.
9656 (__libc_malloc): Unify retrying after main arena failure with
9657 __libc_memalign version.
9658 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9659
f85fa270
L
96602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9661
9662 [BZ #14166]
9663 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9664 to __redirect_strstr.
9665 (__strstr_sse42): Use typeof __redirect_strstr.
9666 (__strstr_ia32): Likewise.
9667 (__libc_strstr): New prototype.
9668 (strstr): Renamed to ...
9669 (__libc_strstr): This.
9670 (strstr): New strong alias of __libc_strstr.
9671 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9672 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9673 __redirect_time.
9674 Include <time.h>.
9675 (__libc_time): New prototype.
9676 (time_ifunc): Replace time with __libc_time.
9677 (time): New strong alias and hidden definition of __libc_time.
9678 (__GI_time): Remove strong alias.
9679 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9680 Include <stddef.h>.
9681 (memmove): Redefined to __redirect_memmove.
9682 (__memmove_sse2): Use typeof __redirect_memmove.
9683 (__memmove_ssse3): Likewise.
9684 (__memmove_ssse3_back): Likewise.
9685 (__libc_memmove): New prototype.
9686 (memmove): Renamed to ...
9687 (__libc_memmove): This.
9688 (memmove): New strong alias of __libc_memmove.
9689
33b4a91e
MS
96902012-08-08 Mark Salter <msalter@redhat.com>
9691
9692 * elf/elf.h
9693 (R_MN10300_TLS_GD): Define.
9694 (R_MN10300_TLS_LD): Likewise.
9695 (R_MN10300_TLS_LDO): Likewise.
9696 (R_MN10300_TLS_GOTIE): Likewise.
9697 (R_MN10300_TLS_IE): Likewise.
9698 (R_MN10300_TLS_LE): Likewise.
9699 (R_MN10300_TLS_DTPMOD): Likewise.
9700 (R_MN10300_TLS_DTPOFF): Likewise.
9701 (R_MN10300_TLS_TPOFF): Likewise.
9702 (R_MN10300_SYM_DIFF): Likewise.
9703 (R_MN10300_ALIGN): Likewise.
9704 (R_MN10300_NUM): Update.
9705
b36137f1
JM
97062012-08-08 Joseph Myers <joseph@codesourcery.com>
9707
9708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9709 Remove.
9710
cdd915fd
RM
97112012-08-08 Roland McGrath <roland@hack.frob.com>
9712
a2433aac
RM
9713 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9714
cdd915fd
RM
9715 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9716 sysdeps/unix -> sysdeps/posix move.
9717 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9718
bf9b740a
AM
97192012-08-07 Allan McRae <allan@archlinux.org>
9720
9721 [BZ #14303]
9722 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9723 (SUNOS_CPP): Likewise.
9724 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9725 not found.
9726 (open_input): Call CPP using execvp.
9727
93df14ee
JM
97282012-08-07 Joseph Myers <joseph@codesourcery.com>
9729
9730 * sysdeps/unix/sysv/linux/kernel-features.h
9731 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9732 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9733 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9734 (__ASSUME_WAITID_SYSCALL): Likewise.
9735 * sysdeps/unix/sysv/linux/dl-execstack.c
9736 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9737 code unconditional.
9738 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9739 conditional code.
9740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9741 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9742 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9743 code.
9744 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9745 unconditional.
9746 [__ASSUME_WAITID_SYSCALL]: Likewise.
9747 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9748
d34689de
RM
97492012-08-07 Roland McGrath <roland@hack.frob.com>
9750
a281decc
RM
9751 * sysdeps/unix/closedir.c: Renamed to ...
9752 * sysdeps/posix/closedir.c: ... here.
9753 * sysdeps/unix/dirfd.c: Renamed to ...
9754 * sysdeps/posix/dirfd.c: ... here.
9755 * sysdeps/unix/dirstream.h: Renamed to ...
9756 * sysdeps/posix/dirstream.h: ... here.
9757 * sysdeps/unix/fdopendir.c: Renamed to ...
9758 * sysdeps/posix/fdopendir.c: ... here.
9759 * sysdeps/unix/opendir.c: Renamed to ...
9760 * sysdeps/posix/opendir.c: ... here.
9761 * sysdeps/unix/readdir.c: Renamed to ...
9762 * sysdeps/posix/readdir.c: ... here.
9763 * sysdeps/unix/readdir_r.c: Renamed to ...
9764 * sysdeps/posix/readdir_r.c: ... here.
9765 * sysdeps/unix/rewinddir.c: Renamed to ...
9766 * sysdeps/posix/rewinddir.c: ... here.
9767 * sysdeps/unix/seekdir.c: Renamed to ...
9768 * sysdeps/posix/seekdir.c: ... here.
9769 * sysdeps/unix/telldir.c: Renamed to ...
9770 * sysdeps/posix/telldir.c: ... here.
9771 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9772 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9773 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9774 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9775
22895b47
RM
9776 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9777 * bits/fcntl.h: ... here.
9778
707a53b6
RM
9779 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9780 not 0.
9781 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9782 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9783 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9784 (struct flock): Move l_start, l_len to the beginning.
9785 Use __pid_t for l_pid.
9786 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9787 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9788 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9789 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9790 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9791 [__USE_LARGEFILE64] (struct flock64): New type.
9792 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9793
f0bd3e25
RM
9794 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9795 * bits/dirent.h: ... here.
9796
d34689de
RM
9797 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9798 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9799
6dad2c06
JM
98002012-08-07 Joseph Myers <joseph@codesourcery.com>
9801
9802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9803 Change from 2.6.0 to 2.6.16.
9804 * sysdeps/unix/sysv/linux/configure: Regenerated.
9805 * sysdeps/unix/sysv/linux/kernel-features.h
9806 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9807 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9808 version.
9809 (__ASSUME_UTIMES): Likewise.
9810 (__ASSUME_CLONE_STOPPED): Remove.
9811 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9812 architectures, not kernel version.
9813 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9814 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9815 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9816 (__ASSUME_WAITID_SYSCALL): Likewise.
9817 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9818 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9819 * README: State 2.6.16 as minimum Linux kernel version. Do not
9820 refer to older versions.
9821
03af9520
RM
98222012-08-06 Roland McGrath <roland@hack.frob.com>
9823
8e49df1d
RM
9824 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9825 Define alphasort64 as an alias.
9826 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9827 Define versionsort64 as an alias.
9828 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9829 Define scandir64 as an alias.
9830 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9831 Define scandirat64 as an alias.
9832 * dirent/alphasort64.c (alphasort64):
9833 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9834 * dirent/versionsort64.c: Likewise.
9835 * dirent/scandir64.c: Likewise.
9836 * dirent/scandirat64.c: Likewise.
9837 * sysdeps/wordsize-64/alphasort.c: File removed.
9838 * sysdeps/wordsize-64/alphasort64.c: File removed.
9839 * sysdeps/wordsize-64/scandir.c: File removed.
9840 * sysdeps/wordsize-64/scandir64.c: File removed.
9841 * sysdeps/wordsize-64/scandirat.c: File removed.
9842 * sysdeps/wordsize-64/scandirat64.c: File removed.
9843 * sysdeps/wordsize-64/versionsort.c: File removed.
9844 * sysdeps/wordsize-64/versionsort64.c: File removed.
9845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9853
9854 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9856 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9858 [defined __arch64__ || defined __sparcv9]
9859 (__INO_T_MATCHES_INO64_T): New macro.
9860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9861 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9862 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9863 * sysdeps/unix/sysv/linux/bits/dirent.h
9864 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9865 (_DIRENT_MATCHES_DIRENT64): New macro.
9866
03af9520
RM
9867 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9868 Define lockf64 as an alias.
9869 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9870 Define fseeko64 as an alias.
9871 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9872 Define ftello64 as an alias.
9873 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9874 Define _IO_fgetpos64 and fgetpos64 as aliases.
9875 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9876 Define _IO_fsetpos64 and fsetpos64 as aliases.
9877 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9878 Conditionalize body on this.
9879 * libio/fseeko64.c: Likewise.
9880 * libio/ftello64.c: Likewise.
9881 * libio/iofgetpos64.c: Likewise.
9882 * libio/iofsetpos64.c: Likewise.
9883 * sysdeps/wordsize-64/lockf.c: File removed.
9884 * sysdeps/wordsize-64/lockf64.c: File removed.
9885 * sysdeps/wordsize-64/fseeko.c: File removed.
9886 * sysdeps/wordsize-64/fseeko64.c: File removed.
9887 * sysdeps/wordsize-64/ftello.c: File removed.
9888 * sysdeps/wordsize-64/ftello64.c: File removed.
9889 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9890 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9891 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9892 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9903
9904 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9906 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9908 [defined __arch64__ || defined __sparcv9]
9909 (__OFF_T_MATCHES_OFF64_T): New macro.
9910 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9911 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9913 (__OFF_T_MATCHES_OFF64_T): New macro.
9914
c5757acd
L
99152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * stdlib/secure-getenv.c (__secure_getenv): Replace
9918 GLIBC_2_16 with GLIBC_2_17.
9919
3a31811e
L
99202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9924
faa2bccb
DM
99252012-08-03 David S. Miller <davem@davemloft.net>
9926
9927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9928
85fe1997
JM
99292012-08-03 Joseph Myers <joseph@codesourcery.com>
9930
9931 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9932 Remove.
9933 (__ASSUME_CORRECT_SI_PID): Likewise.
9934 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9935 (__ASSUME_TMPFS_NAME): Likewise.
9936 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9937 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9938 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9939 (HAVE_AUX_SECURE): Make definition unconditional.
9940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9941 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9942
4f75b7a0
RM
99432012-08-03 Roland McGrath <roland@hack.frob.com>
9944
9945 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9946 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9947 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9948 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9949 __eloop_threshold instead of SYMLOOP_MAX.
9950
9951 * sysdeps/generic/eloop-threshold.h: New file.
9952 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9953 of MAXSYMLINKS.
9954 * elf/chroot_canon.c (chroot_canon): Likewise.
9955
7aab07e4
JM
99562012-08-03 Joseph Myers <joseph@codesourcery.com>
9957
9958 [BZ #13717]
9959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9960 Change to 2.6.0 everywhere.
9961 * sysdeps/unix/sysv/linux/configure: Regenerated.
9962 * sysdeps/unix/sysv/linux/kernel-features.h
9963 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9964 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9965 kernel versions.
9966 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9967 (__ASSUME_FUTEX_REQUEUE): Remove.
9968 (__ASSUME_STATFS64): Define unconditionally.
9969 (__ASSUME_AT_SECURE): Likewise.
9970 (__ASSUME_CORRECT_SI_PID): Likewise.
9971 (__ASSUME_TGKILL): Define without depending on kernel version for
9972 i386.
9973 (__ASSUME_UTIMES): Likewise.
9974 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9975 kernel version.
9976 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9977 (__ASSUME_TMPFS_NAME): Likewise.
9978 * README: Update reference to Linux kernel versions.
9979
b67e9372
MP
99802012-08-02 Marek Polacek <polacek@redhat.com>
9981
1f529f7d 9982 [BZ# 14150]
b67e9372
MP
9983 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9984 libc_cv_asm_type_prefix with %.
9985 * configure: Regenerated.
d2441631
RM
9986 * include/libc-symbols.h: Remove comment about
9987 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9988 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9989 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9990 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9991 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9992 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9993 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9994 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9995 * elf/tst-unique2mod1.c: Likewise.
9996 * elf/tst-unique1mod2.c: Likewise.
9997 * elf/tst-unique1mod1.c: Likewise.
9998 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9999 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10000 Replace ASM_TYPE_DIRECTIVE with .type.
10001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10002 * sysdeps/i386/sysdep.h: Likewise.
10003 * sysdeps/x86_64/sysdep.h: Likewise.
10004 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10006 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10007 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10008 * sysdeps/powerpc/powerpc32/sysdep.h:
10009 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10010 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10011 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10012 * sysdeps/i386/fpu/e_powf.S: Likewise.
10013 * sysdeps/i386/fpu/e_expl.S: Likewise.
10014 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10015 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10016 * sysdeps/i386/fpu/e_pow.S: Likewise.
10017 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10019 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10020 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10021 * sysdeps/i386/fpu/e_log2.S: Likewise.
10022 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10023 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10024 * sysdeps/i386/fpu/e_powl.S: Likewise.
10025 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10026 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10027 * sysdeps/i386/fpu/e_logl.S: Likewise.
10028 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10029 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10030 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10031 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10033 * sysdeps/i386/fpu/e_log.S: Likewise.
10034 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10035 * sysdeps/i386/fpu/e_logf.S: Likewise.
10036 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10037 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10038 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10039 * sysdeps/i386/fpu/e_log10.S: Likewise.
10040 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10042 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10043 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10045 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10046 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10047 * sysdeps/i386/i686/strtok.S: Likewise.
10048 * sysdeps/i386/i386-mcount.S: Likewise.
10049 * sysdeps/i386/strtok.S: Likewise.
10050 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10054 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10055 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10056 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10057 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10058 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10059 * sysdeps/x86_64/_mcount.S: Likewise.
10060 * sysdeps/x86_64/strtok.S: Likewise.
10061 * sysdeps/sh/_mcount.S: Likewise.
10062
2747bf9a
RM
100632012-08-01 Roland McGrath <roland@hack.frob.com>
10064
10065 * libio/iofopen.c: Include <fcntl.h>.
10066 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10067 (_IO_fopen64, fopen64): Define as aliases.
10068 * libio/iofopen64.c: Include <fcntl.h>.
10069 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10070 Conditionalize body on this.
10071 * sysdeps/wordsize-64/iofopen.c: File removed.
10072 * sysdeps/wordsize-64/iofopen64.c: File removed.
10073
3fb791b8
MP
100742012-08-01 Marek Polacek <polacek@redhat.com>
10075
10076 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10077 Use dlfcn directly instead of a variable.
10078 (binfmt-subdir): Do not define.
10079 (dlfcn): Likewise.
10080
a9f1039f
JM
100812012-08-01 Joseph Myers <joseph@codesourcery.com>
10082
23bddc06
JM
10083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10084 Remove all definitions.
10085 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10086 <kernel-features.h>.
10087 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10088 (miss_F_GETOWN_EX): Remove all definitions.
10089 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10090 macro definition.
10091 [!__ASSUME_FCNTL64]: Remove conditional code.
10092 [__ASSUME_FCNTL64]: Make code unconditional.
10093 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10094 <kernel-features.h>.
10095 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10096 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10097 (lockf64) [__NR_fcntl64]: Make code unconditional.
10098 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10099
a9f1039f
JM
10100 * sysdeps/unix/sysv/linux/kernel-features.h
10101 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10102 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10103 Make code unconditional.
10104 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10105 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10107 [__NR_vfork]: Make code unconditional.
10108 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10109 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10111 [__NR_vfork]: Make code unconditional.
10112 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10113 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10114
09c0ee5f
RM
101152012-08-01 Roland McGrath <roland@hack.frob.com>
10116
48aec5b9
RM
10117 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10118 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10119
cd97c966
RM
10120 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10121 Define mkstemp64 as an alias.
3f55550c
RM
10122 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10123 Define mkstemps64 as an alias.
cd97c966
RM
10124 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10125 Define mkostemp64 as an alias.
b8625cfc
RM
10126 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10127 Define mkostemps64 as an alias.
cd97c966
RM
10128 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10129 Conditionalize body on this.
10130 * misc/mkostemp64.c: Likewise.
b8625cfc 10131 * misc/mkostemps64.c: Likewise.
3f55550c 10132 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10133 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10134 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10135 * sysdeps/wordsize-64/mkostemp.c: File removed.
10136 * sysdeps/wordsize-64/mkstemp.c: File removed.
10137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10141
09c0ee5f
RM
10142 [BZ #14138]
10143 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10144 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10145 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10146 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10147
10148 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10149 compat_symbol macros from <shlib-compat.h> rather than the underlying
10150 default_symbol_version and symbol_version macros, so that DEFAULT
10151 lines in shlib-versions are respected.
10152 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10153
7e66ee51
FW
101542012-08-01 Florian Weimer <fweimer@redhat.com>
10155
10156 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10157 Declare with warn_unused_result.
10158 (setgid, setregid, setegid, setresgid): Likewise.
10159 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10160 Likewise.
10161 * WUR-REPORT: Remove set*id functions.
10162
d2a54255
PT
101632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10164
10165 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10166
7ecdb005
RM
101672012-07-31 Roland McGrath <roland@hack.frob.com>
10168
789bd351
RM
10169 * include/sys/socket.h (__libc_accept, __libc_accept4):
10170 Add attribute_hidden.
10171 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10172
40ce302d
RM
10173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10174 use of PTR_MANGLE.
10175 * inet/getnetgrent_r.c (setup): Likewise.
10176
7ecdb005
RM
10177 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10178
e2eabb2c
DM
101792012-07-31 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10182
d0419dbf
JM
101832012-07-31 Joseph Myers <joseph@codesourcery.com>
10184
10185 [BZ #13629]
10186 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10187 value between 1.0 and 2.0 and smaller part has absolute value less
10188 than 1.0.
10189 * math/s_clog10.c (__clog10): Likewise.
10190 * math/s_clog10f.c (__clog10f): Likewise.
10191 * math/s_clog10l.c (__clog10l): Likewise.
10192 * math/s_clogf.c (__clogf): Likewise.
10193 * math/s_clogl.c (__clogl): Likewise.
10194 * math/libm-test.inc (clog_test): Add more tests.
10195 (clog10_test): Likewise.
10196 * sysdeps/i386/fpu/libm-test-ulps: Update.
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10198
2bc13872
FW
101992012-07-31 Florian Weimer <fweimer@redhat.com>
10200
10201 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10202 Exit with zero in case no suitable GID is found, and write a
10203 message to standard error.
10204
bea9b193
RM
102052012-07-30 Roland McGrath <roland@hack.frob.com>
10206
10207 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10208 rather than to 1.
10209 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10210 (MAXPATHLEN): Removed.
10211 (NOGROUP, NODEV): New macros.
10212 (setbit, clrbit, isset, isclr): New macros.
10213 (howmany, roundup, powerof2): New macros.
10214 (DEV_BSIZE): New macro.
10215
10216 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10217 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10218
10219 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10220 definition on [!__NO_LONG_DOUBLE_MATH].
10221
10222 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10223 PTR_MANGLE and PTR_DEMANGLE.
10224
10225 * socket/accept4.c (accept4): Rename to __libc_accept4.
10226 Define accept4 as a weak alias.
10227
10228 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10229 on [_DIRENT_HAVE_D_TYPE].
10230 * io/ftw.c (ftw_dir): Likewise.
10231
10232 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10233
10234 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10235
10236 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10237 Use the BSD numbers rather than the arbitrary ones we had.
10238 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10239 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10240 (SIGXCPU, SIGXFSZ): New macros.
10241 (_NSIG): Now 32.
10242
10243 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10244 initializer on [_LIBC_REENTRANT].
10245
10246 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10247 definitions inside [_POSIX_MAPPED_FILES].
10248
10249 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10250
10251 * dirent/opendir.c: Include <fcntl.h>.
10252
10253 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10254 (__libc_getspecific): Likewise.
10255 (__libc_key_create): Likewise.
10256
10257 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10258 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10259 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10260 (tmpfile64): Define as alias.
10261 * sysdeps/wordsize-64/tmpfile.c: File removed.
10262 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10265
10266 * stdio-common/vfscanf.c: Include <stdbool.h>.
10267 * nss/makedb.c: Likewise.
10268 * stdio-common/_i18n_number.h: Likewise.
10269 * argp/argp-help.c: Likewise.
10270 * posix/wordexp.c: Likewise.
10271 * sysdeps/posix/spawni.c: Likewise.
10272 * nss/nss_files/files-initgroups.c: Likewise.
10273 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10274 * nss/nss_files/files-initgroups.c: Likewise.
10275 * nss/nss_db/db-netgrp.c: Likewise.
10276 * nss/nss_db/db-initgroups.c: Likewise.
10277 * io/fchmodat.c: Include <sys/stat.h>.
10278
10279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10280 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10281
10282 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10283 [HAVE_MMAP].
10284
10285 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10286 Add multiple inclusion protection.
10287
e5abc686
DM
102882012-07-27 David S. Miller <davem@davemloft.net>
10289
10290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10291
815e6fa3
GB
102922012-07-27 Gary Benson <gbenson@redhat.com>
10293
10294 [BZ #14298]
10295 * elf/rtld.c: Include <stap-probe.h>.
10296 (dl_main): Added static probes "init_start" and "init_complete".
10297 * elf/dl-load.c: Include <stap-probe.h>.
10298 (lose): Take new parameter "nsid".
10299 Added static probe "map_failed".
10300 (_dl_map_object_from_fd): Pass namespace id to lose.
10301 Added static probe "map_start".
10302 (open_verify): Pass namespace id to lose.
10303 * elf/dl-open.c: Include <stap-probe.h>.
10304 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10305 and "reloc_complete".
10306 * elf/dl-close.c: Include <stap-probe.h>.
10307 (_dl_close_worker): Added static probes "unmap_start" and
10308 "unmap_complete".
10309 * elf/rtld-debugger-interface.txt: New file documenting the above.
10310
9f98c16c
RM
103112012-07-26 Roland McGrath <roland@hack.frob.com>
10312
10313 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10314 rather than a string variable.
10315 * sunrpc/rpc_main.c (h_output): Likewise.
10316 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10317
f3c22df3
PT
103182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10319
10320 * inet/check_native.c: New file.
10321
3129cfc6
JM
103222012-07-26 Joseph Myers <joseph@codesourcery.com>
10323
da865e95
JM
10324 [BZ #13629]
10325 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10326 if larger part has absolute value 1.0.
10327 * math/s_clog10.c (__clog10): Likewise.
10328 * math/s_clog10f.c (__clog10f): Likewise.
10329 * math/s_clog10l.c (__clog10l): Likewise.
10330 * math/s_clogf.c (__clogf): Likewise.
10331 * math/s_clogl.c (__clogl): Likewise.
10332 * math/libm-test.inc (clog_test): Add more tests.
10333 (clog10_test): Likewise.
10334 * sysdeps/i386/fpu/libm-test-ulps: Update.
10335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10336
3129cfc6
JM
10337 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10338 (pltexit): Likewise.
10339 (La_regs): Likewise.
10340 (La_retval): Likewise.
10341 (int_retval): Likewise.
10342 Update #error for removed macros to refer only to definitions in
10343 tst-audit.h.
10344 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10345 macro.
10346 (pltexit): Likewise.
10347 (La_regs): Likewise.
10348 (La_retval): Likewise.
10349 (int_retval): Likewise.
10350 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10351 macro.
10352 (pltexit): Likewise.
10353 (La_regs): Likewise.
10354 (La_retval): Likewise.
10355 (int_retval): Likewise.
10356 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10357 macro.
10358 (pltexit): Likewise.
10359 (La_regs): Likewise.
10360 (La_retval): Likewise.
10361 (int_retval): Likewise.
10362 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10363 macro.
10364 (pltexit): Likewise.
10365 (La_regs): Likewise.
10366 (La_retval): Likewise.
10367 (int_retval): Likewise.
10368 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10369 macro.
10370 (pltexit): Likewise.
10371 (La_regs): Likewise.
10372 (La_retval): Likewise.
10373 (int_retval): Likewise.
10374 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10375 macro.
10376 (pltexit): Likewise.
10377 (La_regs): Likewise.
10378 (La_retval): Likewise.
10379 (int_retval): Likewise.
10380 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10381 macro definitions in tst-audit.h.
10382 * sysdeps/i386/tst-audit.h: New file.
10383 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10384 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10385 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10386 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10387 * sysdeps/sh/tst-audit.h: Likewise.
10388 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10389 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10390 * sysdeps/x86_64/tst-audit.h: Likewise.
10391
bfc07087
AJ
103922012-07-26 Andreas Jaeger <aj@suse.de>
10393
b1b2aaf8
AJ
10394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10395 ptrace.
10396
10397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10398 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10399 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10400 PTRACE_O_MASK.
10401 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10402 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10403 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10404
bfc07087
AJ
10405 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10406 value.
10407
10408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10409 _sigsys.
10410 (si_call_addr, si_syscall, si_arch): Define new macro.
10411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10412 _sigsys.
10413 (si_call_addr, si_syscall, si_arch): Define new marcro.
10414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10415 _sigsys.
10416 (si_call_addr, si_syscall, si_arch): Define new macro.
10417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10418 _sigsys.
10419 (si_call_addr, si_syscall, si_arch): Define new macro.
10420
89b4b02f
JM
104212012-07-25 Joseph Myers <joseph@codesourcery.com>
10422
10423 [BZ #13717]
10424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10425 Change to 2.4.21 where previously 2.4.1.
10426 * sysdeps/unix/sysv/linux/configure: Regenerated.
10427 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10428 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10429 Linux kernel version.
10430 (__ASSUME_STD_AUXV): Remove.
10431 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10432 kernel version.
10433 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10434 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10435 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10436 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10437 (__ASSUME_NETLINK_SUPPORT): Likewise.
10438 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10439 (__no_netlink_support): Remove conditional definition.
10440 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10441 Remove.
10442 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10443 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10444 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10445 (if_nameindex_ioctl): Remove.
10446 (if_nameindex_netlink): Do not handle __no_netlink_support.
10447 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10448 code.
10449 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10450 Remove conditional code.
10451 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10452 code.
10453 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10454 unconditional.
10455 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10456 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10457 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10458 Remove.
10459 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10460 [!__ASSUME_STD_AUXV]: Remove conditional code.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10462 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10463 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10467 code.
10468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10471 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10472 conditional code.
10473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10475 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10476 code.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10479 conditional code.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10481 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10482 code unconditional.
10483 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10484 conditional code.
10485 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10486 unconditional.
10487 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10488 conditional code.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10490 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10491 unconditional.
10492 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10493 conditional code.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10495 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10496 code unconditional.
10497 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10498 conditional code.
10499 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10500 unconditional.
10501 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10502 conditional code.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10504 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10505 code unconditional.
10506 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10507 conditional code.
10508 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10509 unconditional.
10510 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10511 conditional code.
10512
842a39cd
AS
105132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10514
10515 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10517 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10518 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10519 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10522 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10523 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10524 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10525 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10526 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10527 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10528 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10538
84b3fd84
FW
105392012-07-25 Florian Weimer <fweimer@redhat.com>
10540
10541 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10542 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10543 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10544 Introduce __libc_secure_getenv.
0c7936d5
FW
10545 * stdlib/Versions (2.17): Add secure_getenv
10546 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10547 * stdlib/secure-getenv.c: Rename __secure_getenv to
10548 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10549 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10550 * stdlib/tst-secure-getenv.c: New.
10551 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10552 * manual/startup.texi (Environment Access): Document
10553 secure_getenv.
84b3fd84
FW
10554 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10555 __libc_secure_getenv.
10556 * inet/ruserpass.c (ruserpass): Likewise.
10557 * malloc/mtrace.c (mtrace): Likewise.
10558 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10559 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10560 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10561 * sysdeps/posix/tempname.c: Likewise. Evaluate
10562 HAVE_SECURE_GETENV.
10563 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10564 __secure_getenv to __libc_secure_getenv.
84b3fd84 10565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10567 Likewise.
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10569 Likewise.
10570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10577
56e49b71
JM
105782012-07-25 Joseph Myers <joseph@codesourcery.com>
10579
10580 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10581 (struct La_i86_retval): Likewise.
10582 (struct La_x86_64_regs): Likewise.
10583 (struct La_x86_64_retval): Likewise.
10584 (struct La_x32_regs): Likewise.
10585 (struct La_x32_retval): Likewise.
10586 (struct La_ppc32_regs): Likewise.
10587 (struct La_ppc32_retval): Likewise.
10588 (struct La_ppc64_regs): Likewise.
10589 (struct La_ppc64_retval): Likewise.
10590 (struct La_sh_regs): Likewise.
10591 (struct La_sh_retval): Likewise.
10592 (struct La_s390_32_regs): Likewise.
10593 (struct La_s390_32_retval): Likewise.
10594 (struct La_s390_64_regs): Likewise.
10595 (struct La_s390_64_retval): Likewise.
10596 (struct La_sparc32_regs): Likewise.
10597 (struct La_sparc32_retval): Likewise.
10598 (struct La_sparc64_regs): Likewise.
10599 (struct La_sparc64_retval): Likewise.
10600 (struct audit_ifaces): Remove architecture-specific pltenter and
10601 pltexit members.
10602 * sysdeps/i386/ldsodefs.h: New file.
10603 * sysdeps/powerpc/ldsodefs.h: Likewise.
10604 * sysdeps/s390/ldsodefs.h: Likewise.
10605 * sysdeps/sh/ldsodefs.h: Likewise.
10606 * sysdeps/sparc/ldsodefs.h: Likewise.
10607 * sysdeps/x86_64/ldsodefs.h: Likewise.
10608
354691b7
MP
106092012-07-25 Marek Polacek <polacek@redhat.com>
10610
10611 [BZ #6808]
10612 * math/libm-test.inc (yn_test): Add another test.
10613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10614 to ERANGE when the result is +-Inf.
10615 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10617 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10619
bf9e2071
JM
106202012-07-24 Joseph Myers <joseph@codesourcery.com>
10621
10622 * conform/data/time.h-data (NULL): Use macro-constant. Require
10623 equal to 0.
10624 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10625 clock_t.
10626 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10627
57633811
TS
106282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10629
10630 * configure.in <sysdeps resolving>: Correct printing
10631 Implies_before.
10632 * configure: Regenerate.
10633
c23c33b0
TS
106342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10635
10636 * math/w_ilogb.c: Include <limits.h>.
10637 * math/w_ilogbl.c: Likewise.
10638
b5982523
JM
106392012-07-20 Joseph Myers <joseph@codesourcery.com>
10640
10641 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10642 va_copy. Document allowing for unavailable va_copy only as
10643 pre-C99 compatibility.
10644 * manual/string.texi (Copying and Concatenation): Use va_copy
10645 instead of __va_copy in concat example.
10646
ac4ea442
PT
106472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10648
10649 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10650 (__sendto): Use create_address_port. Initialize APORT and deallocate
10651 it if not null.
10652
f98eafbd
PT
10653 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10654 with O_NOLINK passed to __file_name_lookup.
10655
898c7aab
PT
10656 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10657 with O_NOLINK passed to __file_name_lookup.
10658
0ced335a
PT
10659 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10660 negative N or less than NGIDS.
10661
b3404dbd
PT
10662 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10663 type to string_t. Set ERANGE as errno and return it if NAME is not big
10664 enough. Use memcpy instead of strncpy.
10665
0f48659e
JM
106662012-07-20 Joseph Myers <joseph@codesourcery.com>
10667
10668 * elf/Makefile (check-data): Remove.
10669 (localplt.data): New vpath directive.
10670 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10671 instead of $(check-data).
10672 * scripts/data/localplt-generic.data: Move to ...
10673 * sysdeps/generic/localplt.data: ... here.
10674 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10676 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10678 ... here.
10679 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10681 ... here.
10682 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10684 ... here.
10685 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10687 ... here.
10688 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10690 ... here.
10691 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10693 ... here.
10694
d37cbdaa
AZ
106952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696
10697 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10698 PPC32 and PPC64 files.
10699 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10700 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10701
46f85fc2
AK
107022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10703
10704 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10705 __makecontext_ret to ...
10706 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10707 ... here and call exit if uc_link is NULL. New file.
10708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10709 __makecontext_ret.S.
10710 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10711 __makecontext_ret to ...
10712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10713 ... here and call exit if uc_link is NULL. New file.
10714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10715 __makecontext_ret.S.
10716
08f43f9b
AK
107172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10718
10719 * elf/elf.h (R_390_IRELATIVE): New definition.
10720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10721 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10722 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10724 (elf_machine_lazy_rel): Likewise.
10725 * sysdeps/s390/dl-irel.h: New file.
10726 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10727 * sysdeps/s390/s390-64/memset.S: New asm code.
10728 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10729 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10731 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10732 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10733 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10735 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10736 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10737 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10738 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10739 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10740 * sysdeps/s390/s390-32/memset.S: New asm code.
10741 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10742
3b05db33
MP
107432012-07-17 Marek Polacek <polacek@redhat.com>
10744
10745 [BZ #14349]
10746 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10747 * sysdeps/s390/s390-64/configure.in: Likewise.
10748 * sysdeps/sparc/configure.in: Likewise.
10749 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10750 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10751 * sysdeps/i386/configure.in: Likewise.
10752 * sysdeps/x86_64/configure.in: Likewise.
10753 * sysdeps/sh/configure.in: Likewise.
10754 * sysdeps/s390/s390-32/configure: Regenerated.
10755 * sysdeps/s390/s390-64/configure: Likewise.
10756 * sysdeps/x86_64/configure: Likewise.
10757 * sysdeps/sh/configure: Likewise.
10758 * sysdeps/powerpc/powerpc64/configure: Likewise.
10759 * sysdeps/powerpc/powerpc32/configure: Likewise.
10760 * sysdeps/sparc/configure: Likwise.
10761 * sysdeps/i386/configure: Likewise.
10762
a66877c6
MP
10763 * elf/dl-open.c: Comment fixes.
10764
cfc82fd8
JM
107652012-07-17 Joseph Myers <joseph@codesourcery.com>
10766
bd29910a
JM
10767 * Makefile [CXX] (check-data): Remove.
10768 [CXX] (c++-types.data): New vpath directive.
10769 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10770 vpath. Do not allow for C++ type data being missing.
10771 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10772 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10773 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10774 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10775 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10776 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10777 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10779 ... here.
10780 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10782 ... here.
10783 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10785 ... here.
10786 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10788 ... here.
10789 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10791 ... here.
10792 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10794 ... here.
10795 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10797 ... here.
10798 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10800
cfc82fd8
JM
10801 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10802 definitions to architecture-specific files.
10803 (TLS_IE): Likewise.
10804 (TLS_LD): Likewise.
10805 (TLS_GD): Likewise.
10806 * sysdeps/i386/tls-macros.h: New file.
10807 * sysdeps/powerpc/tls-macros.h: Likewise.
10808 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10809 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10810 * sysdeps/sh/tls-macros.h: Likewise.
10811 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10812 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10813 * sysdeps/x86_64/tls-macros.h: Likewise.
10814
f7db3170
TS
108152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10816
07cbfc23
TS
10817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10818 zero value for regular exit case.
10819
f7db3170
TS
10820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10821 (__start_context): Preserve zero value for regular exit case.
10822
dc97c227
TS
108232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10825
10826 * manual/setjmp.texi (setcontext): Clarify normal process
10827 termination when uc_link is the null pointer.
10828 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10829 exit call.
10830
d0cd7d02
AS
108312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10832
10833 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10834 preprocessor. Test for each exception mask separately.
10835
dd318934
AJ
108362012-07-16 Andreas Jaeger <aj@suse.de>
10837
10838 * po/ru.po: Update from translation team.
10839
8048311a
JM
108402012-07-15 Joseph Myers <joseph@codesourcery.com>
10841
10842 * conform/data/string.h-data (NULL): Use macro-constant. Require
10843 equal to 0.
10844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10845 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10846 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10847 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10849
b637d46e
AJ
108502012-07-13 Andreas Jaeger <aj@suse.de>
10851
10852 * po/fr.po: Update from translation team.
10853
541428fe
MP
108542012-07-12 Marek Polacek <polacek@redhat.com>
10855
10856 [BZ #14173]
10857 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10859 loop condition.
10860
ec332e94
JM
108612012-07-12 Joseph Myers <joseph@codesourcery.com>
10862
10863 [BZ #13717]
10864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10865 Change to 2.4.1 where previously 2.4.0.
10866 * sysdeps/unix/sysv/linux/configure: Regenerated.
10867 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10868 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10869 version.
10870 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10871 (__ASSUME_AT_CLKTCK): Remove.
10872 (__ASSUME_AT_PAGESIZE): Likewise.
10873 (__ASSUME_AT_XID): Likewise.
10874 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10875 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10876 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10877 unconditionally.
10878 (HAVE_AUX_PAGESIZE): Likewise.
10879 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10880 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10881 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10882
7b6e99be
JB
108832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10884
10885 [BZ #14307]
10886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10887 the temporary buffer used to invoke __gethostbyname2_r,
10888 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10889 host_data / struct gaih_addrtuple.
10890 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10891 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10892 header file nss/nsswitch.h.
10893 * nss/nsswitch.h (global scope): Add definition of implementation
10894 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10895 resolv/nss_dns/dns-host.c).
10896
608404eb
AJ
108972012-07-11 Andreas Jaeger <aj@suse.de>
10898
10899 * po/fr.po: Update from translation team.
10900
71220aca
AJ
10901 * po/sv.po: Update from translation team
10902 * po/fr.po: Another update from translation team.
10903
28cfe843
AZ
109042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10905
10906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10907 for subnormals or multiply small sinh result by itself.
10908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10910
6b90f981
DM
109112012-07-11 David S. Miller <davem@davemloft.net>
10912
10913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10914
c6825772
AS
109152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10916
10917 [BZ #14347]
10918 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10919 (INTERNAL_MARK): Shift it here.
10920
7b8e0d49
MP
109212012-07-10 Marek Polacek <polacek@redhat.com>
10922
10923 [BZ #14151]
10924 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10925 libc_cv_asm_global_directive with .globl.
10926 * configure: Regenerated.
10927 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10928 with .globl.
10929 * sysdeps/i386/configure: Regenerated.
10930 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10931 with .globl.
10932 * sysdeps/x86_64/configure: Regenerated.
10933 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10934 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10935 * elf/tst-unique2mod2.c: Likewise.
10936 * elf/tst-unique2mod1.c: Likewise.
10937 * elf/tst-unique1mod2.c: Likewise.
10938 * elf/tst-unique1mod1.c: Likewise.
10939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10943 * sysdeps/mach/sysdep.h: Likewise.
10944 * sysdeps/i386/sysdep.h: Likewise.
10945 * sysdeps/i386/i386-mcount.S: Likewise.
10946 * sysdeps/x86_64/_mcount.S: Likewise.
10947 * sysdeps/x86_64/sysdep.h: Likewise.
10948 * sysdeps/sh/_mcount.S: Likewise.
10949 * sysdeps/sh/sysdep.h: Likewise.
10950 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10951 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10952 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10954 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10955 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10957 * locale/localeinfo.h: Likewise.
10958 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10959 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10960
6c55cda3
RM
109612012-07-09 Roland McGrath <roland@hack.frob.com>
10962
10963 [BZ #14336]
10964 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10965 system".
10966 * manual/message.texi (The Uniforum approach): Likewise.
10967 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10968 (glibc iconv Implementation): Likewise.
10969
638a572e
JM
109702012-07-09 Joseph Myers <joseph@codesourcery.com>
10971
10972 [BZ #14337]
10973 * math/s_clog.c (__clog): Avoid scaling a value down where that
10974 could result in underflow.
10975 * math/s_clog10.c (__clog10): Likewise.
10976 * math/s_clog10f.c (__clog10f): Likewise.
10977 * math/s_clog10l.c (__clog10l): Likewise.
10978 * math/s_clogf.c (__clogf): Likewise.
10979 * math/s_clogl.c (__clogl): Likewise.
10980 * math/libm-test.inc (clog_test): Add more tests.
10981 (clog10_test): Likewise.
10982 * sysdeps/i386/fpu/libm-test-ulps: Update.
10983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10984
261f4859
AS
109852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10986
0abaf3e4
AS
10987 [BZ #14283]
10988 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10989 by 7 not 8 to examine high bit of fractional part.
10990
261f4859
AS
10991 [BZ #14042]
10992 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10993 for call to __mcount_internal.
10994 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10995 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10996 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10997
f17ac40d
JM
109982012-07-06 Joseph Myers <joseph@codesourcery.com>
10999
9ad63c23
JM
11000 [BZ #14154]
11001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11002 approximation for values within 0x1p-13f of an odd multiple of
11003 pi/4.
11004 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11005 exception. Add more tests.
11006 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007
f17ac40d
JM
11008 [BZ #6778]
11009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11010 inputs and return -1 for them. Do not check for +Inf in case not
11011 reachable for +Inf.
11012 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11013 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11015 and return -1 for them. Do not check for +Inf in case not
11016 reachable for +Inf.
11017 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11018 define.
11019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11020 and return -1 for them. Do not check for +Inf in case not
11021 reachable for +Inf.
11022 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11023 spurious underflow.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026
fb21f89b
MF
110272012-07-06 Mike Frysinger <vapier@gentoo.org>
11028
11029 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11030
cdfe2c5e
JM
110312012-07-05 Joseph Myers <joseph@codesourcery.com>
11032
11033 [BZ #14157]
11034 [BZ #14331]
11035 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11036 could result in spurious underflow. Scale down values above
11037 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11038 * math/s_csqrtf.c (__csqrtf): Likewise.
11039 * math/s_csqrtl.c (__csqrtl): Likewise.
11040 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11041 spurious underflow.
11042 * sysdeps/i386/fpu/libm-test-ulps: Update.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11044
70d35b67
AS
110452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11046
704bc459
AS
11047 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11048 xopen-msg.sed.
11049 * catgets/xopen-msg.awk: New file.
11050 * catgets/xopen-msg.sed: Removed.
11051
70d35b67
AS
11052 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11053 po2text.sed.
11054 * intl/po2test.awk: New file.
11055 * intl/po2test.sed: Removed.
11056
ca61cf32
JM
110572012-07-04 Joseph Myers <joseph@codesourcery.com>
11058
11059 [BZ #14328]
11060 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11061 or multiply small sinh result by itself.
11062 * math/s_ctanf.c (__ctanf): Likewise.
11063 * math/s_ctanh.c (__ctanh): Likewise.
11064 * math/s_ctanhf.c (__ctanhf): Likewise.
11065 * math/s_ctanhl.c (__ctanhl): Likewise.
11066 * math/s_ctanl.c (__ctanl): Likewise.
11067 * math/libm-test.inc (ctan_test_tonearest): New function.
11068 (ctan_test_towardzero): Likewise.
11069 (ctan_test_downward): Likewise.
11070 (ctan_test_upward): Likewise.
11071 (ctanh_test_tonearest): Likewise.
11072 (ctanh_test_towardzero): Likewise.
11073 (ctanh_test_downward): Likewise.
11074 (ctanh_test_upward): Likewise.
11075 (main): Call these new functions.
11076 * sysdeps/i386/fpu/libm-test-ulps: Update.
11077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11078
ca48a46a
MF
110792012-07-03 Mike Frysinger <vapier@gentoo.org>
11080
11081 * .gitignore: Delete /ports entry.
11082
9d63d37d
AJ
110832012-07-03 Andreas Jaeger <aj@suse.de>
11084
11085 * po/bg.po: Update from translation team.
11086 * po/cs.po: Likewise.
11087 * po/de.po: Likewise.
11088 * po/hr.po: Likewise.
11089 * po/nl.pl: Likewise.
11090 * po/pl.po: Likewise.
11091 * po/vi.po: Likewise.
11092
370ca3d2
JM
110932012-07-03 Joseph Myers <joseph@codesourcery.com>
11094
95f5a9a8
JM
11095 * Makeconfig [!+link] (+link-before-libc): New variable.
11096 [!+link] (+link-after-libc): Likewise.
11097 [!+link] (+link-tests): Likewise.
11098 [!+link] (+link): Define in terms of $(+link-before-libc) and
11099 $(+link-after-libc).
11100 [!+link-static] (+link-static-before-libc): New variable.
11101 [!+link-static] (+link-static-after-libc): Likewise.
11102 [!+link-static] (+link-static-tests): Likewise.
11103 [!+link-static] (+link-static): Define in terms of
11104 $(+link-static-before-libc) and $(+link-static-after-libc).
11105 [build-shared] (link-libc-before-gnulib): New variable.
11106 [build-shared] (link-libc-tests): Likewise.
11107 [build-shared] (link-libc): Define in terms of
11108 $(link-libc-before-gnulib).
11109 [!build-shared] (link-libc-tests): New variable.
11110 (link-libc-static-tests): New variable.
11111 [!gnulib] (gnulib-arch): New variable.
11112 [!gnulib] (gnulib-tests): Likewise.
11113 [!gnulib] (static-gnulib-arch): Likewise.
11114 [!gnulib] (static-gnulib-tests): Likewise.
11115 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11116 Define with "=" instead of ":=".
11117 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11118 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11119 * Rules (binaries-all-notests): New variable.
11120 (binaries-all-tests): Likewise.
11121 (binaries-static-notests): Likewise.
11122 (binaries-static-tests): Likewise.
11123 (binaries-all): Define using $(binaries-all-notests) and
11124 $(binaries-all-tests).
11125 (binaries-static): Define using $(binaries-static-notests) and
11126 $(binaries-static-tests).
11127 (binaries-shared-tests): New variable.
11128 (binaries-shared-notests): Likewise.
11129 (binaries-shared): Remove variable.
11130 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11131 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11132 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11133 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11134 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11135 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11136 * elf/Makefile (sln-modules): New variable.
11137 (extra-objs): Add $(sln-modules:=.o).
11138 (ldconfig-modules): Add static-stubs.
11139 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11140 * elf/static-stubs.c: New file.
11141
7a845b2c
JM
11142 [BZ #14283]
11143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11144 by 7 not 8 to examine high bit of fractional part. Use volatile
11145 variables when splitting into final array of floats if
11146 __FLT_EVAL_METHOD__ != 0.
11147 * math/libm-test.inc (cos_test): Add another test.
11148 (sin_test): Likewise.
11149 * sysdeps/i386/fpu/libm-test-ulps: Update.
11150
e2283f38
JM
11151 [BZ #14273]
11152 * math/libm-test.inc (cosh_test): Add more tests.
11153
370ca3d2
JM
11154 * version.h (RELEASE): Set to "development".
11155 (VERSION): Set to "2.16.90".
11156
ee9247c3
CD
111572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11158
11159 * NEWS: Update copyright. Remove last-updated date.
11160 Mention math library bug fixes and timezone data changes.
11161 * README: Mention GNU/Hurd, x32, and HPPA support status.
11162
4648c381
TS
111632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11164
11165 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11166
aac78a43
AJ
111672012-06-27 Andreas Jaeger <aj@suse.de>
11168
11169 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11170
ed3dbfad
AJ
111712012-06-25 Andreas Jaeger <aj@suse.de>
11172
11173 * sysdeps/s390/fpu/libm-test-ulps: Update.
11174
4d0ee855
AS
111752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11176 Thomas Schwinge <thomas@codesourcery.com>
11177
11178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11179 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11181 fanotify_mark.
11182
af1bce34
TS
111832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11184
a9fa33ba
TS
11185 * sysdeps/mach/start.c: Remove file.
11186 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11187 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11188 * sysdeps/sh/init-first.c: Likewise.
11189
58f902b8
TS
11190 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11191 registers for frame unwinding purposes, add CFI directives.
11192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11194 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11195 Likewise.
11196
1518f58b
TS
11197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11198 __fortify_fail returning.
11199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11200
db9b5059
TS
11201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11202 sysdeps/sh/____longjmp_chk.S.
11203 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11204 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11205 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11206 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11207
967705fe
TS
11208 * sysdeps/sh/abort-instr.h: New file.
11209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11210 process in case exit returns.
11211
a9def8c4
TS
11212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11213 initialize the GOT register before use.
11214
2a649725
TS
11215 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11216 calculation of ARGC > 4.
11217
af1bce34
TS
11218 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11219 meaningful names to some local labels.
11220
d230f50a
KK
112212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11222 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11223
11224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11225 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11226 (__arch_compare_and_exchange_val_16_acq): Likewise.
11227 (__arch_compare_and_exchange_val_32_acq): Likewise.
11228 (atomic_exchange_and_add): Fix gUSA sequence.
11229 (atomic_add): Likewise.
11230 (atomic_add_negative): Likewise.
11231 (atomic_add_zero): Likewise.
11232 (atomic_bit_test_set): Likewise.
11233
0479b305
AS
112342012-06-22 Andreas Schwab <schwab@redhat.com>
11235
11236 [BZ #13579]
11237 * include/link.h (struct link_map): Add l_free_initfini.
11238 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11239 l_initfini.
11240 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11241 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11242 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11243 set.
11244
0e3933b9
CD
112452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11246
11247 * configure.in: Use AC_LANG_SOURCE.
11248 * configure: Regenerate.
11249
4248b1b1
RM
112502012-06-22 Roland McGrath <roland@hack.frob.com>
11251
11252 * configure.in (libc_cv_localstatedir): New substituted variable.
11253 * configure: Regenerated.
11254 * config.make.in (localstatedir): New variable, substituted from
11255 libc_cv_localstatedir.
11256 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11257 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11258 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11259 * sysdeps/gnu/configure: Regenerated.
11260
006dd861
JL
112612012-06-21 Jeff Law <law@redhat.com>
11262
11263 [BZ #14277]
11264 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11265 free. Simplify list management for _LIBC case.
11266
79662d42
JM
112672012-06-21 Joseph Myers <joseph@codesourcery.com>
11268
b7abb4bf
JM
11269 [BZ #14273]
11270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11271 Clear sign bit of 64-bit integer value before comparing against
11272 overflow value.
11273
79662d42
JM
11274 * sysdeps/mach/configure: Regenerated.
11275
1f150908
L
112762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 [BZ #14278]
11279 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11280
28363bbf
JL
112812012-06-21 Jeff Law <law@redhat.com>
11282
11283 [BZ #13882]
11284 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11285 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11287 * elf/dl-open.c (dl_open_worker): Likewise.
11288
09615db4
CD
112892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11290
11291 * scripts/list-sources.sh: Scan PORTS for translations.
11292 * po/libc.pot: Regenerated.
11293
2174c6dd
AJ
112942012-06-21 Andreas Jaeger <aj@suse.de>
11295
11296 [BZ #12194]
11297 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11298 warning.
11299 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11300 * bits/byteswap-16.h (__bswap_16): Likewise.
11301 * bits/byteswap.h (__bswap_constant_16): Likewise.
11302
3ee947b1
L
113032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11304
11305 [BZ #14117]
a2f34833
L
11306 * sysdeps/i386/fpu_control.h: Removed.
11307 * sysdeps/x86_64/fpu_control.h: Moved to ...
11308 * sysdeps/x86/fpu_control.h: Here.
11309
3ee947b1
L
11310 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11311 (_FPU_SETCW): Likewise.
11312
ed1825f8
L
113132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11314
25f1282a
L
11315 [BZ #14117]
11316 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11317 * sysdeps/x86/fpu/bits/mathinline.h: This.
11318 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11319
ed1825f8
L
11320 [BZ #14050]
11321 [BZ #14117]
11322 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11323 functions if __x86_64__ is defined.
11324
36d54b74
CLT
113252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11326
11327 * string/endian.h: Add !__ASSEMBLER__ condition for including
11328 conversion interfaces.
11329
10285c21
JM
113302012-06-15 Joseph Myers <joseph@codesourcery.com>
11331
11332 [BZ #14241]
11333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11334 of ABS(x) in calculating zero to negative powers other than odd
11335 integers.
11336 * math/libm-test.inc (pow_test): Add more tests.
11337
06c5abbd
AJ
113382012-06-15 Andreas Jaeger <aj@suse.de>
11339
11340 * manual/contrib.texi (Contributors): Update entry of Liubov
11341 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11342 Machado Filho.
11343
a3aeac40
CH
113442012-06-15 Cyril Hrubis <metan@ucw.cz>
11345
11346 * string/string.h: Add __wur to GNU version of strerror_r.
11347
49bdf4c1
L
113482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11349
11350 [BZ #14229]
11351 * string/Makefile (tests): Add tst-strtok_r.
11352 * string/tst-strtok_r.c: New file.
11353 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11354 RAX_LP/RDX_LP on SAVE_PTR.
11355
834f9b8d
RM
113562012-06-14 Roland McGrath <roland@hack.frob.com>
11357
11358 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11359
75fa1921
JM
113602012-06-14 Joseph Myers <joseph@codesourcery.com>
11361
11362 * libm_test.inc (csqrt_test): Allow more spurious underflow
11363 exceptions.
11364 (j0_test): Likewise.
11365 (j1_test): Likewise.
11366 (y0_test): Likewise.
11367 (y1_test): Likewise.
11368
771766df
CD
113692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11370
11371 * po/Makefile (libc.pot): Use UTF-8 charset.
11372
ceb9e56b
PP
113732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11374
11375 [BZ #14210]
11376 Suppress sign-conversion warning from FD_SET.
11377 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11378 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11379 not unsigned long int.
11380 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11381
ddb28975
L
113822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11383
11384 [BZ #14050]
11385 [BZ #14117]
11386 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11387 __extern_always_inline instead of __extern_inline.
11388 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11389 (__signbit): Likewise.
11390 (__signbitl): Support C++ namespace.
11391 (lrintf): New inline function.
11392 (lrint): Likewise.
11393 (llrintf): Likewise.
11394 (llrint): Likewise.
11395 (fmaxf): Likewise.
11396 (fmax): Likewise.
11397 (fminf): Likewise.
11398 (fmin): Likewise.
11399 (rint): Likewise.
11400 (rintf): Likewise.
11401 (ceil): Likewise.
11402 (ceilf): Likewise.
11403 (floor): Likewise.
11404 (floorf): Likewise.
11405 (nearbyint): Likewise.
11406 (nearbyintf): Likewise.
11407
d7b4fb26
TS
114082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11409
11410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11411 non-default versions.
11412
eb55f5c2
RM
114132012-06-11 Roland McGrath <roland@hack.frob.com>
11414
11415 [BZ #14218]
11416 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11417
366af02c
TS
114182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11419
99ff6e5c
TS
11420 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11421 (FE_UPWARD, FE_DOWNWARD): Don't define.
11422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11424
366af02c
TS
11425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11426 reading it.
11427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11429
793ea851
KK
114302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11431
11432 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11436
a728a38f
L
114372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 [BZ #14117]
c08010c7
L
11440 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11441 * sysdeps/i386/fpu/Implies: New file.
11442 * sysdeps/x86_64/fpu/Implies: Likewise.
11443 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11444 * sysdeps/x86/fpu/bits/fenv.h: This.
11445
a728a38f
L
11446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11447 __SSE_MATH__.
11448
6e230d11
SP
114492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11450
11451 [BZ #14134]
11452 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11453 character 0xffff that matches the last element of the
11454 conversion table.
11455
1b671feb
AZ
114562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457
11458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11459 fmodl commit.
11460
6043738b
AZ
114612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11462
11463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11464 values higher than 25.6283.
11465
34ae0b32
AZ
114662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11467
11468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11469 subnormal exponent extraction and add some __builtin_expect.
11470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11471 Fix for subnormal mantissa calculation.
11472
1214ec8f
MF
114732012-06-04 Mike Frysinger <vapier@gentoo.org>
11474
11475 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11476 cpu2 is -1 and errno is not ENOSYS.
11477
f3d1f93c
L
114782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11479
11480 [BZ #14117]
0e4a3cd7
L
11481 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11482 * sysdeps/x86/bits/string.h: This.
11483 * sysdeps/x86_64/bits/string.h: Removed.
11484
6704c645
L
11485 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11486 if not compiling for x86-64, but compiling for >= i486.
11487
48495318
L
11488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11489 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11490
14adcbfc
L
11491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11492 New macro from Linux kernel 3.4.0.
11493 (FP_XSTATE_MAGIC2): Likewise.
11494 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11495 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11496 (struct _fpx_sw_bytes): New struct.
11497 (struct _xsave_hdr): Likewise.
11498 (struct _ymmh_state): Likewise.
11499 (struct _xstate): Likewise.
11500
68e408ab
L
11501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11502 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11504 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11506 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11507
f3d1f93c
L
11508 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11511 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11512 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11513 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11514
d9dc34cd
TMQMF
115152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11516
11517 [BZ #13743]
11518 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11519 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11520 (sysdep_headers): Include sys/platform/ppc.h.
11521 * sysdeps/powerpc/test-gettimebase.c: Test for
11522 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11523 * manual/Makefile (appendices): Include platform.texi.
11524 * manual/contrib.texi (Contributors): Update @node pointers.
11525 * manual/maint.texi (Maintenance): Likewise.
11526 (Platform): New node.
11527 * manual/platform.texi: New file. Document the new features.
11528
4af3879c
SP
115292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11530 Jakub Jelinek <jakub@redhat.com>
11531
11532 [BZ #14188]
11533 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11534 where __builtin_expect is unavailable.
11535
2fd6ff13
DM
115362012-06-03 David S. Miller <davem@davemloft.net>
11537
11538 * stdlib/longlong.h: Updated from GCC.
11539
173f7220
AS
115402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11541
11542 [BZ #14042]
11543 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11544 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11545 __mcount_internal.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11547 (GLIBC_2.16): Likewise.
11548
f34a1c6f
L
115492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11550
11551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11552
88a4576f
JM
115532012-06-01 Joseph Myers <joseph@codesourcery.com>
11554
ea32bcdd
JM
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11556 (default-abi): New variable.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11559 variable.
11560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11561 Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11563 Likewise.
11564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11565 Likewise.
11566
88a4576f
JM
11567 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11568 definition. Document in comment.
11569
402fe938
DM
115702012-06-01 David S. Miller <davem@davemloft.net>
11571
11572 * stdlib/longlong.h: Updated from GCC.
11573
3553723f
L
115742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11575
11576 [BZ #14117]
3bd872c4
L
11577 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11578 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11579 sys/debugreg.h sys/io.h here.
11580 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11581 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11582 sys/io.h.
11583 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11584 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11585 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11586 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11587 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11588 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11589
3553723f
L
11590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11591 Define only if __x86_64__ is defined.
11592
4842e4fe
JM
115932012-06-01 Joseph Myers <joseph@codesourcery.com>
11594
c5bfe3d5
JM
11595 [BZ #14048]
11596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11597 Use int64_t for variable i.
11598 * math/libm-test.inc (fmod_test): Add more tests.
11599
4842e4fe
JM
11600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11601 z computation is not scheduled after fetestexcept.
11602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11603 Use math_force_eval instead of asm to ensure calculation scheduled
11604 before exception test.
11605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11606 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11607
efb73488
AJ
116082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11609
11610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11611 computation is not scheduled after fetestexcept.
11612
29bcce7c
L
116132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 [BZ #14117]
11616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11618
73a68f94
AZ
116192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620
11621 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11623
67b6df78
L
116242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11625
edf2933a 11626 [BZ #14117]
ebc64a18
L
11627 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11628 <bits/wordsize.h>.
11629 (__WCHAR_MIN): Support __WORDSIZE == 64.
11630 (__WCHAR_MAX): Likewise.
11631
edf2933a
L
11632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11634
57c6cf40
L
11635 [BZ #14183]
11636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11637 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11638
67b6df78 11639 [BZ #14117]
8eb6281e
L
11640 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11642
aac639f4
L
11643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11645
67b6df78
L
11646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11647 Defined to 1 if __x86_64__ isn't defined.
11648 (_STAT_VER_LINUX_OLD): New.
11649 (st_atime): Remove duplicate.
11650 (st_mtime): Likewise.
11651 (st_ctime): Likewise.
11652
1c2cfe81
DM
116532012-05-31 David S. Miller <davem@davemloft.net>
11654
11655 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11656 entries.
11657
5be8418c
AS
116582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11659
e7725326
AS
11660 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11661 gen-libm-test.pl.
11662
5be8418c
AS
11663 [BZ #14132]
11664 * elf/dl-reloc.c: Include <_itoa.h>.
11665 (_dl_reloc_bad_type): Remove use of INTUSE.
11666 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11667 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11668 * stdio-common/psiginfo.c (psiginfo): Likewise.
11669 * stdio-common/psignal.c (psignal): Likewise.
11670 * string/strsignal.c (strsignal): Likewise.
11671 * include/signal.h (_sys_siglist): Declare hidden proto.
11672 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11673 INTVARDEF with libc_hidden_data_def.
11674 * stdio-common/itoa-udigits.c: Likewise.
11675 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11676 (_itoa_lower_digits_internal): Remove declaration.
11677 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11678 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11679 (_sys_sigabbrev_internal): Remove aliases.
11680 (_sys_siglist): Define hidden alias.
11681
507352f1
MT
116822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11683
11684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11685 bits/sysctl.h.
11686
42bbb1c3
L
116872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 [BZ #14117]
6bd784b6
L
11690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11691 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11692
8bca20f0
L
11693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11695 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11696 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11698 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11699
f9e890a9
L
11700 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11701 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11703
471101a1
L
11704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11705 with __addr.
11706 (insw): Likewise.
11707 (insl): Likewise.
11708 (outsb): Likewise.
11709 (outsw): Likewise.
11710 (outsl): Likewise.
11711
6451c862
L
11712 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11715
a254b8c9
L
11716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11719 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11721 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11722
b8dfdd92
L
11723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11724 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11725
578cd270
L
11726 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11728
de662f5f
L
11729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11731 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11732
25653439
L
11733 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11734 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11735 to ...
11736 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11737
6bad24a0
L
11738 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11740 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11741
42bbb1c3
L
11742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11743 for x86-64.
11744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11745
2d10d547
JM
117462012-05-31 Joseph Myers <joseph@codesourcery.com>
11747
11748 * math/math.h (M_El): Use two more decimal places.
11749 (M_LOG2El): Likewise.
11750 (M_LOG10El): Likewise.
11751 (M_LN2l): Likewise.
11752 (M_LN10l): Likewise.
11753 (M_PIl): Likewise.
11754 (M_PI_2l): Likewise.
11755 (M_PI_4l): Likewise.
11756 (M_1_PIl): Likewise.
11757 (M_2_PIl): Likewise.
11758 (M_2_SQRTPIl): Likewise.
11759 (M_SQRT2l): Likewise.
11760 (M_SQRT1_2l): Likewise.
11761
f230c29b
DM
117622012-05-31 David S. Miller <davem@davemloft.net>
11763
11764 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11765 values between float registers.
11766 * sysdeps/sparc/sparc64/memset.S: Likewise.
11767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11768
fed806c3
MF
117692012-05-31 Mike Frysinger <vapier@gentoo.org>
11770
11771 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11772 -D_FORTIFY_SOURCE=1.
11773 (CPPFLAGS-tst-longjmp_chk.c): Define.
11774 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11775 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11776 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11777 CFLAGS-tst-wchar-h.c.
11778
30917259
MP
117792012-05-31 Marek Polacek <polacek@redhat.com>
11780
11781 [BZ #14132]
11782 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11783 __endmntent_internal): Remove declaration.
11784 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11785 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11786 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11787
1c58d5dc
DM
117882012-05-30 David S. Miller <davem@davemloft.net>
11789
11790 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11791 (___Q_simulate_exceptions): Use real FP ops rather than writing
11792 into the %fsr.
11793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11794 Likewise.
11795
7dc00e0d
L
117962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 [BZ #14117]
0bd53985
L
11799 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11800 * sysdeps/x86/bits/xtitypes.h: This.
11801
3a257e66
L
11802 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11803 * sysdeps/x86/bits/wordsize.h: This.
11804
62f62904
L
11805 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11806 * sysdeps/x86/bits/huge_vall.h: This.
11807
404fe9d9
L
11808 * sysdeps/i386/bits/select.h: Removed.
11809 * sysdeps/x86_64/bits/select.h: Renamed to ...
11810 * sysdeps/x86/bits/select.h: This.
11811
d48d0446
L
11812 * sysdeps/i386/bits/setjmp.h: Removed.
11813 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11814 * sysdeps/x86/bits/setjmp.h: This.
11815
7dc00e0d
L
11816 * sysdeps/i386/bits/mathdef.h: Removed.
11817 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11818 * sysdeps/x86/bits/mathdef.h: This.
11819
03277f8f
AS
118202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11821
11822 [BZ #14132]
11823 * include/sys/socket.h (__connect_internal)
11824 (__libc_sa_len_internal): Remove declaration.
11825 (__connect, __libc_sa_len): Declare hidden_proto.
11826 (SA_LEN): Remove use of INTUSE.
11827 * socket/connect.c: Add libc_hidden_def.
11828 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11829 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11830 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11831 alias.
11832 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11834 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11835 of adding _internal alias.
11836
13764867
L
118372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 [BZ #14117]
6bd97696
L
11840 * sysdeps/i386/bits/link.h: Removed.
11841 * sysdeps/i386/bits/linkmap.h: Likewise.
11842 * sysdeps/x86_64/bits/link.h: Renamed to ...
11843 * sysdeps/x86/bits/link.h: This.
11844 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11845 * sysdeps/x86/bits/linkmap.h: This.
11846
f726f0bb
L
11847 * sysdeps/i386/bits/endian.h: Removed.
11848 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11849 * sysdeps/x86/bits/endian.h: This.
11850
13764867
L
11851 * sysdeps/i386/bits/byteswap.h: Removed.
11852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11853 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11854 * sysdeps/x86/bits/byteswap.h: This.
11855 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11856 * sysdeps/x86/bits/byteswap-16.h: This.
11857 * sysdeps/i386/Implies: Add x86.
11858 * sysdeps/x86_64/Implies: Likewise.
11859
ae251b0b
DM
118602012-05-30 David S. Miller <davem@davemloft.net>
11861
11862 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11863 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11865 (FP_TRAPPING_EXCEPTIONS): Define.
11866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11867 (FP_TRAPPING_EXCEPTIONS): Define.
11868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11869 subnormals only when inexact has been signalled or underflow
11870 exceptions are enabled.
11871 (_FP_PACK_CANONICAL): Likewise.
11872
d5c90867
L
118732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11874
11875 [BZ #14183]
11876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11877 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11878
63f1549e
RH
118792012-05-30 Richard Henderson <rth@twiddle.net>
11880
8d8f2279
RH
11881 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11882 with #ifndef NOT_IN_libc.
11883
63f1549e
RH
11884 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11885 marked to avoid plt entry.
11886
0ab0291b
L
118872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 [BZ #14112]
11890 * Makeconfig (default-abi): New macro.
11891 (abi-includes): Likewise.
11892 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11893 $(abi-$(default-abi)-lib-soname) for soname if defined.
11894 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11895 abi-variants.
11896 * Makefile (installed-stubs): Likewise.
11897 * include/stubs-biarch.h: Removed.
11898 * scripts/lib-names.awk: Only handle one library at a time.
11899 * scripts/soversions.awk: Remove WORDSIZE support.
11900 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11901 entries.
11902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11903 Removed.
11904 (syscall-list-default-condition): Likewise.
11905 (syscall-list-default-condition): Likewise.
11906 (syscall-list-includes): Likewise.
11907 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11908 syscall-list-* with abi-*. Handle undefined abi-variants.
11909 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11910 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11911 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11912 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11914 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11915 Removed.
11916 (syscall-list-32-options): Likewise.
11917 (syscall-list-32-condition): Likewise.
11918 (syscall-list-64-options): Likewise.
11919 (syscall-list-64-condition): Likewise.
11920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11921 macro.
11922 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11923 Renamed to ...
11924 (abi-*): This.
11925 (abi-64-ld-soname): New macro.
11926 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11927 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11928 Renamed to ...
11929 (abi-*): This.
11930 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11931 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11932
4da0431d
JM
119332012-05-30 Joseph Myers <joseph@codesourcery.com>
11934
3a85279c
JM
11935 * sysdeps/unix/sysv/linux/kernel-features.h
11936 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11937 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11938 include <kernel-features.h>.
11939 [!__NR_ftruncate64]: Remove conditional code.
11940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11941 [__NR_ftruncate64]: Make code unconditional.
11942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11943 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11944 include <kernel-features.h>.
11945 [!__NR_ftruncate64]: Remove conditional code.
11946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11947 [__NR_ftruncate64]: Make code unconditional.
11948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11950 include <kernel-features.h>.
11951 [!__NR_ftruncate64]: Remove conditional code.
11952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11953 [__NR_ftruncate64]: Make code unconditional.
11954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11956 include <kernel-features.h>.
11957 [!__NR_ftruncate64]: Remove conditional code.
11958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11959 [__NR_ftruncate64]: Make code unconditional.
11960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11961
4da0431d
JM
11962 * configure.in (libc_cv_fpie): Weaken to a compile test using
11963 LIBC_TRY_CC_OPTION.
11964 * configure: Regenerated.
11965
11ef492c
AK
119662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11967
11968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11972 Refreshed.
11973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11979 Refreshed.
11980
d66ef399
DM
119812012-05-27 David S. Miller <davem@davemloft.net>
11982
11983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11984 (___Q_zero): New.
11985 (__Q_simulate_exceptions): Return void. Change to simulate
11986 exceptions by writing into the %fsr.
11987 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11988 (__Qp_handle_exceptions): Likewise.
11989 (numbers): Delete.
11990 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11991 __Qp_handle_exceptions.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11993 __Qp_handle_exceptions.
11994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11995 as unused and give dummy FP_RND_NEAREST initializer.
11996 (FP_INHIBIT_RESULTS): Define.
11997 (___Q_simulate_exceptions): Update declaration.
11998 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11999 formatting.
12000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12001 as unused and give dummy FP_RND_NEAREST initializer.
12002 (__Qp_handle_exceptions): Update declaration.
12003 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12004 formatting.
12005
04fb54b5
TS
120062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12007
12008 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12009 the temporary FPU control word.
12010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12011 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12013 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12016 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12018 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12019 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12021
3f99608f
KK
120222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12023
12024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12025 fields.
12026
65a4de4e
CLT
120272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12028
12029 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12030 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12033 Likewise.
12034 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12035 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12036 Likewise.
12037
15749d40
UD
120382012-05-27 Ulrich Drepper <drepper@gmail.com>
12039
12040 * po/h.po: Update from translation team.
12041
25dbcb27
AS
120422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12043
3d3f8e55
AS
12044 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12045
25dbcb27
AS
12046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12047 handling of denormals.
12048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12055 Likewise.
12056
7ad47a80 120572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12058
12059 [BZ #14152]
12060 * math/libm-test.inc (fma_test): Don't always expect underflow
12061 exception.
12062
9c6ea9fa
SP
120632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
12065 [BZ #12416]
12066 * elf/tst-execstack.c: Include stackinfo.h.
12067 (do_test): Adjust test case to ensure that pthread_getattr_np
12068 behaviour remains the same after marking stack executable.
12069
a8239222
JM
120702012-05-25 Joseph Myers <joseph@codesourcery.com>
12071
12072 * sysdeps/unix/sysv/linux/kernel-features.h
12073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12075 kernel-features.h.
12076 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12077 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12078 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12079 kernel-features.h.
12080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12082
918b5606
L
120832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 * configure.in: Define the default includes to being none.
12086 * configure: Regenerated.
12087
3a097cc7
RM
120882012-05-25 Roland McGrath <roland@hack.frob.com>
12089
8422c9a5
RM
12090 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12091 * sysdeps/x86_64/setjmp.S: Likewise.
12092 * sysdeps/i386/bsd-setjmp.S: Likewise.
12093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12094 * sysdeps/i386/setjmp.S: Likewise.
12095 * sysdeps/i386/__longjmp.S: Likewise.
12096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12097 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12098
3a097cc7
RM
12099 * include/stap-probe.h: New file.
12100 * configure.in: Handle --enable-systemtap.
12101 * configure: Regenerated.
12102 * config.h.in (USE_STAP_PROBE): New #undef.
12103 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12104 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12106
21708942
JM
121072012-05-25 Joseph Myers <joseph@codesourcery.com>
12108
12109 [BZ #13717]
12110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12111 to 2.4.0 where earlier.
12112 * sysdeps/unix/sysv/linux/configure: Regenerated.
12113 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12114 <kernel-features.h>.
12115 [__ASSUME_32BITUIDS]: Make code unconditional.
12116 [!__ASSUME_32BITUIDS]: Remove conditional code.
12117 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12118 <kernel-features.h>.
12119 [__ASSUME_32BITUIDS]: Make code unconditional.
12120 [!__ASSUME_32BITUIDS]: Remove conditional code.
12121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12122 [__ASSUME_32BITUIDS]: Make code unconditional.
12123 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12124 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12125 <kernel-features.h>.
12126 [__ASSUME_32BITUIDS]: Make code unconditional.
12127 [!__ASSUME_32BITUIDS]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12129 <kernel-features.h>.
12130 [__ASSUME_32BITUIDS]: Make code unconditional.
12131 [!__ASSUME_32BITUIDS]: Remove conditional code.
12132 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12133 <kernel-features.h>.
12134 [__ASSUME_32BITUIDS]: Make code unconditional.
12135 [!__ASSUME_32BITUIDS]: Remove conditional code.
12136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12137 <kernel-features.h>.
12138 [__ASSUME_32BITUIDS]: Make code unconditional.
12139 [!__ASSUME_32BITUIDS]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12141 <kernel-features.h>.
12142 [__ASSUME_32BITUIDS]: Make code unconditional.
12143 [!__ASSUME_32BITUIDS]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12145 <kernel-features.h>.
12146 [__ASSUME_32BITUIDS]: Make code unconditional.
12147 [!__ASSUME_32BITUIDS]: Remove conditional code.
12148 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12149 <kernel-features.h>.
12150 [__ASSUME_32BITUIDS]: Make code unconditional.
12151 [!__ASSUME_32BITUIDS]: Remove conditional code.
12152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12153 <kernel-features.h>.
12154 [__ASSUME_32BITUIDS]: Make code unconditional.
12155 [!__ASSUME_32BITUIDS]: Remove conditional code.
12156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12157 <kernel-features.h>.
12158 [__ASSUME_32BITUIDS]: Make code unconditional.
12159 [!__ASSUME_32BITUIDS]: Remove conditional code.
12160 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12161 <kernel-features.h>.
12162 [__ASSUME_32BITUIDS]: Make code unconditional.
12163 [!__ASSUME_32BITUIDS]: Remove conditional code.
12164 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12165 <kernel-features.h>.
12166 [__NR_setresgid] (__setresgid): Do not declare.
12167 [__ASSUME_32BITUIDS]: Make code unconditional.
12168 [!__ASSUME_32BITUIDS]: Remove conditional code.
12169 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12170 <kernel-features.h>.
12171 [__NR_setresuid] (__setresuid): Do not declare.
12172 [__ASSUME_32BITUIDS]: Make code unconditional.
12173 [!__ASSUME_32BITUIDS]: Remove conditional code.
12174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12175 <kernel-features.h>.
12176 [__ASSUME_32BITUIDS]: Make code unconditional.
12177 [!__ASSUME_32BITUIDS]: Remove conditional code.
12178 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12179 <kernel-features.h>.
12180 [__ASSUME_32BITUIDS]: Make code unconditional.
12181 [!__ASSUME_32BITUIDS]: Remove conditional code.
12182 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12183 <kernel-features.h>.
12184 [__ASSUME_32BITUIDS]: Make code unconditional.
12185 [!__ASSUME_32BITUIDS]: Remove conditional code.
12186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12187 <kernel-features.h>.
12188 [__ASSUME_32BITUIDS]: Make code unconditional.
12189 [!__ASSUME_32BITUIDS]: Remove conditional code.
12190 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12191 <kernel-features.h>.
12192 [__ASSUME_32BITUIDS]: Make code unconditional.
12193 [!__ASSUME_32BITUIDS]: Remove conditional code.
12194 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12195 <kernel-features.h>.
12196 [__ASSUME_32BITUIDS]: Make code unconditional.
12197 [!__ASSUME_32BITUIDS]: Remove conditional code.
12198 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12199 <kernel-features.h>.
12200 [__ASSUME_32BITUIDS]: Make code unconditional.
12201 [!__ASSUME_32BITUIDS]: Remove conditional code.
12202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12203 <kernel-features.h>.
12204 [__ASSUME_32BITUIDS]: Make code unconditional.
12205 [!__ASSUME_32BITUIDS]: Remove conditional code.
12206 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12207 <kernel-features.h>.
12208 [__ASSUME_32BITUIDS]: Make code unconditional.
12209 [!__ASSUME_32BITUIDS]: Remove conditional code.
12210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12211 <kernel-features.h>.
12212 [__ASSUME_32BITUIDS]: Make code unconditional.
12213 [!__ASSUME_32BITUIDS]: Remove conditional code.
12214 * sysdeps/unix/sysv/linux/kernel-features.h
12215 (__ASSUME_SETRESUID_SYSCALL): Remove.
12216 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12217 (__ASSUME_32BITUIDS): Likewise.
12218 (__ASSUME_LDT_WORKS): Likewise.
12219 (__ASSUME_O_DIRECTORY): Likewise.
12220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12221 architecture but not kernel version.
12222 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12223 (__ASSUME_MMAP2_SYSCALL): Likewise.
12224 (__ASSUME_STAT64_SYSCALL): Likewise.
12225 (__ASSUME_IPC64): Likewise.
12226 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12227 <kernel-features.h>.
12228 [__ASSUME_32BITUIDS]: Make code unconditional.
12229 [!__ASSUME_32BITUIDS]: Remove conditional code.
12230 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12231 <kernel-features.h>.
12232 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12233 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12234 132096]: Remove conditional code.
12235 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12237 <kernel-features.h>.
12238 [__ASSUME_32BITUIDS]: Make code unconditional.
12239 [!__ASSUME_32BITUIDS]: Remove conditional code.
12240 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12241 <kernel-features.h>.
12242 [__ASSUME_32BITUIDS]: Make code unconditional.
12243 [!__ASSUME_32BITUIDS]: Remove conditional code.
12244 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12245 <kernel-features.h>.
12246 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12247 unconditional.
12248 (__setresgid): Do not declare.
12249 [__ASSUME_32BITUIDS]: Make code unconditional.
12250 [!__ASSUME_32BITUIDS]: Remove conditional code.
12251 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12252 <kernel-features.h>.
12253 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12254 unconditional.
12255 (__setresuid): Do not declare.
12256 [__ASSUME_32BITUIDS]: Make code unconditional.
12257 [!__ASSUME_32BITUIDS]: Remove conditional code.
12258 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12259 <kernel-features.h>.
12260 [__ASSUME_32BITUIDS]: Make code unconditional.
12261 [!__ASSUME_32BITUIDS]: Remove conditional code.
12262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12263 <kernel-features.h>.
12264 [__ASSUME_32BITUIDS]: Make code unconditional.
12265 [!__ASSUME_32BITUIDS]: Remove conditional code.
12266
a386f1cc
RH
122672012-05-25 Richard Henderson <rth@twiddle.net>
12268
12269 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12270 dl_hwcap to ifunc resolver.
12271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12272 elf_ifunc_invoke.
12273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12274 dl_hwcap to ifunc resolver.
12275 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12276
b6550497
JM
122772012-05-24 Joseph Myers <joseph@codesourcery.com>
12278
12279 [BZ #14153]
12280 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12281 for |x| <= 2**-26, not 2**-57.
12282 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12283 exception.
12284
b0bc23a1
JL
122852012-05-24 Jeff Law <law@redhat.com>
12286
12287 * stdio-common/Makefile (tests): Add bug25.
12288 * stdio-common/bug25.c: New test.
12289
347c92e9
L
122902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 [BZ #13576]
12293 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12294 multiple of MALLOC_ALIGNMENT in size.
12295 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12296
6bcc8b3f
JM
122972012-05-24 Joseph Myers <joseph@codesourcery.com>
12298
12299 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12300 Require >= 256.
12301 (FILENAME_MAX): Use macro-int-constant.
12302 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12303 (_IOFBF): Use macro-int-constant.
12304 (_IOLBF): Likewise.
12305 (_IONBF): Likewise.
12306 (SEEK_CUR): Likewise.
12307 (SEEK_END): Likewise.
12308 (SEEK_SET): Likewise.
12309 (TMP_MAX): Likewise.
12310 (EOF): Use macro-int-constant. Require < 0.
12311 (NULL): Use macro-constant. Require == 0.
12312 (stdin): Require type to be FILE *.
12313 (stdout): Likewise.
12314 (stderr): Likewise.
12315 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12316 macro-int-constant.
12317 (EXIT_SUCCESS): Likewise.
12318 (NULL): Use macro-constant. Require == 0.
12319 (RAND_MAX): Use macro-int-constant.
12320 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12321 [C99-based standards] (strtof): Require function.
12322 [C99-based standards] (strtold): Likewise.
12323 [C99-based standards] (strtoll): Likewise.
12324 [C99-based standards] (strtoull): Likewise.
12325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12326 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12327 [ISO || ISO99 || ISO11] (math.h): Likewise.
12328 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12331
d18ea0c5
AS
123322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12333
12334 [BZ #14132]
56d25bb8
AS
12335 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12336 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12337 * intl/dgettext.c (DCGETTEXT): Likewise.
12338 * intl/gettext.c (DCGETTEXT): Likewise.
12339 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12340 * posix/regex_internal.h (gettext): Likewise.
12341 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12342 Remove declaration.
12343 * include/argz.h (__argz_count_internal)
12344 (__argz_stringify_internal): Remove declaration.
12345 (__argz_count, __argz_stringify): Declare hidden proto.
12346 * intl/dcgettext.c: Remove use of INTDEF.
12347 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12348 * string/argz-stringify.c: Likewise.
12349 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12350 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12351 Declare hidden proto.
d18ea0c5
AS
12352 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12353 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12354 Declare hidden proto.
12355 * include/stdio.h (__asprintf_internal): Don't declare.
12356 (__asprintf): Don't define as macro. Declare hidden proto.
12357 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12358 (__fsetlocking): Declare hidden proto.
12359 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12360 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12361 hidden proto.
12362 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12363 (_IO_setlinebuf): Remove use of INTUSE.
12364 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12365 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12366 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12367 Remove declaration.
12368 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12369 (_IO_do_flush): Remove use of INTUSE.
12370 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12371 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12372 (_IO_adjust_column, _IO_least_wmarker)
12373 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12374 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12375 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12376 (_IO_default_doallocate, _IO_wdefault_doallocate)
12377 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12378 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12379 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12380 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12381 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12382 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12383 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12384 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12385 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12386 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12387 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12388 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12389 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12390 proto.
12391 (_IO_flush_all_internal, _IO_adjust_column_internal)
12392 (_IO_default_uflow_internal, _IO_default_finish_internal)
12393 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12394 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12395 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12396 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12397 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12398 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12399 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12400 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12401 (_IO_file_close_internal, _IO_file_close_it_internal)
12402 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12403 (_IO_file_init_internal, _IO_file_attach_internal)
12404 (_IO_file_fopen_internal, _IO_file_read_internal)
12405 (_IO_file_sync_internal, _IO_file_seek_internal)
12406 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12407 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12408 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12409 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12410 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12411 (_IO_list_all_internal, _IO_link_in_internal)
12412 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12413 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12414 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12415 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12416 (_IO_do_write_internal, _IO_padn_internal)
12417 (_IO_getline_info_internal, _IO_getline_internal)
12418 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12419 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12420 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12421 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12422 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12423 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12424 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12425 with libc_hidden_ver, remove use of INTUSE.
12426 * libio/genops.c: Likewise.
12427 * libio/freopen.c: Likewise.
12428 * libio/freopen64.c: Likewise.
12429 * libio/iofclose.c: Likewise.
12430 * libio/iofdopen.c: Likewise.
12431 * libio/iofflush.c: Likewise.
12432 * libio/iofflush_u.c: Likewise.
12433 * libio/iofgets.c: Likewise.
12434 * libio/iofgets_u.c: Likewise.
12435 * libio/iofopen.c: Likewise.
12436 * libio/iofopncook.c: Likewise.
12437 * libio/iofread.c: Likewise.
12438 * libio/iofread_u.c: Likewise.
12439 * libio/ioftell.c: Likewise.
12440 * libio/iofwrite.c: Likewise.
12441 * libio/iogetline.c: Likewise.
12442 * libio/iogets.c: Likewise.
12443 * libio/iogetwline.c: Likewise.
12444 * libio/iopadn.c: Likewise.
12445 * libio/iopopen.c: Likewise.
12446 * libio/ioseekoff.c: Likewise.
12447 * libio/ioseekpos.c: Likewise.
12448 * libio/iosetbuffer.c: Likewise.
12449 * libio/iosetvbuf.c: Likewise.
12450 * libio/ioungetc.c: Likewise.
12451 * libio/ioungetwc.c: Likewise.
12452 * libio/iovdprintf.c: Likewise.
12453 * libio/iovsprintf.c: Likewise.
12454 * libio/iovsscanf.c: Likewise.
12455 * libio/memstream.c: Likewise.
12456 * libio/obprintf.c: Likewise.
12457 * libio/oldfileops.c: Likewise.
12458 * libio/oldiofclose.c: Likewise.
12459 * libio/oldiofdopen.c: Likewise.
12460 * libio/oldiofopen.c: Likewise.
12461 * libio/oldiopopen.c: Likewise.
12462 * libio/oldstdfiles.c: Likewise.
12463 * libio/putc.c: Likewise.
12464 * libio/setbuf.c: Likewise.
12465 * libio/setlinebuf.c: Likewise.
12466 * libio/stdfiles.c: Likewise.
12467 * libio/strops.c: Likewise.
12468 * libio/vasprintf.c: Likewise.
12469 * libio/vscanf.c: Likewise.
12470 * libio/vsnprintf.c: Likewise.
12471 * libio/vswprintf.c: Likewise.
12472 * libio/wfiledoalloc.c: Likewise.
12473 * libio/wfileops.c: Likewise.
12474 * libio/wgenops.c: Likewise.
12475 * libio/wmemstream.c: Likewise.
12476 * libio/wstrops.c: Likewise.
12477 * libio/__fpurge.c: Likewise.
12478 * libio/__fsetlocking.c: Likewise.
12479 * assert/assert.c: Likewise.
12480 * debug/fgets_chk.c: Likewise.
12481 * debug/fgets_u_chk.c: Likewise.
12482 * debug/fread_chk.c: Likewise.
12483 * debug/fread_u_chk.c: Likewise.
12484 * debug/gets_chk.c: Likewise.
12485 * debug/obprintf_chk.c: Likewise.
12486 * debug/vasprintf_chk.c: Likewise.
12487 * debug/vdprintf_chk.c: Likewise.
12488 * debug/vsnprintf_chk.c: Likewise.
12489 * debug/vsprintf_chk.c: Likewise.
12490 * malloc/mtrace.c: Likewise.
12491 * misc/error.c: Likewise.
12492 * misc/syslog.c: Likewise.
12493 * stdio-common/asprintf.c: Likewise.
12494 * stdio-common/fxprintf.c: Likewise.
12495 * stdio-common/getw.c: Likewise.
12496 * stdio-common/isoc99_fscanf.c: Likewise.
12497 * stdio-common/isoc99_scanf.c: Likewise.
12498 * stdio-common/isoc99_vfscanf.c: Likewise.
12499 * stdio-common/isoc99_vscanf.c: Likewise.
12500 * stdio-common/isoc99_vsscanf.c: Likewise.
12501 * stdio-common/printf-prs.c: Likewise.
12502 * stdio-common/printf_fp.c: Likewise.
12503 * stdio-common/printf_fphex.c: Likewise.
12504 * stdio-common/printf_size.c: Likewise.
12505 * stdio-common/putw.c: Likewise.
12506 * stdio-common/scanf.c: Likewise.
12507 * stdio-common/sprintf.c: Likewise.
12508 * stdio-common/tmpfile.c: Likewise.
12509 * stdio-common/vfprintf.c: Likewise.
12510 * stdio-common/vfscanf.c: Likewise.
12511 * stdlib/strfmon_l.c: Likewise.
12512 * sunrpc/openchild.c: Likewise.
12513 * sunrpc/xdr_stdio.c: Likewise.
12514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12515 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12516
d6c33fda
RM
125172012-05-24 Roland McGrath <roland@hack.frob.com>
12518
c1487492
RM
12519 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12520
12521 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12522 in the third column, to generate for the shared library an IFUNC
12523 that uses _dl_vdso_vsym.
12524 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12525 * Makeconfig (object-suffixes-noshared): New variable.
12526
12527 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12528 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12529 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12530 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12531
d6c33fda
RM
12532 [BZ #14132]
12533 * include/sys/time.h (__gettimeofday): Remove macro.
12534 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12535 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12536 Remove INTDEF.
12537 (__gettimeofday): Add libc_hidden_def.
12538 (gettimeofday): Add libc_hidden_weak.
12539 * sysdeps/mach/gettimeofday.c: Likewise.
12540 * sysdeps/posix/gettimeofday.c: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12544 (__gettimeofday_internal): Remove strong_alias.
12545 (__gettimeofday): Add libc_hidden_def.
12546 (gettimeofday): Add libc_hidden_weak.
12547 * sysdeps/unix/syscalls.list (gettimeofday):
12548 Remove __gettimeofday_internal alias.
12549
b5a2bbe6
L
125502012-05-24 Daniel Jacobowitz <drow@false.org>
12551 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 [BZ #12495]
12554 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12555 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12556 (largebin_index_32_big): New.
12557 (largebin_index): Use it for 16-byte alignment.
12558 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12559 correction with front_misalign.
12560
cfba4fda
L
125612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12562
7f907421
L
12563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12565 Likewise.
12566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12567 Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12569 Likewise.
12570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12571 Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12573 Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12575 Likewise.
12576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12577 Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12579 Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12581 Likewise.
12582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12583 Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12585 Likewise.
12586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12587 Likewise.
12588
cfba4fda
L
12589 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12590 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12591
80bad0cc
JM
125922012-05-24 Joseph Myers <joseph@codesourcery.com>
12593
7a25eb06
JM
12594 [BZ #10846]
12595 [BZ #14036]
12596 * math/libm-test.inc (exp_test): Add test from bug 14036.
12597 (pow_test): Add test from bug 10846.
12598
795405f9
JM
12599 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12600 and other flags.
12601 (special_function): Do not include flags in test name.
12602 (parse_args): Likewise.
12603 * sysdeps/i386/fpu/libm-test-ulps: Update.
12604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12608
80bad0cc
JM
12609 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12610 exceptions.
12611 * math/libm-test.inc ("Philosophy"): Update comment about
12612 exception testing.
12613 (UNDERFLOW_EXCEPTION): New macro.
12614 (UNDERFLOW_EXCEPTION_OK): Likewise.
12615 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12616 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12617 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12618 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12619 (INVALID_EXCEPTION_OK): Update value.
12620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12621 (OVERFLOW_EXCEPTION_OK): Likewise.
12622 (IGNORE_ZERO_INF_SIGN): Likewise.
12623 (test_exceptions): Handle underflow exceptions.
12624 (acos_test): Update for underflow exception expectations.
12625 (cexp_test): Likewise.
12626 (clog_test): Likewise.
12627 (clog10_test): Likewise.
12628 (csqrt_test): Likewise.
12629 (ctan_test): Likewise.
12630 (ctanh_test): Likewise.
12631 (exp_test): Likewise.
12632 (exp10_test): Likewise.
12633 (exp2_test): Likewise.
12634 (expm1_test): Likewise.
12635 (fma_test): Likewise.
12636 (j0_test): Likewise.
12637 (jn_test): Likewise.
12638 (nexttoward_test): Likewise.
12639 (pow_test): Likewise.
12640 (scalbn_test): Likewise.
12641 (scalbln_test): Likewise.
12642 (tan_test): Likewise.
12643 (y1_test): Likewise.
12644 * sysdeps/i386/fpu/libm-test-ulps: Update.
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12646
9e0e3d0b
DM
126472012-05-23 David S. Miller <davem@davemloft.net>
12648
12649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12650 (__libc_sigaction): Remove unused local variables.
12651
ccd0a08f
L
126522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12653
12654 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12655
62bdf9a6
PE
126562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12657
f8591f80
PE
12658 mktime: avoid signed integer overflow
12659 * time/mktime.c (__mktime_internal): Do not mishandle the case
12660 where diff == INT_MIN.
12661
94c7d826
PE
12662 mktime: simplify computation of average
12663 * time/mktime.c (ranged_convert): Use new time_t_avg function
12664 instead of rolling our own (probably-slower) code.
12665
ce73d683
PE
12666 mktime: do not assume signed right shift propagates sign bit
12667 * time/mktime.c (isdst_differ): New static function.
12668 (__mktime_internal): No need to normalize tm_isdst now.
12669 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12670 tm_isdst values.
12671
72a22e59
PE
12672 mktime: merge another wrapv change from gnulib
12673 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12674 from some compilers.
12675
68605433
PE
12676 mktime: remove incorrect attempt at unusual arithmetics
12677 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12678 The code didn't really work on such machines anyway.
12679 (TYPE_MINIMUM): Assume two's complement.
12680 (twos_complement_arithmetic): Verify that long_int and time_t
12681 are two's complement (or unsigned, in the latter case).
12682
03cf7fe3
PE
12683 mktime: check signed shifts on long_int and time_t, too
12684 * time/mktime.c (SHR): Check that shifts work as desired
12685 on the types long_int and time_t too, as SHR is used on
12686 such types.
12687
f04dfbc2
PE
12688 mktime: do not assume 'long' is wide enough
12689 * time/mktime.c (verify): Move decl up.
12690 (long_int): New type.
12691 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12692 to remove assumption in the code that 'long' is wide enough to
12693 store year values. This assumption is not true on x32 and on
12694 some non-glibc platforms.
12695
62bdf9a6
PE
12696 mktime: merge wrapv change from gnulib
12697 * time/mktime.c (WRAPV): New macro.
12698 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12699 (guess_time_tm, __mktime_internal): Do not assume that signed
12700 integer overflow wraps around; modern compilers generate code
12701 where this assumption is no longer valid.
12702
5e292e4f
L
127032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12706 Replace "jmp L(pseudo_end)" with "ret".
12707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12708 Likewise.
12709
8caf8c87
AJ
127102012-05-23 Andreas Jaeger <aj@suse.de>
12711
12712 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12713 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12714
1a09dc56
AJ
127152012-05-23 Andreas Jaeger <aj@suse.de>
12716 Maximilian Attems <max@stro.at>
12717
12718 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12719 New macros.
12720
1c87aba0
L
127212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12724 code so that pseudo_end is just ret and the stack pointer is
12725 correct also for static library in error case.
12726
40e45bd5
JM
127272012-05-23 Joseph Myers <joseph@codesourcery.com>
12728
c2670533
JM
12729 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12730 move to syscalls.list.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12735
40e45bd5
JM
12736 * manual/install.texi (Running make install): Do not mention Linux
12737 kernel version for which pt_chown is not needed.
12738 (Linux): Do not mention problems with nscd with 2.0 kernels.
12739 * INSTALL: Regenerated.
12740
be08eda5
AJ
127412012-05-23 Andreas Jaeger <aj@suse.de>
12742
12743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12744 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12745 macro.
12746 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12748 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12750 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12756 * sysdeps/unix/sysv/linux/bits/in.h
12757 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12758
a6a056bb
RM
127592012-05-22 Roland McGrath <roland@hack.frob.com>
12760
12761 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12762 (PREPARE_VERSION): Just use assert instead, it will be elided
12763 under [NDEBUG] anyway.
12764
c9009328
L
127652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 * sysdeps/unix/sysv/linux/Makefile: Include
12768 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12769 (sysdep_routines): Remove sysctl.
c9009328
L
12770 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12771 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12772 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12774 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12775
73338355
AJ
127762012-05-22 Andreas Jaeger <aj@suse.de>
12777
12778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12779 that pseudo_end is just ret and the stack pointer is correct also
12780 for static library in error case.
12781
d44638b0
PP
127822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12783
12784 [BZ #14122]
12785 * nss/nsswitch.c (defconfig_entries): New variable.
12786 (__nss_database_lookup): Don't leak defconfig entries.
12787 (nss_parse_service_list): Don't leak on error paths.
12788 (free_database_entries): New function.
12789 (free_defconfig): New function.
12790 (free_mem): Move common code to free_database_entries.
12791
31a39bd8
L
127922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12793
da0331a8
L
12794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12795 Add arch_prctl.
12796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12797
31a39bd8
L
12798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12799 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12801 New macro.
12802 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12803 (INTERNAL_SYSCALL_TYPES): Likewise.
12804 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12805 (LOAD_REGS_TYPES_[1-6]): Likewise.
12806 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12807 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12808
45470df3
AZ
128092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12810
12811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12812 copysignl for GLIBC_2_0.
12813 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12814 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12816 logbl for GLIBC_2_0.
12817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12818 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12819
98a61bcb
L
128202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12821
a4f6e481
L
12822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12824
f63d5db6
L
12825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12826 Use "neg %eax".
12827
98a61bcb
L
12828 * time/mktime.c: Update copyright years.
12829
95770f14
PE
128302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12831
6226efbd
PE
12832 mktime: merge comment-quoting-style change from gnulib
12833 * time/mktime.c: Quote 'like this' in comments.
12834 The GNU coding standards suggest that we no longer quote `like this',
12835 as "`" and "'" are typically rendered asymmetrically nowadays.
12836 The typical gnulib style is to quote 'like this' when quoting
12837 code, and "like this" when quoting English.
12838
b99e4f78
PE
12839 * time/mktime.c (compile-command): Add "-I.".
12840
643e01e6
PE
12841 mktime: merge mktime-internal.h change from gnulib
12842 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12843
2554247d
PE
12844 mktime: merge time_r change from gnulib
12845 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12846
826dd0ab
PE
12847 mktime: merge DEBUG change from gnulib
12848 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12849 case system <time.h> has a #define.
12850
bd83aabe
PE
12851 mktime: merge <sys/types.h> change from gnulib
12852 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12853 since <time.t> is now guaranteed to define time_t.
12854
95770f14
PE
12855 mktime: merge HAVE_CONFIG_H change from gnulib
12856 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12857
5e1a27a9
L
128582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12859
0e44a77e
L
12860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12861 Use "neg %eax".
12862
5e1a27a9
L
12863 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12864 __rlim_t cast.
12865 (struct rusage): Use anonymous union to pad each field to
12866 __syscall_slong_t.
12867
46259bec
DM
128682012-05-21 David S. Miller <davem@davemloft.net>
12869
12870 * Makefules (o-iterator): Remove .s cases.
12871 (compile-command.s): Delete.
12872 (COMPILE.s): Delete.
12873 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12874
59f0c22e
JM
128752012-05-21 Joseph Myers <joseph@codesourcery.com>
12876
12877 * configure.in (libc_cv_predef_stack_protector): Only consider
12878 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12879 * configure: Regenerated.
12880
20c07380
L
128812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12882
bbb3154b
L
12883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12884 New macro. Use R*LP on int and pointer.
12885 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12886 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12887 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12888 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12889
20c07380
L
12890 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12891 [__WORDSIZE_TIME64_COMPAT32] instead of
12892 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12893 (struct utmp): Likewise.
12894 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12895 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12896 Renamed to ...
12897 (__WORDSIZE_TIME64_COMPAT32): This.
12898 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12899 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12900 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12901 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12903 (__WORDSIZE_TIME64_COMPAT32): New macro.
12904
d8d1017e
AJ
129052012-05-21 Andreas Jaeger <aj@suse.de>
12906
12907 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12908 only if [SHARED]. Add prototype for __wcschr_ia32.
12909
6c7fb145
RM
129102012-05-21 Roland McGrath <roland@hack.frob.com>
12911
12912 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12913 of %rbp unmolested in the jmp_buf while mangling the low bits.
12914 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12915 unmolested high bits of %rbp while demangling the low bits.
12916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12917
66274218
AJ
129182012-05-21 Andreas Jaeger <aj@suse.de>
12919
07c58f8f
AJ
12920 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12921 * sunrpc/svc_simple.c: Use it for registerrpc.
12922 * sunrpc/xcrypt.c: Use it for passwd2des.
12923
66274218
AJ
12924 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12925
61f65140
L
129262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12929 Don't define if [__SYSCALL_WORDSIZE != 32].
12930 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12931 New macro.
12932
5fefb436
AJ
129332012-05-21 Bruno Haible <bruno@clisp.org>
12934 Andreas Jaeger <aj@suse.de>
12935
12936 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12937 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12938 inptr and inend for must_buffer_ch.
12939 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12940 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12941 * stdio-common/Makefile (tests): Remove bug15.
12942 (bug15-ENV): Remove macro.
12943 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12944 anymore.
12945
d8e272ab
AJ
129462012-05-19 Andreas Jaeger <aj@suse.de>
12947 Roland McGrath <roland@hack.frob.com>
12948
12949 * manual/contrib.texi: Completely rewritten. It contains now an
12950 alphabetical list of contributors and their contributions.
12951
4a56a162
RH
129522012-05-21 Richard Henderson <rth@twiddle.net>
12953
12954 * misc/getauxval.c (__getauxval): Use unsigned long int.
12955 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12956 (getauxval): Use unsigned long int.
12957
d024d23c
L
129582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12961
cbc00a03
RM
129622012-05-21 Roland McGrath <roland@hack.frob.com>
12963
12964 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12965 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12966 __alignof__ (long double).
12967
478143fa
AZ
129682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12969
12970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12971
c7683a6d
RH
129722012-05-20 Richard Henderson <rth@twiddle.net>
12973
12974 * misc/getauxval.c: New file.
12975 * misc/sys/auxv.h: New file.
12976 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12977 (routines): Add getauxval.
12978 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12980 * elf/dl-sysdep.c (_dl_auxv): Remove.
12981 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12982 * elf/dl-support.c (_dl_auxv): New variable.
12983 (_dl_aux_init): Initialize it.
12984 * manual/startup.texi (Auxiliary Vector): New node.
12985 * sysdeps/generic/bits/hwcap.h: New file.
12986 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12987 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12988 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12989 * sysdeps/sparc/sysdep.h: ... here. Include it.
12990 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12993 Update.
c7683a6d
RH
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13002
a6f1845d
AZ
130032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004
13005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13006
cbcbe830
DM
130072012-05-19 David S. Miller <davem@davemloft.net>
13008
13009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13010
e0b16cc2
JM
130112012-05-19 Joseph Myers <joseph@codesourcery.com>
13012
13013 [BZ #14123]
13014 * math/s_ccosh.c: Include <float.h>
13015 (__ccosh): Avoid internal overflow calculating sinh and cosh
13016 values before multiplying by sin and cos values.
13017 * math/s_ccoshf.c: Likewise.
13018 * math/s_ccoshl.c: Likewise.
13019 * math/s_csin.c: Likewise.
13020 * math/s_csinf.c: Likewise.
13021 * math/s_csinl.c: Likewise.
13022 * math/s_csinh.c: Likewise.
13023 * math/s_csinhf.c: Likewise.
13024 * math/s_csinhl.c: Likewise.
13025 * math/libm-test.inc (ccos_test): Add more tests.
13026 (ccosh_test): Likewise.
13027 (csin_test): Likewise.
13028 (csinh_test): Likewise.
13029 * sysdeps/i386/fpu/libm-test-ulps: Update.
13030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13031
6ad13e08
L
130322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13033
f66f0ce8
L
13034 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13035 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13036
6ad13e08
L
13037 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13038
b1d072a7
JM
130392012-05-19 Joseph Myers <joseph@codesourcery.com>
13040
13041 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13042 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13043 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13044 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13045 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13046 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13047 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13048 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13049 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13050 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13051 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13052 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13053 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13054 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13055 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13056 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13057 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13058 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13059 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13060 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13061 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13062 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13063 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13064 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13065 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13066 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13067 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13068 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13069 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13070 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13071 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13072
9eae47cb
AJ
130732012-05-18 Andreas Jaeger <aj@suse.de>
13074
13075 * csu/.gitignore: Delete.
13076
bb07f69f
L
130772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13078
13079 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13080 (timex): Use __syscall_slong_t.
13081
e6bdb741
AJ
130822012-05-18 Andreas Jaeger <aj@suse.de>
13083 Carlos O'Donell <carlos_odonell@mentor.com>
13084
13085 * manual/install.texi (Configuring and compiling): Update
13086 description about files modified in the source directory.
d6c33fda 13087 * INSTALL: Regenerated.
e6bdb741 13088
1b74487e
L
130892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13092 value. Use "or" to set return value to -1.
13093 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13094 negate return value.
13095
a88b64b9
TMQMF
130962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13097
13098 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13099 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13100 failure if the compiler has Graphite support disabled.
13101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13102 Likewise.
13103 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13104 CFLAGS-memmove.c): Likewise.
13105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13106 Likewise.
13107
3707636e
L
131082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13109
610b8622
L
13110 * sysdeps/x86_64/x32/_itoa.h: New file.
13111
7cd195df
L
13112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13113 getdents system call only if kernel and user dirents have the
13114 same d_ino and d_off.
13115
94b07d20
L
13116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13117 LLONG_MAX != LONG_MAX.
13118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13119 (_fitoa_word): Likewise.
13120
18298070
L
13121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13122 years.
13123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13126
553c7ea4
L
13127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13128 include <bits/wordsize.h>. Check __x86_64__ instead of
13129 __WORDSIZE.
13130 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13131 if __x86_64__ is defined. Use anonymous union on fpstate.
13132
3707636e
L
13133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13134 anonymous union.
13135
b53ef01a
AS
131362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13137
37fb1dc0
AS
13138 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13139 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13141 Refer to _rtld_local_ro instead of _rtld_global_ro.
13142 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13143 Likewise.
13144 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13145 Likewise.
13146 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13147 Likewise.
13148 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13149 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13150 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13151
b53ef01a
AS
13152 * sysdeps/powerpc/powerpc32/dl-machine.c
13153 (__elf_machine_runtime_setup) [PROF]: Don't reference
13154 _dl_prof_resolve.
13155
7a185db2
AJ
131562012-05-18 Andreas Jaeger <aj@suse.de>
13157
13158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13159 function only available for GCCs before 3.4 since GCC 3.4
13160 introduced a builtin.
13161 (lrint): Likewise.
13162 (llrintf): Likewise.
13163 (llrint): Likewise.
13164 (fmaxf): Likewise.
13165 (fmax): Likewise.
13166 (fminf): Likewise.
13167 (fmin): Likewise.
13168 (rint): Likewise.
13169 (rintf): Likewise.
13170 (nearbyint): Likewise.
13171 (nearbyintf): Likewise.
13172 (ceil): Likewise.
13173 (ceilf): Likewise.
13174 (floor): Likewise.
13175 (floorf): Likewise.
13176
3e5aef87
L
131772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13178
428bd707
L
13179 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13180 on both fields and cast pointer to __syscall_ulong_t.
13181
3e5aef87
L
13182 * bits/types.h (__fsword_t): New type.
13183 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13184 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13186 (__FSWORD_T_TYPE): Likewise.
13187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13188 (__FSWORD_T_TYPE): Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13190 (__FSWORD_T_TYPE): Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13192 (__FSWORD_T_TYPE): Likewise.
13193 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13194 __SWORD_TYPE with __fsword_t.
13195 (statfs64): Likewise.
13196
1ba7c3dc
DM
131972012-05-17 David S. Miller <davem@davemloft.net>
13198
13199 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13200
59910343
AJ
132012012-05-17 Andreas Jaeger <aj@suse.de>
13202
13203 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13204 warning.
13205
2e4c1e9e
L
132062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13207
13208 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13209
de7f5ce7
AJ
132102012-05-17 Andreas Jaeger <aj@suse.de>
13211
13212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13213 when it is used.
13214
286abc3d
CM
132152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13216
13217 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13218
477cc68e
L
132192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13220
13221 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13222 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13223
1a0994f5
CD
132242012-05-17 Andreas Jaeger <aj@suse.de>
13225 Carlos O'Donell <carlos_odonell@mentor.com>
13226
13227 [BZ #14059]
13228 * sysdeps/x86_64/multiarch/init-arch.h
13229 (bit_YMM_Usable): Rename to...
13230 (bit_AVX_Usable): ... this.
13231 (bit_FMA4_Usable): New macro.
13232 (bit_XMM_state): New macro.
13233 (bit_YMM_state): New macro.
13234 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13235 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13236 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13237 (CPUID_OSXSAVE): New macro.
13238 (CPUID_AVX): New macro.
13239 (CPUID_FMA4): New macro.
13240 (index_YMM_Usable): Rename to...
13241 (index_AVX_Usable): ... this.
13242 (HAS_AVX): Use HAS_ARCH_FEATURE.
13243 (HAS_FMA4): Likewise.
13244 (HAS_YMM_USABLE): Remove.
13245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13246 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13247 are present.
13248 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13249 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13250 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13251 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13252 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13253
0af797de
CM
132542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13255
13256 * math/libm-test.c: Support platforms without multiple rounding modes.
13257 * math/bug-nextafter.c: Support platforms without FP exceptions.
13258 * math/bug-nexttoward.c: Likewise.
13259 * math/test-fenv.c: Likewise.
13260 * math/test-misc.c: Likewise.
13261 * stdlib/bug-getcontext.c: Likewise.
13262
e39745ff
AJ
132632012-05-17 Andreas Jaeger <aj@suse.de>
13264
13265 * manual/examples/search.c (critter_cmp): Change signature to
13266 avoid warnings.
13267 * manual/string.texi (Collation Functions): Likewise.
13268
48970aba
L
132692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 * bits/types.h: Fold copyright years.
13272 * bits/typesizes.h: Likewise.
13273 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13277 * time/time.h: Likewise.
13278
bedee953
PP
132792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13280
13281 [BZ #208]
13282 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13283 in instead of returning them. Return void.
13284 (__libc_mallinfo): Accumulate over all arenas.
13285 (__malloc_stats): Adjust for change in int_mallinfo interface.
13286
61653dfb
RM
132872012-05-16 Roland McGrath <roland@hack.frob.com>
13288
30b99d79
RM
13289 [BZ #10375]
13290 * configure.in (NM): Add AC_CHECK_TOOL for it.
13291 (libc_extra_cflags): New substituted variable.
13292 Check for -fstack-protector being used implicitly.
13293 * configure: Regenerated.
13294 * config.make.in (config-extra-cflags): New variable,
13295 gets @libc_extra_cflags@.
13296 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13297
61653dfb
RM
13298 [BZ #10375]
13299 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13300 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13301 * configure: Regenerated.
13302 * config.make.in (CPPUNDEFS): New substituted variable.
13303 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13304 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13305 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13306
661768bb
L
133072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13308
13309 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13310 (mq_attr): Use __syscall_slong_t.
13311
d4261567
L
133122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13315 Check __x86_64__ instead of __WORDSIZE.
13316 (_STAT_VER_LINUX): Likewise.
13317 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13318 __syscall_ulong_t and __syscall_slong_t.
13319 (stat64): Likewise.
13320
cf3ff365
L
133212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13322
13323 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13324
76cf3e4d
L
133252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13328
a637753a
L
133292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13332 __syscall_ulong_t.
13333
d5e05119
L
13334 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13335 include <bits/wordsize.h>. Check __x86_64__ instead of
13336 __WORDSIZE.
13337 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13338 defined.
13339 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13340
f62ee380
L
13341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13342 include <bits/wordsize.h>. Check __x86_64__ instead of
13343 __WORDSIZE.
13344 (user_regs_struct): Use "__extension__ unsigned long long"
13345 instead of "unsigned long" if __x86_64__ is defined.
13346 (user): Likewise. Pad after pointer field if __ILP32__ is
13347 defined.
13348
4e124ced
JM
133492012-05-16 Joseph Myers <joseph@codesourcery.com>
13350
6a3951a0
JM
13351 * configure.in (makeinfo): Require version 4.5 or later. Allow
13352 versions 5 to 9.
13353 * configure: Regenerated.
13354 * manual/install.texi (texinfo): Increase version requirement to
13355 4.5 or later.
13356 * INSTALL: Regenerated.
13357
4e124ced
JM
13358 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13359
953ca31a
L
133602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13363
617aca05
L
13364 * sysdeps/x86_64/x32/ffs.c: New file.
13365
5762f7ae
L
13366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13367 __syscall_ulong_t.
13368 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13369 defined. Use __syscall_ulong_t.
13370 (shminfo): Use __syscall_ulong_t.
13371 (shm_info): Likewise.
13372
a26b6856
L
13373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13374 __syscall_ulong_t.
13375
cb2b9ef7
L
13376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13377 <bits/wordsize.h>.
13378 (msgqnum_t): Use __syscall_ulong_t.
13379 (msglen_t): Likewise.
13380 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13381 __syscall_ulong_t.
13382
34683bb0
L
13383 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13385
84a68786
L
13386 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13387
48baa5f1
L
13388 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13389 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13390
180be88b
L
13391 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13392 __syscall_slong_t.
13393
5e90c8ad
L
13394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13395 include <bits/wordsize.h>. Check __x86_64__ instead of
13396 __WORDSIZE.
13397
23dfb58b
L
13398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13399 "unsigned long long int" if __x86_64__ is defined.
13400 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13401
ce5d54b0
L
13402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13404 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13405
13dc9eac
L
13406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13407 <stdint.h>.
13408 (GET_PC): Cast to uintptr_t first.
13409 (GET_FRAME): Likewise.
13410 (GET_STACK): Likewise.
13411
a7895d15
L
13412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13418 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13420 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13439 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13441
656416c9
AS
134422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13443
5bd66283
AS
13444 * Makerules (+depfiles): Also collect depfiles from .oS in
13445 $(extra-objs).
13446 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13447 .oS, $(libnldbl-routines)).
13448
656416c9
AS
13449 * Makerules (native-compile-mkdep-flags): Define.
13450 * sunrpc/Makefile (extra-objs): Add $(addprefix
13451 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13452 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13453 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13454 calling $(make-target-directory).
13455
a46f2169
L
134562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13457
13458 * bits/types.h (__snseconds_t): Removed.
13459 * time/time.h (struct timespec): Replace __snseconds_t with
13460 __syscall_slong_t.
13461 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13462 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13463 Likewise.
13464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13465 (__SNSECONDS_T_TYPE): Likewise.
13466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13467 (__SNSECONDS_T_TYPE): Likewise.
13468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13469 (__SNSECONDS_T_TYPE): Likewise.
13470
6af6528b
L
134712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 * sysdeps/mach/hurd/bits/typesizes.h
13474 (__SYSCALL_SLONG_TYPE): New macro.
13475 (__SYSCALL_ULONG_TYPE): Likewise.
13476
de986b56
L
134772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13478
13479 * bits/types.h (__syscall_slong_t): New type.
13480 (__syscall_ulong_t): Likewise.
13481
13482 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13483 (__SYSCALL_ULONG_TYPE): Likewise.
13484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13485 (__SYSCALL_SLONG_TYPE): Likewise.
13486 (__SYSCALL_ULONG_TYPE): Likewise.
13487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13488 (__SYSCALL_SLONG_TYPE): Likewise.
13489 (__SYSCALL_ULONG_TYPE): Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13491 (__SYSCALL_SLONG_TYPE): Likewise.
13492 (__SYSCALL_ULONG_TYPE): Likewise.
13493
85736dc7
L
134942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13497 Add sigaltstack-offsets.sym.
13498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13499 <sigaltstack-offsets.h>.
13500 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13501 longjmp_msg pointer.
13502 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13503 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13504 signal stack.
13505 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13506
cc03b296
JM
135072012-05-15 Joseph Myers <joseph@codesourcery.com>
13508
a9538892
JM
13509 * elf/stackguard-macros.h: Remove file.
13510 * sysdeps/generic/stackguard-macros.h: New file.
13511 * sysdeps/i386/stackguard-macros.h: Likewise.
13512 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13513 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13514 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13515 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13516 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13517 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13518 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13519 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13520 <elf/stackguard-macros.h>.
13521
cc03b296
JM
13522 [BZ #14109]
13523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13524 __aligned__ in attribute.
13525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13526 (gregset_t): Likewise.
13527
93171016
L
135282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13529
13530 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13531 * sysdeps/x86_64/64/Implies-after: Here. New file.
13532 * sysdeps/x86_64/x32/Implies-after: New file.
13533
d86813a0
L
135342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13535
13536 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13537 and access return value for _dl_profile_fixup. Use R10_LP to
13538 load frame size.
13539
2953ec75
L
135402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13543
3b550e9e
L
135442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13545
13546 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13547 * sysdeps/x86_64/x32/sysdep.h: New file.
13548
eda41706
L
135492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13550
13551 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13552 * sysdeps/x86_64/setjmp.S: Likewise.
13553
9ea01d93
AZ
135542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13555
13556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13558 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13560 remove unused global constant.
13561
02a91938
CM
135622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13563
13564 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13565 include of <not-cancel.h>.
13566
6540185f
RM
135672012-05-15 Roland McGrath <roland@hack.frob.com>
13568
13569 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13570
509072a0
AJ
135712012-05-15 Jeff Law <law@redhat.com>
13572 Andreas Jaeger <aj@suse.de>
13573
13574 [BZ #13594]
13575 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13576 out from...
13577 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13578 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13580 code changing __hst_map_handle.map.
13581
ba75122d
RM
135822012-05-15 Roland McGrath <roland@hack.frob.com>
13583
13584 * configure.in (sysnames): Look for Implies-before and Implies-after
13585 files.
13586 * configure: Regenerated.
13587
890d8bd8
L
135882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13589
13590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13591 8-byte data alignment with LP_SIZE alignment.
13592
f6ee6623
L
135932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13596 into R10_LP.
13597
ea2626f6
L
135982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13599
13600 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13601
085f715e
L
136022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13603
13604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13607 Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13609
be8498fc
L
136102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13613 (stackinfo_sub_sp): Likewise.
13614
70bc83b9
L
136152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13618 RAX_LP.
13619
9bc0b730
L
136202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13621
13622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13623 into R*_LP.
13624
6d2850e7
L
136252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13626
13627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13628 sizes into R*_LP.
13629
3cb84561
L
136302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13633
54e2ed81
L
136342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13635
13636 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13637 into R11_LP and load __x86_64_shared_cache_size_half into
13638 R8_LP.
13639
8a17f349
L
136402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13643 R8_LP.
13644
777b1eea
AZ
136452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13646
13647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13648 logb for POWER7.
13649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13650 logbf for POWER7.
13651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13652 logbl for POWER7.
13653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13654 powerpc32/power7/fpu/s_logb.c via #include.
13655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13656 powerpc32/power7/fpu/s_logbf.c via #include.
13657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13658 powerpc32/power7/fpu/s_logbl.c via #include.
13659
d20d4ac2
JM
136602012-05-15 Joseph Myers <joseph@codesourcery.com>
13661
13662 * README.libm: Remove file.
13663
6cdef1ab
L
136642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13665
13666 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13667 count for x32. Use R*_LP and omit operand-size suffix.
13668
0b254d8f
L
136692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13670
13671 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13672 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13673 * sysdeps/x86_64/x32/shlib-versions: New file.
13674
ceb809dc
RM
136752012-05-14 Roland McGrath <roland@hack.frob.com>
13676
13677 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13678 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13679 Use _dl_fatal_printf instead.
13680
37f1abd4
JM
136812012-05-14 Joseph Myers <joseph@codesourcery.com>
13682
13683 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13684 set if not set by the user. Do not allow for being unset.
13685 * sysdeps/unix/sysv/linux/configure: Regenerated.
13686
11de3a33
L
136872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13688
13689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13690 the `q' suffix from lea and replace .quad with ASM_ADDR.
13691
e02f153a
L
136922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13695 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13696 instead of $17.
13697 (PTR_DEMANGLE): Likewise.
13698
520ae0fd
L
136992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13702 (LP_OP): Likewise.
13703 (ASM_ADDR): Likewise.
13704 (RAX_LP): Likewise.
13705 (RBP_LP): Likewise.
13706 (RBX_LP): Likewise.
13707 (RCX_LP): Likewise.
13708 (RDI_LP): Likewise.
13709 (RSI_LP): Likewise.
13710 (RSP_LP): Likewise.
13711 (R8_LP): Likewise.
13712 (R9_LP): Likewise.
13713 (R10_LP): Likewise.
13714 (R10_LP): Likewise.
13715 (R11_LP): Likewise.
13716 (R12_LP): Likewise.
13717 (R13_LP): Likewise.
13718 (R14_LP): Likewise.
13719 (R15_LP): Likewise.
13720
b985be81
L
137212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 * sysdeps/x86_64/x32/dl-machine.h: New file.
13724
6a4888ff
AJ
137252012-05-14 Andreas Jaeger <aj@suse.de>
13726
13727 * manual/Makefile (subdir): Remove export of subdir.
13728 (all): Remove target.
13729 (.PHONY): Remove all from list.
13730 (mkinstalldirs): Remove.
13731 (.PHONY): Remove installdirs from list.
13732 ($(inst_infodir)/libc.info): Use make-target-directory.
13733 (installdirs): Remove.
13734 (subdir_%): Remove.
13735 (glibc-targets): Remove.
13736 (lib): Remove.
13737 (stubs): Remove.
13738 ($(objpfx)stubs ../po/manual.pot): Remove.
13739 ($(objpfx)stamp%): Remove.
13740 (make-target-directory): Remove.
13741 (subdir_install): Remove.
13742 (routines): Remove.
13743 (aux): Remove.
13744 (sources): Remove.
13745 (objects): Remove.
13746 (headers): Remove.
13747
13748 [BZ #13750]
13749 * manual/.gitignore: Remove, it's not needed anymore.
13750 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13751 all files in it.
13752 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13753 directory.
13754 (texis): Renamed to $(objpfx)texis.
13755 (texis-path): New, contains path to generated files.
13756 (chapters.%): Use texis-path for complete path, add extra argument
13757 libc-texinfo.sh.
13758 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13759 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13760 (summary,texi, stamp-summary): Use complete path of
13761 files. Generate files in build dir.
13762 (dir-add.texi): Build in build dir.
13763 (libm-err.texi,stamp-libm-err): Likewise.
13764 (version.texi, stamp-version): Likewise.
13765 (.%c.texi): Likewise.
13766 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13767 (mostlyclean): Remove target.
13768 (realclean): Remove target.
13769 (generated): Add new variable with contents from mostlyclean and
13770 realclean, remove entries duplicated in common-mostlyclean, add
13771 stamp-libm-err and stamp-version.
13772 (generated-dirs): Add libc directory.
13773 ($(inst_infodir)/libc.info): Install files from build dir.
13774
13775 * manual/install.texi (Configuring and compiling): Adjust since
13776 the info files are not part of the tar ball anymore.
13777
7ac77294
AJ
137782012-05-14 Andreas Jaeger <aj@suse.de>
13779
13780 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13781 variable.
13782
ffb7875d
JM
137832012-05-14 Joseph Myers <joseph@codesourcery.com>
13784
13785 [BZ #13717]
13786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13787 to 2.2.0 where earlier.
13788 * sysdeps/unix/sysv/linux/configure: Regenerated.
13789 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13790 Remove conditional code.
13791 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13792 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13793 Remove conditional code.
13794 [!__NR_lchown]: Likewise.
13795 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13796 [__NR_lchown]: Likewise.
13797 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13798 comment referencing __ASSUME_LCHOWN_SYSCALL.
13799 * sysdeps/unix/sysv/linux/i386/sigaction.c
13800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13803 Remove conditional code.
13804 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13805 (__protocol_available): Remove #if 0 code.
13806 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13807 conditional code.
13808 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13809 * sysdeps/unix/sysv/linux/kernel-features.h
13810 (__ASSUME_GETCWD_SYSCALL): Don't define.
13811 (__ASSUME_REALTIME_SIGNALS): Likewise.
13812 (__ASSUME_PREAD_SYSCALL): Likewise.
13813 (__ASSUME_PWRITE_SYSCALL): Likewise.
13814 (__ASSUME_POLL_SYSCALL): Likewise.
13815 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13816 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13817 non-SPARC.
13818 (__ASSUME_SIOCGIFNAME): Don't define.
13819 (__ASSUME_MSG_NOSIGNAL): Likewise.
13820 (__ASSUME_SENDFILE): Define unconditionally.
13821 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13822 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13823 conditional code.
13824 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13825 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13826 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13827 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13829 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13830 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13855 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13856 Remove conditional code.
13857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13858 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13859 Remove conditional code.
13860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13862 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13863 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13864 Remove conditional code.
13865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13866 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13867 Remove conditional code.
13868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13869 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13870 Remove conditional code.
13871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13872 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13873 Remove conditional code.
13874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13875 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13876 Remove conditional code.
13877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13878 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13881 * sysdeps/unix/sysv/linux/sigaction.c
13882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13884 * sysdeps/unix/sysv/linux/sigpending.c
13885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13887 * sysdeps/unix/sysv/linux/sigprocmask.c
13888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13890 * sysdeps/unix/sysv/linux/sigsuspend.c
13891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13894 (__libc_missing_rt_sigs): Remove.
13895 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13896 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13897 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13898 Remove conditional code.
13899 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13900 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13901 return 1.
13902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13906
1bfb7291
AJ
139072012-05-14 Andreas Jaeger <aj@suse.de>
13908
caae5a81
AJ
13909 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13910 it's not used in glibc.
13911 (__coshm1): Likewise.
13912 (__acosh1p): Likewise.
13913 (__sgn): Likewise.
13914
1bfb7291
AJ
13915 * manual/string.texi (Copying and Concatenation): Add missing
13916 variable in concat example.
13917 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13918
c044d724
L
139192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13920
144c5467 13921 [BZ #14103]
c044d724
L
13922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13923 __builtin_clzl with __builtin_clzll.
13924
2523c62b
L
139252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13926
13927 [BZ #14104]
13928 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13929 libc_freeres_ptr.
13930
d7bb4c42
LD
139312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13932
13933 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13934 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13935 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13936 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13937
9dc4e1fb
MF
139382012-05-14 Mike Frysinger <vapier@gentoo.org>
13939
13940 * NEWS: Update ia64 info.
13941
c7df0112
AS
139422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13943
13944 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13945 used as bcopy.
13946
dc70356c
TS
139472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13948
13949 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13950 * sysdeps/unix/syscalls.list (dup3): Likewise.
13951 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13952 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13953
9fb1a21f
L
139542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13955
13956 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13957 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13958
4822a2a5
L
139592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13960
13961 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13962 thread pointer.
13963 (TLS_IE): Use mov/add instead of movq/addq to load thread
13964 pointer.
13965 (TLS_GD_PREFIX): New.
13966 (TLS_GD): Use it.
13967
842b81d6
DM
139682012-05-11 David S. Miller <davem@davemloft.net>
13969
13970 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13971 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13972 (_FPU_SETCW): Likewise.
13973
1cf463cd
L
139742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13975
13976 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13977 is 32-byte aligned.
13978
60cc4a18
AS
139792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13980
13981 [BZ #11837]
13982 * iconvdata/gb18030.c: Update tables.
13983 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13984 characters specially.
13985 (BODY for TO_LOOP): Add encoding of missing ranges.
13986
febb44a4
TS
139872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13988
13989 [BZ #13673]
13990 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13991 * sysdeps/mach/hurd/dup3.c: Likewise.
13992 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13993 * sysdeps/powerpc/memmove.c:: Likewise.
13994
0a10fb9e
L
139952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13996
13997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13998 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13999
df8a552f
L
140002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14001
14002 * elf/elf.h (R_X86_64_RELATIVE64): New.
14003 (R_X86_64_NUM): Updated.
14004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14005 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14006 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14007 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14008 tst-quad1pie tst-quad2pie
14009 (modules-names): Add tst-quadmod1 tst-quadmod2.
14010 ($(objpfx)tst-quad1): New dependency.
14011 ($(objpfx)tst-quad2): Likewise.
14012 ($(objpfx)tst-quad1pie): Likewise.
14013 ($(objpfx)tst-quad2pie): Likewise.
14014 * sysdeps/x86_64/tst-quad1.c: New file.
14015 * sysdeps/x86_64/tst-quad1pie.c: New file.
14016 * sysdeps/x86_64/tst-quad2.c: Likewise.
14017 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14018 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14019 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14020 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14021 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14022
f34d6f84
ST
140232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14024
f42d41d1
ST
14025 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14026 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14027 * streams/stropts.h (t_scalar_t): Define type.
14028
3c3571fc
ST
14029 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14030 (_PATH_PRESERVE): Set to "/var/lib".
14031 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14032
61f06bd3
ST
14033 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14034 instead of int.
14035
918d4d71
ST
14036 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14037 if __dir_mkfile succeeded.
14038
f34d6f84
ST
14039 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14040 checking for _hurd_dtablesize. Unlock it right after having
14041 finished _hurd_dtable allocation.
14042
10589b4a
TS
140432012-05-10 Thomas Schwinge <thomas@schwinge.name>
14044
674cdbc7
TS
14045 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14046 * sysdeps/mach/hurd/configure: Regenerated.
14047 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14048 special-casing to...
14049 * sysdeps/gnu/configure.in: ... this new file.
14050 * sysdeps/unix/sysv/linux/configure: Regenerated.
14051 * sysdeps/gnu/configure: New generated file.
14052
8e41b99f
TS
14053 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14054 for Linux: use nsec instead of usec, as well as:
14055 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14056 members of type struct timespec.
14057 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14058 New macros.
14059 (struct stat64): Likewise.
14060 (_STATBUF_ST_NSEC): New macro.
14061 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14062
10589b4a
TS
14063 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14064 __strtoul_internal rather than strtoul.
14065
63643c85
PT
140662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14067
14068 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14069 and reject them.
14070
3faebe6a
ST
140712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14072
14073 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14074 which preserves existing values.
14075 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14076
c6474b07
PT
140772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14078
14079 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14080 TIMEOUT values. Return EINVAL for NFDS values either negative or
14081 greater than FD_SETSIZE.
14082
1043890b
ST
140832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14084
14085 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14086 allocated, call __vm_protect to finish enabling the existing space, and
14087 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14088 allocate the remainder.
14089
37ed8b9b
PT
140902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14091
14092 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14093 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14094
db653660
ST
140952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14096
37ed8b9b
PT
14097 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14098 sysdeps/mach/hurd/readlink.c.
b29d4053 14099
db653660
ST
14100 * posix/tst-sysconf.c (posix_options): Only use
14101 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14102 _POSIX_SYNCHRONIZED_IO when they are defined
14103 * sysdeps/mach/hurd/bits/posix_opt.h:
14104 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14105 (_XOPEN_REALTIME): Undefine macro.
14106 (_XOPEN_REALTIME_THREADS): Undefine macro.
14107 (_XOPEN_SHM): Undefine macro.
14108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14109 macro to -1.
14110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14111 macro to -1.
14112 (_POSIX_ASYNC_IO): Undefine macro.
14113 (_POSIX_PRIORITIZED_IO): Undefine macro.
14114 (_POSIX_SPIN_LOCKS): Define macro to -1.
14115
ee16e894
ST
14116 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14117 SA_NODEFER, SA_RESETHAND.
14118 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14119 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14120 F_DUPFD_CLOEXEC.
14121
6103ae3b
TS
141222012-05-10 Thomas Schwinge <thomas@schwinge.name>
14123
14124 * elf/Makefile (pldd-modules): Define unconditionally.
14125
80b4e5f3
TS
141262012-05-10 Thomas Schwinge <thomas@schwinge.name>
14127
14128 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14129
edadcbd6
ST
141302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14131
14132 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14133 Return ENOENT when name is empty.
14134 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14135
80694780
TS
141362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14137
1792c087
TS
14138 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14139
80694780
TS
14140 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14141
6b645f0d
ST
141422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14143
80694780
TS
14144 Fix mlock in all cases except non-readable pages.
14145 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14146 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14147
6b645f0d
ST
14148 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14149 (__mkdir): When path is `/', just fail with EEXIST.
14150 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14151
e468f8a3
TS
141522012-05-10 Thomas Schwinge <thomas@schwinge.name>
14153
14154 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14155 <sys/uio.h> (for writev).
14156 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14157 and <sys/param.h> (for MIN).
14158
a4186cff
PT
141592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14160
14161 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14162 REQUESTED_TIME. Properly set the remaining time and return EINTR
14163 if interrupted.
14164
510bbf14
TS
141652012-05-10 Thomas Schwinge <thomas@schwinge.name>
14166
14167 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14168 Depend on against $(link-rpcuserlibs).
14169
5d5722e8
ST
141702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14171
a4186cff
PT
14172 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14173 (__libc_stack_end): Do not use attribute_relro.
14174 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14175 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14176 to libthread-provided value.
a4186cff
PT
14177 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14178 attribute_relro.
5d5722e8 14179
37233df9
TS
141802012-05-10 Thomas Schwinge <thomas@schwinge.name>
14181
be971a2b
TS
14182 [BZ #3748]
14183 * bits/libc-lock.h (__libc_once_get): New macro.
14184 * sysdeps/mach/bits/libc-lock.h: Likewise.
14185 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14187 instead of using implementation details.
14188
37233df9
TS
14189 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14190 * libio/freopen.c: Likewise.
14191 * libio/freopen64.c: Likewise.
14192 * misc/syslog.c: Likewise.
14193 * nscd/connections.c: Likewise.
14194 * nscd/netgroupcache.c: Likewise.
14195 * sysdeps/posix/getcwd.c: Likewise.
14196
38de94a5
RM
141972012-05-10 Roland McGrath <roland@hack.frob.com>
14198
14199 * math/w_ilogbf.c: Add #include <limits.h>.
14200
67530489
ST
142012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14202
a4186cff 14203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14204 path instead of returning without unlocking.
14205
67530489
ST
14206 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14207 immediate-write ioctls.
14208 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14209
5aa3a74a
TS
142102012-05-10 Thomas Schwinge <thomas@schwinge.name>
14211
18bad2ae
TS
14212 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14213 __builtin_frame_address instead of making assumptions about the
14214 location of the return address relative to DATA. Force early load of
14215 the return address.
14216 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14217 __builtin_frame_address.
14218
5aa3a74a
TS
14219 dup3 for GNU Hurd.
14220 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14221 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14222 implement dup3 and do some further code clean-ups.
14223 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14224 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14225
ecd0de9a
ST
142262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14227
cd9fa985
ST
14228 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14229
a4186cff
PT
14230 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14231 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14232 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14233 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14234 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14235 d->port.lock.
802ca5a5 14236
a4186cff
PT
14237 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14238 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14239 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14240
bcf55240
TS
142412012-05-10 Thomas Schwinge <thomas@schwinge.name>
14242
6960eb42
TS
14243 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14244 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14245 definitions.
14246
eb43375f
TS
14247 accept4 for GNU Hurd.
14248 * include/sys/socket.h (__libc_accept4): New prototype.
14249 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14250 to implement __libc_accept4.
14251 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14252 __libc_accept4.
14253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14254
bcf55240
TS
14255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14256 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14257 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14258 signal-defines.sym.
14259
6178c55b
ST
142602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14261
a4186cff 14262 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14263
6f080c2f
TS
142642012-05-10 Thomas Schwinge <thomas@schwinge.name>
14265
14266 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14267 assertion on O_CLOEXEC flag.
14268 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14269 * hurd/intern-fd.c: Likewise.
14270 * hurd/port2fd.c: Likewise.
14271
bcfe3a54
ST
142722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14273
14274 [BZ #3906]
14275 * bits/in.h (IPV6_PKTINFO): Define new macro.
14276 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14277
89c9aa49
AZ
142782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14279
14280 [BZ #13954]
14281 [BZ #13955]
14282 [BZ #13956]
14283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14285 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14288 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14289 * math/libm-test.inc (logb_test) : Additional logb tests.
14290
021db4be
AJ
142912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14292 Andreas Jaeger <aj@suse.de>
14293
14294 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14295 * configure: Regenerated.
14296 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14297 * config.make.in (link-obsolete-rpc): New substituted variable.
14298 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14299 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14300 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14301 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14302 so that libc.a contains the symbols.
14303 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14304 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14305 * sunrpc/auth_none.c: Likewise.
14306 * sunrpc/auth_unix.c: Likewise.
14307 * sunrpc/authdes_prot.c: Likewise.
14308 * sunrpc/authuxprot.c: Likewise.
14309 * sunrpc/clnt_gen.c: Likewise.
14310 * sunrpc/clnt_perr.c: Likewise.
14311 * sunrpc/clnt_raw.c: Likewise.
14312 * sunrpc/clnt_simp.c: Likewise.
14313 * sunrpc/clnt_tcp.c: Likewise.
14314 * sunrpc/clnt_udp.c: Likewise.
14315 * sunrpc/clnt_unix.c: Likewise.
14316 * sunrpc/des_crypt.c: Likewise.
14317 * sunrpc/des_soft.c: Likewise.
14318 * sunrpc/get_myaddr.c: Likewise.
14319 * sunrpc/key_call.c: Likewise.
14320 * sunrpc/key_prot.c: Likewise.
14321 * sunrpc/netname.c: Likewise.
14322 * sunrpc/pm_getmaps.c: Likewise.
14323 * sunrpc/pm_getport.c: Likewise.
14324 * sunrpc/pmap_clnt.c: Likewise.
14325 * sunrpc/pmap_prot.c: Likewise.
14326 * sunrpc/pmap_prot2.c: Likewise.
14327 * sunrpc/pmap_rmt.c: Likewise.
14328 * sunrpc/publickey.c: Likewise.
14329 * sunrpc/rpc_cmsg.c: Likewise.
14330 * sunrpc/rpc_common.c: Likewise.
14331 * sunrpc/rpc_dtable.c: Likewise.
14332 * sunrpc/rpc_prot.c: Likewise.
14333 * sunrpc/rpc_thread.c: Likewise.
14334 * sunrpc/rtime.c: Likewise.
14335 * sunrpc/svc.c: Likewise.
14336 * sunrpc/svc_auth.c: Likewise.
14337 * sunrpc/svc_raw.c: Likewise.
14338 * sunrpc/svc_run.c: Likewise.
14339 * sunrpc/svc_tcp.c: Likewise.
14340 * sunrpc/svc_udp.c: Likewise.
14341 * sunrpc/svc_unix.c: Likewise.
14342 * sunrpc/svcauth_des.c: Likewise.
14343 * sunrpc/xcrypt.c: Likewise.
14344 * sunrpc/xdr.c: Likewise.
14345 * sunrpc/xdr_array.c: Likewise.
14346 * sunrpc/xdr_float.c: Likewise.
14347 * sunrpc/xdr_intXX_t.c: Likewise.
14348 * sunrpc/xdr_mem.c: Likewise.
14349 * sunrpc/xdr_rec.c: Likewise.
14350 * sunrpc/xdr_ref.c: Likewise.
14351 * sunrpc/xdr_sizeof.c: Likewise.
14352 * sunrpc/xdr_stdio.c: Likewise.
14353
b5c086a2
RM
143542012-05-10 Roland McGrath <roland@hack.frob.com>
14355
14356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14357 change. Update copyright years.
14358
6d74dd09
JM
143592012-05-10 Joseph Myers <joseph@codesourcery.com>
14360
14361 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14362
28e72501
MK
143632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14364 Joseph Myers <joseph@codesourcery.com>
14365 Paul Pluzhnikov <ppluzhnikov@google.com>
14366
14367 [BZ #14012]
14368 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14369 requiring rpcgen.
14370 [cross-compiling] (extra-libs): Likewise.
14371 [cross-compiling] (extra-libs-others): Likewise.
14372 [cross-compiling] (librpcsvc-routines): Likewise.
14373 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14374 [cross-compiling] (omit-deps): Likewise.
14375 (sunrpc-CPPFLAGS): New variable.
14376 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14377 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14378 (cross-rpcgen-objs): New variable.
14379 (extra-objs): Append $(cross-rpcgen-objs).
14380 ($(cross-rpcgen-objs)): New rule.
14381 ($(objpfx)cross-rpcgen): Likewise.
14382 (rpcgen-cmd): Define to use $(built-program-file). Expand
14383 comment.
14384 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14385 ($(objpfx)x%.stmp): Likewise.
14386 * sunrpc/proto.h [IS_IN_build] (_): Define.
14387 [IS_IN_build] (_libc_intl_domainname): Likewise.
14388
c8c59454
L
143892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14390
14391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14392 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14393 and R_X86_64_TPOFF64.
14394
6f27cd16
JM
143952012-05-10 Joseph Myers <joseph@codesourcery.com>
14396
14397 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14398 sysdeps/unix/sysv/syscalls.list.
14399 (stime): Likewise.
14400 (utime): Likewise.
14401 * sysdeps/unix/sysv/syscalls.list: Remove file.
14402
02467e1c
PE
144032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14404
14405 [BZ #3440]
14406 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14407 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14408 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14409 (__LC_IDENTIFICATION): Make these macros useful in #if
14410 expressions, as required by C99.
14411
da392631
AS
144122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14413
14414 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14415 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14416 after this.
14417
8115f29b
L
144182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 * stdlib/longlong.h: Updated from GCC.
14421
bdd74070
AJ
144222012-05-09 Andreas Jaeger <aj@suse.de>
14423
edfe0dbe
AJ
14424 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14425 default is first entry.
14426 (run_mode): Set type.
14427 (main): Remove informal message about syslog.
14428 (options): Fix typo.
14429
bcfe3a54
ST
14430 [BZ #14053]
14431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14432 to asm.
bcfe3a54
ST
14433 (lrint): Likewise.
14434 (llrintf): Likewise.
14435 (llrint): Likewise.
14436 (rint): Likewise.
14437 (rintf): Likewise.
14438 (nearbyint): Likewise.
14439 (nearbyintf): Likewise.
bdd74070 14440
91d8d69e
AJ
144412012-05-09 Andreas Jaeger <aj@suse.de>
14442 Pedro Alves <palves@redhat.com>
14443
14444 * nscd/nscd.c (run_mode): Use enum.
14445 (main): Cleanup coding style issue.
14446
bb90b80b
AJ
144472012-05-09 Alexandre Oliva <aoliva@redhat.com>
14448 Andreas Jaeger <aj@suse.de>
14449
bcfe3a54
ST
14450 * nscd/nscd.c (go_background): Replaced with...
14451 (run_mode): ... this.
bb90b80b 14452 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14453 (options): Add -F --foreground.
14454 (main): Implement it.
14455 (parse_opt): Parse it.
bb90b80b 14456
1a4b75a1
AJ
144572012-05-09 Andreas Jaeger <aj@suse.de>
14458
14459 [BZ #14083]
14460 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14461 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14462 -Wconversion warning.
14463 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14464 Likewise.
14465
b1cc2472
JM
144662012-05-09 Joseph Myers <joseph@codesourcery.com>
14467
14468 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14469 == 0.
14470 (LC_ALL): Use macro-int-constant.
14471 (LC_COLLATE): Likewise.
14472 (LC_CTYPE): Likewise.
14473 (LC_MESSAGES): Likewise.
14474 (LC_MONETARY): Likewise.
14475 (LC_NUMERIC): Likewise.
14476 (LC_TIME): Likewise.
14477 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14478 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14480 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14481 Specify type.
14482 [C99-based standards] (float_t): Expect type.
14483 [C99-based standards] (double_t): Expect type.
14484 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14485 type.
14486 [C99-based standards] (HUGE_VALL): Likewise.
14487 [C99-based standards] (INFINITY): Likewise.
14488 [C99-based standards] (NAN): Likewise.
14489 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14490 [C99-based standards] (FP_NAN): Likewise.
14491 [C99-based standards] (FP_NORMAL): Likewise.
14492 [C99-based standards] (FP_SUBNORMAL): Likewise.
14493 [C99-based standards] (FP_ZERO): Likewise.
14494 [C99-based standards] (FP_FAST_FMA): Use
14495 optional-macro-int-constant. Specify type. Require == 1.
14496 [C99-based standards] (FP_FAST_FMAF): Likewise.
14497 [C99-based standards] (FP_FAST_FMAL): Likewise.
14498 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14499 [C99-based standards] (FP_ILOGBNAN): Likewise.
14500 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14501 Specify type.
14502 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14503 [C99-based standards] (math_errhandling): Specify type.
14504 [ISO99 || ISO11] (signgam): Do not allow.
14505 [non-C99-based standards] (copysignf): Do not allow.
14506 [non-C99-based standards] (exp2f): Likewise.
14507 [non-C99-based standards] (log2f): Likewise.
14508 [non-C99-based standards] (modff): Allow.
14509 [non-C99-based standards] (erff): Do not allow.
14510 [non-C99-based standards] (erfcf): Likewise.
14511 [non-C99-based standards] (gammaf): Likewise.
14512 [non-C99-based standards] (hypotf): Likewise.
14513 [non-C99-based standards] (j0f): Likewise.
14514 [non-C99-based standards] (j1f): Likewise.
14515 [non-C99-based standards] (jnf): Likewise.
14516 [non-C99-based standards] (lgammaf): Likewise.
14517 [non-C99-based standards] (tgammaf): Likewise.
14518 [non-C99-based standards] (y0f): Likewise.
14519 [non-C99-based standards] (y1f): Likewise.
14520 [non-C99-based standards] (ynf): Likewise.
14521 [non-C99-based standards] (isnanf): Likewise.
14522 [non-C99-based standards] (acoshf): Likewise.
14523 [non-C99-based standards] (asinhf): Likewise.
14524 [non-C99-based standards] (atanhf): Likewise.
14525 [non-C99-based standards] (cbrtf): Likewise.
14526 [non-C99-based standards] (expm1f): Likewise.
14527 [non-C99-based standards] (ilogbf): Likewise.
14528 [non-C99-based standards] (log1pf): Likewise.
14529 [non-C99-based standards] (logbf): Likewise.
14530 [non-C99-based standards] (nextafterf): Likewise.
14531 [non-C99-based standards] (remainderf): Likewise.
14532 [non-C99-based standards] (rintf): Likewise.
14533 [non-C99-based standards] (scalbf): Likewise.
14534 [non-C99-based standards] (copysignl): Likewise.
14535 [non-C99-based standards] (exp2l): Likewise.
14536 [non-C99-based standards] (log2l): Likewise.
14537 [non-C99-based standards] (modfl): Allow.
14538 [non-C99-based standards] (erfl): Do not allow.
14539 [non-C99-based standards] (erfcl): Likewise.
14540 [non-C99-based standards] (gammal): Likewise.
14541 [non-C99-based standards] (hypotl): Likewise.
14542 [non-C99-based standards] (j0l): Likewise.
14543 [non-C99-based standards] (j1l): Likewise.
14544 [non-C99-based standards] (jnl): Likewise.
14545 [non-C99-based standards] (lgammal): Likewise.
14546 [non-C99-based standards] (tgammal): Likewise.
14547 [non-C99-based standards] (y0l): Likewise.
14548 [non-C99-based standards] (y1l): Likewise.
14549 [non-C99-based standards] (ynl): Likewise.
14550 [non-C99-based standards] (isnanl): Likewise.
14551 [non-C99-based standards] (acoshl): Likewise.
14552 [non-C99-based standards] (asinhl): Likewise.
14553 [non-C99-based standards] (atanhl): Likewise.
14554 [non-C99-based standards] (cbrtl): Likewise.
14555 [non-C99-based standards] (expm1l): Likewise.
14556 [non-C99-based standards] (ilogbl): Likewise.
14557 [non-C99-based standards] (log1pl): Likewise.
14558 [non-C99-based standards] (logbl): Likewise.
14559 [non-C99-based standards] (nextafterl): Likewise.
14560 [non-C99-based standards] (remainderl): Likewise.
14561 [non-C99-based standards] (rintl): Likewise.
14562 [non-C99-based standards] (scalbl): Likewise.
14563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14564 [non-C99-based standards] (FP_*): Do not allow.
14565 [C99-based standards] (FP_*): Change to
14566 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14567 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14568 allow.
14569 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14570 (SIG_ERR): Likewise.
14571 [X/Open-based standards] (SIG_HOLD): Likewise.
14572 (SIG_IGN): Likewise.
14573 (SIGABRT): Use macro-int-constant. Specify type. Require
14574 positive value.
14575 (SIGFPE): Likewise.
14576 (SIGILL): Likewise.
14577 (SIGINT): Likewise.
14578 (SIGSEGV): Likewise.
14579 (SIGTER): Likewise.
14580 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14581 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14582 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14583 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14584 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14585 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14586 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14587 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14588 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14589 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14594 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14595 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14596 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14597 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14598 [X/Open-based standards] (SIGTRAP): Likewise.
14599 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14600 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14601 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14602 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14603 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14604 allow.
14605
b9f1922d
IW
146062012-05-08 Ian Wienand <ianw@vmware.com>
14607
14608 [BZ #14080]
14609 * time/tzset.c (__tzset_parse_tz): Update default rules for
14610 daylight time changes in the Energy Policy Act of 2005.
14611
1db86e88
AJ
146122012-05-09 Andreas Jaeger <aj@suse.de>
14613
14614 [BZ #13983]
14615 * elf/ldconfig.c (parse_conf): Change string to make clear that
14616 ldconfig only issued a warning if ld.so.conf does not exist.
14617
dee4a4e3
DM
146182012-05-08 David S. Miller <davem@davemloft.net>
14619
ee0db190
DM
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14621 movxtod instead of popping the value on the stack.
14622
dee4a4e3
DM
14623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14624
6a43ec98
CD
146252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14626
14627 * config.h.in: Add HAVE_ARM_PCS_VFP.
14628
05c2c961
RMG
146292012-05-08 Roland Mc Grath <roland@hack.frob.com>
14630
bcfe3a54
ST
14631 [BZ #13979]
14632 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14633 checking but the checks are disabled for any reason.
05c2c961 14634
4b30f61a
L
146352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14636
14637 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14638 and ELF64_R_TYPE with ELFW(R_TYPE).
14639
eee2bc67
JM
146402012-05-08 Joseph Myers <joseph@codesourcery.com>
14641
7ea5391a
JM
14642 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14643 (ulimit): Likewise.
14644
eee2bc67
JM
14645 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14646 (settimeofday): Likewise.
14647
abb66a67
MF
146482012-05-08 Mike Frysinger <vapier@gentoo.org>
14649
14650 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14651 a struct th_u2 inside the union, and move tu_block/tu_code into
14652 a new th_u3 union of tu_block/tu_code inside of that. Move
14653 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14654 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14655 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14656 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14657 (th_stuff): Change to th_u1.tu_stuff.
14658 (th_data): Define.
14659 (th_msg): Change to th_u1.th_u2.tu_data.
14660
7f18b530
DM
146612012-05-07 David S. Miller <davem@davemloft.net>
14662
05760585
DM
14663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14664
7f18b530
DM
14665 [BZ #14074]
14666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14667 (SETUP_PIC_REG): Use it.
14668 (SETUP_PIC_REG_LEAF): Use it.
14669
495fd99f
JM
146702012-05-07 Joseph Myers <joseph@codesourcery.com>
14671
14672 [BZ #13885]
14673 [BZ #13923]
14674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14675 USE_AS_EXPM1L.
14676 (EXPL_FINITE): Likewise.
14677 (FLDLOG): Likewise.
14678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14679 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14680 e_expl.S.
14681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14682 USE_AS_EXPM1L.
14683 (EXPL_FINITE): Likewise.
14684 (FLDLOG): Likewise.
14685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14686 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14687 e_expl.S.
14688 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14689 test of -max_value argument for long double.
14690 * sysdeps/i386/fpu/libm-test-ulps: Update.
14691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14692
6693d694
DM
146932012-05-06 David S. Miller <davem@davemloft.net>
14694
14695 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14696 quad soft-float symbols whose references which are compiler
14697 generated.
14698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14699
6c23e11c
JM
147002012-05-06 Joseph Myers <joseph@codesourcery.com>
14701
d8b82cad
JM
14702 [BZ #13884]
14703 [BZ #13914]
14704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14705 USE_AS_EXP10L.
14706 (EXPL_FINITE): Likewise.
14707 (FLDLOG): Likewise.
14708 (c0): Likewise.
14709 (c1): Likewise.
14710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14711 Adjust comments for base varying.
14712 (__expl_finite): Change alias to EXPL_FINITE.
14713 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14714 e_expl.S.
14715 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14716 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14718 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14720 USE_AS_EXP10L.
14721 (EXPL_FINITE): Likewise.
14722 (FLDLOG): Likewise.
14723 (c0): Likewise.
14724 (c1): Likewise.
14725 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14726 Adjust comments for base varying.
14727 (__expl_finite): Change alias to EXPL_FINITE.
14728 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14729 tests for bugs.
14730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14731
6c23e11c
JM
14732 [BZ #14064]
14733 * math/libm-test.inc (check_float_internal): Correct ulp
14734 calculation for subnormal expected results.
14735
29ba805c
AJ
147362012-05-06 Andreas Jaeger <aj@suse.de>
14737
14738 * Makeconfig (+math-flags): New, set to -frounding-math.
14739 (+cflags): Add +math-flags so that all of glibc gets compiled with
14740 it.
14741
14742 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14743
7b17aeda
JM
147442012-05-05 Joseph Myers <joseph@codesourcery.com>
14745
5779f134
JM
14746 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14747 Disable one test.
14748
41498f4d
JM
14749 [BZ #13787]
14750 [BZ #13922]
14751 [BZ #14036]
14752 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14753 (__ieee754_expl): Allow for and saturate large arguments.
14754 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14755 (u_threshold): Likewise.
14756 (__exp): Call __ieee754_exp before checking for overflow and
14757 underflow.
14758 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14759 (u_threshold): Likewise.
14760 (__expf): Call __ieee754_expf before checking for overflow and
14761 underflow.
14762 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14763 (u_threshold): Likewise.
14764 (__expl): Call __ieee754_expl before checking for overflow and
14765 underflow.
14766 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14767 (__ieee754_expl): Allow for and saturate large arguments.
14768 * math/libm-test.inc (exp_test): Add another test. Do not allow
14769 missing overflow exception on overflow.
14770 (expm1_test): Do not allow missing overflow exception on overflow.
14771
6698b8bf
JM
14772 * sysdeps/i386/fpu/e_expl.c: Move to ...
14773 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14774 rather than using inline asm.
14775 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14776 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14777 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14778
7b17aeda
JM
14779 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14780 (nice): Likewise.
14781 (poll): Likewise.
14782 (signal): Likewise.
14783 (time): Likewise.
14784 (times): Likewise.
14785
f7c85819
JM
147862012-05-04 Joseph Myers <joseph@codesourcery.com>
14787
14788 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14789 sysdeps/unix/common/syscalls.list.
14790 (fchmod): Likewise.
14791 (fchown): Likewise.
14792 (ftruncate): Likewise.
14793 (getrusage): Likewise.
14794 (gettimeofday): Likewise.
14795 (setpgid): Likewise.
14796 (setregid): Likewise.
14797 (setreuid): Likewise.
14798 (sigaction): Likewise.
14799 (truncate): Likewise.
14800 (vhangup): Likewise.
14801 * sysdeps/unix/common/syscalls.list: Remove file.
14802 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14803 * sysdeps/unix/sysv/linux/Implies: Likewise.
14804
336270d0
L
148052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14806
14807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14810 Moved to ...
14811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14812 Here.
14813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14814 to ...
14815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14817 to ...
14818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14820 to ...
14821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14822 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14823 to ...
14824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14826 to ...
14827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14828 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14829 to ...
14830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14832 to ...
14833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14834 Here.
14835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14836 to ...
14837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14838 Here.
14839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14840 to ...
14841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14843 Moved to ...
14844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14845 Here.
14846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14847 to ...
14848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14849
d128e450
JM
148502012-05-04 Joseph Myers <joseph@codesourcery.com>
14851
fa8ee516
JM
14852 * sysdeps/unix/common/bits/dirent.h: Remove file.
14853 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14854
d128e450
JM
14855 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14856 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14857 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14858 * sysdeps/unix/bsd/isatty.c: Likewise.
14859 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14860 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14861 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14862
ff8faaf0 148632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14864
62881be4 14865 [BZ #13563]
31dc8730
AZ
14866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14867 long double comparison inaccuracies.
14868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14870
6fef930c
AS
148712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14872
14873 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14875
8f203e6c
JM
148762012-05-04 Joseph Myers <joseph@codesourcery.com>
14877
14878 [BZ #14049]
14879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14880 nonzero digits before rounding a hex value.
14881 * stdlib/tst-strtod.c (tests): Add another test.
14882
5197d9c2
AK
148832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14884
14885 * sysdeps/s390/fpu/libm-test-ulps: Update.
14886
f0c1dedf
AJ
148872012-05-03 Andreas Jaeger <aj@suse.de>
14888
14889 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14890 does not get optimized out.
14891 (malloc_opt_barrier): New.
14892
a65ef2ae 148932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14894 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14895
2b942cb7 14896 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14897 intermediate file deletion.
2b942cb7 14898 (generated): Add .symlist files.
a65ef2ae 14899
54b71e02
JM
149002012-05-03 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #13775]
14903 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14904 Redirect under this condition.
14905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14906 [__USE_GNU] (__dprintf_chk): Not under this condition.
14907 [__USE_GNU] (__vdprintf_chk): Likewise.
14908 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14909 under this condition.
14910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14911 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14912 [__USE_XOPEN2K8] (vdprintf): Likewise.
14913 [__USE_GNU] (__dprintf_chk): Not under this condition.
14914 [__USE_GNU] (__vdprintf_chk): Likewise.
14915 [__USE_GNU] (dprintf): Likewise.
14916 [__USE_GNU] (vdprintf): Likewise.
14917
d3dfcc41
RM
149182012-05-03 Roland McGrath <roland@hack.frob.com>
14919
14920 * elf/Makefile (common-generated): Set this instead of generated for
14921 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14922 $(all-built-dso)-derived lists.
14923
7ac30cc5
AJ
149242012-05-03 Andreas Jaeger <aj@suse.de>
14925
0c51e550
AJ
14926 * sysdeps/i386/fpu/libm-test-ulps: Update.
14927
7ac30cc5
AJ
14928 * FAQ: Removed.
14929 * FAQ.in: Likewise.
14930 * scripts/gen-FAQ.pl: Likewise.
14931 * manual/install.texi (Installation): Point to online location of
14932 FAQ.
14933 * Makefile (files-for-dist): Remove FAQ.
14934 (FAQ): Remove.
14935
d4c2917f
AM
149362012-05-02 Allan McRae <allan@archlinux.org>
14937
14938 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14939 (LDFLAGS-reldepmod5.so): Likewise.
14940 (LDFLAGS-reldep6mod1.so): Likewise.
14941 (LDFLAGS-reldep6mod4.so): Likewise.
14942 (LDFLAGS-reldep8mod3.so): Likewise.
14943 (LDFLAGS-unload4mod1.so): Likewise.
14944 (LDFLAGS-unload4mod2.so): Likewise.
14945 (LDFLAGS-tst-initorder): Likewise.
14946 (LDFLAGS-tst-initordera2.so): Likewise.
14947 (LDFLAGS-tst-initordera3.so): Likewise.
14948 (LDFLAGS-tst-initordera4.so): Likewise.
14949 (LDFLAGS-tst-initorderb2.so): Likewise.
14950 (LDFLAGS-noload): Likewise.
14951 (LDFLAGS-next): Likewise.
14952 (LDFLAGS-order2mod1.so): Likewise.
14953 (LDFLAGS-order2mod2.so): Likewise.
14954 (LDFLAGS-tst-initorder2): Likewise.
14955 (LDFLAGS-tst-initorder2a.so): Likewise.
14956 (LDFLAGS-tst-initorder2b.so): Likewise.
14957 (LDFLAGS-tst-initorder2c.so): Likewise.
14958 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14959
d77f993f
DM
149602012-05-02 David S. Miller <davem@davemloft.net>
14961
14962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14963
171a70b4
PP
149642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14965
14966 [BZ #14055]
14967 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14968
0be196ad
AJ
149692012-05-02 Andreas Jaeger <aj@suse.de>
14970
14971 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14972 since we manipulate rounding mode.
14973 (CPPFLAGS-test-idouble.c): Likewise.
14974 (CPPFLAGS-test-ifloat.c): Likewise.
14975 (CFLAGS-test-ldouble.c): Likewise.
14976 (CFLAGS-test-double.c): Likewise.
14977 (CFLAGS-test-float.c): Likewise.
14978 (CFLAGS-test-misc.c): Likewise.
14979 (CFLAGS-test-test-fenv.c): Likewise.
14980
4f9d04aa
AZ
149812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14982
2b942cb7
RM
14983 [BZ #2550]
14984 [BZ #2570]
14985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14986 comparisons to determine direction to adjust input.
4f9d04aa 14987
82a79e7d
RM
149882012-05-01 Roland McGrath <roland@hack.frob.com>
14989
f5a01ca9
RM
14990 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14991 output to the target.
14992
90fe4186
RM
14993 * scripts/localplt.awk: New file.
14994 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14995 (check-localplt-CFLAGS): Variable removed.
14996 ($(all-built-dso:=.jmprel)): New static pattern rule.
14997 (generated): Add those targets.
14998 (localplt-built-dso): New variable.
14999 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15000
15001 * elf/check-localplt.c: File removed.
15002
82397ed6
RM
15003 * scripts/check-execstack.awk: New file.
15004 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15005 (check-execstack-CFLAGS): Variable removed.
15006 ($(objpfx)check-execstack.h): Target removed.
15007 ($(objpfx)execstack-default): New target.
15008 (generated): Add that instead of check-execstack.h.
15009 ($(all-built-dso:=.phdr)): New static pattern rule.
15010 (generated): Add those targets.
15011 * elf/check-execstack.c: File removed.
15012
82a79e7d
RM
15013 * scripts/check-textrel.awk: New file.
15014 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15015 (check-textrel-CFLAGS): Variable removed.
15016 (all-built-dso): Use := to define.o
15017 ($(all-built-dso:=.dyn)): New static pattern rule.
15018 (generated): Add those targets.
15019 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15020 * config.make.in (READELF): New substituted variable.
15021 * elf/check-textrel.c: File removed.
15022
62fde54f 150232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15024
615605c9
JM
15025 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15026 allow.
15027 * conform/data/ctype.h-data [C99-based standards] (isblank):
15028 Expect function.
15029 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15030 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15032 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15033 Specify type. Require positive value.
15034 (EILSEQ): Likewise.
15035 (ERANGE): Likewise.
15036 [ISO || POSIX] (EILSEQ): Do not expect.
15037 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15038 Specify type. Require positive value.
15039 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15066 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15072 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15073 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15074 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15075 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15076 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15077 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15078 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15079 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15080 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15081 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15082 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15083 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15084 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15085 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15086 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15087 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15088 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15089 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15090 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15091 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15092 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15093 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15094 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15095 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15096 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15097 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15098 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15099 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15100 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15101 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15102 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15103 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15104 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15105 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15106 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15107 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15108 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15109 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15110 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15111 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15112 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15113 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15114 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15115 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15116 Require >= 2.
15117 (FLT_ROUNDS): Expect as macro, not constant.
15118 (FLT_MANT_DIG): Use macro-int-constant.
15119 (DBL_MANT_DIG): Likewise.
15120 (LDBL_MANT_DIG): Likewise.
15121 (FLT_DIG): Likewise.
15122 (DBL_DIG): Likewise.
15123 (LDBL_DIG): Likewise.
15124 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15125 (DBL_MIN_EXP): Likewise.
15126 (LDBL_MIN_EXP): Likewise.
15127 (FLT_MAX_EXP): Use macro-int-constant.
15128 (DBL_MAX_EXP): Likewise.
15129 (LDBL_MAX_EXP): Likewise.
15130 (FLT_MAX_10_EXP): Likewise.
15131 (DBL_MAX_10_EXP): Likewise.
15132 (LDBL_MAX_10_EXP): Likewise.
15133 (FLT_MAX): Use macro-constant.
15134 (DBL_MAX): Likewise.
15135 (LDBL_MAX): Likewise.
15136 (FLT_EPSILON): Use macro-constant. Give upper bound.
15137 (DBL_EPSILON): Likewise.
15138 (LDBL_EPSILON): Likewise.
15139 (FLT_MIN): Likewise.
15140 (DBL_MIN): Likewise.
15141 (LDBL_MIN): Likewise.
15142 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15143 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15144 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15145 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15146 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15147 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15148 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15149 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15150 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15151 [ISO11] (FLT_TRUE_MIN): Likewise.
15152 [ISO11] (LDBL_TRUE_MIN): Likewise.
15153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15154 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15155 (SCHAR_MIN): Use macro-int-constant. Specify type.
15156 (SCHAR_MAX): Likewise.
15157 (UCHAR_MAX): Likewise.
15158 (CHAR_MIN): Likewise.
15159 (CHAR_MAX): Likewise.
15160 (MB_LEN_MAX): Use macro-int-constant.
15161 (SHRT_MIN): Use macro-int-constant. Specify type.
15162 (SHRT_MAX): Likewise.
15163 (USHRT_MAX): Likewise.
15164 (INT_MAX): Likewise.
15165 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15166 bound negative.
15167 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15168 bound with "U".
15169 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15170 bound with "L".
15171 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15172 bound negative. Suffix upper bound with "L".
15173 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15174 bound with "UL".
15175 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15176 Specify type.
15177 [C99-based standards] (LLONG_MAX): Likewise.
15178 [C99-based standards] (ULLONG_MAX): Likewise.
15179 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15180 == 0.
15181 [ISO11] (max_align_t): Require type.
15182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15183
c9140a62
JM
15184 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15185 from $CFLAGS, without defining away __attribute__ calls.
15186 (checknamespace): Use $CFLAGS_namespace.
15187
9af0bf29
JM
15188 * conform/conformtest.pl (@keywords): Only include C99 keywords
15189 for standards based on C99 or C11.
15190
343222a2
JM
15191 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15192 Disable tests.
15193 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15194 UNIX98]: Likewise.
15195
661f8cf0
JM
15196 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15197 usability of symbols in #if.
15198
ee74b9cb
JM
15199 * conform/conformtest.pl: If macro or constant types start
15200 "promoted:", expect the symbol to be of the following type
15201 promoted by the integer promotions.
62fde54f 15202
aafc49b3
JM
15203 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15204 in one place. Also handle "macro-constant".
15205
fefdf574
JM
15206 * conform/conformtest.pl: Only accept expected macro values with
15207 "==". Parse all "macro" lines in one place.
15208 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15209
f2d922fe
JM
15210 * conform/conformtest.pl: Handle braced types on "constant" lines
15211 instead of handling "typed-constant".
15212 * conform/data/signal.h-data: Use "constant" instead of
15213 "typed-constant".
15214
d22956c9
JM
15215 * conform/conformtest.pl: Handle "optional-" at start of lines in
15216 one place rather than duplicating several cases. Handle each
15217 format of "macro" line with initial "optional-".
15218
028e2e38
JM
15219 * conform/conformtest.pl: Only accept expected constant or
15220 optional-constant values with "==". Parse all "constant" lines in
15221 one place. Parse all "optional-constant" lines in one place.
15222 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15223 * conform/data/fmtmsg.h-data: Likewise.
15224 * conform/data/netinet/in.h-data: Likewise.
15225 * conform/data/tar.h-data: Likewise.
15226 * conform/data/limits.h-data: Use "==" form on "constant" and
15227 "optional-constant" lines.
15228
1b8f2850
JM
15229 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15230 Use -std=c99 for XOPEN2K.
15231 (@knownproblems): Remove.
15232 (newtoken): Don't check %isknown.
15233
a05a144b
JM
15234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15235 Do not expect macro.
15236 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15248 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15249 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15266 [XPG3] (acosh): Likewise.
15267 [XPG3] (asinh): Likewise.
15268 [XPG3] (atanh): Likewise.
15269 [XPG3] (cbrt): Likewise.
15270 [XPG3] (expm1): Likewise.
15271 [XPG3] (ilogb): Likewise.
15272 [XPG3] (log1p): Likewise.
15273 [XPG3] (logb): Likewise.
15274 [XPG3] (nextafter): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15277 [XPG3] (remainder): Likewise.
15278 [XPG3] (rint): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15286 [UNIX98 || XOPEN2K] (scalb): Expect.
15287 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15288 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15323 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15353 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15361 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15373 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15374 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15375 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15383 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15385 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15386 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15387 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15388 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15389 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15390 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15391 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15392 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15393 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15394 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15395 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15396 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15397 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15398 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15399 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15400 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15401 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15402 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15403 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15404 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15405 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15406 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15407 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15408 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15409 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15410 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15411 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15412 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15413 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15414 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15415 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15416 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15417 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15418 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15419 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15420 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15421 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15422 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15423 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15424
73c5ebe3
JM
15425 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15426 _XOPEN_SOURCE_EXTENDED for XPG4.
15427
39c33b6c
JM
15428 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15429
62fde54f
JM
15430 * Makeconfig (localtime): Remove variable.
15431 (inst_localtime-file): Likewise.
15432
0741d64c
AS
154332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15434
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15436 Update.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15438 Update.
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15440 Update.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15442 Update.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15444 Update.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15446 Update.
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15448 Update.
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15450 Update.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15452 Update.
15453
7cb029ee
JM
154542012-05-01 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #2550]
15457 [BZ #2570]
15458 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15459 comparisons to determine direction to adjust input.
15460 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15461 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15463 Likewise.
15464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15465 Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15467 Likewise.
15468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15470 Likewise.
15471 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15472 Likewise.
15473 * math/libm-test.inc (nexttoward_test): Add more tests.
15474
412bd966
AS
154752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15476
15477 [BZ #14040]
15478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15479 in version GLIBC_2.1, not GLIBC_2.0.
15480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15481 Likewise.
15482
9568c0c2
JM
154832012-04-30 Joseph Myers <joseph@codesourcery.com>
15484
adfbc8ac
JM
15485 [BZ #13942]
15486 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15487 (1 - x) * (1 + x).
15488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15489 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15490 * math/libm-test.inc (acos_test): Add more tests.
15491 (asin_test): Likewise.
15492 * sysdeps/i386/fpu/libm-test-ulps: Update.
15493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15494
5ba3cc69
JM
15495 [BZ #14034]
15496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15497 of square root.
15498 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15499 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15500 * math/libm-test.inc (acos_test_tonearest): New function.
15501 (acos_test_towardzero): Likewise.
15502 (acos_test_downward): Likewise.
15503 (acos_test_upward): Likewise.
15504 (asin_test_tonearest): Likewise.
15505 (asin_test_towardzero): Likewise.
15506 (asin_test_downward): Likewise.
15507 (asin_test_upward): Likewise.
15508 (main): Call the new functions.
15509 * sysdeps/i386/fpu/libm-test-ulps: Update.
15510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15511
9568c0c2
JM
15512 [BZ #13884]
15513 [BZ #13924]
15514 * math/e_exp10.c: Include <float.h>.
15515 (__ieee754_exp10): Handle underflow here rather than multiplying
15516 large negative argument by M_LN10.
15517 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15518 of __ieee754_expf.
15519 * math/e_exp10l.c: Include <float.h>.
15520 (__ieee754_exp10l): Handle underflow here rather than multiplying
15521 large negative argument by M_LN10l.
15522 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15523 spurious overflow exception on underflow.
15524
5ac3ea17
MP
155252012-04-29 Marek Polacek <polacek@redhat.com>
15526
15527 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15528 (__fortify_function): New macro.
15529 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15530 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15531 __extern_always_inline.
15532 * libio/bits/stdio2.h: Likewise.
15533 * libio/bits/stdio.h: Likewise.
15534 * string/string.h: Likewise.
15535 * string/bits/string3.h: Likewise.
15536 * include/stdio.h: Likewise.
15537 * stdlib/bits/stdlib.h: Likewise.
15538 * stdlib/stdlib.h: Likewise.
15539 * rt/bits/mqueue2.h: Likewise.
15540 * rt/mqueue.h: Likewise.
15541 * posix/bits/unistd.h: Likewise.
15542 * posix/unistd.h: Likewise.
15543 * io/bits/poll2.h: Likewise.
15544 * io/bits/fcntl2.h: Likewise.
15545 * io/fcntl.h: Likewise.
15546 * io/sys/poll.h: Likewise.
15547 * misc/bits/syslog.h: Likewise.
15548 * misc/bits/syslog-ldbl.h: Likewise.
15549 * misc/sys/syslog.h: Likewise.
15550 * socket/bits/socket2.h: Likewise.
15551 * socket/sys/socket.h: Likewise.
15552 * debug/tst-chk1.c: Likewise.
15553 * wcsmbs/bits/wchar2.h: Likewise.
15554 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15555 * wcsmbs/wchar.h: Likewise.
15556
ecf0ebfb
AJ
155572012-04-29 Andreas Jaeger <aj@suse.de>
15558
15559 * Makerules (tests): Remove enable-check-abi protection.
15560 (check-abi-warn): Remove.
15561 (check-abi-%): Remove check-abi-warn usage.
15562
15563 * configure.in: Remove check-abi configure option.
15564 * configure: Regenerated.
15565 * config.make.in (enable-check-abi): Remove.
15566
6d5c57fa
AS
155672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15568
24c5d07e 15569 [BZ #14033]
ded5180a
AS
15570 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15571 double functions to double *_finite functions.
15572
7e0d315d
AS
15573 [BZ #13941]
15574 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15575 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15576 LDBL_MIN_EXP.
15577 * stdio-common/Makefile (tests): Add tst-sprintf3.
15578 * stdio-common/tst-sprintf3.c: New file.
15579
6d5c57fa
AS
15580 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15581 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15582
0749ff8b
JM
155832012-04-28 Joseph Myers <joseph@codesourcery.com>
15584
15585 * conform/conformtest.pl: Remove duplicate typed-constant
15586 handling.
15587
8dbd5d7b
DM
155882012-04-28 David S. Miller <davem@davemloft.net>
15589
15590 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15591 (check-abi-%): Remove AWK script prerequisite and explicit
15592 abilist directory.
15593 (check-abi): Rewrite to just diff the symlist with the abilist.
15594 (config-tls, config-abi-config): Delete, no longer used.
15595 (update-abi-%): Remove AWK script and explicit abilist directory.
15596 (update-abi): Rewrite to simply compare and conditionally copy the
15597 symlist and the sysdep abilist file. Remove update-abi-config
15598 checks.
15599 * abilist/ld.abilist: Remove.
15600 * abilist/libBrokenLocale.abilist: Remove.
15601 * abilist/libanl.abilist: Remove.
15602 * abilist/libcrypt.abilist: Remove.
15603 * abilist/libdl.abilist: Remove.
15604 * abilist/librt.abilist: Remove.
15605 * abilist/libthread_db.abilist: Remove.
15606 * abilist/libutil.abilist: Remove.
15607 * scripts/extract-abilist.awk: Remove.
15608 * scripts/merge-abilist.awk: Remove.
15609 * sysdeps/generic/libcidn.abilist: New file.
15610 * sysdeps/generic/libnss_compat.abilist: New file.
15611 * sysdeps/generic/libnss_db.abilist: New file.
15612 * sysdeps/generic/libnss_dns.abilist: New file.
15613 * sysdeps/generic/libnss_files.abilist: New file.
15614 * sysdeps/generic/libnss_hesiod.abilist: New file.
15615 * sysdeps/generic/libnss_nis.abilist: New file.
15616 * sysdeps/generic/libnss_nisplus.abilist: New file.
15617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15618 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15622 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15623 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15624 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15625 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15627 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15628 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15629 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15630 file.
15631 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15635 file.
15636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15642 file.
15643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15644 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15646 file.
15647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15649 New file.
15650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15651 New file.
15652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15653 New file.
15654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15655 New file.
15656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15657 New file.
15658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15659 New file.
15660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15661 New file.
15662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15663 New file.
15664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15665 New file.
15666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15667 New file.
15668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15669 New file.
15670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15671 New file.
15672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15673 New file.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15675 file.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15677 New file.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15679 New file.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15681 file.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15683 New file.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15685 New file.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15687 file.
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15689 New file.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15691 New file.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15693 New file.
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15695 New file.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15697 New file.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15699 New file.
15700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15702 file.
15703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15704 New file.
15705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15706 file.
15707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15708 file.
15709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15710 file.
15711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15712 file.
15713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15714 file.
15715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15716 New file.
15717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15718 file.
15719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15720 file.
15721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15722 New file.
15723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15724 file.
15725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15727 file.
15728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15729 New file.
15730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15731 file.
15732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15733 file.
15734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15735 file.
15736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15737 file.
15738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15739 file.
15740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15741 New file.
15742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15743 file.
15744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15745 file.
15746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15747 New file.
15748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15749 file.
15750 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15751 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15752 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15753 file.
15754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15755 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15762 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15763 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15766 file.
15767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15768 New file.
15769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15770 file.
15771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15772 file.
15773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15774 file.
15775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15776 file.
15777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15778 file.
15779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15780 New file.
15781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15782 New file.
15783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15784 file.
15785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15786 New file.
15787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15788 file.
15789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15791 file.
15792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15793 New file.
15794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15795 file.
15796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15797 file.
15798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15799 file.
15800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15801 file.
15802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15803 file.
15804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15805 New file.
15806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15807 New file.
15808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15809 file.
15810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15811 New file.
15812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15813 file.
15814
41d73a1b
JM
158152012-04-28 Joseph Myers <joseph@codesourcery.com>
15816
15817 * conform/conformtest.pl: Fix typo in handling typed-constant from
15818 allow-header.
15819
28aeeda4
JM
158202012-04-27 Joseph Myers <joseph@codesourcery.com>
15821
adae8f5e
JM
15822 * README: Cut down references to pre-2.6 Linux kernels and
15823 Linuxthreads. Update lists of configurations in libc and ports
15824 and sort alphabetically. Say "or newer" with Linux kernel version
15825 requirements.
15826
28aeeda4
JM
15827 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15828
a462cb63
RA
158292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15830
15831 [BZ #887]
15832 * math/libm-test.inc (logb_test_downward): New test to expose
15833 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15834 rounding mode.
15835
6ad3493e
JM
158362012-04-27 Joseph Myers <joseph@codesourcery.com>
15837
15838 [BZ #14027]
15839 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15840 to be done.
15841 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15842 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15843
2ce4f015
JM
158442012-04-26 Joseph Myers <joseph@codesourcery.com>
15845
5aeb141a
JM
15846 * sysdeps/unix/i386/brk.S: Remove file.
15847 * sysdeps/unix/i386/dl-brk.S: Likewise.
15848 * sysdeps/unix/i386/pipe.S: Likewise.
15849 * sysdeps/unix/i386/sigreturn.S: Likewise.
15850 * sysdeps/unix/i386/syscall.S: Likewise.
15851 * sysdeps/unix/i386/vfork.S: Likewise.
15852 * sysdeps/unix/i386/wait.S: Likewise.
15853
7143acae
JM
15854 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15855 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15856
2ce4f015
JM
15857 * configure.in (arm*-none*): Do not allow without
15858 --enable-hacker-mode.
15859 (netbsd*): Remove case setting base_os.
15860 (386bsd*): Likewise.
15861 (freebsd*): Likewise.
15862 (bsdi*): Likewise.
15863 (osf*): Likewise.
15864 (sunos*): Likewise.
15865 (ultrix*): Likewise.
15866 (newsos*): Likewise.
15867 (dynix*): Likewise.
15868 (*bsd*): Likewise.
15869 (sysv*): Likewise.
15870 (isc*): Likewise.
15871 (esix*): Likewise.
15872 (sco*): Likewise.
15873 (minix*): Likewise.
15874 (irix4*): Likewise.
15875 (irix6*): Likewise.
15876 (solaris[2-9]*): Likewise.
15877 (none): Likewise.
15878 * configure: Regenerated.
15879
0ac229c8
AZ
158802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15881
15882 [BZ #11521]
15883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15884 overflow or cancellation in calculating denominator.
15885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15887 down expression to avoid unexpected rounding in newer GCCs.
15888 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15889
33f244f4
DM
158902012-04-26 David S. Miller <davem@davemloft.net>
15891
15892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15893 long-double compat symbols.
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15907
cfa1f3e8
DM
159082012-04-25 David S. Miller <davem@davemloft.net>
15909
15910 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15911 HWCAP_* values only after the memory barriers have been defined.
15912 (atomic_full_barrier): Define.
15913 (atomic_read_barrier): Define.
15914 (atomic_write_barrier): Define.
15915
6e236b92
SP
159162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15917
15918 * shlib-versions: Add libgcc_s version information.
15919 * sysdeps/generic/libgcc_s.h: Remove.
15920 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15921 libgcc_s.h.
15922 * sysdeps/gnu/unwind-resume.c: Likewise.
15923 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15924
aab39a09
DM
159252012-04-25 David S. Miller <davem@davemloft.net>
15926
15927 * sysdeps/unix/sparc/brk.S: Delete.
15928 * sysdeps/unix/sparc/dl-brk.S: Delete.
15929 * sysdeps/unix/sparc/pipe.S: Delete.
15930 * sysdeps/unix/sparc/sysdep.S: Delete.
15931 * sysdeps/unix/sparc/sysdep.h: Delete.
15932 * sysdeps/unix/sparc/vfork.S: Delete.
15933 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15934 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15936 ret_ERRVAL, r0, r1, MOVE): Define.
15937 (JUMPTARGET): Remove.
15938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15939 sysdeps/unix/sparc/sysdep.h
15940 (ENTRY, END): Remove.
15941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15942
a3cc4f48
JM
159432012-04-25 Joseph Myers <joseph@codesourcery.com>
15944
2ed8cda2
JM
15945 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15946 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15947 -DIS_IN_build.
15948
35d76d59
JM
15949 * timezone/README: Update upstream location and email address for
15950 tzcode and tzdata.
15951 * timezone/zdump.c: Update from tzcode 2012b.
15952 * timezone/zic.c: Likewise.
15953
a3cc4f48
JM
15954 * configure.in (libc_cv_as_needed): Remove test.
15955 * configure: Regenerated.
15956 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15957 conditional definition.
15958 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15959 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15960 * config.make.in (have-as-needed): Remove variable.
15961
ceab42c3
SP
159622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 Paul Pluzhnikov <ppluzhnikov@google.com>
15964
15965 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15966 strings correctly.
15967
3ce2865f
CLT
159682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15969
15970 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15971 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15972 * sysdeps/sh/strlen.S: Likewise.
15973
f37e0d68
JM
159742012-04-24 Joseph Myers <joseph@codesourcery.com>
15975
ae186e9a
JM
15976 * sysdeps/unix/fork.S: Remove file.
15977 * sysdeps/unix/i386/fork.S: Likewise.
15978 * sysdeps/unix/sparc/fork.S: Likewise.
15979
b96914af
JM
15980 * sysdeps/unix/system.c: Remove file.
15981 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15982
f37e0d68
JM
15983 * sysdeps/unix/getegid.S: Remove file.
15984 * sysdeps/unix/geteuid.S: Likewise.
15985
87ef29ca
RM
159862012-04-24 Roland McGrath <roland@hack.frob.com>
15987
83bcd236
RM
15988 * scripts/check-localplt.awk: New file.
15989 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15990 of diff.
15991 * scripts/data/localplt-generic.data: Add a comment.
15992
87ef29ca
RM
15993 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15994 NODE when __dir_mkfile failed.
15995 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15996 Reported by Ludovic Courtès <ludo@gnu.org>.
15997
e5a6e567
AJ
159982012-04-24 Andreas Jaeger <aj@suse.de>
15999
16000 * Makerules (common-clean): Also remove gen-as-const-headers
16001 files.
16002
c1820385
JM
160032012-04-24 Joseph Myers <joseph@codesourcery.com>
16004
16005 * Makerules (native-compile): Do not change working directory for
16006 build. Use $(OUTPUT_OPTION) in command.
16007 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16008
94e02fc4
AZ
160092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010
16011 [BZ #13886]
16012 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16013 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16014 * math/libm-test.inc (floor_test): Add more tests.
16015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16016
3a533ca3
JM
160172012-04-24 Joseph Myers <joseph@codesourcery.com>
16018
940ab4b3
JM
16019 * sysdeps/unix/getdents.c: Remove file.
16020 * sysdeps/unix/sysv/getdents.c: Likewise.
16021 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16022
90e037bd
JM
16023 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16024 sysdeps/unix/mman/syscalls.list.
16025 (mmap): Likewise.
16026 (mprotect): Likewise.
16027 (msync): Likewise.
16028 (munmap): Likewise.
16029 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16030 * sysdeps/unix/mman/syscalls.list: Remove.
16031 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16032
3a533ca3
JM
16033 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16034 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16035 * configure: Regenerated.
16036 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16037 $(libgcc_s_suffix).
16038 * config.make.in (libgcc_s_suffix): Remove variable.
16039
1ad743de
JM
160402012-04-23 Joseph Myers <joseph@codesourcery.com>
16041
4ad451e2
JM
16042 * sysdeps/unix/sysv/gethostname.c: Move to ...
16043 * sysdeps/posix/gethostname.c: ... here.
16044
5e37ce39
JM
16045 * sysdeps/unix/execve.S: Remove file.
16046
1ad743de
JM
16047 * sysdeps/unix/_exit.S: Remove file.
16048
4e681b5b
AJ
160492012-04-23 Andreas Jaeger <aj@suse.de>
16050
16051 [BZ #13739]
16052 * manual/Makefile: Remove make dist support, there's no
16053 need for a stand-alone documentation tar ball.
16054 (TEXI2DVI): Define always, it's not in Makeconfig.
16055 (dist): Removed.
16056 (tar-it): Removed.
16057 (edition): Removed.
16058 (glibc-doc-$(edition).tar): Removed
16059 (%.Z): Removed.
16060 (%.gz): Removed.
16061 (%.uu): Removed.
16062 (ETAGS): Remove, it's in Makeconfig.
16063 (move-if-change): Remove, it's in Makeconfig.
16064
38686a03 160652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16066
16067 [BZ #13970]
16068 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16069 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16070 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16071 (strtod_l, strtof_l, strtold_l): Remove __wur.
16072 It is not necessarily an error to ignore strtol's return value.
16073 One can reliably look at the stored endptr to decide whether
16074 the number had valid syntax.
16075
7c0616fa
AJ
160762012-04-21 Andreas Jaeger <aj@suse.de>
16077
803cb6b7 16078 [BZ #13739]
7c0616fa
AJ
16079 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16080
b0fe253f
JM
160812012-04-21 Joseph Myers <joseph@codesourcery.com>
16082
16083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16084 * sysdeps/unix/sysv/Versions: Remove file.
16085
8280f22d
MT
160862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16087
16088 [BZ #13927]
16089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16090
75ce411f 160912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16092
16093 [BZ #7064]
16094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16095 version from __vm86.
16096
097d59fa
JM
160972012-04-20 Joseph Myers <joseph@codesourcery.com>
16098
a90f3bcb
JM
16099 * sysdeps/unix/common/lxstat.c: Remove file.
16100 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16101
edc7ea78
JM
16102 * sysdeps/unix/sysv/Makefile: Remove file.
16103
cb78c221
JM
16104 * sysdeps/unix/sysv/direct.h: Remove file.
16105
efa6a45f
JM
16106 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16107 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16108 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16109 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16110 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16111 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16112 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16113
9c9f2d0c
JM
16114 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16115
4541c83b
JM
16116 * sysdeps/unix/xmknod.c: Remove file.
16117 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16118
f5d153a0
JM
16119 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16120
aa746595
JM
16121 * sysdeps/unix/sysv/i386/time.S: Remove file.
16122
cce5905e
JM
16123 * sysdeps/unix/fxstat.c: Remove file.
16124 * sysdeps/unix/xstat.c: Likewise.
16125 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16126
37fa3841
JM
16127 * sysdeps/unix/sysv/sigaction.c: Remove file.
16128
ff1962a3
JM
16129 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16130 (sysdep_headers): Remove variable.
16131 [termio.h not in sysdep_headers] (generated): Likewise.
16132 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16133 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16134 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16135 * sysdeps/unix/sysv/tcflow.c: Likewise.
16136 * sysdeps/unix/sysv/tcflush.c: Likewise.
16137 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16138 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16139 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16140 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16141 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16142
e7740d31
JM
16143 * sysdeps/unix/siglist.c: Remove file.
16144
ee06f18b
JM
16145 * sysdeps/unix/getppid.S: Remove file.
16146
097d59fa
JM
16147 * sysdeps/unix/mkdir.c: Remove file.
16148 * sysdeps/unix/rmdir.c: Likewise.
16149
ff3d51ec
AS
161502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16151
16152 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16153 ERR_MAX value.
16154 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16155 errlist-compat value.
16156
50f81fd7
DM
161572012-04-18 David S. Miller <davem@davemloft.net>
16158
16159 * sysdeps/generic/memcopy.h (reg_char): Delete.
16160 * debug/strcat_chk.c: Use char, not reg_char.
16161 * debug/strcpy_chk.c: Likewise.
16162 * debug/strncat_chk.c: Likewise.
16163 * debug/strncpy_chk.c: Likewise.
16164 * string/memchr.c: Likewise.
16165 * string/memrchr.c: Likewise.
16166 * string/rawmemchr.c: Likewise.
16167 * string/strcat.c: Likewise.
16168 * string/strchr.c: Likewise.
16169 * string/strchrnul.c: Likewise.
16170 * string/strcmp.c: Likewise.
16171 * string/strcpy.c: Likewise.
16172 * string/strncat.c: Likewise.
16173 * string/strncmp.c: Likewise.
16174 * string/strncpy.c: Likewise.
16175
8ff41c46
WS
161762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16177
16178 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16179 __builtin_memcopy is called when src and dest ranges are known to not
16180 overlap.
16181
6b652f46
WS
161822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16183
16184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16185 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16186 fwd_align_merge macro call.
16187 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16188 bwd_align_merge macro call.
16189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16190
b282631e
WS
161912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16192
16193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16194 bwd_align_merge macros.
16195 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16196 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16198
95aa737c
DM
161992012-04-18 David S. Miller <davem@davemloft.net>
16200
16201 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16202
7a99a614
AJ
162032012-04-18 Andreas Jaeger <aj@suse.de>
16204
16205 [BZ# 6794]
16206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16208 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16209
16210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16211 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16213
16214 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16215 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16216 Adjust for changed ldbl-128 files.
16217
16218 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16219 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16221
e5270c23
DM
162222012-04-17 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16225
fb5e92c9
AS
162262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16227
16228 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16229 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16230 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16231 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16232 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16233 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16234
76da7265
AZ
162352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16236
16237 [BZ #6794]
16238 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16239 * math/libm-test.inc: Add ilogb errno and exception tests.
16240 * math/w_ilogb.c: New file: ilogb wrapper.
16241 * math/w_ilogbf.c: New file: ilogbf wrapper.
16242 * math/w_ilogbl.c: New file: ilogbl wrapper.
16243 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16244 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16245 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16246 exception being thrown with 0.0 as argument.
16247 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16248 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16249 exception being thrown with 0.0 as argument.
16250 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16251 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16252 exception being thrown with 0.0 as argument.
16253 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16254 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16255 exception being thrown with 0.0 as argument.
16256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16257 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16259 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16262 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16263 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16264 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16265
0396e69d
PB
162662012-04-17 Petr Baudis <pasky@ucw.cz>
16267
16268 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16269 with altivec.
16270
750b5926
MP
162712012-04-16 Marek Polacek <polacek@redhat.com>
16272
16273 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16274
751728a1
MP
162752012-04-16 Marek Polacek <polacek@redhat.com>
16276
16277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16278 operands of fdivp instruction.
16279
34a27407
L
162802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16281
16282 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16283 * elf/tst-auditmod3b.c: Likewise.
16284 * elf/tst-auditmod4b.c: Likewise.
16285 * elf/tst-auditmod5b.c: Likewise.
16286 * elf/tst-auditmod6b.c: Likewise.
16287 * elf/tst-auditmod6c.c: Likewise.
16288 * elf/tst-auditmod7b.c: Likewise.
16289 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16290 * sysdeps/x86_64/preconfigure.in: Likewise.
16291 * sysdeps/x86_64/preconfigure: Regenerated.
16292
7e73e17d
L
162932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16294
16295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16296 __ILP32__.
16297
c7a6ab72
AB
162982012-04-13 Antoine Balestrat <merkil33@gmail.com>
16299
16300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16301 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16302
a9e8e0e0
CL
163032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16304
16305 [BZ #13973]
16306 * locale/iso-639.def: Fix gl language name. Spotted by
16307 Yaron Shahrabani.
16308
ec98af7d
RM
163092012-04-12 Roland McGrath <roland@hack.frob.com>
16310
16311 [BZ #2074]
16312 * libio/libio.h (__io_write_fn): Update comment.
16313
247c3ede
PB
163142012-04-12 Petr Baudis <pasky@ucw.cz>
16315
16316 [BZ #2074]
16317 * stdio.texi (Hook Functions): The user provided writer function
16318 is not allowed to return -1.
16319
55939d6d
DM
163202012-04-11 David S. Miller <davem@davemloft.net>
16321
16322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16323
90020f5a
MF
163242012-04-11 Mike Frysinger <vapier@gentoo.org>
16325
16326 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16327 Add a leading slash to rtkaio.
16328
288f9098
JM
163292012-04-11 Jim Meyering <meyering@redhat.com>
16330
90020f5a
MF
16331 [BZ #11959]
16332 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16333 It is not necessarily an error to ignore fwrite's return
16334 value. One can reliably use ferror to test for errors after
16335 the fact.
288f9098 16336
4be2b570
L
163372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16338
16339 * bits/types.h (__snseconds_t): New type.
16340 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16341
16342 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16344 (__SNSECONDS_T_TYPE): Likewise.
16345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16346 (__SNSECONDS_T_TYPE): Likewise.
16347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16348 (__SNSECONDS_T_TYPE): Likewise.
16349
288f9098 163502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16351
16352 [BZ #2636]
16353 * manual/time.texi (Processor Time): Return type of times is
16354 elapsed real time since an arbitrary point in the past.
16355 (CPU Time): Move CLK_TCK from here...
16356 (Processor Time): ...to here. Correct description.
16357 * manual/conf.texi (Constants for Sysconf): Correct description of
16358 _SC_CLK_TCK.
16359
d7dd4413
DM
163602012-04-10 David S. Miller <davem@davemloft.net>
16361
16362 [BZ #13967]
16363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16364 where the is a gap between DT_REL(A) and DT_JMPREL.
16365
b46068fc
L
163662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16367
16368 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16369 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16370 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16371
73d65cc3
SP
163722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16373
16374 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16375 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16376 (dl_main): Handle --inhibit-cache.
16377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16378 _dl_inhibit_cache.
16379 * elf/dl-load.c (_dl_map_object): Use it.
16380 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16381
bcc8d661
JM
163822012-04-09 Joseph Myers <joseph@codesourcery.com>
16383
8f9a2fae
JM
16384 [BZ #13872]
16385 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16386 (__ieee754_powl): Saturate large exponents rather than testing for
16387 overflow of y*log2(x).
16388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16389 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16390 exceptions.
16391
bcc8d661
JM
16392 [BZ #11521]
16393 * math/s_ctan.c: Include <float.h>.
16394 (__ctan): Avoid internal overflow or cancellation in calculating
16395 denominator.
16396 * math/s_ctanf.c: Likewise.
16397 * math/s_ctanl.c: Likewise.
16398 * math/s_ctanh.c: Likewise.
16399 * math/s_ctanhf.c: Likewise.
16400 * math/s_ctanhl.c: Likewise.
16401 * math/libm-test.inc (ctan_test): Add more tests.
16402 (ctanh_test): Likewise.
16403 * sysdeps/i386/fpu/libm-test-ulps: Update.
16404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16405
823fbbb4
AJ
164062012-04-09 Andreas Jaeger <aj@suse.de>
16407
03879793
AJ
16408 [BZ #6894]
16409 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16410 is an optional BSD extension.
16411
823fbbb4
AJ
16412 [BZ #10254]
16413 * manual/stdio.texi (Opening Streams): Document additional fopen
16414 parameters.
16415
8de131cb
RM
164162012-04-09 Roland McGrath <roland@hack.frob.com>
16417
16418 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16419 %eax without telling the compiler.
16420
c0ed9d7d
CD
164212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16422
16423 [BZ # 13963]
16424 * manual/install.texi: Use sourceware.org.
16425
c483f6b4
JM
164262012-04-09 Joseph Myers <joseph@codesourcery.com>
16427
d7dd9453
JM
16428 [BZ #13873]
16429 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16430 (__ieee754_pow): Generate overflow and underflow using huge*huge
16431 and tiny*tiny rather than just returning constant infinity or zero
16432 for large exponents.
16433 * math/libm-test.inc (pow_test): Require overflow exceptions for
16434 applicable cases of large exponents.
16435
c483f6b4
JM
16436 [BZ #706]
16437 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16438 (__ieee754_pow): Use iterative multiplication algorithm only for
16439 integer exponents with absolute value below 1024. Check for odd
16440 integer exponents when using algorithm for real exponents.
16441 * math/libm-test.inc (pow_test): Add more tests.
16442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16443
d2de7579
JM
164442012-04-08 Joseph Myers <joseph@codesourcery.com>
16445
16446 [BZ #13705]
16447 * math/libm-test.inc (exp_test): Do not allow overflow exception
16448 on underflow test.
16449
f77f1232
AJ
164502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16451
16452 [BZ #13705]
16453 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16454 instead of __kernel_standard_f.
16455
3884932b
MF
164562012-04-08 Mike Frysinger <vapier@gentoo.org>
16457
16458 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16459 * sysdeps/x86_64/memset_chk.S: Likewise.
16460
54472e9c
AJ
164612012-04-08 Andreas Jaeger <aj@suse.de>
16462
6ab0fbfc
AJ
16463 [BZ #10153]
16464 * manual/startup.texi (Environment Access): Describe return value
16465 for putenv and setenv.
16466
61efba8c
AJ
16467 [BZ #6895]
16468 * manual/filesys.texi (Directory Entries): Add description for
16469 DT_LNK.
16470
95c3f29a
AJ
16471 [BZ #6890]
16472 * manual/filesys.texi (Directory Entries): Clarify that it's file
16473 system not operating system in the description of DT_UNKNOWN.
16474
54472e9c
AJ
16475 [BZ #6578]
16476 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16477
624254b1
SC
164782012-04-08 Stephen Compall <s11@member.fsf.org>
16479
16480 [BZ #6649]
16481 * manual/llio.texi (Opening and Closing Files): Add cross
16482 reference to explain mode argument.
16483
1e4920e0
MF
164842012-04-07 Mike Frysinger <vapier@gentoo.org>
16485
16486 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16487 * sysdeps/x86_64/memset_chk.S: Likewise.
16488
5ed848f3
DM
164892012-04-07 David S. Miller <davem@davemloft.net>
16490
16491 * elf/elf.h (R_SPARC_WDISP10): Define.
16492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16493 R_SPARC_SIZE32.
16494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16495 R_SPARC_SIZE64 and R_SPARC_H34.
16496
96154cd8
CD
164972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16498
16499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16500 conditions and remove no longer applicable assertion.
16501
9904dc47
L
165022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16503
16504 * bits/byteswap.h: Include <features.h>.
16505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16507
f8887d0a
L
165082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16509
16510 * bits/byteswap.h (__bswap_16): Removed.
16511 Include <bits/byteswap-16.h> to get __bswap_16.
16512 * sysdeps/i386/bits/byteswap.h: Likewise.
16513 * sysdeps/s390/bits/byteswap.h: Likewise.
16514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16515 * bits/byteswap-16.h: New file.
16516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16518 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16519 * string/Makefile (headers): Add bits/byteswap-16.h.
16520
62470f60
PP
165212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16522
16523 [BZ #13895]
16524 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16525 extra indirection.
16526 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16527 * nss/tst-nss-static.c: New.
16528
4dad7bab
RM
165292012-04-06 Robert Millan <rmh@gnu.org>
16530
16531 [BZ #6486]
16532 * manual/llio.texi (File Position Primitive): lseek
16533 refers to WHENCE when it really means OFFSET.
16534
e9142a17
AJ
165352012-04-06 Andreas Jaeger <aj@suse.de>
16536
2c040eff
AJ
16537 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16538 strncmp declarations.
16539
e9142a17
AJ
16540 * abilist/libc.abilist: Add __poll and __ppoll.
16541
ff9f1c5f
DM
165422012-04-05 David S. Miller <davem@davemloft.net>
16543
dcd2ae90
DM
16544 * scripts/check-local-headers.sh: Accept a host triplet in the
16545 path matched by the exclude regexp.
16546
993eb054
DM
16547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16548 definition.
16549 * sysdeps/powerpc/powerpc32/dl-machine.h
16550 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16551 * sysdeps/s390/s390-32/dl-machine.h
16552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16553 * sysdeps/sparc/sparc32/dl-machine.h
16554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16555 * sysdeps/sparc/sparc64/dl-machine.h
16556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16557
ff9f1c5f
DM
16558 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16559 lazy binding.
48e2e132 16560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16561 undefined symbol errors.
16562
48e2e132 16563 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16564 DT_NEEDED entries.
16565
e80d6f94
MM
165662012-04-05 Michael Matz <matz@suse.de>
16567
16568 [BZ #13592]
16569 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16570
349fa79f
AJ
165712012-04-05 Andreas Jaeger <aj@suse.de>
16572
16573 [BZ #13908]
16574 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16575 comment.
16576
f402708f
KK
165772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16578
16579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16580 which ROUND is no valid rounding mode.
16581
2ecccfc9
KK
165822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16583
16584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16585 read again.
16586 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16587
8a53f50f
KK
165882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16589
16590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16591 an exception using FPU order intentionally.
16592
165932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16594
16595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16596 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16597 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16598 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16599
d653abb7
SJ
166002012-04-05 Simon Josefsson <simon@josefsson.org>
16601
16602 [BZ #12340]
16603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16604 EINVAL when BUFLEN is too smal.
16605
c3b1bf7d
TS
166062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16607
16608 [BZ #13553]
16609 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16610 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16611
b1aa60f3
AJ
166122012-04-03 Andreas Jaeger <aj@suse.de>
16613
c3b1bf7d 16614 [BZ #13938]
67f60a26
AJ
16615 * manual/setjmp.texi (System V contexts): Fix sentence.
16616
b1aa60f3
AJ
16617 [BZ #13926]
16618 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16619 New macro for this case.
16620 [!__GNUC__] (__bswap_64): New inline function for this case.
16621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16622 * bits/byteswap.h: Likewise.
16623 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16624 ull, guard with __GLIBC_HAVE_LONG_LONG.
16625
16626 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16627 __GLIBC_HAVE_LONG_LONG.
16628
16629 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16630 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16631
39c59c35
TMQMF
166322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16633
16634 [BZ #13691]
16635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16636 inptr and inend, rather than using last_ch.
16637
135ffda8
DM
166382012-04-02 David S. Miller <davem@davemloft.net>
16639
16640 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16641 * stdio-common/printf-parse.h (read_int): Change return type to
16642 'int', return -1 on INT_MAX overflow.
16643 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16644 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16645 overflows INT_MAX. Check for overflow of in-format-string precision
16646 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16647 SIZE_MAX not INT_MAX for integer overflow test.
16648 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16649 skip the construct in the format string but do not record anything.
16650 * stdio-common/bug22.c: Adjust to test both width/prevision
16651 INT_MAX overflow as well as total length INT_MAX overflow. Check
16652 explicitly for proper errno values.
16653
228c019e
TS
166542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16655
302cadd3
TS
16656 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16657 CHAR_MAX.
16658 * string/test-strcmp.c [! WIDE]: Likewise.
16659 * time/tst-mktime2.c: Likewise for INT_MAX.
16660 * string/test-string.h: #include <sys/param.h> for MIN.
16661
228c019e
TS
16662 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16663 * sysdeps/i386/init-first.c (init): Likewise.
16664 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16665 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16666 * sysdeps/sh/init-first.c (init): Likewise.
16667
cfa633f5
UD
166682012-04-01 Ulrich Drepper <drepper@gmail.com>
16669
16670 * po/ru.po: Update from translation team.
d1635ef8 16671 * po/vi.po: Likewise.
cfa633f5 16672
6cd0a5ea
SP
166732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16674
16675 * resolv/nss_dns/dns-host.c: Merge copyright years.
16676
4b43400f
LD
166772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16678
16679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16680 Optimize memcpy with prefetch if
16681 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16682 src, dst pointers have unequal 16 byte alignments.
16683
48c41d04
SP
166842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16685
16686 [BZ #13928]
16687 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16688 from a CNAME entry and return the minimum ttl for the query.
16689 (gaih_getanswer_slice): Likewise.
16690
b8dc394d
JL
166912012-03-30 Jeff Law <law@redhat.com>
16692
16693 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16694 due to long keys.
16695 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16696 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16697
2f5a5ed0
JL
16698 * resolv/nss_dns/dns-host.c: Update copyright year.
16699
1d39e359
UD
167002012-03-30 Ulrich Drepper <drepper@gmail.com>
16701
c030f70c 16702 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16703 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16704
1d39e359
UD
16705 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16706 comments for sendmmsg.
16707
167082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16709
16710 [BZ #13691]
16711 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16712 with only 1 character between 0x0041 and 0x01b0.
16713 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16714 * wcsmbs/tst-mbsnrtowcs.c: New file.
16715
20fde227
DM
167162012-03-29 David S. Miller <davem@davemloft.net>
16717
16718 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16719 small copies by hand.
16720
984a4237
JL
167212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16722
16723 [BZ #13761]
16724 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16725 _nss_compat_initgroups_dyn): Fall back to malloc/free
16726 for large group memberships.
16727
18c9d62b
DM
167282012-03-28 David S. Miller <davem@davemloft.net>
16729
88d85d4f
DM
16730 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16731 that branches into memcpy.
16732 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16735 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16737 bits.
16738 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16739 implementation too.
16740 * sysdeps/sparc/mempcpy.S: New file.
16741
e5aa83e1
DM
16742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16743 the IFUNC routine in the libc case.
16744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16745
88570753
DM
16746 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16748 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16749 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16750 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16751 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16752 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16753 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16754
249d7567
DM
16755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16756 loop to 256 bytes instead of 64 bytes and fix test signedness.
16757
18c9d62b
DM
16758 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16759 * sysdeps/sparc/sparc32/Makefile: rather than here...
16760 * sysdeps/sparc/sparc64/Makefile: and here.
16761
05f3d1f6
UD
167622012-03-28 Ulrich Drepper <drepper@gmail.com>
16763
16764 * malloc/mallocbug.c: Avoid warnings about unused variables.
16765
86ae07a8
JL
167662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16767
16768 [BZ #13760]
16769 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16770 in the right place. Discard and retry query if response is
16771 larger than input buffer size.
16772
41bf21a1
JM
167732012-03-28 Joseph Myers <joseph@codesourcery.com>
16774
d6270972
JM
16775 [BZ #369]
16776 [BZ #2678]
16777 [BZ #3866]
16778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16779 x for large integer exponent.
16780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16782 sign of result as needed afterwards.
16783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16785 result for underflowing pow the same as for overflow.
16786 (__kernel_standard_l): Handle powl overflow and underflow here
16787 rather than calling __kernel_standard.
16788 * math/libm-test.inc (pow_test): Add more tests.
16789
414fca03 16790 [BZ #3868]
41bf21a1
JM
16791 [BZ #13879]
16792 [BZ #13910]
16793 [BZ #13911]
16794 [BZ #13912]
16795 [BZ #13913]
16796 [BZ #13915]
16797 [BZ #13916]
16798 [BZ #13917]
16799 [BZ #13918]
16800 [BZ #13919]
16801 [BZ #13920]
16802 [BZ #13921]
16803 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16804 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16805 (__kernel_standard_l): New function.
16806 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16807 __kernel_standard.
16808 * math/w_acosl.c (__acosl): Likewise.
16809 * math/w_asinl.c (__asinl): Likewise.
16810 * math/w_atan2l.c (__atan2l): Likewise.
16811 * math/w_atanhl.c (__atanhl): Likewise.
16812 * math/w_coshl.c (__coshl): Likewise.
16813 * math/w_exp10l.c (__exp10l): Likewise.
16814 * math/w_exp2l.c (__exp2l): Likewise.
16815 * math/w_fmodl.c (__fmodl): Likewise.
16816 * math/w_hypotl.c (__hypotl): Likewise.
16817 * math/w_j0l.c (__j0l, __y0l): Likewise.
16818 * math/w_j1l.c (__j1l, __y1l): Likewise.
16819 * math/w_jnl.c (__jnl, __ynl): Likewise.
16820 * math/w_lgammal.c (__lgammal): Likewise.
16821 * math/w_log10l.c (__log10l): Likewise.
16822 * math/w_log2l.c (__log2l): Likewise.
16823 * math/w_logl.c (__logl): Likewise.
16824 * math/w_powl.c (__powl): Likewise.
16825 * math/w_remainderl.c (__remainderl): Likewise.
16826 * math/w_scalbl.c (sysv_scalbl): Likewise.
16827 * math/w_sinhl.c (__sinhl): Likewise.
16828 * math/w_sqrtl.c (__sqrtl): Likewise.
16829 * math/w_tgammal.c (__tgammal): Likewise.
16830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16831 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16832 * math/libm-test.inc (acos_test): Add more tests.
16833 (acosh_test): Likewise.
16834 (asin_test): Likewise.
16835 (atanh_test): Likewise.
16836 (exp_test): Likewise.
16837 (exp10_test): Likewise.
16838 (exp2_test): Likewise.
16839 (expm1_test): Likewise.
16840 (lgamma_test): Likewise.
16841 (log_test): Likewise.
16842 (log10_test): Likewise.
16843 (log1p_test): Likewise.
16844 (log2_test): Likewise.
16845 (pow_test): Do not allow some spurious overflow exceptions.
16846 (sqrt_test): Add more tests.
16847 (tgamma_test): Likewise.
16848 (y0_test): Likewise.
16849 (y1_test): Likewise.
16850 (yn_test): Likewise.
16851
dd62fda6
AB
168522012-03-27 Anton Blanchard <anton@samba.org>
16853
16854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16855 MAP_HUGETLB.
16856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16859
1e3cdfda
AJ
168602012-03-27 David S. Miller <davem@davemloft.net>
16861
b855ab85
DM
16862 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16863
1e3cdfda
AJ
16864 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16865 have-as-vis3 check.
16866
168672012-03-27 Andreas Jaeger <aj@suse.de>
16868
16869 * sysdeps/x86_64/elf/configure.in: Moved to ...
16870 * sysdeps/x86_64/configure.in: ... here.
16871 * sysdeps/x86_64/elf/start.S: Moved to ...
16872 * sysdeps/x86_64/start.S: ... here.
16873 * sysdeps/x86_64/elf/configure: Delete.
16874
16875 * sysdeps/x86_64/configure.in: Merge contents from
16876 sysdeps/i386/configure.in (without i686 check).
16877
16878 * sysdeps/i386/elf/Versions: Merge into ...
16879 * sysdeps/i386/Versions: ... this.
16880 * sysdeps/i386/elf/Versions: Delete file.
16881 * sysdeps/i386/elf/start.S: Moved to ...
16882 * sysdeps/i386/start.S: ...here.
16883 * sysdeps/i386/elf/configure.in: Merge into...
16884 * sysdeps/i386/configure.in: ...here.
16885 * sysdeps/i386/elf/configure.in: Delete file.
16886 * sysdeps/i386/elf/configure: Delete file.
16887
16888 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16889 * debug/backtracesyms.c: ... here.
16890 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16891 * debug/backtracesymsfd.c: ... here.
16892 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16893 * sysdeps/generic/ifunc-sel.h: ... here.
16894
16895 * sysdeps/unix/i386/start.c: Delete file.
16896 * sysdeps/unix/sparc/start.c: Delete file.
16897 * sysdeps/unix/start.c: Delete file.
16898
16899 * sysdeps/sh/elf/configure.in: Moved to ...
16900 * sysdeps/sh/configure.in: ... here.
16901 * sysdeps/sh/elf/start.S: Moved to ...
16902 * sysdeps/sh/start.S: ... here.
16903 * sysdeps/sh/elf/configure: Delete file.
16904
16905 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16906 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16907 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16908 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16909 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16910 * sysdeps/powerpc/powerpc64/start.S: here.
16911 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16912 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16913 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16914 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16915 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16916
16917 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16918 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16919 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16920 * sysdeps/powerpc/powerpc32/start.S: ... here.
16921 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16922 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16923 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16924
16925 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16926 * sysdeps/powerpc/ifunc-sel.h: ... here.
16927 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16928 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16929
16930 * sysdeps/sparc/elf/configure.in: Moved to ...
16931 * sysdeps/sparc/configure.in: ... here.
16932 * sysdeps/sparc/elf/configure: Delete file.
16933 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16934 * sysdeps/sparc/sparc32/start.S: ... here.
16935 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16936 * sysdeps/sparc/sparc64/start.S: ... here.
16937 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16938 * sysdeps/sparc/sparc32/Makefile: ... this.
16939 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16940 * sysdeps/sparc/sparc64/Makefile: ... this.
16941
16942 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16943 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16944 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16945 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16946 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16947 * sysdeps/s390/s390-32/setjmp.S: ... here.
16948 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16949 * sysdeps/s390/s390-32/configure.in: ... here.
16950 * sysdeps/s390/s390-32/elf/configure: Delete file.
16951 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16952 * sysdeps/s390/s390-32/start.S: ... here.
16953
16954 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16955 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16956 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16957 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16958 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16959 * sysdeps/s390/s390-64/setjmp.S: ... here.
16960 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16961 * sysdeps/s390/s390-64/configure.in: ... here
16962 * sysdeps/s390/s390-64/elf/configure: Delete file.
16963 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16964 * sysdeps/s390/s390-64/start.S: ... here.
16965 * sysdeps/s390/s390-64/elf/configure: Delete.
16966
16967 * configure.in: Remove support for elf directories in sysdeps.
16968
16969 * configure: Regenerated.
16970 * sysdeps/i386/configure: Regenerated.
16971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16973 * sysdeps/s390/s390-32/configure: Regenerated.
16974 * sysdeps/s390/s390-64/configure: Regenerated.
16975 * sysdeps/sh/configure: Regenerated.
16976 * sysdeps/sparc/configure: Regenerated.
16977 * sysdeps/x86_64/configure: Regenerated.
16978
a3f61311
AS
169792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16980
c876e002
AS
16981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16982
a3f61311
AS
16983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16984 denormal result into account.
16985
ac4c54f0
RM
169862012-03-25 Roland McGrath <roland@hack.frob.com>
16987
16988 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16989 Reported by Allan McRae <allan@archlinux.org>.
16990
6a9b9c02
JL
169912012-03-23 Jeff Law <law@redhat.com>
16992
16993 * nss/getnssent.c (__nss_getent): Fix typo.
16994
4c42a0c1
DM
169952012-03-23 David S. Miller <davem@davemloft.net>
16996
16997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16998
1532c7ac
L
169992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17002 to pad to uint64_t for each field.
17003 (dl_tls_index): Replace unsigned long with uint64_t.
17004
3ff42526
PP
170052012-03-23 Daniel Jacobowitz <dmj@google.com>
17006 Paul Pluzhnikov <ppluzhnikov@google.com>
17007
17008 [BZ #6528]
17009 * grp/Makefile (otherlibs): Don't set it.
17010 * inet/Makefile (otherlibs): Likewise.
17011 * login/Makefile (otherlibs): Likewise.
17012 * nscd/Makefile (otherlibs): Likewise.
17013 * posix/Makefile (otherlibs): Likewise.
17014 * pwd/Makefile (otherlibs): Likewise.
17015 * rt/Makefile (otherlibs): Likewise.
17016 * sunrpc/Makefile (otherlibs): Likewise.
17017 * nss/Makefile (otherlibs): Likewise.
17018 Add libnss_files to routines and static-only-routines.
17019 ($(objpfx)getent): Remove rule.
17020 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17021 static-only-routines.
17022
7c69cd14
JM
170232012-03-22 Joseph Myers <joseph@codesourcery.com>
17024
17025 [BZ #13892]
17026 * math/s_cexp.c: Include <float.h>.
17027 (__cexp): Handle exp result overflowing not necessarily
17028 overflowing both real and imaginary parts of result.
17029 * math/s_cexpf.c: Likewise.
17030 * math/s_cexpl.c: Likewise.
17031 * math/libm-test.inc (cexp_test): Add more tests.
17032 * sysdeps/i386/fpu/libm-test-ulps: Update.
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034
81b035fe
L
170352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17036
17037 * include/link.h (ELFW): New macro.
17038 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17039 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17040
1da7940c
L
170412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17044 with uint64_t.
17045
b749dbb9
L
170462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17047
17048 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17049 declaration.
17050 (struct La_x32_retval): Likewise.
17051
2ff87f3f
L
170522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17053
17054 * sysdeps/x86_64/preconfigure.in: New file.
17055 * sysdeps/x86_64/preconfigure: New generated file.
17056
c0df8e69
JM
170572012-03-22 Joseph Myers <joseph@codesourcery.com>
17058
48e44791
JM
17059 [BZ #13824]
17060 * math/e_exp2l.c: Include <float.h>.
17061 (__ieee754_exp2l): Handle overflow and underflow cases
17062 separately. Only pass fractional part of argument to
17063 __ieee754_expl.
17064 * math/libm-test.inc (exp2_test): Add more tests.
17065
c0df8e69
JM
17066 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17067 negating x to take absolute value.
17068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17069 Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17072 Likewise.
17073 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17074 computing low part if x was negated.
17075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17076
c8e43ba7
L
170772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17078
17079 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17080 la_x32_gnu_pltexit.
17081 (pltexit): Cast int_retval to ptrdiff_t.
17082 * elf/tst-auditmod3b.c: Likewise.
17083 * elf/tst-auditmod4b.c: Likewise.
17084 * elf/tst-auditmod5b.c: Likewise.
17085 * elf/tst-auditmod6b.c: Likewise.
17086 * elf/tst-auditmod6c.c: Likewise.
17087 * elf/tst-auditmod7b.c: Likewise.
17088
17089 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17090 and x32_gnu_pltexit.
17091
17092 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17093 __ELF_NATIVE_CLASS.
17094 (La_x32_regs): New macro.
17095 (La_x32_retval): Likewise.
17096 (la_x32_gnu_pltenter): New function prototype.
17097 (la_x32_gnu_pltexit): Likewise.
17098
7998fa78
AS
170992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17100
dcb33988
AS
17101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17102 exponent.
17103
233fc563
AS
17104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17105
7998fa78
AS
17106 * configure.in (libc_cv_cc_nofma): Check for option to disable
17107 generation of FMA instructions.
17108 * configure: Regenerate.
17109 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17110 * sysdeps/ieee754/dbl-64/Makefile: New file.
17111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17112 Remove brandred-fma4.
17113 (CFLAGS-brandred-fma4.c): Remove.
17114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17116 define.
17117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17118 define.
17119
8e95c99a
L
171202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17123 LLONG_MAX != LONG_MAX.
17124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17125 (_fitoa_word): Likewise.
17126 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17127 LLONG_MAX != LONG_MAX.
17128 * stdio-common/_itowa.h: Include <_itoa.h>.
17129 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17130 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17131 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17132 only if not defined.
17133 (_ITOA_WORD_TYPE): Likewise.
17134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17135 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17136
6f4db457
DM
171372012-03-21 David S. Miller <davem@davemloft.net>
17138
17139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17140
7785fe5a
L
171412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17144 of x86_64 when setting libc_cv_slibdir, libdir and
17145 libc_cv_localedir.
17146 * sysdeps/unix/sysv/linux/configure: Regenerated.
17147
4535cd55
JM
171482012-03-21 Joseph Myers <joseph@codesourcery.com>
17149
17150 * manual/lang.texi (Old Varargs): Remove section.
17151 (How Variadic): Update menu.
17152 (va_start): Do not mention varargs.h.
17153
17228132
TS
171542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17155 Joseph Myers <joseph@codesourcery.com>
17156
17157 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17158 link test.
17159 * configure: Regenerated.
17160
8149f976
TS
171612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17162
05f3d1f6
UD
17163 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17164 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17165 conformtest.pl
8149f976 17166
1a4ac776
JM
171672012-03-21 Joseph Myers <joseph@codesourcery.com>
17168
be22ce65
JM
17169 * NOTES: Remove.
17170 * Makefile (files-for-dist): Remove NOTES.
17171 (NOTES): Remove rule.
17172 * README: Don't refer to NOTES.
17173 * manual/creature.texi: Don't include macros.texi.
17174 * manual/intro.texi (creature.texi): Remove comment referring to
17175 NOTES.
17176
40b601fb
JM
17177 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17178 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17179 * configure: Regenerated.
17180 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17181 LIBC_TRY_CC_OPTION.
17182 (libc_cv_as_i686): Likewise.
17183 (libc_cv_cc_avx): Likewise.
17184 (libc_cv_cc_sse2avx): Likewise.
17185 (libc_cv_cc_fma4): Likewise.
17186 (libc_cv_cc_novzeroupper): Likewise.
17187 * sysdeps/i386/configure: Regenerated.
17188
1a4ac776
JM
17189 [BZ #13883]
17190 * sysdeps/i386/fpu/s_cexp.S: Remove.
17191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17193 * math/libm-test.inc (cexp_test): Add more tests.
17194 * sysdeps/i386/fpu/libm-test-ulps: Update.
17195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17196
a458e7fe
AM
171972012-03-21 Allan McRae <allan@archlinux.org>
17198
17199 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17200
0cb7efc5
JM
172012012-03-21 Joseph Myers <joseph@codesourcery.com>
17202
17203 [BZ #13871]
17204 * math/w_exp2.c: Do not include <float.h>.
17205 (o_threshold, u_threshold): Remove.
17206 (__exp2): Calculate result before checking finiteness and calling
17207 __kernel_standard.
17208 * math/w_exp2f.c: Likewise.
17209 * math/w_exp2l.c: Likewise.
17210 * math/libm-test.inc (exp2_test): Require overflow exception for
17211 1e6 input.
2460d3aa
JM
17212
17213 [BZ #3866]
17214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17215 range of signed 64-bit integers before using fistpll. Remove
17216 checks for whether integers fit in mantissa bits.
17217 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17218 the range of signed 32-bit integers before using fistpl. Remove
17219 checks for whether integers fit in mantissa bits.
17220 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17221 (__ieee754_powl): Test for y outside the range of signed 64-bit
17222 integers before using fistpll. Reduce 64-bit values to 63-bit
17223 ones as needed.
17224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17225 divide-by-zero is raised for zero to large negative powers.
17226 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17227 (__ieee754_powl): Test for y outside the range of signed 64-bit
17228 integers before using fistpll. Reduce 64-bit values to 63-bit
17229 ones as needed.
17230 * math/libm-test.inc (pow_test): Add more tests.
17231
eb96ffb0
L
172322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17233
17234 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17235 <stdio-common/_itoa.h>.
17236 * debug/segfault.c: Likewise.
17237 * elf/dl-cache.c: Likewise.
17238 * elf/dl-minimal.c: Likewise.
17239 * elf/dl-misc.c: Likewise.
17240 * elf/dl-sysdep.c: Likewise.
17241 * elf/dl-version.c: Likewise.
17242 * elf/rtld.c: Likewise.
17243 * hurd/hurdsock.c: Likewise.
17244 * hurd/lookup-retry.c: Likewise.
17245 * malloc/malloc.c: Likewise.
17246 * malloc/mtrace.c: Likewise.
17247 * nscd/nscd_getgr_r.c: Likewise.
17248 * nscd/nscd_getpw_r.c: Likewise.
17249 * nscd/nscd_getserv_r.c: Likewise.
17250 * posix/getopt_init.c: Likewise.
17251 * posix/wordexp.c: Likewise.
17252 * stdio-common/_itoa.c: Likewise.
17253 * stdio-common/printf_fphex.c: Likewise.
17254 * stdio-common/vfprintf.c: Likewise.
17255 * string/_strerror.c: Likewise.
17256 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17257 * sysdeps/i386/i686/hp-timing.h: Likewise.
17258 * sysdeps/mach/_strerror.c: Likewise.
17259 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17260 * sysdeps/mach/hurd/sethostid.c: Likewise.
17261 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17262 * sysdeps/mach/xpg-strerror.c: Likewise.
17263 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17265 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17266 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17268 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17269 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17270 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17271 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17272 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17273 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17274 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17277 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17279 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17283 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17284
17285 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17286
17287 * stdio-common/_itoa.h: Moved to ...
17288 * sysdeps/generic/_itoa.h: Here.
17289
17290 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17291
17292 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17293 instead of "_itoa.h" and "_itowa.h".
17294 * stdio-common/vfprintf.: Likewise.
17295
d1af992d
L
172962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17299 <bits/wordsize.h>.
17300 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17301 (__signbit): Likwise.
17302 (llrintf): Likwise.
17303 (llrint): Likwise.
17304
114883e0
L
173052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17306
17307 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17308 __WORDSIZE != 64.
17309
c135cc1b
JM
173102012-03-20 Joseph Myers <joseph@codesourcery.com>
17311
17312 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17313 OVERFLOW_EXCEPTION_OK.
17314 * math/libm-test.inc ("Philosophy"): Update comment about
17315 exception testing.
17316 (OVERFLOW_EXCEPTION): Define.
17317 (OVERFLOW_EXCEPTION_OK): Likewise.
17318 (INVALID_EXCEPTION_OK): Renumber.
17319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17320 (IGNORE_ZERO_INF_SIGN): Likewise.
17321 (test_exceptions): Handle FE_OVERFLOW.
17322 (exp10_test): Expect overflow exceptions.
17323 (exp2_test): Likewise.
17324 (expm1_test): Likewise.
17325 (nextafter_test): Likewise.
17326 (pow_test): Likewise.
17327 (scalbn_test): Likewise.
17328 (scalbln_test): Likewise.
17329
95443d88
L
173302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17331
17332 * sysdeps/x86_64/bits/atomic.h
17333 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17334 64bit integer.
17335 (atomic_exchange_acq): Likewise.
17336 (__arch_exchange_and_add_body): Likewise.
17337 (__arch_add_body): Likewise.
17338 (atomic_add_negative): Likewise.
17339 (atomic_add_zero): Likewise.
17340
490df6c4
L
173412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17342
c2722551 17343 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17344 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17345
5e52b189
L
173462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17349 Check __x86_64__ instead of __WORDSIZE.
17350
a9879d4c
L
173512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17352
17353 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17354
5df98260
DM
173552012-03-19 David S. Miller <davem@davemloft.net>
17356
e1497744
DM
17357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17358
5df98260
DM
17359 * sysdeps/sparc/fpu/fenv_private.h: New file.
17360 * sysdeps/sparc/fpu/math_private.h: Use it.
17361 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17362 Remove.
17363 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17364 (libc_feholdexcept_setroundl): Remove.
17365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17366 Remove.
17367 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17368 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17369
b4c35121
L
173702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17371
17372 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17373 int64_t instead of long int.
17374 (INSERT_WORDS64): Likwise.
17375
56965fd7
L
173762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17379 _Unwind_GetCFA return to _Unwind_Ptr first.
17380
83d1aec8
JM
173812012-03-19 Joseph Myers <joseph@codesourcery.com>
17382
1897ad44
JM
17383 [BZ #13629]
17384 * math/s_clog.c: Include <float.h>.
17385 (__clog): Scale large or subnormal inputs.
17386 * math/s_clogf.c: Likewise.
17387 * math/s_clogl.c: Likewise.
17388 * math/s_clog10.c: Include <float.h>.
17389 (M_LOG10_2): Define.
17390 (__clog10): Scale large or subnormal inputs.
17391 * math/s_clog10f.c: Likewise.
17392 * math/s_clog10l.c: Likewise.
17393 * math/libm-test.inc (clog_test): Add more tests.
17394 (clog10_test): Likewise.
17395 * sysdeps/i386/fpu/libm-test-ulps: Update.
17396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17397
7726d6a9
JM
17398 [BZ #11451]
17399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17400 x and y.
17401 * math/libm-test.inc (atan2_test): Add another test.
17402
83d1aec8
JM
17403 * Makerules (common-objdir-compile): Remove.
17404 * sysdeps/unix/Makefile (config-generated): Do not add
17405 $(unix-generated) to variable.
17406 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17407 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17408 Remove rule.
17409 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17410 Likewise.
17411 [generic bits/local_lim.h] (before-compile): Do not append to
17412 variable.
17413 [generic bits/local_lim.h] (common-generated): Likewise.
17414 [generic sys/param.h] (before-compile): Do not append to variable.
17415 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17416 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17417 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17419 include.
17420 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17421 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17422 [generic sys/param.h] ($(addprefix
17423 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17424 [generic sys/param.h] (common-generated): Do not append to
17425 variable.
17426 [generic sys/param.h] (sysdep_headers): Likewise.
17427 [generic bits/errno.h] (before-compile): Do not append to
17428 variable.
17429 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17430 rule.
17431 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17432 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17433 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17434 [generic bits/errno.h] (common-generated): Do not append to
17435 variable.
17436 [generic bits/ioctls.h] (before-compile): Do not append to
17437 variable.
17438 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17439 rule.
17440 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17441 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17443 rule.
17444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17445 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17446 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17447 [generic bits/ioctls.h] (common-generated): Do not append to
17448 variable.
17449 [generic sys/syscall.h] (syscall.h): Remove variable.
17450 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17451 rule.
17452 [generic sys/syscall.h] (before-compile): Do not append to
17453 variable.
17454 [generic sys/syscall.h] (common-generated): Likewise.
17455 * sysdeps/unix/errnos-tmpl.c: Remove file.
17456 * sysdeps/unix/errnos.awk: Likewise.
17457 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17458 * sysdeps/unix/ioctls.awk: Likewise.
17459 * sysdeps/unix/mk-local_lim.c: Likewise.
17460 * sysdeps/unix/snarf-ioctls: Likewise.
17461
4851a949
RH
174622012-03-19 Richard Henderson <rth@twiddle.net>
17463
bd37f2ee
RH
17464 * sysdeps/i386/fpu/fenv_private.h: New file.
17465 * sysdeps/i386/fpu/math_private.h: Use it.
17466 (math_opt_barrier, math_force_eval): Remove.
17467 (libc_feholdexcept_setround_53bit): Remove.
17468 (libc_feupdateenv_53bit): Remove.
17469 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17470 (math_opt_barrier, math_force_eval): Remove.
17471 (libc_feholdexcept): Remove.
17472 (libc_feholdexcept_setround): Remove.
17473 (libc_fetestexcept, libc_fesetenv): Remove.
17474 (libc_feupdateenv_test): Remove.
17475 (libc_feupdateenv, libc_feholdsetround): Remove.
17476 (libc_feresetround): Remove.
17477
d0adc922
RH
17478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17479 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17480
0fe0f1f8
RH
17481 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17482 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17483 (libc_feupdateenv_testl): New.
17484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17485 (libc_feupdateenv_testf): New.
17486 (libc_feupdateenv): Use libc_feupdateenv_test.
17487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17489
eb92c487
RH
17490 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17491 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17492 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17493 (libc_feresetround_noex): New.
17494 (libc_feresetround_noexf): New.
17495 (libc_feresetround_noexl): New.
17496 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17497 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17498 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17500 SET_RESTORE_ROUND.
17501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17503 (__cos): Likewise.
17504 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17506 SET_RESTORE_ROUND_NOEX.
17507 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17508 SET_RESTORE_ROUND_NOEXF.
17509 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17510 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17511 (libc_feholdsetroundf): New.
17512 (libc_feresetround, libc_feresetroundf): New.
17513
7d2e8012
RH
17514 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17515 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17516 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17517
b4dabbb4
RH
17518 * sysdeps/generic/math_private.h: Include <fenv.h>.
17519 (default_libc_feholdexcept): New.
17520 (default_libc_feholdexcept_setround): New.
17521 (default_libc_fesetenv, default_libc_feupdateenv): New.
17522 (libc_feholdexcept): Only define if undefined.
17523 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17525 (libc_feholdexcept_setroundl): Likewise.
17526 (libc_feholdexcept_setround_53bit): Likewise.
17527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17530 (libc_feupdateenv_53bit): Likewise.
17531 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17532 (libc_feholdexcept): Convert from macro to inline function.
17533 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17534 (libc_fesetenv, libc_feupdateenv): Likewise.
17535
4851a949
RH
17536 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17537 not previously defined.
17538 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17539 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17540 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17542 * sysdeps/ieee754/flt-32/math_private.h: New file.
17543 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17544 math_private.h below SET_FLOAT_WORD.
17545 (__isnan, __isinf_ns, __finite): Remove.
17546 (__isnanf, __isinf_nsf, __finitef): Remove.
17547
e79d442e
AS
175482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17549
17550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17551
90b80344
DM
175522012-03-17 David S. Miller <davem@davemloft.net>
17553
17554 [BZ #6471]
17555 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17556 for 2.16.
17557
edc21804
DM
175582012-03-16 David S. Miller <davem@davemloft.net>
17559
77e927af
DM
17560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17561 warnings.
17562
374976dd
DM
17563 [BZ #6471]
17564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17565 properly.
17566 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17567 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17568 sysdep_routines when subdir is sysvipc.
17569 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17570 __getshmlba helper.
17571
edc21804
DM
17572 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17573
473c3ef3
L
175742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17577 [__LP64__].
17578
eb0f39b6
L
175792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17580
17581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17582 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17583 (__lround): Renamed to ...
17584 (__llround): This. Replace long int with long long int.
17585 Define lround functions as aliases of llround functions.
17586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17587
6b6cd74b
L
175882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17591 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17592 adresses to uintptr_t. Replace "long int" and "unsigned long
17593 int" with "greg_t" on va_arg.
17594
f1a77b01
L
175952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17596
17597 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17598 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17599
17600 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17601 Move e_machine check before EI_CLASS check. Handle x32
17602 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17603 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17604 SKIP_EM_IA_64 and include
17605 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17606
17607 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17608 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17609 (add_system_dir): New macro.
17610
17611 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17612 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17613
11b90b9f
JM
176142012-03-16 Joseph Myers <joseph@codesourcery.com>
17615
c36e1d23
JM
17616 [BZ #2551]
17617 [BZ #2552]
17618 [BZ #2553]
17619 [BZ #2554]
17620 [BZ #2562]
17621 [BZ #2563]
17622 [BZ #2565]
17623 [BZ #2566]
17624 [BZ #2576]
17625 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17626 (y0): Likewise.
17627 * math/w_j0f.c (j0f): Likewise.
17628 (y0f): Likewise.
17629 * math/w_j0l.c (__j0l): Likewise.
17630 (__y0l): Likewise.
17631 * math/w_j1.c (j1): Likewise.
17632 (y1): Likewise.
17633 * math/w_j1f.c (j1f): Likewise.
17634 (y1f): Likewise.
17635 * math/w_j1l.c (__j1l): Likewise.
17636 (__y1l): Likewise.
17637 * math/w_jn.c (jn): Likewise.
17638 (yn): Likewise.
17639 * math/w_jnf.c (jnf): Likewise.
17640 (ynf): Likewise.
17641 * math/w_jnl.c (__jnl): Likewise.
17642 (__ynl): Likewise.
17643 * math/libm-test.inc (j0_test): Add more tests.
17644 (j1_test): Likewise.
17645 (jn_test): Likewise. Add trailing semicolon to existing test.
17646 (y0_test): Likewise.
17647 (y1_test): Likewise.
17648 * sysdeps/i386/fpu/libm-test-ulps: Update.
17649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650
11b90b9f
JM
17651 [BZ #13851]
17652 [BZ #13854]
17653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17654 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17655 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17657 (__tanl): Set errno for infinite argument.
17658 * sysdeps/i386/fpu/mptan.c: Remove.
17659 * sysdeps/i386/fpu/s_tan.S: Likewise.
17660 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17661 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17662 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17663 * math/libm-test.inc (tan_test): Add more tests and enable more
17664 tests for double and long double.
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667
6a1bd2a1
JK
176682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17669
17670 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17671 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17672
10a803e0
RM
176732012-03-16 Roland McGrath <roland@hack.frob.com>
17674
17675 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17676 * configure.in: Use it for both main tree and add-ons.
17677 * configure: Regenerated.
17678
f196c7f7
L
176792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17680
17681 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17682
8848d99d
JM
176832012-03-16 Joseph Myers <joseph@codesourcery.com>
17684
96cbe7f4
JM
17685 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17686 in comment.
17687
8848d99d
JM
17688 [BZ #13851]
17689 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17690 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17694 infinite argument.
17695 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17697 != 0 for prec == 2.
17698 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17699 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17700 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17701 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17702 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17703 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17704 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17705 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17706 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17707 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17708 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17709 * math/libm-test.inc (cos_test): Add more tests and enable more
17710 tests for long double.
17711 (sin_test): Likewise.
17712 (sincos_test): Likewise.
17713 * sysdeps/i386/fpu/libm-test-ulps: Update.
17714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17715
dd7f4703
DM
177162012-03-16 David S. Miller <davem@davemloft.net>
17717
17718 * sysdeps/sparc/fpu/math_private.h: New file.
17719
006f1daa
DM
177202012-03-15 David S. Miller <davem@davemloft.net>
17721
c0c83bc8
DM
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17723 file.
e6a62e18 17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17726 file.
e6a62e18
DM
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17733 sysdep routines.
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17735
88cb87d9
DM
17736 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17737 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17738
006f1daa 17739 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17741 sparc-ifunc.h
006f1daa 17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17744 Likewise.
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17746 Likewise.
006f1daa
DM
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17751 Likewise.
006f1daa
DM
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17757 Likewise.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17759 Likewise.
006f1daa
DM
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17784
11e0098e
AS
177852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17786
17787 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17788 scaling.
17789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17790
e85b09d0
AJ
177912012-03-15 Andreas Jaeger <aj@suse.de>
17792
17793 [BZ #13852]
17794 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17795 ieee754/flt-32 implementation for sin, cos and sincos.
17796 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17797 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17798 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17799 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17800 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17801 ieee754/flt-32 implementation for tan.
17802
17803 * math/libm-test.inc (cos_test): Enable some large input tests for
17804 float as well
17805 (sin_test): Likewise.
17806 (sincos_test): Likewise.
17807 (tan_test): Add tests for large input.
17808
17809 * sysdeps/i386/fpu/libm-test-ulps: Update.
17810
81c64153
AJ
178112012-03-15 Andreas Jaeger <aj@suse.de>
17812
17813 [BZ #13658]
17814 * math/libm-test.inc (cos_test): Add more test cases.
17815 (sin_test): Likewise.
17816 (sincos_test): Likewise.
17817
7bbfa5c6
AJ
178182012-03-15 Andreas Jaeger <aj@suse.de>
17819
17820 [BZ #13837]
17821 * math/libm-test.inc (cos_test): Add a test case for large input
17822 value.
17823 (sin_test): Likewise.
17824 (sincos_test): Likewise.
17825
178262012-03-15 Andreas Jaeger <aj@suse.de>,
17827 Joseph Myers <joseph@codesourcery.com>
17828
17829 [BZ #13658]
0671f479 17830 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17831 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17832 * sysdeps/i386/fpu/branred.c: Likewise.
17833 * sysdeps/i386/fpu/dosincos.c: Likewise.
17834 * sysdeps/i386/fpu/mpa.c: Likewise.
17835 * sysdeps/i386/fpu/s_cos.S: Likewise.
17836 * sysdeps/i386/fpu/s_sin.S: Likewise.
17837 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17838 * sysdeps/i386/fpu/sincos32.c: Likewise.
17839
17840 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17841 Define.
17842 (libc_feupdateenv_53bit): Define.
17843 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17844 Define.
17845 (libc_feupdateenv_53bit): Define.
17846
17847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17848 53 bit (without extend i386 double precision).
17849
17850 * math/libm-test.inc (sincos_test): Add tests for large input.
17851 (sin): Likewise.
17852 (cos): Likewise.
17853
17854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17855
9cad04ea
AS
178562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17857
17858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17859
f7062b9a
DM
178602012-03-15 David S. Miller <davem@davemloft.net>
17861
17862 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17864 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17878 file.
f7062b9a 17879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17881 file.
f7062b9a 17882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17884 file.
f7062b9a 17885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17887 file.
f7062b9a
DM
17888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17890 fmin/fmax sysdep routines.
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17892
7bd951ff
DM
178932012-03-14 David S. Miller <davem@davemloft.net>
17894
559398ab
DM
17895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17924 routines.
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17926 file.
559398ab 17927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17929 file.
559398ab 17930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17932 file.
559398ab 17933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17935 file.
559398ab 17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17938 file.
559398ab 17939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17941 file.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17943 file.
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17945 file.
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17947 file.
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17949 New file.
17950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17951 file.
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17953 file.
559398ab 17954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17956 file.
559398ab 17957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17959 file.
559398ab 17960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17962 file.
559398ab 17963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17965 VIS3 routines.
559398ab
DM
17966
17967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17968 New file.
17969
5a1c1e32
DM
17970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17971
eae47a36
DM
17972 * sysdeps/sparc/configure.in: New file.
17973 * sysdeps/sparc/configure: Generate.
17974 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17975 * configure: Regenerate.
17976 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17977 * config.make.in (have-as-vis3): New.
17978 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17979 available use -Av9d instead of -Av9a.
17980 * sysdeps/sparc/sparc64/Makefile: Likewise.
17981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17983 New file.
17984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17985 file.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17987 New file.
17988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17989 file.
eae47a36
DM
17990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17995
c0c83bc8
DM
17996 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17997 fzeros/fnegs to load 0x80000000 into a float register instead of
17998 using the stack.
7bd951ff
DM
17999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18000
bd951ccb
JM
180012012-03-14 Joseph Myers <joseph@codesourcery.com>
18002
18003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18004 bits/syscall.h.
18005 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18006 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18007 ($(inst_includedir)/bits/syscall.h): Remove rule.
18008 ($(objpfx)bits/syscall.d): Include instead of
18009 $(objpfx)syscall-list.d.
18010 (generated): Change syscall-list.h and syscall-list.d to
18011 bits/syscall.h and bits/syscall.d.
18012
bb4e6db2
RM
180132012-03-14 Roland McGrath <roland@hack.frob.com>
18014
18015 [BZ #13846]
18016 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18017
aa4a2ae1
JM
180182012-03-14 Joseph Myers <joseph@codesourcery.com>
18019
e456826d
JM
18020 [BZ #13841]
18021 * math/s_csqrt.c: Include <float.h>.
18022 (__csqrt): Scale large or subnormal inputs.
18023 * math/s_csqrtf.c: Likewise.
18024 * math/s_csqrtl.c: Likewise.
18025 * math/libm-test.inc (csqrt_test): Add more tests.
18026 * sysdeps/i386/fpu/libm-test-ulps: Update.
18027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18028
aa4a2ae1
JM
18029 [BZ #13840]
18030 * math/libm-test.inc (hypot_test): Add more tests.
18031
7c10fd35
DM
180322012-03-13 David S. Miller <davem@davemloft.net>
18033
18034 [BZ #13840]
18035 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18036 double-precision for the calculation instead of scaling.
18037
f453b98b
JM
180382012-03-13 Joseph Myers <joseph@codesourcery.com>
18039
18040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18041 manipulate bits before adding and subtracting TWO52[sx].
18042 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18044 Likewise.
18045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18046
09a3453f
DM
180472012-03-13 David S. Miller <davem@davemloft.net>
18048
8e59da90
DM
18049 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18050 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18052 rtld-global-offsets.h
18053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18054
2a8ab7f2
DM
18055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18056 large parameters.
18057
10f62770
DM
18058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18059
5f0bdb18
DM
18060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18061 'err' in the ifdef scope in which it is actually used.
18062
09a3453f
DM
18063 * nss/nss_db/db-init.c: Include string.h
18064
b4b2eb5e
DM
180652012-03-12 David S. Miller <davem@davemloft.net>
18066
98bb2f1c
DM
18067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18068 masking out of the most significant byte of random value used.
18069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18070 Fix coding style in previous change.
18071
b4b2eb5e
DM
18072 * sysdeps/unix/sysv/linux/kernel-features.h
18073 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18074 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18075 expression.
18076 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18077 later.
18078
6e226b09
DM
180792012-03-11 David S. Miller <davem@davemloft.net>
18080
a1bcbd40
DM
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18082 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18084 for 'resultvar' otherwise things get truncated on 64-bit.
18085
cb9d6174
DM
18086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18087 Fix masking out of the most significant byte of random value used.
18088
6e226b09
DM
18089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18090
058c132d
AS
180912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18092
18093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18094
2d2cd515
DM
180952012-03-09 David S. Miller <davem@davemloft.net>
18096
18097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18098 variables with appropriate CPP guards.
18099 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18100 frame pointer, not the stack pointer. Correct layout comments. Fix test
18101 on resulting framesize and the management of the outregs buffer for pltexit.
18102 Preserve floating point return values across _dl_call_pltexit call.
18103 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18104 framesize and the management of the outregs buffer for pltexit.
18105 Preserve floating point return values across _dl_call_pltexit
18106 call.
18107 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18108 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18109 (print_exit): Fix format string for return register value.
18110
9a07f9d0
JM
181112012-03-10 Joseph Myers <joseph@codesourcery.com>
18112
18113 * sunrpc/Makefile (others): Add rpcgen.
18114 ($(objpfx)rpcgen): Remove special build rule and dependency on
18115 libc.
18116 * sunrpc/rpcgen.c: New file.
18117
547b5e30
PE
181182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18119
c524201a
PE
18120 [BZ #13673]
18121 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18122 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18123 * sysdeps/i386/crti.S: Likewise.
18124 * sysdeps/i386/crtn.S: Likewise.
18125 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18126 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18127 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18128 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18129 * sysdeps/sh/crti.S: Likewise.
18130 * sysdeps/sh/crtn.S: Likewise.
18131 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18132
7b6235f2
PE
18133 [BZ #13673]
18134 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18135 with URL.
18136 * locale/programs/locfile-kw.gperf: Likewise.
18137 * locale/programs/charmap-kw.h: Regenerated.
18138 * locale/programs/locfile-kw.h: Likewise.
18139
547b5e30
PE
18140 [BZ #13673]
18141 * intl/plural.y: Replace FSF snail mail address with URL.
18142 * intl/plural.c: Regenerated.
18143
5f0a5dae
RH
181442012-03-09 Richard Henderson <rth@twiddle.net>
18145
18146 * include/math_private.h: Remove file.
18147 * math/math_private.h: Move file ...
18148 * sysdeps/generic/math_private.h: ... here.
18149
b8c03620
RH
18150 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18151 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18153
4e234f5d 18154 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18155 and <math_private.h>.
18156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18283 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18286 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18293 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18299 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18300 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18302 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18303 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18304 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18305 * sysdeps/ieee754/k_standard.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18425 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18426 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18431 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18443 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18455 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18460 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18461 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18466 * sysdeps/ieee754/s_lib_version.c: Likewise.
18467 * sysdeps/ieee754/s_matherr.c: Likewise.
18468 * sysdeps/ieee754/s_signgam.c: Likewise.
18469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18475 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18476 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18477 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18478 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18480 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18490
1991fa03
JM
184912012-03-09 Joseph Myers <joseph@codesourcery.com>
18492
18493 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18494 * sunrpc/rpc_main.c: Likewise.
18495 * sunrpc/rpc_svcout.c: Likewise.
18496
60d6f5a6
DM
184972012-03-09 David S. Miller <davem@davemloft.net>
18498
18499 * include/math_private.h: New file.
18500
4962050e
JM
185012012-03-09 Joseph Myers <joseph@codesourcery.com>
18502
02a6f887
JM
18503 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18504 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18505 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18506 from <bits/socket_type.h>.
18507 (enum __socket_type): Don't define here.
18508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18510 bits/socket_type.h.
18511
c6e013c1
JM
18512 [BZ #13566]
18513 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18514 checking __USE_GNU.
18515
4962050e
JM
18516 * Makerules ($(inst_includedir)/%.h): New rule.
18517 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18518 (install-others): Remove variable setting.
18519 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18520
38842f45
RH
185212012-03-08 Richard Henderson <rth@twiddle.net>
18522
67bb6da6
RH
18523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18524 from macro to inline function; merge with the
18525 !__LIBC_INTERNAL_MATH_INLINES version.
18526 (__ieee754_sqrtf): Likewise.
18527
15194b4b
RH
18528 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18529 to inline function.
18530 (__rintf, __floor, __floorf): Likewise.
18531
64e21ede
RH
18532 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18533 macro to inline function.
18534 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18535
38842f45
RH
18536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18537 not <math/math_private.h>.
18538
c64bf5fe
DM
185392012-03-08 David S. Miller <davem@davemloft.net>
18540
18541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18542 copyright year.
18543 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18544
82d86f28
TS
185452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18546
18547 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18548 normalization.
18549 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18550 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18551
aea5d727
UD
185522012-03-08 Ulrich Drepper <drepper@gmail.com>
18553
18554 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18555 be defined individually, they must be defined as a block. Define
18556 S for printing a string instead of hidint the different by using a
18557 macro for adding the 'l'.
18558 * stdio-common/tst-fphex-wide.c: Adjust.
18559
70bca0a3
MP
185602012-03-07 Marek Polacek <polacek@redhat.com>
18561
18562 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18563
65b81130
MP
185642012-03-08 Marek Polacek <polacek@redhat.com>
18565
18566 [BZ #13806]
18567 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18568 * stdio-common/tst-fphex.c: Define a few macros to make the
18569 test reusable. Use them.
18570 * stdio-common/tst-fphex-wide.c: New file.
18571
07037eeb
JM
185722012-03-08 Joseph Myers <joseph@codesourcery.com>
18573
a7a93d50
JM
18574 [BZ #6911]
18575 * manual/macros.texi (gnusystems): New macro.
18576 (nongnusystems): Likewise.
18577 (gnulinuxhurdsystems): Likewise.
18578 (gnuhurdsystems): Likewise..
18579 (gnulinuxsystems): Likewise.
18580 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18581 variants of the GNU system, not "GNU system".
18582 * manual/conf.texi: Likewise.
18583 * manual/errno.texi: Likewise. Update example of errno macro
18584 expansion.
18585 * manual/filesys.texi: Likewise.
18586 (getumask): Document as specific to GNU/Hurd.
18587 * manual/install.texi: Likewise. Reword some references to
18588 GNU/Linux.
18589 * manual/intro.texi: Likewise.
18590 * manual/io.texi: Likewise.
18591 (File Name Portability): Detail which constraints are inapplicable
18592 to all GNU systems and which are only inapplicable to GNU/Hurd.
18593 * manual/job.texi: Likewise.
18594 * manual/llio.texi: Likewise.
18595 (O_NOCTTY): Document as present on GNU/Linux.
18596 * manual/maint.texi: Likewise.
18597 * manual/memory.texi: Likewise.
18598 * manual/pattern.texi: Likewise.
18599 * manual/pipe.texi: Likewise.
18600 * manual/process.texi: Likewise.
18601 * manual/resource.texi: Likewise.
18602 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18603 child on GNU/Hurd.
18604 * manual/setjmp.texi: Likewise.
18605 * manual/signal.texi: Likewise.
18606 * manual/startup.texi: Likewise.
18607 * manual/stdio.texi: Likewise.
18608 * manual/terminal.texi: Likewise.
18609 (ONLCR): Document as POSIX.
18610 (OXTABS): Document availability on GNU/Linux as XTABS.
18611 (ONOEOT): Document availability separately from other bits.
18612 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18613 * manual/time.texi: Likewise.
18614 * manual/users.texi: Likewise.
18615 * INSTALL: Regenerated.
18616 * sysdeps/gnu/errlist.c: Regenerated.
18617
07037eeb
JM
18618 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18619 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18620 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18621 puts.
18622 * configure: Regenerated.
18623
d1d3431a
JM
186242012-03-07 Joseph Myers <joseph@codesourcery.com>
18625
af6a1e37
JM
18626 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18627 default includes instead of AC_HEADER_CHECK.
18628 * sysdeps/i386/configure: Regenerated.
18629
d1d3431a
JM
18630 [BZ #10716]
18631 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18632 * math/s_cacoshf.c (__cacoshf): Likewise.
18633 * math/s_cacoshl.c (__cacoshl): Likewise.
18634 * math/s_casinh.c (__casinh): Set signs of result from argument.
18635 * math/s_casinhf.c (__casinhf): Likewise.
18636 * math/s_casinhl.c (__casinhl): Likewise.
18637 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18638 (casinh_test): Add more tests.
18639 * sysdeps/i386/fpu/libm-test-ulps: Update.
18640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18641
482ff4da
UD
186422012-03-07 Ulrich Drepper <drepper@gmail.com>
18643
872fda05
UD
18644 * po/zh_TW.po: Update from translation team.
18645
a4300c7a
UD
18646 * login/Makefile (distribute): Remove variable.
18647 * catgets/Makefile: Likewise.
18648 * mach/Makefile: Likewise.
18649 * malloc/Makefile: Likewise.
18650 * misc/Makefile: Likewise.
18651 * iconv/Makefile: Likewise.
18652 * nscd/Makefile: Likewise.
18653 * hurd/Makefile: Likewise.
18654 * manual/Makefile: Likewise.
18655 * locale/Makefile: Likewise.
18656 * intl/Makefile: Likewise.
18657 * conform/Makefile: Likewise.
18658 * nss/Makefile: Likewise.
18659 * time/Makefile: Likewise.
18660 * soft-fp/Makefile: Likewise.
18661 * dirent/Makefile: Likewise.
18662 * gmon/Makefile: Likewise.
18663 * po/Makefile: Likewise.
18664 * rt/Makefile: Likewise.
18665 * socket/Makefile: Likewise.
18666 * math/Makefile: Likewise.
18667 * signal/Makefile: Likewise.
18668 * debug/Makefile: Likewise.
18669 * elf/Makefile: Likewise.
18670 * timezone/Makefile: Likewise.
18671 * stdlib/Makefile: Likewise.
18672 * iconvdata/Makefile: Likewise.
18673 * sunrpc/Makefile: Likewise.
18674 * io/Makefile: Likewise.
18675 * argp/Makefile: Likewise.
18676 * inet/Makefile: Likewise.
18677 * hesiod/Makefile: Likewise.
18678 * grp/Makefile: Likewise.
18679 * csu/Makefile: Likewise.
18680 * wctype/Makefile: Likewise.
18681 * crypt/Makefile: Likewise.
18682 * libio/Makefile: Likewise.
18683 * string/Makefile: Likewise.
18684 * nis/Makefile: Likewise.
18685 * resolv/Makefile: Likewise.
18686 * stdio-common/Makefile: Likewise.
18687 * wcsmbs/Makefile: Likewise.
18688 * dlfcn/Makefile: Likewise.
18689 * posix/Makefile: Likewise.
18690
3b7c4e74 18691 [BZ #6959]
482ff4da
UD
18692 * timezone/Makefile: Don't install timezone files, just the programs
18693 and scripts.
18694
f72ed77d
UD
186952012-03-06 Ulrich Drepper <drepper@gmail.com>
18696
a000466f
UD
18697 * nss/databases.def: Add missing gshadow entry.
18698
f72ed77d
UD
18699 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18700
a53b7a4e
MP
187012012-03-06 Marek Polacek <polacek@redhat.com>
18702
18703 [BZ #13726]
18704 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18705 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18706 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18707 * stdio-common/tst-long-dbl-fphex.c: New file.
18708
e9258400
DM
187092012-03-06 David S. Miller <davem@davemloft.net>
18710
18711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18712 (set_obp_int): New function.
18713 (get_obp_int): New function.
18714 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18716 Avoid unused variable warnings on 'val' and use builtin_expect.
18717 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18718 __builtin_expect.
e9258400
DM
18719 (INLINE_CLONE_SYSCALL): Likewise.
18720
3bd2c723
DM
187212012-03-05 David S. Miller <davem@davemloft.net>
18722
18723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18724
bbb78d03
AS
187252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18726
884c5db4
AS
18727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18728
bbb78d03
AS
18729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18730 only for |x| >= 40.
18731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18732
1c9f702a 187332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18734
18735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18736 Replace gettimeofday with __vdso_gettimeofday.
18737
7be16f82
RM
18738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18739 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18740 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18741
18742 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18743 time with __vdso_time.
18744
ed58a00f
JM
187452012-03-05 Joseph Myers <joseph@codesourcery.com>
18746
18747 * manual/lang.texi (size_t): Note types to which size_t may be
18748 equivalent with the GNU C Library, but do not describe when
18749 differences between them are significant.
18750
30ee4ced
AJ
187512012-03-05 Andreas Jaeger <aj@suse.de>
18752
18753 * sysdeps/i386/fpu/libm-test-ulps: Update.
18754
b7cd39e8
JM
187552012-03-05 Joseph Myers <joseph@codesourcery.com>
18756
18757 [BZ #3976]
18758 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18759 (__ieee754_pow): Save and restore rounding mode and use
18760 round-to-nearest for main computations.
18761 * math/libm-test.inc (pow_test_tonearest): New function.
18762 (pow_test_towardzero): Likewise.
18763 (pow_test_downward): Likewise.
18764 (pow_test_upward): Likewise.
18765 (main): Call the new functions.
18766 * sysdeps/i386/fpu/libm-test-ulps: Update.
18767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18768
18769 [BZ #3976]
18770 * math/libm-test.inc (cosh_test_tonearest): New function.
18771 (cosh_test_towardzero): Likewise.
18772 (cosh_test_downward): Likewise.
18773 (cosh_test_upward): Likewise.
18774 (sinh_test_tonearest): Likewise.
18775 (sinh_test_towardzero): Likewise.
18776 (sinh_test_downward): Likewise.
18777 (sinh_test_upward): Likewise.
18778 (main): Call the new functions.
18779 * sysdeps/i386/fpu/libm-test-ulps: Update.
18780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18781
6c6a98c9
TV
187822012-03-05 Tom de Vries <tom@codesourcery.com>
18783
18784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18785 default stack guard is set in last bytes.
18786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18787
21bb2d2e 187882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18789
21bb2d2e 18790 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18791
21bb2d2e
AJ
18792 [BZ #13656]
18793 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18794 possibly allocate from heap instead of stack.
18795 * stdio-common/bug-vfprintf-nargs.c: New file.
18796 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18797
c6922934
AS
187982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18799
18800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18801
bc957d53
MP
188022012-03-03 Marek Polacek <polacek@redhat.com>
18803
18804 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18805 * math/math_private.h: Likewise.
18806 * stdlib/tst-strtod.c: Likewise.
18807 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18808 * sysdeps/x86_64/bits/atomic.h: Likewise.
18809
6358490d
DM
188102012-03-02 David S. Miller <davem@davemloft.net>
18811
18812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18816 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18817 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18818 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18819 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18820
01ae168d
RM
188212012-03-02 Roland McGrath <roland@hack.frob.com>
18822
d9a17c07
RM
18823 [BZ #13792]
18824 * manual/examples/README: New file, says the example source files
18825 can be used under GPL>=2.
18826 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18827 line containing just "*/".
18828 * manual/examples/add.c: Add copyright header (GPL>=2).
18829 * manual/examples/argp-ex1.c: Likewise.
18830 * manual/examples/argp-ex2.c: Likewise.
18831 * manual/examples/argp-ex3.c: Likewise.
18832 * manual/examples/argp-ex4.c: Likewise.
18833 * manual/examples/atexit.c: Likewise.
18834 * manual/examples/db.c: Likewise.
18835 * manual/examples/dir.c: Likewise.
18836 * manual/examples/dir2.c: Likewise.
18837 * manual/examples/execinfo.c: Likewise.
18838 * manual/examples/filecli.c: Likewise.
18839 * manual/examples/filesrv.c: Likewise.
18840 * manual/examples/fmtmsgexpl.c: Likewise.
18841 * manual/examples/genpass.c: Likewise.
18842 * manual/examples/inetcli.c: Likewise.
18843 * manual/examples/inetsrv.c: Likewise.
18844 * manual/examples/isockad.c: Likewise.
18845 * manual/examples/longopt.c: Likewise.
18846 * manual/examples/memopen.c: Likewise.
18847 * manual/examples/memstrm.c: Likewise.
18848 * manual/examples/mkfsock.c: Likewise.
18849 * manual/examples/mkisock.c: Likewise.
18850 * manual/examples/mygetpass.c: Likewise.
18851 * manual/examples/pipe.c: Likewise.
18852 * manual/examples/popen.c: Likewise.
18853 * manual/examples/rprintf.c: Likewise.
18854 * manual/examples/search.c: Likewise.
18855 * manual/examples/select.c: Likewise.
18856 * manual/examples/setjmp.c: Likewise.
18857 * manual/examples/sigh1.c: Likewise.
18858 * manual/examples/sigusr.c: Likewise.
18859 * manual/examples/stpcpy.c: Likewise.
18860 * manual/examples/strdupa.c: Likewise.
18861 * manual/examples/strftim.c: Likewise.
18862 * manual/examples/strncat.c: Likewise.
18863 * manual/examples/subopt.c: Likewise.
18864 * manual/examples/swapcontext.c: Likewise.
18865 * manual/examples/termios.c: Likewise.
18866 * manual/examples/testopt.c: Likewise.
18867 * manual/examples/testpass.c: Likewise.
18868 * manual/examples/timeval_subtract.c: Likewise.
18869
01ae168d
RM
18870 [BZ #13792]
18871 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18872 function to ...
18873 * manual/timeval_subtract.c.texi: ... here, new file.
18874
49efa33d
DM
188752012-03-02 David S. Miller <davem@davemloft.net>
18876
18877 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18878
28afd92d
JM
188792012-03-02 Joseph Myers <joseph@codesourcery.com>
18880
804360ed
JM
18881 [BZ #3976]
18882 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18883 (__sin): Save and restore rounding mode and use round-to-nearest
18884 for all computations.
18885 (__cos): Save and restore rounding mode and use round-to-nearest
18886 for all computations.
18887 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18888 <fenv.h>.
18889 (tan): Save and restore rounding mode and use round-to-nearest for
18890 all computations.
18891 * math/libm-test.inc (cos_test_tonearest): New function.
18892 (cos_test_towardzero): Likewise.
18893 (cos_test_downward): Likewise.
18894 (cos_test_upward): Likewise.
18895 (sin_test_tonearest): Likewise.
18896 (sin_test_towardzero): Likewise.
18897 (sin_test_downward): Likewise.
18898 (sin_test_upward): Likewise.
18899 (tan_test_tonearest): Likewise.
18900 (tan_test_towardzero): Likewise.
18901 (tan_test_downward): Likewise.
18902 (tan_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
a6d06d7b
JM
18907 [BZ #10135]
18908 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18909 small n, then large n, before computing and testing k+n.
18910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18912 Likewise.
18913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18914 Likewise.
18915 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18916 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18923 * math/libm-test.inc (scalbn_test): Add more tests.
18924 (scalbln_test): Likewise.
18925
07e12bb3
JM
18926 * manual/filesys.texi (mode_t): Describe constraints on size and
18927 signedness, not exact equivalence to a particular type.
18928 (ino_t): Likewise.
18929 (ino64_t): Likewise.
18930 (dev_t): Likewise.
18931 (nlink_t): Likewise.
18932 (blkcnt_t): Likewise.
18933 (blkcnt64_t): Likewise.
18934 * manual/llio.texi (off_t): Likewise.
18935
28afd92d
JM
18936 [BZ #3976]
18937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18938 (__ieee754_exp): Save and restore rounding mode and use
18939 round-to-nearest for all computations.
18940 * math/libm-test.inc (exp_test_tonearest): New function.
18941 (exp_test_towardzero): Likewise.
18942 (exp_test_downward): Likewise.
18943 (exp_test_upward): Likewise.
18944 (main): Call the new functions.
18945 * sysdeps/i386/fpu/libm-test-ulps: Update.
18946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18947
b1eeb65d
CD
189482012-03-01 Chris Demetriou <cgd@google.com>
18949
18950 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18951 have predictable order.
18952
53362a4b
DM
189532012-03-01 David S. Miller <davem@davemloft.net>
18954
3c969083
DM
18955 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18956
759707de
DM
18957 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18958 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18959 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18960 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18961
dfdb8ff2
DM
18962 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18963 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18964 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18966 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18967 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18968 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18969 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18971
ead89f96
DM
18972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18973
7f66bd07
DM
18974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18975 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18977
53362a4b
DM
18978 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18980 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18994 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18995 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18996 * sysdeps/sparc/elf/configure: Regenerated.
18997
7b1902cb
JM
189982012-03-01 Joseph Myers <joseph@codesourcery.com>
18999
bec039bc
JM
19000 * configure.in (AS, LD): Require binutils 2.20 or later.
19001 * configure: Regenerated.
19002 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19003 as required minimum version.
19004 * INSTALL: Regenerated.
19005
7b1902cb
JM
19006 [BZ #2541]
19007 [BZ #4108]
19008 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19009 before squaring exponent.
19010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19011 bottom long double and 27 bits of top long double before squaring
19012 exponent.
19013 * math/libm-test.inc (erfc_test): Add more tests.
19014 * sysdeps/i386/fpu/libm-test-ulps: Update.
19015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19017
f775c276
KT
190182012-03-01 Kai Tietz <ktietz@redhat.com>
19019
19020 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19021 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19022 containing bit-fields.
19023 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19024 * soft-fp/single.h (_FP_UNION_S): Likewise.
19025 * soft-fp/double.h (_FP_UNION_D): Likewise.
19026
5b8a4d4a
JM
190272012-02-29 Joseph Myers <joseph@codesourcery.com>
19028
0bab47b6
JM
19029 [BZ #13786]
19030 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19031 not include ../strcmp.S.
19032 [USE_AS_STRNCASECMP_L]: Likewise.
19033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19034 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19035 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19036 (__strncasecmp_l_ia32): Define as alias to
19037 __strncasecmp_l_nonascii.
19038
0fcad3e2
JM
19039 [BZ #5794]
19040 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19041 * sysdeps/i386/fpu/libm-test-ulps: Update.
19042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19043
5b8a4d4a
JM
19044 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19046
8fdceb2e
JL
190472012-02-29 Jeff Law <law@redhat.com>
19048
19049 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19050 out of bounds read.
19051
1f393a11
MP
190522012-02-29 Marek Polacek <polacek@redhat.com>
19053
19054 [BZ #13706]
19055 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19056 * elf/Makefile: Add rules to run tst-unused-dep.out.
19057
8847f037
DM
190582012-02-28 David S. Miller <davem@davemloft.net>
19059
19060 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19061 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19066
169d7f11
JM
190672012-02-29 Joseph Myers <joseph@codesourcery.com>
19068
19069 * math/libm-test.inc (llround_test): Move one test from
19070 lround_test. Use TEST_f_L in moved test.
19071 (lround_test): Move misplaced test to llround_test. Add testcase
19072 from bug 2561.
19073
39adf059
UD
190742012-02-28 Ulrich Drepper <drepper@gmail.com>
19075
19076 * sysdeps/x86_64/fpu/e_expf.S: New file.
19077 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19078
71b5d1c5
SB
190792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19080
19081 [BZ #13637]
19082 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19083 of remain_len that may cause incomplete multi-byte character and
19084 false match.
19085 * posix/bug-regex33.c: New file.
19086 * posix/Makefile (tests): Add bug-regex33.
19087
1f77f049
JM
190882012-02-28 Joseph Myers <joseph@codesourcery.com>
19089
19090 * manual/macros.texi: New file.
19091 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19092 * manual/libc.texinfo: Include macros.texi.
19093 * manual/creatute.texi: Likewise.
19094 * manual/install.texi: Likewise.
19095 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19096 @glibcadj{} in references to the GNU C Library.
19097 * manual/charset.texi: Likewise.
19098 * manual/conf.texi: Likewise.
19099 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19100 when not using those macros.
19101 * manual/creature.texi: Likewise.
19102 * manual/crypt.texi: Likewise.
19103 * manual/errno.texi: Likewise.
19104 * manual/filesys.texi: Likewise.
19105 * manual/header.texi: Likewise.
19106 * manual/install.texi: Likewise.
19107 * manual/intro.texi: Likewise.
19108 * manual/io.texi: Likewise.
19109 * manual/job.texi: Likewise.
19110 * manual/lang.texi: Likewise.
19111 * manual/libc.texiinfo: Likewise.
19112 * manual/llio.texi: Likewise.
19113 * manual/locale.texi: Likewise.
19114 * manual/maint.texi: Likewise.
19115 * manual/math.texi: Likewise.
19116 * manual/memory.texi: Likewise.
19117 * manual/message.texi: Likewise.
19118 * manual/nss.texi: Likewise.
19119 * manual/pattern.texi: Likewise.
19120 * manual/process.texi: Likewise.
19121 * manual/resource.texi: Likewise.
19122 * manual/search.texi: Likewise.
19123 * manual/setjmp.texi: Likewise.
19124 * manual/signal.texi: Likewise.
19125 * manual/socket.texi: Likewise.
19126 * manual/startup.texi: Likewise.
19127 * manual/stdio.texi: Likewise.
19128 * manual/string.texi: Likewise.
19129 * manual/sysinfo.texi: Likewise.
19130 * manual/syslog.texi: Likewise.
19131 * manual/terminal.texi: Likewise.
19132 * manual/time.texi: Likewise.
19133 * manual/users.texi: Likewise.
19134 * INSTALL: Regenerated.
19135 * NOTES: Regenerated.
d40c5d54 19136 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19137
450bf206
AS
191382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19139
19140 * include/dirent.h: Include <dirstream.h> before
19141 <dirent/dirent.h>.
19142
741a235b
DM
191432012-02-28 David S. Miller <davem@davemloft.net>
19144
19145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19146 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19147 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19149
d6b5aa58
DM
191502012-02-27 David S. Miller <davem@davemloft.net>
19151
1aff59a3
DM
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19154 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19156
d6b5aa58
DM
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19158 frame pointer instead of stack pointer relative arg slot.
19159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19162
433f48bf
CD
191632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19164
19165 [BZ #3992]
19166 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19167
d674b76d
DM
191682012-02-27 David S. Miller <davem@davemloft.net>
19169
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19177 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19178
0e7727f7
JM
191792012-02-27 Joseph Myers <joseph@codesourcery.com>
19180
19181 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19182 later. Allow versions 5-9.
43be4ca2 19183 * configure: Regenerated.
0e7727f7
JM
19184 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19185 required minimum version and 4.6 as recommended version. Do not
19186 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19187 * INSTALL: Regenerated.
0e7727f7 19188
a78bc654
DM
191892012-02-27 David S. Miller <davem@davemloft.net>
19190
428d5830
DM
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19197 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19199
a78bc654
DM
19200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19201 manipulate bits before adding and subtracting TWO112[sx].
19202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19203
4579f81c
RM
192042012-02-27 Roland McGrath <roland@hack.frob.com>
19205
36c8acb4
RM
19206 [BZ #13775]
19207 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19208 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19209 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19210 being in POSIX, because they are in 1003.1-2008.
19211
84ad622b
RM
19212 * rt/tst-aio.c: Include <fcntl.h>.
19213 * rt/tst-aio7.c: Likewise.
19214 * rt/tst-aio64.c: Likewise.
19215
4579f81c
RM
19216 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19217
abd923db
JM
192182012-02-27 Joseph Myers <joseph@codesourcery.com>
19219
19220 * manual/install.texi (--with-headers): Describe headers as
19221 interface headers, not private headers.
19222 (Specific advice for GNU/Linux systems): Describe use of headers
19223 from "make headers_install", not private headers from older
19224 kernels.
43be4ca2 19225 * INSTALL: Regenerated.
abd923db
JM
19226 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19227 Change to 2.6.19.
19228 * sysdeps/unix/sysv/linux/configure: Regenerated.
19229
6664049b
JM
19230 * manual/llio.texi (fclean): Remove documentation.
19231
bb8b6697
JM
19232 * manual/Makefile (libc-texi-generated): New variable. Include
19233 version.texi.
19234 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19235 $(libc-texi-generated), not duplicated list of files.
19236 (version.texi, stamp-version): New rules.
19237 (realclean): Remove $(libc-texi-generated), not individual files
19238 from that list. Do not remove dir-add.texinfo.
19239 * manual/libc.texinfo: Comment out uses of edition numbers and
19240 references to printed manual. Remove last-updated dates.
19241 (EDITION): Comment out.
19242 (ISBN): Likewise.
19243 (VERSION, UPDATED): Remove.
19244 (version.texi): Include.
19245
12e5c3b9
AS
192462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19247
19248 * sysdeps/posix/spawni.c: Include <signal.h>.
19249 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19250 * sysdeps/pthread/aio_fsync.c: Likewise.
19251
4efeffc1 192522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19253
ba63ba08
UD
19254 * conform/Makefile (tests): Run only when not cross-compiling and
19255 when fast-check is not defined.
19256
d94a4670
UD
19257 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19258 * conform/data/limits.h-data: Fixes for POSIX2008.
19259 * conform/run-conformtest.sh: Run all tests.
19260 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19261 headers.
19262 * include/bits/dlfcn.h: Likewise.
19263 * include/langinfo.h: Likewise.
19264 * include/monetary.h: Likewise.
19265 * include/sys/poll.h: Likewise.
19266
19267 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19268 for __USE_GNU.
19269 * posix/spawn.h: Define __need_sigset_t.
19270 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19271 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19272 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19273 to get sigevent_t only.
19274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19275 only for __USE_GNU.
19276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19278 process_vm_writev only for __USE_GNU.
19279 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19280
19281 * conform/Makefile: For now ignore errors from run-conformtest.
19282 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19283 POSIX to avoid namespace pollution. Don't prepend headers.
19284 * conform/data/aio.h-data: Fixes for POSIX testing.
19285 * conform/data/fcntl.h-data: Likewise.
19286 * conform/data/glob.h-data: Likewise.
19287 * conform/data/grp.h-data: Likewise.
19288 * conform/data/pthread.h-data: Likewise.
19289 * conform/data/pwd.h-data: Likewise.
19290 * conform/data/signal.h-data: Likewise.
19291 * conform/data/spawn.h-data: Likewise.
19292 * conform/data/stdio.h-data: Likewise.
19293 * conform/data/stdlib.h-data: Likewise.
19294 * conform/data/stropts.h-data: Likewise.
19295 * conform/data/sys/mman.h-data: Likewise.
19296 * conform/data/sys/stat.h-data: Likewise.
19297 * conform/data/sys/types.h-data: Likewise.
19298 * conform/data/sys/wait.h-data: Likewise.
19299 * conform/data/time.h-data: Likewise.
19300 * conform/data/unistd.h-data: Likewise.
19301 * conform/data/utime.h-data: Likewise.
19302
19303 * io/sys/stat.h: fchmod was always in POSIX.
19304 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19305 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19306 * rt/aio.h: Define __need_timespec before including <time.h>.
19307 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19308 struct. Add forward declaration of pthread_attr_t and use it in
19309 sigevent.
19310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19312 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19313 always remove CLK_TCK definition.
19314
c20105c3
AS
193152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19316
19317 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19318
7a270350
UD
193192012-02-25 Ulrich Drepper <drepper@gmail.com>
19320
31341567
UD
19321 * conform/run-conformtest.sh: New file.
19322 * conform/Makefile: Run run-conformtest for tests.
19323 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19324 support.
19325
19326 * conform/data/uchar.h-data: New file.
19327 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19328 * conform/data/arpa/inet.h-data: Likewise.
19329 * conform/data/assert.h-data: Likewise.
19330 * conform/data/complex.h-data: Likewise.
19331 * conform/data/cpio.h-data: Likewise.
19332 * conform/data/ctype.h-data: Likewise.
19333 * conform/data/dirent.h-data: Likewise.
19334 * conform/data/dlfcn.h-data: Likewise.
19335 * conform/data/errno.h-data: Likewise.
19336 * conform/data/fcntl.h-data: Likewise.
19337 * conform/data/float.h-data: Likewise.
19338 * conform/data/fmtmsg.h-data: Likewise.
19339 * conform/data/fnmatch.h-data: Likewise.
19340 * conform/data/ftw.h-data: Likewise.
19341 * conform/data/glob.h-data: Likewise.
19342 * conform/data/grp.h-data: Likewise.
19343 * conform/data/iconv.h-data: Likewise.
19344 * conform/data/inttypes.h-data: Likewise.
19345 * conform/data/langinfo.h-data: Likewise.
19346 * conform/data/libgen.h-data: Likewise.
19347 * conform/data/limits.h-data: Likewise.
19348 * conform/data/locale.h-data: Likewise.
19349 * conform/data/math.h-data: Likewise.
19350 * conform/data/monetary.h-data: Likewise.
19351 * conform/data/mqueue.h-data: Likewise.
19352 * conform/data/ndbm.h-data: Likewise.
19353 * conform/data/net/if.h-data: Likewise.
19354 * conform/data/netdb.h-data: Likewise.
19355 * conform/data/netinet/in.h-data: Likewise.
19356 * conform/data/nl_types.h-data: Likewise.
19357 * conform/data/poll.h-data: Likewise.
19358 * conform/data/pthread.h-data: Likewise.
19359 * conform/data/pwd.h-data: Likewise.
19360 * conform/data/regex.h-data: Likewise.
19361 * conform/data/sched.h-data: Likewise.
19362 * conform/data/search.h-data: Likewise.
19363 * conform/data/semaphore.h-data: Likewise.
19364 * conform/data/setjmp.h-data: Likewise.
19365 * conform/data/signal.h-data: Likewise.
19366 * conform/data/spawn.h-data: Likewise.
19367 * conform/data/stdarg.h-data: Likewise.
19368 * conform/data/stdio.h-data: Likewise.
19369 * conform/data/stdlib.h-data: Likewise.
19370 * conform/data/string.h-data: Likewise.
19371 * conform/data/strings.h-data: Likewise.
19372 * conform/data/stropts.h-data: Likewise.
19373 * conform/data/sys/ipc.h-data: Likewise.
19374 * conform/data/sys/mman.h-data: Likewise.
19375 * conform/data/sys/msg.h-data: Likewise.
19376 * conform/data/sys/resource.h-data: Likewise.
19377 * conform/data/sys/select.h-data: Likewise.
19378 * conform/data/sys/sem.h-data: Likewise.
19379 * conform/data/sys/shm.h-data: Likewise.
19380 * conform/data/sys/socket.h-data: Likewise.
19381 * conform/data/sys/stat.h-data: Likewise.
19382 * conform/data/sys/statvfs.h-data: Likewise.
19383 * conform/data/sys/time.h-data: Likewise.
19384 * conform/data/sys/timeb.h-data: Likewise.
19385 * conform/data/sys/times.h-data: Likewise.
19386 * conform/data/sys/types.h-data: Likewise.
19387 * conform/data/sys/uio.h-data: Likewise.
19388 * conform/data/sys/un.h-data: Likewise.
19389 * conform/data/sys/utsname.h-data: Likewise.
19390 * conform/data/sys/wait.h-data: Likewise.
19391 * conform/data/syslog.h-data: Likewise.
19392 * conform/data/tar.h-data: Likewise.
19393 * conform/data/termios.h-data: Likewise.
19394 * conform/data/utime.h-data: Likewise.
19395 * conform/data/utmpx.h-data: Likewise.
19396 * conform/data/varargs.h-data: Likewise.
19397 * conform/data/wchar.h-data: Likewise.
19398 * conform/data/wctype.h-data: Likewise.
19399 * conform/data/wordexp.h-data: Likewise.
19400
19401 * include/stropts.h: New file.
19402 * include/uchar.h: New file.
19403 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19404 * include/assert.h: Likewise.
19405 * include/ctype.h: Likewise.
19406 * include/dirent.h: Likewise.
19407 * include/dlfcn.h: Likewise.
19408 * include/fcntl.h: Likewise.
19409 * include/fnmatch.h: Likewise.
19410 * include/glob.h: Likewise.
19411 * include/grp.h: Likewise.
19412 * include/libio.h: Likewise.
19413 * include/locale.h: Likewise.
19414 * include/math.h: Likewise.
19415 * include/net/if.h: Likewise.
19416 * include/netdb.h: Likewise.
19417 * include/netinet/in.h: Likewise.
19418 * include/pthread.h: Likewise.
19419 * include/pwd.h: Likewise.
19420 * include/regex.h: Likewise.
19421 * include/sched.h: Likewise.
19422 * include/search.h: Likewise.
19423 * include/setjmp.h: Likewise.
19424 * include/signal.h: Likewise.
19425 * include/stdio.h: Likewise.
19426 * include/stdlib.h: Likewise.
19427 * include/string.h: Likewise.
19428 * include/sys/cdefs.h: Likewise.
19429 * include/sys/mman.h: Likewise.
19430 * include/sys/msg.h: Likewise.
19431 * include/sys/resource.h: Likewise.
19432 * include/sys/select.h: Likewise.
19433 * include/sys/socket.h: Likewise.
19434 * include/sys/stat.h: Likewise.
19435 * include/sys/statvfs.h: Likewise.
19436 * include/sys/time.h: Likewise.
19437 * include/sys/times.h: Likewise.
19438 * include/sys/uio.h: Likewise.
19439 * include/sys/utsname.h: Likewise.
19440 * include/sys/wait.h: Likewise.
19441 * include/termios.h: Likewise.
19442 * include/time.h: Likewise.
19443 * include/ulimit.h: Likewise.
19444 * include/unistd.h: Likewise.
19445 * include/utime.h: Likewise.
19446 * include/wchar.h: Likewise.
19447 * include/wctype.h: Likewise.
19448 * include/wordexp.h: Likewise.
19449
19450 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19451
7a270350
UD
19452 * time/time.h: TIME_UTC must be a macro.
19453 Make timespec_get available for ISO C11 only as well.
19454
7724defc
UD
194552012-02-24 Ulrich Drepper <drepper@gmail.com>
19456
19457 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19458 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19459
6b1d1d46
JM
194602012-02-24 Joseph Myers <joseph@codesourcery.com>
19461
19462 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19463
0f8bbd69
JM
194642012-02-24 Joseph Myers <joseph@codesourcery.com>
19465
19466 * manual/texinfo.tex: Update to version 2012-01-19.16.
19467
66ab80bc
JM
194682012-02-24 Joseph Myers <joseph@codesourcery.com>
19469
19470 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19471
74981cc5
RM
194722012-02-24 Roland McGrath <roland@hack.frob.com>
19473
ee968201
RM
19474 [BZ #13738]
19475 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19476 * manual/fdl-1.3.texi: New file.
19477 * manual/fdl-1.1.texi: File removed.
19478
74981cc5
RM
19479 [BZ #13738]
19480 * manual/libc.texinfo (FDL_VERSION): New @set.
19481 Use it for mention of FDL in cover text.
19482 (Documentation License): Use it in @include file name.
19483
7bb764bc
JM
194842012-02-22 Joseph Myers <joseph@codesourcery.com>
19485 Roland McGrath <roland@hack.frob.com>
19486
19487 [BZ #5461]
19488 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19489 not LONG_LONG_MAX and LONG_LONG_MIN.
19490 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19491 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19492 name.
19493 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19494
6cbeae47
JM
194952012-02-22 Joseph Myers <joseph@codesourcery.com>
19496
19497 [BZ #2547]
19498 [BZ #11365]
19499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19500 manipulate bits before adding and subtracting TWO23[sx].
19501 * math/libm-test.inc (nearbyint_test): Add more tests.
19502
fe45ce09
JM
195032012-02-22 Joseph Myers <joseph@codesourcery.com>
19504
19505 [BZ #2548]
19506 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19507 bits before adding and subtracting TWO23[sx].
19508 * math/libm-test.inc (rint_test): Add more tests.
19509 (rint_test_tonearest): Likewise.
19510 (rint_test_towardzero): Likewise.
19511 (rint_test_downward): Likewise.
19512 (rint_test_upward: Likewise.
19513
ff3b3d82
JM
195142012-02-22 Joseph Myers <joseph@codesourcery.com>
19515
19516 [BZ #10110]
19517 * include/stdc-predef.h: New file. Extracted from features.h.
19518 * include/features.h: Include stdc-predef.h.
19519 * Makefile (headers): Add stdc-predef.h.
19520 * CONFORMANCE (Compiler limitations): Update.
19521
ef0aab35
JM
195222012-02-22 Joseph Myers <joseph@codesourcery.com>
19523
19524 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19525
58639409
DM
195262012-02-21 David S. Miller <davem@davemloft.net>
19527
19528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19530
c0e70b25
DM
195312012-02-20 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19534 using a normal save/restore sequence, rather than allocating a
19535 dummy stack frame just to store a frame pointer and restore.
19536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19537
fb06851d
JM
195382012-02-21 Joseph Myers <joseph@codesourcery.com>
19539
19540 * manual/install.texi: Fix stray word in line-wrapped comment.
19541
7a8b71c3
DM
195422012-02-20 David S. Miller <davem@davemloft.net>
19543
d510c123
DM
19544 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19545 both binutils and gcc support GOTDATA.
19546
0722d7c2
DM
19547 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19548 "rd %pc" in the PIC register setup sequences.
19549
3d2b3019
DM
19550 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19551 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19553 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19559 (SYSCALL_ERROR_HANDLER): Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19563 (SYSCALL_ERROR_HANDLER): Likewise.
19564
c80098a9
DM
19565 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19566 (HAVE_GCC_GOTDATA): New.
19567 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19568 relocation support in both binutils and gcc.
19569 * sysdeps/sparc/elf/configure: Regenerate.
19570
3a2545a0
DM
19571 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19572 * sysdeps/sparc/sparc32/elf/configure: Delete.
19573 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19574 * sysdeps/sparc/sparc64/elf/configure: Delete.
19575 * sysdeps/sparc/elf/configure.in: New file.
19576 * sysdeps/sparc/elf/configure: Generate.
19577
7a8b71c3
DM
19578 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19579 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19581 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19582 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19583
f1e86fca
JM
195842012-02-21 Joseph Myers <joseph@codesourcery.com>
19585
19586 * manual/install.texi: Do not mention specific glibc version
19587 numbers.
19588 * manual/libc.texinfo (VERSION, UPDATED): Update.
19589 (@copying): Use @copyright{} and range of years.
19590
0e7dfaef
JM
195912012-02-21 Joseph Myers <joseph@codesourcery.com>
19592
19593 [BZ #13695]
19594 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19595 [crti.S not in sysdirs] (generated): Do not append.
19596 [crti.S not in sysdirs] (omit-deps): Likewise.
19597 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19598 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19599 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19600 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19601 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19602 Likewise.
19603 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19604 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19605 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19606 * csu/defs.awk: Remove file.
19607 * sysdeps/generic/initfini.c: Likewise.
19608 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19609 variable.
19610 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19611 Likewise.
19612
599af3ca
JM
196132012-02-20 Joseph Myers <joseph@codesourcery.com>
19614
19615 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19617 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19620 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19621 <bits/epoll.h>.
19622 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19623 (__EPOLL_PACKED): Define to empty if not defined by
19624 <bits/epoll.h>.
19625 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19627 bits/epoll.h.
19628
0e499750
JM
196292012-02-20 Joseph Myers <joseph@codesourcery.com>
19630
19631 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19632 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19635 <bits/timerfd.h>.
19636 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19638 bits/timerfd.h.
19639
5ad91f6e
JM
196402012-02-20 Joseph Myers <joseph@codesourcery.com>
19641
19642 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19643 in C locale.
19644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19648
06b99b02
AJ
196492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19650
19651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19653
7638c0fd
AS
196542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19655
19656 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19657 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19658 defined.
19659 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19660 Likewise.
19661 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19662 entry for 2.16.
19663
92221550
AJ
196642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19665
19666 * math/w_acos.c: Use non-signaling floating-point comparisons.
19667 * math/w_acosf.c: Likewise.
19668 * math/w_acosh.c: Likewise.
19669 * math/w_acoshf.c: Likewise.
19670 * math/w_acoshl.c: Likewise.
19671 * math/w_acosl.c: Likewise.
19672 * math/w_asin.c: Likewise.
19673 * math/w_asinf.c: Likewise.
19674 * math/w_asinl.c: Likewise.
19675 * math/w_atanh.c: Likewise.
19676 * math/w_atanhf.c: Likewise.
19677 * math/w_atanhl.c: Likewise.
19678 * math/w_exp2.c: Likewise.
19679 * math/w_exp2f.c: Likewise.
19680 * math/w_exp2l.c: Likewise.
19681 * math/w_j0.c: Likewise.
19682 * math/w_j0f.c: Likewise.
19683 * math/w_j0l.c: Likewise.
19684 * math/w_j1.c: Likewise.
19685 * math/w_j1f.c: Likewise.
19686 * math/w_j1l.c: Likewise.
19687 * math/w_jn.c: Likewise.
19688 * math/w_jnf.c: Likewise.
19689 * math/w_log.c: Likewise.
19690 * math/w_log10.c: Likewise.
19691 * math/w_log10f.c: Likewise.
19692 * math/w_log10l.c: Likewise.
19693 * math/w_log2.c: Likewise.
19694 * math/w_log2f.c: Likewise.
19695 * math/w_log2l.c: Likewise.
19696 * math/w_logf.c: Likewise.
19697 * math/w_logl.c: Likewise.
19698 * math/w_sqrt.c: Likewise.
19699 * math/w_sqrtf.c: Likewise.
19700 * math/w_sqrtl.c: Likewise.
19701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19706
ebaf36eb
JM
197072012-02-19 Joseph Myers <joseph@codesourcery.com>
19708
19709 [BZ #9739]
19710 * manual/string.texi (strnlen): Use correct parameter name in
19711 equivalent expression.
19712
71c254a6
JM
197132012-02-19 Joseph Myers <joseph@codesourcery.com>
19714
19715 [BZ #11174]
19716 * manual/users.texi (seteuid): Consistently use neweuid for
19717 argument name.
19718
16d2c631
JM
197192012-02-19 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #13704]
19722 * manual/nss.texi (Services in the NSS configuration): Correct
19723 list of services in example configuration file.
19724
cd837b09
NB
197252012-02-19 Nick Bowler <nbowler@draconx.ca>
19726
19727 [BZ #11322]
19728 * manual/arith.texi: Remove statements about negative zero
19729 behaving identically to zero.
19730
02c4bbad
JM
197312012-02-18 Joseph Myers <joseph@codesourcery.com>
19732
19733 [BZ #5993]
19734 * manual/install.texi: Do not document upgrading from libc5.
19735
366842e7
JM
197362012-02-18 Joseph Myers <joseph@codesourcery.com>
19737
19738 [BZ #4596]
19739 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19740
dd54084d
DM
197412012-02-18 David S. Miller <davem@davemloft.net>
19742
19743 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19744 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19745 %o7 across the call.
19746 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19747 instead.
19748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19749 SETUP_PIC_REG_LEAF.
19750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19751 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19752 * sysdeps/sparc/crtn.S: Likewise.
19753
2bcc53a3
UD
197542012-02-17 Ulrich Drepper <drepper@gmail.com>
19755
19756 * aout/Makefile: Remove.
19757
09c093b5
RK
197582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19759
19760 [BZ #13058]
19761 * manual/examples/argp-ex1.c (main): Format definition in GNU
19762 style.
19763 * manual/examples/argp-ex2.c (main): Likewise.
19764 * manual/examples/argp-ex3.c (main): Likewise.
19765 * manual/examples/argp-ex4.c (main): Likewise.
19766 * manual/examples/longopt.c (main): Use new-style prototype
19767 definition.
19768 * manual/examples/strncat.c (main): Specify return type and use
19769 (void) for arguments.
19770 * manual/examples/subopt.c (main): Use char **argv argument.
19771
2ee633a2
JM
197722012-02-17 Joseph Myers <joseph@codesourcery.com>
19773
19774 [BZ #5077]
19775 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19776 rounding modes.
19777
0520adde
FB
197782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19779
19780 [BZ #6907]
19781 * manual/string.texi (strchr): Change when strchrnul is
19782 recommended.
19783
3f4081cd
DGM
197842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19785
19786 [BZ #174]
19787 * manual/locale.texi (setlocale): Document LOCPATH.
19788
d1b10e78
JM
197892012-02-17 Joseph Myers <joseph@codesourcery.com>
19790
19791 [BZ #10210]
19792 * manual/process.texi (execle): Move @dots{} before last argument.
19793
79c6869c
PB
197942012-02-17 Paul Bolle <pebolle@tiscali.nl>
19795
19796 [BZ #12047]
19797 * manual/charset.texi (Generic Charset Conversion): Fix typo
19798 (LC_TYPE -> LC_CTYPE).
19799
cc6e48bc
NB
198002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19801
19802 [BZ #5805]
19803 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19804 (scalbnf): Likewise.
19805 (scalbnl): Likewise.
19806 (scalbln): Likewise.
19807 (scalblnf): Likewise.
19808 (scalblnl): Likewise.
19809 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19810 (vwarnx): Likewise.
19811 (verr): Likewise.
19812 (verrx): Likewise.
19813 * manual/filesys.texi (telldir): Use braces around return type.
19814 * manual/llio.texi (mmap): Add space after comma.
19815 (mmap64): Likewise.
19816 * manual/math.texi (jn): Use @var{} on parameter names.
19817 (jnf): Likewise.
19818 (jnl): Likewise.
19819 (yn): Likewise.
19820 (ynf): Likewise.
19821 (ynl): Likewise.
19822 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19823 line.
19824 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19825 "...".
19826 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19827 (sched_get_priority_max): Likewise.
19828 * manual/signal.texi (sigvec): Add space after comma.
19829 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19830 names.
19831 (if_indextoname): Likewise.
19832 (if_freenameindex): Likewise.
19833 (sendto): Use ',' instead of '.' in prototype.
19834 * manual/startup.texi (syscall): Use @dots{} instead of literal
19835 "...".
19836 * manual/stdio.texi (__fpending): Separate initial words of
19837 paragraph from @deftypefun line.
19838 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19839 "...".
19840 (vsyslog): Use @var{} on parameter names.
19841 * manual/terminal.texi (stty): Use @var{} on parameter names.
19842 * manual/users.texi (getutmp): Use @var{} on parameter names.
19843 (getutmpx): Likewise.
19844
5b23062f
JM
198452012-02-17 Joseph Myers <joseph@codesourcery.com>
19846
19847 [BZ #6884]
19848 * manual/stdio.texi (fopen): Fix typos in description of
19849 ",ccs=STRING".
19850
8dee4833
AJ
198512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19852
19853 [BZ #4026]
19854 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19855 get clock_id definition.
19856
9078ce93
TS
198572012-02-17 Thomas Schwinge <thomas@schwinge.name>
19858
19859 [BZ #4822]
19860 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19861 (madvise): Cast every argument to void on its own.
19862
3835c55f
JM
198632012-02-17 Joseph Myers <joseph@codesourcery.com>
19864
19865 [BZ #9902]
19866 * manual/startup.texi (Exit Status): Fix typo.
19867
35c47e37
JM
198682012-02-17 Joseph Myers <joseph@codesourcery.com>
19869
19870 [BZ #10140]
19871 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19872 * manual/examples/argp-ex2.c: Likewise.
19873 * manual/examples/argp-ex3.c: Likewise.
19874
e3b69ca7
RH
198752012-02-16 Richard Henderson <rth@redhat.com>
19876
19877 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19878 * sysdeps/s390/s390-32/initfini.c: Remove.
19879 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19880 * sysdeps/s390/s390-64/initfini.c: Remove.
19881
df83af67
KK
198822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19883
19884 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19885 compiler output for sysdeps/generic/initfini.c.
19886 * sysdeps/sh/elf/initfini.c: Remove file.
19887
f63f3380
DM
198882012-02-16 David S. Miller <davem@davemloft.net>
19889
fb59b3a4
DM
19890 [BZ #11494]
19891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19892
f63f3380
DM
19893 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19894 * sysdeps/sparc/crti.S: New file.
19895 * sysdeps/sparc/crtn.S: New file.
19896 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19897 * sysdeps/sparc/sparc64/Makefile: Likewise.
19898
df6a4a4a
MF
198992012-02-15 Mike Frysinger <vapier@gentoo.org>
19900
6dd8f3dc 19901 [BZ #3335]
df6a4a4a
MF
19902 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19903
1cac7236
RM
199042012-02-15 Roland McGrath <roland@hack.frob.com>
19905
d2c736f8
RM
19906 [BZ #4822]
19907 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19908
1cac7236
RM
19909 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19910 (write, read, close): Likewise.
19911 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19912
8e475601
JM
199132012-02-15 Joseph Myers <joseph@codesourcery.com>
19914
19915 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19916 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19917 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19918 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19919 <bits/signalfd.h>.
19920 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19922 bits/signalfd.h.
19923
ed656b40
MP
199242012-02-14 Marek Polacek <polacek@redhat.com>
19925
19926 * sysdeps/x86_64/crti.S: New file.
19927 * sysdeps/x86_64/crtn.S: New file.
19928 * sysdeps/x86_64/elf/initfini.c: Remove file.
19929
2a979d3a
JM
199302012-02-13 Joseph Myers <joseph@codesourcery.com>
19931
19932 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19933 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19934 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19935 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19936 <bits/inotify.h>.
19937 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19939 bits/inotify.h.
19940
2a418ac3
JM
199412012-02-13 Joseph Myers <joseph@codesourcery.com>
19942
19943 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19945 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19946 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19947 <bits/eventfd.h>.
19948 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19950 bits/eventfd.h.
19951
fb779be7
TS
199522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19953
e19e83c5
RM
19954 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19955 __feraiseexcept instead of feraiseexcept.
7c35ffed 19956
fb779be7
TS
19957 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19958 nanosleep invocations.
19959 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19960 strings, and add error checking for a nanosleep invocations.
19961
59ba27a6
PE
199622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19963
19964 Replace FSF snail mail address with URLs, as per GNU coding standards.
19965 Most of the snail mail addresses were wrong anyway, and omitting
19966 them makes the source code easier to maintain. Almost all of the
19967 changes are to license notices and to locale LC_IDENTIFICATION
19968 addresses, except for this one:
19969 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19970 not its snail mail address.
19971
57b957eb
RH
199722012-02-09 Richard Henderson <rth@twiddle.net>
19973
af850b1c
RH
19974 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19975 of kernel-features.h.
19976
57b957eb
RH
19977 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19978
6b73181a
MP
199792012-02-08 Marek Polacek <polacek@redhat.com>
19980
19981 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19982 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19983 * sysdeps/gnu/_G_config.h: Likewise.
19984 * sysdeps/generic/_G_config.h: Likewise.
19985
26ecc33a
AS
199862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19987
6c6dbc63
AS
19988 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19989 tests.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991
e216c012
AS
19992 * sysdeps/powerpc/powerpc32/crti.S: New file.
19993 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19994 * sysdeps/powerpc/powerpc64/crti.S: New file.
19995 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19996
26ecc33a
AS
19997 * Makeconfig (have-initfini): Don't set.
19998 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19999 * configure.in (nopic_initfini): Don't substitute.
20000 * config.h.in (HAVE_INITFINI): Don't #undef.
20001 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20002 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20003
3add8e13
JM
200042012-02-08 Joseph Myers <joseph@codesourcery.com>
20005
20006 Support crti.S and crtn.S provided directly by architectures.
20007 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20008 [crti.S in sysdirs] (omit-deps): Likewise.
20009 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20010 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20011 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20012 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20013 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20014 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20015 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20016 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20017 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20018 compiler output for sysdeps/generic/initfini.c.
20019 * sysdeps/i386/elf/Makefile: Remove file.
20020 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20021
a22f12b4
MP
200222012-02-07 Marek Polacek <polacek@redhat.com>
20023
20024 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20025 * sysdeps/gnu/_G_config.h: Likewise.
20026 * sysdeps/mach/hurd/_G_config.h: Likewise.
20027
148cf100
MP
200282012-02-07 Marek Polacek <polacek@redhat.com>
20029
20030 * math/Makefile (tests): Add tst-CMPLX2.
20031 * math/tst-CMPLX2.c: New file.
20032
cfdc0dd7
AS
200332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20034
84ba42c4
AS
20035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20036
cfdc0dd7
AS
20037 * math/libm-test.inc (jn_test): Add missing L suffix.
20038
622c86f4
MP
200392012-02-06 Marek Polacek <polacek@redhat.com>
20040
20041 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20042 * sysdeps/i386/fpu/e_powf.S: Likewise.
20043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20046 * sysdeps/i386/fpu/e_pow.S: Likewise.
20047 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20049 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20050 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20051 * sysdeps/i386/fpu/e_log2.S: Likewise.
20052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20054 * sysdeps/i386/fpu/e_powl.S: Likewise.
20055 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20058 * sysdeps/i386/fpu/e_logl.S: Likewise.
20059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20060 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20061 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20062 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20064 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20065 * sysdeps/i386/fpu/e_log.S: Likewise.
20066 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20068 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20069 * sysdeps/i386/fpu/e_logf.S: Likewise.
20070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20072 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20073 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20075 * sysdeps/i386/fpu/e_log10.S: Likewise.
20076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20081 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20082 * sysdeps/i386/asm-syntax.h: Likewise.
20083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20085 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20086 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20087 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20092 * sysdeps/powerpc/sysdep.h: Likewise.
20093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20095
d4a54ac6
JM
200962012-02-06 Joseph Myers <joseph@codesourcery.com>
20097
20098 [BZ #411]
20099 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20100
314054ea
JM
201012012-02-06 Joseph Myers <joseph@codesourcery.com>
20102
20103 * sysdeps/i386/sysdep.h: Include <features.h>.
20104 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20105 version.
20106
d8e0ca50
JM
201072012-02-05 Joseph Myers <joseph@codesourcery.com>
20108
20109 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20110 Define.
20111 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20112 LOAD_PIC_REG_STR.
20113
b1da7dd9
JM
201142012-02-03 Joseph Myers <joseph@codesourcery.com>
20115
20116 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20117 (SETUP_PIC_REG): Use GET_PC_THUNK.
20118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20119 macro.
20120
9a1d9254
JM
201212012-02-03 Joseph Myers <joseph@codesourcery.com>
20122
20123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20124 for non-PIC compilation.
20125 (SETUP_PIC_REG): Add .p2align directive.
20126 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20127 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20134 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20135 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20136 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20137 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20138 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20167
65dc3b75
JM
201682012-02-03 Joseph Myers <joseph@codesourcery.com>
20169
20170 * math/tst-CMPLX.c: Include <stdio.h>.
20171
d55bf177
JM
201722012-01-31 Joseph Myers <joseph@codesourcery.com>
20173
20174 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20175 float.
20176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20177 * sysdeps/sparc/bits/mathdef.h: Likewise.
20178
69db4f8f
MP
201792012-01-31 Marek Polacek <polacek@redhat.com>
20180
20181 * libio/libio.h: Don't define _PARAMS.
20182 * locale/programs/config.h: Don't define PARAMS.
20183 * stdlib/strtol_l.c: Likewise.
20184 (__strtol_l): Remove PARAMS from the prototype.
20185
41b81892
UD
201862012-01-31 Ulrich Drepper <drepper@gmail.com>
20187
3b49edc0
UD
20188 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20189 names. Just use the correct names. Remove unnecessary wrapper
20190 functions.
20191 * malloc/arena.c: Likewise.
20192 * malloc/hooks.c: Likewise.
20193
41b81892
UD
20194 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20195 ARENA_TEST says not to. Simplify test for creation of a new arena.
20196 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20197
27a25b6e
UD
201982012-01-30 Ulrich Drepper <drepper@gmail.com>
20199
20200 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20201 into tail calls.
20202 (update_get_addr): New function.
20203 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20204 GET_ADDR_MODULE parameter.
20205
c8a89e7d
JM
202062012-01-30 Joseph Myers <joseph@codesourcery.com>
20207
20208 * crypt/cert.c: Remove __STDC__ conditionals.
20209 * crypt/crypt-entry.c: Likewise.
20210 * crypt/crypt_util.c: Likewise.
20211 * libio/filedoalloc.c: Likewise.
20212 * libio/fileops.c: Likewise.
20213 * libio/genops.c: Likewise.
20214 * libio/iofclose.c: Likewise.
20215 * libio/iofdopen.c: Likewise.
20216 * libio/iofopen.c: Likewise.
20217 * libio/iofopen64.c: Likewise.
20218 * libio/iogetdelim.c: Likewise.
20219 * libio/iopopen.c: Likewise.
20220 * libio/obprintf.c: Likewise.
20221 * libio/oldfileops.c: Likewise.
20222 * libio/oldiofclose.c: Likewise.
20223 * libio/oldiofdopen.c: Likewise.
20224 * libio/oldiofopen.c: Likewise.
20225 * libio/oldiopopen.c: Likewise.
20226 * libio/wfiledoalloc.c: Likewise.
20227 * libio/wgenops.c: Likewise.
20228 * locale/programs/xmalloc.c: Likewise.
20229 * misc/syslog.c: Likewise.
20230 * stdio-common/xbug.c: Likewise.
20231 * string/memchr.c: Likewise.
20232 * string/memcmp.c: Likewise.
20233 * string/memrchr.c: Likewise.
20234 * string/rawmemchr.c: Likewise.
20235 * sysdeps/posix/getcwd.c: Likewise.
20236 * time/strftime_l.c: Likewise.
20237
3b100462
JM
202382012-01-30 Joseph Myers <joseph@codesourcery.com>
20239
20240 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20241 * config.make.in (config-cflags-sse2avx): Define.
20242 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20243 Fix typo.
20244
607998af
CM
202452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20246
20247 * scripts/config.guess: Update from upstream config git repository.
20248 * scripts/config.sub: Likewise.
20249
3601428f
CM
202502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20251
3ac8b282
CM
20252 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20253 (EM_NUM): Update.
20254 (R_TILEPRO_*, R_TILEGX_*): New macros.
20255
e034841e
CM
20256 * scripts/firstversions.awk: Fix bug in version range handling.
20257
540d7568
CM
20258 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20259
3601428f
CM
20260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20261
463de862
CM
20262 * include/sys/epoll.h: New file.
20263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20264 libc_hidden_def.
20265
73139a76
UD
202662012-01-28 Ulrich Drepper <drepper@gmail.com>
20267
96bc5b45
UD
20268 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20269 Avoid unnecessary __WORDSIZE == 64 test.
20270 (fmaxf): Use VEX format if possible.
20271 (fmax): Likewise.
20272 (fminf): Likewise.
20273 (fmin): Likewise.
20274
56f6f6a2
UD
20275 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20276 * math/math_private.h: Remove libc_fegetround* and
20277 libc_fesetround*.
20278 * sysdeps/i386/configure.in: Check for -msse2avx.
20279 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20280 also if SSE2AVX is defined.
20281 Remove libc_fegetround* and libc_fesetround*.
20282 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20283 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20285 of HAS_YMM_USABLE.
20286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20291
73139a76
UD
20292 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20293
d73f93a4
AZ
202942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20295
20296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20297 size is not set.
20298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20299
6ee65ed6
UD
203002012-01-27 Ulrich Drepper <drepper@gmail.com>
20301
20302 [BZ #13618]
20303 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20304 relocation.
20305 * Makeconfig (libm): Define.
20306 * elf/Makefile: Add rules to build and run tst-relsort1.
20307 * elf/tst-relsort1.c: New file.
20308 * elf/tst-relsort1mod1.c: New file.
20309 * elf/tst-relsort1mod2.c: New file.
20310
8db21882
JM
203112012-01-27 Joseph Myers <joseph@codesourcery.com>
20312
20313 * math/s_ldexp.c: Remove __STDC__ conditionals.
20314 * math/s_ldexpf.c: Likewise.
20315 * math/s_ldexpl.c: Likewise.
20316 * math/s_nextafter.c: Likewise.
20317 * math/s_nexttowardf.c: Likewise.
20318 * math/s_significand.c: Likewise.
20319 * math/s_significandf.c: Likewise.
20320 * math/s_significandl.c: Likewise.
20321 * math/w_jnl.c: Likewise.
20322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20328 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20344 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20346 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20347 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20348 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20353 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20356 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20362 * sysdeps/ieee754/k_standard.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20442 * sysdeps/ieee754/s_matherr.c: Likewise.
20443 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20447
965a54a4
JM
204482012-01-26 Joseph Myers <joseph@codesourcery.com>
20449
20450 * crypt/md5.h: Remove __STDC__ conditionals.
20451 * libio/libioP.h: Likewise.
20452 * locale/programs/config.h: Likewise.
20453 * sysdeps/generic/sysdep.h: Likewise.
20454 * sysdeps/i386/asm-syntax.h: Likewise.
20455 * sysdeps/s390/asm-syntax.h: Likewise.
20456 * sysdeps/unix/sysdep.h: Likewise.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20459
7071ad79
JM
204602012-01-26 Joseph Myers <joseph@codesourcery.com>
20461
20462 * libio/libio.h: Remove __STDC__ conditionals.
20463 * malloc/obstack.h: Likewise.
20464 * math/complex.h: Likewise.
20465 * math/math.h: Likewise.
20466 * sysdeps/generic/_G_config.h: Likewise.
20467 * sysdeps/gnu/_G_config.h: Likewise.
20468 * sysdeps/mach/hurd/_G_config.h: Likewise.
20469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20471 * sysdeps/sparc/bits/mathdef.h: Likewise.
20472
afc5ed09
UD
204732012-01-26 Ulrich Drepper <drepper@gmail.com>
20474
20475 [BZ #13583]
20476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20477 Clean up HAS_* macros.
afc5ed09 20478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20479 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20480 possible.
20481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20482 HAS_AVX.
20483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20488
bdb6de1d
JM
204892012-01-25 Joseph Myers <joseph@codesourcery.com>
20490
20491 * elf/tst-unique3.cc (gets): Remove declaration.
20492 * elf/tst-unique3lib.cc (gets): Likewise.
20493 * elf/tst-unique3lib2.cc (gets): Likewise.
20494 * elf/tst-unique4.cc (gets): Likewise.
20495
b15549e6
UD
204962012-01-24 Ulrich Drepper <drepper@gmail.com>
20497
20498 * include/stdio.h: Add C++ protection. Add gets declarations and
20499 definitions.
20500 * debug/tst-chk1.c: Don't declare gets here.
20501 * stdio-common/tst-gets.c: Likewise.
20502
a037381f
JM
205032012-01-24 Joseph Myers <joseph@codesourcery.com>
20504
20505 * posix/glob: Remove directory.
20506
f1d4aa75
JM
205072012-01-24 Joseph Myers <joseph@codesourcery.com>
20508
20509 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20510
81c0c964
PT
205112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20512
20513 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20514 of the non-standard EPFNOSUPPORT.
20515
0ea698ae
ST
205162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20517
20518 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20519 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20520 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20521
d220b117
UD
205222012-01-21 Ulrich Drepper <drepper@gmail.com>
20523
20524 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20525
3e1aa84e
UD
205262012-01-20 Ulrich Drepper <drepper@gmail.com>
20527
20528 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20529 transient errors.
20530 * nscd/grpcache.c (cache_addgr): Likewise.
20531 * nscd/hstcache.c (cache_addhst): Likewise.
20532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20533 * nscd/pwdcache.c (cache_addpw): Likewise.
20534 * nscd/servicescache.c (cache_addserv): Likewise.
20535
400aa020
UD
205362012-01-16 Ulrich Drepper <drepper@gmail.com>
20537
d77e7869
UD
20538 * malloc/malloc.c: Various cleanups.
20539 * malloc/hooks.c: Likewise.
20540
400aa020
UD
20541 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20542 * stdlib/bug-fmtmsg1.c: New file.
20543
20544 * stdlib/fmtmsg.c (init): Add missing unlock.
20545 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20546
e0a309cf
MP
205472012-01-12 Marek Polacek <polacek@redhat.com>
20548
20549 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20550 and _GNU_SOURCE.
20551
929d11c7
WS
205522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20553
20554 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20556 macro to ensure uniqueness of label name.
20557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20559
41d0e869
UD
205602012-01-11 Ulrich Drepper <drepper@gmail.com>
20561
0cc5ed3b
UD
20562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20563
41d0e869
UD
20564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20568
a47a831a
UD
205692012-01-10 Ulrich Drepper <drepper@gmail.com>
20570
daa891c0
UD
20571 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20572
20573 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20575 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20576
e58ef0f2
UD
20577 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20578
a47a831a 20579 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20583
20584 * math/bits/math-finite.h: Add ldexp support.
20585
a0bfc9c7
MP
205862012-01-10 Marek Polacek <polacek@redhat.com>
20587
20588 * locale/programs/localedef.h (show_archive_content): Add noreturn
20589 attribute.
20590
d6e97a1d
UD
205912012-01-09 Ulrich Drepper <drepper@gmail.com>
20592
20593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20594
d5835c26
UD
205952012-01-08 Ulrich Drepper <drepper@gmail.com>
20596
e5f484c6
UD
20597 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20598
d5835c26
UD
20599 * io/Makefile (headers): Add bits/poll2.h.
20600
d1f741e9
WS
206012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20602
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20604 typo #include statement.
20605
ec09c1c4
UD
206062012-01-08 Ulrich Drepper <drepper@gmail.com>
20607
20608 * include/sys/cdefs.h: Define __attribute_alloc_size.
20609 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20610 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20611 * elf/pldd.c: Likewise.
20612 * iconv/iconv_charmap.c: Likewise.
20613 * iconv/iconvconfig.c: Likewise.
20614 * iconv/strtab.c: Likewise.
20615 * locale/programs/locale.c: Likewise.
20616 * locale/programs/localedef.h: Likewise.
20617 * locale/programs/simple-hash.c: Likewise.
20618 * nscd/nscd.h: Likewise.
20619 * nss/makedb.c: Likewise.
20620 * sysdeps/generic/ldconfig.h: Likewise.
20621 * locale/programs/localedef.c: Remove xmalloc prototype.
20622 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20623
20b38e03
PP
206242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20625
20626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20627 appropriate.
20628
a0da5fe1
UD
206292012-01-08 Ulrich Drepper <drepper@gmail.com>
20630
1d5a644a 20631 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20632 * math/tst-CMPLX.c: New file.
1d5a644a 20633
8784a6db
UD
20634 * math/complex.h (CMPLXL): Fix typo.
20635
d9a216c0
UD
20636 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20637 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20638 GLIBC_2.16.
20639 * debug/tst-chk1.c: Add poll and ppoll tests.
20640 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20641 * include/sys/poll.h: Add hidden proto for ppoll.
20642 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20643 * sysdeps/mach/hurd/ppoll.c: Likewise.
20644 * io/ppoll.c: Likewise.
20645 * debug/poll_chk.c: New file.
20646 * debug/ppoll_chk.c: New file.
20647 * include/bits/poll2.h: New file.
20648 * io/bits/poll2.h: New file.
20649
ac097f5c
UD
20650 [BZ #1350]
20651 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20652
2119dcfa
UD
20653 * configure.in: static is always set to yes. Remove.
20654 * config.make.in: Don't set build-static.
20655 * Makeconfig: Remove use of build-static.
20656 * dlfcn/Makefile: Likewise.
20657 * elf/Makefile: Likewise.
20658 * math/Makefile: Likewise.
20659 * misc/Makefile: Likewise.
20660 * nptl/Makefile: Likewise.
20661 * sysdeps/mach/hurd/Makefile: Likewise.
20662
121766a9
UD
20663 * configure.in: PWD_P is not used anymore.
20664 * config.make.in: Remove PWD_P entry.
20665
51a1d39c 20666 * configure.in: Remove last remnants of RANLIB.
8720d066 20667 No need to check for signed size_t anymore.
215f4bdc
UD
20668 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20669 and IA-64.
3857022a 20670 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20671 * aclocal.m4: Likewise.
20672
d3ed7225
UD
20673 * wcsmbs/mbrtoc16.c: Implement using towc function.
20674 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20675 * wcsmbs/wcsmbsload.c: Likewise.
20676 * iconv/gconv_simple.c: Likewise.
20677 * iconv/gconv_int.h: Likewise.
20678 * iconv/gconv_builtin.h: Likewise.
20679 * iconv/iconv_prog.c: Remove CHAR16 handling.
20680
20681 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20682
20683 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20684
a0da5fe1
UD
20685 * configure.in: Remove --with-elf and --enable-bounded options.
20686 Dont set base_machine for ia64. More non-ELF conditions removed.
20687 Remove testing and setting of leading underscore information.
20688 * config.make.in (build-bounded): Set to no.
20689 * config.h.in: Remove NO_UNDERSCORES entry.
20690 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20691 them.
20692 * csu/start.c: Remove !NO_UNDERSCORE code.
20693 * locale/localeinfo.h: Likewise.
20694 * sysdeps/generic/machine-gmon.h: Likewise.
20695 * sysdeps/generic/sysdep.h: Likewise.
20696 * sysdeps/i386/sysdep.h: Likewise.
20697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20698 * sysdeps/mach/sysdep.h: Likewise.
20699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20701 * sysdeps/sh/sysdep.h: Likewise.
20702 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20703 * sysdeps/unix/i386/sysdep.S: Likewise.
20704 * sysdeps/unix/sparc/start.c: Likewise.
20705 * sysdeps/unix/sparc/sysdep.S: Likewise.
20706 * sysdeps/unix/sparc/sysdep.h: Likewise.
20707 * sysdeps/unix/start.c: Likewise.
20708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20709 * sysdeps/x86_64/sysdep.h: Likewise.
20710
df78418a
UD
207112012-01-07 Ulrich Drepper <drepper@gmail.com>
20712
a784e502
UD
20713 [BZ #13553]
20714 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20715 for non-gcc.
20716 * argp/argp-fmtstream.h: Use const instead __const.
20717 * argp/argp.h: Likewise.
20718 * assert/assert.h: Likewise.
20719 * bits/fenv.h: Likewise.
20720 * bits/sched.h: Likewise.
20721 * bits/sigset.h: Likewise.
20722 * bits/sigthread.h: Likewise.
20723 * catgets/nl_types.h: Likewise.
20724 * conform/data/pthread.h-data: Likewise.
20725 * crypt/crypt-private.h: Likewise.
20726 * crypt/crypt.h: Likewise.
20727 * crypt/crypt_util.c: Likewise.
20728 * ctype/ctype.h: Likewise.
20729 * debug/execinfo.h: Likewise.
20730 * debug/mbsnrtowcs_chk.c: Likewise.
20731 * debug/mbsrtowcs_chk.c: Likewise.
20732 * debug/wcsnrtombs_chk.c: Likewise.
20733 * debug/wcsrtombs_chk.c: Likewise.
20734 * debug/wcstombs_chk.c: Likewise.
20735 * dirent/dirent.h: Likewise.
20736 * dlfcn/dlfcn.h: Likewise.
20737 * elf/neededtest4.c: Likewise.
20738 * grp/grp.h: Likewise.
20739 * gshadow/gshadow.h: Likewise.
20740 * iconv/gconv.h: Likewise.
20741 * iconv/gconv_int.h: Likewise.
20742 * iconv/gconv_simple.c: Likewise.
20743 * iconv/iconv.h: Likewise.
20744 * iconv/loop.c: Likewise.
20745 * iconv/skeleton.c: Likewise.
20746 * include/aio.h: Likewise.
20747 * include/aliases.h: Likewise.
20748 * include/argz.h: Likewise.
20749 * include/arpa/inet.h: Likewise.
20750 * include/assert.h: Likewise.
20751 * include/dirent.h: Likewise.
20752 * include/dlfcn.h: Likewise.
20753 * include/execinfo.h: Likewise.
20754 * include/fcntl.h: Likewise.
20755 * include/fenv.h: Likewise.
20756 * include/glob.h: Likewise.
20757 * include/grp.h: Likewise.
20758 * include/libintl.h: Likewise.
20759 * include/mntent.h: Likewise.
20760 * include/netdb.h: Likewise.
20761 * include/pwd.h: Likewise.
20762 * include/rpc/netdb.h: Likewise.
20763 * include/sched.h: Likewise.
20764 * include/search.h: Likewise.
20765 * include/shadow.h: Likewise.
20766 * include/signal.h: Likewise.
20767 * include/stdio.h: Likewise.
20768 * include/stdlib.h: Likewise.
20769 * include/string.h: Likewise.
20770 * include/sys/socket.h: Likewise.
20771 * include/sys/stat.h: Likewise.
20772 * include/sys/statfs.h: Likewise.
20773 * include/sys/statvfs.h: Likewise.
20774 * include/sys/syslog.h: Likewise.
20775 * include/sys/time.h: Likewise.
20776 * include/sys/uio.h: Likewise.
20777 * include/time.h: Likewise.
20778 * include/unistd.h: Likewise.
20779 * include/utmp.h: Likewise.
20780 * include/wchar.h: Likewise.
20781 * include/wctype.h: Likewise.
20782 * inet/aliases.h: Likewise.
20783 * inet/arpa/inet.h: Likewise.
20784 * inet/netinet/ether.h: Likewise.
20785 * inet/netinet/in.h: Likewise.
20786 * intl/libintl.h: Likewise.
20787 * io/bits/fcntl2.h: Likewise.
20788 * io/fcntl.h: Likewise.
20789 * io/ftw.h: Likewise.
20790 * io/sys/poll.h: Likewise.
20791 * io/sys/stat.h: Likewise.
20792 * io/sys/statfs.h: Likewise.
20793 * io/sys/statvfs.h: Likewise.
20794 * io/utime.h: Likewise.
20795 * libio/bits/stdio.h: Likewise.
20796 * libio/bits/stdio2.h: Likewise.
20797 * libio/libio.h: Likewise.
20798 * libio/libioP.h: Likewise.
20799 * libio/stdio.h: Likewise.
20800 * locale/lc-ctype.c: Likewise.
20801 * locale/locale.h: Likewise.
20802 * login/utmp.h: Likewise.
20803 * malloc/arena.c: Likewise.
20804 * malloc/malloc.c: Likewise.
20805 * malloc/malloc.h: Likewise.
20806 * malloc/mcheck.c: Likewise.
20807 * malloc/mtrace.c: Likewise.
20808 * math/bits/mathcalls.h: Likewise.
20809 * math/fenv.h: Likewise.
20810 * math/math_private.h: Likewise.
20811 * misc/bits/error.h: Likewise.
20812 * misc/bits/syslog.h: Likewise.
20813 * misc/err.h: Likewise.
20814 * misc/error.h: Likewise.
20815 * misc/fstab.h: Likewise.
20816 * misc/mntent.h: Likewise.
20817 * misc/regexp.h: Likewise.
20818 * misc/search.h: Likewise.
20819 * misc/sgtty.h: Likewise.
20820 * misc/sys/mman.h: Likewise.
20821 * misc/sys/syslog.h: Likewise.
20822 * misc/sys/uio.h: Likewise.
20823 * misc/sys/xattr.h: Likewise.
20824 * misc/ttyent.h: Likewise.
20825 * nis/rpcsvc/ypclnt.h: Likewise.
20826 * nss/nss.h: Likewise.
20827 * posix/bits/unistd.h: Likewise.
20828 * posix/fnmatch.h: Likewise.
20829 * posix/glob.h: Likewise.
20830 * posix/sched.h: Likewise.
20831 * posix/spawn.h: Likewise.
20832 * posix/sys/wait.h: Likewise.
20833 * posix/unistd.h: Likewise.
20834 * posix/wordexp.h: Likewise.
20835 * pwd/pwd.h: Likewise.
20836 * resolv/netdb.h: Likewise.
20837 * resource/sys/resource.h: Likewise.
20838 * rt/aio.h: Likewise.
20839 * rt/bits/mqueue2.h: Likewise.
20840 * rt/mqueue.h: Likewise.
20841 * shadow/shadow.h: Likewise.
20842 * signal/signal.h: Likewise.
20843 * socket/send.c: Likewise.
20844 * socket/sendto.c: Likewise.
20845 * socket/sys/socket.h: Likewise.
20846 * stdio-common/printf.h: Likewise.
20847 * stdlib/bits/stdlib.h: Likewise.
20848 * stdlib/fmtmsg.h: Likewise.
20849 * stdlib/monetary.h: Likewise.
20850 * stdlib/stdlib.h: Likewise.
20851 * stdlib/ucontext.h: Likewise.
20852 * streams/stropts.h: Likewise.
20853 * string/argz.h: Likewise.
20854 * string/bits/string2.h: Likewise.
20855 * string/string.h: Likewise.
20856 * string/strings.h: Likewise.
20857 * sunrpc/rpc/auth.h: Likewise.
20858 * sunrpc/rpc/auth_des.h: Likewise.
20859 * sunrpc/rpc/clnt.h: Likewise.
20860 * sunrpc/rpc/netdb.h: Likewise.
20861 * sunrpc/rpc/pmap_clnt.h: Likewise.
20862 * sunrpc/rpc/xdr.h: Likewise.
20863 * sysdeps/generic/inttypes.h: Likewise.
20864 * sysdeps/generic/net/if.h: Likewise.
20865 * sysdeps/generic/sys/swap.h: Likewise.
20866 * sysdeps/gnu/net/if.h: Likewise.
20867 * sysdeps/gnu/utmpx.h: Likewise.
20868 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20869 * sysdeps/i386/i486/bits/string.h: Likewise.
20870 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20871 * sysdeps/s390/bits/string.h: Likewise.
20872 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20873 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20874 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20875 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20876 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20877 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20879 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20880 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20881 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20882 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20884 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20886 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20887 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20888 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20894 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20895 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20896 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20897 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20900 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20902 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20903 * sysvipc/sys/ipc.h: Likewise.
20904 * sysvipc/sys/msg.h: Likewise.
20905 * sysvipc/sys/sem.h: Likewise.
20906 * sysvipc/sys/shm.h: Likewise.
20907 * termios/termios.h: Likewise.
20908 * time/sys/time.h: Likewise.
20909 * time/time.h: Likewise.
20910 * wcsmbs/bits/wchar2.h: Likewise.
20911 * wcsmbs/uchar.h: Likewise.
20912 * wcsmbs/wchar.h: Likewise.
20913 * wctype/wctype.h: Likewise.
20914
0269750c
UD
20915 [BZ #13551]
20916 * Makeconfig: Remove all but ELF support including AIX support.
20917 * Makerules: Likewise.
20918 * config.h.in: Likewise.
20919 * config.make.in: Likewise.
20920 * configure: Likewise.
20921 * configure.in: Likewise.
20922 * csu/Makefile: Likewise.
20923 * csu/version.c: Likewise.
20924 * debug/Makefile: Likewise.
20925 * dlfcn/Makefile: Likewise.
20926 * elf/Makefile: Likewise.
20927 * extra-lib.mk: Likewise.
20928 * iconv/Makefile: Likewise.
20929 * include/libc-symbols.h: Likewise.
20930 * include/shlib-compat.h: Likewise.
20931 * resolv/Makefile: Likewise.
20932 * resolv/res_libc.c: Likewise.
20933 * rt/Makefile: Likewise.
20934 * sysdeps/i386/asm-syntax.h: Likewise.
20935 * sysdeps/i386/sysdep.h: Likewise.
20936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20937 * sysdeps/mach/sysdep.h: Likewise.
20938 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20939 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20940 * sysdeps/s390/asm-syntax.h: Likewise.
20941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20943 * sysdeps/sh/sysdep.h: Likewise.
20944 * sysdeps/unix/sparc/sysdep.h: Likewise.
20945 * sysdeps/wordsize-32/divdi3.c: Likewise.
20946 * sysdeps/x86_64/sysdep.h: Likewise.
20947
00bbd29b
UD
20948 * argp/Versions: Remove _argp_unlock_xxx.
20949
20950 [BZ #13559]
20951 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20952 * abilist/libBrokenLocale.abilist: Likewise.
20953 * abilist/libanl.abilist: Likewise.
20954 * abilist/libc.abilist: Likewise.
20955 * abilist/libcrypt.abilist: Likewise.
20956 * abilist/libdl.abilist: Likewise.
20957 * abilist/libm.abilist: Likewise.
20958 * abilist/libnsl.abilist: Likewise.
20959 * abilist/libpthread.abilist: Likewise.
20960 * abilist/libresolv.abilist: Likewise.
20961 * abilist/librt.abilist: Likewise.
20962 * abilist/libthread_db.abilist: Likewise.
20963 * abilist/libutil.abilist: Likewise.
20964 * abilist/libnss_db.abilist: New file.
20965
20966 * scripts/abilist.awk: Add support for indirect functions.
20967
a2693a0e
UD
20968 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20969
3f05895f
UD
20970 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20971
ecb6fb48
UD
20972 * shlib-versions: Remove entries for ports architectures.
20973
664f8cb9
UD
20974 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20975 files in ports.
20976 * elf/stackguard-macros.h: Remove support for IA-64.
20977 * elf/tst-auditmod1.c: Likewise.
20978 * sysdeps/generic/ldsodefs.h: Likewise.
20979
7ae81d88
UD
20980 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20981 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20982 configure files.
20983
bdeba135
UD
20984 [BZ #13552]
20985 * configure.in: Remove --enable-omitfp support.
20986 * FAQ.in: Adjust.
20987 * config.make.in: Likewise.
20988 * Makeconfig: Likewise.
20989 * manual/install.texi: Likewise.
20990
d75a0a62
UD
20991 In case anyone cares, the IA-64 architecture could move to ports.
20992 * sysdeps/ia64/*: Removed.
20993 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20994 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20995
dcc9756b
UD
20996 [BZ #13555]
20997 * configure.in: Remove entries for unsupported architectures.
20998
d3761ebc 20999 [BZ #13533]
9954432e
UD
21000 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21001 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21002 routines.
21003 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21004 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21005 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21006 fall back to using wcrtomb.
21007 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21008 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21009 renaming.
21010 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21011 * wcsmbs/tst-c16c32-1.c: New file.
21012
21013 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21014 local variable.
21015
c3a87236
UD
21016 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21017
28926a1b
UD
21018 * elf/tst-unique3.cc: Add explicit declaration of gets.
21019 * elf/tst-unique3lib.cc: Likewise.
21020 * elf/tst-unique3lib2.cc: Likewise.
21021 * elf/tst-unique4.cc: Likewise.
21022
df78418a
UD
21023 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21024
8ecd6b2a
JM
210252012-01-06 Joseph Myers <joseph@codesourcery.com>
21026
21027 [BZ #13566]
21028 * assert/assert.h (static_assert): Don't define for C++.
21029 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21030 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21031
9f115170
UD
210322012-01-03 Ulrich Drepper <drepper@gmail.com>
21033
5e0d0300
UD
21034 * iconv/loop.c (single loop): Fix assertion in storing of
21035 remaining bytes.
21036
9f115170
UD
21037 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21038
81fb02b0
UD
210392012-01-01 Ulrich Drepper <drepper@gmail.com>
21040
21041 * posix/getconf.c: Update copyright year.
21042 * nss/getent.c: Likewise.
a316c1f6 21043 * nss/makedb.c: Likewise.
81fb02b0
UD
21044 * iconv/iconvconfig.c: Likewise.
21045 * iconv/iconv_prog.c: Likewise.
21046 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21047 * elf/pldd.c: Likewise.
21048 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21049 * catgets/gencat.c: Likewise.
21050 * csu/version.c: Likewise.
21051 * elf/ldd.bash.in: Likewise.
21052 * elf/sprof.c (print_version): Likewise.
21053 * locale/programs/locale.c: Likewise.
21054 * locale/programs/localedef.c: Likewise.
a316c1f6 21055 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21056 * nscd/nscd.c (print_version): Likewise.
21057 * debug/xtrace.sh: Likewise.
21058 * malloc/memusage.sh: Likewise.
21059 * malloc/mtrace.pl: Likewise.
21060 * debug/catchsegv.sh: Likewise.
21061
2ba92745
JJ
210622011-12-30 Jakub Jelinek <jakub@redhat.com>
21063
21064 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21065 pure attribute.
21066
dadebdae
UD
210672011-12-24 Ulrich Drepper <drepper@gmail.com>
21068
d3761ebc 21069 [BZ #13533]
db6af3eb
UD
21070 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21071 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21072 transformations.
21073 * iconv/gconv_int.h: Likewise.
21074 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21075 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21076 from libc for GLIBC_2.16.
21077 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21078 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21079 * wcsmbs/uchar.h: Really define mbstate_t.
21080 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21081 * wcsmbs/c16rtomb.c: New file.
21082 * wcsmbs/mbrtoc16.c: New file.
21083 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21084 for C/POSIX locale.
21085 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21086 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21087
dadebdae
UD
21088 * wcsmbs/wchar.h: Add missing __restrict.
21089
67371b56
UD
210902011-12-23 Ulrich Drepper <drepper@gmail.com>
21091
74033a25
UD
21092 [BZ #13532]
21093 * time/Makefile (routines): Add timespec_get.
21094 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21095 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21096 timespec for ISO C11.
21097 * time/timespec_get.c: New file.
21098 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21099 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21100
380d7e87
UD
21101 [BZ #13531]
21102 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21103 * stdlib/stdlib.h: Declare aligned_alloc.
21104 * Versions.def: Add GLIBC_2.16 for libc.
21105 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21106
4e9e7a35
UD
21107 [BZ 13527]
21108 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21109 ISO C11.
21110
380d7e87 21111 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21112 code.
21113
03a71829
UD
21114 [BZ #13528]
21115 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21116
839e283e
UD
21117 [BZ #13529]
21118 * assert/assert.h (static_assert): Define.
21119
ce5294e2 21120 * version.h: Update for 2.16 development version.
90fa7312 21121
8d44e150 21122 [BZ #13526]
d7809905
UD
21123 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21124 _ISOC11_SOURCE.
21125
c0da14cd
UD
21126 * version.h (RELEASE): Bump for 2.15 release.
21127 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21128
530a3249
MP
21129 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21130 Patch by Marek Polacek <mpolacek@redhat.com>.
21131
67371b56
UD
21132 * bits/byteswap.h: Protect long long constants with __extension__.
21133 * sysdeps/i386/bits/byteswap.h: Likewise.
21134 * sysdeps/ia64/bits/byteswap.h: Likewise.
21135 * sysdeps/s390/bits/byteswap.h: Likewise.
21136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21137
15db4de1
LD
211382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21139
21140 [BZ #13540]
bbe315ea
LD
21141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21142 destination buffer.
15db4de1
LD
21143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21144
2b2596b1
MP
211452011-12-23 Marek Polacek <polacek@redhat.com>
21146
21147 * elf/dl-addr.c (determine_info): Add inline keyword.
21148 * elf/tst-auditmod4b.c (check_avx): Likewise.
21149 * elf/tst-auditmod6b.c (check_avx): Likewise.
21150 * elf/tst-auditmod6c.c (check_avx): Likewise.
21151 * elf/tst-auditmod7b.c (check_avx): Likewise.
21152
70c6c246
UD
211532011-12-23 Ulrich Drepper <drepper@gmail.com>
21154
21155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21156 !__SSE_MATH__.
21157
c044cf14
LD
211582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21159
15db4de1 21160 [BZ #13540]
c044cf14
LD
21161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21162 processing for last bytes.
21163
6b13d9d9
BH
211642011-08-06 Bruno Haible <bruno@clisp.org>
21165
d455f537
BH
21166 [BZ #13061]
21167 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21168 U+0385, not to U+1FEE.
21169
6b13d9d9
BH
21170 [BZ #13062]
21171 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21172 entry for U+00A5 U+0301.
21173
db910efd
UD
211742011-12-22 Ulrich Drepper <drepper@gmail.com>
21175
27deeafc
UD
21176 [BZ #13166]
21177 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21178 buffer for the output is too small.
21179
aed9d171
UD
21180 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21181 optimization.
21182
db910efd
UD
21183 [BZ #13185]
21184 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21185 SSE flags if possible.
21186
2bd779ae
LD
211872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21188
e7f9dac3 21189 [BZ #13540]
2bd779ae
LD
21190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21191 processing for last bytes.
21192
154bfc16
JM
211932011-12-22 Joseph Myers <joseph@codesourcery.com>
21194
21195 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21196 (syscall-list-default-options, syscall-list-default-condition)
21197 (syscall-list-includes): Define.
21198 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21199 list of ABIs and options and #if conditions for each ABI. Do not
21200 handle common syscalls between ABIs specially.
21201 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21202 Remove.
21203 (syscall-list-variants, syscall-list-32bit-options)
21204 (syscall-list-32bit-condition, syscall-list-64bit-options)
21205 (syscall-list-64bit-condition): Define.
21206 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21207 (syscall-list-variants, syscall-list-32bit-options)
21208 (syscall-list-32bit-condition, syscall-list-64bit-options)
21209 (syscall-list-64bit-condition): Define.
21210 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21211 Remove.
21212 (syscall-list-variants, syscall-list-32bit-options)
21213 (syscall-list-32bit-condition, syscall-list-64bit-options)
21214 (syscall-list-64bit-condition): Define.
21215 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21216 Remove.
21217 (syscall-list-variants, syscall-list-32bit-options)
21218 (syscall-list-32bit-condition, syscall-list-64bit-options)
21219 (syscall-list-64bit-condition): Define.
21220
21eaf3a5
UD
212212011-12-22 Ulrich Drepper <drepper@gmail.com>
21222
16c6f992
UD
21223 * locale/iso-639.def: Add brx entry.
21224
41043168
UD
21225 [BZ #13328]
21226 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21227 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21228
21eaf3a5
UD
21229 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21230 __feraiseexcept_renamed.
21231
e3a851a2
UD
212322011-12-21 Ulrich Drepper <drepper@gmail.com>
21233
4920765e
UD
21234 [BZ #13538]
21235 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21236 EPOLLET with unsigned values.
21237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21239
e3a851a2
UD
21240 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21241 to large cancellation.
21242 * math/s_cacoshf.c: Likewise.
21243 * math/s_cacoshl.c: Likewise.
21244
b27e24b8
RK
212452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21246
21247 [BZ #13305]
aebefeee 21248 [BZ #12786]
b27e24b8
RK
21249 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21250 * math/s_cacoshf.c: Likewise.
21251 * math/s_cacoshl.c: Likewise.
21252
ee190f67
UD
212532011-12-21 Ulrich Drepper <drepper@gmail.com>
21254
21255 [BZ #13439]
21256 * iconv/gconv.h: Define __GCONV_SWAP.
21257 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21258 * iconvdata/utf-16.c: Likewise.
21259 * iconvdata/utf-32.c: Likewise.
21260
707f25df
AS
212612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21262
21263 [BZ #13524]
21264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21265 numerator after shifting it by one limb.
21266
d2daaa1e
RÁE
212672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21268
21269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21270 under [__USE_EXTERN_INLINES].
21271
a4647e72
UD
212722011-12-17 Ulrich Drepper <drepper@gmail.com>
21273
21274 [BZ #13446]
21275 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21276
f0b264f1
AZ
212772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21278
21279 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21280 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21281 optimized code.
21282 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21284 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21285 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21286 for strncasecmp/strncasecmp_l compilation.
21287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21288 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21289
8ef4f244
MP
212902011-12-08 Marek Polacek <mpolacek@redhat.com>
21291
21292 [BZ #13484]
21293 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21294 of __asm__.
21295
97ac2654
UD
212962011-12-17 Ulrich Drepper <drepper@gmail.com>
21297
21298 [BZ #13506]
21299 * time/tzfile.c (__tzfile_read): Check values from file header.
21300
91d2a845
WS
213012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21302
21303 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21304 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21305 * powerpc/powerpc32/dl-start.S: Likewise.
21306 * powerpc/powerpc32/elf/start.S: Likewise.
21307 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21308 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21309 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21310 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21311 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21312 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21313 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21314 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21315 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21316 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21317 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21318 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21319 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21320 * powerpc/powerpc32/memset.S: Likewise.
21321 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21322 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21323 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21324 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21325 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21326 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21327 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21328 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21329 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21330 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21334
a1267ba1
AZ
213352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21336
21337 * math/libm-test.inc: Added more nearbyint tests.
21338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21342
ad8ac1bd
RL
213432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21344
21345 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21346 FD_CLOEXEC.
21347
1d3e4b61
UD
213482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21349
21350 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21351 Add wcscpy-ssse3 wcscpy-c.
21352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21353 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21354 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21355 * sysdeps/x86_64/wcschr.S: New file.
21356 * sysdeps/x86_64/wcsrchr.S: New file.
21357 * string/test-strcmp.c: Remove checking of wcscmp function for
21358 wrong alignments.
21359 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21360 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21361 wcsrchr-sse2 wcsrchr-c.
21362 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21363 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21364 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21365 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21366 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21367 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21368 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21371 * wcsmbc/wcschr.c (WCSCHR): New macro.
21372
5b330a2d
UD
213732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21374
21375 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21376 * wcsmbs/test-wcsrchr.c: New file.
21377 * string/test-strrchr.c: Add wcsrchr support.
21378 (WIDE): New macro.
21379 * wcsmbs/test-wcscpy.c: New file.
21380 * string/test-strcpy.c: Add wcscpy support.
21381 (WIDE): New macro.
26428b7c 21382
f039c043
UD
213832011-12-10 Ulrich Drepper <drepper@gmail.com>
21384
21385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21386 the inner loop.
21387
850fb039
AS
213882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21389
21390 [BZ #13472]
21391 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21392
4efbd5cb
UD
213932011-12-04 Ulrich Drepper <drepper@gmail.com>
21394
52ff5dd0 21395 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21396 Minor optimizations.
52ff5dd0 21397
4efbd5cb
UD
21398 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21399 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21400 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21401
8a426e12
UD
214022011-12-03 Ulrich Drepper <drepper@gmail.com>
21403
aff2453d
UD
21404 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21405 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21406 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21407 for gcc to avoid warnings.
21408 * inet/Makefile (tests): Add tst-checks.
21409 * inet/tst-checks.c: New file.
21410
21411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21412 warning.
21413
21414 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21415 __wmemcmp_sse2.
21416
21417 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21418 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21419
8a426e12
UD
21420 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21421
9bea3473
UD
214222011-12-02 Ulrich Drepper <drepper@gmail.com>
21423
3a965496
UD
21424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21425 problem.
21426
9bea3473
UD
21427 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21428
f101631b
UD
214292011-11-29 Joseph Myers <joseph@codesourcery.com>
21430
21431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21432 conditional on GCC version.
21433 (__arch_compare_and_exchange_val_8_acq)
21434 (__arch_compare_and_exchange_val_16_acq)
21435 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21436 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21437 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21438
a98275aa
UD
214392011-12-02 Joseph Myers <joseph@codesourcery.com>
21440
21441 * sysdeps/sh/backtrace.c: New file.
21442
d4cc29a2
AS
214432011-12-02 Andreas Schwab <schwab@redhat.com>
21444
21445 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21446 parenthesis.
21447
6257af2d
AS
214482011-12-01 Andreas Schwab <schwab@redhat.com>
21449
21450 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21451 falling back to utime.
21452
b5f44c1a
AS
214532011-11-30 Andreas Schwab <schwab@redhat.com>
21454
21455 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21456 expectations for float.
21457
f3a6cc0a
AS
214582011-11-29 Andreas Schwab <schwab@redhat.com>
21459
21460 * locale/weight.h (findidx): Add parameter len.
21461 * locale/weightwc.h (findidx): Likewise.
21462 * posix/fnmatch_loop.c (FCT): Adjust caller.
21463 * posix/regcomp.c (build_equiv_class): Likewise.
21464 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21465 * posix/regexec.c (check_node_accept_bytes): Likewise.
21466 * string/strcoll_l.c (STRCOLL): Likewise.
21467 * string/strxfrm_l.c (STRXFRM): Likewise.
21468
9d65ea3a
UD
214692011-11-17 Ulrich Drepper <drepper@gmail.com>
21470
21471 * Makefile.in: Remove CVSOPT handling.
21472 * configure.in: Remove use of AC_REVISION.
21473 * iconvdata/Makefile (distribute): No need to filter out CVS.
21474 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21475 handling.
21476
5583a086
AS
214772011-11-16 Andreas Schwab <schwab@redhat.com>
21478
21479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21480 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21481 [USE_AS_STRNCASECMP_L]: Likewise.
21482 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21483 NO_TLS_DIRECT_SEG_REFS.
21484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21485 Fix argument offsets for non-PIC.
21486 [USE_AS_STRNCASECMP_L]: Likewise.
21487 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21488 NO_TLS_DIRECT_SEG_REFS.
21489
d62a8200
UD
214902011-11-15 Ulrich Drepper <drepper@gmail.com>
21491
9d65ea3a 21492 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21493 O_CLOEXEC.
21494 * locale/loadlocale.c (_nl_load_locale): Likewise.
21495
09f93bd3
AS
214962011-11-15 Andreas Schwab <schwab@redhat.com>
21497
446514f9
AS
21498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21499 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21501 (SYSCALL_GETTIME): Set errno on error.
21502
09f93bd3
AS
21503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21504 count references to noai6ai_cached.
21505
312be3f9
UD
215062011-11-15 Ulrich Drepper <drepper@gmail.com>
21507
21508 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21509
21510 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21511 FD_CLOEXEC for /proc/self/maps.
21512
21513 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21514 FD_CLOEXEC for /proc/meminfo.
21515
21516 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21517 gai.conf.
21518
21519 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21520 FD_CLOEXEC for given file.
21521
21522 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21523
21524 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21525 FD_CLOEXEC for /etc/hosts.
21526 (_gethtent): Likewise.
21527
21528 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21529
21530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21531 cancellation and set FD_CLOEXEC for /etc/netgroup.
21532
21533 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21534 reading /etc/publickey.
21535
21536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21537 allow cancellation when reading /etc/group.
21538
21539 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21540 cancellation.
21541 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21542
21543 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21544 when using data file.
21545
21546 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21547
21548 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21549 (write_nis_obj): Use "c" and "e" in fopen.
21550
21551 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21552
21553 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21554
21555 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21556
21557 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21558
21559 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21560 locale.alias.
21561
21562 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21563
21564 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21565
21566 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21567
21568 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21569 file parsing and set FD_CLOEXEC.
21570
82af0fa8
UD
215712011-11-14 Ulrich Drepper <drepper@gmail.com>
21572
21573 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21574
a5fb313c
AS
215752011-11-14 Andreas Schwab <schwab@redhat.com>
21576
21577 * malloc/arena.c (arena_get2): Don't call reused_arena when
21578 _int_new_arena failed.
21579
6abf3465
UD
215802011-11-14 Ulrich Drepper <drepper@gmail.com>
21581
21582 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21583 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21588 to compile strcasecmp and strncasecmp.
21589 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21590 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21591
21592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21593
76e3966e
UD
215942011-11-13 Ulrich Drepper <drepper@gmail.com>
21595
21596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21597 locale-defines.sym to gen-as-const-headers.
21598 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21599 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21601 to compile strcasecmp and strncasecmp.
21602 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21603 strcasecmp_l and strncasecmp_l.
21604 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21605 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21606 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21608 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21610 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21611 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21612 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21613 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21614 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21615
ab26144e
UD
216162011-11-12 Ulrich Drepper <drepper@gmail.com>
21617
7edb22ef
UD
21618 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21619 result of SYSDEP_GETTIME_CPU to retval.
21620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21621 parameter list to macro. Remove trailing semicolon. Adjust users.
21622
9694fc44
UD
21623 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21624 variable.
21625
8ad89ef8
UD
21626 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21627 mantissa words.
21628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21629
0c822ef9
UD
21630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21631 from unused variable.
21632
874e0564
UD
21633 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21634 DWARF definitions.
21635 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21636 for assembling.
21637
3a2edc79
UD
21638 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21639 over namespaces.
21640
f3c2577f
UD
21641 * sunrpc/rpc_prot.c (rejected): Fix case value.
21642
294ce126
UD
21643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21644 unsigned long long int to avoid warnings in shift.
21645
5e2b63c6
UD
21646 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21647 of use of trans.
21648 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21649 variable tmp.
21650
e7f4b08e
UD
21651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21652 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21654
ab26144e
UD
21655 * nis/nis_table.c (nis_list): Use variable of correct type for
21656 result of __follow_path call.
21657
8a6d5255
AZ
216582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659
21660 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21661 of math functions ceil, trunc, floor, round, and sqrt, when
21662 avaliable on the platform.
21663 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21664 name clash.
21665 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21667 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21668
aaddc98c
MP
216692011-10-30 Marek Polacek <mpolacek@redhat.com>
21670
21671 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21673
95b7042b
RM
216742011-11-11 Roland McGrath <roland@hack.frob.com>
21675
21676 * include/unistd.h: Fix __readlink return type.
21677 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21678
57769839
UD
216792011-11-11 Ulrich Drepper <drepper@gmail.com>
21680
21681 * stdlib/ucontext.h: Undo last change for makecontext.
21682
edc5984d
AS
216832011-11-11 Andreas Schwab <schwab@redhat.com>
21684
98591e58
AS
21685 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21686
edc5984d
AS
21687 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21688 * setjmp/setjmp.h: Mark functions as non-leaf.
21689 * setjmp/bits/setjmp2.h: Likewise.
21690 * stdlib/ucontext.h: Likewise.
21691
77cdc054
AS
216922011-11-10 Andreas Schwab <schwab@redhat.com>
21693
21694 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21695 (reused_arena): Don't check arena limit.
21696 (arena_get2): Atomically check arena limit.
21697
fe72eebd
UD
216982011-11-08 Ulrich Drepper <drepper@gmail.com>
21699
5f078c32
UD
21700 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21701 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21702
fe72eebd
UD
21703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21704 instructions.
21705
ae1bc2fa
AS
217062011-11-07 Andreas Schwab <schwab@redhat.com>
21707
7583a88d
AS
21708 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21709 handler when locking.
21710
ae1bc2fa
AS
21711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21712 Fix size of allocated buffer.
21713
10fb0bfa
AS
217142011-11-04 Andreas Schwab <schwab@redhat.com>
21715
998832a4
AS
21716 [BZ #10103]
21717 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21718 declarations for long double functions.
21719 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21720
10fb0bfa
AS
21721 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21722
3d7ba52b
AS
217232011-11-03 Andreas Schwab <schwab@redhat.com>
21724
a9ae54a1
AS
21725 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21726 installed.
21727
3d7ba52b
AS
21728 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21729 is disabled.
21730
bc8db248
ST
217312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21732
21733 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21734
45b96dd6
AS
217352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21736
647776f6
AS
21737 * include/alloca.h (stackinfo_alloca_round): Define.
21738 (extend_alloca): Use it.
21739 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21740 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21741 here.
21742
d91a8b93
AS
21743 * scripts/check-local-headers.sh: Ignore libaudit.h.
21744
45b96dd6
AS
21745 * nscd/Makefile (extra-objs): Make recursively expanded.
21746
432d41ce
UD
217472011-11-01 Ulrich Drepper <drepper@gmail.com>
21748
34372fc6
UD
21749 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21751
fadb59f8
UD
21752 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21753 * posix/tst-rfc3484-2.c: Likewise.
21754 * posix/tst-rfc3484-3.c: Likewise.
21755
78239589
UD
21756 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21757 process_vm_writev.
21758 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21759 process_vm_writev.
21760 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21761 process_vm_writev from libc using GLIBC_2.15 version.
21762
432d41ce
UD
21763 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21764
02f9c6cf
PP
217652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21766
21767 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21768 stack usage.
21769
3a2c0242
UD
217702011-10-31 Ulrich Drepper <drepper@gmail.com>
21771
f4ec4833
UD
21772 [BZ #13367]
21773 * nss/getent.c (initgroups_keys): Show error message in case no group
21774 names are given.
21775
3a2c0242
UD
21776 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21777 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21778 __bump_nl_timestamp.
21779 * nscd/connections (nscd_init): When host database is served open
21780 netlink socket and request notification about configuration changes.
21781 (main_loop_poll): Track netlink file descriptor and bump timestamp
21782 in case data becomes available.
21783 (main_loop_epoll): Likewise.
21784 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21785 (database_pers_head): Add extra_data fileds.
21786 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21788 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21789 Adjust caller.
21790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21791 in6ai data, call __free_in6ai.
21792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21793 Add -DHAVE_NETLINK.
21794 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21795 interface information. Reuse previous data if netlink timestamp
21796 is not changed.
21797 (__bump_nl_timestamp): New function.
21798 (__free_in6ai): New function.
21799
636064eb
UD
218002011-10-30 Ulrich Drepper <drepper@gmail.com>
21801
21802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21803 close_not_cancel_no_status here.
21804 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21805
9beb2334
UD
218062011-10-29 Ulrich Drepper <drepper@gmail.com>
21807
6ef76f3b
UD
21808 [BZ #13276]
21809 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21810 return value.
21811
0ffc4f3e 21812 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21813 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21814 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21815
cb95113e
UD
218162011-07-03 Andreas Jaeger <aj@suse.de>
21817
21818 [BZ #10709]
21819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21820 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21821 * math/libm-test.inc (sin_test): Add test case.
21822
a1b560ff
UD
218232011-10-29 Ulrich Drepper <drepper@gmail.com>
21824
c9aaface
UD
21825 [BZ #13337]
21826 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21827 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21828
d272e7f1
UD
21829 * elf/chroot_canon.c (chroot_canon): Cleanups.
21830
1bc33071
UD
21831 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21832
1760874d
TJ
21833 [BZ #13335]
21834 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21835 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21836
51d91b18
UD
21837 * string/test-strchr.c: Make usable for strchrnul testing.
21838 * string/test-strchrnul.c: New file.
21839 * string/Makefile (strop-tests): Add strchrnul.
21840
a1b560ff 21841 * po/it.po: Update from translation team.
b611fb81 21842 * po/es.po: Likewise.
a1b560ff 21843
a5b81e1f
UD
218442011-10-28 Ulrich Drepper <drepper@gmail.com>
21845
fd52bc6d
UD
21846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21847 the three constants needed as parameters. Drop the others.
21848 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21849 __m128i_strloadu_tolower.
52e4b9eb
UD
21850 Create and initialize variable zero and use it in all the places
21851 where _mm_setzero_si128 was used.
fd52bc6d 21852
a5b81e1f
UD
21853 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21854 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21855 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21857 anymore.
21858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21861 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21863 __mpranred, __mptan.
21864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21873
b4343346
AS
218742011-10-28 Andreas Schwab <schwab@redhat.com>
21875
0c92d8a8
AS
21876 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21877 redefine if SHARED.
21878 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21879
b4343346
AS
21880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21881 wide char related routines to wcsmbs subdir.
21882
3871f58f
AS
218832011-10-27 Andreas Schwab <schwab@redhat.com>
21884
21885 [BZ #13344]
21886 * misc/sys/cdefs.h (__THROWNL): Define.
21887 * posix/unistd.h: Use __THREADNL instead of __THREAD
21888 for memory synchronization functions.
21889
94d44d9f
RM
218902011-10-26 Roland McGrath <roland@hack.frob.com>
21891
21b64b15 21892 [BZ #13349]
94d44d9f
RM
21893 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21894 doesn't exist.
21895 * manual/stdio.texi (Obstack Streams): Node removed.
21896
f6ce9294
AS
218972011-10-26 Andreas Schwab <schwab@redhat.com>
21898
80479147
AS
21899 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21902
f6ce9294
AS
21903 * math/math_private.h (math_force_eval): Allow non-addressable
21904 arguments.
21905 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21906
618280a1
UD
219072011-10-25 Ulrich Drepper <drepper@gmail.com>
21908
e0016b11
UD
21909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21910 file is not needed.
21911
21912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21919 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21920 Add AVX variants.
21921 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21922 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21923 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21924 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21927 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21929 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21930 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21931 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21932 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21935 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21936 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21938 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21939 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21940
21941 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21942 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21943
618280a1
UD
21944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21945 place. Use VEX encoding when compiling for AVX.
21946
37822576
AS
219472011-10-25 Andreas Schwab <schwab@redhat.com>
21948
1f1e1947
AS
21949 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21950 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21951
37822576
AS
21952 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21953
31ea014d
UD
219542011-10-25 Ulrich Drepper <drepper@gmail.com>
21955
d7826aa1 21956 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21957 useless if() expression.
d7826aa1
UD
21958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21977
31ea014d
UD
21978 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21979
16437fec
AS
219802011-10-25 Andreas Schwab <schwab@redhat.com>
21981
21982 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21983 condition.
21984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21985
31d3cc00
UD
219862011-10-25 Ulrich Drepper <drepper@gmail.com>
21987
21988 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21989 .text section. Avoid duplicate constants.
21990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22007 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22035
58985aa9
UD
220362011-10-24 Ulrich Drepper <drepper@gmail.com>
22037
202c9deb
UD
22038 * sysdeps/x86_64/dla.h: Move to ...
22039 * sysdeps/x86_64/fpu/dla.h: ...here.
22040 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22041 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22042
af968f62
UD
22043 * config.make.in: Add have-mfma4 entry.
22044 * configure.in: Substitute libc_cv_cc_fma4.
22045 * math/Makefile (dbl-only-routines): Add sincostab.
22046 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22047 Use __sincostab not sincos.
22048 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22049 name is a macro.
22050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22054 using __copysign.
22055 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22056 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22057 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22058 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22059 and __inv.
22060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22061 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22062 __copysign.
22063 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22064 define aliases when function name is a macro.
22065 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22066 sysdeps/ieee754/dbl-64/sincos.tbl.
22067 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22068 fma4-enabled routines.
22069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22074 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22079 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22082 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22084 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22085 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22087 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22089 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22092 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22099
58985aa9
UD
22100 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22101 rename.
22102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22110
a201fbcf
AS
221112011-10-24 Andreas Schwab <schwab@redhat.com>
22112
22113 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22114
fc2ee42a
LD
221152011-10-23 Ulrich Drepper <drepper@gmail.com>
22116
bb3129bd
UD
22117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22118
0275fff8
UD
22119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22120 prediction.
22121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22122
2fa2ae85
UD
22123 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22124 Remove unused variable magic_bits.
22125 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22126
fc2ee42a
LD
22127 * string/strnlen.c: Define and use STRNLEN macro.
22128 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22129 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22131 * wcsmbs/wcslen.c: Define and use WCSLEN.
22132 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22133 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22134 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22135 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22137 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22139
ce7dd29f
LD
221402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22141
22142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22143 strnlen-sse2-no-bsf.
22144 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22146 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22147 Add strnlen support.
22148 (USE_AS_STRNLEN): New macro.
22149 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22151 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22152 * sysdeps/x86_64/wcslen.S: New file.
22153
979c70a3
MZ
221542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22155
22156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22157 XMM-moves are used for copying on small sizes.
22158
2d09f82f
LD
221592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22160
22161 * wcsmbs/Makefile (strop-tests): Add wcschr.
22162 * wcsmbs/test-wcschr.c: New file.
22163 * string/test-strchr.c: Update.
22164 Add wcschr support.
22165 (WIDE): New macro.
22166
619fccca
LD
221672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22168
2d09f82f 22169 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22170 * wcsmbs/test-wcslen.c: New file.
22171 * string/test-strlen.c: Update.
22172 Add wcslen support.
22173 (WIDE): New macro.
22174
09f699ea
UD
221752011-10-23 Ulrich Drepper <drepper@gmail.com>
22176
22177 * po/it.po: Update from translation team.
22178
95584d3b
LD
221792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22180
22181 * sysdeps/x86_64/wcscmp.S: Update.
22182 Fix wrong comparison semantics.
22183 wcscmp shall use signed comparison not unsigned.
22184 Don't use substraction to avoid overflow bug.
22185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22186 * wcsmbc/wcscmp.c: Likewise.
22187 * string/test-strcmp.c: Likewise.
22188 Add new tests to check cases with negative values.
22189
c8b3296b
UD
221902011-10-23 Ulrich Drepper <drepper@gmail.com>
22191
22192 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22193 * sysdeps/x86_64/dla.h: ...here. New file.
22194 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22203
246ad57a
AS
222042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22205
22206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22207 __ynl_finite aliases.
22208
a1a87169
UD
222092011-10-22 Ulrich Drepper <drepper@gmail.com>
22210
0d355eb7
UD
22211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22212
a1a87169
UD
22213 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22214 define DLA_FMA.
22215 [DLA_FMA] (EMULV): Use DLA_FMA.
22216 [DLA_FMA] (MUL12): Use EMULV.
22217 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22218 that are not needed.
22219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22226
ee2aafe0
AS
222272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22228
22229 * math/s_nan.c: Undef __nan.
22230 * math/s_nanf.c: Undef __nanf.
22231 * math/s_nanl.c: Undef __nanl.
22232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22233 "math_private.h".
22234
bc62c2fb
UD
222352011-10-22 Ulrich Drepper <drepper@gmail.com>
22236
77425c63
UD
22237 * math/s_catan.c: Add branch predictions.
22238 * math/s_catanf.c: Likewise.
22239 * math/s_catanh.c: Likewise.
22240 * math/s_catanhf.c: Likewise.
22241 * math/s_catanhl.c: Likewise.
22242 * math/s_catanl.c: Likewise.
22243 * math/s_cexp.c: Likewise.
22244 * math/s_cexpf.c: Likewise.
22245 * math/s_cexpl.c: Likewise.
22246 * math/s_clog.c: Likewise.
22247 * math/s_clog10.c: Likewise.
22248 * math/s_clog10f.c: Likewise.
22249 * math/s_clog10l.c: Likewise.
22250 * math/s_clogf.c: Likewise.
22251 * math/s_clogl.c: Likewise.
22252 * math/s_csqrt.c: Likewise.
22253 * math/s_csqrtf.c: Likewise.
22254 * math/s_csqrtl.c: Likewise.
22255 * math/s_ctanf.c: Likewise.
22256 * math/s_ctanh.c: Likewise.
22257 * math/s_ctanhf.c: Likewise.
22258 * math/s_ctanhl.c: Likewise.
22259 * math/s_ctanl.c: Likewise.
22260
bc62c2fb
UD
22261 * math/math_private.h: Define __nan, __nanf, __nanl.
22262 * math/s_cacosh.c: Include <math_private.h>.
22263 * math/s_cacoshl.c: Likewise.
22264 * math/s_casinh.c: Likewise.
22265 * math/s_casinhf.c: Likewise.
22266 * math/s_casinhl.c: Likewise.
22267 * math/s_ccos.c: Rely entire on ccosh.
22268 * math/s_ccosf.c: Rely entire on ccoshf.
22269 * math/s_ccosl.c: Rely entirely on ccoshl.
22270 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22271 Remove tests for FE_INVALID.
22272 * math/s_ccoshf.c: Likewise.
22273 * math/s_ccoshl.c: Likewise.
22274 * math/s_csin.c: Likewise.
22275 * math/s_csinf.c: Likewise.
22276 * math/s_csinh.c Likewise.
22277 * math/s_csinhf.c: Likewise.
22278 * math/s_csinhl.c: Likewise.
22279 * math/s_csinl.c: Likewise.
22280 * math/s_ctan.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22282 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22284
8ec250a4
UD
222852011-10-21 Ulrich Drepper <drepper@gmail.com>
22286
c196fed8
UD
22287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22288 compilation problems.
22289
8ec250a4
UD
22290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22291 __builtin_expect.
22292
8d4f46c6
UD
222932011-10-20 Ulrich Drepper <drepper@gmail.com>
22294
ed72b654
UD
22295 * sysdeps/i386/configure.in: Test for -mfma4 option.
22296 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22297 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22298 COMMON_CPUID_INDEX_80000001.
22299 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22300 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22301 use it if FMA3 is not supported.
22302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22303
8d4f46c6
UD
22304 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22306
d45c60c2
AS
223072011-10-20 Andreas Schwab <schwab@redhat.com>
22308
22309 [BZ #12892]
22310 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22311 it would create a cycle with a link time dependency.
22312
d9a4d2ab
UD
223132011-10-19 Ulrich Drepper <drepper@gmail.com>
22314
855d1560
UD
22315 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22316 instruction.
22317 * string/Makefile (strop-tests): Add rawmemchr.
22318 * string/test-rawmemchr.c: New file.
22319
d9a4d2ab
UD
22320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22322 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22323 when compiling str{,n}casecmp and when AVX is available. Hook up
22324 new optimized code in initializers.
22325
8f3b1ffe
AS
223262011-10-19 Andreas Schwab <schwab@redhat.com>
22327
22328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22329 __feraiseexcept instead of feraiseexcept.
22330
d38f1dba
UD
223312011-10-18 Ulrich Drepper <drepper@gmail.com>
22332
d9a8d0ab
UD
22333 * math/math_private.h: Define defaults for libc_fetestexcept and
22334 libc_feupdateenv.
22335 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22337 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22338 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22340 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22341 libc_fetestexcept and libc_feupdateenv.
22342
4855e3dd
UD
22343 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22344 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22345 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22346 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22347 libc_feholdexcept_setround.
22348
581d30e3
UD
22349 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22350 Add s_nearbyint-c and s_nearbyintf-c.
22351 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22352 nearbyintf inlines.
22353 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22357
d38f1dba
UD
22358 * math/math_private.h: Define defaults for libc_fegetround,
22359 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22360 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22361 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22363 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22364 standard functions.
22365 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22366 Remove comments and hacks for old compiler versions.
22367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22368 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22369 libc_feholdexceptl.
22370
caa6c9d8
AS
223712011-10-18 Andreas Schwab <schwab@redhat.com>
22372
22373 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22374 (__feraiseexcept_renamed): Add __NTH.
22375 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22376 namespace violations.
22377
97c066e6
UD
223782011-10-17 Ulrich Drepper <drepper@gmail.com>
22379
99ce7b04
UD
22380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22381
1004d182
UD
22382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22383
228a984d
UD
22384 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22385 recently added interfaces.
22386 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22387
c8553a6a
UD
22388 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22389 about macro parameter expansion.
22390
ed22dcf6
UD
22391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22392 __NO_MATH_INLINES is defined. Cleanups.
22393
22394 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22395 and __floorf is target has SSE4.1.
22396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22397 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22398 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22399 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22400
b171c137
UD
22401 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22402 name.
22403 (floorf): Likewise.
22404
97c066e6
UD
22405 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22406
629f62ef
AS
224072011-10-17 Andreas Schwab <schwab@redhat.com>
22408
49a43d80
AS
22409 * misc/sys/cdefs.h: Fix last change.
22410
629f62ef
AS
22411 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22412 database lookup.
22413
e453f6cd
UD
224142011-10-16 Ulrich Drepper <drepper@gmail.com>
22415
aa78043a
UD
22416 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22417
ad0f5cad
UD
22418 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22426 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22428 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22430 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22432 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22433 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22435 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22439 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22440
22441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22442 ceil, ceilf, floor, floorf.
22443
22444 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22445 Perform IRELATIVE relocations last.
22446
e453f6cd
UD
22447 * elf/do-rel.h: Add another parameter nrelative, replacing the
22448 local variable with the same name. Change name of the function
22449 to end in Rel or Rela (uppercase).
22450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22451 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22452 elf_dynamic_do_##reloc function.
22453
fd5bdc09
UD
224542011-10-15 Ulrich Drepper <drepper@gmail.com>
22455
79b195b5
UD
22456 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22457 is sufficient, at least on modern CPUs.
22458
d4a28569
UD
22459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22460
b61099b5
UD
22461 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22463
bcf01e6d
UD
22464 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22465 __expl_finite.
22466 * math/bits/math-finite.h: Add entries for exp.
22467 * math/e_expl.c: Add __*_finite alias.
22468 * sysdeps/i386/fpu/e_exp.S: Likewise.
22469 * sysdeps/i386/fpu/e_expf.S: Likewise.
22470 * sysdeps/i386/fpu/e_expl.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22478
ba1a0d59
UD
22479 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22480 is sufficient, at least on modern CPUs.
22481
fd5bdc09
UD
22482 * ctype/ctype-info.c (__ctype_init): Define.
22483 * include/ctype.h (__ctype_init): Declare.
22484 (__ctype_b_loc): The variable is always initialized.
22485 (__ctype_toupper_loc): Likewise.
22486 (__ctype_tolower_loc): Likewise.
22487 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22488 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22489
7872cfb0
AS
224902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22491
b468825a
AS
22492 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22493
7872cfb0
AS
22494 * configure.in: Also look in $cxxmachine/include for C++ system
22495 headers.
22496
be13f7bf
LD
224972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22498
22499 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22500 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22501 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22502 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22504 (USE_AS_WMEMCMP): New macro.
22505 Fixing indents.
22506 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22507 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22508 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22509 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22511 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22512 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22514 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22515 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22517 (USE_AS_WMEMCMP): New macro.
22518 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22519 * sysdeps/string/test-memcmp.c: Update.
22520 Fix simple_wmemcmp.
22521 Add new tests.
22522 * wcsmbs/wmemcmp.c: Update.
22523 (WMEMCMP): New macro.
22524 Fix overflow bug.
22525
556a2007
AJ
225262011-10-12 Andreas Jaeger <aj@suse.de>
22527
22528 [BZ #13268]
22529 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22530
538faaa7
UD
225312011-10-15 Ulrich Drepper <drepper@gmail.com>
22532
ab6737ff
UD
22533 * libio/iofwide.c (do_length): Avoid warning.
22534
538faaa7
UD
22535 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22536
396a21b1
UD
225372011-10-14 Ulrich Drepper <drepper@gmail.com>
22538
cdf2901f
UD
22539 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22540
38ad40ce
UD
22541 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22542 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22543 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22544 * sysdeps/i386/i686/fpu/e_log.S: New file.
22545 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22546 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22547
396a21b1
UD
22548 * ctype/ctype.h: Add support for inlined isXXX functions when
22549 compiling C++ code.
22550
6b1f68c9
AS
225512011-10-14 Andreas Schwab <schwab@redhat.com>
22552
349290c0
AS
22553 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22554
6b1f68c9
AS
22555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22556
f2282d42
RM
225572011-10-13 Roland McGrath <roland@hack.frob.com>
22558
22559 [BZ #13291]
22560 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22561
5298ffa8
AS
225622011-10-13 Andreas Schwab <schwab@redhat.com>
22563
714fad23
AS
22564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22565 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22566 feraiseexcept.
22567
81dcc7fb
AS
22568 * sysdeps/x86_64/memrchr.S: Check for zero size.
22569
5298ffa8
AS
22570 * string/stratcliff.c: Add memrchr tests.
22571
951fbcec
LD
225722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22573
22574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22575 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22576 rawmemchr-sse2 rawmemchr-sse2-bsf.
22577 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22580 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22581 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22582 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22583 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22584 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22585 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22587 * string/memrchr.c (MEMRCHR): New macro.
22588
0ac5ae23
UD
225892011-10-12 Ulrich Drepper <drepper@gmail.com>
22590
22591 Add integration with gcc's -ffinite-math-only and optimize wrapper
22592 functions in libm.
22593 * Versions.def: Define GLIBC_2.15 version for libm.
22594 * math/Makefile (headers): Add bits/math-finite.h.
22595 * math/bits/math-finite.h: New file.
22596 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22597 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22598 * math/e_acoshl.c: Add __*_finite alias.
22599 * math/e_acosl.c: Likewise.
22600 * math/e_asinl.c: Likewise.
22601 * math/e_atan2l.c: Likewise.
22602 * math/e_atanhl.c: Likewise.
22603 * math/e_coshl.c: Likewise.
22604 * math/e_exp10.c: Likewise.
22605 * math/e_exp10f.c: Likewise.
22606 * math/e_exp10l.c: Likewise.
22607 * math/e_exp2l.c: Likewise.
22608 * math/e_fmodl.c: Likewise.
22609 * math/e_gammal_r.c: Likewise.
22610 * math/e_hypotl.c: Likewise.
22611 * math/e_j0l.c: Likewise.
22612 * math/e_j1l.c: Likewise.
22613 * math/e_jnl.c: Likewise.
22614 * math/e_lgammal_r.c: Likewise.
22615 * math/e_log10l.c: Likewise.
22616 * math/e_log2l.c: Likewise.
22617 * math/e_logl.c: Likewise.
22618 * math/e_powl.c: Likewise.
22619 * math/e_sinhl.c: Likewise.
22620 * math/e_sqrtl.c: Likewise.
22621 * math/e_scalb.c: Completely rewritten and optimized.
22622 * math/e_scalbf.c: Likewise.
22623 * math/e_scalbl.c: Likewise.
22624 * math/w_acos.c: Likewise.
22625 * math/w_acosf.c: Likewise.
22626 * math/w_acosl.c: Likewise.
22627 * math/w_acosh.c: Likewise.
22628 * math/w_acoshf.c: Likewise.
22629 * math/w_acoshl.c: Likewise.
22630 * math/w_asin.c: Likewise.
22631 * math/w_asinf.c: Likewise.
22632 * math/w_asinl.c: Likewise.
22633 * math/w_atan2.c: Likewise.
22634 * math/w_atan2f.c: Likewise.
22635 * math/w_atan2l.c: Likewise.
22636 * math/w_atanh.c: Likewise.
22637 * math/w_atanhf.c: Likewise.
22638 * math/w_atanhl.c: Likewise.
22639 * math/w_exp10.c: Likewise.
22640 * math/w_exp10f.c: Likewise.
22641 * math/w_exp10l.c: Likewise.
22642 * math/w_fmod.c: Likewise.
22643 * math/w_fmodf.c: Likewise.
22644 * math/w_fmodl.c: Likewise.
22645 * math/w_j0.c: Likewise.
22646 * math/w_j0f.c: Likewise.
22647 * math/w_j0l.c: Likewise.
22648 * math/w_j1.c: Likewise.
22649 * math/w_j1f.c: Likewise.
22650 * math/w_j1l.c: Likewise.
22651 * math/w_jn.c: Likewise.
22652 * math/w_jnf.c: Likewise.
22653 * math/w_log.c: Likewise.
22654 * math/w_logf.c: Likewise.
22655 * math/w_logl.c: Likewise.
22656 * math/w_log10.c: Likewise.
22657 * math/w_log10f.c: Likewise.
22658 * math/w_log10l.c: Likewise.
22659 * math/w_log2.c: Likewise.
22660 * math/w_log2f.c: Likewise.
22661 * math/w_log2l.c: Likewise.
22662 * math/w_pow.c: Likewise.
22663 * math/w_powf.c: Likewise.
22664 * math/w_powl.c: Likewise.
22665 * math/w_remainder.c: Likewise.
22666 * math/w_remainderf.c: Likewise.
22667 * math/w_remainderl.c: Likewise.
22668 * math/w_scalb.c: Likewise.
22669 * math/w_scalbf.c: Likewise.
22670 * math/w_scalbl.c: Likewise.
22671 * math/w_sqrt.c: Likewise.
22672 * math/w_sqrtf.c: Likewise.
22673 * math/w_sqrtl.c: Likewise.
22674 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22675 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22676 used.
22677 * math/math_private.h: Declare __kernel_standard_f.
22678 * math/w_cosh.c: Remove cruft and optimize a bit.
22679 * math/w_coshf.c: Likewise.
22680 * math/w_coshl.c: Likewise.
22681 * math/w_exp2.c: Likewise.
22682 * math/w_exp2f.c: Likewise.
22683 * math/w_exp2l.c: Likewise.
22684 * math/w_hypot.c: Likewise.
22685 * math/w_hypotf.c: Likewise.
22686 * math/w_hypotl.c: Likewise.
22687 * math/w_lgamma.c: Likewise.
22688 * math/w_lgamma_r.c: Likewise.
22689 * math/w_lgammaf.c: Likewise.
22690 * math/w_lgammaf_r.c: Likewise.
22691 * math/w_lgammal.c: Likewise.
22692 * math/w_lgammal_r.c: Likewise.
22693 * math/w_sinh.c: Likewise.
22694 * math/w_sinhf.c: Likewise.
22695 * math/w_sinhl.c: Likewise.
22696 * math/w_tgamma.c: Likewise.
22697 * math/w_tgammaf.c: Likewise.
22698 * math/w_tgammal.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22701 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22702 Minor optimizations. Pretty printing. Remove cruft.
22703 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22707 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22708 * sysdeps/i386/fpu/e_asin.S: Likewise.
22709 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22710 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22711 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22712 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22716 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22717 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22718 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22719 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22720 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22721 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22722 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22723 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22724 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22725 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22726 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22727 * sysdeps/i386/fpu/e_log.S: Likewise.
22728 * sysdeps/i386/fpu/e_log10.S: Likewise.
22729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22731 * sysdeps/i386/fpu/e_log2.S: Likewise.
22732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22734 * sysdeps/i386/fpu/e_logf.S: Likewise.
22735 * sysdeps/i386/fpu/e_logl.S: Likewise.
22736 * sysdeps/i386/fpu/e_pow.S: Likewise.
22737 * sysdeps/i386/fpu/e_powf.S: Likewise.
22738 * sysdeps/i386/fpu/e_powl.S: Likewise.
22739 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22740 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22741 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22745 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22746 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22747 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22841 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22845 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22846 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22847 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22848 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22849 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22850 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22851 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22856 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22858 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22859 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22860 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22861 (__isnanf): Likewise.
22862 (__isinf_ns): Likewise.
22863 (__isinf_nsf): Likewise.
22864 (__finite): Likewise.
22865 (__finitef): Likewise.
22866 (__ieee754_sqrt): Define as macro.
22867 (__ieee754_sqrtf): Define as macro.
22868 (__ieee754_sqrtl): Define as macro.
22869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22870 inlined copy.
22871 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22872 __FINITE_MATH_ONLY__ consistent.
22873 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22874
12cc2fcd
AS
228752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22876
a843a204
AS
22877 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22878 of rawmemchr.
22879
12cc2fcd
AS
22880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22881
c853acd5
UD
228822011-10-09 Ulrich Drepper <drepper@gmail.com>
22883
22884 * po/ja.po: Update from translation team.
22885
c658d255
RM
228862011-10-08 Roland McGrath <roland@hack.frob.com>
22887
110946e4
RM
22888 * locale/programs/locarchive.c (prepare_address_space): New function.
22889 (create_archive, enlarge_archive, open_archive): Use it.
22890
50604220
RM
22891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22892 inside [SHARED], where it is used.
22893
c658d255
RM
22894 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22895
22896 * nss/getent.c (netgroup_keys): Remove unused variable.
22897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22898
6a621eb7
UD
228992011-10-08 Ulrich Drepper <drepper@gmail.com>
22900
7edb55ce
UD
22901 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22906 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22907 * math/Makefile (libm-calls): Add s_isinf_ns.
22908 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22909 * math/multc3.c: Likewise.
22910 * math/s_casin.c: Likewise.
22911 * math/s_casinf.c: Likewise.
22912 * math/s_casinl.c: Likewise.
22913 * math/s_ccos.c: Likewise.
22914 * math/s_ccosf.c: Likewise.
22915 * math/s_ccosl.c: Likewise.
22916 * math/s_ctan.c: Likewise.
22917 * math/s_ctanf.c: Likewise.
22918 * math/s_ctanh.c: Likewise.
22919 * math/s_ctanhf.c: Likewise.
22920 * math/s_ctanhl.c: Likewise.
22921 * math/s_ctanl.c: Likewise.
22922 * math/w_fmod.c: Likewise.
22923 * math/w_fmodf.c: Likewise.
22924 * math/w_fmodl.c: Likewise.
22925 * math/w_remainder.c: Likewise.
22926 * math/w_remainderf.c: Likewise.
22927 * math/w_remainderl.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22929 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22932 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22933 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22934 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22935 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22936
187da0ae
UD
22937 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22938 of the number.
22939 * stdio-common/printf_fphex.c: Likewise.
22940 * stdio-common/printf_size.c: Likewise.
22941
9277c064
UD
22942 * math/e_exp10.c: Include math_private.h using <...> not "...".
22943 * math/e_exp10f.c: Likewise.
22944 * math/e_exp10l.c: Likewise.
22945 * math/e_exp2l.c: Likewise.
22946 * math/e_j0l.c: Likewise.
22947 * math/e_j1l.c: Likewise.
22948 * math/e_jnl.c: Likewise.
22949 * math/e_lgammal_r.c: Likewise.
22950 * math/e_rem_pio2l.c: Likewise.
22951 * math/e_scalb.c: Likewise.
22952 * math/e_scalbf.c: Likewise.
22953 * math/e_scalbl.c: Likewise.
22954 * math/k_cosl.c: Likewise.
22955 * math/k_sinl.c: Likewise.
22956 * math/k_tanl.c: Likewise.
22957 * math/s_cacoshf.c: Likewise.
22958 * math/s_catan.c: Likewise.
22959 * math/s_catanf.c: Likewise.
22960 * math/s_catanh.c: Likewise.
22961 * math/s_catanhf.c: Likewise.
22962 * math/s_catanhl.c: Likewise.
22963 * math/s_catanl.c: Likewise.
22964 * math/s_ccosh.c: Likewise.
22965 * math/s_ccoshf.c: Likewise.
22966 * math/s_ccoshl.c: Likewise.
22967 * math/s_cexp.c: Likewise.
22968 * math/s_cexpf.c: Likewise.
22969 * math/s_cexpl.c: Likewise.
22970 * math/s_clog.c: Likewise.
22971 * math/s_clog10.c: Likewise.
22972 * math/s_clog10f.c: Likewise.
22973 * math/s_clog10l.c: Likewise.
22974 * math/s_clogf.c: Likewise.
22975 * math/s_clogl.c: Likewise.
22976 * math/s_csin.c: Likewise.
22977 * math/s_csinf.c: Likewise.
22978 * math/s_csinh.c: Likewise.
22979 * math/s_csinhf.c: Likewise.
22980 * math/s_csinhl.c: Likewise.
22981 * math/s_csinl.c: Likewise.
22982 * math/s_csqrt.c: Likewise.
22983 * math/s_csqrtf.c: Likewise.
22984 * math/s_csqrtl.c: Likewise.
22985 * math/s_ctan.c: Likewise.
22986 * math/s_ctanf.c: Likewise.
22987 * math/s_ctanh.c: Likewise.
22988 * math/s_ctanhf.c: Likewise.
22989 * math/s_ctanhl.c: Likewise.
22990 * math/s_ctanl.c: Likewise.
22991 * math/s_ldexp.c: Likewise.
22992 * math/s_ldexpf.c: Likewise.
22993 * math/s_ldexpl.c: Likewise.
22994 * math/s_significand.c: Likewise.
22995 * math/s_significandf.c: Likewise.
22996 * math/s_significandl.c: Likewise.
22997 * math/w_acos.c: Likewise.
22998 * math/w_acosf.c: Likewise.
22999 * math/w_acosh.c: Likewise.
23000 * math/w_acoshf.c: Likewise.
23001 * math/w_acoshl.c: Likewise.
23002 * math/w_acosl.c: Likewise.
23003 * math/w_asin.c: Likewise.
23004 * math/w_asinf.c: Likewise.
23005 * math/w_asinl.c: Likewise.
23006 * math/w_atan2.c: Likewise.
23007 * math/w_atan2f.c: Likewise.
23008 * math/w_atan2l.c: Likewise.
23009 * math/w_atanh.c: Likewise.
23010 * math/w_atanhf.c: Likewise.
23011 * math/w_atanhl.c: Likewise.
23012 * math/w_cosh.c: Likewise.
23013 * math/w_coshf.c: Likewise.
23014 * math/w_coshl.c: Likewise.
23015 * math/w_dremf.c: Likewise.
23016 * math/w_exp10.c: Likewise.
23017 * math/w_exp10f.c: Likewise.
23018 * math/w_exp10l.c: Likewise.
23019 * math/w_exp2.c: Likewise.
23020 * math/w_exp2f.c: Likewise.
23021 * math/w_fmod.c: Likewise.
23022 * math/w_fmodf.c: Likewise.
23023 * math/w_fmodl.c: Likewise.
23024 * math/w_hypot.c: Likewise.
23025 * math/w_hypotf.c: Likewise.
23026 * math/w_hypotl.c: Likewise.
23027 * math/w_j0.c: Likewise.
23028 * math/w_j0f.c: Likewise.
23029 * math/w_j0l.c: Likewise.
23030 * math/w_j1.c: Likewise.
23031 * math/w_j1f.c: Likewise.
23032 * math/w_j1l.c: Likewise.
23033 * math/w_jn.c: Likewise.
23034 * math/w_jnf.c: Likewise.
23035 * math/w_jnl.c: Likewise.
23036 * math/w_lgamma.c: Likewise.
23037 * math/w_lgamma_r.c: Likewise.
23038 * math/w_lgammaf.c: Likewise.
23039 * math/w_lgammaf_r.c: Likewise.
23040 * math/w_lgammal.c: Likewise.
23041 * math/w_lgammal_r.c: Likewise.
23042 * math/w_log.c: Likewise.
23043 * math/w_log10.c: Likewise.
23044 * math/w_log10f.c: Likewise.
23045 * math/w_log10l.c: Likewise.
23046 * math/w_log2.c: Likewise.
23047 * math/w_log2f.c: Likewise.
23048 * math/w_log2l.c: Likewise.
23049 * math/w_logf.c: Likewise.
23050 * math/w_logl.c: Likewise.
23051 * math/w_pow.c: Likewise.
23052 * math/w_powf.c: Likewise.
23053 * math/w_powl.c: Likewise.
23054 * math/w_remainder.c: Likewise.
23055 * math/w_remainderf.c: Likewise.
23056 * math/w_remainderl.c: Likewise.
23057 * math/w_scalb.c: Likewise.
23058 * math/w_scalbf.c: Likewise.
23059 * math/w_scalbl.c: Likewise.
23060 * math/w_sinh.c: Likewise.
23061 * math/w_sinhf.c: Likewise.
23062 * math/w_sinhl.c: Likewise.
23063 * math/w_sqrt.c: Likewise.
23064 * math/w_sqrtf.c: Likewise.
23065 * math/w_sqrtl.c: Likewise.
23066 * math/w_tgamma.c: Likewise.
23067 * math/w_tgammaf.c: Likewise.
23068 * math/w_tgammal.c: Likewise.
23069
6a621eb7
UD
23070 * po/ja.po: Update from translation team.
23071
bf582445
AJ
230722011-09-29 Andreas Jaeger <aj@suse.de>
23073
f9efbf3a
AJ
23074 [BZ #13179]
23075 * sunrpc/netname.c (netname2host): Fix logic.
23076
bf582445
AJ
23077 [BZ #6779]
23078 [BZ #6783]
23079 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23080 correctly.
23081 * math/w_remainder.c (__remainder): Likewise.
23082 * math/w_remainderf.c (__remainderf): Likewise.
23083 * math/libm-test.inc (remainder_test): Add test cases.
23084
48693bea
AK
230852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23086
23087 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23088 sdiv_qrnnd.
23089
42622229
LD
230902011-10-07 Ulrich Drepper <drepper@gmail.com>
23091
23092 * string/test-memcmp.c: Avoid unncessary #defines.
23093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23094
093ecf92
LD
230952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23096
23097 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23098 Use new sse2 version for core i3 - i7 as it's faster
23099 than sse42 version.
23100 (bit_Prefer_PMINUB_for_stringop): New.
23101 * sysdeps/x86_64/rawmemchr.S: Update.
23102 Replace with faster SSE2 version.
23103 * sysdeps/x86_64/memrchr.S: New file.
23104 * sysdeps/x86_64/memchr.S: Update.
23105 Replace with faster SSE2 version.
23106
fde56e5c
MP
231072011-09-12 Marek Polacek <mpolacek@redhat.com>
23108
23109 * elf/dl-load.c (lose): Add cast to avoid warning.
23110
21fd49a9
UD
231112011-10-07 Ulrich Drepper <drepper@gmail.com>
23112
5a06e643
UD
23113 * po/ca.po: Update from translation team.
23114
684ae515
UD
23115 * inet/getnetgrent_r.c: Hook up nscd.
23116 * nscd/Makefile (routines): Add nscd_netgroup.
23117 (nscd-modules): Add netgroupcache.
23118 (CFLAGS-netgroupcache.c): Define.
23119 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23120 (cache_search): Add const to second parameter.
23121 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23122 INNETGR.
23123 (dbs): Add netgrdb entry.
23124 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23125 (verify_persistent_db): Handle netgrdb.
23126 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23127 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23128 GETFDNETGR.
23129 (netgroup_response_header): Define.
23130 (innetgroup_response_header): Define.
23131 (datahead): Add netgroup_response_header and innetgroup_response_header
23132 elements.
23133 * nscd/nscd.conf: Add entries for netgroup cache.
23134 * nscd/nscd.h (dbtype): Add netgrdb.
23135 (_PATH_NSCD_NETGROUP_DB): Define.
23136 (netgroup_iov_disabled): Declare.
23137 (xmalloc, xcalloc, xrealloc): Move declarations here.
23138 (cache_search): Adjust prototype.
23139 Add netgroup-related prototypes.
23140 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23141 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23142 (__nscd_innetgr): Declare.
23143 * nscd/selinux.c (perms): Use access_vector_t as element type and
23144 add netgroup-related initializers.
23145 * nscd/netgroupcache.c: New file.
23146 * nscd/nscd_netgroup.c: New file.
23147 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23148 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23149 For four parameters use innetgr.
23150 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23151 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23152 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23153 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23154
21fd49a9
UD
23155 * nscd/connections.c (register_traced_file): Don't register file
23156 for disabled databases.
23157
054c0457
UD
231582011-10-06 Ulrich Drepper <drepper@gmail.com>
23159
32b63198
UD
23160 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23161
054c0457
UD
23162 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23163 from tree and freeing node.
23164
64031225
JO
231652011-09-25 Jiri Olsa <jolsa@redhat.com>
23166
23167 * nss/nsswitch.c (__nss_database_lookup): Handle
23168 nss_parse_service_list out of memory case.
23169
0490345c
JO
231702011-09-15 Jiri Olsa <jolsa@redhat.com>
23171
23172 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23173 out of memory case.
23174
3a62d00d
AS
231752011-10-04 Andreas Schwab <schwab@redhat.com>
23176
23177 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23178 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23179 pass it down.
23180 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23181 elf_machine_rela, elf_machine_lazy_rel.
23182 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23183 (ELF_DYNAMIC_DO_REL): Likewise.
23184 (ELF_DYNAMIC_DO_RELA): Likewise.
23185 (ELF_DYNAMIC_RELOCATE): Likewise.
23186 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23187 to ELF_DYNAMIC_DO_REL.
23188 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23189 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23190 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23191 elf_machine_rela.
23192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23193 skip_ifunc, don't call ifunc function if non-zero.
23194 (elf_machine_rela): Likewise.
23195 (elf_machine_lazy_rel): Likewise.
23196 (elf_machine_lazy_rela): Likewise.
23197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23198 (elf_machine_lazy_rel): Likewise.
23199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23200 Likewise.
23201 (elf_machine_lazy_rel): Likewise.
23202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23203 Likewise.
23204 (elf_machine_lazy_rel): Likewise.
23205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23206 (elf_machine_lazy_rel): Likewise.
23207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23208 (elf_machine_lazy_rel): Likewise.
23209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23210 (elf_machine_lazy_rel): Likewise.
23211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23212 (elf_machine_lazy_rel): Likewise.
23213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23214 (elf_machine_lazy_rel): Likewise.
23215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23216 (elf_machine_lazy_rel): Likewise.
23217
68577918
UD
232182011-09-28 Ulrich Drepper <drepper@gmail.com>
23219
23220 * nss/nss_files/files-init.c (_nss_files_init): Use static
23221 initialization for all the *_traced_file variables.
23222
68822d74
AS
232232011-09-28 Andreas Schwab <schwab@redhat.com>
23224
23225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23226
2056100b
RM
232272011-09-27 Roland McGrath <roland@hack.frob.com>
23228
23229 [BZ #13226]
23230 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23231
32c76b63
AS
232322011-09-27 Andreas Schwab <schwab@redhat.com>
23233
23234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23235 Reread the line before reparsing it.
23236
bf972c9d
AS
232372011-09-26 Andreas Schwab <schwab@redhat.com>
23238
23239 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23240
e057a1b5
JM
232412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23242 Maxim Kuvyrkov <maxim@codesourcery.com>
23243 Joseph Myers <joseph@codesourcery.com>
23244
23245 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23246 if needed for __stack_chk_guard.
23247
bc7e1c36
RM
232482011-09-19 Roland McGrath <roland@hack.frob.com>
23249
ecb1482f
RM
23250 * sysdeps/posix/spawni.c (script_execute): Always define it.
23251 It will be optimized away if unused.
23252 (maybe_script_execute): New function.
23253 (__spawni): Call it.
23254
bc7e1c36
RM
23255 * Makerules: Don't include tls.make.
23256 (config-tls): Always set to thread.
23257 * tls.make.c: File removed.
23258
1c3b002b
MF
232592011-09-19 Mike Frysinger <vapier@gentoo.org>
23260
23261 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23262 * config.make.in (CPPFLAGS-config): New substituted variable.
23263
2840865d
UD
232642011-09-15 Ulrich Drepper <drepper@gmail.com>
23265
88738eb6
UD
23266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23267
cbf645a6 23268 [BZ #13192]
2840865d
UD
23269 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23270 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23271
b402e91a
RM
232722011-09-15 Roland McGrath <roland@hack.frob.com>
23273
23274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23275 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23277 (CALL_FAIL): Likewise.
23278 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23279 (CALL_FAIL): Macro removed.
23280 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23281
4c1a1f71
UD
232822011-09-15 Ulrich Drepper <drepper@gmail.com>
23283
23284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23285 for __FINITE_MATH_ONLY__ == 1.
23286
edc121be
AS
232872011-09-15 Andreas Schwab <schwab@redhat.com>
23288
23289 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23290 __ieee754_sqrt instead of sqrt.
23291 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23292 __ieee754_sqrtf instead of sqrtf.
23293 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23294 __floorf instead of floorf.
23295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23296 __floorf, __truncf instead of floorf, truncf.
23297
cd205654
UD
232982011-09-14 Ulrich Drepper <drepper@gmail.com>
23299
ee4d0315
UD
23300 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23301
cd205654
UD
23302 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23303 __extern_always_inline.
23304 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23305 32-bit.
23306
48b67d71
AS
233072011-09-14 Andreas Schwab <schwab@redhat.com>
23308
23309 * elf/rtld.c (dl_main): Also relocate in dependency order when
23310 doing symbol dependency testing.
23311
1ae12c75
AS
233122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23313
23314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23315 Always define `refsym'.
23316
995a80df
AS
233172011-09-13 Andreas Schwab <schwab@redhat.com>
23318
e529793b
AS
23319 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23320 (__FD_ELT): Renamed from __FDELT.
23321 * misc/bits/select2.h (__FD_ELT): Likewise.
23322 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23323 __FD_MASK instead of __FDELT, __FDMASK.
23324 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23325 Likewise.
23326 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23327 Likewise.
23328
52d4fef8
AS
23329 * elf/Makefile (gen-ldd): Fix pattern.
23330
995a80df
AS
23331 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23332 (init_tls): Likewise.
23333
8682f8b0
UD
233342011-09-12 Ulrich Drepper <drepper@gmail.com>
23335
23336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23337
de82006d
AS
233382011-09-12 Andreas Schwab <schwab@redhat.com>
23339
a7c8e6a1
AS
23340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23341 `struct cmsghdr *' instead of `void *'.
23342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23343 Likewise.
23344
0f31fe77
AS
233452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23346
23347 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23348 if non-absolute.
23349 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23350 ldd_rewrite_script.
0f31fe77 23351
32b4c839
UD
233522011-09-11 Ulrich Drepper <drepper@gmail.com>
23353
83cd1420
UD
23354 * configure.in: Remove --with-tls option.
23355 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23356 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23357 out in case it is missing.
23358 * sysdeps/ia64/elf/configure.in: Likewise.
23359 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23360 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23361 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23362 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23363 * sysdeps/sh/elf/configure.in: Likewise.
23364 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23366 * sysdeps/x86_64/elf/configure.in: Likewise.
23367 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23368 * sysdeps/mach/hurd/tls.h: Likewise.
23369
633f745d
UD
23370 [BZ #13067]
23371 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23372
f318beb8
UD
23373 [BZ #13090]
23374 * configure.in: Fix use of AC_INIT.
23375
32b4c839
UD
23376 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23377
3ce1f295
UD
233782011-09-10 Ulrich Drepper <drepper@gmail.com>
23379
bb016596
UD
23380 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23381 __set_errno.
8e58439c
UD
23382 * malloc/hooks.c: Likewise.
23383
aebae053 23384 [BZ #11929]
02d46fc4
UD
23385 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23386 variables statically.
23387 (narenas): Initialize.
23388 (list_lock): Initialize.
bb016596
UD
23389 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23390 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23391 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23392 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23393 Add initializers to main_arena and mp_.
23394 (malloc_state): Remove pagesize member. Change all users to use
23395 GLRO(dl_pagesize).
23396
23397 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23398 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23399 is always initialized.
23400
22a89187
UD
23401 * malloc/malloc.c: Removed unused configurations and dead code.
23402 * malloc/arena.c: Likewise.
23403 * malloc/hooks.c: Likewise.
02d46fc4 23404 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23405
d063d164
UD
23406 * include/tls.h: Removed. USE___THREAD must always be defined.
23407 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23408 * elf/dl-libc.c: Likewise.
23409 * elf/dl-tsd.c: Likewise.
23410 * include/errno.h: Likewise.
23411 * include/netdb.h: Likewise.
23412 * include/resolv.h: Likewise.
23413 * inet/herrno-loc.c: Likewise.
23414 * inet/herrno.c: Likewise.
23415 * malloc/arena.c: Likewise.
23416 * malloc/hooks.c: Likewise.
23417 * malloc/malloc.c: Likewise.
23418 * resolv/res-state.c: Likewise.
23419 * resolv/res_libc.c: Likewise.
23420 * sysdeps/i386/dl-machine.h: Likewise.
23421 * sysdeps/ia64/dl-machine.h: Likewise.
23422 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23423 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23424 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23425 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23426 * sysdeps/sh/dl-machine.h: Likewise.
23427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23429 * sysdeps/unix/i386/sysdep.S: Likewise.
23430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23431 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23441 * sysdeps/x86_64/dl-machine.h: Likewise.
23442 * tls.make.c: Likewise.
23443
3ce1f295
UD
23444 * configure.in: Remove --with-__thread option. Make tests for
23445 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23446 tls_model attribute fail if no support is available. Remove
23447 USE_IN_LIBIO.
23448 * Makeconfig: Adjust for dropped configure option. All features are
23449 now mandatory.
23450 * Makerules: Likewise.
23451 * Versions.def: Likewise.
23452 * argp/argp-fmtstream.c: Likewise.
23453 * argp/argp-fmtstream.h: Likewise.
23454 * argp/argp-help.c: Likewise.
23455 * assert/assert.c: Likewise.
23456 * config.h.in: Likewise.
23457 * config.make.in: Likewise.
23458 * configure: Likewise.
23459 * configure.in: Likewise.
23460 * csu/Versions: Likewise.
23461 * csu/init.c: Likewise.
23462 * elf/tst-audit2.c: Likewise.
23463 * elf/tst-tls10.c: Likewise.
23464 * elf/tst-tls10.h: Likewise.
23465 * elf/tst-tls11.c: Likewise.
23466 * elf/tst-tls12.c: Likewise.
23467 * elf/tst-tls14.c: Likewise.
23468 * elf/tst-tlsmod11.c: Likewise.
23469 * elf/tst-tlsmod12.c: Likewise.
23470 * elf/tst-tlsmod13.c: Likewise.
23471 * elf/tst-tlsmod13a.c: Likewise.
23472 * elf/tst-tlsmod14a.c: Likewise.
23473 * elf/tst-tlsmod15b.c: Likewise.
23474 * elf/tst-tlsmod16a.c: Likewise.
23475 * elf/tst-tlsmod16b.c: Likewise.
23476 * elf/tst-tlsmod7.c: Likewise.
23477 * elf/tst-tlsmod8.c: Likewise.
23478 * elf/tst-tlsmod9.c: Likewise.
23479 * gmon/gmon.c: Likewise.
23480 * grp/fgetgrent_r.c: Likewise.
23481 * grp/putgrent.c: Likewise.
23482 * hurd/fopenport.c: Likewise.
23483 * include/libc-symbols.h: Likewise.
23484 * include/tls.h: Likewise.
23485 * intl/gettextP.h: Likewise.
23486 * intl/loadinfo.h: Likewise.
23487 * locale/global-locale.c: Likewise.
23488 * locale/localeinfo.h: Likewise.
23489 * mach/devstream.c: Likewise.
23490 * malloc/arena.c: Likewise.
23491 * malloc/set-freeres.c: Likewise.
23492 * misc/err.c: Likewise.
23493 * misc/getttyent.c: Likewise.
23494 * misc/mntent_r.c: Likewise.
23495 * posix/getopt.c: Likewise.
23496 * posix/wordexp.c: Likewise.
23497 * pwd/fgetpwent_r.c: Likewise.
23498 * resolv/Versions: Likewise.
23499 * resolv/res_hconf.c: Likewise.
23500 * shadow/fgetspent_r.c: Likewise.
23501 * shadow/putspent.c: Likewise.
23502 * stdio-common/printf_fphex.c: Likewise.
23503 * stdio-common/tmpfile.c: Likewise.
23504 * stdlib/abort.c: Likewise.
23505 * stdlib/fmtmsg.c: Likewise.
23506 * sunrpc/auth_unix.c: Likewise.
23507 * sunrpc/clnt_perr.c: Likewise.
23508 * sunrpc/clnt_tcp.c: Likewise.
23509 * sunrpc/clnt_udp.c: Likewise.
23510 * sunrpc/clnt_unix.c: Likewise.
23511 * sunrpc/openchild.c: Likewise.
23512 * sunrpc/svc_simple.c: Likewise.
23513 * sunrpc/svc_tcp.c: Likewise.
23514 * sunrpc/svc_udp.c: Likewise.
23515 * sunrpc/svc_unix.c: Likewise.
23516 * sunrpc/xdr.c: Likewise.
23517 * sunrpc/xdr_array.c: Likewise.
23518 * sunrpc/xdr_rec.c: Likewise.
23519 * sunrpc/xdr_ref.c: Likewise.
23520 * sunrpc/xdr_stdio.c: Likewise.
23521
1248c1c4
PB
235222011-09-09 Ulrich Drepper <drepper@gmail.com>
23523
23524 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23525
235262011-07-03 Andreas Jaeger <aj@suse.de>
23527
23528 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23529 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23530 regenerate with gen-libm-tests.pl.
23531
235322010-05-12 Petr Baudis <pasky@suse.cz>
23533
23534 [BZ #11589]
23535 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23536 around j0() zero points by switching to j1().
23537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23541
f22e1074
UD
235422011-09-09 Ulrich Drepper <drepper@gmail.com>
23543
f19009c1
UD
23544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23545 instead of 0.
23546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23547 instead of 0.
f19009c1
UD
23548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23549 Patch in part by Pavel Roskin <proski@gnu.org>.
23550
3f8cc204
UD
23551 [BZ #13138]
23552 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23553 realloc.
23554 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23555 Free memory block if necessary.
23556
f22e1074
UD
23557 [BZ #12847]
23558 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23559 be NULL. Don't lock in this case.
23560
0a2349f9
RM
235612011-09-09 Roland McGrath <roland@hack.frob.com>
23562
23563 * elf/elf.h (ELFOSABI_GNU): New macro.
23564 (ELFOSABI_LINUX): Define to that.
23565
f3cdd467
DZ
235662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23567
23568 * string/strncat.c (strncat): Undef the symbol in case it has been
23569 defined in bits/string.h.
23570
74718d13
UD
235712011-09-09 Ulrich Drepper <drepper@gmail.com>
23572
633e9e0f
UD
23573 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23574
0a2349f9 23575 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23576 link map.
23577
f9924780
AJ
235782011-08-17 Andreas Jaeger <aj@suse.de>
23579
23580 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23581
7f5517aa
PP
235822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23583 Ian Lance Taylor <iant@google.com>
23584
23585 * math/libm-test.inc (lround_test): New testcase.
23586 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23587
762011fe
UD
235882011-09-08 Ulrich Drepper <drepper@gmail.com>
23589
92963737
UD
23590 * Makefile: Remove support for automatic cvs check-ins.
23591 * Makerules: Likewise.
23592 * config.make.in: Likewise.
23593 * configure.in: Likewise.
23594 * intl/Makefile: Likewise.
23595 * locale/Makefile: Likewise.
23596 * po/Makefile: Likewise.
23597 * posix/Makefile: Likewise.
23598 * sysdeps/gnu/Makefile: Likewise.
23599 * sysdeps/mach/hurd/Makefile: Likewise.
23600 * sysdeps/sparc/sparc32/Makefile: Likewise.
23601
b0727fd8
JS
23602 [BZ #13118]
23603 * posix/Makefile (bug-regex32-ENV): Define.
23604 Patch by John Stanley <jpsinthemix@verizon.net>.
23605
a0f33f99
UD
23606 * misc/Makefile (headers): Add bits/select2.h.
23607 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23608 * misc/bits/select2.h: New file.
23609 * include/bits/select2.h: New file.
23610 * debug/Makefile (routines): Add fdelt_chk.
23611 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23612 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23613 FD_ISSET.
23614 * debug/fdelt_chk.c: New file.
23615
762011fe
UD
23616 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23617 * wcsmbs/test-wmemcmp.c: Likewise.
23618 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23619 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23620
236212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23622
23623 * string/Makefile (strop-tests): Add memcmp.
23624 * string/test-wmemcmp.c: New file.
23625 * string/test-memcmp.c: Add wmemcmp support.
23626
7f513ec8
RM
236272011-09-08 Roland McGrath <roland@hack.frob.com>
23628
0442afb4
RM
23629 [BZ #13153]
23630 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23631 2011-07-19 change.
23632
7f513ec8
RM
23633 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23634 garbage value in a __mach_port_mod_refs call in the cases of the
23635 task-self and thread-self ports.
23636
a12b2239
ST
236372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23638
23639 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23640
610f9ab4
AS
236412011-09-08 Andreas Schwab <schwab@redhat.com>
23642
7f513ec8 23643 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23644
48882a1a
LD
236452011-09-07 Ulrich Drepper <drepper@gmail.com>
23646
b49865be
UD
23647 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23648
fdc86bc9
UD
23649 * elf/dl-libc.c (dlerror_run): Pass back error code from
23650 dl_catch_error.
23651
c966526a
UD
23652 [BZ #13123]
23653 * elf/dl-load.c (lose): Free l_origin if it is valid.
23654
48882a1a
LD
23655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23656 names.
23657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23662 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23663
77a2a8b4
AZ
236642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23665
23666 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23667 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23670 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23671 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23672 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23673 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23674 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23675 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23676
24f579d8
AM
236772011-08-15 Alan Modra <amodra@gmail.com>
23678
23679 [BZ #13092]
23680 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23681 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23682 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23683 ppc_mcount to static-only-routines.
23684 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23685 __mcount_internal.
23686 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23687 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23688
3d4837df
UD
236892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23690
23691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23692 for finite and infinity parameters.
23693
22700377
WS
236942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23695
23696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23697 and add nop instructions for throughput optimization.
23698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23699
5025581e
WS
237002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23701
23702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23703 aligned copy for power7 with vector-scalar instructions.
23704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23705
08a300c9
L
237062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23707
23708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23709 AVX check.
23710
59178ef9
AS
237112011-09-07 Andreas Schwab <schwab@redhat.com>
23712
23713 [BZ #13144]
23714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23715 last change.
23716
e38ba7ab
UD
237172011-09-07 Ulrich Drepper <drepper@gmail.com>
23718
23719 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23720 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23721 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23723 clock_gettime.
23724
d53a73ac
UD
237252011-09-06 Ulrich Drepper <drepper@gmail.com>
23726
fc8bffcc
UD
23727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23728 Forgot to demangle the pointer.
23729
ceaa0c5d
UD
23730 * sysdeps/i386/sysdep.h: Define atom_text_section.
23731 * sysdeps/x86_64/sysdep.h: Likewise.
23732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23733 section with atom_text_section.
23734 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23739
a77d3c17
UD
23740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23742 already be defined. Change to take two parameters and don't assign
23743 result to variable. Adjust all users.
23744 Define INTERNAL_GETTIME if not already defined.
23745 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23746 call.
23747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23748 HAVE_CLOCK_GETTIME_VSYSCALL.
23749 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23750
d53a73ac
UD
23751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23752 gettimeofday vsyscall, just use time.
23753
a8f84144
AS
237542011-09-06 Andreas Schwab <schwab@redhat.com>
23755
23756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23757 <errno.h>.
23758
ef606249
UD
237592011-09-06 Ulrich Drepper <drepper@gmail.com>
23760
23761 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23762 syscall on x86-64.
23763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23764 syscall.
23765 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23767 syscall if possible.
23768
6585cb60
UD
237692011-09-05 Ulrich Drepper <drepper@gmail.com>
23770
23771 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23772 e_ident. Don't pass to find_mapsXX.
23773 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23774
a5f524e4
LD
237752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23776
23777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23778 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23779 * sysdeps/x86_64/multiarch/strchr.S: Update.
23780 Check bit_slow_BSF bit.
23781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23784
554881ef
UD
237852011-09-05 Ulrich Drepper <drepper@gmail.com>
23786
d96de963
UD
23787 [BZ #13134]
23788 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23789 before glibc 2.15.
23790 (tryshell): Define.
23791 (__spawni): Change last parameter to be flag. Test
23792 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23793 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23794 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23795 * posix/spawni.c: Likewise.
23796 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23797 * posix/spawnp.c: Likewise. Change normal version to use
23798 SPAWN_XFLAGS_USE_PATH.
23799 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23800 SPAWN_XFLAGS_TRY_SHELL.
23801
d48e5868
UD
23802 [BZ #13150]
23803 * posix/glob.h: Remove gcc 1.x support.
23804
554881ef
UD
23805 [BZ #13068]
23806 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23807
693fb948
LD
238082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23809
23810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23811 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23812 strrchr-sse2-bsf
23813 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23814 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23819
1b48c537
UD
238202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23821
49d42c37
UD
23822 * sysdeps/x86_64/wcscmp.S: New file.
23823
1b48c537
UD
23824 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23825 wcscmp-c wcscmp-sse2
23826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23827 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23829 * wcsmbs/wcscmp.c: Allow renaming.
23830
15c95c5d
DM
238312011-09-05 David S. Miller <davem@davemloft.net>
23832
23833 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23834 stack slot, rather than the struct return pointer slot.
23835 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23836 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23839
2f0ad8f3
UD
238402011-09-05 Ulrich Drepper <drepper@gmail.com>
23841
d88ae418
UD
23842 * po/ja.po: Update from translation team.
23843
2f0ad8f3
UD
23844 [BZ #13144]
23845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23846 kernel in 64-bit binaries.
23847
5f4318d1
DM
238482011-09-01 David S. Miller <davem@davemloft.net>
23849
23850 * elf/elf.h (HWCAP_SPARC_*): Move to..
23851 * sysdeps/sparc/sysdep.h: this new file and add new values.
23852 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23853 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23854 _DL_HWCAP_COUNT to 24.
23855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23856 entries.
23857 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23858 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23859 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23861 instead of magic constants.
23862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23863
3ba57516
DM
238642011-08-31 David S. Miller <davem@davemloft.net>
23865
23866 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23868 Reimplement to do errno handling inline.
23869 (SYSCALL_ERROR_HANDLER): New macro.
23870 (__SYSCALL_STRING): Do not do errno handling in asm.
23871 (__CLONE_SYSCALL_STRING): Delete.
23872 (__INTERNAL_SYSCALL_STRING): Delete.
23873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23874 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23875 (PSEUDO): Reimplement to do errno handling inline.
23876 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23877 (SYSCALL_ERROR_HANDLER): New macro.
23878 (__SYSCALL_STRING): Do not do errno handling in asm.
23879 (__CLONE_SYSCALL_STRING): Delete.
23880 (__INTERNAL_SYSCALL_STRING): Delete.
23881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23882 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23883 i386.
23884 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23885 (inline_syscall*): Add 'err' argument.
23886 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23887 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23888 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23889 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23890
23891 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23893
2bc17433
AS
238942011-08-30 Andreas Schwab <schwab@redhat.com>
23895
23896 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23897
fbeb5f4d
JO
238982011-08-29 Jiri Olsa <jolsa@redhat.com>
23899
23900 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23901 directive.
23902
ad69cc26
DM
239032011-08-24 David S. Miller <davem@davemloft.net>
23904
23905 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23906
39dd69df
AS
239072011-08-24 Andreas Schwab <schwab@redhat.com>
23908
23909 * elf/Makefile: Add rules to build and run unload8 test.
23910 * elf/unload8.c: New file.
23911 * elf/unload8mod1.c: New file.
23912 * elf/unload8mod1x.c: New file.
23913 * elf/unload8mod2.c: New file.
23914 * elf/unload8mod3.c: New file.
23915
23916 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23917 it wasn't used.
23918
2c0b250a
DM
239192011-08-23 David S. Miller <davem@davemloft.net>
23920
23921 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23922 subtract stack bias.
23923 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23924 %sp not %fp in calculations.
23925 (_JMPBUF_UNWINDS_ADJ): Likewise.
23926
22044b48
DM
23927 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23928 (aio_suspend): Call it to force an exception region around the
23929 AIO_MISC_WAIT() invocation.
23930
2cae4995
AS
239312011-08-23 Andreas Schwab <schwab@redhat.com>
23932
23933 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23934 backslash.
23935
873a772e
AJ
239362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23937
23938 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23939 protection macro.
23940 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23941 and <dl-machine.h>.
23942 (Elf64_FuncDesc): Remove.
23943
25ad0df1
DM
239442011-08-22 David S. Miller <davem@davemloft.net>
23945
23946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23947 sigaltstack check, add missing cfi directives.
23948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23949 missing cfi directives, and sigaltstack handling.
23950
e888bcbe
AS
239512011-08-16 Andreas Schwab <schwab@redhat.com>
23952
23953 [BZ #11724]
23954 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23955 object is seen twice.
23956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23957
23958 * elf/Makefile (distribute): Add tst-initorder2.c.
23959 (tests): Add tst-initorder2.
23960 (modules-names): Add tst-initorder2a tst-initorder2b
23961 tst-initorder2c tst-initorder2d. Add rules to build them.
23962 ($(objpfx)tst-initorder2.out): New rule.
23963 * elf/tst-initorder2.c: New file.
23964 * elf/tst-initorder2.exp: New file.
23965
87162f46
AS
239662011-08-22 Andreas Schwab <schwab@redhat.com>
23967
70538b7f
AS
23968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23969
f55ffe58
AS
23970 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23971 dependencies back to end of function.
23972
87162f46
AS
23973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23974 $(elfobjdir)/ld.so.
23975
91b392a4
UD
239762011-08-21 Ulrich Drepper <drepper@gmail.com>
23977
23978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23979 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23981 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23982 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23983 of __vdso_gettimeofday.
23984 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23985 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23986 attribute_hidden.
23987 (_libc_vdso_platform_setup): Remove initialization of
23988 __vdso_gettimeofday and __vdso_time.
23989
5c43483f
UD
239902011-08-20 Ulrich Drepper <drepper@gmail.com>
23991
775a77e7
UD
23992 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23993 and fgetc_unlocked.
23994 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23995 getc_unlocked.
89f447ed 23996
49c74ba9
UD
23997 * elf/dl-open.c (add_to_global): Report additions to the global scope
23998 for LD_DEBUG=scopes.
23999 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24000 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24001
5c43483f
UD
24002 [BZ #13114]
24003 * stdio-common/Makefile (tests): Add bug24.
24004 * stdio-common/bug24.c: New file.
24005
a101b025
AJ
240062011-08-19 Andreas Jaeger <aj@suse.de>
24007
24008 [BZ #13114]
24009 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24010 non-existant file when using close-on-exec mode.
24011
c88f1766
UD
240122011-08-20 Ulrich Drepper <drepper@gmail.com>
24013
0276a718
UD
24014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24015 the very first instruction.
24016
c88f1766
UD
24017 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24018 the CFI state in the end.
24019 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24020 inclusion of dl-trampoline.h.
24021 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24022
51ccffa0
AS
240232011-08-19 Andreas Schwab <schwab@redhat.com>
24024
94d7165f
AS
24025 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24026 expectations for long double.
24027
51ccffa0
AS
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24029 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24030
fd708658 240312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24032
24033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24034 artificual limit depends upon the system page size.
24035
44f0a71e
UD
240362011-08-17 Ulrich Drepper <drepper@gmail.com>
24037
24038 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24039 * resolv/Makefile: Define CFLAGS-libresolv.
24040
8de79a24
AS
240412011-08-17 Andreas Schwab <schwab@redhat.com>
24042
24043 * nss/makedb.c (compute_tables): Make variables used in nested
24044 function static.
24045
27724598
UD
240462011-08-17 Ulrich Drepper <drepper@gmail.com>
24047
c5305d88
UD
24048 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24049 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24050 if buffer was too small.
24051
27724598
UD
24052 * elf/pldd.c (main): Attach to all threads in the process.
24053 Rewrite /proc handling to use *at functions.
24054
076fe015
UD
240552011-08-16 Ulrich Drepper <drepper@gmail.com>
24056
174baab3
UD
24057 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24058 specifies first scope to show.
24059 (dl_open_worker): Update callers. Move printing scope of new
24060 object to before the relocation.
44f0a71e 24061 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24062 * sysdeps/generic/ldsodefs.h: Update declaration.
24063
076fe015
UD
24064 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24065 string for the scope number.
24066
a60df2c3
UD
240672011-08-14 Ulrich Drepper <drepper@gmail.com>
24068
24069 * nscd/servicescache.c (cache_addserv): Make sure written is always
24070 initialized.
24071
5e4287d1
RM
240722011-08-14 Roland McGrath <roland@hack.frob.com>
24073
85ae0589
RM
24074 * sysdeps/i386/i486/bits/atomic.h
24075 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24076 statement expression, so as to suppress "set but not used" warning.
24077 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24078
69f63097
RM
24079 * string/strncat.c (STRNCAT): Use prototype definition.
24080
675456ef
RM
24081 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24082 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24083 -Iprograms here.
24084 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24085 (localedef-modules): Add localedef.
24086 (locale-modules): Add locale.
24087
5e4287d1
RM
24088 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24089 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24090 to avoid a warning.
24091
9c96ff23
DM
240922011-08-14 David S. Miller <davem@davemloft.net>
24093
24094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24095 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24096
f9ddf089
UD
240972011-08-13 Ulrich Drepper <drepper@gmail.com>
24098
44f0a71e 24099 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24100 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24101 * elf/rtld.c (dl_main): Set l_name of vDSO.
24102 Call _dl_show_scope when DL_DEBUG_SCOPES.
24103 (process_dl_debug): Recognize scopes flag and also set it for all.
24104 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24105 Declare _dl_show_scope.
24106
1dc27704
UD
24107 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24108 (do_dlopen): Pass caller_dlopen to dl_open.
24109 (__libc_dlopen_mode): Initialize caller_dlopen.
24110
f9ddf089
UD
24111 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24112 of libc. Make tolower call locale-independent. Optimize a bit by
24113 using isdigit instead of isalnum.
24114 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24115
9ac533d3
UD
241162011-08-12 Ulrich Drepper <drepper@gmail.com>
24117
24118 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24119 was a dependency or dynamically loaded.
24120
89edf2e9
UD
241212011-08-11 Ulrich Drepper <drepper@gmail.com>
24122
8e999d29
UD
24123 * intl/l10nflist.c: Allow architecture-specific pop function.
24124 * sysdeps/x86_64/l10nflist.c: New file.
24125
89edf2e9
UD
24126 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24127 classification.
24128
14d96785
AS
241292011-08-10 Andreas Schwab <schwab@redhat.com>
24130
24131 * include/dirent.h: Add libc_hidden_proto for scandirat and
24132 scandirat64. Don't declare __scandirat64.
24133 * dirent/scandirat.c: Add libc_hidden_def.
24134 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24135 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24136
6761ac04
DM
241372011-08-10 David S. Miller <davem@davemloft.net>
24138
24139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24140 enum.
24141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24144
c55fbd1e
UD
241452011-08-09 Ulrich Drepper <drepper@gmail.com>
24146
24147 * Versions.def [libc]: Add GLIBC_2.15.
24148 * dirent/Makefile (routines): Add scandirat and scandirat64.
24149 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24150 GLIBC_2.15.
24151 * dirent/dirent.h: Declare scandirat and scandirat64.
24152 * dirent/scandirat.c: New file.
24153 * dirent/scandirat64.c: New file.
24154 * sysdeps/wordsize-64/scandirat.c: New file.
24155 * sysdeps/wordsize-64/scandirat64.c: New file.
24156 * dirent/opendir.c: Define opendirat.
24157 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24158 using scandirat.
24159 * dirent/scandir64.c: Adjust for scandir.c change.
24160 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24161 __scandirat64, and __scandir_cancel_handler.
24162 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24163 additional parameter and use openat instead of open (outside of ld.so).
24164 Add new __opendir as wrapper around __opendirat.
24165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24166 here without requiring old scandirat implementation.
24167
879165f2
UD
241682011-08-08 Ulrich Drepper <drepper@gmail.com>
24169
24170 * dirent/scandir.c (cancel_handler): Renamed to
24171 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24172 defined. Adjust users.
24173 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24175
cb7e923b
UD
241762011-08-04 Ulrich Drepper <drepper@gmail.com>
24177
16292edd
UD
24178 * string/test-string.h (IMPL): Use __STRING to expand name and then
24179 stringify it.
24180
cb7e923b
UD
24181 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24182 of cleanups.
24183
cff82933
LD
241842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24185
24186 * string/Makefile: Update.
24187 (strop-tests): Append strncat.
24188 * string/test-wcscmp.c: New file.
24189 New comprehensive test for wcscmp.
24190 * string/test-strcmp.c: Update.
24191 (WIDE): New define.
24192
9be9bfcc
AS
241932011-07-22 Andreas Schwab <schwab@redhat.com>
24194
24195 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24196 line.
24197
2e96f1c7
AS
241982011-07-26 Andreas Schwab <schwab@redhat.com>
24199
24200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24201 encoding to ACE if AI_IDN.
24202
85188888
JJ
242032011-08-01 Jakub Jelinek <jakub@redhat.com>
24204
24205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24206 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24207
5fa16e9b
LD
242082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24209
24210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24211 Fix overflow bug in strncat.
24212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24213
24214 * string/test-strncat.c: Update.
24215 Add new tests for checking overflow bugs.
24216
242172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24218
24219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24220 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24221 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24222 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24225 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24226 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24227 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24228
24229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24230 (USE_AS_STRCAT): Define.
24231 Add strcat and strncat support.
24232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24233
8c1a459f
AS
242342011-07-25 Andreas Schwab <schwab@redhat.com>
24235
24236 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24237 __n bigger than INT_MAX+1.
24238 (__strncmp_g): Likewise.
24239
bba33c28
UD
242402011-07-23 Ulrich Drepper <drepper@gmail.com>
24241
798be72d
UD
24242 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24243 * libio/stido.h: Likewise.
24244
8accd4dc
UD
24245 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24246 (AF_NFC): Define.
24247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24248 (AF_NFC): Define.
24249
cbff0d96
UD
24250 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24255
9191c04a
UD
24256 [BZ #13021]
24257 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24258 installed.
24259
bba33c28
UD
24260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24261 typo.
24262 (_dl_x86_64_save_sse): Likewise.
24263
90f139dd
UD
242642011-07-22 Ulrich Drepper <drepper@gmail.com>
24265
1aae088a
UD
24266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24267 OSXSAVE.
24268 (_dl_x86_64_save_sse): Likewise.
24269
8e2045f5
UD
24270 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24271
90f139dd
UD
24272 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24273
1d002f25
AS
242742011-07-21 Andreas Schwab <schwab@redhat.com>
24275
24276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24277 change.
24278 (_dl_x86_64_save_sse): Use correct AVX check.
24279
21137f89
UD
242802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24281
24282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24283 bug in strncpy/strncat.
24284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24285
a65c0b7a
UD
242862011-07-21 Ulrich Drepper <drepper@gmail.com>
24287
24288 * string/tester.c (test_strcat): Add tests for different alignments
24289 of source and destination.
24290 (test_strncat): Likewise.
24291
6986b98a
UD
242922011-07-20 Ulrich Drepper <drepper@gmail.com>
24293
90bb2039
UD
24294 [BZ #12852]
24295 * posix/glob.c (glob): Check passed in values before using them in
24296 expressions to avoid some overflows.
24297 (glob_in_dir): Likewise.
24298
5644ef54
UD
24299 [BZ #13007]
24300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24301 check for AVX enablement so that we don't crash with old kernels and
24302 new hardware.
24303 * elf/tst-audit4.c: Add same checks here.
24304 * elf/tst-audit6.c: Likewise.
24305
24306 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24307
bfc9dc9b
AS
243082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24309
24310 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24311
702e64bb
UD
243122011-07-20 Ulrich Drepper <drepper@gmail.com>
24313
24314 * po/cs.po: Update from translation team.
24315 * po/bg.po: Likewise.
24316
295e904f
MP
243172011-07-12 Marek Polacek <mpolacek@redhat.com>
24318
24319 * misc/sys/cdefs.h: Add support for const attribute.
24320 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24321 to gnu_dev_{major,minor,makedev} functions.
24322
3ff94596
MP
243232011-07-20 Marek Polacek <mpolacek@redhat.com>
24324
24325 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24326
28b59fca
AS
243272011-07-20 Andreas Schwab <schwab@redhat.com>
24328
24329 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24330 strlen results.
24331
19df733e
AK
243322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24333
24334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24335 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24336 register in order to avoid conflicts with the soft frame pointer
24337 being held in r11 when necessary.
24338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24339 (INTERNAL_VSYSCALL_NCS): Likewise.
24340
c8835729
MP
243412011-07-14 Marek Polacek <mpolacek@redhat.com>
24342
24343 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24344 * elf/dl-fini.c (_dl_fini): Adjust caller.
24345 * elf/dl-close.c (_dl_close_worker): Likewise.
24346 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24347
b902330c
MP
243482011-07-15 Marek Polacek <mpolacek@redhat.com>
24349
8991e135
MP
24350 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24351 "aux_cache->nlibs < 0".
24352
b902330c
MP
24353 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24354 in the reload-count case.
24355
99710781
LD
243562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24357
24358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24359 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24360 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24362 * sysdeps/x86_64/multiarch/strcat.S: New file.
24363 * sysdeps/x86_64/multiarch/strncat.S: New file.
24364 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24366 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24367 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24369 (USE_AS_STRCAT): Define.
24370 Add strcat and strncat support.
24371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24374 * string/strncat.c: Update.
24375 (USE_AS_STRNCAT): Define.
24376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24377 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24378 and i7.
24379 * sysdeps/x86_64/multiarch/init-arch.h
24380 (bit_Prefer_PMINUB_for_stringop): New.
24381 (index_Prefer_PMINUB_for_stringop): Likewise.
24382 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24383 bit_Prefer_PMINUB_for_stringop.
24384
7dc6bd90
UD
243852011-07-19 Ulrich Drepper <drepper@gmail.com>
24386
24387 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24388 buffer64.
24389 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24390 of casting of buffer.
24391 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24392 buffer32 and buffer64.
24393 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24394 writes instead of casting of buffer.
24395 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24396 buffer32.
24397 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24398 casting of buffer.
24399
e0e72284
AS
244002011-07-19 Andreas Schwab <schwab@redhat.com>
24401
24402 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24403
feb1eb0b
UD
244042011-07-19 Ulrich Drepper <drepper@gmail.com>
24405
24406 * nscd/nscd.c (termination_handler): Don't do anything for a database
24407 if it has not yet been initialized.
24408
298711ff
UD
244092011-07-18 Ulrich Drepper <drepper@gmail.com>
24410
24411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24412
244132011-07-15 Marek Polacek <mpolacek@redhat.com>
24414
24415 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24416
f9d68389
UD
244172011-07-18 Ulrich Drepper <drepper@gmail.com>
24418
24419 * po/nl.po: Update from translation team.
24420 * po/sv.po: Likewise.
24421
db290cf5
RM
244222011-07-16 Roland McGrath <roland@hack.frob.com>
24423
24424 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24425 now disallowed by GCC.
5c550700 24426
fd5e21c7
RM
24427 * configure.in (use-default-link): Default to yes if a test -shared
24428 link meets our qualifications.
24429 * configure: Regenerated.
24430
5c550700
RM
24431 * config.make.in (output-format): New variable.
24432 * configure.in: Check for ld --print-output-format support.
24433 * configure: Regenerated.
24434 * Makerules ($(common-objpfx)format.lds)
24435 [$(output-format) != unknown]: Just use $(output-format),
24436 instead of the linker-script munging.
24437
9fa2c032
RM
244382011-07-14 Roland McGrath <roland@hack.frob.com>
24439
a6928d51
RM
24440 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24441 of $(common-objpfx)shlib.lds.
24442 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24443
661607b3
RM
24444 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24445 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24446
9fa2c032
RM
24447 * configure.in (-z relro check): Adjust test code to add a large
24448 writable data section after it.
24449 * configure: Regenerated.
24450
defe9061
RM
244512011-07-11 Roland McGrath <roland@hack.frob.com>
24452
24453 * configure.in (-z relro check): Fix test code to make the variable
24454 truly const.
24455 * configure: Regenerated.
24456
319b9ad4
UD
244572011-07-11 Ulrich Drepper <drepper@gmail.com>
24458
24459 * nscd/nscd.h (struct traced_file): Define.
24460 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24461 elements. Add traced_files.
24462 (inotify_fd): Declare.
24463 (register_traced_file): Declare.
24464 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24465 (inotify_fd): Export.
24466 (resolv_conf_descr): Remove.
24467 (nscd_init): Move inotify descriptor creation to main.
24468 Don't register files for notification here.
24469 (register_traced_file): New function.
24470 (invalidate_cache): Don't use reset_res to determine whether to call
24471 res_init, go through the list of registered files.
24472 (main_loop_poll): The inotify descriptors are now stored in the
24473 structures for the traced files.
24474 (main_loop_epoll): Likewise
24475 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24476 to __nss_disable_nscd.
24477 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24478 for a database anymore. Check the records for all the registered
24479 files instead.
24480 * nss/Makefile (libnss_files-routines): Add files-init.
24481 (libnss_db-routines): Add db-init.
24482 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24483 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24484 * nss/nss_db/db-init.c: New file.
24485 * nss/nss_files/files-init.c: New file.
24486 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24487 __nss_lookup_function.
24488 (__nss_lookup_function): Call nss_load_library.
24489 (nss_load_all_libraries): New function.
24490 (__nss_disable_nscd): Take parameter with callback function for files
24491 to register. Set is_nscd. Load all the DSOs for the NSS modules
24492 used for the cached services.
24493 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24495 options for features to all the files in nscd.
24496
24497 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24498
23bee3e8
RM
244992011-07-10 Roland McGrath <roland@hack.frob.com>
24500
24501 * csu/elf-init.c (__libc_csu_init): Comment typo.
24502
46a5b7f0
UD
245032011-07-09 Ulrich Drepper <drepper@gmail.com>
24504
24505 * po/pl.po: Update from translation team.
24506 * po/ja.po: Likewise.
24507 * po/ru.po: Likewise.
24508 * po/ko.po: Likewise.
24509 * po/fr.po: Likewise.
24510
d30cf5bb
RM
245112011-07-09 Roland McGrath <roland@hack.frob.com>
24512
113ddea4
RM
24513 * configure.in (.ctors/.dtors header and trailer check):
24514 Use an empirical test on a built program.
24515 * configure: Regenerated.
24516
574920b4
RM
24517 * configure.in (-z relro check): Use an empirical test on a built DSO.
24518 Detect, but do not require, on ia64.
24519 * configure: Regenerated.
24520
d30cf5bb
RM
24521 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24522 Update tests that use readelf to use $READELF instead.
24523 * configure: Regenerated.
24524
8538fdb3
UD
245252011-07-08 Ulrich Drepper <drepper@gmail.com>
24526
24527 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24528 if the result is not used.
24529
04d08991
AJ
245302011-07-05 Andreas Jaeger <aj@suse.de>
24531
24532 [BZ#9696]
24533 * stdlib/tst-strtod.c: Add testcase.
24534
de283087
AD
245352011-07-07 Ulrich Drepper <drepper@gmail.com>
24536
4e5f31c8 24537 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24538 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24539 The latter has a higher limit. Take additional parameter to pass to
24540 the new function.
24541 (__pathconf): Pass file to __statfs_link_max.
24542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24543 __statfs_link_max.
24544 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24545 __statfs_link_max.
24546
de283087
AD
24547 [BZ #12868]
24548 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24550 Handle Lustre.
24551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24552 (__statfs_filesize_max): Likewise.
24553 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24554
c75fa153
AJ
245552011-07-05 Andreas Jaeger <aj@suse.de>
24556
24557 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24558
1a544854
UD
245592011-07-06 Marek Polacek <mpolacek@redhat.com>
24560
24561 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24562 `status' variable.
24563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24564 Likewise.
24565
6f0eec67
UD
245662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * Makefile (strop-tests): Add strncat.
24569 * string/test-strncat.c: New file.
24570
aae30307
UD
245712011-06-30 Marek Polacek <mpolacek@redhat.com>
24572
24573 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24574
c0cfb5eb
UD
245752011-06-21 Andreas Jaeger <aj@suse.de>
24576
24577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24578 Copy rule from iconvdata/Makefile.
24579
01636b21
UD
245802011-07-06 Ulrich Drepper <drepper@gmail.com>
24581
24582 [BZ #12922]
24583 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24584 but no long options are defined, just return 'W'.
24585
9895c8bc
UD
245862011-06-22 Marek Polacek <mpolacek@redhat.com>
24587
24588 [BZ #9696]
24589 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24590
5d4cf042
UD
245912011-07-06 Ulrich Drepper <drepper@gmail.com>
24592
24593 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24594 netgroups to read.
960e5535 24595 (innetgr): Likewise.
5d4cf042 24596
751eb97e
RM
245972011-07-05 Roland McGrath <roland@hack.frob.com>
24598
24599 * config.make.in (install_root): Default to $(DESTDIR).
24600
f15f1e45
UD
246012011-07-05 Ulrich Drepper <drepper@gmail.com>
24602
24603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24604
4e34ac6a
RM
246052011-07-02 Roland McGrath <roland@hack.frob.com>
24606
5e9b6af4
RM
24607 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24608
84f9ea0f
RM
24609 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24610 containing directory rather than embedding absolute directory names.
24611
ea5ee9f7
RM
24612 * scripts/check-local-headers.sh: Rewritten using awk.
24613 Match by word, not by line. Print error messages for matches.
24614 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24615
1b74661a
RM
24616 * Makerules [shlib-lds-flags empty]:
24617 ($(common-objpfx)libc_pic.opts): New target.
24618 ($(common-objpfx)libc_pic.os.clean): New target.
24619 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24620
24621 * config.make.in (OBJCOPY): New variable.
24622 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24623 * configure: Regenerated.
24624
f781ef40
RM
24625 * config.make.in (use-default-link): New variable.
24626 * configure.in (use_default_link): Grok --with-default-link to set it.
24627 * configure: Regenerated.
24628 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24629 (shlib-lds, shlib-lds-flags): Define to empty.
24630
2d4fa81e
RM
24631 * Makerules (shlib-lds): New variable.
24632 (shlib-lds-flags): New variable.
24633 (build-shlib, build-moduile, build-module-asneeded): Use it.
24634 ($(common-objpfx)libc.so): Use $(shlib-lds).
24635 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24636 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24637
31fffa6b
RM
24638 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24639 DT_FLAGS/DT_FLAGS_1 with zero flags.
24640
4e34ac6a
RM
24641 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24642 linker script munging.
24643
fcfc776b
UD
246442011-07-02 Ulrich Drepper <drepper@gmail.com>
24645
24646 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24647 as 128-bit value.
24648 * crypt/sha512.c (sha512_process_block): Perform total addition using
24649 128-bit if possible.
24650 (__sha512_finish_ctx): Likewise.
24651 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24652 as 64-bit value.
24653 * crypt/sha256.c (SWAP64): Define.
24654 (sha256_process_block): Perform total addition using 64-bit if
24655 possible.
24656 (__sha256_finish_ctx): Likewise.
24657
99231d9a
UD
246582011-07-01 Ulrich Drepper <drepper@gmail.com>
24659
24660 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24662 * nscd/hstcache.c (cache_addhst): Likewise.
24663 * nscd/grpcache.c (cache_addgr): Likewise.
24664 * nscd/aicache.c (addhstaiX): Likewise
24665 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24666
445b4a53
TK
246672011-07-01 Thorsten Kukuk <kukuk@suse.de>
24668
24669 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24671 * nscd/hstcache.c (cache_addhst): Likewise.
24672 * nscd/grpcache.c (cache_addgr): Likewise.
24673 * nscd/aicache.c (addhstaiX): Likewise
24674
6d4d8e8e
AS
246752011-07-01 Andreas Schwab <schwab@redhat.com>
24676
24677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24678 domain only when needed.
24679
89f654c5
AS
246802011-06-30 Andreas Schwab <schwab@redhat.com>
24681
24682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24683 is always restored.
24684
cf3b23ff
UD
246852011-06-29 Ulrich Drepper <drepper@gmail.com>
24686
24687 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24688 are re-adding the entry.
24689 * nscd/servicescache.c (cache_addserv): Likewise.
24690
751626f9
AJ
246912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24692
24693 * sysdeps/generic/dl-irel.h: fix protection against multiple
24694 inclusions.
24695 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24696
9113ea1f
UD
246972011-06-28 Ulrich Drepper <drepper@gmail.com>
24698
5c0b8d90
UD
24699 [BZ #12935]
24700 * malloc/memusage.sh: Fix quoting in message.
24701 * debug/xtrace.sh: Likewise.
24702
9113ea1f
UD
24703 * configure.in: Remove support for --experimental-malloc option, make
24704 it the default.
24705 * config.make.in: Likewise.
24706 * malloc/Makefile: Likewise.
24707
a4172181
AS
247082011-06-27 Andreas Schwab <schwab@redhat.com>
24709
24710 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24711 two-byte characters.
24712
78a7eee7
RM
247132011-06-27 Roland McGrath <roland@hack.frob.com>
24714
62bede13
RM
24715 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24716 AC_CACHE_CHECK invocation.
24717 * configure: Regenerated.
24718
78a7eee7
RM
24719 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24720
5ce33a62
UD
247212011-06-27 Ulrich Drepper <drepper@gmail.com>
24722
034807a9
UD
24723 [BZ #12350]
24724 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24725 bit from old_res_options.
24726
4902da17
UD
24727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24728
5ce33a62
UD
24729 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24730 value type for setfct.
24731
c2344f56
L
247322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24733
24734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24735 __gettimeofday instead of gettimeofday.
24736
68468076
UD
247372011-06-26 Ulrich Drepper <drepper@gmail.com>
24738
24739 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24740
acb0d739
L
247412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24744
24745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24746 info.
24747
8912479f
L
247482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24749
24750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24751 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24752 strcpy-sse2-unaligned strncpy-sse2-unaligned
24753 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24754 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24755 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24756 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24757 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24760 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24761 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24762 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24763 (STRCPY): Support SSE2 and SSSE3 versions.
24764
d5495a11
UD
247652011-06-24 Ulrich Drepper <drepper@gmail.com>
24766
24767 [BZ #12874]
24768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24769 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24770 kernels which artificially limit size of requests.
24771
0b1cbaae
L
247722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24773
24774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24775 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24776 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24777 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24778 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24779 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24780 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24781 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24784 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24785 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24786 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24787 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24788 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24790 Enable unaligned load optimization for Intel Core i3, i5 and i7
24791 processors.
24792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24793 Define.
24794 (index_Fast_Unaligned_Load): Define.
24795 (HAS_FAST_UNALIGNED_LOAD): Define.
24796
07f494a0
MP
247972011-06-23 Marek Polacek <mpolacek@redhat.com>
24798
24799 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24800
fa3fc0fe
UD
248012011-06-22 Ulrich Drepper <drepper@gmail.com>
24802
24803 [BZ #12907]
24804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24805 until it is clear that the information is realy needed.
24806 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24807
e12df166
AS
248082011-06-22 Andreas Schwab <schwab@redhat.com>
24809
24810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24811
852eb34d
UD
248122011-06-22 Ulrich Drepper <drepper@gmail.com>
24813
84e2a551
UD
24814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24815 /sys/devices/system/cpu/online if it is usable.
24816
852eb34d
UD
24817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24818 reading the information from the /proc filesystem to once a second.
24819
6e502e19
UD
248202011-06-21 Andreas Jaeger <aj@suse.de>
24821
24822 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24823 NULL after inclusion of kernel headers.
24824
75d39ff2
UD
248252011-06-21 Ulrich Drepper <drepper@gmail.com>
24826
51f9aa6a
UD
24827 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24828 calls to internal_setent.
24829
c0244a9d
UD
24830 [BZ #12885]
24831 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24832 addresses using gethostbyname4_r ignore IPv4 addresses.
24833
c5e3c2ae
UD
24834 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24835 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24836
75d39ff2
UD
24837 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24838
42675c6f
DM
248392011-06-20 David S. Miller <davem@davemloft.net>
24840
24841 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24842 inclusions.
24843 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24844
24845 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24846 (elf_irel): Use it.
24847 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24848 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24849 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24850 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24851 * sysdeps/x86_64/dl-irel.h: Likewise.
24852
24853 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24854 * elf/dl-sym.c: Likewise.
24855
57912a71
UD
248562011-06-15 Ulrich Drepper <drepper@gmail.com>
24857
24858 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24859 need to dereference resplen2.
24860
ee22793d
AS
248612011-06-14 Andreas Schwab <schwab@redhat.com>
24862
24863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24864
a9e836b0
UD
248652011-06-15 Ulrich Drepper <drepper@gmail.com>
24866
77fb9117
UD
24867 * Makeconfig: Define vardbdir and inst_vardbdir.
24868 * nss/Makefile: Add rules to install db-Makefile.
24869
40c1b22c
UD
24870 * nss/nss_db/db-XXX.c: Cleanup.
24871
9f2da732
UD
24872 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24873 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24874 GLIBC_PRIVATE.
24875 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24876 * nss/makedb.c: Implement -g option to specify that value strings
24877 are generated and should not be added to table iterated over for
24878 get*ent calls.
24879 * nss/nss_db/db-initgroups.c: New file.
24880
82e9a1f7
UD
24881 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24882 interface.
24883
c41af17e
UD
24884 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24885 (internal_getgrouplist): Adjust to name change.
24886 Update use_initgroups_entry if this is not the first call.
24887 * nss/databases.def: Add initgroups entry.
24888
a9e836b0
UD
24889 * nss/makedb.c (compute_tables): Check result of multiple hash table
24890 sizes to minimize maximum chain length.
24891
2666d441
UD
248922011-06-14 Ulrich Drepper <drepper@gmail.com>
24893
24894 * Versions.def: Add entry for libnss_db.
24895 * shlib-versions: Likewise.
24896 * nss/Makefile: Add rules to build libnss_db.
24897 * nss/Versions: Add libnss_db information. Organize libnss_files
24898 entries better.
24899 * nss/db-Makefile: Add gshadow support. Change rules for the new
24900 makedb progra. Some minor improvements to generate smaller files.
24901 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24902 here from...
24903 * nss/makedb.c: ...here.
24904 Improve database format to be smaller and require less memory at
24905 runtime.
24906 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24907 db anymore.
24908 * nss/nss_db/db-netgrp.c: Likewise.
24909 * nss/nss_db/db-open.c: Likewise.
24910 * nss/nss_files/flies-XXX.x: Adjust comments.
24911 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24912 * nss/nss_files/files-grp.c: Likewise.
24913 * nss/nss_files/files-hosts.c: Likewise.
24914 * nss/nss_files/files-network.c: Likewise.
24915 * nss/nss_files/files-proto.c: Likewise.
24916 * nss/nss_files/files-pwd.c: Likewise.
24917 * nss/nss_files/files-rpc.c: Likewise.
24918 * nss/nss_files/files-service.c: Likewise.
24919 * nss/nss_files/files-sgrp.c: Likewise.
24920 * nss/nss_files/files-spwd.c: Likewise.
24921 * nss/nss_db/db-alias.c: Removed.
24922 * nss/nss_db/dummy-db.h: Removed.
24923
9ee76b5a
UD
249242011-06-02 Ulrich Drepper <drepper@gmail.com>
24925
24926 * nss/makedb.c: Rewritten to not use database library.
24927 * nss/Makefile: Update to build new makedb program.
24928
c71ca1f8
AJ
249292011-06-14 Andreas Jaeger <aj@suse.de>
24930
24931 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24932 memset declaration.
24933
3154bfb8
UD
249342011-06-10 Andreas Schwab <schwab@redhat.com>
24935
24936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24937 tmpbuf.
24938
b350afab
RM
249392011-06-10 Roland McGrath <roland@hack.frob.com>
24940
decd4e50
RM
24941 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24942 * elf/Makefile ($(objpfx)ld.so): Likewise.
24943
5615eaf2
RM
24944 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24945 Don't list ld.so twice in dependencies.
24946
24947 * posix/bug-regex31.c: Include <stdlib.h>.
24948
24949 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24950
24951 * nis/nss_compat/compat-spwd.c
24952 (getspent_next_nss_netgr): Remove unused variable.
24953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24954
24955 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24956 nonmembers" output to use the right array.
24957
24958 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24959
24960 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24961
24962 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24963 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24964 * catgets/gencat.c (read_input_file): Likewise.
24965 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24966
24967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24968 variable definition inside #if's controlling its use.
24969
24970 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24971
24972 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24973
24974 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24975
24976 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24977 unreachable code.
24978
24979 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24980
b68e08db
RM
24981 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24982 * configure: Regenerated.
24983
b350afab
RM
24984 * Makerules: Revert last change.
24985 * elf/Makefile: Likewise.
24986
28368601
RM
249872011-06-09 Roland McGrath <roland@hack.frob.com>
24988
24989 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24990 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24991 (reloc-link): Likewise.
24992
11988f8f
UD
249932011-06-09 Ulrich Drepper <drepper@gmail.com>
24994
24995 * elf/Makefile: Add rules to build pldd.
24996 * elf/pldd.c: New file.
24997 * elf/pldd-xx.c: New file.
24998
e80fab37
UD
249992011-06-07 Ulrich Drepper <drepper@gmail.com>
25000
25001 * version.h: Update for 2.15 development version.
25002
9b849836
DM
250032011-06-07 David S. Miller <davem@davemloft.net>
25004
25005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25006 ifuncs.
25007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25008 elf_machine_lazy_rel): Likewise.
25009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25011 elf_machine_lazy_rel): Likewise.
25012 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25013 dl_hwcap via passed in argument.
25014 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25015 Likewise.
25016
5a31b283
AK
250172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25018
25019 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25020
069e52f8
RM
250212011-06-06 Roland McGrath <roland@hack.frob.com>
25022
25023 [BZ #12849]
25024 * manual/fdl-1.1.texi: New file, verbatim from:
25025 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25026 * manual/lgpl-2.1.texi: New file, verbatim from:
25027 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25028 * manual/Makefile (licenses): New variable, list those new file names.
25029 (texis): Use it.
25030 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25031
25032 * manual/fdl.texi: File removed.
25033 * manual/lesser.texi: File removed.
25034 * manual/libc.texinfo (Copying, Documentation License):
25035 Use new @include file names, put @appendix directive before @include.
25036
f16846a5
JJ
250372011-06-04 Jakub Jelinek <jakub@redhat.com>
25038
25039 [BZ #12841]
25040 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25041 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25042 (mq_open): Add __NTH.
25043
3d29045b
L
250442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25045
25046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25047 Assume Intel Core i3/i5/i7 processor if AVX is available.
25048
8c297311
UD
250492011-05-31 Ulrich Drepper <drepper@gmail.com>
25050
25051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25052 typo.
25053
c8fc0c91
UD
250542011-05-31 Andreas Schwab <schwab@redhat.com>
25055
25056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25057 memory. Use alloca_account. Fix memory leak when retrying.
25058
5b27a807
UD
250592011-05-31 Ulrich Drepper <drepper@gmail.com>
25060
356f8bc6
UD
25061 * version.h (RELEASE): Bump for 2.14 release.
25062 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25063
5b27a807
UD
25064 * config.make.in (RANLIB): Remove entry.
25065
01f16ab0
UD
250662011-05-30 Ulrich Drepper <drepper@gmail.com>
25067
41fce8bd
UD
25068 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25069 (libc.pot): Work around missing support for .ksh extension in xgettext.
25070
4769ae77
UD
25071 [BZ #12684]
25072 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25073 if both request failed.
25074 (send_dg): In case of server errors clear resplen or *resplen2.
25075
6b1e7d19
UD
25076 [BZ #12454]
25077 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25078 when there are multiple maps.
25079 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25080 (_dl_fini): Remove test here.
25081
01f16ab0
UD
25082 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25083
b1ebd700
UD
250842011-05-29 Ulrich Drepper <drepper@gmail.com>
25085
7ae22829
UD
25086 [BZ #12350]
25087 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25088 bit from old_res_options.
25089 (gaih_inet): Likewise.
25090
553149f6 25091 [BZ #11099]
18a84741 25092 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25093 as signed.
25094
652ffab1
UD
25095 * resolv/res_init.c (res_setoptions): Make the code more compact.
25096
16985fd0
UD
25097 [BZ #11558]
25098 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25099 set RES_USEVC.
25100
0464f746
UD
25101 [BZ #11634]
25102 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25103
7d17596c
UD
25104 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25105
cf6bbbd7
UD
25106 [BZ #11781]
25107 * malloc/malloc.h: Declare malloc hook variables as volatile.
25108
13f1ab36
UD
25109 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25110 in last patch.
25111
b1ebd700
UD
25112 [BZ #11799]
25113 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25114 raise in the comment.
80e2212d
UD
25115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25117 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25118
ce67228d
UD
251192011-05-28 Ulrich Drepper <drepper@gmail.com>
25120
8887a920
UD
25121 [BZ #12811]
25122 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25123 grow the buffers more if it already has to be sufficient.
25124 (build_wcs_upper_buffer): Likewise.
25125 * posix/regexec.c (check_matching): Likewise.
25126 (clean_state_log_if_needed): Likewise.
25127 (extend_buffers): Don't enlarge buffers beyond size of the input
25128 buffer.
25129 Patches mostly by Emil Wojak <emil@wojak.eu>.
25130 * posix/bug-regex32.c: New file.
25131 * posix/Makefile (tests): Add bug-regex32.
25132
4f031072
UD
25133 * locale/findlocale.c (_nl_find_locale): Return right away if
25134 _nl_explode_name failed.
25135 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25136
d0478f0c
UD
25137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25138
de81b246
UD
25139 * debug/xtrace.sh: Unify messages.
25140 * malloc/memusage.sh: Likewise.
25141
c738465a
UD
25142 [BZ #12813]
25143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25144 time symbol from vDSO. Substitute with vsyscall if not available.
25145 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25146 __vdso_time.
25147
f1f929d7
UD
25148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25149 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25151 Add sendmmsg and internal_sendmmsg.
25152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25155
ce67228d
UD
25156 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25157 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25159
e57420c6
UD
251602011-05-27 Ulrich Drepper <drepper@gmail.com>
25161
a8509ca5
UD
25162 [BZ #12813]
25163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25164 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25165 available.
25166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25167 __vdso_getcpu.
25168
e57420c6
UD
25169 [BZ #12814]
25170 * iconvdata/Makefile (tests): Add bug-iconv9.
25171 * iconvdata/bug-iconv9.c: New file.
25172
4d07db15
AS
251732011-05-27 Andreas Schwab <schwab@redhat.com>
25174
25175 [BZ #12814]
25176 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25177
ea486f69
JJ
251782011-05-25 Jakub Jelinek <jakub@redhat.com>
25179
25180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25181 (struct user_regs_struct): Change intcs field back to cs.
25182
6f038433
UD
251832011-05-25 Ulrich Drepper <drepper@gmail.com>
25184
25185 * po/ja.po: Update from translation team.
25186
67f86a25
UD
251872011-05-23 Ulrich Drepper <drepper@gmail.com>
25188
25189 [BZ #12795]
25190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25192
def7fbd6
AS
251932011-05-20 Andreas Schwab <schwab@redhat.com>
25194
25195 * stdlib/longlong.h: Update from GCC.
25196
f50ef8f1
AS
251972011-05-23 Andreas Schwab <schwab@redhat.com>
25198
25199 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25200 parameter name.
25201 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25202 Add parameter name.
25203 (__sysconf): Pass it down.
25204
de7ce8f1
UD
252052011-05-22 Ulrich Drepper <drepper@gmail.com>
25206
f2962a71
UD
25207 [BZ #12671]
25208 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25209 some situations.
25210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25211 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25212 add in in __libc_use_alloca calls. Adjust callers.
25213 (glob): Use malloc in some situations.
25214
de7ce8f1
UD
25215 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25216 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25217 pltexit.
25218
aec84f53
UD
252192011-05-21 Ulrich Drepper <drepper@gmail.com>
25220
05bb4a68
UD
25221 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25222 and CLOCK_BOOTTIME_ALARM.
25223
7ea72f99
UD
25224 [BZ #12782]
25225 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25226 is returned.
25227
7e4afad5
UD
25228 * string/_strerror.c (__strerror_r): Print negative errors as signed
25229 numbers.
25230
8e211fec
UD
25231 [BZ #12777]
25232 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25233 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25234 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25235
f7d82dc9
UD
25236 * configure.in: Fix typo in redirection and correct removal of test
25237 files in two cases.
25238
cc9e536d
UD
25239 [BZ #12788]
25240 * locale/setlocale.c (new_composite_name): Fix test to check for
25241 identical name of all categories.
25242
aec84f53
UD
25243 [BZ #12792]
25244 * libio/filedoalloc.c (local_isatty): New function.
25245 (_IO_file_doallocate): Use local_isatty.
25246 * stdio-common/perror.c (perror): In case a new stream is used
25247 forward the stream error.
25248 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25249 error flag.
25250
78e64fdc
RT
252512011-05-20 Ulrich Drepper <drepper@gmail.com>
25252
34a9094f
UD
25253 [BZ #11869]
25254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25255 alloca.
25256 * include/alloca.h (extend_alloca_account): Define.
25257
78e64fdc
RT
25258 [BZ #11857]
25259 * posix/regex.h: Fix comments with documentation of user-accessible
25260 fields after compilation and describe correct free'ing of pattern
25261 after re_compile_pattern.
25262 Patch by Reuben Thomas <rrt@sc3d.org>.
25263
457bddfc
RA
252642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25265
25266 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25267 and -mno-altivec to prevent the compiler from using Altivec and/or
25268 VSX instructions when the corresponding registers are not available.
25269
a4527b51
AS
252702011-05-19 Andreas Schwab <schwab@redhat.com>
25271
25272 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25273
ed690b2f
UD
252742011-05-19 Ulrich Drepper <drepper@gmail.com>
25275
25276 * libio/freopen.c (freopen): Use __dup2, not dup2.
25277 * libio/freopen64.c (freopen64): Likewise.
25278
8db73634
L
252792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 [BZ #12775]
25282 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25283 * math/Makefile (tests): Add test-powl.
25284 (CFLAGS-test-powl.c): Define.
25285 * math/test-powl.c: New file.
25286
0a197a9d
L
252872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25288
25289 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25290
ee30c380
UD
252912011-05-17 Ulrich Drepper <drepper@gmail.com>
25292
25293 [BZ #11837]
25294 * iconvdata/gb18030.c: Update to GB18020-2005.
25295
6ce75379
UD
252962011-05-16 Ulrich Drepper <drepper@gmail.com>
25297
a4b89fd8
AR
25298 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25299 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25300 Patch by Aharon Robbins <arnold@skeeve.com>.
25301
ea389b12
UD
25302 [BZ #11892]
25303 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25304 on the stack.
25305
68a3f91f
UD
25306 [BZ #11895]
25307 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25308 through underflows.
25309
15cc7dd1
UD
25310 [BZ #12766]
25311 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25312 point to strings before performing equality test for error_one_per_line
25313 mode.
25314
f3799213
UD
25315 [BZ #11697]
25316 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25317
d79a9c94
UD
25318 [BZ #11820]
25319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25320 (struct user_fpregs_struct): Avoid __uint*_t types.
25321
56e5eb46
UD
25322 [BZ #6420]
25323 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25324 symbol info. Use it instead of calling _dl_addr locally.
25325 (lock_and_info): New function.
25326 (tr_freehook): Call lock_and_info and pass symbol info as additional
25327 parameter to tr_where.
25328 (tr_mallochook): Likewise.
25329 (tr_reallochook): Likewise.
25330 (tr_memalignhook): Likewise.
25331
6ce75379
UD
25332 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25333 used and couldn't be at all thread-safe.
25334
f8a3b5bf
UD
253352011-05-15 Ulrich Drepper <drepper@gmail.com>
25336
94b7cc37
UD
25337 * libio/freopen.c (freopen): Don't close old file descriptor
25338 before the new one is opened. Instead dup the new file descriptor
25339 to the old one after the new stream is created.
25340 * libio/freopen64.c (freopen64): Likewise.
25341 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25342 * libio/fileops.c (_IO_new_file_close_it): Handle new
25343 _IO_FLAGS2_NOCLOSE flag.
25344 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25345 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25346 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25347 _IO_FLAGS2_NOCLOSE flag.
25348 * include/unistd.h: Add hidden_proto for dup3.
25349 Define __have_dup3.
25350 * io/dup3.c: Define hidden symbol.
25351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25352
bd25564e
UD
25353 [BZ #7101]
25354 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25355 when an incomplete long option is used.
25356 * posix/tst-getopt_long1.c: New file.
25357 * posix/Makefile (tests): Add tst-getopt_long1.
25358
c84cfef4
UD
25359 [BZ #10138]
25360 * scripts/config.guess: Update from autoconf-2.68.
25361 * scripts/config.sub: Likewise.
25362
3b85df27
UD
25363 [BZ #10157]
25364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25365 tests into ...
25366 (has_cpuclock): ...this. New function.
25367 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25368 macro here based on has_cpuclock code.
25369
15a856b1
UD
25370 [BZ #10149]
25371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25372 First byte (not low byte) is now always NUL.
25373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25374
05f399e6
UD
25375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25376 Use non-cancelable interfaces.
25377
10a52685 25378 [BZ #9809]
94ecc67d
UD
25379 * locale/iso-639.def: Add entry for Sorani.
25380
f8a3b5bf
UD
25381 [BZ #11901]
25382 * include/stdlib.h: Move include protection to the right place.
25383 Define abort_msg_s. Declare __abort_msg with it.
25384 * stdlib/abort.c (__abort_msg): Adjust type.
25385 * assert/assert.c (__assert_fail_base): New function. Majority
25386 of code from __assert_fail. Allocate memory for __abort_msg with
25387 mmap.
25388 (__assert_fail): Now call __assert_fail_base.
25389 * assert/assert-perr.c: Remove bulk of implementation. Use
25390 __assert_fail_base.
25391 * include/assert.hL Declare __assert_fail_base.
25392 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25393 mmap.
25394 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25395
1af4e298
UD
253962011-05-14 Ulrich Drepper <drepper@gmail.com>
25397
f8a3b5bf 25398 [BZ #11952]
d26dfc60
MG
25399 [BZ #12453]
25400 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25401 until all modules are registered in the DTV.
25402 * elf/Makefile: Add rules to build and run tst-tls19.
25403 * elf/tst-tls19.c: New file.
25404 * elf/tst-tls19mod1.c: New file.
25405 * elf/tst-tls19mod2.c: New file.
25406 * elf/tst-tls19mod3.c: New file.
25407 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25408
2fc54d6f
UD
25409 [BZ #12083]
25410 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25411 correctly.
25412
98d76b46
UD
25413 [BZ #12601]
25414 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25415 two-byte sequence errors.
25416 * iconvdata/Makefile (tests): Add bug-iconv8.
25417 * iconvdata/bug-iconv8.c: New file.
25418
da3c19ef
UD
25419 [BZ #12626]
25420 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25421 buf2 definition.
25422
ca408c15
UD
25423 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25424
d6f67f7d
UD
25425 [BZ #12432]
25426 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25427 (dummy_getcfa): New function.
25428 (init): Get _Unwind_GetCFA address, use dummy if not found.
25429 (backtrace_helper): In recursion check, also check whether CFA changes.
25430 (__backtrace): Completely initialize arg.
25431
1af4e298 25432 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25433 storing incomplete byte sequence in state object. Avoid testing for
25434 guaranteed too small input if we know there is enough data available.
1af4e298 25435
da62f81b
AS
254362011-05-11 Andreas Schwab <schwab@redhat.com>
25437
25438 * Makeconfig (+link-pie): Indent.
25439 * Rules (binaries-pie): Define if $(have-fpie) and
25440 $(build-shared).
25441 (binaries-shared): Also filter out $(binaries-pie).
25442 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25443 * nscd/Makefile (others-pie): Add nscd.
25444 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25445 ($(objpfx)nscd): Remove command override.
25446 * login/Makefile (others-pie): Add pt_chown.
25447 ($(objpfx)pt_chown): Remove command override.
25448 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25449 remove command overrides.
25450
fcabc0f8
UD
254512011-05-13 Ulrich Drepper <drepper@gmail.com>
25452
20030ae6
UD
25453 * libio/tst_putwc.c: Fix error messages.
25454
fcabc0f8
UD
25455 [BZ #12724]
25456 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25457 currently writing and seek to current position when not.
25458 * libio/Makefile (tests): Add bug-fclose1.
25459 * libio/bug-fclose1.c: New file.
25460
320a5dc0
PB
254612011-05-12 Ulrich Drepper <drepper@gmail.com>
25462
25463 [BZ #12511]
25464 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25465 don't set DF_1_NODELETE here.
25466 (do_lookup_x): When entering new entry test for copy relocation
25467 and if necessary set DF_1_NODELETE flag.
25468 * elf/tst-unique4.cc: New file.
25469 * elf/tst-unique4.h: New file.
25470 * elf/tst-unique4lib.cc: New file.
25471 * elf/Makefile: Add rules to build and run tst-unique4.
25472 Patch by Piotr Bury <pbury@goahead.com>.
25473
22836f52
UD
254742011-05-11 Ulrich Drepper <drepper@gmail.com>
25475
f574184a
UD
25476 [BZ #12052]
25477 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25478
e1fb097f
UD
25479 [BZ #12625]
25480 * misc/mntent_r.c (addmntent): Flush the stream after the output
25481
22836f52
UD
25482 [BZ #12393]
25483 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25484 (is_trusted_path_normalize): Skip initial colon. Append slash
25485 to empty buffer. Duplicate is_trusted_path code but allow
25486 constructed patch to be prefix.
25487 (is_dst): Allow $ORIGIN followed by /.
25488 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25489 Correct testing of result of is_trusted_path_normalize
25490 (decompose_rpath): Fix warning.
25491
7b3b0b2a
UD
254922011-05-10 Ulrich Drepper <drepper@gmail.com>
25493
25494 [BZ #11257]
25495 * grp/initgroups.c (internal_getgrouplist): When we found the service
25496 list through the initgroups entry in nsswitch.conf do not always
25497 continue on a successful lookup. Don't always use the
eac80ce2 25498 __nss_group_database value if it is set.
7b3b0b2a
UD
25499 * nss/nsswitch.conf (initgroups): Change action for successful db
25500 lookup to continue for compatibility.
25501
2a81eaa5
UD
255022011-05-09 Ulrich Drepper <drepper@gmail.com>
25503
be97a69e
UD
25504 [BZ #11532]
25505 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25506 and CP774 modules.
25507 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25508 and CP774 modules.
25509 * iconvdata/tst-tables.sh: Likewise.
25510 * iconvdata/cp770.c: New file.
25511 * iconvdata/cp771.c: New file.
25512 * iconvdata/cp772.c: New file.
25513 * iconvdata/cp773.c: New file.
25514 * iconvdata/cp774.c: New file.
25515 * iconvdata/testdata/CP770: New file.
25516 * iconvdata/testdata/CP770..UTF8: New file.
25517 * iconvdata/testdata/CP771: New file.
25518 * iconvdata/testdata/CP771..UTF8: New file.
25519 * iconvdata/testdata/CP772: New file.
25520 * iconvdata/testdata/CP772..UTF8: New file.
25521 * iconvdata/testdata/CP773: New file.
25522 * iconvdata/testdata/CP773..UTF8: New file.
25523 * iconvdata/testdata/CP774: New file.
25524 * iconvdata/testdata/CP774..UTF8: New file.
25525
25526 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25527 END CHARMAP line.
25528 * iconvdata/gen-8bit-gap.sh: Likewise.
25529 * iconvdata/gen-8bit.sh: Likewise.
25530
c1e9e399
UD
25531 * locale/iso-639.def: Add ary entry.
25532
24c55fb3 25533 [BZ #11258]
96b4b1b0
UD
25534 * locale/C-translit.h.in: Add U20A1 transliteration.
25535
bdc2f971
KB
25536 [BZ #12178]
25537 * locale/iso-639.def: Add wae entry.
25538 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25539
2952b117
UD
25540 [BZ #12545]
25541 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25542 for n.
25543
2a81eaa5
UD
25544 [BZ #12711]
25545 * locale/C-translit.h.in: Add entry for U20B9.
25546 Patch by pravin.d.s@gmail.com.
25547
28377d1b
UD
255482011-05-08 Ulrich Drepper <drepper@gmail.com>
25549
7fb90fb8
UD
25550 [BZ #12713]
25551 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25552 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25553 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25554 in rtld. Use *stat64.
7fb90fb8 25555 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25556 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25557 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25558 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25559 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25560 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25561 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25562 __fstatat64 macros.
7fb90fb8
UD
25563 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25564 * dirent/rewinddir.c: Add libc_hidden_def.
25565 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25566 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25567
28377d1b
UD
25568 * include/dirent.h (__alloc_dir): Add flags parameter.
25569 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25570 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25571 __alloc_dir.
25572 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25573 from fdopendir if O_CLOEXEC is already set.
25574
66bdbaa4
AM
255752011-03-15 Alan Modra <amodra@gmail.com>
25576
25577 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25578 l_tls_firstbyte_offset non-zero. Save padding offset in
25579 l_tls_firstbyte_offset for later use.
25580 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25581 freeing static tls block.
25582
95721191
JN
255832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25584
25585 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25586 where #ifdef was intended. The intent is to prevent ARG_MAX from
25587 being defined by the kernel headers.
25588
f87dfb1f
UD
255892011-05-07 Ulrich Drepper <drepper@gmail.com>
25590
25591 [BZ #12734]
25592 * resolv/resolv.h: Define RES_NOTLDQUERY.
25593 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25594 no-tld-query and set RES_NOTLDQUERY.
25595 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25596 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25597 modern BIND to search name as TLD unless forbidden.
25598
47c3cd7a
UD
255992011-05-07 Petr Baudis <pasky@suse.cz>
25600 Ulrich Drepper <drepper@gmail.com>
25601
25602 [BZ #12393]
25603 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25604 (is_trusted_path): ...to here.
c1e9ea35 25605 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25606 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25607 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25608
8a35c912
PP
256092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25610
25611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25612 __BEGIN/__END_DECLS.
25613
acd41f47
UD
256142011-05-06 Ulrich Drepper <drepper@gmail.com>
25615
25616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25617 NSS_STATUS_NOTFOUND if no record was found.
25618
597df647
AS
256192011-05-05 Andreas Schwab <schwab@redhat.com>
25620
25621 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25622 (headers-not-in-tirpc): Remove rpc/netdb.h
25623 * resolv/netdb.h: Revert last change.
25624
b9af1301
PP
256252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25626
25627 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25628 circular dependency between libgcc.a and libc.a.
25629
4e34d5f5
AS
256302011-05-05 Andreas Schwab <schwab@redhat.com>
25631
25632 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25633 * nis/Makefile: Don't install rpcsvc/*.
25634 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25635 instead of <rpc/types.h>.
25636 (MAXHOSTNAMELEN): Define.
25637
00ee369c
AS
256382011-05-03 Andreas Schwab <schwab@redhat.com>
25639
25640 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25641
0b592a30
MB
256422011-04-28 Maciej Babinski <mbabinski@google.com>
25643
25644 [BZ #12714]
25645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25646 gethostbyname4_r when IPv6 results are possible.
25647
6e04cbbe
UD
256482011-05-02 Ulrich Drepper <drepper@gmail.com>
25649
25650 [BZ #12723]
25651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25652 _PC_PIPE_BUF handling.
25653
e4ecafe0
BH
256542011-04-30 Bruno Haible <bruno@clisp.org>
25655
25656 [BZ #12717]
25657 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25658 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25659 to 'int'.
25660 * inet/getnameinfo.c (getnameinfo): Likewise.
25661
125ee683
UD
256622011-04-29 Ulrich Drepper <drepper@gmail.com>
25663
25664 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25665 to groups setting in database lookup.
25666 * nss/nsswitch.conf: Add initgroups entry.
25667
b722481a
EB
256682011-04-22 Ulrich Drepper <drepper@gmail.com>
25669
25670 [BZ #12685]
25671 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25672 mode string.
25673 Patch by Eric Blake <eblake@redhat.com>.
25674
4df46dbd
L
256752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25676
25677 * sunrpc/Makefile (need-export-routines): Add svc_run.
25678 (routines): Remove svc_run.
25679 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25680 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25681 * sunrpc/svc_run.c (svc_run): Likewise.
25682 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25683
e84142d2
UD
256842011-04-21 Ulrich Drepper <drepper@gmail.com>
25685
25686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25687 problem in reallocation in last patch.
25688
877175d8
UD
256892011-04-20 Ulrich Drepper <drepper@gmail.com>
25690
25691 * sunrpc/Makefile: Move inclusion of Rules.
25692
ab8eed78
UD
256932011-04-19 Ulrich Drepper <drepper@gmail.com>
25694
25695 * nss/nss_files/files-initgroups.c: New file.
25696 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25697 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25698 _nss_files_initgroups_dyn.
25699
e3d8f584
RS
257002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25701
25702 * elf/elf.h (R_ARM_IRELATIVE): Define.
25703
af190f45
UD
257042011-04-19 Ulrich Drepper <drepper@gmail.com>
25705
25706 * po/ru.po: Update from translation team.
25707
53cf59ef
UD
257082011-04-17 Ulrich Drepper <drepper@gmail.com>
25709
25710 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25711 dependencies.
25712
4c559bcd
MF
257132011-02-06 Mike Frysinger <vapier@gentoo.org>
25714
25715 [BZ #12653]
25716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25717 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25721
4420675c
AS
257222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25723
25724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25725 differing bytes.
25726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25729
75ea32ab
UD
257302011-04-17 Ulrich Drepper <drepper@gmail.com>
25731
25732 [BZ #12420]
25733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25734 storing it.
25735 * stdlib/bug-getcontext.c: New file.
25736 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25737
27390476
AK
257382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25739
25740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25741 instructions into .machine "z9-109".
25742 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25743 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25744
10442705
AK
257452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25746
25747 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25748 between environment variables and auxiliary vector.
25749
7b57bfe5
UD
257502011-04-16 Ulrich Drepper <drepper@gmail.com>
25751
25752 * Makefile: Add rules to build linkobj/libc.so.
25753 * include/libc-symbols.h: Define libc_hidden_nolink.
25754 * include/rpc/auth.h: Mark functions which are to be hidden.
25755 * include/rpc/auth_des.h: Likewise.
25756 * include/rpc/auth_unix.h: Likewise.
25757 * include/rpc/clnt.h: Likewise.
25758 * include/rpc/des_crypt.h: Likewise.
25759 * include/rpc/key_prot.h: Likewise.
25760 * include/rpc/pmap_clnt.h: Likewise.
25761 * include/rpc/pmap_prot.h: Likewise.
25762 * include/rpc/pmap_rmt.h: Likewise.
25763 * include/rpc/rpc_msg.h: Likewise.
25764 * include/rpc/svc.h: Likewise.
25765 * include/rpc/svc_auth.h: Likewise.
25766 * include/rpc/xdr.h: Likewise.
25767 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25768 * nss/Makefile: Likewise.
25769 * sunrpc/Makefile: Don't install headers. Build library with normal
25770 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25771 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25772 for the compat linking library. Remove use of INTDEF/INTUSE.
25773 * sunrpc/auth_none.c: Likewise.
25774 * sunrpc/auth_unix.c: Likewise.
25775 * sunrpc/authdes_prot.c: Likewise.
25776 * sunrpc/authuxprot.c: Likewise.
25777 * sunrpc/clnt_gen.c: Likewise.
25778 * sunrpc/clnt_perr.c: Likewise.
25779 * sunrpc/clnt_raw.c: Likewise.
25780 * sunrpc/clnt_simp.c: Likewise.
25781 * sunrpc/clnt_tcp.c: Likewise.
25782 * sunrpc/clnt_udp.c: Likewise.
25783 * sunrpc/clnt_unix.c: Likewise.
25784 * sunrpc/des_crypt.c: Likewise.
25785 * sunrpc/des_soft.c: Likewise.
25786 * sunrpc/get_myaddr.c: Likewise.
25787 * sunrpc/key_call.c: Likewise.
25788 * sunrpc/key_prot.c: Likewise.
25789 * sunrpc/netname.c: Likewise.
25790 * sunrpc/pm_getmaps.c: Likewise.
25791 * sunrpc/pm_getport.c: Likewise.
25792 * sunrpc/pmap_clnt.c: Likewise.
25793 * sunrpc/pmap_prot.c: Likewise.
25794 * sunrpc/pmap_prot2.c: Likewise.
25795 * sunrpc/pmap_rmt.c: Likewise.
25796 * sunrpc/publickey.c: Likewise.
25797 * sunrpc/rpc_cmsg.c: Likewise.
25798 * sunrpc/rpc_common.c: Likewise.
25799 * sunrpc/rpc_dtable.c: Likewise.
25800 * sunrpc/rpc_prot.c: Likewise.
25801 * sunrpc/rpc_thread.c: Likewise.
25802 * sunrpc/rtime.c: Likewise.
25803 * sunrpc/svc.c: Likewise.
25804 * sunrpc/svc_auth.c: Likewise.
25805 * sunrpc/svc_authux.c: Likewise.
25806 * sunrpc/svc_raw.c: Likewise.
25807 * sunrpc/svc_run.c: Likewise.
25808 * sunrpc/svc_simple.c: Likewise.
25809 * sunrpc/svc_tcp.c: Likewise.
25810 * sunrpc/svc_udp.c: Likewise.
25811 * sunrpc/svc_unix.c: Likewise.
25812 * sunrpc/svcauth_des.c: Likewise.
25813 * sunrpc/xcrypt.c: Likewise.
25814 * sunrpc/xdr.c: Likewise.
25815 * sunrpc/xdr_array.c: Likewise.
25816 * sunrpc/xdr_float.c: Likewise.
25817 * sunrpc/xdr_intXX_t.c: Likewise.
25818 * sunrpc/xdr_mem.c: Likewise.
25819 * sunrpc/xdr_rec.c: Likewise.
25820 * sunrpc/xdr_ref.c: Likewise.
25821 * sunrpc/xdr_sizeof.c: Likewise.
25822 * sunrpc/xdr_stdio.c: Likewise.
25823
e6c61494
UD
258242011-04-10 Ulrich Drepper <drepper@gmail.com>
25825
25826 [BZ #12650]
25827 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25828 * sysdeps/ia64/dl-tls.h: Likewise.
25829 * sysdeps/powerpc/dl-tls.h: Likewise.
25830 * sysdeps/s390/dl-tls.h: Likewise.
25831 * sysdeps/sh/dl-tls.h: Likewise.
25832 * sysdeps/sparc/dl-tls.h: Likewise.
25833 * sysdeps/x86_64/dl-tls.h: Likewise.
25834 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25835
34fe483e
AS
258362011-03-14 Andreas Schwab <schwab@redhat.com>
25837
25838 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25839 rpath element also skip the following colon.
25840 (expand_dynamic_string_token): Add is_path parameter and pass
25841 down to DL_DST_REQUIRED and _dl_dst_substitute.
25842 (decompose_rpath): Call expand_dynamic_string_token with
25843 non-zero is_path. Ignore empty rpaths.
25844 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25845 with zero is_path.
25846
f12a32e6
AS
258472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25848
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25850 Make cancelable.
25851
38a7d692
UD
258522011-04-09 Ulrich Drepper <drepper@gmail.com>
25853
25854 [BZ #12655]
25855 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25856 Patch by Filipe David Manana <fdmanana@apache.org>.
25857
e451d22b
AS
258582011-04-07 Andreas Schwab <schwab@redhat.com>
25859
25860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25861 Maintain aligned stack.
25862 (CHECK_RSP): Remove unused macro.
25863
dedc7c7b
UD
258642011-04-03 Ulrich Drepper <drepper@gmail.com>
25865
25866 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25868
94521213
UD
258692011-04-02 Ulrich Drepper <drepper@gmail.com>
25870
25871 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25872
8cb700c0 25873 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25874
0354e355
L
258752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25876
25877 [BZ #12518]
25878 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25879 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25880 * sysdeps/x86_64/memmove.c: New file.
25881 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25882 (memcpy): Renamed to ...
25883 (__new_memcpy): This.
25884 (memcpy): Provide GLIBC_2_14 memcpy.
25885 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25886 (memcpy): Provide GLIBC_2_2_5 memcpy.
25887
8593482f
UD
258882011-04-01 Ulrich Drepper <drepper@gmail.com>
25889
25890 [BZ #12631]
25891 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25892
81a5726b
AS
258932011-03-30 Andreas Schwab <schwab@redhat.com>
25894
25895 * misc/syncfs.c: New file.
25896 * misc/Makefile (routines): Add syncfs.
25897 * posix/unistd.h: Declare syncfs.
25898 * sysdeps/unix/syscalls.list: Add syncfs.
25899
00e5419f
AS
259002011-04-01 Andreas Schwab <schwab@redhat.com>
25901
25902 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25903 open_by_handle_at.
25904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25911
748876bf
UD
259122011-04-01 Ulrich Drepper <drepper@gmail.com>
25913
658e451d
UD
25914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25921
748876bf
UD
25922 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25923 sync_file_range.c with -fexceptions.
25924 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25925 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25926 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25927 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25928 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25931 sync_file_range as cancellation point
25932 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25933 now a wrapper around __call_sync_file_range with cancellation handling.
25934 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25936 function name to __call_sync_file_range.
25937 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25938 Add call_sync_file_range.
748876bf 25939
6e63d5e1
AS
259402011-04-01 Andreas Schwab <schwab@redhat.com>
25941
25942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25943 bits/timex.h.
6e63d5e1 25944
46998f74
UD
259452011-04-01 Ulrich Drepper <drepper@gmail.com>
25946
4c1423ed
UD
25947 * iconv/iconv.h: Fix typo in comment.
25948 * io/fcntl.h: Likewise.
25949 * libio/stdio.h: Likewise.
25950 * posix/spawn.h: Likewise.
25951 * posix/unistd.h: Likewise.
25952 * stdlib/stdlib.h: Likewise.
25953 * time/time.h: Likewise.
25954 * wcsmbs/wchar.h: Likewise.
25955
158648c0
UD
25956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25957 open_by_handle): Add.
25958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25959 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25960 Augment a few comments.
25961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25966 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25967 open_by_handle.
25968
46998f74
UD
25969 * io/fcntl.h (AT_EMPTY_PATH): Define.
25970
83fe108b
UD
259712011-03-30 Ulrich Drepper <drepper@gmail.com>
25972
25973 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25974 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25975 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25976 to...
25977 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25978 * Versions.def: Add GLIBC_2.14.
25979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25980 Export.
83fe108b 25981
bb242059
UD
259822011-03-22 Ulrich Drepper <drepper@gmail.com>
25983
25984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25985 round counter.
25986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25987
c97a1282
L
259882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25989
25990 [BZ #12597]
25991 * string/test-strncmp.c (do_page_test): New function.
25992 (check2): Likewise.
25993 (test_main): Call check2.
25994 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25995
2a115601
UD
259962011-03-20 Ulrich Drepper <drepper@gmail.com>
25997
25998 [BZ #12587]
25999 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26000 Handle cache information in CPU leaf 4.
26001 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26002
8126d904
UD
260032011-03-18 Ulrich Drepper <drepper@gmail.com>
26004
042c49c6 26005 [BZ #12583]
8126d904
UD
26006 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26007 character representation.
26008 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26009
ccfe366e
RA
260102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26011
26012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26013 END(__isnan) to END(__isnanf) to match function entry point/label
26014 EALIGN(__isnanf,...).
26015
c6e13027
JJ
260162011-03-10 Jakub Jelinek <jakub@redhat.com>
26017
26018 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26019
33f85a3f
UD
260202011-03-10 Ulrich Drepper <drepper@gmail.com>
26021
028478fa
UD
26022 [BZ #12510]
26023 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26024 copy from the symbol referenced in the relocation to initialize the
26025 used variable.
26026 Patch by Piotr Bury <pbury@goahead.com>.
26027 * elf/Makefile: Add rules to build and tst-unique3.
26028 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26029 * elf/tst-unique3.cc: New file.
26030 * elf/tst-unique3.h: New file.
26031 * elf/tst-unique3lib.cc: New file.
26032 * elf/tst-unique3lib2.cc: New file.
26033
33f85a3f
UD
26034 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26035
03592fc7
MF
260362011-03-10 Mike Frysinger <vapier@gentoo.org>
26037
26038 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26039 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26040 to _start.
03592fc7 26041
6a5ee102
UD
260422011-03-06 Ulrich Drepper <drepper@gmail.com>
26043
26044 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26045 to-be-loaded object along a path to loader is ld.so.
26046
7e4ba49c
HJ
260472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26048 Ulrich Drepper <drepper@gmail.com>
26049
26050 * sysdeps/x86_64/memset.S: After aligning destination, code
26051 branches to different locations depending on the value of
26052 misalignment, when multiarch is enabled. Fix this.
26053
260542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26055
26056 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26057 Set _x86_64_preferred_memory_instruction for AMD processsors.
26058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26059 Set bit_Prefer_SSE_for_memop for AMD processors.
26060
13a804de
UD
260612011-03-04 Ulrich Drepper <drepper@gmail.com>
26062
26063 * libio/fmemopen.c (fmemopen): Optimize a bit.
26064
9d25c392
AS
260652011-03-03 Andreas Schwab <schwab@redhat.com>
26066
26067 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26068
a5543c6a
RM
260692011-03-03 Roland McGrath <roland@redhat.com>
26070
26071 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26072
012d35f7
DM
260732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26074
7e4ba49c 26075 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26076 __bzero_ultra1 instead of __memset_ultra1.
26077
4bff6e01
AS
260782011-02-23 Andreas Schwab <schwab@redhat.com>
26079 Ulrich Drepper <drepper@gmail.com>
26080
26081 [BZ #12509]
26082 * include/link.h (struct link_map): Add l_orig_initfini.
26083 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26084 returning unsuccessfully.
26085 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26086 close of a file loaded at startup, restore the original l_initfini
26087 list.
26088 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26089 list, store the pointer.
26090 * elf/Makefile ($(objpfx)noload-mem): New rule.
26091 (noload-ENV): Define.
26092 (tests): Add $(objpfx)noload-mem.
26093 * elf/noload.c: Include <memcheck.h>.
26094 (main): Call mtrace. Close all opened handles.
26095
f2092faf
AS
260962011-02-17 Andreas Schwab <schwab@redhat.com>
26097
26098 [BZ #12454]
26099 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26100 dependencies are missing.
26101
6c8a2e88
ST
261022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26103
f2092faf 26104 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26105 Hurd needs munmap.
26106 * sysdeps/mach/hurd/ifreq.h: New file.
26107
84a42118
PB
261082011-01-27 Petr Baudis <pasky@suse.cz>
26109 Ulrich Drepper <drepper@gmail.com>
26110
071f805e 26111 [BZ 12445]#
84a42118
PB
26112 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26113 to extend_alloca().
26114 * stdio-common/bug23.c: New file.
26115 * stdio-common/Makefile (tests): Add bug23.
26116
e23fe25b
AS
261172010-09-28 Andreas Schwab <schwab@redhat.com>
26118 Ulrich Drepper <drepper@gmail.com>
26119
26120 [BZ #12489]
26121 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26122 before performing relro protection. At old place add assertion
26123 to make sure nothing changed.
26124
d3f02e10
NS
261252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26126 Glauber de Oliveira Costa <glommer@gmail.com>
26127
26128 * elf/elf.h: Add new ARM TLS relocs.
26129
d55fd7a5
RA
261302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26131
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26133 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26134 cast from r3.
26135 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26136 'tests' variable.
26137 * sysdeps/wordsize-64/tst-writev.c: New file.
26138
2206397e
RA
261392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26140
26141 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26142 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26143 insns in _dl_start to prevent a TOC reference before relocs are
26144 resolved.
26145
e9433893
UD
261462011-02-15 Ulrich Drepper <drepper@gmail.com>
26147
26148 [BZ #12469]
26149 * Makeconfig: Remove RANLIB definition.
26150 * Makerules: Don't use RANLIB.
26151 * aclocal.m4: Remove ranlib test.
26152 * configure.in: No need to check for ranlib.
26153 * elf/rtld-Rules: Don't use RANLIB.
26154
f75286c6
ST
261552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26156
8e31c82d
ST
26157 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26158 protection macro.
26159 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26160 inclusion protection macro.
26161
f75286c6
ST
26162 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26163 SIGRTMIN and SIGRTMAX and print information in that case only when
26164 SIGRTMIN is defined.
26165
c1d0e639
JJ
261662011-02-11 Jakub Jelinek <jakub@redhat.com>
26167
26168 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26169 arginfo fn returning -1.
26170
26171 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26172 and thousands string is zero terminated.
26173
edf9294e
AS
261742011-02-03 Andreas Schwab <schwab@redhat.com>
26175
26176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26177 sysdeps/unix/sysv/linux/bits/socket.h.
26178
2b7e92df
ST
261792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26180
edf9294e
AS
26181 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26182 (__CPU_COUNT): Remove old macros.
26183 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26184 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26185 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26186 (__sched_cpualloc, __sched_cpufree): Add declarations.
26187
a4c7ea7b
UD
261882011-02-05 Ulrich Drepper <drepper@gmail.com>
26189
26190 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26191 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26192 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26193 (readdhstai): Return value of addhstaiX call.
26194 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26195 (addgrbyX): Return value returned by cache_addgr.
26196 (readdgrbyname): Return value returned by addgrbyX.
26197 (readdgrbygid): Likewise.
26198 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26199 (addpwbyX): Return value returned by cache_addpw.
26200 (readdpwbyname): Return value returned by addhstbyX.
26201 (readdpwbyuid): Likewise.
26202 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26203 (addservbyX): Return value returned by cache_addserv.
26204 (readdservbyname): Return value returned by addservbyX:
26205 (readdservbyport): Likewise.
26206 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26207 (addhstbyX): Return value returned by cache_addhst.
26208 (readdhstbyname): Return value returned by addhstbyX.
26209 (readdhstbyaddr): Likewise.
26210 (readdhstbynamev6): Likewise.
26211 (readdhstbyaddrv6): Likewise.
26212 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26213 (readdinitgroups): Return value returned by addinitgroupsX.
26214 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26215 (prune_cache): Keep track of timeout value of re-added entries.
26216 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26217 * nscd/nscd.h: Adjust prototypes of readd* functions.
26218
a0bf67cc
RM
262192011-02-04 Roland McGrath <roland@redhat.com>
26220
26221 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26222 (nis_stats): Likewise.
26223 * nis/nis_modify.c (nis_modify): Likewise.
26224 * nis/nis_remove.c (nis_remove): Likewise.
26225 * nis/nis_add.c (nis_add): Likewise.
26226
26227 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26228
26229 * posix/fnmatch_loop.c: Add some consts.
26230
26231 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26232
435b95eb
L
262332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 [BZ #12460]
26236 * config.make.in (config-cflags-novzeroupper): Define.
26237 * configure.in: Substitute libc_cv_cc_novzeroupper.
26238 * elf/Makefile (AVX-CFLAGS): Define.
26239 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26240 (CFLAGS-tst-auditmod4a.c): Likewise.
26241 (CFLAGS-tst-auditmod4b.c): Likewise.
26242 (CFLAGS-tst-auditmod6b.c): Likewise.
26243 (CFLAGS-tst-auditmod6c.c): Likewise.
26244 (CFLAGS-tst-auditmod7b.c): Likewise.
26245 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26246
8517b15e
UD
262472011-02-02 Ulrich Drepper <drepper@gmail.com>
26248
26249 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26250 function to the callback.
26251 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26252
10a656fe
AS
262532011-02-02 Andreas Schwab <schwab@redhat.com>
26254
26255 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26256 of errno.
26257
968dad0a
UD
262582011-01-19 Ulrich Drepper <drepper@gmail.com>
26259
9f94d2ea 26260 [BZ #11724]
968dad0a
UD
26261 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26262 of constructors.
26263 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26264 of destructors.
26265 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26266
26267 [BZ #11724]
26268 * elf/Makefile: Add rules to build and run new test.
26269 * elf/tst-initorder.c: New file.
26270 * elf/tst-initorder.exp: New file.
26271 * elf/tst-initordera1.c: New file.
26272 * elf/tst-initordera2.c: New file.
26273 * elf/tst-initordera3.c: New file.
26274 * elf/tst-initordera4.c: New file.
26275 * elf/tst-initorderb1.c: New file.
26276 * elf/tst-initorderb2.c: New file.
26277 * elf/tst-order-a1.c: New file.
26278 * elf/tst-order-a2.c: New file.
26279 * elf/tst-order-a3.c: New file.
26280 * elf/tst-order-a4.c: New file.
26281 * elf/tst-order-b1.c: New file.
26282 * elf/tst-order-b2.c: New file.
26283 * elf/tst-order-main.c: New file.
26284 New test case by George Gensure <werkt0@gmail.com>.
26285
86e92359
UD
262862010-10-01 Andreas Schwab <schwab@redhat.com>
26287
26288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26289 decoding ACE if AI_CANONIDN.
26290
5d5732b0
UD
262912011-01-18 Ulrich Drepper <drepper@gmail.com>
26292
26293 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26294
a77e8cbc
UD
262952011-01-17 Ulrich Drepper <drepper@gmail.com>
26296
6392473f
UD
26297 * version.h (RELEASE): Bump for 2.13 release.
26298 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26299
620a0529
UD
26300 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26301
18ba70a5
UD
26302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26303 MADV_NOHUGEPAGE.
32465c3e
UD
26304 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26310
c0dafcf1
UD
26311 * posix/getconf.c: Update copyright year.
26312 * catgets/gencat.c: Likewise.
26313 * csu/version.c: Likewise.
26314 * debug/catchsegv.sh: Likewise.
26315 * debug/xtrace.sh: Likewise.
26316 * elf/ldconfig.c: Likewise.
26317 * elf/ldd.bash.in: Likewise.
26318 * elf/sprof.c (print_version): Likewise.
26319 * iconv/iconv_prog.c: Likewise.
26320 * iconv/iconvconfig.c: Likewise.
26321 * locale/programs/locale.c: Likewise.
26322 * locale/programs/localedef.c: Likewise.
26323 * malloc/memusage.sh: Likewise.
26324 * malloc/mtrace.pl: Likewise.
26325 * nscd/nscd.c (print_version): Likewise.
26326 * nss/getent.c: Likewise.
26327
a77e8cbc
UD
26328 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26329 PF_CAIF, and PF_ALG.
26330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26331
77e8bddf
AS
263322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26333
1f20b93a
AS
26334 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26335 (modules-names): Use them.
26336 (ifunc-test-modules, ifunc-pie-tests): Define.
26337 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26338 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26339 (test-extras): Likewise.
26340 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26341 $(compile-command.c).
26342 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26343 (all-built-dso): Define.
26344 (check-textrel.out, check-execstack.out): Depend on it.
26345
77e8bddf
AS
26346 * configure.in: Don't override --enable-multi-arch.
26347
bc425b33
UD
263482011-01-15 Ulrich Drepper <drepper@gmail.com>
26349
26350 [BZ #6812]
26351 * nscd/hstcache.c (tryagain): Define.
26352 (cache_addhst): Return tryagain not notfound for temporary errors.
26353 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26354 failed.
26355
794c3ad3
UD
263562011-01-14 Ulrich Drepper <drepper@gmail.com>
26357
70181fdd
UD
26358 [BZ #10563]
26359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26360 to make the syscall.
26361 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26362
794c3ad3
UD
26363 [BZ #12378]
26364 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26365 and fall back to matching as normal character if the string ends before
26366 the matching ']' is found. This is what POSIX requires.
26367 * posix/testfnm.c: Adjust test result.
26368 * posix/globtest.sh: Adjust test result. Add new test.
26369 * posix/tst-fnmatch.input: Likewise.
26370 * posix/tst-fnmatch2.c: Add new test.
26371
68dc9497
AS
263722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26373
26374 * elf/Makefile (check-execstack): Revert last change. Depend on
26375 check-execstack.h.
26376 (check-execstack.h): New target.
26377 (generated): Add check-execstack.h.
26378 * elf/check-execstack.c: Include "check-execstack.h".
26379 (main): Revert last change.
26380 (handle_file): Return zero if GNU_STACK is absent and
26381 DEFAULT_STACK_PERMS doesn't include PF_X.
26382
451f001b
UD
263832011-01-13 Ulrich Drepper <drepper@gmail.com>
26384
cfa28e56
UD
26385 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26386 in child fails because the descriptor is already closed.
8cf8ce17
UD
26387 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26388 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26390
1086d70d
UD
26391 [BZ #12397]
26392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26393 syscall.
26394
451f001b
UD
26395 [BZ #10484]
26396 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26397 temporary buffer used to handle multi lookups locally.
a85b5cb4 26398 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26399
08769175
UD
264002011-01-12 Ulrich Drepper <drepper@gmail.com>
26401
26402 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26403 loader is ld.so.
26404
5e49c52e
UD
264052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26406
26407 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26408 alignment for SSE2.
26409
60522a5f
UD
264102011-01-12 Ulrich Drepper <drepper@gmail.com>
26411
26412 [BZ #12394]
26413 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26414 characters. When rounding increased number of integer digits recompute
26415 number of groups.
26416 * stdio-common/tst-grouping.c: New file.
26417 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26418
f257bbd7
UD
264192011-01-09 Ulrich Drepper <drepper@gmail.com>
26420
26421 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26422 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26423
26424 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26425 void.
26426 * bits/select.h: Likewise.
26427
fa9c15cb
UD
264282011-01-08 Ulrich Drepper <drepper@gmail.com>
26429
26430 * po/ja.po: Update from translation team.
26431
16c2895f
DM
264322011-01-04 David S. Miller <davem@sunset.davemloft.net>
26433
26434 [BZ #11155]
26435 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26436 implementation just like for lxstat, fxstatat, et al.
26437
2543fef2
JM
264382010-12-27 Jim Meyering <meyering@redhat.com>
26439
26440 [BZ #12348]
26441 * posix/regexec.c (build_trtable): Return failure indication upon
26442 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26443
98727dbe
UD
264442010-12-25 Ulrich Drepper <drepper@gmail.com>
26445
5bd6dc5c
UD
26446 [BZ #12201]
26447 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26448 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26451
97983464
UD
26452 [BZ #12207]
26453 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26454
98727dbe
UD
26455 [BZ #12204]
26456 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26457 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26458
4a531bb0
L
264592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26462 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26463 script has SORT_BY_INIT_PRIORITY.
26464 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26465 NO_CTORS_DTORS_SECTIONS is defined.
26466 * elf/soinit.c: Likewise.
26467 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26468 NO_CTORS_DTORS_SECTIONS is defined.
26469 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26470 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26471 * sysdeps/sh/init-first.c: Likewise.
26472 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26473
07eb4b71
UD
264742010-12-24 Ulrich Drepper <drepper@gmail.com>
26475
26476 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26477 always use the slow path.
26478
30950a5f
RA
264792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26480
26481 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26482 similar rule which adds the sysdep directories to the header search in
26483 order to pick up the correct platform stackinfo.h.
26484 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26485 perform test if it is, otherwise return successfully without testing.
26486 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26487 DEFAULT_STACK_PERMS define in stackinfo.h.
26488 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26489 defined in stackinfo.h.
26490 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26491 DEFAULT_STACK_PERMS defined in stackinfo.h.
26492 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26493 * sysdeps/ia64/stackinfo.h: Likewise.
26494 * sysdeps/s390/stackinfo.h: Likewise.
26495 * sysdeps/sh/stackinfo.h: Likewise.
26496 * sysdeps/sparc/stackinfo.h: Likewise.
26497 * sysdeps/x86_64/stackinfo.h: Likewise.
26498 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26499 PF_X for powerpc64. Retain PF_X for powerpc32.
26500
db753e2c
UD
265012010-12-19 Ulrich Drepper <drepper@gmail.com>
26502
14b697f7
UD
26503 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26504 accurately.
db753e2c
UD
26505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26506 GETDENTS_64BIT_ALIGNED.
26507
28300719
UD
265082010-12-14 Ulrich Drepper <dreper@gmail.com>
26509
14b697f7 26510 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26511
4f197237
AS
265122010-12-10 Andreas Schwab <schwab@redhat.com>
26513
dbb0472f
AS
26514 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26515 _GNU_SOURCE.
26516
4f197237
AS
26517 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26518 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26519 Remove __restrict.
26520 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26521 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26522
fb88ac72
UD
265232010-12-09 Ulrich Drepper <drepper@gmail.com>
26524
26525 [BZ #11655]
26526 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26527 are initialized.
26528
42acbb92
JJ
265292010-12-09 Jakub Jelinek <jakub@redhat.com>
26530
26531 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26532
c038d98d
UD
265332010-12-03 Ulrich Drepper <drepper@gmail.com>
26534
26535 * po/it.po: Update from translation team.
26536
3a4a2499
L
265372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26538
26539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26540 unused codes.
26541
1e24cf6e
UD
265422010-11-30 Ulrich Drepper <drepper@gmail.com>
26543
26544 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26545
a7690819
AS
265462010-11-24 Andreas Schwab <schwab@redhat.com>
26547
26548 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26549 specially.
26550 (gaih_getanswer_slice): Likewise.
26551
3bf8d1b1
JJ
265522010-10-20 Jakub Jelinek <jakub@redhat.com>
26553
26554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26555
6db52fbb
PB
265562010-05-31 Petr Baudis <pasky@suse.cz>
26557
26558 [BZ #11149]
26559 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26560 silently even in the chroot mode.
26561
eaca7569
UD
265622010-11-22 Ulrich Drepper <drepper@gmail.com>
26563
26564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26565 last patch a bit. Pretty printing
26566
3056dcdb
UD
265672010-05-31 Petr Baudis <pasky@suse.cz>
26568
26569 [BZ #10085]
26570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26571 initialization of skip_initgroups_dyn.
26572
cf7c9078
UD
265732010-11-19 Ulrich Drepper <drepper@gmail.com>
26574
26575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26577
a1fb5e3e
UD
265782010-11-16 Ulrich Drepper <drepper@gmail.com>
26579
26580 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26581
3540d66b
AS
265822010-11-11 Andreas Schwab <schwab@redhat.com>
26583
26584 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26585 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26586 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26587 ($(objpfx)tst-fnmatch-mem): New rule.
26588 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26589 * posix/tst-fnmatch.c (main): Call mtrace.
26590
13b69574
L
265912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26592
26593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26594 Support Intel processor model 6 and model 0x2c.
26595
da93d214
LM
265962010-11-10 Luis Machado <luisgpm@br.ibm.com>
26597
26598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26599 signed comparison.
26600
8ca52c6e
L
266012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26602
26603 [BZ #12205]
26604 * string/test-strncasecmp.c (check_result): New function.
26605 (do_one_test): Use it.
26606 (check1): New function.
26607 (test_main): Use it.
26608 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26609 Support strcasecmp and strncasecmp.
26610
69da074d
UD
266112010-11-08 Ulrich Drepper <drepper@gmail.com>
26612
26613 [BZ #12194]
26614 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26616
ff02d528
L
266172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26618
26619 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26620 IFUNC support.
26621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26622 memset-x86-64.
26623 * sysdeps/x86_64/multiarch/bzero.S: New file.
26624 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26625 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26626 * sysdeps/x86_64/multiarch/memset.S: New file.
26627 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26629 Set bit_Prefer_SSE_for_memop for Intel processors.
26630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26631 Define.
26632 (index_Prefer_SSE_for_memop): Define.
26633 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26634
344d0b54
LM
266352010-11-04 Luis Machado <luisgpm@br.ibm.com>
26636
26637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26639
c0dde15b
UD
266402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 [BZ #12191]
26643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26644 (__x86_64_raw_data_cache_size_half): Likewise.
26645 (__x86_64_raw_shared_cache_size): Likewise.
26646 (__x86_64_raw_shared_cache_size_half): Likewise.
26647
26648 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26649 (__x86_64_raw_data_cache_size_half): Likewise.
26650 (__x86_64_raw_shared_cache_size): Likewise.
26651 (__x86_64_raw_shared_cache_size_half): Likewise.
26652 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26653 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26654 and __x86_64_raw_shared_cache_size_half. Round
26655 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26656 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26657 to multiple of 256 bytes.
26658
0e516e0e
MS
266592010-11-03 Ulrich Drepper <drepper@gmail.com>
26660
26661 [BZ #12167]
26662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26663 of inacessible symlinks. Verify result of symlink before returning it.
26664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26665 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26666
0e012e87
ER
266672010-10-28 Erich Ritz <erichritz@gmail.com>
26668
26669 * math/math.h (isinf): Fix typo in comment.
26670
de0ff7bc
UD
266712010-11-01 Ulrich Drepper <drepper@gmail.com>
26672
26673 * po/da.po: Update from translation team.
26674
fa41c84d
UD
266752010-10-26 Ulrich Drepper <drepper@gmail.com>
26676
26677 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26678 is added to the list.
26679
f0967738
AK
266802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26681 Ulrich Drepper <drepper@gmail.com>
26682
26683 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26684 the global list here. Move code to...
26685 (_dl_add_to_namespace_list): ...here. New function.
26686 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26687 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26688 * elf/dl-load.c (lose): Don't remove the element from the list.
26689 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26690 (_dl_map_object): Likewise.
26691
266922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26693
26694 [BZ #12159]
26695 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26696 into all bytes of SSE register.
26697 Patch by Richard Li <richardpku@gmail.com>.
26698
f0967738 266992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26700
26701 [BZ #12140]
26702 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26703 perturbing.
26704
d0b9e94f
MB
267052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26706
26707 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26708 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26712 submachine.
26713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26714
8e9f92e9
AS
267152010-10-22 Andreas Schwab <schwab@redhat.com>
26716
26717 * include/dlfcn.h (__RTLD_SECURE): Define.
26718 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26719 mode & __RTLD_SECURE instead.
26720 (open_path): Rename preloaded parameter to secure.
26721 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26722 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26723 * elf/dl-deps.c (openaux): Likewise.
26724 * elf/rtld.c (struct map_args): Remove is_preloaded.
26725 (map_doit): Don't use it.
26726 (dl_main): Likewise.
26727 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26728 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26729
bc96fbda
AS
267302010-09-09 Andreas Schwab <schwab@redhat.com>
26731
26732 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26733 (sysd-rules-targets): Remove duplicates.
26734 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26735 rtld-%.$o dependency.
26736
22cd1c9b
AS
267372010-10-18 Andreas Schwab <schwab@redhat.com>
26738
26739 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26740 _dl_map_object do it.
26741
18edac48
UD
267422010-10-19 Ulrich Drepper <drepper@gmail.com>
26743
26744 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26745 fast fma builtins, define the macros in the C99 standard.
26746 (FP_FAST_FMAF): Likewise.
26747 (FP_FAST_FMAL): Likewise.
26748 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26749
26750 * bits/mathdef.h: Update copyright year.
26751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26752
d2050124
MM
267532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26754
26755 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26756 builtins, define the macros in the C99 standard.
26757 (FP_FAST_FMAF): Likewise.
26758 (FP_FAST_FMAL): Likewise.
26759 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26760 multiply/add.
26761 (FP_FAST_FMAF): Likewise.
26762
475facd1
JJ
267632010-10-15 Jakub Jelinek <jakub@redhat.com>
26764
26765 [BZ #3268]
26766 * math/libm-test.inc (fma_test): Some new testcases.
26767 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26769 y and infinite z. Do multiplication by C already in long double.
26770 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26772 y and infinite z. Do bitwise or of inexact bit into u.d.
26773 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26774 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26775 * sysdeps/i386/fpu/s_fma.S: Removed.
26776 * sysdeps/i386/fpu/s_fmal.S: Removed.
26777
7c08a05c
JJ
267782010-10-16 Jakub Jelinek <jakub@redhat.com>
26779
26780 [BZ #3268]
26781 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26783 computation is not scheduled after fetestexcept. Fix value
26784 of minimum denormal long double.
26785
f3f7372d
JJ
267862010-10-14 Jakub Jelinek <jakub@redhat.com>
26787
26788 [BZ #3268]
26789 * math/libm-test.inc (fma_test): Add some more tests.
26790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26791 correctly.
26792
14d43591
AS
267932010-10-15 Andreas Schwab <schwab@redhat.com>
26794
26795 * scripts/data/localplt-s390-linux-gnu.data: New file.
26796 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26797
5e908464
JJ
267982010-10-13 Jakub Jelinek <jakub@redhat.com>
26799
26800 [BZ #3268]
26801 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26802 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26803 instead of dbl-64.
26804 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26805 inlines.
26806 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26808 if one of x and y is very large and the other is subnormal.
26809 * sysdeps/s390/fpu/s_fmaf.c: New file.
26810 * sysdeps/s390/fpu/s_fma.c: New file.
26811 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26812 * sysdeps/powerpc/fpu/s_fma.S: New file.
26813 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26814 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26815 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26816
268172010-10-12 Jakub Jelinek <jakub@redhat.com>
26818
26819 [BZ #3268]
26820 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26821 fma tests.
26822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26823 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26824 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26825 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26826 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26827 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26829
b833d51f
UD
268302010-10-12 Ulrich Drepper <drepper@redhat.com>
26831
26832 [BZ #12078]
26833 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26834 * posix/bug-regex31.input: Add test case.
26835
1751705d
UD
268362010-10-11 Ulrich Drepper <drepper@gmail.com>
26837
e9b9cbf5
UD
26838 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26839 * posix/bug-regex31.input: New file.
26840
26841 [BZ #12078]
26842 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26843 (parse_sub_exp): Fix last change, use postorder.
26844
ef06edbe
UD
26845 * posix/bug-regex31.c: New file.
26846 * posix/Makefile: Add rules to build and run bug-regex31.
26847
a129c80d
UD
26848 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26849
26850 [BZ #12078]
26851 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26852
b76b818e
UD
26853 [BZ #12108]
26854 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26855 to have entries in sys_siglist.
26856
1751705d
UD
26857 [BZ #12093]
26858 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26859 be NULL.
26860
9ff8d36f
JJ
268612010-10-07 Jakub Jelinek <jakub@redhat.com>
26862
26863 [BZ #3268]
26864 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26865 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26866 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26867 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26868 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26869 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26870 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26871 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26872 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26873 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26874 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26876 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26877 * math/ftestexcept.c (fetestexcept): Likewise.
26878 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26879 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26880 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26882 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26883 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26885
af325969
UD
268862010-10-11 Ulrich Drepper <drepper@gmail.com>
26887
c579b202 26888 [BZ #12107]
af325969
UD
26889 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26890 newline.
26891
67a67b95
UD
268922010-10-06 Ulrich Drepper <drepper@gmail.com>
26893
26894 * string/bug-strstr1.c: New file.
26895 * string/Makefile: Add rules to build and run bug-strstr1.
26896
5fb308bc
EB
268972010-10-05 Eric Blake <eblake@redhat.com>
26898
26899 [BZ #12092]
26900 * string/str-two-way.h (two_way_long_needle): Always clear memory
26901 when skipping input due to the shift table.
26902
45db99c7
UD
269032010-10-03 Ulrich Drepper <drepper@gmail.com>
26904
3b111893
UD
26905 [BZ #12005]
26906 * malloc/mcheck.c: Handle large requests.
26907
45db99c7
UD
26908 [BZ #12077]
26909 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26910 for strncmp and strncasecmp.
26911 * string/stratcliff.c: Add tests for strcmp and strncmp.
26912 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26913
cf7a1eb8
NI
269142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26915
26916 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26917 __set_fpscr.
26918
6484ba5e
AJ
269192010-09-30 Andreas Jaeger <aj@suse.de>
26920
26921 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26922 (CGROUP_SUPER_MAGIC): Define.
26923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26924 Handle btrfs and cgroup file systems.
26925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26926 Likewise.
26927
91c42559
LM
269282010-09-27 Luis Machado <luisgpm@br.ibm.com>
26929
26930 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26931 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26932
87a97932
AK
269332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26934
26935 [BZ #12067]
26936 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26937 trying to locate the ELF header.
26938
c21cc9bc
AS
269392010-09-27 Andreas Schwab <schwab@redhat.com>
26940
26941 [BZ #11611]
26942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26943 Mask out sign-bit copies when constructing f_fsid.
26944
315970f6
PB
269452010-09-24 Petr Baudis <pasky@suse.cz>
26946
26947 * debug/stack_chk_fail_local.c: Add missing licence exception.
26948 * debug/warning-nop.c: Likewise.
26949
1ac7a2c7
JM
269502010-09-15 Joseph Myers <joseph@codesourcery.com>
26951
26952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26953 implementing getdents64 using getdents syscall, set d_type if
26954 __ASSUME_GETDENTS32_D_TYPE.
26955
56801c50
AS
269562010-09-16 Andreas Schwab <schwab@redhat.com>
26957
26958 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26959 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26960
dda51327
UD
269612010-09-21 Ulrich Drepper <drepper@redhat.com>
26962
26963 [BZ #12037]
26964 * posix/unistd.h: Undo change of feature selection for ftruncate from
26965 2010-01-11.
26966
8ffcee4a
UD
269672010-09-20 Ulrich Drepper <drepper@redhat.com>
26968
a545ecd9 26969 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26970 detection.
26971
e24f0a8b
AS
269722010-09-20 Andreas Schwab <schwab@redhat.com>
26973
26974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26975 fanotify_mark.
26976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26977
7291c56f
AS
269782010-09-14 Andreas Schwab <schwab@redhat.com>
26979
26980 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26981 variables after CHECK_SP call.
26982 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26983
bc5fb037
AS
269842010-09-13 Andreas Schwab <schwab@redhat.com>
26985 Ulrich Drepper <drepper@redhat.com>
26986
26987 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26988 re-relocationg ld.so.
26989 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26990 _dl_init_paths call.
26991 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26992 here anymore.
26993
e66e7419
UD
269942010-09-14 Ulrich Drepper <drepper@redhat.com>
26995
26996 * resolv/res_init.c (__res_vinit): Count the default server we added.
26997
c044aa75
CLT
269982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26999 Ulrich Drepper <drepper@redhat.com>
27000
27001 [BZ #11968]
27002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27003 (____longjmp_chk): Use %ebx for saving value across system call.
27004 Add unwind info.
27005
32cf4069
AS
270062010-09-06 Andreas Schwab <schwab@redhat.com>
27007
27008 * manual/Makefile: Don't mix pattern rules with normal rules.
27009
817328ee
AS
270102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27011
27012 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27013 operation.
27014 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27015 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27016 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27017 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27019 Likewise.
27020
29fddf61
UD
270212010-09-04 Ulrich Drepper <drepper@redhat.com>
27022
27023 [BZ #11979]
27024 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27025 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27026
0959ffc9
UD
270272010-09-02 Ulrich Drepper <drepper@redhat.com>
27028
27029 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27030 * sysdeps/x86_64/addmul_1.S: Likewise.
27031 * sysdeps/x86_64/lshift.S: Likewise.
27032 * sysdeps/x86_64/mul_1.S: Likewise.
27033 * sysdeps/x86_64/rshift.S: Likewise.
27034 * sysdeps/x86_64/sub_n.S: Likewise.
27035 * sysdeps/x86_64/submul_1.S: Likewise.
27036
ece29840
ST
270372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27038
0959ffc9
UD
27039 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27040 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27041 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27042 * bits/sched.h [__need_schedparam]
ece29840 27043 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27044 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27045 (__defined_schedparam): Define to 1.
ece29840
ST
27046 (__sched_param): New structure, identical to sched_param.
27047 (__need_schedparam): Undefine.
27048
e53a31fe
MF
270492010-08-31 Mike Frysinger <vapier@gentoo.org>
27050
fdc0c10d
MF
27051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27052 (epoll_create1): Declare.
27053
e53a31fe
MF
27054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27055
a726d796
AS
270562010-08-31 Andreas Schwab <schwab@redhat.com>
27057
27058 [BZ #7066]
27059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27060 shifting retval into place.
27061
2f3e3dc7
UD
270622010-09-01 Ulrich Drepper <drepper@redhat.com>
27063
f2933da9
UD
27064 * nis/rpcsvc/nis.h: Update copyright notice.
27065 * nis/rpcsvc/nis.x: Likewise.
27066 * nis/rpcsvc/nis_callback.h: Likewise.
27067 * nis/rpcsvc/nis_callback.x: Likewise.
27068 * nis/rpcsvc/nis_object.x: Likewise.
27069 * nis/rpcsvc/nis_tags.h: Likewise.
27070 * nis/rpcsvc/yp.h: Likewise.
27071 * nis/rpcsvc/yp.x: Likewise.
27072 * nis/rpcsvc/ypupd.h: Likewise.
27073 * nis/yp_xdr.c: Likewise.
27074 * nis/ypupdate_xdr.c: Likewise.
27075
2f3e3dc7
UD
27076 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27077 mainly the body of pmap_getport. Add parameters to specify timeouts.
27078 (pmap_getport): Use __libc_rpc_getport.
27079 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27080 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27081 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27082
f3dcc2f9
AS
270832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27084
27085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27086 fanotify_mark.
27087
6d34eb5b
RM
270882010-08-27 Roland McGrath <roland@redhat.com>
27089
27090 * sysdeps/i386/i686/multiarch/Makefile
27091 (CFLAGS-varshift.c): New variable.
27092
9ea3de11
UD
270932010-08-27 Ulrich Drepper <drepper@redhat.com>
27094
c96d23fc
UD
27095 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27096 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27097
9ea3de11
UD
27098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27099
27100 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27101
623aac7f
L
271022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27103
27104 * sysdeps/x86_64/strlen.S: Unroll the loop.
27105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27106 strlen-sse2 strlen-sse2-bsf.
27107 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27108 __strlen_no_bsf if bit_Slow_BSF is set.
27109 (__strlen_sse42): Removed.
27110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27111 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27112
8b2b7715
RM
271132010-08-25 Roland McGrath <roland@redhat.com>
27114
27115 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27116 * sysdeps/x86_64/multiarch/varshift.c: New file.
27117 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27118 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27119 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27121
e73015f2
L
271222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27123
27124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27125 strlen-sse2 strlen-sse2-bsf.
27126 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27127 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27128 (__strlen_sse2): Removed.
27129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27132 bit_Slow_BSF for Atom.
27133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27134 (index_Slow_BSF): Define.
27135 (HAS_SLOW_BSF): Define.
27136
df24a73e
UD
271372010-08-25 Ulrich Drepper <drepper@redhat.com>
27138
27139 [BZ #10851]
27140 * resolv/res_init.c (__res_vinit): When no server address at all
27141 is given default to loopback.
27142
f2ac4868
RM
271432010-08-24 Roland McGrath <roland@redhat.com>
27144
09055553
RM
27145 * configure.in: Remove config-name.h generation.
27146 * configure: Regenerated.
27147 * config-name.in: File removed.
27148 * scripts/config-uname.sh: New file.
27149 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27150 ($(objdir)config-name.h): New target.
27151
f2ac4868
RM
27152 * sunrpc/rpc_parse.h: Avoid nested comment.
27153
73f27d5e
RH
271542010-08-24 Richard Henderson <rth@redhat.com>
27155 Ulrich Drepper <drepper@redhat.com>
27156 H.J. Lu <hongjiu.lu@intel.com>
27157
27158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27160 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27161 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27162 _mm_alignr_epi8 with _mm_loadu_si128.
27163 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27164 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27165 (__m128i_shift_right): Removed.
27166 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27167 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27168 * sysdeps/x86_64/multiarch/varshift.h: New file.
27169 * sysdeps/x86_64/multiarch/varshift.S: New file.
27170
84b9230c
MF
271712010-08-21 Mike Frysinger <vapier@gentoo.org>
27172
27173 * configure.in: Move assembler checks to before sysdep dir checking.
27174
9bbd0ddc
PB
271752010-08-20 Petr Baudis <pasky@suse.cz>
27176
27177 * LICENSES: Sync the sunrpc license.
27178
9da4bb31
UD
271792010-08-19 Ulrich Drepper <drepper@redhat.com>
27180
a7ab6ec8
UD
27181 * sunrpc/auth_des.c: Update copyright notice once again.
27182 * sunrpc/auth_none.c: Likewise.
27183 * sunrpc/auth_unix.c: Likewise.
27184 * sunrpc/authdes_prot.c: Likewise.
27185 * sunrpc/authuxprot.c: Likewise.
27186 * sunrpc/bindrsvprt.c: Likewise.
27187 * sunrpc/clnt_gen.c: Likewise.
27188 * sunrpc/clnt_perr.c: Likewise.
27189 * sunrpc/clnt_raw.c: Likewise.
27190 * sunrpc/clnt_simp.c: Likewise.
27191 * sunrpc/clnt_tcp.c: Likewise.
27192 * sunrpc/clnt_udp.c: Likewise.
27193 * sunrpc/clnt_unix.c: Likewise.
27194 * sunrpc/des_crypt.c: Likewise.
27195 * sunrpc/des_soft.c: Likewise.
27196 * sunrpc/get_myaddr.c: Likewise.
27197 * sunrpc/getrpcport.c: Likewise.
27198 * sunrpc/key_call.c: Likewise.
27199 * sunrpc/key_prot.c: Likewise.
27200 * sunrpc/openchild.c: Likewise.
27201 * sunrpc/pm_getmaps.c: Likewise.
27202 * sunrpc/pm_getport.c: Likewise.
27203 * sunrpc/pmap_clnt.c: Likewise.
27204 * sunrpc/pmap_prot.c: Likewise.
27205 * sunrpc/pmap_prot2.c: Likewise.
27206 * sunrpc/pmap_rmt.c: Likewise.
27207 * sunrpc/rpc/auth.h: Likewise.
27208 * sunrpc/rpc/auth_unix.h: Likewise.
27209 * sunrpc/rpc/clnt.h: Likewise.
27210 * sunrpc/rpc/des_crypt.h: Likewise.
27211 * sunrpc/rpc/key_prot.h: Likewise.
27212 * sunrpc/rpc/netdb.h: Likewise.
27213 * sunrpc/rpc/pmap_clnt.h: Likewise.
27214 * sunrpc/rpc/pmap_prot.h: Likewise.
27215 * sunrpc/rpc/pmap_rmt.h: Likewise.
27216 * sunrpc/rpc/rpc.h: Likewise.
27217 * sunrpc/rpc/rpc_des.h: Likewise.
27218 * sunrpc/rpc/rpc_msg.h: Likewise.
27219 * sunrpc/rpc/svc.h: Likewise.
27220 * sunrpc/rpc/svc_auth.h: Likewise.
27221 * sunrpc/rpc/types.h: Likewise.
27222 * sunrpc/rpc/xdr.h: Likewise.
27223 * sunrpc/rpc_clntout.c: Likewise.
27224 * sunrpc/rpc_cmsg.c: Likewise.
27225 * sunrpc/rpc_common.c: Likewise.
27226 * sunrpc/rpc_cout.c: Likewise.
27227 * sunrpc/rpc_dtable.c: Likewise.
27228 * sunrpc/rpc_hout.c: Likewise.
27229 * sunrpc/rpc_main.c: Likewise.
27230 * sunrpc/rpc_parse.c: Likewise.
27231 * sunrpc/rpc_parse.h: Likewise.
27232 * sunrpc/rpc_prot.c: Likewise.
27233 * sunrpc/rpc_sample.c: Likewise.
27234 * sunrpc/rpc_scan.c: Likewise.
27235 * sunrpc/rpc_scan.h: Likewise.
27236 * sunrpc/rpc_svcout.c: Likewise.
27237 * sunrpc/rpc_tblout.c: Likewise.
27238 * sunrpc/rpc_util.c: Likewise.
27239 * sunrpc/rpc_util.h: Likewise.
27240 * sunrpc/rpcinfo.c: Likewise.
27241 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27242 * sunrpc/rpcsvc/key_prot.x: Likewise.
27243 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27244 * sunrpc/rpcsvc/mount.x: Likewise.
27245 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27246 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27247 * sunrpc/rpcsvc/rex.x: Likewise.
27248 * sunrpc/rpcsvc/rstat.x: Likewise.
27249 * sunrpc/rpcsvc/rusers.x: Likewise.
27250 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27251 * sunrpc/rpcsvc/spray.x: Likewise.
27252 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27253 * sunrpc/rtime.c: Likewise.
27254 * sunrpc/svc.c: Likewise.
27255 * sunrpc/svc_auth.c: Likewise.
27256 * sunrpc/svc_authux.c: Likewise.
27257 * sunrpc/svc_raw.c: Likewise.
27258 * sunrpc/svc_run.c: Likewise.
27259 * sunrpc/svc_simple.c: Likewise.
27260 * sunrpc/svc_tcp.c: Likewise.
27261 * sunrpc/svc_udp.c: Likewise.
27262 * sunrpc/svc_unix.c: Likewise.
27263 * sunrpc/svcauth_des.c: Likewise.
27264 * sunrpc/xcrypt.c: Likewise.
27265 * sunrpc/xdr.c: Likewise.
27266 * sunrpc/xdr_array.c: Likewise.
27267 * sunrpc/xdr_float.c: Likewise.
27268 * sunrpc/xdr_mem.c: Likewise.
27269 * sunrpc/xdr_rec.c: Likewise.
27270 * sunrpc/xdr_ref.c: Likewise.
27271 * sunrpc/xdr_sizeof.c: Likewise.
27272 * sunrpc/xdr_stdio.c: Likewise.
27273
9da4bb31
UD
27274 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27275 handling.
27276
bdaa77bc
AS
272772010-08-19 Andreas Schwab <schwab@redhat.com>
27278
27279 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27280
fe2f79db
LM
272812010-08-19 Luis Machado <luisgpm@br.ibm.com>
27282
27283 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27286 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27288 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27290 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27293 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27295 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27297
b9b42ee0
AB
272982010-07-26 Anton Blanchard <anton@samba.org>
27299
27300 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27301 * malloc/arena.c (heap_trim): Likewise.
27302
1c06ba31
UD
273032010-08-16 Ulrich Drepper <drepper@redhat.com>
27304
27305 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27306 here. Not...
27307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27308 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27309
f8392f40
L
273102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 * sysdeps/i386/elf/Makefile: New file.
27313
3162f12e
AS
273142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27315
27316 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27317 from fanotify_init.
27318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27320
28c90b2c
UD
273212010-08-15 Ulrich Drepper <drepper@redhat.com>
27322
27323 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27324 of strncasecmp_l.
1feccb6c 27325 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27326
ca6bb004
UD
273272010-08-14 Ulrich Drepper <drepper@redhat.com>
27328
e9f82e0d
UD
27329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27330 strncase_l-nonascii.
27331 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27332 Add strncase_l-ssse3.
27333 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27334 * sysdeps/x86_64/strcmp.S: Likewise.
27335 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27336 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27337 * sysdeps/x86_64/strncase.S: New file.
27338 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27339 * sysdeps/x86_64/strncase_l.S: New file.
27340 * string/Makefile (strop-tests): Add strncasecmp.
27341 * string/test-strncasecmp.c: New file.
27342
27343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27344 warning.
27345
ca6bb004
UD
27346 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27348
052fa7b3
AS
273492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27350
27351 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27352
962dba78
UD
273532010-08-12 Ulrich Drepper <drepper@redhat.com>
27354
27355 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27358
bebff237
AM
273592010-05-01 Alan Modra <amodra@gmail.com>
27360
27361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27362 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27363 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27364 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27365 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27366 tidying. Don't tail-call __sigjmp_save for static lib.
27367 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27368 save location.
27369 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27370 (CALL_MCOUNT): Add eh info, and nop after bl.
27371 (TAIL_CALL_SYSCALL_ERROR): New macro.
27372 (PSEUDO_RET): Use it.
27373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27374 Correct save location of integer regs and cr.
27375 (_dl_profile_resolve): Correct cr save location. Delete nops
27376 after bl when SHARED. Reduce cfi size a little by better
27377 placement of cfi directives.
27378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27379 make a stack frame. Instead use parm save area as a temp.
27380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27381 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27383 Don't make a stack frame for parent, use parm save area.
27384 Increase child stack frame to 112 bytes. Don't save unused reg,
27385 and adjust reg usage. Set up cfi on error recovery and
27386 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27388 (__makecontext): Add dummy nop after jump to exit.
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27390 Use correct parm save area and cr save, reduce stack frame.
27391 Correct cfi for possible PSEUDO_RET frame setup.
27392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27393 Branch to local label emitted by PSEUDO_RET rather than
27394 __syscall_error.
27395
02637374
AS
273962010-08-12 Andreas Schwab <schwab@redhat.com>
27397
27398 [BZ #11904]
27399 * locale/programs/locale.c (print_assignment): New function.
27400 (show_locale_vars): Use it.
27401
c3e2f19b
UD
274022010-08-11 Ulrich Drepper <drepper@redhat.com>
27403
3cdaa6ad
UD
27404 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27405 field.
27406 (struct statfs64): Likewise.
27407 (_STATFS_F_FLAGS): Define.
27408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27410 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27411 (ST_VALID): Define locally.
27412 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27413 __statvfs_getflags, use the provided value.
27414 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27415 __ASSUME_STATFS_F_FLAGS.
27416
754f7da3
UD
27417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27418
10b3bedc
UD
27419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27420 Add sys/fanotify.h.
27421 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27422 fanotify_mask for GLIBC_2.13.
27423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27424 fanotify_init and fanotify_mark.
27425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27426 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27427
c08fb0d7
UD
27428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27429 Add prlimit.
27430 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27431 prlimit64 for GLIBC_2.13.
27432 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27433 prlimit64.
27434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27435 syscall.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27441 add prlimit alias.
27442 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27443
15bac72b
UD
27444 [BZ #11903]
27445 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27446 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27447
c3e2f19b
UD
27448 * nss/Makefile: Add rules to build and run tst-nss-test1.
27449 * shlib-versions: Add entry for libnss_test1.
27450 * nss/nss_test1.c: New file.
27451 * nss/tst-nss-test1.c: New file.
27452
27453 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27454 (__nss_configure_lookup): Set appropriate entry in
27455 __nss_configure_lookup to true.
27456 * nss/nsswitch.h: Define enum with indeces of databases in
27457 databases and __nss_database_custom arrays. Declare
27458 __nss_database_custom.
27459 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27460 to avoid using nscd when custom rules are installed.
27461 * nss/getXXbyYY_r.c: Likewise.
27462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27463
27464 * nss/nss_files/files-parse.c: Whitespace fixes.
27465
f15ce4d8
UD
274662010-08-09 Ulrich Drepper <drepper@redhat.com>
27467
27468 [BZ #11883]
27469 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27470 * posix/fnmatch_loop.c: Likewise.
27471
d22e4cc9
AK
274722010-07-17 Andi Kleen <ak@linux.intel.com>
27473
27474 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27475 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27476 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27477 * Versions.def [GLIBC_2.13]: Add.
27478
805bc17d
UD
274792010-08-06 Ulrich Drepper <drepper@redhat.com>
27480
27481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27482 Also fail if tpwd after pwuid call is NULL.
27483
5a42321d
ST
274842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27485
27486 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27487 when converting to ms.
27488
fd3ebeda
ST
274892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27490
27491 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27492 EOPNOTSUPP errors with ENOTTY.
27493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27494 EOPNOTSUPP errors with ENOTTY.
27495
73507d3a
UD
274962010-07-31 Ulrich Drepper <drepper@redhat.com>
27497
27498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27499 Add strcasecmp_l-ssse3.
27500 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27501 strcasecmp.
27502 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27505
fe36dd02
UD
275062010-07-30 Ulrich Drepper <drepper@redhat.com>
27507
66f6765a
UD
27508 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27509
42e08a54
UD
27510 * string/Makefile (strop-tests): Add strcasecmp.
27511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27512 strcasecmp_l-nonascii.
27513 (gen-as-const-headers): Add locale-defines.sym.
27514 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27515 * sysdeps/x86_64/strcasecmp.S: New file.
27516 * sysdeps/x86_64/strcasecmp_l.S: New file.
27517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27518 * sysdeps/x86_64/locale-defines.sym: New file.
27519 * string/test-strcasecmp.c: New file.
27520
fe36dd02
UD
27521 * string/test-strcasestr.c: Test both ends of the range of characters.
27522 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27523
48cbc0d6
RM
275242010-07-29 Roland McGrath <roland@redhat.com>
27525
76e6d6bc 27526 [BZ #11856]
48cbc0d6
RM
27527 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27528
880113d9
UD
275292010-07-27 Ulrich Drepper <drepper@redhat.com>
27530
27531 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27532 for ld.so.
27533
deb9cabb
AS
275342010-07-27 Andreas Schwab <schwab@redhat.com>
27535
27536 * manual/memory.texi (Malloc Tunable Parameters): Document
27537 M_PERTURB.
27538
1c7570ff
RM
275392010-07-26 Roland McGrath <roland@redhat.com>
27540
27541 [BZ #11840]
27542 * configure.in (-fgnu89-inline check): Set and substitute
27543 gnu89_inline, not libc_cv_gnu89_inline.
27544 * configure: Regenerated.
27545 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27546
24fb0f88
UD
275472010-07-26 Ulrich Drepper <drepper@redhat.com>
27548
27549 * string/test-strnlen.c: New file.
27550 * string/Makefile (strop-tests): Add strnlen.
27551 * string/tester.c (test_strnlen): Add a few more test cases.
27552 * string/tst-strlen.c: Better error reporting.
27553
27554 * sysdeps/x86_64/strnlen.S: New file.
27555
8e96b93a
UD
275562010-07-24 Ulrich Drepper <drepper@redhat.com>
27557
27558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27559 lower-latency instructions.
27560
dbc676d4
UD
275612010-07-23 Ulrich Drepper <drepper@redhat.com>
27562
27563 * string/test-strcasestr.c: New file.
27564 * string/test-strstr.c: New file.
27565 * string/Makefile (strop-tests): Add strstr and strcasestr.
27566 * string/str-two-way.h: Don't undefine MAX.
27567 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27568
f6a31e0e
AS
275692010-07-21 Andreas Schwab <schwab@redhat.com>
27570
27571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27572 strcasestr-nonascii.
27573 (CFLAGS-strcasestr-nonascii.c): Define.
27574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27576 Remove unused attribute.
27577
5dbc3b6c
RM
275782010-07-20 Roland McGrath <roland@redhat.com>
27579
27580 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27581 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27582 ld.so.cache was broken. With it, there is no way to disable dsocaps
27583 like LD_HWCAP_MASK can disable hwcaps.
27584
23d101d8
EPM
275852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27586
27587 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27588
cc9f2e47
UD
275892010-07-16 Ulrich Drepper <drepper@redhat.com>
27590
27591 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27592 call in strcasestr.
27593 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27594 __strcasestr_sse42_nonascii.
27595 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27596 strcasestr-nonascii.c.
27597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27598
77c1b069
LM
275992010-06-15 Luis Machado <luisgpm@br.ibm.com>
27600
27601 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27605
440566c3
UD
276062010-07-09 Ulrich Drepper <drepper@redhat.com>
27607
27608 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27609 fcntl.
27610
5be9d05d
AS
276112010-07-06 Andreas Schwab <schwab@redhat.com>
27612
c30b7ee2 27613 [BZ #11577]
5be9d05d
AS
27614 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27615 dl_signal_cerror.
27616
8a492a67
UD
276172010-07-06 Ulrich Drepper <drepper@redhat.com>
27618
27619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27620 _PC_PIPE_BUF using F_GETPIPE_SZ.
27621
713df3d5
RM
276222010-07-05 Roland McGrath <roland@redhat.com>
27623
27624 * manual/arith.texi (Rounding Functions): Fix rint description
27625 implicit in round description.
27626
702e8f14
UD
276272010-07-02 Ulrich Drepper <drepper@redhat.com>
27628
27629 * elf/Makefile: Fix linking for a few tests to make recent linker
27630 happy.
27631
52ed8be9
AS
276322010-06-30 Andreas Schwab <schwab@redhat.com>
27633
27634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27635 $(common-objpfx)libc_nonshared.a.
27636
f47c9a11
LM
276372010-06-21 Luis Machado <luisgpm@br.ibm.com>
27638
27639 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27640 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27641 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27643 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27646 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27661 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27662 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27663 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27664 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27665 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27666 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27667 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27668 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27669 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27670 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27671 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27672 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27687
6fb8cbcb
L
276882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27689
27690 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27691 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27692 * string/memmove.c (memmove): Renamed to ...
27693 (MEMMOVE): ...this. Default to memmove.
27694 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27695 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27696 (END_CHK): Define.
27697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27698 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27699 mempcpy-ssse3-back memmove-ssse3-back.
27700 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27703 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27704 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27705 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27706 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27707 * sysdeps/x86_64/multiarch/memmove.c: New file.
27708 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27709 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27710 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27711 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27714 Define.
27715 (index_Fast_Copy_Backward): Define.
27716 (HAS_ARCH_FEATURE): Define.
27717 (HAS_FAST_REP_STRING): Define.
27718 (HAS_FAST_COPY_BACKWARD): Define.
27719
4e733bac 277202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27721
27722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27723 Restore proper fallback handling.
27724
63c4ed22
UD
277252010-06-19 Ulrich Drepper <drepper@redhat.com>
27726
ac2b484c
UD
27727 [BZ #11701]
27728 * posix/group_member.c (__group_member): Correct checking loop.
27729
63c4ed22
UD
27730 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27731 OOM in getpwuid_r correctly. Return error number when the caller
27732 should return, otherwise -1.
27733 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27734 call returning > 0 value.
27735 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27736
765ade4b
AS
277372010-06-07 Andreas Schwab <schwab@redhat.com>
27738
27739 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27740 libc_nonshared.a from targets in modules-names.
27741
80da2e09
KS
277422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27743
27744 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27745 requires it.
27746
158db122
LM
277472010-06-10 Luis Machado <luisgpm@br.ibm.com>
27748
27749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27750 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27753
caa78cf8
AS
277542010-06-02 Andreas Schwab <schwab@redhat.com>
27755
27756 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27757
b2ef2c01
UD
277582010-06-14 Ulrich Drepper <drepper@redhat.com>
27759
27760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27761 and F_GETPIPE_SZ.
27762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27768
fbd643b6
RM
277692010-06-14 Roland McGrath <roland@redhat.com>
27770
27771 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27772
f32f2869
JJ
277732010-06-07 Jakub Jelinek <jakub@redhat.com>
27774
27775 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27776 __REDIRECT followed by __THROW.
27777 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27778 * posix/getopt.h (getopt): Likewise.
27779
2a50c078
EPM
277802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27781
27782 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27783 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27784 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27785 in AT_FLAGS.
27786 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27787 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27788
eb5ad2eb
LM
277892010-05-28 Luis Machado <luisgpm@br.ibm.com>
27790
27791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27792
3c88fe1e
L
277932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27794
27795 [BZ #11640]
27796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27797 Properly check family and model.
27798
d2f73151
TY
277992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27800
27801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27802
ebd2e13d
LM
278032010-05-24 Luis Machado <luisgpm@br.ibm.com>
27804
27805 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27806
b32b8b45
UD
278072010-05-21 Ulrich Drepper <drepper@redhat.com>
27808
27809 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27810 symbol reference.
27811
9acbe24d
AS
278122010-05-19 Andreas Schwab <schwab@redhat.com>
27813
27814 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27815 symbol reference.
27816
f0ccf6ea
AS
278172010-05-21 Andreas Schwab <schwab@redhat.com>
27818
3d04ff3a
AS
27819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27820 and internal_recvmmsg.
27821 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27824 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27825
f0ccf6ea
AS
27826 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27827 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27828 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27829
5b08ac57
AS
278302010-05-20 Andreas Schwab <schwab@redhat.com>
27831
27832 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27833
4828935d
LM
278342010-05-17 Luis Machado <luisgpm@br.ibm.com>
27835
27836 POWER7 optimizations.
27837 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27838 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27839
373d545e
UD
278402010-05-19 Ulrich Drepper <drepper@redhat.com>
27841
27842 * version.h: Update for 2.13 development version.
27843
21a2b1ae
AS
278442010-05-12 Andrew Stubbs <ams@codesourcery.com>
27845
27846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27847 exceptions. Return 0.
27848
3f7dcb2b
RM
278492010-05-07 Roland McGrath <roland@redhat.com>
27850
27851 * elf/ldconfig.c (main): Add a const.
27852
5f24d53a 278532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27854
a160f8d8
UD
27855 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27856 (args_options): Add no-idn option.
27857 (ahosts_keys_int): Add idn_flags to ai_flags.
27858 (parse_option): Handle 'i' option to clear idn_flags.
27859
5f24d53a
UD
27860 * malloc/malloc.c (_int_free): Possible race in the most recently
27861 added check. Only act on the data if no current modification
27862 happened.
265bb1ce
UD
27863
27864See ChangeLog.17 for earlier changes.