]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Declare __ehdr_start with hidden visibility.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
93fd48c5
MR
12013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2
ae9552cf
MR
3 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4 __ehdr_start with hidden visibility.
5
93fd48c5
MR
6 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7
418601aa
CD
82013-04-24 Carlos O'Donell <carlos@redhat.com>
9
10 * math/libm-test.inc (cos_test): Use accurate hex constants.
11 (sincost_test): Likewise.
12
2f38fbfe
JM
132013-04-24 Joseph Myers <joseph@codesourcery.com>
14
5e221800
JM
15 * math/libm-test.inc (catan_test): Add more tests.
16 (catanh_test): Likewise.
17
77f143fd
JM
18 * math/s_catanf.c (__catanf): Use suffixed floating-point
19 constants.
20 * math/s_catanhf.c (__catanhf): Likewise.
21 * math/s_catanhl.c (__catanhl): Likewise.
22 * math/s_catanl.c (__catanl): Likewise.
23
2f38fbfe
JM
24 [BZ #15394]
25 * math/s_catan.c (__catan): Calculate imaginary part of result
26 with log1p not log unless computing log of number close to 0.
27 * math/s_catanf.c (__catanf): Likewise.
28 * math/s_catanl.c (__catanl): Likewise.
29 * math/s_catanh.c (__catanh): Calculate real part of result with
30 log1p not log unless computing log of number close to 0.
31 * math/s_catanhf.c (__catanhf): Likewise.
32 * math/s_catanhl.c (__catanhl): Likewise.
33 * math/libm-test.inc (catan_test): Add more tests.
34 (catanh_test): Likewise.
35 * sysdeps/i386/fpu/libm-test-ulps: Update.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37
45d69176
SP
382013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39
40 * benchtests/Makefile: Mention files in which fast and slow
41 paths of math functions are implemented.
42
87f51853
RM
432013-04-23 Roland McGrath <roland@hack.frob.com>
44
45 * sysdeps/posix/timespec_get.c: New file.
46
3c026539
AZ
472013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50 POWER.
51 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52 for POWER.
53 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54 powerpc/power5/fpu folders.
55 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
56 * benchtests/Makefile: Add modf testcase.
57 * benchtests/bench-modf.c: New file: Benchmark test for mo
58
ff491d14
SP
592013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
60
61 [BZ #14888]
62 * time/Makefile (tests): Add tst-strptime-whitespace.
63 * time/strptime_l.c (get_number): Use ISSPACE.
64 (__strptime_internal): Likewise.
65 * time/tst-strptime-whitespace.c: New test case.
66
7ed3f4e8
AS
672013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68
69 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
70 member.
71 (_nss_files_init): Set it here.
72
5c95f7b6
HC
732013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
74
75 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
76 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
77 unsigned.
78
d34c9158
JBG
792013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
80
81 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
82
2169712d
SP
832013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
86 size just once.
87
29c5de99
DM
882013-04-21 David S. Miller <davem@davemloft.net>
89
90 * po/ru.po: Update Russion translation from translation project.
91
ccdad15d
AC
922013-04-17 Adam Conrad <adconrad@0c3.net>
93
94 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
95 and setfsgid.
96
0f122b8d
CD
972013-04-17 Carlos O'Donell <carlos@redhat.com>
98
5c5b07da 99 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 100 * configure: Regenerate.
5c5b07da 101 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
102 Add example to error message.
103 * sysdeps/i386/configure: Regenerate.
104
037714dd
SP
1052013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
106
107 * benchtests/Makefile (bench): Add cos, tan, slowcos and
108 slowtan.
109 * benchtests/cos-inputs: New file.
110 * benchtests/slowcos-inputs: New file.
111 * benchtests/slowcos.c: New file.
112 * benchtests/slowtan-inputs: New file.
113 * benchtests/slowtan.c: New file.
114 * benchtests/tan-inputs: New file.
115
e913141d
RM
1162013-04-16 Roland McGrath <roland@hack.frob.com>
117
118 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
119 considered kosher.
120
a2964074
SP
1212013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
122
4856bcd2
SP
123 * benchtests/Makefile: Include cppflags-iterator.mk to add
124 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
125
a2964074
SP
126 * Makefile.in (bench-clean): New target.
127 * benchtests/Makefile (bench-clean): Likewise.
128
9fbf9aca
DH
1292013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
130
131 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
132
207d1e2a
TS
1332013-04-15 Thomas Schwinge <thomas@codesourcery.com>
134
135 * stdio-common/tstdiomisc.c: Fix coding-style violation.
136
306dfba9
AS
1372013-04-15 Andreas Schwab <schwab@suse.de>
138
139 * nscd/grpcache.c (cache_addgr): Properly check for short write.
140 * nscd/initgrcache.c (addinitgroupsX): Likewise.
141 * nscd/pwdcache.c (cache_addpw): Likewise.
142 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
143 more than recsize.
144
206a6699
SP
1452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 * benchtests/Makefile (bench): Write all output to
148 bench-out.tmp together.
149
0582f6b3
AS
1502013-04-15 Andreas Schwab <schwab@suse.de>
151
152 * nscd/nscd.c (main): Don't fork again after closing files.
153
acb4325f
SP
1542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
155
5cb26d0a
SP
156 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
157
acb4325f
SP
158 * benchtests/Rules (bench-deps): Collect dependencies into a
159 single variable. Add Makefile to dependencies.
160 ($(objpfx)bench-%.c): Depend on bench-deps.
161
47792506
RM
1622013-04-12 Roland McGrath <roland@hack.frob.com>
163 Xavier Roche <roche+kml2@exalead.com>
164
165 [BZ #15361]
166 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
167 just that it's a file descriptor.
168 * manual/llio.texi (Synchronizing AIO Operations): Update description
169 for EBADF error from aio_fsync.
170
8fc1bee5
SP
1712013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
172
173 * Rules (bench): Move target definition...
174 * benchtests/Makefile: ... here.
175
aba5e333
CD
1762013-04-11 Carlos O'Donell <carlos@redhat.com>
177
178 * math/libm-test.inc (cos_test): Fix PI/2 test.
179 (sincos_test): Likewise.
180 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
181 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
182
273cdee8
AS
1832013-04-11 Andreas Schwab <schwab@suse.de>
184
6ecec3b6
AS
185 [BZ #13988]
186 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
187 accept exponent character only when digits were seen.
188 * stdio-common/Makefile (tests): Add bug26.
189 * stdio-common/bug26.c: New file.
190
273cdee8
AS
191 [BZ #14293]
192 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
193 non-freeable.
194
8da491f5
SP
1952013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
196
01dc6df9
SP
197 * Makeconfig (rtld-prefix): Define built linker prefix.
198 * Rules (run-bench): Use it.
199 * math/Makefile (run-regen-ulps): Likewise.
200
8da491f5
SP
201 * Rules (bench): Remove eval.
202
abe7f530
SP
2032013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
204 Roland McGrath <roland@hack.frob.com>
205 Ondrej Bilka <neleai@seznam.cz>
206
207 [BZ #15346]
208 * time/getdate.c: Include ctype.h and alloca.h.
209 (__getdate_r): Trim leading and trailing spaces of input.
210 * time/tst-getdate.c (tests): Add tests with leading and
211 trailing spaces.
212
61c23e62
RM
2132013-04-08 Roland McGrath <roland@hack.frob.com>
214
215 [BZ #14280]
216 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
217 when computing value.
218
7208a313
CD
2192013-04-06 Carlos O'Donell <carlos@redhat.com>
220
085b2d41
CD
221 * math/README.libm-test (How can I generate "libm-test-ulps"?):
222 Use testrun.sh to run libm tests.
223
7208a313
CD
224 [BZ #15309]
225 * elf/dl-open.c (dl_open_worker): memset all of seen array.
226
872c0acd
MM
2272013-04-06 Marko Myllynen <myllynen@redhat.com>
228
229 [BZ #15264]
230 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
231
26510bdd
CD
2322013-04-06 Carlos O'Donell <carlos@redhat.com>
233
234 * Makefile.in (regen-ulps): New target.
235 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
236 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
237 [ifneq (no,$(PERL)] (regen-ulps): New target.
238 [ifeq (no,$(PERL)] (regen-ulps): New target.
239 * math/libm-test.inc (ulps_file_name): Define.
240 (output_dir): New variable.
241 (options): Add "output-dir" option.
242 (parse_opt): Handle 'o' case.
243 (main): If output_dir is non-NULL use it as a prefix
244 otherwise use "".
245 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
246
a01f19c8
CD
2472013-04-06 Carlos O'Donell <carlos@redhat.com>
248
249 [BZ #10060, #10062]
250 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
251 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
252 fail configure if __sync_val_compare_and_swap is not inlined.
253 * sysdeps/i386/configure: Regenerate.
254 * configure.in: Build for i686 when configured for i386.
255 * configure: Regenerate.
256 * README: Remove i386 reference.
257
b7a329a5
CD
2582013-04-06 Carlos O'Donell <carlos@redhat.com>
259
260 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
262
bf0f50df
TS
2632013-04-05 Thomas Schwinge <thomas@codesourcery.com>
264
ee091edf
TS
265 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
266 (lmsnanval): New variables.
267 (F): Add conversion tests.
268 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
269 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
270
a8b792d6
TS
271 * stdio-common/tstdiomisc.c (F): Properly collect individual
272 tests' results.
273
a1cbf437
TS
274 [BZ #14686, #15336]
275 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
276 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
277 Instead, use input NaN values or generate a qNaN by arithmetic
278 operation. Also fix bugs to comply with the standard.
279 * math/libm-test.inc (remainder_test): Add more tests.
280
8b43a0c9
TS
281 [BZ #15335, #15342]
282 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
284 input NaN values or generate a qNaN by arithmetic operation.
285
d91da4ce
TS
286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
287 unreachable code.
288
bf0f50df
TS
289 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
290 definitions.
291
05e166c8
JM
2922013-04-03 Joseph Myers <joseph@codesourcery.com>
293
294 [BZ #14478]
295 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
296 underflowed result.
297 * math/s_cexpf.c (__cexpf): Likewise.
298 * math/s_cexpl.c (__cexpl): Likewise.
299 * math/libm-test.inc (cexp_test): Add more tests.
300
1cef1b19
AS
3012013-04-03 Andreas Schwab <schwab@suse.de>
302
303 [BZ #15330]
304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
305 order arrays from heap if bigger than alloca cutoff.
306
74d87055
TS
3072013-04-03 Thomas Schwinge <thomas@codesourcery.com>
308
309 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
310 (SNAN_TESTS_double): Refer to GCC PR56831.
311 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
312 GCC PR56828.
313
d755bba4
SP
3142013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
315
90d5d5bb
SP
316 * Rules (bench): Move bench.out after the run is complete.
317
73e0cd5d
SP
318 * Rules (bench): Echo currently running benchmark.
319
64aabd4b
SP
320 * benchtests/Makefile (bench): Add atan and slowatan.
321 * benchtests/atan-inputs: New file.
322 * benchtests/slowatan-inputs: New file.
323 * benchtests/slowatan.c: New file.
324
c871eccd
SP
325 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
326 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
327 its value.
328
d755bba4
SP
329 [BZ #15305]
330 * sysdeps/unix/sysv/linux/kernel-features.h
331 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
332 __ASSUME_XFS_RESTRICTED_CHOWN.
333 * sysdeps/unix/sysv/linux/pathconf.c
334 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
335 Save and restore errno.
336
52ce4860
JM
3372013-04-02 Joseph Myers <joseph@codesourcery.com>
338
339 [BZ #15327]
340 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
341 arguments using __kernel_casinh.
342 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
343 arguments using __kernel_casinhf.
344 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
345 arguments using __kernel_casinhl.
346 * math/libm-test.inc (cacosh_test): Add more tests.
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
81f311c2
SP
3502013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
351
e7906a47
SP
352 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
354
92e3664b
SP
355 * bench/Makefile (bench): Add sin and slowsin.
356 * benchtests/sin-inputs: New file.
357 * benchtests/slowsin-inputs: New file.
358 * benchtests/slowsin.c: New file.
359
81f311c2
SP
360 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
361 (bench): Add slowexp and slowpow.
362 (exp-ITER): Increase iterations.
363 (pow-ITER): Likewise.
364 * benchtests/exp-inputs: Change input.
365 * benchtests/pow-inputs: Likewise.
366 * benchtests/slowexp-inputs: New file.
367 * benchtests/slowexp.c: New file.
368 * benchtests/slowpow-inputs: New file.
369 * benchtests/slowpow.c: New file.
370
ab0f1aa9
AZ
3712013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372
373 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
374 instructions.
375 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
376 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
377 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
378 * benchtests/Makefile: Add rint benchtest.
379 * benchtests/rint-inputs: Input for rint benchtest.
380
57267616
TS
3812013-04-02 Thomas Schwinge <thomas@codesourcery.com>
382
383 * Versions.def (libm): Add GLIBC_2.18.
384 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
385 hidden libm prototypes.
386 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
387 * math/Makefile (libm-calls): Add s_issignaling.
388 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
389 __issignalingf, __issignalingl. Adjust all libm.abilist files.
390 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
391 declaration.
392 * math/math.h [__USE_GNU] (issignaling): New macro.
393 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
394 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
395 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
396 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
397 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
398 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
399 * manual/arith.texi (issignaling): New section.
400 * manual/libm-err-tab.pl (@all_functions): Update comment.
401 * math/gen-libm-test.pl (parse_args): Apply special handling for
402 issignaling.
403 * math/libm-test.inc (print_float, issignaling_test): New
404 functions.
405 (check_float_internal): Add issignaling checks.
406 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
407 default definition.
408 * sysdeps/powerpc/math-tests.h: New file.
409 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
410 tests.
411 * math/test-snan.c (TEST_FUNC): Likewise.
412
6142896d
DM
4132013-03-30 David S. Miller <davem@davemloft.net>
414
415 * po/de.po: Update from translation team.
416
ccc8cadf
JM
4172013-03-30 Joseph Myers <joseph@codesourcery.com>
418
419 [BZ #10357]
420 * math/k_casinh.c (__kernel_casinh): Handle arguments with
421 imaginary part less than 1.0 and real part less than 0.5
422 specially.
423 * math/k_casinhf.c (__kernel_casinhf): Likewise.
424 * math/k_casinhl.c (__kernel_casinhl): Likewise.
425 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
426 (cacos_test): Add more tests.
427 (casin_test): Likewise.
428 (casinh_test): Likewise.
429 * sysdeps/i386/fpu/libm-test-ulps: Update.
430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431
0f6a8d4b
SP
4322013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
433
0d1029de
SP
434 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
435 ONE with its value.
436
c2d94018
SP
437 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
438 (__pow_mp): Replace ONE and MONE with their values.
439 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
440 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
441 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
442 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
443 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
444 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
445
27ec37f1
SP
446 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
447
a64d7e0e
SP
448 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
449 (__pow_mp): Replace ZERO and MZERO with their values.
450 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
452 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
454 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
455 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
456 (__sqr): Likewise.
457
d26dd3eb
SP
458 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
459
0f6a8d4b
SP
460 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
461
e57b0c61
RM
4622013-03-28 Roland McGrath <roland@hack.frob.com>
463
464 * include/stdlib.h [!SHARED] (__call_tls_dtors):
465 Declare with __attribute__ ((weak)).
466 * stdlib/exit.c (__libc_atexit) [!SHARED]:
467 Call __call_tls_dtors only if it's not NULL.
468
356b3480
RM
4692013-03-28 Roland McGrath <roland@hack.frob.com>
470
288f7d79
RM
471 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
472 didn't do it already, then set _dl_phdr and _dl_phnum based on the
473 magic __ehdr_start linker symbol if it's defined.
474 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
475 them up here if it was already done.
476
dc0a0263
RM
477 * elf/dl-support.c (_dl_phdr): Make pointer to const.
478 (_dl_aux_init): Use const in cast when setting it.
479 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
480 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
481 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
482
3d3436ae
RM
483 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
484 Declare them here.
485 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
486 * csu/libc-tls.c: Nor here.
487 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
488
356b3480
RM
489 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
490 (__libc_message): Never call vsyslog.
491
b0f1246a
AM
4922013-03-28 Alan Modra <amodra@gmail.com>
493
494 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
495 Define as empty.
496 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
497 Likewise.
498
fbbe2b9a
AZ
4992013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 [BZ #15214]
502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
503 underflow.
504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
505
1728ab37
SP
5062013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
507
7a86be6e
SP
508 [BZ #15304]
509 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
510 Don't add gid passed as argument.
511
1728ab37
SP
512 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
513
3a7182a1
JM
5142013-03-27 Joseph Myers <joseph@codesourcery.com>
515
516 [BZ #15307]
517 * math/k_casinh.c (__kernel_casinh): Handle arguments with
518 imaginary part between 1.0 and 1.5 and real part less than 0.5
519 specially.
520 * math/k_casinhf.c (__kernel_casinhf): Likewise.
521 * math/k_casinhl.c (__kernel_casinhl): Likewise.
522 * math/libm-test.inc (cacos_test): Add more tests.
523 (casin_test): Likewise.
524 (casinh_test): Likewise.
525 * sysdeps/i386/fpu/libm-test-ulps: Update.
526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
527
6f2e90e7
SP
5282013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
529
5739f705
SP
530 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
531 constants.
532 (norm): Likewise.
533 (denorm): Likewise.
534 (__dbl_mp): Likewise.
535 (add_magnitudes): Likewise.
536 (sub_magnitudes): Likewise.
537 (__add): Likewise.
538 (__sub): Likewise.
539 (__mul): Likewise.
540 (__sqr): Likewise.
541 (__inv): Likewise.
542 (__dvd): Likewise.
543
e375e83d
SP
544 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
545 commented code.
546 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
547 (__dubcos): Likewise.
548 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
549 (__ieee754_acos): Likewise.
550 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
551 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
552 (__exp1): Likewise.
553 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
555 (log1): Likewise.
556 (my_log2): Likewise.
557 (checkint): Likewise.
558 * sysdeps/ieee754/dbl-64/e_remainder.c
559 (__ieee754_remainder): Likewise.
560 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
562 (bsloww): Likewise.
563 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
564
6f2e90e7
SP
565 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
566 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
567 MANTISSA_STORE_T to store computations on mantissa. Use
568 macros for rounding and division.
569 (denorm): Likewise.
570 (__dbl_mp): Likewise.
571 (add_magnitudes): Likewise.
572 (sub_magnitudes): Likewise.
573 (__mul): Likewise.
574 (__sqr): Likewise.
575 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
576 powers of two in terms of TWOPOW macro.
577 (mp_no): Make type of mantissa as MANTISSA_T.
578 [!RADIXI]: Define RADIXI.
579 [!TWO52]: Define TWO52.
580 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
581
fce14d4e
AZ
5822013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
585 llroundl symbol when building for PPC32.
586
9ad027fb
MW
5872013-03-24 Mark H Weaver <mhw@netris.org>
588
589 * manual/arith.texi (Normalization Functions): Fix prototypes for
590 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
591
e42a38dd
AZ
5922013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593
594 [BZ #13889]
595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
596 high value to check if expl overflow.
597 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
598 to check for underflow and overflow.
599 * math/libm-test.inc: Add exp test.
600
2e0fb521
DL
6012013-03-21 Dmitry V. Levin <ldv@altlinux.org>
602
603 [BZ #11120]
604 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
605 with NOT_IN_libc.
606
b5784d95
AZ
6072013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608
609 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
610 symbol.
611
5aa4a1a1
TS
6122013-03-21 Thomas Schwinge <thomas@codesourcery.com>
613
bdef0be7
TS
614 * math/gen-libm-test.pl (parse_args, special_functions): Properly
615 wrap blocks consisting of several statements.
616
5aa4a1a1
TS
617 * sysdeps/generic/math-tests.h: New file.
618 * sysdeps/i386/fpu/math-tests.h: Likewise.
619 * math/test-snan.c: Include it.
620 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
621
98c48fe5
JM
6222013-03-21 Joseph Myers <joseph@codesourcery.com>
623
624 [BZ #15285]
625 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
626 (__ieee754_j0l): Do not improve calculations using cos of twice
627 input for inputs above LDBL_MAX / 2.0L.
628 (__ieee754_y0l): Likewise.
629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
630 (__ieee754_j1l): Do not improve calculations using cos of twice
631 input for inputs above LDBL_MAX / 2.0L.
632 (__ieee754_y1l): Likewise.
633 * math/libm-test.inc (j0_test): Add another test.
634 (j1_test): Likewise.
635 (y0_test): Likewise.
636 (y1_test): Likewise.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638
3775a8bc
SP
6392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
640
641 * Rules ($(objpfx)bench-%.c): Include code from a C source
642 file.
643
0a1b2ae6
JM
6442013-03-21 Joseph Myers <joseph@codesourcery.com>
645
646 [BZ #15287]
647 * math/k_casinh.c (__kernel_casinh): Handle arguments with
648 imaginary part 1.0 and real part less than 0.5 specially.
649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
651 * math/libm-test.inc (cacos_test): Add more tests.
652 (casin_test): Likewise.
653 (casinh_test): Likewise.
654 * sysdeps/i386/fpu/libm-test-ulps: Update.
655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
656
b33d4ce4
SP
6572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
658
659 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
660 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
661
bef0b507
JM
6622013-03-20 Joseph Myers <joseph@codesourcery.com>
663
664 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
665 * config.make.in (config-cflags-sse4): Remove variable.
666 (config-cflags-avx): Likewise.
667 (config-cflags-sse2avx): Likewise.
668 (config-cflags-novzeroupper): Likewise.
669 (config-asflags-i686): Likewise.
670 (have-mfma4): Likewise.
671 (have-as-vis3): Likewise.
672 (MIG): Likewise.
673 * configure.in (MIG): Do not AC_SUBST.
674 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
675 (libc_cv_cc_sse4): Do not AC_SUBST.
676 (libc_cv_cc_avx): Likewise.
677 (libc_cv_cc_sse2avx): Likewise.
678 (libc_cv_cc_novzeroupper): Likewise.
679 (libc_cv_cc_fma4): Likewise.
680 (libc_cv_as_i686): Likewise.
681 (libc_cv_sparc_as_vis3): Likewise.
682 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
683 LIBC_CONFIG_VAR.
684 (config-asflags-i686): Likewise.
685 (config-cflags-avx): Likewise.
686 (config-cflags-sse2avx): Likewise.
687 (have-mfma4): Likewise.
688 (config-cflags-novzeroupper): Likewise.
689 * sysdeps/mach/configure.in (MIG): Likewise.
690 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
691 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
692 LIBC_CONFIG_VAR.
693 (config-cflags-avx): Likewise.
694 (config-cflags-sse2avx): Likewise.
695 (have-mfma4): Likewise.
696 (config-cflags-novzeroupper): Likewise.
697 * configure: Regenerated.
698 * sysdeps/i386/configure: Likewise.
699 * sysdeps/mach/configure: Likewise.
700 * sysdeps/sparc/configure: Likewise.
701 * sysdeps/x86_64/configure: Likewise.
702
912cc4b3
RM
7032013-03-20 Roland McGrath <roland@hack.frob.com>
704
705 [BZ #14812]
706 * locale/programs/localedef.c (options): Put N_ translation marker
707 on argument names, not just descriptions.
708
04eed2b0
MS
7092013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
710
711 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
712
a065ceff
OB
7132013-03-20 Ondřej Bílka <neleai@seznam.cz>
714
9bb2a810 715 [BZ #14176]
a065ceff
OB
716 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
717
a600e5ce
RM
7182013-03-19 Roland McGrath <roland@hack.frob.com>
719
720 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
721 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
722 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
723 [!BEFORE_ABORT] (before_abort): New function.
724 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
725 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
726 (writev_for_fatal): New function.
727 (WRITEV_FOR_FATAL): New macro; call that.
728 (backtrace_and_maps): New function.
729 (BEFORE_ABORT): New macro; call that.
730 (struct str_list): Type removed.
731 (__libc_message, __libc_fatal): Functions removed.
732 Include <sysdeps/posix/libc_fatal.c> instead.
733
6b18bea6
JM
7342013-03-19 Joseph Myers <joseph@codesourcery.com>
735
736 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
737 constants.
738 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
739 double constants.
740
aaa8cb4b
AS
7412013-03-19 Andreas Schwab <schwab@suse.de>
742
44673770
AS
743 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
744 * sysdeps/gnu/configure: Regenerate.
745
aaa8cb4b
AS
746 * configure.in: Substitute libc_cv_rtlddir.
747 * configure: Regenerate.
748 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
749 * Makeconfig (rtlddir, inst_rtlddir): New variables.
750 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
751 * elf/Makefile (install-others, CFLAGS-interp.c)
752 (ldso_install, common-ldd-rewrite): Likewise.
753 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
754 $(inst_slibdir)/$(rtld-installed-name).
755 * scripts/rellns-sh: Add -p option.
756 * Makerules (make-shlib-link): Use rellns-sh to get relative name
757 for source.
758
d3cfc668
SP
7592013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
760
761 * manual/nptl.texi: Renamed to ...
762 * manual/threads.texi: ... this.
763 * manual/Makefile (chapters): Update.
764
0e2b9cdd
RM
7652013-03-18 Roland McGrath <roland@hack.frob.com>
766
767 [BZ #14812]
768 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
769 on argument names, not just descriptions.
0e2b9cdd
RM
770 * malloc/memusagestat.c (options): Likewise.
771 * nss/getent.c (options): Likewise.
63270c24
RM
772
7732013-03-18 Benno Schulenberg <bensberg@justemail.net>
774
775 [BZ #14812]
776 * iconv/iconv_prog.c (options): Put N_ translation marker
777 on argument names, not just descriptions.
778 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 779
b2e1393c
OB
7802013-03-18 Ondrej Bilka <neleai@seznam.cz>
781
782 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
783 implementation which is faster on all x86_64 architectures.
784 Tested on AMD, Intel Nehalem, SNB, IVB.
785 * sysdeps/x86_64/strnlen.S: Likewise.
786
787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
788 Remove all multiarch strlen and strnlen versions.
789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
790 Remove strlen and strnlen related parts.
791
792 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
793 Inline strlen part.
794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
795
796 * sysdeps/x86_64/multiarch/strlen.S: Remove.
797 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
798 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
799 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
800 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
801 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
802
ec4ff04d
CD
8032013-03-17 Carlos O'Donell <carlos@redhat.com>
804
805 * manual/memory.texi (Malloc Tunable Parameters):
806 Sort parameters alphabetically. Add comments for missing entries.
807
cd18e90a
DM
8082013-03-17 David S. Miller <davem@davemloft.net>
809
810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
811
2a185d32
JM
8122013-03-16 Joseph Myers <joseph@codesourcery.com>
813
d2f9799e
JM
814 [BZ #15283]
815 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
816 for arguments at most half maximum finite value.
817 * math/libm-test.inc (j0_test): Add more tests.
818 (j1_test): Likewise.
819 (y0_test): Likewise.
820 (y1_test): Likewise.
821 * sysdeps/i386/fpu/libm-test-ulps: Update.
822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823
2a185d32
JM
824 [BZ #14155]
825 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
826 1 / x and functions P and Q for arguments above 0x1p256L.
827 (__ieee754_y0l): Likewise.
828 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
829 (__ieee754_y1l): Likewise.
830 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
831 (j1_test): Likewise.
832 (y0_test): Likewise.
833 (y1_test): Likewise.
834
6cbec759
TS
8352013-03-16 Thomas Schwinge <thomas@codesourcery.com>
836
837 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
838 variable.
839
bc16e260
RM
8402013-03-15 Roland McGrath <roland@hack.frob.com>
841
aefc9b8c
RM
842 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
843 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
844 zero since it's initialized to EXEC_PAGESIZE.
845
bc16e260
RM
846 * sysdeps/unix/sysv/linux/ldsodefs.h
847 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
848 * sysdeps/generic/ldsodefs.h: ... here.
849
a57da955
TS
8502013-03-15 Thomas Schwinge <thomas@codesourcery.com>
851
af00a34d
TS
852 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
853
495ded2c
TS
854 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
855 math/test-snan.c.
856 * math/test-snan.c: Renamed from
857 sysdeps/powerpc/fpu/test-powerpc-snan.c.
858 * math/Makefile (tests): Add test-snan.
859 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
860 test-powerpc-snan.
861
777b0332
TS
862 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
863 SUFFIX. Initialize qNaN_var with __builtin_nan family of
864 functions.
865 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
866 __builtin_nan family of functions.
867 * math/libm-test.inc (initialize): Initialize qnan_value with
868 __builtin_nan family of functions.
869 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
870 Remove variables.
871 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
872 Remove functions.
873 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
874 storage class. Initialize qNaN_var and sNaN_var with
875 __builtin_nan and __builtin_nans families of functions,
876 respectively.
877
64d063b8
TS
878 * math/libm-test.inc (acosh_test): Also test with qNaN input.
879 (sqrt_test): Remove duplicate test with qNaN input.
880 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
881 (round_test, signbit_test, significand_test): Note missing +/-Inf
882 as well as qNaN tests.
883
67e971f1
TS
884 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
885 qNaN_var. Fix a few strings, too.
886 * math/libm-test.inc (nan_value): Rename to qnan_value.
887 * math/gen-libm-test.pl (%beautify): Adjust to that.
888 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
889 * math/test-misc.c (main): Likewise.
890 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
891 to __qnan_bytes, and __qnan_union, respectively.
892 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
893 Likewise.
894 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
895 and lqnanval, respectively.
896 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
897 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
898 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
899 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
900
64487e12
TS
901 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
902 * math/test-misc.c (main) [__x86_64__]: Enable test for long
903 doubles.
904
e015e27b
TS
905 * math/test-misc.c (main): Fix copy'n'pastos.
906 * misc/tst-efgcvt.c (special): Likewise.
907
a57da955
TS
908 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
909 Remove declarations.
910
1e380345
SP
9112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
912
913 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
914 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
915 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
916 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
917
ef26eece
AZ
9182013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
921 macro to return vdso values correctly in IFUNC implementations.
922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
923 Optimization by using IFUNC.
924
8cfdb7e0
SP
9252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
926 Richard Henderson <rth@redhat.com>
927 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
928
929 * Makefile.in (bench): New target.
930 * NEWS: Mention the benchmark framework.
931 * Rules (bench): Likewise.
932 (binaries-bench): Generate binaries for functions to
933 benchmark.
934 * benchtests/Makefile: New makefile for benchmark tests.
935 * benchtests/bench-skeleton.c: New skeleton file for benchmark
936 programs.
937 * benchtests/exp-inputs: New input file for EXP function.
938 * benchtests/pow-inputs: New input file for POW function.
939 * scripts/bench.pl: New script to generate source files for
940 benchmark programs.
941
bcda9880
SP
9422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
943
d22ca8cd
SP
944 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
945 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
946 computations on mantissa. Use macros for rounding and
947 division.
948 (denorm): Likewise.
949 (__dbl_mp): Likewise.
950 (add_magnitudes): Likewise.
951 (sub_magnitudes): Likewise.
952 (__mul): Likewise.
953 (__sqr): Likewise.
954 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
955 powers of two in terms of TWOPOW macro.
956 (mp_no): Make type of mantissa as MANTISSA_T.
957 [!RADIXI]: Define RADIXI.
958 [!TWO52]: Define TWO52.
959 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
960
bcda9880
SP
961 * manual/nptl.texi (cindex): Modify threads to pthreads.
962
06d5adfb
JM
9632013-03-15 Joseph Myers <joseph@codesourcery.com>
964
965 * sysdeps/x86_64/preconfigure: Regenerated.
966
41c7328e
JM
9672013-03-14 Joseph Myers <joseph@codesourcery.com>
968
969 [BZ #14155]
970 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
971 0x1p28 and above.
972 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
973 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
974 0x1p28 and above.
975 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
976 * math/libm-test.inc (j0_test): Do not allow one spurious
977 underflow exception.
978 (y1_test): Likewise.
979
e25cfa60
SP
9802013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
981
0409959c
SP
982 * manual/Makefile (chapters): Add nptl.
983 * manual/debug.texi (Debugging Support): Add link to Threads
984 chapter.
985 * manual/nptl.texi: New file.
986
e25cfa60
SP
987 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
988
58a1335e
PB
9892013-03-14 Petr Baudis <pasky@ucw.cz>
990
991 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
992 for non-NULL pointer before the memory validity test. Pointed
993 out by Holger Brunck <holger.brunck@keymile.com>.
994
9dc7c64f
AS
9952013-03-13 Andreas Schwab <schwab@suse.de>
996
997 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
998 instead of .os.
999
54206aa6
JM
10002013-03-13 Joseph Myers <joseph@codesourcery.com>
1001
1002 * timezone/zic.c: Update from tzcode 2013b.
1003
e98cdb38
CD
10042013-03-12 Carlos O'Donell <carlos@redhat.com>
1005
1006 * manual/install.texi (Configuring and compiling):
1007 Mention i686 and i586.
1008 * INSTALL: Regenerate.
1009
9967e003
RM
10102013-03-12 Roland McGrath <roland@hack.frob.com>
1011
1012 * sysdeps/init_array/elf-init.c: New file.
1013 * csu/elf-init.c
1014 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1015 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1016
1017 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1018 __gmon_start__ as global, but as static with a .preinit_array pointer.
1019 * sysdeps/init_array/gmon-start.c: New file. Use that.
1020 * sysdeps/init_array/crti.S: New file, empty except for comments.
1021 * sysdeps/init_array/crtn.S: Likewise.
1022
e6b5a293 10232013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1024
1025 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1026 definining bcopy.
80f844c9
OB
1027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1028 Remove Prefer_SSE_for_memop.
1029 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1030 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1031 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1033 memset-x86-64.
80f844c9 1034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1035 Remove bzero, memset ifunc support.
80f844c9
OB
1036 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1037 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1038 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1039 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1040
fb6b0fcb
AS
10412013-03-11 Andreas Schwab <schwab@suse.de>
1042
1043 [BZ #15234]
1044 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1045 by SHLIB_COMPAT.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1047 (GLIBC_2.16): Remove pthread_atfork.
1048
3e6bd4b1
PP
10492013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1050
1051 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1052 (ptestcases.h): Likewise.
1053
222d7f00
RM
10542013-03-08 Roland McGrath <roland@hack.frob.com>
1055
1056 * Makeconfig ($(common-objpfx)config.status): Depend on
1057 sysdeps/*/preconfigure{,.in} too.
1058
1ba4f030
JM
10592013-03-08 Joseph Myers <joseph@codesourcery.com>
1060
a222d91a
JM
1061 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1062 (__free_hook): Use void * instead of __malloc_ptr_t.
1063 (__malloc_hook): Likewise.
1064 (__realloc_hook): Likewise.
1065 (__memalign_hook): Likewise.
1066 (__after_morecore_hook): Likewise.
1067 * malloc/arena.c (save_malloc_hook): Likewise.
1068 (save_free_hook): Likewise.
1069 * malloc/hooks.c (malloc_hook_ini): Likewise.
1070 (realloc_hook_ini): Likewise.
1071 (memalign_hook_ini): Likewise.
1072 * malloc/malloc.c (malloc_hook_ini): Likewise.
1073 (realloc_hook_ini): Likewise.
1074 (memalign_hook_ini): Likewise.
1075 (__free_hook): Likewise.
1076 (__malloc_hook): Likewise.
1077 (__realloc_hook): Likewise.
1078 (__memalign_hook): Likewise.
1079 (__libc_malloc): Likewise.
1080 (__libc_free): Likewise.
1081 (__libc_realloc): Likewise.
1082 (__libc_memalign): Likewise.
1083 (__libc_valloc): Likewise.
1084 (__libc_pvalloc): Likewise.
1085 (__libc_calloc): Likewise.
1086 (__posix_memalign): Likewise.
1087 * malloc/morecore.c (__sbrk): Likewise.
1088 (__default_morecore): Likewise.
1089
5cc45e10
JM
1090 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1091
dd54b864
JM
1092 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1093 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1094 __malloc_ptrdiff_t.
1095
1ba4f030
JM
1096 * malloc/malloc.h (__malloc_size_t): Remove macro.
1097 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1098 __malloc_size_t.
1099 (old_memalign_hook): Likewise.
1100 (old_realloc_hook): Likewise.
1101 (struct hdr): Likewise.
1102 (flood): Likewise.
1103 (mallochook): Likewise.
1104 (memalignhook): Likewise.
1105 (reallochook): Likewise.
1106 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1107 (tr_old_realloc_hook): Likewise.
1108 (tr_old_memalign_hook): Likewise.
1109 (tr_mallochook): Likewise.
1110 (tr_reallochook): Likewise.
1111 (tr_memalignhook): Likewise.
1112
edf66e57
AZ
11132013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114
1115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1116 default_ldbl_pack and using as default implementation.
1117 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1118 implementation.
1119 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1120 redundant definition.
1121 (ldbl_insert_mantissa): Likewise.
1122 (ldbl_canonicalize): Likewise.
1123 (ldbl_nearbyint): Likewise.
1124 (ldbl_pack): Rename to ldbl_pack_ppc.
1125 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1126 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1127 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1128
6d9145d8
SP
11292013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
1131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1132 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1133 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1134 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1136 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1137 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1138 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1139
4dd4e157
AJ
11402013-03-07 Andreas Jaeger <aj@suse.de>
1141
1142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1143 bits/mman-linux.h.
1144
adbb8027
SP
11452013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1146
ce544b5b
SP
1147 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1148 Include mpa.h and declare __MPEXP.
1149 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1150 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1151 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1152 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1153 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1154 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1155 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1156
4cc149fd
SP
1157 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1158 (__slowpow): Use long double EXPL and LOGL functions to
1159 compute POW.
1160 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1161 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1162 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1163 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1164 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1165 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1166
e6ebd4a7
SP
1167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1168 intermediate variable to calculate exponent.
1169 (__sqr): Likewise.
1170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1171 Likewise.
1172 (__sqr): Likewise.
1173
82a9811d
SP
1174 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1175 [!NO__SQR]: Define __sqr.
1176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1177 and NO__SQR. Remove all code except __mul and __sqr. Include
1178 sysdeps/ieee754/dbl-64/mpa.c.
1179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1180
adbb8027
SP
1181 [BZ #12723]
1182 * posix/Makefile (tests): Add tst-pathconf.
1183 * posix/tst-pathconf.c: New test case.
1184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1185 _PC_PIPE_BUF.
1186 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1187
39120df9
PF
11882013-03-06 Patsy Franklin <pfrankli@redhat.com>
1189
1190 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1191
67525cb8
AJ
11922013-03-06 Andreas Jaeger <aj@suse.de>
1193
664a9ce4
AJ
1194 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1195 definition via __MAP_ANONYMOUS.
1196
8e39047d
AJ
1197 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1198 it's not part of Linux headers.
1199
67525cb8
AJ
1200 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1201 (MAP_HUGE_MASK): Define.
1202
1203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1204 Define.
1205 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1207 Define.
1208 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1209 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1210 Define.
1211 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1213 Define.
1214 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1215
1216 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1217 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1218 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1219 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1220 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1222
1223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1224 Handle f2fs.
1225
1226 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1227 Handle f2fs and efivarfs.
1228
1229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1230 f2fs.
1231
1232 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1233 (EFIVARFS_MAGIC): Add.
1234 (F2FS_LINK_MAX): Add.
1235
e1b42695
PP
12362013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1237
1238 * stdio-common/vfprintf.c: Replace __builtin_expect with
1239 __glibc_unlikely.
1240
2d67d91a
JM
12412013-03-06 Joseph Myers <joseph@codesourcery.com>
1242
1243 [BZ #13550]
1244 * sysdeps/generic/bp-sym.h: Remove file.
1245 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1246 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1247 <bp-sym.h> and <bp-asm.h>.
1248 (__longjmp): Don't use BP_SYM.
1249 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1250 and <bp-asm.h>.
1251 (memcpy): Don't use BP_SYM.
1252 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1253 <bp-sym.h> and <bp-asm.h>.
1254 (memcpy): Don't use BP_SYM.
1255 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1256 <bp-asm.h>.
1257 (memcpy): Don't use BP_SYM.
1258 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1259 <bp-asm.h>.
1260 (memset): Don't use BP_SYM.
1261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1263 (__bzero): Don't use BP_SYM.
1264 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1265 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1266 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1267 <bp-sym.h> and <bp-asm.h>.
1268 (memcmp): Don't use BP_SYM. Remove comment about bounded
1269 pointers.
1270 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1271 <bp-sym.h> and <bp-asm.h>.
1272 (memcpy): Don't use BP_SYM.
1273 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1274 <bp-sym.h> and <bp-asm.h>.
1275 (memset): Don't use BP_SYM.
1276 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1277 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1278 (__bzero): Don't use BP_SYM.
1279 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1280 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1281 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1282 <bp-sym.h> and <bp-asm.h>.
1283 (strncmp): Don't use BP_SYM. Remove comment about bounded
1284 pointers.
1285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1286 <bp-sym.h> and <bp-asm.h>.
1287 (memcpy): Don't use BP_SYM.
1288 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1289 <bp-sym.h> and <bp-asm.h>.
1290 (memset): Don't use BP_SYM.
1291 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1292 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1293 (__bzero): Don't use BP_SYM.
1294 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1295 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1297 <bp-sym.h> and <bp-asm.h>.
1298 (__memchr): Don't use BP_SYM.
1299 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1300 <bp-sym.h> and <bp-asm.h>.
1301 (memcmp): Don't use BP_SYM. Remove comment about bounded
1302 pointers.
1303 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1304 <bp-sym.h> and <bp-asm.h>.
1305 (memcpy): Don't use BP_SYM.
1306 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1307 <bp-sym.h> and <bp-asm.h>.
1308 (__mempcpy): Don't use BP_SYM.
1309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1310 <bp-sym.h> and <bp-asm.h>.
1311 (__memrchr): Don't use BP_SYM.
1312 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1313 <bp-sym.h> and <bp-asm.h>.
1314 (memset): Don't use BP_SYM.
1315 (__bzero): Likewise.
1316 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__rawmemchr): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (__STRCMP): Don't use BP_SYM.
1322 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1323 <bp-sym.h> and <bp-asm.h>.
1324 (strchr): Don't use BP_SYM.
1325 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1326 <bp-sym.h> and <bp-asm.h>.
1327 (__strchrnul): Don't use BP_SYM.
1328 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (strlen): Don't use BP_SYM.
1331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (strncmp): Don't use BP_SYM. Remove comment about bounded
1334 pointers.
1335 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1336 <bp-sym.h> and <bp-asm.h>.
1337 (__strnlen): Don't use BP_SYM.
1338 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1339 <bp-sym.h> and <bp-asm.h>.
1340 (__GI__setjmp): Don't use BP_SYM.
1341 (_setjmp): Likewise.
1342 (__sigsetjmp): Likewise.
1343 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1344 (L(start_addresses)): Don't use BP_SYM.
1345 (_start): Likewise.
1346 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1347 <bp-asm.h>.
1348 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1349 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1350 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1351 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1352 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1353 <bp-asm.h>.
1354 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1355 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1356 about bounded pointers.
1357 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1358 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1359 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1360 <bp-asm.h>.
1361 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1362 about bounded pointers. Remove GKM FIXME comments.
1363 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1364 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1365 <bp-asm.h>.
1366 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1367 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1368 Remove GKM FIXME comments.
1369 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1370 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1371 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1372 <bp-asm.h>.
1373 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1374 about bounded pointers. Remove GKM FIXME comment.
1375 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1376 and <bp-asm.h>.
1377 (strncmp): Don't use BP_SYM. Remove comment about bounded
1378 pointers.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1380 <bp-sym.h> and <bp-asm.h>.
1381 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1383 <bp-sym.h> and <bp-asm.h>.
1384 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1385 comment.
1386
cdcf361f
PP
13872013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1388
1389 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1390 call free(NULL).
1391
3c4a2b15
DM
13922013-03-05 David S. Miller <davem@davemloft.net>
1393
1394 * po/es.po: Update from translation team.
1395
cdcf361f 13962013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1397
1398 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1399 <bits/mman-linux.h>.
1400 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1401 is fine.
1402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1403 <bits/mman-linux.h> to end of file.
1404 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1405 is fine.
1406 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1407 <bits/mman-linux.h> to end of file.
1408 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1409 is fine.
1410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1411 <bits/mman-linux.h> to end of file.
1412
1413 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1414 (MCL_CURRENT, MCL_FUTURE): Define here.
1415
5f67c04f
AK
14162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1417
8a4473cc 1418 [BZ #15232]
5f67c04f
AK
1419 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1420 attribute_hidden.
1421 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1422
c3e94a95
AK
14232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1424
1425 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1426 fourth parameter needed for rt_sigprocmask syscall.
1427 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1428 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1429 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1430 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1431 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1433
cfb6382a
JM
14342013-03-04 Joseph Myers <joseph@codesourcery.com>
1435
1436 [BZ #13550]
1437 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1438 comment about bounded pointers.
1439 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1440 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1441
539d8e01
AJ
14422013-03-04 Andreas Jaeger <aj@suse.de>
1443
1444 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1445 common definitions.
1446
1447 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1448 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1449 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1453
2e167a70 14542013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1455
1456 [BZ #15055]
1457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1458 __ieee754_sqrl instead of __sqrl.
1459
68508633
JM
14602013-03-01 Joseph Myers <joseph@codesourcery.com>
1461
1462 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1463 * sysdeps/powerpc/fpu_control.h: ... here.
1464 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1465 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1466 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1467 * sysdeps/powerpc/bits/mathinline.h: ... here.
1468
7775448e
RM
14692013-03-01 Roland McGrath <roland@hack.frob.com>
1470
1471 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1472 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1473 to just [NEED_DL_SYSINFO_DSO].
1474 * elf/dl-support.c: Likewise.
1475 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1476 * elf/rtld.c (dl_main): Likewise.
1477 * elf/setup-vdso.h (setup_vdso): Likewise.
1478 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1479 * sysdeps/unix/sysv/linux/dl-sysdep.c
1480 (_dl_discover_osversion): Likewise.
1481
4e9b5995
CD
14822013-03-01 Carlos O'Donell <carlos@redhat.com>
1483
1484 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1485 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1486
e23872c8
SP
14872013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
e5c74c63
SP
1489 * NEWS: Mention libm performance improvements and non-x86 PI
1490 futex support.
1491
e23872c8
SP
1492 * csu/libc-start.c (__pthread_initialize_minimal): Change
1493 function arguments.
1494 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1495
b5510883
JM
14962013-02-28 Joseph Myers <joseph@codesourcery.com>
1497
1498 [BZ #13550]
1499 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1500 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1501 <bp-sym.h> and <bp-asm.h>.
1502 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1503 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1504 and <bp-asm.h>.
1505 (memcpy): Don't use BP_SYM.
1506 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1507 <bp-asm.h>.
1508 (__mpn_add_n): Don't use BP_SYM.
1509 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1510 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1511 and <bp-asm.h>.
1512 (__mpn_addmul_1): Don't use BP_SYM.
1513 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1514 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1515 <bp-sym.h>.
1516 (_setjmp): Don't use BP_SYM.
1517 (__novmx_setjmp): Likewise.
1518 (__GI__setjmp): Likewise.
1519 (__vmx_setjmp): Likewise.
1520 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1521 <bp-sym.h>.
1522 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1523 (__bzero): Don't use BP_SYM.
1524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1526 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1527 <bp-sym.h> and <bp-asm.h>.
1528 (memcpy): Don't use BP_SYM.
1529 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1530 <bp-sym.h> and <bp-asm.h>.
1531 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1533 <bp-sym.h> and <bp-asm.h>.
1534 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1535 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1536 <bp-asm.h>.
1537 (__mpn_lshift): Don't use BP_SYM.
1538 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1539 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1540 <bp-asm.h>.
1541 (memset): Don't use BP_SYM.
1542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1544 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1545 <bp-asm.h>.
1546 (__mpn_mul_1): Don't use BP_SYM.
1547 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1549 <bp-sym.h> and <bp-asm.h>.
1550 (memcmp): Don't use BP_SYM.
1551 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1552 <bp-sym.h> and <bp-asm.h>.
1553 (memcpy): Don't use BP_SYM.
1554 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1555 <bp-sym.h> and <bp-asm.h>.
1556 (memset): Don't use BP_SYM.
1557 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1558 <bp-sym.h> and <bp-asm.h>.
1559 (strncmp): Don't use BP_SYM.
1560 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1561 <bp-sym.h> and <bp-asm.h>.
1562 (memcpy): Don't use BP_SYM.
1563 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1564 <bp-sym.h> and <bp-asm.h>.
1565 (memset): Don't use BP_SYM.
1566 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1567 <bp-sym.h> and <bp-asm.h>.
1568 (__memchr): Don't use BP_SYM.
1569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1570 <bp-sym.h> and <bp-asm.h>.
1571 (memcmp): Don't use BP_SYM.
1572 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1573 <bp-sym.h> and <bp-asm.h>.
1574 (memcpy): Don't use BP_SYM.
1575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1576 <bp-sym.h> and <bp-asm.h>.
1577 (__mempcpy): Don't use BP_SYM.
1578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1579 <bp-sym.h> and <bp-asm.h>.
1580 (__memrchr): Don't use BP_SYM.
1581 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1582 <bp-sym.h> and <bp-asm.h>.
1583 (memset): Don't use BP_SYM.
1584 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1585 <bp-sym.h> and <bp-asm.h>.
1586 (__rawmemchr): Don't use BP_SYM.
1587 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1588 <bp-sym.h> and <bp-asm.h>.
1589 (__STRCMP): Don't use BP_SYM.
1590 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1591 <bp-sym.h> and <bp-asm.h>.
1592 (strchr): Don't use BP_SYM.
1593 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1594 <bp-sym.h> and <bp-asm.h>.
1595 (__strchrnul): Don't use BP_SYM.
1596 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1597 <bp-sym.h> and <bp-asm.h>.
1598 (strlen): Don't use BP_SYM.
1599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1600 <bp-sym.h> and <bp-asm.h>.
1601 (strncmp): Don't use BP_SYM.
1602 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1603 <bp-sym.h> and <bp-asm.h>.
1604 (__strnlen): Don't use BP_SYM.
1605 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1606 <bp-asm.h>.
1607 (__mpn_rshift): Don't use BP_SYM.
1608 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1609 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1610 <bp-sym.h> and <bp-asm.h>.
1611 (__sigsetjmp): Don't use BP_SYM.
1612 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1613 (L(start_addresses)): Don't use BP_SYM.
1614 (_start): Likewise.
1615 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1616 <bp-asm.h>.
1617 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1618 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1619 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1620 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1621 <bp-asm.h>.
1622 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1623 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1624 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1625 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1626 <bp-asm.h>.
1627 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1628 comments.
1629 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1630 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1631 <bp-asm.h>.
1632 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1633 FIXME comments.
1634 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1635 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1636 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1637 <bp-asm.h>.
1638 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1639 comment.
1640 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1641 and <bp-asm.h>.
1642 (strncmp): Don't use BP_SYM,
1643 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1644 <bp-asm.h>.
1645 (__mpn_sub_n): Don't use BP_SYM.
1646 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1647 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1648 and <bp-asm.h>.
1649 (__mpn_submul_1): Don't use BP_SYM.
1650 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1655 <bp-sym.h> and <bp-asm.h>.
1656 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1657 comment.
1658
8d19fe64
SP
16592013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1660
1661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1662 Use ZK to minimize writes to Z.
1663 (sub_magnitudes): Simplify code a bit.
1664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1665 Use ZK to minimize writes to Z.
1666 (sub_magnitudes): Simplify code a bit.
1667
85bd816a
RM
16682013-02-27 Roland McGrath <roland@hack.frob.com>
1669
1670 * csu/gmon-start.c: Add special exception to license text.
1671
b5977bf2
RH
16722013-02-27 Richard Henderson <rth@redhat.com>
1673
1674 * scripts/config.guess: Update from config.git.
1675 * scripts/config.sub: Likewise.
1676
11d6e2f2
SP
16772013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
09c14ed2
SP
1679 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1680
a688864e
SP
1681 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1682
6295157a
SP
1683 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1684
b8de2202
SP
1685 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1686
11d6e2f2
SP
1687 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1688
7e80ddb8
RM
16892013-02-26 Roland McGrath <roland@hack.frob.com>
1690
1691 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1692 [$(build-shared = yes].
7e80ddb8 1693
7da6d9ed
SP
16942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1695
45f05884
SP
1696 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1697 (__mul): Reduce iterations for calculating mantissa.
1698
2236d359
SP
1699 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1700 MPTWO.
1701 (__mpranred): Likewise.
1702
7da6d9ed
SP
1703 [BZ #15160]
1704 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1705 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1706
b7688c42
PE
17072013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1708
1709 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1710 Define __attribute__.
1711
53a5c423
SP
17122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1713
1714 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1715 unused.
1716 * posix/regex_internal.h (__attribute): Remove.
1717 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1718 (re_string_context_at): Likewise.
1719 (bitset_not): Use __attribute__ and mark function as possibly
1720 unused.
1721 (bitset_merge): Likewise.
1722 (bitset_mask): Likewise.
1723 (re_string_char_size_at): Likewise.
1724 (re_string_wchar_at): Likewise.
1725 (re_string_elem_size_at): Likewise.
1726
60f5a8b5
SP
17272013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1728
2a983a2e
SP
1729 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1730 code.
1731 (cc32): Likewise.
1732
e69804d1
SP
1733 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1734 (__acr): Likewise.
1735 (__cpy): Likewise.
1736 (norm): Likewise.
1737 (denorm): Likewise.
1738 (__dbl_mp): Likewise.
1739 (add_magnitudes): Likewise.
1740 (sub_magnitudes): Likewise.
1741 (__mul): Likewise.
1742 (__inv): Likewise.
1743
2f22a1e8
SP
1744 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1745 style.
1746
8930ddc7
SP
1747 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1748 style.
1749
dc60cb11
SP
1750 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1751 code.
1752
60f5a8b5
SP
1753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1754 up changes with default code.
1755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1756 Likewise.
1757
b4d1fd33
AM
17582013-02-24 Allan McRae <allan@archlinux.org>
1759
faf6f8bc
AM
1760 * manual/socket.texi (The Internet Namespace): Order menu items
1761 to match that in the file.
1762
b4d1fd33
AM
1763 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1764 node listing of the info page menu.
1765
2366713d
JM
17662013-02-21 Joseph Myers <joseph@codesourcery.com>
1767
1768 [BZ #13550]
1769 * sysdeps/i386/bp-asm.h: Remove file.
1770 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1771 (PARMS): Do not use macros from bp-asm.h.
1772 (S1): Likewise.
1773 (S2): Likewise.
1774 (SIZE): Likewise.
1775 (__mpn_add_n): Do not use BP_SYM
1776 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1777 "bp-asm.h".
1778 (PARMS): Do not use macros from bp-asm.h.
1779 (S1): Likewise.
1780 (SIZE): Likewise.
1781 (__mpn_addmul_1): Do not use BP_SYM
1782 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1783 "bp-asm.h".
1784 (PARMS): Do not use macros from bp-asm.h.
1785 (SIGMSK): Likewise.
1786 (_setjmp): Likewise. Do not use BP_SYM.
1787 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1788 "bp-asm.h".
1789 (PARMS): Do not use macros from bp-asm.h.
1790 (SIGMSK): Likewise.
1791 (setjmp): Likewise. Do not use BP_SYM.
1792 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1793 "bp-asm.h".
1794 (PARMS): Do not use macros from bp-asm.h.
1795 (__frexp): Do not use BP_SYM.
1796 (frexp): Likewise.
1797 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1798 "bp-asm.h".
1799 (PARMS): Do not use macros from bp-asm.h.
1800 (__frexpf): Do not use BP_SYM.
1801 (frexpf): Likewise.
1802 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1803 "bp-asm.h".
1804 (PARMS): Do not use macros from bp-asm.h.
1805 (__frexpl): Do not use BP_SYM.
1806 (frexpl): Likewise.
1807 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1808 "bp-asm.h".
1809 (PARMS): Do not use macros from bp-asm.h.
1810 (__remquo): Do not use BP_SYM.
1811 (remquo): Likewise.
1812 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1813 "bp-asm.h".
1814 (PARMS): Do not use macros from bp-asm.h.
1815 (__remquof): Do not use BP_SYM.
1816 (remquof): Likewise.
1817 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1818 "bp-asm.h".
1819 (PARMS): Do not use macros from bp-asm.h.
1820 (__remquol): Do not use BP_SYM.
1821 (remquol): Likewise.
1822 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1823 "bp-asm.h".
1824 (PARMS): Do not use macros from bp-asm.h.
1825 (DEST): Likewise.
1826 (SRC): Likewise.
1827 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1828 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1829 "bp-asm.h".
1830 (PARMS): Do not use macros from bp-asm.h.
1831 (strlen): Do not use BP_SYM.
1832 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1833 "bp-asm.h".
1834 (PARMS): Do not use macros from bp-asm.h.
1835 (S1): Likewise.
1836 (S2): Likewise.
1837 (SIZE): Likewise.
1838 (__mpn_add_n): Do not use BP_SYM.
1839 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1840 "bp-asm.h".
1841 (PARMS): Do not use macros from bp-asm.h.
1842 (S1): Likewise.
1843 (SIZE): Likewise.
1844 (__mpn_addmul_1): Do not use BP_SYM.
1845 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1846 weak_alias.
1847 (bzero): Likewise.
1848 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1849 "bp-asm.h".
1850 (PARMS): Do not use macros from bp-asm.h.
1851 (S): Likewise.
1852 (SIZE): Likewise.
1853 (__mpn_lshift): Do not use BP_SYM.
1854 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1855 "bp-asm.h".
1856 (PARMS): Do not use macros from bp-asm.h.
1857 (DEST): Likewise.
1858 (SRC): Likewise.
1859 (LEN): Likewise.
1860 (memcpy): Likewise. Do not use BP_SYM.
1861 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1862 libc_hidden_def and weak_alias.
1863 (mempcpy): Do not use BP_SYM in weak_alias.
1864 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1865 "bp-asm.h".
1866 (PARMS): Do not use macros from bp-asm.h.
1867 (DEST): Likewise.
1868 (LEN): Likewise.
1869 [!BZERO_P] (CHR): Likewise.
1870 (memset): Likewise. Do not use BP_SYM.
1871 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1872 "bp-asm.h".
1873 (PARMS): Do not use macros from bp-asm.h.
1874 (S1): Likewise.
1875 (SIZE): Likewise.
1876 (__mpn_mul_1): Do not use BP_SYM.
1877 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1878 "bp-asm.h".
1879 (PARMS): Do not use macros from bp-asm.h.
1880 (S): Likewise.
1881 (SIZE): Likewise.
1882 (__mpn_rshift): Do not use BP_SYM.
1883 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1884 "bp-asm.h".
1885 (PARMS): Do not use macros from bp-asm.h.
1886 (STR): Likewise.
1887 (CHR): Likewise.
1888 (strchr): Likewise. Do not use BP_SYM.
1889 (index): Do not use BP_SYM in weak_alias.
1890 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1891 "bp-asm.h".
1892 (PARMS): Do not use macros from bp-asm.h.
1893 (DEST): Likewise.
1894 (SRC): Likewise.
1895 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1896 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1897 "bp-asm.h".
1898 (PARMS): Do not use macros from bp-asm.h.
1899 (strlen): Do not use BP_SYM.
1900 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1901 "bp-asm.h".
1902 (PARMS): Do not use macros from bp-asm.h.
1903 (S1): Likewise.
1904 (S2): Likewise.
1905 (SIZE): Likewise.
1906 (__mpn_sub_n): Do not use BP_SYM.
1907 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1908 "bp-asm.h".
1909 (PARMS): Do not use macros from bp-asm.h.
1910 (S1): Likewise.
1911 (SIZE): Likewise.
1912 (__mpn_submul_1): Do not use BP_SYM.
1913 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1914 "bp-asm.h".
1915 (PARMS): Do not use macros from bp-asm.h.
1916 (S1): Likewise.
1917 (S2): Likewise.
1918 (SIZE): Likewise.
1919 (__mpn_add_n): Do not use BP_SYM.
1920 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1921 weak_alias.
1922 (bzero): Likewise.
1923 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1924 "bp-asm.h".
1925 (PARMS): Do not use macros from bp-asm.h.
1926 (BLK2): Likewise.
1927 (LEN): Likewise.
1928 (memcmp): Do not use BP_SYM.
1929 (bcmp): Do not use BP_SYM in weak_alias.
1930 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1931 "bp-asm.h".
1932 (PARMS): Do not use macros from bp-asm.h.
1933 (DEST): Likewise.
1934 (SRC): Likewise.
1935 (LEN): Likewise.
1936 (memcpy): Likewise. Do not use BP_SYM.
1937 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1938 "bp-asm.h".
1939 (PARMS): Do not use macros from bp-asm.h.
1940 (DEST): Likewise.
1941 (SRC): Likewise.
1942 (LEN): Likewise.
1943 (memmove): Likewise. Do not use BP_SYM.
1944 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1945 "bp-asm.h".
1946 (PARMS): Do not use macros from bp-asm.h.
1947 (DEST): Likewise.
1948 (SRC): Likewise.
1949 (LEN): Likewise.
1950 (__mempcpy): Likewise. Do not use BP_SYM.
1951 (mempcpy): Do not use BP_SYM in weak_alias.
1952 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1953 "bp-asm.h".
1954 (PARMS): Do not use macros from bp-asm.h.
1955 (DEST): Likewise.
1956 (LEN): Likewise.
1957 [!BZERO_P] (CHR): Likewise.
1958 (memset): Likewise. Do not use BP_SYM.
1959 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1960 "bp-asm.h".
1961 (PARMS): Do not use macros from bp-asm.h.
1962 (STR2): Likewise.
1963 (strcmp): Do not use BP_SYM.
1964 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1965 "bp-asm.h".
1966 (PARMS): Do not use macros from bp-asm.h.
1967 (STR): Likewise.
1968 (DELIM): Likewise.
1969 [USE_AS_STRTOK_R] (SAVE): Likewise.
1970 (FUNCTION): Likewise. Do not use BP_SYM.
1971 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1972 aliases.
1973 (strtok_r): Likewise.
1974 (__GI___strtok_r): Likewise.
1975 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1976 (PARMS): Do not use macros from bp-asm.h.
1977 (S): Likewise.
1978 (SIZE): Likewise.
1979 (__mpn_lshift): Do not use BP_SYM.
1980 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1981 (PARMS): Do not use macros from bp-asm.h.
1982 (STR): Likewise.
1983 (CHR): Likewise.
1984 (__memchr): Do not use BP_SYM.
1985 (memchr): Do not use BP_SYM in weak_alias.
1986 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1987 (PARMS): Do not use macros from bp-asm.h.
1988 (BLK2): Likewise.
1989 (LEN): Likewise.
1990 (memcmp): Do not use BP_SYM.
1991 (bcmp): Do not use BP_SYM in weak_alias.
1992 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1993 (PARMS): Do not use macros from bp-asm.h.
1994 (S1): Likewise.
1995 (SIZE): Likewise.
1996 (__mpn_mul_1): Do not use BP_SYM.
1997 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1998 "bp-asm.h".
1999 (PARMS): Do not use macros from bp-asm.h.
2000 (STR): Likewise.
2001 (CHR): Likewise.
2002 (__rawmemchr): Do not use BP_SYM.
2003 (rawmemchr): Do not use BP_SYM in weak_alias.
2004 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2005 (PARMS): Do not use macros from bp-asm.h.
2006 (S): Likewise.
2007 (SIZE): Likewise.
2008 (__mpn_rshift): Do not use BP_SYM.
2009 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2010 (PARMS): Do not use macros from bp-asm.h.
2011 (SIGMSK): Likewise.
2012 (__sigsetjmp): Likewise. Do not use BP_SYM.
2013 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2014 (_start): Do not use BP_SYM.
2015 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2016 (PARMS): Do not use macros from bp-asm.h.
2017 (DEST): Likewise.
2018 (SRC): Likewise.
2019 (__stpcpy): Likewise. Do not use BP_SYM.
2020 (stpcpy): Do not use BP_SYM in weak_alias.
2021 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2022 "bp-asm.h".
2023 (PARMS): Do not use macros from bp-asm.h.
2024 (DEST): Likewise.
2025 (SRC): Likewise.
2026 (LEN): Likewise.
2027 (__stpncpy): Likewise. Do not use BP_SYM.
2028 (stpncpy): Do not use BP_SYM in weak_alias.
2029 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2030 (PARMS): Do not use macros from bp-asm.h.
2031 (STR): Likewise.
2032 (CHR): Likewise.
2033 (strchr): Likewise. Do not use BP_SYM.
2034 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2035 "bp-asm.h".
2036 (PARMS): Do not use macros from bp-asm.h.
2037 (STR): Likewise.
2038 (CHR): Likewise.
2039 (__strchrnul): Likewise. Do not use BP_SYM.
2040 (strchrnul): Do not use BP_SYM in weak_alias.
2041 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2042 "bp-asm.h".
2043 (PARMS): Do not use macros from bp-asm.h.
2044 (STOP): Likewise.
2045 (strcspn): Do not use BP_SYM.
2046 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2047 "bp-asm.h".
2048 (PARMS): Do not use macros from bp-asm.h.
2049 (STR): Likewise.
2050 (STOP): Likewise.
2051 (strpbrk): Likewise. Do not use BP_SYM.
2052 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2053 "bp-asm.h".
2054 (PARMS): Do not use macros from bp-asm.h.
2055 (STR): Likewise.
2056 (CHR): Likewise.
2057 (strrchr): Likewise. Do not use BP_SYM.
2058 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2059 (PARMS): Do not use macros from bp-asm.h.
2060 (SKIP): Likewise.
2061 (strspn): Do not use BP_SYM.
2062 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2063 (PARMS): Do not use macros from bp-asm.h.
2064 (STR): Likewise.
2065 (DELIM): Likewise.
2066 (SAVE): Likewise.
2067 (FUNCTION): Likewise. Do not use BP_SYM.
2068 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2069 aliases.
2070 (strtok_r): Likewise.
2071 (__GI___strtok_r): Likewise.
2072 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2073 (PARMS): Do not use macros from bp-asm.h.
2074 (S1): Likewise.
2075 (S2): Likewise.
2076 (SIZE): Likewise.
2077 (__mpn_sub_n): Do not use BP_SYM.
2078 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2079 "bp-asm.h".
2080 (PARMS): Do not use macros from bp-asm.h.
2081 (S1): Likewise.
2082 (SIZE): Likewise.
2083 (__mpn_submul_1): Do not use BP_SYM.
2084 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2085 <bp-sym.h>.
2086 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2087 and <bp-asm.h>.
2088 (PARMS): Do not use macros from bp-asm.h.
2089 (FLAGS): Likewise.
2090 (PTID): Likewise.
2091 (TLS): Likewise.
2092 (CTID): Likewise.
2093 (__clone): Do not use BP_SYM.
2094 (clone): Do not use BP_SYM in weak_alias.
2095 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2096 and <bp-asm.h>.
2097 (PARMS): Do not use macros from bp-asm.h.
2098 (LEN): Likewise.
2099 (__mmap64): Do not use BP_SYM.
2100 (mmap64): Do not use BP_SYM in weak_alias.
2101 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2102 <bp-sym.h> and <bp-asm.h>.
2103 (PARMS): Do not use macros from bp-asm.h.
2104 (__posix_fadvise64_l64): Do not use BP_SYM.
2105 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2106 (PARMS): Do not use macros from bp-asm.h.
2107 (NSOPS): Likewise.
2108 (semtimedop): Do not use BP_SYM.
2109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2110 and <bp-asm.h>.
2111
582a3cff
AM
21122013-02-21 Allan McRae <allan@archlinux.org>
2113
2114 * manual/message.texi (Charset conversion in gettext):
2115 Move @end statement to beginning of line.
2116
bab8a695
SP
21172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2118
80945231
SP
2119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2120 static.
2121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2122 Likewise.
2123
bab8a695
SP
2124 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2125 (denorm): Likewise.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2128
e21d7aa7
AK
21292013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2130
2131 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2132 tail-call to the resolved function if pltexit isn't needed.
2133
4c7a4263
SP
21342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2135
2136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2137 or Y being zero as being unlikely.
2138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2139 Likewise.
2140
41f49342
CD
21412013-02-20 Carlos O'Donell <carlos@redhat.com>
2142
2143 * manual/nss.texi (System Databases and Name Service Switch):
2144 Remove frobnicate @pxref.
2145
50022a93
TS
21462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2147
2148 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2149 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2150
08cbd996
PM
21512013-02-20 Petr Machata <pmachata@redhat.com>
2152
2153 * elf/elf.h (R_ARM_TARGET1): New macro.
2154 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2155 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2156 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2157 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2158 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2159 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2160 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2161 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2162 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2163 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2164 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2165 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2166 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2167 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2168 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2169 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2170 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2171 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2172 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2173 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2174 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2175 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2176 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2177 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2178 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2179 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2180 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2181 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2182 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2183 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2184 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2185 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2186 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2187 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2188 (R_ARM_THM_GOT_BREL12): Likewise.
2189 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2190 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2191 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2192 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2193 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2194 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2195 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2196 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2197 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2198
c7b275d6
TS
21992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2200
2201 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2202 __attribute_used__ to __attribute__ ((unused)).
2203
20cd7fb3
SP
22042013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2207 powerpc mpa.c.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2209 comment formatting.
2210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2211
92945b52
JM
22122013-02-19 Joseph Myers <joseph@codesourcery.com>
2213
2214 [BZ #13550]
2215 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2216 Remove macro.
2217 (ENTER): Remove both macro definitions.
2218 (LEAVE): Likewise.
2219 (CHECK_BOUNDS_LOW): Likewise.
2220 (CHECK_BOUNDS_HIGH): Likewise.
2221 (CHECK_BOUNDS_BOTH): Likewise.
2222 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2223 (RETURN_BOUNDED_POINTER): Likewise.
2224 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2225 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2226 (POP_ERRNO_LOCATION_RETURN): Likewise.
2227 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2228 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2229 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2230 macros.
2231 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2232 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2233 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2234 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2235 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2236 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2237 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2238 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2239 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2240 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2241 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2242 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2243 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2244 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2245 removed macros.
2246 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2247 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2248 macros.
2249 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2250 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2251 * sysdeps/i386/i586/memset.S (memset): Likewise.
2252 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2253 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2254 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2255 macros.
2256 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2257 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2258 Change uses of L(2) to L(out).
2259 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2260 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2261 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2262 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2263 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2264 removed macros.
2265 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2266 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2267 macros.
2268 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2269 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2270 (RETURN): Do not use macro LEAVE.
2271 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2272 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2273 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2274 * sysdeps/i386/i686/memset.S (memset): Likewise.
2275 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2276 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2277 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2278 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2279 Likewise.
2280 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2281 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2282 L(1_2) and L(1_3) into L(1).
2283 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2284 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2285 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2286 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2287 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2288 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2289 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2290 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2291 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2292 macros.
2293 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2294 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2295 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2296 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2297 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2298 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2299 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2300 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2301 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2302 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2303 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2304 * sysdeps/i386/strspn.S (strspn): Likewise.
2305 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2306 conditional code.
2307 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2308 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2309 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2310 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2311 L(1_3) into L(1_1).
2312 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2313 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2314 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2315 macros.
2316 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2317
2389741a
JJ
23182013-02-19 Jakub Jelinek <jakub@redhat.com>
2319
2320 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2321 macro.
2322
2016b3cd
SP
23232013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2324
e4f22324
SP
2325 * math/atest-exp.c (exp_mpn): Remove ROUND.
2326 * math/atest-exp2.c (exp_mpn): Likewise.
2327 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2328
2016b3cd
SP
2329 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2330 * stdlib/tst-tls-atexit-lib.c: Likewise.
2331 * stdlib/tst-tls-atexit.c: Likewise.
2332
4be9b544
MF
23332013-02-18 Mike Frysinger <vapier@gentoo.org>
2334
2335 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2336 and __attribute_alloc_size__.
2337
2f62b9ee
MF
23382013-02-18 Mike Frysinger <vapier@gentoo.org>
2339
2340 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2341 __attribute_alloc_size__.
2342 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2343 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2344
6ff444c4
MF
23452013-02-18 Mike Frysinger <vapier@gentoo.org>
2346
2347 * include/programs/xmalloc.h: New file.
2348 * catgets/gencat.c: Include it.
2349 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2350 * elf/pldd.c: Likewise.
2351 * iconv/iconv_charmap.c: Likewise.
2352 * iconv/iconvconfig.c: Likewise.
2353 * iconv/strtab.c: Likewise.
2354 * locale/programs/locale.c: Likewise.
2355 * locale/programs/localedef.h: Likewise.
2356 * locale/programs/simple-hash.c: Likewise.
2357 * nscd/nscd.h: Likewise.
2358 * nss/makedb.c: Likewise.
2359 * sysdeps/generic/ldconfig.h: Likewise.
2360
be179c8a
SP
23612013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2362
ba384f6e
SP
2363 * Versions.def: Add GLIBC_2.18.
2364 * include/link.h (struct link_map): New member l_tls_dtor_count.
2365 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2366 (__call_tls_dtors): Likewise.
2367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2368 __cxa_thread_atexit_impl.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2370 Likewise.
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2372 Likewise.
2373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2374 Likewise.
2375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2376 Likewise.
2377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2379 Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2381 Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2384 Likewise.
2385 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2386 (tests): Add test case tst-tls-atexit.
2387 (modules-names): Add shared library for tst-tls-atexit.
2388 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2389 (GLIBC_PRIVATE): Add __call_tls_dtors.
2390 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2391 for libstdc++.
2392 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2393 * stdlib/tst-tls-atexit.c: New test case.
2394 * stdlib/tst-tls-atexit-lib.c: New test case.
2395
ffaa74cf 2396 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2397
be179c8a
SP
2398 * elf/Versions (ld): Add _dl_find_dso_for_object.
2399 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2400 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2401 (dl_open_worker): Use _dl_find_dso_for_object.
2402 * elf/dl-sym.c (do_sym): Likewise.
2403 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2404
f78b5caa
AK
24052013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2406
2407 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2408 Syntactic changes only.
2409 (_dl_runtime_profile): Do a tail-call to the resolved function.
2410
29691210
JM
24112013-02-17 Joseph Myers <joseph@codesourcery.com>
2412
2413 [BZ #13550]
2414 * sysdeps/x86_64/bp-asm.h: Remove file.
2415 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2416 <bp-sym.h> and <bp-asm.h>.
2417 (__clone): Do not use BP_SYM.
2418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2419 <bp-sym.h> and <bp-asm.h>.
2420 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2421 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2422 "bp-asm.h".
2423 (_setjmp): Do not use BP_SYM.
2424 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2425 "bp-asm.h".
2426 (setjmp): Do not use BP_SYM.
2427 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2428 libc_hidden_def.
2429 (mempcpy): Do not use BP_SYM in weak_alias.
2430 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2431 "bp-asm.h".
2432 (strchr): Do not use BP_SYM.
2433 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2434 "bp-asm.h".
2435 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2436 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2437 (_start): Do not use BP_SYM.
2438 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2439 "bp-asm.h".
2440 (strcat): Do not use BP_SYM.
2441 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2442 "bp-asm.h".
2443 (STRCMP): Do not use BP_SYM.
2444 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2445 "bp-asm.h".
2446 (STRCPY): Do not use BP_SYM.
2447 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2448 "bp-asm.h".
2449 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2450 "bp-asm.h".
2451 (FUNCTION): Do not use BP_SYM.
2452 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2453 weak_alias.
2454 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2455
f238fd19
AJ
24562013-02-17 Andreas Jaeger <aj@suse.de>
2457
2458 * time/Versions: Sort entries.
2459 * string/Versions: Likewise.
2460 * resolv/Versions: Likewise.
2461 * posix/Versions: Likewise.
2462 * iconv/Versions: Likewise.
2463 * elf/Versions: Likewise.
2464 * wcsmbs/Versions: Likewise.
2465
bd07f23c 24662013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2467
22af19f9
SP
2468 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2469 loop termination condition.
2470
4709fe76
SP
2471 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2472 variable to calculate EZ.
2473 (__sqr): Likewise.
2d0e0f29
SP
2474
2475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2476 the lower precision input.
2477
daaa7713
JM
24782013-02-15 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #13550]
2481 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2482 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2483 (run-via-rtld-prefix): Do not handle %-bp tests.
2484 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2485 (all-object-suffixes): Remove .ob.
2486 (bppfx): Remove variable.
2487 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2488 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2489 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2490 [$(build-bounded) = yes] (libtype.ob): Likewise.
2491 * Makerules (elide-routines.ob): Remove variable.
2492 (do-tests-clean): Do not handle *-bp.out.
2493 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2494 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2495 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2496 (tests): Do not include $(tests-bp.out).
2497 (xtests): Do not include $(xtests-bp.out).
2498 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2499 [$(build-bounded) = yes] ($(addprefix
2500 $(objpfx),$(binaries-bounded))): Remove rule.
2501 ($(objpfx)%-bp.out): Remove rule.
2502 * config.make.in (build-bounded): Remove variable.
2503 * crypt/Makefile [$(build-bounded) = yes]
2504 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2505 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2506 append to variable.
2507 [$(build-bounded) = yes] (install-lib): Likewise.
2508 [$(build-bounded) = yes] (generated): Likewise.
2509 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2510 Remove rule.
2511 * intl/Makefile [$(build-bounded) = yes]
2512 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2513 * math/Makefile [$(build-bounded) = yes]
2514 ($(tests:%=$(objpfx)%-bp): Likewise.
2515 * misc/Makefile [$(build-bounded) = yes]
2516 ($(objpfx)tst-tsearch-bp): Likewise.
2517 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2518 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2519 Remove dependency.
2520 * string/Makefile (o-objects.ob): Remove variable.
2521 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2522 (CFLAGS-.ob): Remove variable.
2523 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2524 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2525 both definitions of variable.
2526 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2527 (ASFLAGS-.ob): Remove variable.
2528
e97ed6dd
JM
25292013-02-14 Joseph Myers <joseph@codesourcery.com>
2530
2bdd4ca6
JM
2531 [BZ #13550]
2532 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2533 Remove __BOUNDED_POINTERS__ from condition.
2534 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2535 * string/bits/string2.h [!__NO_STRING_INLINES &&
2536 !__BOUNDED_POINTERS__]: Likewise.
2537 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2540 Remove conditional code.
2541 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2542 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2543 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2544 condition.
2545
e97ed6dd
JM
2546 [BZ #13550]
2547 * csu/libc-start.c: Do not include <bp-sym.h>.
2548 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2549 * elf/dl-open.c: Do not include <bp-sym.h>.
2550 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2551 * math/fegetenv.c: Do not include <bp-sym.h>.
2552 (fegetenv): Do not use BP_SYM in versioned symbols.
2553 * nptl/sysdeps/pthread/bits/libc-lockP.h
2554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2555 <bp-sym.h>.
2556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2557 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2559 (__pthread_mutex_destroy): Likewise.
2560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2561 (__pthread_mutex_lock): Likewise.
2562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2563 (__pthread_mutex_trylock): Likewise.
2564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2565 (__pthread_mutex_unlock): Likewise.
2566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2567 (__pthread_mutexattr_init): Likewise.
2568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2569 (__pthread_mutexattr_destroy): Likewise.
2570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2571 (__pthread_mutexattr_settype): Likewise.
2572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2573 (__pthread_rwlock_init): Likewise.
2574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2575 (__pthread_rwlock_destroy): Likewise.
2576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2577 (__pthread_rwlock_rdlock): Likewise.
2578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2579 (__pthread_rwlock_tryrdlock): Likewise.
2580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2581 (__pthread_rwlock_wrlock): Likewise.
2582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2583 (__pthread_rwlock_trywrlock): Likewise.
2584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2585 (__pthread_rwlock_unlock): Likewise.
2586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2587 (__pthread_key_create): Likewise.
2588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2589 (__pthread_setspecific): Likewise.
2590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2591 (__pthread_getspecific): Likewise.
2592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2593 Likewise.
2594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2595 (_pthread_cleanup_push_defer): Likewise.
2596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2597 (_pthread_cleanup_pop_restore): Likewise.
2598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2599 (pthread_setcancelstate): Likewise.
2600 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2601 <bp-sym.h>.
2602 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2603 (memchr): Do not use BP_SYM in weak_alias.
2604 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2605 (fegetenv): Do not use BP_SYM in versioned symbols.
2606 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2607 (fesetenv): Do not use BP_SYM in versioned symbols.
2608 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2609 (feupdateenv): Do not use BP_SYM in versioned symbols.
2610 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2611 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2612 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2613 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2614 (open64): Do not use BP_SYM in weak_alias.
2615 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2616 (fegetenv): Do not use BP_SYM in versioned symbols.
2617 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2618 (fesetenv): Do not use BP_SYM in versioned symbols.
2619 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2620 (feupdateenv): Do not use BP_SYM in versioned symbols.
2621 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2622 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2623 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2624 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2625 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2626 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2627 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2628 <bp-sym.h>.
2629 (__libc_start_main): Do not use BP_SYM.
2630
d6752ccd
SP
26312013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
cb57ce60
SP
2633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2634 redundant return line.
2635 (norm): Likewise.
2636 (denorm): Likewise.
2637 (dbl_mp): Likewise.
2638 (sub_magnitudes): Likewise.
2639 (__add): Likewise.
2640 (__sub): Likewise.
2641 (__mul): Likewise.
2642 (__inv): Likewise.
2643 (__dvd): Likewise.
2644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2645 (norm): Likewise.
2646 (denorm): Likewise.
2647 (dbl_mp): Likewise.
2648 (sub_magnitudes): Likewise.
2649 (__add): Likewise.
2650 (__sub): Likewise.
2651 (__mul): Likewise.
2652 (__inv): Likewise.
2653 (__dvd): Likewise.
2654
f414520d
SP
2655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2656 instead of __mul.
2657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2658 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2659 (cc32): Likewise.
2660
d6752ccd
SP
2661 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2662 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2664 of __mul for squares.
2665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2666 function
2667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2668 Likewise.
2669 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2670 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2671
70d9946a
JM
26722013-02-13 Joseph Myers <joseph@codesourcery.com>
2673
2674 [BZ #13550]
2675 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2676 code.
2677 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2678 prototype or function definition. Rename ubp_* variables and
2679 parameters. Remove argv definitions conditional on
2680 [__BOUNDED_POINTERS__].
2681 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2682 * elf/dl-runtime.c (_dl_fixup): Likewise.
2683 * include/set-hooks.h (RUN_HOOK): Likewise.
2684 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2685 definition.
2686 * string/strcpy.c (strcpy): Do not use __unbounded.
2687 * sysdeps/generic/frame.h (struct layout): Likewise.
2688 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2689 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2690 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2691 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2692 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2693 (__backtrace): Likewise.
2694 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2695 use __ptrvalue.
2696 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2697 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2698 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2701 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2702 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2703 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2704 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2705 Do not use __unbounded.
2706 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2707 Rename __unboundedrlimits parameter to rlimits in prototype.
2708 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2709 Do not use __unbounded.
2710 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2711 not use __ptrvalue.
2712 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2713 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2714 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2715 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2716 __ptrvalue or __unbounded.
2717 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2718 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2719 use __unbounded.
2720 (__new_msgctl): Do not use __ptrvalue.
2721 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2722 __unbounded.
2723 (__libc_msgrcv): Do not use __ptrvalue.
2724 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2725 startup_info): Do not use __unbounded.
2726 (__libc_start_main): Likewise. Rename ubp_* variables and
2727 parameters. Remove argv definitions conditional on
2728 [__BOUNDED_POINTERS__].
2729 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2730 __ptrvalue.
2731 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2732 use __unbounded.
2733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2734 or __ptrvalue.
2735 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2736 use __unbounded.
2737 (__new_shmctl): Do not use __ptrvalue.
2738 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2739 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2740 Likewise.
2741 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2742 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2743 (__libc_sigaction): Likewise.
2744 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2746 Likewise.
2747 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2748
cc7834d6
OB
27492013-02-13 Ondřej Bílka <neleai@seznam.cz>
2750
ffb1ec7b 2751 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2752
2753 * string/mempcpy.c: Implement by calling memcpy.
2754
bdf02814
SP
27552013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2756
c2af38aa
SP
2757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2758
4e92d59e
SP
2759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2760 evaluation.
2761
909279a5
SP
2762 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2763 values in the mantissa.
2764
bdf02814
SP
2765 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2766 minimize writes to Z.
2767 (sub_magnitudes): Simplify code a bit.
2768
cd525923
RM
27692013-02-12 Roland McGrath <roland@hack.frob.com>
2770
2771 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2772 from the message. The linker prefixes all warnings with that already.
2773
7e2f0d2d
AS
27742013-02-12 Andreas Schwab <schwab@suse.de>
2775
a445af0b
AS
2776 [BZ #15078]
2777 * posix/regexec.c (extend_buffers): Add parameter min_len.
2778 (check_matching): Pass minimum needed length.
2779 (clean_state_log_if_needed): Likewise.
2780 (get_subexp): Likewise.
2781 * posix/Makefile (tests): Add bug-regex34.
2782 (bug-regex34-ENV): Define.
2783 * posix/bug-regex34.c: New file.
2784
7e2f0d2d
AS
2785 [BZ #11561]
2786 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2787 elements compare against the byte sequence of it, not its name.
2788 * posix/Makefile (tests): Add bug-regex35.
2789 (bug-regex35-ENV): Define.
2790 * posix/bug-regex35.c: New file.
2791
a175b684
TV
27922013-02-11 Tom de Vries <tom@codesourcery.com>
2793
2794 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2795 comment.
2796 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2797 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2798 (CHECK_EOL): Add undef.
2799
310998fe 28002013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2801
2802 * bits/stdlib-bsearch.h: New file.
2803 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2804 * stdlib/stdlib.h: Likewise.
41eda41d 2805
8ded91fb
RM
28062013-02-11 Roland McGrath <roland@hack.frob.com>
2807
2808 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2809 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2810 declaration.
2811 * manual/search.texi (Array Search Function): Add missing const in
2812 lfind prototype.
2813 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2814 declaration to use rlim_t.
2815 (Basic Scheduling Functions): Remove erroneous const from
2816 sched_getparam prototype. Remove erroneous * from
2817 sched_get_priority_max and sched_get_priority_min prototypes.
2818 (Resource Usage): Fix summary @comment on vtimes to refer to
2819 sys/vtimes.h rather than vtimes.h.
2820 Add missing *s in vtimes prototype.
2821 (Limits on Resources): Fix ulimit prototype to return long int.
2822 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2823 prototypes to use long int rather than double.
2824 (BSD Random): Fix initstate and setstate to use char *, not void *.
2825 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2826 prototype to make second argument 'struct aiocb64 *const[]'.
2827 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2828 (Status of AIO Operations): Remove erroneous const in aio_return and
2829 aio_return64 prototypes.
2830 (Synchronizing I/O): Fix sync prototype to return void.
2831 * manual/startup.texi (Suboptions): Remove an erroneous const in
2832 getsubopt prototype.
2833 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2834 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2835 use size_t rather than int.
2836 (Scanning All Users): Likewise for getpwent_r.
2837 (Setting Groups): Add missing const to setgroups prototype.
2838 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2839 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2840 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2841 'const void *' rather than 'const char *'.
2842 (Host Address Functions): Likewise for inet_ntop.
2843 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2844 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2845 ssize_t for return value.
2846 (Sending Data): Likewise for send, sendto, sendmsg.
2847 (Socket Option Functions): Add a missing const in setsockopt prototype.
2848 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2849 use wchar_t for the argument.
2850 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2851 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2852 take no arguments.
2853 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2854 double/float/long double for second argument.
2855 Fix return types of significand, significandf, significandl.
2856 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2857 argument in fchmod prototype.
2858 (File Owner): Use uid_t and gid_t in fchown prototype.
2859 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2860 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2861 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2862 use 'const struct dirent **' as argument types to CMP function pointer
2863 argument.
2864 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2865 (File Times): Fix summary magic @comment for struct utimbuf and utime
2866 to refer to utime.h, not time.h.
2867 * manual/string.texi (Argz Functions): Add missing const in
2868 argz_extract and argz_next prototypes.
2869 (Finding Tokens in a String): Likewise for basename.
2870 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2871 (Copying and Concatenation): Fix typo in wmemmove prototype.
2872 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2873 (Signal Stack): Remove erroneous const in sigstack prototype.
2874 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2875 prototype.
2876 (Simple Calendar Time): Likewise for stime.
2877 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2878 prototype.
2879 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2880 say sys/sysctl.h instead.
2881 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2882 and vsyslog prototypes.
2883
fe77fe6d
TV
28842013-02-11 Tom de Vries <tom@codesourcery.com>
2885
2886 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2887 Remove.
2888
3a09b620
RM
28892013-02-11 Roland McGrath <roland@hack.frob.com>
2890
2891 * misc/sys/mman.h: Fix typo in mremap comment.
2892
550a0b89
RM
28932013-02-08 Roland McGrath <roland@hack.frob.com>
2894
2895 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2896 the '\0' terminator.
2897
a2da1673
JM
28982013-02-08 Joseph Myers <joseph@codesourcery.com>
2899
2900 [BZ #13550]
2901 * debug/segfault.c: Don't include <bp-checks.h>.
2902 * sysdeps/generic/bp-checks.h: Remove file.
2903 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2904 (__GETDENTS): Don't use CHECK_N.
2905 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2906 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2907 (__getgroups): Don't use CHECK_N.
2908 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2909 (setgroups): Don't use CHECK_N.
2910 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2911 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2912 (__libc_msgrcv): Don't use CHECK_N.
2913 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2914 (__libc_msgsnd): Don't use CHECK_N.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2916 <bp-checks.h>.
2917 (__libc_pread): Don't use CHECK_N.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2919 include <bp-checks.h>.
2920 (__libc_pread64): Don't use CHECK_N.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2922 include <bp-checks.h>.
2923 (__libc_pwrite): Don't use CHECK_N.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2925 include <bp-checks.h>.
2926 (__libc_pwrite64): Don't use CHECK_N.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2928 <bp-checks.h>.
2929 (__libc_pread): Don't use CHECK_N.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2931 include <bp-checks.h>.
2932 (__libc_pread64): Don't use CHECK_N.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2934 include <bp-checks.h>.
2935 (__libc_pwrite): Don't use CHECK_N.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2937 include <bp-checks.h>.
2938 (__libc_pwrite64): Don't use CHECK_N.
2939 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2940 (do_pread): Don't use CHECK_N.
2941 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2942 (do_pread64): Don't use CHECK_N.
2943 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2944 (do_pwrite): Don't use CHECK_N.
2945 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2946 (do_pwrite64): Don't use CHECK_N.
2947 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2948 (__libc_readv): Don't use CHECK_N.
2949 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2950 (semop): Don't use CHECK_N.
2951 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2952 <bp-checks.h>.
2953 (semtimedop): Don't use CHECK_N.
2954 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2955 (__libc_pread): Don't use CHECK_N.
2956 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2957 <bp-checks.h>.
2958 (__libc_pread64): Don't use CHECK_N.
2959 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2960 <bp-checks.h>.
2961 (__libc_pwrite): Don't use CHECK_N.
2962 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2963 <bp-checks.h>.
2964 (__libc_pwrite64): Don't use CHECK_N.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2966 <bp-checks.h>.
2967 (__libc_msgrcv): Don't use CHECK_N.
2968 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2969 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2970 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2971 (__libc_writev): Don't use CHECK_N.
2972
b84660a8
RM
29732013-02-08 Roland McGrath <roland@hack.frob.com>
2974
7f3e75f8
RM
2975 * string/strcpy.c: Removed unused variable.
2976
b84660a8
RM
2977 * Makeconfig (+sysdep-includes): Define with := rather than =.
2978 Use an existing include/ subdir of each sysdeps dir before it.
2979
471514d3
CD
29802013-02-08 Carlos O'Donell <carlos@redhat.com>
2981
2982 * nscd/connection.c (register_traced_file): Comment function.
2983 [HAVE_INOTIFY] (union __inev): Define.
2984 [HAVE_INOTIFY] (inotify_check_files): New function.
2985 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2986 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2987 clear_db_cache.
2988 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2989
b2d3c3be
CD
29902013-02-08 Carlos O'Donell <carlos@redhat.com>
2991
2992 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2993 loaded if not already and that a failure is permanent.
2994
b39949d2
CD
29952013-02-08 Carlos O'Donell <carlos@redhat.com>
2996
ddacd1db 2997 [BZ #15006]
b39949d2
CD
2998 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2999 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3000
b2c9eff4
JM
30012013-02-08 Joseph Myers <joseph@codesourcery.com>
3002
f3aae3f3
JM
3003 [BZ #13550]
3004 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3005 (CHECK_1_NULL_OK): Likewise.
3006 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3007 (__fxstat): Do not use CHECK_1.
3008 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3009 <bp-checks.h>.
3010 (___fxstat64): Do not use CHECK_1.
3011 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3012 <bp-checks.h>.
3013 (__fxstatat): Do not use CHECK_1.
3014 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3015 <bp-checks.h>.
3016 (__fxstatat64): Do not use CHECK_1.
3017 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3018 <bp-checks.h>.
3019 (__fxstat): Do not use CHECK_1.
3020 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3021 <bp-checks.h>.
3022 (__fxstatat): Do not use CHECK_1.
3023 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3024 <bp-checks.h>.
3025 (__getresgid): Do not use CHECK_1.
3026 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3027 <bp-checks.h>.
3028 (__getresuid): Do not use CHECK_1.
3029 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3030 <bp-checks.h>.
3031 (__lxstat): Do not use CHECK_1.
3032 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3033 <bp-checks.h>.
3034 (__old_msgctl): Do not use CHECK_1.
3035 (__new_msgctl): Likewise.
3036 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3037 <bp-checks.h>.
3038 (__new_setrlimit): Do not use CHECK_1.
3039 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3040 <bp-checks.h>.
3041 (__old_shmctl): Do not use CHECK_1.
3042 (__new_shmctl): Likewise.
3043 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3044 <bp-checks.h>.
3045 (__xstat): Do not use CHECK_1.
3046 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3047 (__lxstat): Do not use CHECK_1.
3048 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3049 <bp-checks.h>.
3050 (___lxstat64): Do not use CHECK_1.
3051 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3052 (__old_msgctl): Do not use CHECK_1.
3053 (__new_msgctl): Likewise.
3054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3055 <bp-checks.h>.
3056 (__gettimeofday): Do not use CHECK_1.
3057 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3058 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3059 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3060 <bp-checks.h>.
3061 (__gettimeofday): Do not use CHECK_1.
3062 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3063 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3064 (__new_shmctl): Do not use CHECK_1.
3065 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3066 <bp-checks.h>.
3067 (do_sigtimedwait): Do not use CHECK_1.
3068 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3069 <bp-checks.h>.
3070 (do_sigwaitinfo): Do not use CHECK_1.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3072 <bp-checks.h>.
3073 (msgctl): Do not use CHECK_1.
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3075 <bp-checks.h>.
3076 (shmctl): Do not use CHECK_1.
3077 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3078 (ustat): Do not use CHECK_1.
3079 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3080 <bp-checks.h>.
3081 (__fxstat): Do not use CHECK_1.
3082 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3083 <bp-checks.h>.
3084 (__fxstatat): Do not use CHECK_1.
3085 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3086 <bp-checks.h>.
3087 (__lxstat): Do not use CHECK_1.
3088 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3089 <bp-checks.h>.
3090 (__xstat): Do not use CHECK_1.
3091 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3092 (__xstat): Do not use CHECK_1.
3093 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3094 (___xstat64): Do not use CHECK_1.
3095
b2c9eff4
JM
3096 [BZ #13550]
3097 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3098 definitions.
3099 (CHECK_BOUNDS_HIGH): Likewise.
3100 * string/strcpy.c: Do not include <bp-checks.h>.
3101 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3102
f1d70dad
RM
31032013-02-07 Roland McGrath <roland@hack.frob.com>
3104
3105 * nscd/nscd-client.h (__nscd_drop_map_ref):
3106 Add __attribute__ ((unused)).
3107 * nis/nss-nisplus.h (niserr2nss): Likewise.
3108
3109 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3110 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3111
3112 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3113 Remove inline keyword.
3114 * include/rounding-mode.h (round_away): Likewise.
3115 * libio/wfileops.c (adjust_wide_data): Likewise.
3116 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3117 (__m128i_strloadu_tolower): Likewise.
3118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3119 (__m128i_strloadu_tolower): Likewise.
3120 * time/mktime.c (ydhms_diff): Likewise.
3121 * locale/elem-hash.h (elem_hash): Likewise.
3122 * locale/setlocale.c (setdata): Likewise.
3123 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3124 (re_string_wchar_at): Likewise.
3125 (bitset_not, bitset_merge, bitset_mask): Likewise.
3126 [!(__GNUC__ > 3)] (inline): Remove macro.
3127 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3128 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3129 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3130 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3131 * string/memcmp.c (memcmp_bytes): Likewise.
3132 * locale/programs/locarchive.c (compute_hashval): Likewise.
3133 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3134 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3135 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3136 * nss/getent.c (print_rpc, print_protocols): Likewise.
3137 (print_passwd, print_group, print_aliases): Likewise.
3138 * nis/nss-nisplus.h (niserr2nss): Likewise.
3139 * nscd/connections.c (restart_p): Likewise.
3140 Change return type to bool.
3141
eab55bfb
RM
31422013-02-05 Roland McGrath <roland@hack.frob.com>
3143
7bd642f5
RM
3144 * Makeconfig (all-Depend-files): Add existing
3145 $(sorted-subdirs:=/Depend) files.
3146 (all-subdirs): Remove nss.
3147 * sysdeps/unix/inet/Subdirs: Add it here instead.
3148 * hesiod/Depend: New file.
3149
573c29b2
RM
3150 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3151 instead of calling alloca.
3152
b2e25af0
RM
3153 * io/lseek.c (__lseek): Rename to __libc_lseek.
3154 Define __lseek as an alias.
3155
eab55bfb
RM
3156 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3157
9a0d1941
CD
31582013-02-04 Carlos O'Donell <carlos@redhat.com>
3159
3160 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3161 else clause and remove check for non-standard endianness.
3162
b83bbec4
DM
31632013-02-04 David S. Miller <davem@davemloft.net>
3164
3165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3166
6277fdab
JM
31672013-02-04 Joseph Myers <joseph@codesourcery.com>
3168
3169 [BZ #13550]
3170 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3171 (__ubp_memchr): Remove prototype.
3172 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3173 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3174 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3175 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3176 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3177 Remove alias.
3178 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3179 (__ubp_memchr): Likewise.
3180 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3181 (__ubp_memchr): Likewise.
3182 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3183 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3184 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3185 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3186 CHECK_STRING.
3187 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3188 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3189 (__getcwd): Do not use CHECK_STRING.
3190 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3191 <bp-checks.h>.
3192 (__real_chown): Do not use CHECK_STRING.
3193 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3194 <bp-checks.h>.
3195 (fchownat): Do not use CHECK_STRING.
3196 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3197 CHECK_STRING.
3198 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3199 <bp-checks.h>.
3200 (__lchown): Do not use CHECK_STRING.
3201 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3202 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3203 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3204 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3206 include <bp-checks.h>.
3207 (truncate64): Do not use CHECK_STRING.
3208 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3209 <bp-checks.h>.
3210 (__real_chown): Do not use CHECK_STRING.
3211 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3212 <bp-checks.h>.
3213 (__lchown): Do not use CHECK_STRING.
3214 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3215 <bp-checks.h>.
3216 (__chown): Do not use CHECK_STRING.
3217 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3218 <bp-checks.h>.
3219 (truncate64): Do not use CHECK_STRING.
3220 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3221 Likewise.
3222 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3223 (__xmknod): Do not use CHECK_STRING.
3224 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3225 <bp-checks.h>.
3226 (__xmknodat): Do not use CHECK_STRING.
3227 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3228 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3229
903ae060
AS
32302013-02-04 Andreas Schwab <schwab@suse.de>
3231
3232 [BZ #14142]
3233 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3234 * include/netdb.h: Likewise for h_errno.
3235 * elf/tst-stackguard1.c: Include <tls.h>.
3236
542f9466
JK
32372013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 * elf/link.h (struct link_map): Extend the l_addr comment.
3240 * include/link.h (struct link_map): Likewise.
3241
e782a927
JM
32422013-02-01 Joseph Myers <joseph@codesourcery.com>
3243
3244 [BZ #13550]
3245 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3246 (BOUNDED_1): Remove macro.
3247 * debug/backtrace.c: Don't include <bp-checks.h>.
3248 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3249 (__backtrace): Likewise.
3250 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3251 <bp-checks.h>.
3252 (__backtrace): Don't use BOUNDED_1.
3253 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3254 <bp-checks.h>.
3255 (__backtrace): Don't use BOUNDED_1.
3256 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3257 (__backtrace): Don't use BOUNDED_1.
3258 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3259 (shmat): Don't use BOUNDED_N.
3260
8cf28c5e
JM
32612013-01-31 Joseph Myers <joseph@codesourcery.com>
3262
3a7ac8a0
JM
3263 [BZ #13550]
3264 * sysdeps/generic/bp-start.h: Remove file.
3265 * csu/libc-start.c: Don't include <bp-start.h>.
3266 (LIBC_START_MAIN): Set up __environ directly instead of using
3267 INIT_ARGV_and_ENVIRON.
3268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3269 <bp-start.h>.
3270
f3499f95
JM
3271 [BZ #13550]
3272 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3273 definitions.
3274 (CHECK_FCNTL): Likewise.
3275 (CHECK_N_PAGES): Likewise.
3276
32a45bea
JM
3277 [BZ #13550]
3278 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3279 definitions.
3280 (CHECK_SIGSET_NULL_OK): Likewise.
3281 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3282 <bp-checks.h>.
3283 (sigpending): Don't use CHECK_SIGSET.
3284 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3285 <bp-checks.h>.
3286 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3287 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3288 <bp-checks.h>.
3289 (do_sigsuspend): Don't use CHECK_SIGSET.
3290 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3291 use CHECK_SIGSET.
3292 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3293 (do_sigwait): Don't use CHECK_SIGSET.
3294 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3295 use CHECK_SIGSET.
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3297 include <bp-checks.h>.
3298 (sigpending): Don't use CHECK_SIGSET.
3299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3300 include <bp-checks.h>.
3301 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3302 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3303 <bp-checks.h>.
3304 (sigpending): Don't use CHECK_SIGSET.
3305 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3306 <bp-checks.h>.
3307 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3308
2e8a5c8c
JM
3309 [BZ #13550]
3310 * sysdeps/generic/bp-semctl.h: Remove file.
3311 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3312 <bp-checks.h> and <bp-semctl.h>.
3313 (__old_semctl): Don't use CHECK_SEMCTL.
3314 (__new_semctl): Likewise.
3315 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3316 and <bp-semctl.h>.
3317 (__old_semctl): Don't use CHECK_SEMCTL.
3318 (__new_semctl): Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3320 <bp-checks.h> and <bp-semctl.h>.
3321 (__old_semctl): Don't use CHECK_SEMCTL.
3322 (__new_semctl): Likewise.
3323 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3324 <bp-checks.h> and <bp-semctl.h>.
3325 (semctl): Don't use CHECK_SEMCTL.
3326
c2d54929
JM
3327 [BZ #13550]
3328 * Makerules (elide-bp-thunks): Remove variable.
3329 (elide-routines.oS): Don't use $(elide-bp-thunks).
3330 (elide-routines.os): Likewise.
3331 (elide-routines.o): Likewise.
3332 (elide-routines.op): Likewise.
3333 (elide-routines.og): Likewise.
3334 (objects): Don't use $(bp-thunks).
3335 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3336 include.
3337 (common-generated): Do not add s-proto-bp.d.
3338 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3339 (int): Likewise.
3340 (typ): Likewise.
3341 Do not generate makefile rules for bounded-pointer thunks.
3342 * sysdeps/generic/bp-thunks.h: Remove file.
3343 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3344 * sysdeps/unix/s-proto-bp.S: Likewise.
3345
8cf28c5e
JM
3346 [BZ #15062]
3347 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3348 parts of result separately when argument is not close to line from
3349 -i to i and one part of argument is small.
3350 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3351 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3352 * math/libm-test.inc (cacos_test): Add more tests.
3353 (casin_test): Likewise.
3354 (casinh_test): Likewise.
3355 * sysdeps/i386/fpu/libm-test-ulps: Update.
3356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3357
c4e33b8d
DM
33582013-01-31 David S. Miller <davem@davemloft.net>
3359
3360 * po/de.po: Update from translation team.
3361
3b60b421
MK
33622013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3363
3364 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3365
bb931195
TS
33662013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3367
b5a5da23
TS
3368 * configure.in (_AC_PROG_CC_C89): New definition.
3369 * configure: Regenerate.
3370
bb931195
TS
3371 * configure.in (AC_PROG_CPP): New definition.
3372 * configure: Regenerate.
3373
8c53a12c
JM
33742013-01-23 Joseph Myers <joseph@codesourcery.com>
3375
3376 * debug/tst-backtrace.h: New file.
3377 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3378 (ret): Remove variable.
3379 (x): Likewise.
3380 (FAIL): Remove macro.
3381 (NO_INLINE): Likewise.
3382 (fn1): Use match function instead of strstr.
3383 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3384 (ret): Remove variable.
3385 (x): Likewise.
3386 (FAIL): Remove macro.
3387 (NO_INLINE): Likewise.
3388 (fn): Use match function instead of strstr.
3389 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3390 (ret): Remove variable.
3391 (x): Likewise.
3392 (FAIL): Remove macro.
3393 (NO_INLINE): Likewise.
3394 (handle_signal): Use match function instead of strstr.
3395 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3396 (ret): Remove variable.
3397 (x): Likewise.
3398 (FAIL): Remove macro.
3399 (NO_INLINE): Likewise.
3400 (handle_signal): Use match function instead of strstr.
3401
4858fa2a
RM
34022013-01-23 Roland McGrath <roland@hack.frob.com>
3403
3404 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3405
bae8e7f5
DM
34062013-01-23 David S. Miller <davem@davemloft.net>
3407
3408 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3409 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3410 argument of CAS if possible.
3411 * sysdeps/sparc/sparc64/bits/atomic.h
3412 (__arch_compare_and_exchange_val_32_acq): Likewise.
3413 (__arch_compare_and_exchange_val_64_acq): Likewise.
3414
9cbbc4ae
PT
34152013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3416
3417 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3418 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3419 Include <limits.h>.
67b3f58c 3420 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3421
5655a0b5
AC
34222013-01-23 Adam Conrad <adconrad@0c3.net>
3423
3424 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3425 (LDFLAGS-tst-array5): Likewise.
3426
052aff95
JM
34272013-01-23 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #15036]
3430 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3431 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3432 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3433 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3434
7c1e01aa
DM
34352013-01-21 David S. Miller <davem@davemloft.net>
3436
3437 * sysdeps/sparc/backtrace.c: New file.
3438 * sysdeps/sparc/sparc32/backtrace.h: New file.
3439 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3440 * sysdeps/sparc/sparc64/backtrace.h: New file.
3441 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3442 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3443 -funwind-tables.
3444
ab087e0a
AS
34452013-01-21 Andreas Schwab <schwab@suse.de>
3446
3447 [BZ #15020]
3448 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3449 closed its stdout.
3450
ed689c2f
AS
34512013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3452
3453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3454 "mpa2.h".
3455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3456
31d470ac
JM
34572013-01-18 Joseph Myers <joseph@codesourcery.com>
3458 Mark Mitchell <mark@codesourcery.com>
3459 Tom de Vries <tom@codesourcery.com>
3460 Paul Pluzhnikov <ppluzhnikov@google.com>
3461
3462 * debug/tst-backtrace2.c: New file.
3463 * debug/tst-backtrace3.c: Likewise.
3464 * debug/tst-backtrace4.c: Likewise.
3465 * debug/tst-backtrace5.c: Likewise.
3466 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3467 (CFLAGS-tst-backtrace3.c): Likewise.
3468 (CFLAGS-tst-backtrace4.c): Likewise.
3469 (CFLAGS-tst-backtrace5.c): Likewise.
3470 (LDFLAGS-tst-backtrace2): Likewise.
3471 (LDFLAGS-tst-backtrace3): Likewise.
3472 (LDFLAGS-tst-backtrace4): Likewise.
3473 (LDFLAGS-tst-backtrace5): Likewise.
3474 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3475 tst-backtrace4 and tst-backtrace5.
3476
90567f30 34772013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3478 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3479
3480 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3481 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3482 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3483 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3485 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3486 "+r" and remove output regs list as redundant. Add explicit inline
3487 asm to specify register of return val to work around compiler codegen
3488 bug. Remove (int) cast on return value. Add return type parameter to
3489 use in macro so that this macro does not truncate return value for
3490 64-bit values.
3491 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3492 pass to INTERNAL_VSYSCALL_NCS.
3493 (INLINE_VSYSCALL): Add 'long int' as return type to
3494 INTERNAL_VSYSCALL_NCS macro invocation.
3495 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3496 INTERNAL_VSYSCALL_NCS macro invocation.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3498
d3b9ea61
SP
34992013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3500
0b57daeb
SP
3501 [BZ #14496]
3502 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3503 Fix application of SIMD FP exception mask.
3504
caa99d06
SP
3505 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3506 mp_no from a power of two.
3507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3508 __mpexp_twomm1. Use __pow_mp.
3509
d3b9ea61
SP
3510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3511 multiplication.
3512
1dbaee3c
DM
35132013-01-17 David S. Miller <davem@davemloft.net>
3514
3515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3516
728d7b43
JM
35172013-01-17 Joseph Myers <joseph@codesourcery.com>
3518
3519 [BZ #15023]
3520 * include/complex.h: Condition contents on [!_COMPLEX_H].
3521 (__kernel_casinhf): New prototype.
3522 (__kernel_casinh): Likewise.
3523 (__kernel_casinhl): Likewise.
3524 * math/Makefile (libm_calls): Add k_casinh.
3525 * math/k_casinh.c: New file.
3526 * math/k_casinhf.c: Likewise.
3527 * math/k_casinhl.c: Likewise.
3528 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3529 finite nonzero arguments.
3530 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3531 finite nonzero arguments.
3532 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3533 finite nonzero arguments.
3534 * math/s_casinh.c: Do not include <float.h>.
3535 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3536 * math/s_casinhf.c: Do not include <float.h>.
3537 (__casinhf): Move code for finite nonzero arguments to
3538 k_casinhf.c.
3539 * math/s_casinhl.c: Do not include <float.h>.
3540 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3541 redefine.
3542 (__casinhl): Move code for finite nonzero arguments to
3543 k_casinhl.c.
3544 * math/libm-test.inc (cacos_test): Add more tests.
3545 * sysdeps/i386/fpu/libm-test-ulps: Update.
3546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3547
2a26ef3a
PT
35482013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3549
3550 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3551 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3552 [!HAVE_MREMAP]: Remove [defined linux] case.
3553 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3554
a897655d
SP
35552013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3556
3557 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3558
881ebe89 35592013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3560
3561 * elf/elf.h (R_386_SIZE32): New relocation.
3562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3563 R_386_SIZE32.
3564 (elf_machine_rela): Likewise.
3565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3566 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3567
59981e9b
JM
35682013-01-17 Joseph Myers <joseph@codesourcery.com>
3569
3570 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3571 (FP_FAST_FMA): Do not define.
3572 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3573 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3574 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3575 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3576 !_SOFT_FLOAT]: Likewise.
3577 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3578 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3579 value.
3580 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3581 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3582 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3584 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3585 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3586 file.
3587
cfa8054f
AS
35882013-01-16 Andreas Schwab <schwab@suse.de>
3589
3590 [BZ #14327]
3591 * include/stdlib.h (__mktemp): Add declaration.
3592 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3593 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3594
dd930cc5
SP
35952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
881ebe89
SP
3597 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3598 definitions.
3599 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3600 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3601 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3602 definitions here.
3603 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3604 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3605 definitions.
3606 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3607 and ONE.
3608 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3609 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3610 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3611 definitions.
3612 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3613 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3614 definitions.
3615 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3616
dd930cc5
SP
3617 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3618
c19a9f89
DM
36192013-01-15 David S. Miller <davem@davemloft.net>
3620
1aa61767
DM
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3622 trunc{,f} to libm-sysdep_routes.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3625 file.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3628 file.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3630 file.
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3639
c42d5e98
DM
3640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3641 nearbyint{,f} to libm-sysdep_routes.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3644 New file.
3645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3646 file.
3647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3648 New file.
3649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3650 file.
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3653 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3654 file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3657 file.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3659 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3660 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3661
c19a9f89
DM
3662 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3663 libc_feholdexcept and libc_fesetenv.
3664
357679d2
MF
36652013-01-15 Mike Frysinger <vapier@gentoo.org>
3666
3667 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3668
65a82e3d
DM
36692013-01-14 David S. Miller <davem@davemloft.net>
3670
8b954ab9
DM
3671 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3672 (SPARC_ASM_VIS2_IFUNC): Likewise.
3673 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3675 use of 'siam' instruction.
3676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3677 Likewise.
3678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3679 Likewise.
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3681 Likewise.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3687 file.
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3689 file.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3691 file.
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3693 file.
3694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3699 new VIS2 routines.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3703 Likewise.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3709 routines to libm-sysdep_routines.
3710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3711
65a82e3d
DM
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3713 fdim/fdimf to libm-sysdep_routines.
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3715 file.
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3718 file.
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3722 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3723 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3724 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3725 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3726
e34ab705
SP
37272013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3728
2a91b573
SP
3729 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3730 to optimize copies.
3731
1066a534
SP
3732 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3735
e34ab705
SP
3736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3737 local variable MPTWO.
3738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3739 Likewise.
3740
aba5e596
MF
37412013-01-13 Mike Frysinger <vapier@gentoo.org>
3742
3743 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3744 GLOB_NOESCAPE.
3745
e557e9e5
MF
37462013-01-13 Mike Frysinger <vapier@gentoo.org>
3747
3748 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3749
0428cec9
MF
37502013-01-13 Mike Frysinger <vapier@gentoo.org>
3751
3752 * manual/pattern.texi (glob_t): Document gl_flags.
3753 (glob64_t): Likewise.
3754
8794a964
DM
37552013-01-11 David S. Miller <davem@davemloft.net>
3756
66438c3f
RM
3757 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3758 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3759 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3760 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3761 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3762 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3763 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3764 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3765 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3766 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3767 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3768 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3769 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3770
4ae4244d
DM
3771 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3772 sparc V9 rather than using V8 code.
3773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3775
8794a964
DM
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3777 Move to...
3778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3779 Here.
3780
6270516e
RM
37812013-01-11 Roland McGrath <roland@hack.frob.com>
3782
3783 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3784 not in the main loop.
3785 * configure: Regenerated.
3786
6a57d931
JM
37872013-01-11 Joseph Myers <joseph@codesourcery.com>
3788
3789 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3790 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3791 to just #else.
3792 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3793 [!__GLIBC_HAVE_LONG_LONG] case.
3794 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3795 condition to just #else.
3796 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3797 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3798 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3799 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3800 unconditional.
3801 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3802 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3803 #elif condition to just #else.
3804 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3805 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3806 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3807 #elif condition to just #else.
3808
0e8529e9
SE
38092013-01-11 Steve Ellcey <sellcey@mips.com>
3810
3811 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3812 (EF_MIPS_ARCH_64): Fix value.
3813 (EF_MIPS_ARCH_32R2): New.
3814 (EF_MIPS_ARCH_64R2): New.
3815
740b3dbe
L
38162013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3817
3818 * Makeconfig (+link-pie-before-libc): New.
3819 (+link-pie-after-libc): Likewise.
3820 (+link-pie-tests): Likewise.
3821 (+link-pie): Rewritten.
3822 (link-before-libc): Remove $(config-LDFLAGS).
3823 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3824 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3825 (config-LDFLAGS): Renamed to ...
3826 (rtld-LDFLAGS): This.
3827 (rtld-tests-LDFLAGS): New macro.
3828 (link-libc-rpath-link): Likewise.
3829 (link-libc-tests-rpath-link): Likewise.
3830 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3831 (link-libc): Prepand $(link-libc-rpath-link).
3832 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3833 (test-program-prefix): New macro.
3834 (test-via-rtld-prefix): Likewise.
3835 (test-program-cmd): Likewise.
3836 (host-test-program-cmd): Likewise.
3837 * Makefile ($(common-objpfx)testrun.sh): Replace
3838 $(run-program-prefix) with $(test-program-prefix).
3839 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3840 $(rtld-LDFLAGS).
3841 ($(common-objpfx)shlib.lds): Likewise.
3842 (build-module-helper): Likewise.
3843 ($(common-objpfx)format.lds): Likewise.
3844 * Rules (binaries-pie-tests): New.
3845 (binaries-pie-notests): Likewise.
3846 (binaries-pie): Rewritten.
3847 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3848 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3849 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3850 (make-test-out): Replace $(host-built-program-cmd) with
3851 $(host-test-program-cmd).
3852 * config.make.in (build-hardcoded-path-in-tests): New variable.
3853 * configure.in (--enable-hardcoded-path-in-tests): New configure
3854 option.
3855 (hardcoded_path_in_tests): New AC_SUBST.
3856 * configure: Regenerated.
3857 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3858 $(built-program-cmd) with $(test-program-cmd).
3859 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3860 (test_program_cmd): This.
3861 * elf/Makefile ($(objpfx)order.out): Run test with
3862 $(test-program-prefix).
3863 ($(objpfx)order2.out): Likewise.
3864 ($(objpfx)tst-initorder.out): Likewise.
3865 ($(objpfx)tst-initorder2.out): Likewise.
3866 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3867 $(test-program-cmd).
3868 ($(objpfx)tst-array1-static.out): Likewise.
3869 ($(objpfx)tst-array2.out): Likewise.
3870 ($(objpfx)tst-array3.out): Likewise.
3871 ($(objpfx)tst-array4.out): Likewise.
3872 ($(objpfx)tst-array5.out): Likewise.
3873 ($(objpfx)tst-array5-static.out): Likewise.
3874 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3875 $(test-program-cmd).
3876 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3877 $(run-program-prefix) with $(test-program-prefix).
3878 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3879 (test_program_prefix): This.
3880 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3881 $(run-program-prefix) with $(test-program-prefix).
3882 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3883 (test_program_prefix): This.
3884 * iconvdata/tst-tables.sh: Likewise.
3885 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3886 $(run-program-prefix) with $(test-program-prefix).
3887 ($(objpfx)tst-translit.out): Likewise.
3888 ($(objpfx)tst-gettext2.out): Likewise.
3889 ($(objpfx)tst-gettext4.out): Likewise.
3890 ($(objpfx)tst-gettext6.out): Likewise.
3891 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3892 (test_program_prefix): This.
3893 * intl/tst-gettext2.sh: Likewise.
3894 * intl/tst-gettext4.sh Likewise.
3895 * intl/tst-gettext6.sh: Likewise.
3896 * intl/tst-translit.sh: Likewise.
3897 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3898 with $(test-program-cmd).
3899 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3900 $(run-program-prefix) with $(test-program-prefix).
3901 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3902 (test_program_prefix): This.
3903 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3904 $(run-program-prefix) with $(test-program-prefix).
3905 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3906 (test_program_prefix): This.
3907 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3908 * posix/Makefile ($(objpfx)globtest.out): Replace
3909 $(run-via-rtld-prefix) and $(test-wrapper) with
3910 $(test-program-prefix) and $(test-via-rtld-prefix).
3911 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3912 $(test-program-prefix).
3913 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3914 $(host-test-program-cmd).
3915 (tst-spawn-ARGS): Likewise.
3916 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3917 $(test-program-prefix).
3918 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3919 (test_via_rtld_prefix): This.
3920 (test_wrapper): Renamed to ...
3921 (test_program_prefix): This.
3922 (run_program_prefix): Replaced by test_program_prefix.
3923 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3924 (test_program_prefix): This.
3925 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3926 with $(host-test-program-cmd).
3927 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3928 $(run-program-prefix) with $(test-program-prefix).
3929 ($(objpfx)tst-printf.out): Likewise.
3930 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3931 $(test-program-cmd).
3932 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3933 (test_program_prefix): This.
3934 * stdio-common/tst-unbputc.sh: Likewise.
3935 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3936 $(run-program-prefix) with $(test-program-prefix).
3937 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3938 (test_program_prefix): This.
3939 * string/Makefile ($(objpfx)tst-svc.out): Replace
3940 $(built-program-cmd) with $(test-program-cmd).
3941
c6fe55cf
AJ
39422013-01-11 Andreas Jaeger <aj@suse.de>
3943
3944 [BZ #15003]
3945 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3946 value. Sync with Linux 3.7.
3947
9e6919c8
DM
39482013-01-10 David S. Miller <davem@davemloft.net>
3949
3950 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3951 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3952 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3953
1c9f1a02
RM
39542013-01-10 Roland McGrath <roland@hack.frob.com>
3955
3956 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3957 never set.
3958 * configure: Regenerated.
3959
b9de2dde
DM
39602013-01-10 David S. Miller <davem@davemloft.net>
3961
3962 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3963 sparc V9 rather than using V8 code.
3964 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3965 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3966
e7f68ef4
RM
39672013-01-10 Roland McGrath <roland@hack.frob.com>
3968
3969 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3970 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3971 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3972 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3973 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3974 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3975 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3976 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3977 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3978 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3979 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3980 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3981 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3982 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3983 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3984 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3985 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3986 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3987 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3988 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3989 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3990 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3991 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3992 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3993 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3994 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3995 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3996
5a47cc9c
DM
39972013-01-10 David S. Miller <davem@davemloft.net>
3998
3999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4000
4cf8f209
L
40012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * posix/Makefile (tests-static): New variable.
4004 (tests): Add $(tests-static).
4005 (tst-exec-static-ARGS): New variable.
4006 (tst-spawn-static-ARGS): Likewise.
4007 * posix/tst-exec-static.c: New file.
4008 * posix/tst-spawn-static.c: Likewise.
4009 * posix/tst-exec.c: Support run directly.
4010 * posix/tst-spawn.c: Likewise.
4011
fed0faa1
JM
40122013-01-10 Joseph Myers <joseph@codesourcery.com>
4013
828beb13
JM
4014 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4015 long.
4016 * math/bits/mathcalls.h (llrint): Likewise.
4017 (llround): Likewise.
4018 * stdlib/stdlib.h (struct drand48_data): Likewise.
4019 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4020 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4021 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4022 Likewise.
4023 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4024 Likewise.
4025 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4026 (elf_greg_t): Likewise.
4027 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4028 (__jmp_buf): Likewise.
4029 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4030 definitions.
4031 (llrint): Likewise, for all definitions.
4032 (llrintl): Likewise.
4033
fed0faa1
JM
4034 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4035 Remove [__GNUC__] condition.
4036 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4037 condition to just [__USE_ISOC99].
4038 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4039
1a20cb20
L
40402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 [BZ #14200]
4043 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4044 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4045 defined.
4046 (_POSIX_V6_ILP32_OFF32): Likewise.
4047 (_XBS5_ILP32_OFF32): Likewise.
4048 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4049 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4050
751b85f7
SP
40512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4052
7490eb81
SP
4053 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4054
751b85f7
SP
4055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4056 doubles __mpexp_twomm1. Adjust usage.
4057 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4058 Remove.
4059
988197f0
AS
40602013-01-10 Andreas Schwab <schwab@suse.de>
4061
4062 [BZ #14964]
4063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4064 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4065
e83d7298
DM
40662013-01-09 David S. Miller <davem@davemloft.net>
4067
034ed64b 4068 [BZ #15003]
e83d7298
DM
4069 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4070 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4071 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4072 TCP_FASTOPEN): Define.
4073 (tcp_repair_opt): New structure.
4074 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4075 enum values.
4076 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4077 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4078 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4079 (tcp_cookie_transactions): New structure.
4080
d5e0b9bd
AB
40812013-01-09 Anton Blanchard <anton@samba.org>
4082
4083 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4084 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4085 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4087
0c07e3ea
JM
40882013-01-09 Joseph Myers <joseph@codesourcery.com>
4089
4090 * include/features.h (__USE_ANSI): Remove.
4091
232f7002
RM
40922013-01-09 Roland McGrath <roland@hack.frob.com>
4093
ad98e30c
RM
4094 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4095
232f7002
RM
4096 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4097
950c99ca
SP
40982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4099
b5792741
SP
4100 * sysdeps/s390/fpu/libm-test-ulps: Update.
4101
47cf2278
SP
4102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4103
950c99ca
SP
4104 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4105 (__acr): Likewise.
4106 (__cpy): Likewise.
4107 (norm): Likewise.
4108 (denorm): Likewise.
4109 (__mp_dbl): Likewise.
4110 (__dbl_mp): Likewise.
4111 (add_magnitudes): Likewise.
4112 (sub_magnitudes): Likewise.
4113 (__add): Likewise.
4114 (__sub): Likewise.
4115 (__mul): Likewise.
4116 (__inv): Likewise.
4117 (__dvd): Likewise.
4118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4119 (__acr): Likewise.
4120 (__cpy): Likewise.
4121 (norm): Likewise.
4122 (denorm): Likewise.
4123 (__mp_dbl): Likewise.
4124 (__dbl_mp): Likewise.
4125 (add_magnitudes): Likewise.
4126 (sub_magnitudes): Likewise.
4127 (__add): Likewise.
4128 (__sub): Likewise.
4129 (__mul): Likewise.
4130 (__inv): Likewise.
4131 (__dvd): Likewise.
4132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4133 (__acr): Likewise.
4134 (__cpy): Likewise.
4135 (norm): Likewise.
4136 (denorm): Likewise.
4137 (__mp_dbl): Likewise.
4138 (__dbl_mp): Likewise.
4139 (add_magnitudes): Likewise.
4140 (sub_magnitudes): Likewise.
4141 (__add): Likewise.
4142 (__sub): Likewise.
4143 (__mul): Likewise.
4144 (__inv): Likewise.
4145 (__dvd): Likewise.
4146
eede9df9
JM
41472013-01-08 Joseph Myers <joseph@codesourcery.com>
4148
4149 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4150 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4151 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4152 2 && __USE_EXTERN_INLINES]: Likewise.
4153
c40ea3d9
AJ
41542013-01-08 Andreas Jaeger <aj@suse.de>
4155
4156 [BZ# 14985]
4157 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4158 Remove.
4159 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4160 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4161
2ccdea26
AB
41622013-01-07 Anton Blanchard <anton@samba.org>
4163
4164 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4165 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4166 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4167 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4168 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4169 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4170 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4171 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4174 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4176 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4178 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4181 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4182 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4185 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4187 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4188 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4189 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4190 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4191 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4193 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4194 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4196 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4197 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4198 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4202 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4203 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4207
a9708fed
JM
42082013-01-07 Joseph Myers <joseph@codesourcery.com>
4209
375607b9
JM
4210 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4211 (__MALLOC_PMT): Likewise.
4212 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4213 [__GNUC__], only on [_LIBC].
4214 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4215 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4216 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4217 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4218 forward declaration.
4219 (realloc_hook_ini): Likewise.
4220 (memalign_hook_ini): Likewise.
4221 (__libc_memalign): Do not use __MALLOC_PMT in variable
4222 declaration.
4223 (__libc_valloc): Likewise.
4224 (__libc_pvalloc): Likewise.
4225 (__libc_calloc): Likewise.
4226 (__posix_memalign): Likewise.
4227
a9708fed
JM
4228 [BZ #14996]
4229 * math/s_casinh.c: Include <float.h>.
4230 (__casinh): Do not do computation with squaring and square root
4231 for large arguments.
4232 * math/s_casinhf.c: Include <float.h>.
4233 (__casinhf): Do not do computation with squaring and square root
4234 for large arguments.
4235 * math/s_casinhl.c: Include <float.h>.
4236 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4237 (__casinhl): Do not do computation with squaring and square root
4238 for large arguments.
4239 * math/libm-test.inc (casin_test): Add more tests.
4240 (casinh_test): Likewise.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4243
afec409a
L
42442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4247 (__x86_64_raw_data_cache_size): Likewise.
4248 (__x86_64_data_cache_size_half): Likewise.
4249 (__x86_64_raw_data_cache_size_half): Likewise.
4250 (__x86_64_shared_cache_size): Likewise.
4251 (__x86_64_raw_shared_cache_size): Likewise.
4252 (__x86_64_shared_cache_size_half): Likewise.
4253 (__x86_64_raw_shared_cache_size_half): Likewise.
4254 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4255 to ...
4256 (__x86_data_cache_size): This.
4257 (__x86_64_raw_data_cache_size): Renamed to ...
4258 (__x86_raw_data_cache_size): This.
4259 (__x86_64_data_cache_size_half): Renamed to ...
4260 (__x86_data_cache_size_half): This.
4261 (__x86_64_raw_data_cache_size_half): Renamed to ...
4262 (__x86_raw_data_cache_size_half): This.
4263 (__x86_64_shared_cache_size): Renamed to ...
4264 (__x86_shared_cache_size): This.
4265 (__x86_64_raw_shared_cache_size): Renamed to ...
4266 (__x86_raw_shared_cache_size): This.
4267 (__x86_64_shared_cache_size_half): Renamed to ...
4268 (__x86_shared_cache_size_half): This.
4269 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4270 (__x86_raw_shared_cache_size_half): This.
4271 * sysdeps/x86_64/memcpy.S: Updated.
4272 * sysdeps/x86_64/memset.S: Likewise.
4273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4276
0b3986d0
DM
42772013-01-04 David S. Miller <davem@davemloft.net>
4278
4279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4280
e47686e9
AS
42812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4282
d643bac1
AS
4283 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4284 1 to avoid redefinition warning.
4285 (__USE_GNU): Don't define.
4286 (init_signaling_nan): Protoize.
4287
e47686e9
AS
4288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4289
b18decba
SP
42902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4291
fffb407f
SP
4292 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4294 (__cpymn): Likewise.
4295 (norm): Remove commented code.
4296 (denorm): Likewise.
4297 (__mp_dbl): Likewise.
4298 (__inv): Likewise.
4299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4300 (__cpymn): Likewise.
4301 (norm): Remove commented code.
4302 (denorm): Likewise.
4303 (__mp_dbl): Likewise.
4304 (__inv): Likewise.
4305
b18decba
SP
4306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4307 mp_no value for 1.0 and 2.0.
4308 (norm): Use RADIXI instead of radixi.d.
4309 (denorm): Likewise.
4310 (__mul): Use 0.0 instead of zero.d.
4311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4312 mp_no value for 1.0 and 2.0.
4313 (norm): Use RADIXI instead of radixi.d.
4314 (denorm): Likewise.
4315 (__mul): Use 0.0 instead of zero.d.
4316
cdc1c96f
JM
43172013-01-04 Joseph Myers <joseph@codesourcery.com>
4318
4319 [BZ #14994]
4320 * math/s_casinh.c (__casinh): Reduce finite argument to first
4321 quadrant then set signs of results at the end.
4322 * math/s_casinhf.c (__casinhf): Likewise.
4323 * math/s_casinhl.c (__casinhl): Likewise.
4324 * math/libm-test.inc (casin_test): Add more tests.
4325 (casinh_test): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328
302913e1
SP
43292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
6420d207
SP
4331 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4332
a9e48ab4
SP
4333 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4334
b7837264
SP
4335 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4336 declarations.
4337 (denorm): Likewise.
4338 (__mp_dbl): Likewise.
4339 (__inv): Likewise.
4340
f8af25d2
SP
4341 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4342 and adjust the header comment.
4343
302913e1
SP
4344 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4345 variable name from declaration.
4346
5d7dd1ca
L
43472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4350 Initialize COMMON_CPUID_INDEX_7 element.
4351 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4352 (CPUID_RTM): Likewise.
4353 (HAS_RTM): Likewise.
4354 (COMMON_CPUID_INDEX_7): New enum.
4355
2f5f40f4
AS
43562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 [BZ #14981]
4359 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4360 size is zero, record memory as freed.
4361
4056f4a0
AJ
43622013-01-03 Andreas Jaeger <aj@suse.de>
4363
4364 * po/ia.po: Add new Interlingua translation.
4365
ab15736f 43662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4367
4368 * locale/programs/localedef.c: Fix description of '--posix' flag.
4369
568035b7
JM
43702013-01-02 Joseph Myers <joseph@codesourcery.com>
4371
e6898b8d
JM
4372 * NEWS: Update dates in second copyright notice.
4373 * README: Update copyright dates in example.
4374 * manual/libc.texinfo: Update copyright dates.
4375 * scripts/test-installation.pl: Update copyright date in --version
4376 output.
4377
0e2f9562
JM
4378 * hurd/ctty-input.c: Fix copyright notice formatting.
4379 * hurd/ctty-output.c: Likewise.
4380 * hurd/dtable.c: Likewise.
4381 * hurd/hurd-raise.c: Likewise.
4382 * hurd/hurdprio.c: Likewise.
4383 * hurd/msgportdemux.c: Likewise.
4384 * misc/sys/file.h: Likewise.
4385 * misc/sys/ioctl.h: Likewise.
4386 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4387 * sysdeps/mach/hurd/chdir.c: Likewise.
4388 * sysdeps/mach/hurd/fchdir.c: Likewise.
4389 * sysdeps/mach/hurd/rename.c: Likewise.
4390 * sysdeps/mach/hurd/rmdir.c: Likewise.
4391 * sysdeps/mach/hurd/seekdir.c: Likewise.
4392 * sysdeps/mach/hurd/setsid.c: Likewise.
4393 * sysdeps/posix/wait3.c: Likewise.
4394
568035b7
JM
4395 * All files with FSF copyright notices: Update copyright dates
4396 using scripts/update-copyrights.
4397 * intl/plural.c: Regenerated.
4398 * locale/programs/charmap-kw.h: Likewise.
4399 * locale/programs/locfile-kw.h: Likewise.
4400
da08f647
SP
44012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4402
0f5477af
SP
4403 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4404 four values.
4405
44e0d4c2
SP
4406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4407 calculation loop and add branch prediction.
4408
4d55b4e5
SP
4409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4410 check access beyond bounds of m1np.
4411
da08f647
SP
4412 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4413 MPTWO.
4414 (__inv): Remove local variable MPTWO to use the global
4415 constant.
4416 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4418 variable MPTWO.
4419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4420 MP3HALFS static const.
4421
8e051029
DM
44222013-01-01 David S. Miller <davem@davemloft.net>
4423
4424 * po/ca.po: Update from translation team.
4425
f4cf5f2d
JM
44262013-01-01 Joseph Myers <joseph@codesourcery.com>
4427
4428 * scripts/update-copyrights: New file.
4429 * Makeconfig: Reformat copyright notice.
4430 * ctype/ctype.h: Likewise.
4431 * debug/swprintf_chk.c: Likewise.
4432 * elf/dl-cache.c: Likewise.
4433 * elf/dl-debug.c: Likewise.
4434 * elf/dl-object.c: Likewise.
4435 * grp/initgroups.c: Likewise.
4436 * hurd/Makefile: Likewise.
4437 * hurd/hurd/signal.h: Likewise.
4438 * hurd/hurdfault.c: Likewise.
4439 * hurd/hurdioctl.c: Likewise.
4440 * hurd/hurdlookup.c: Likewise.
4441 * hurd/intr-msg.c: Likewise.
4442 * iconv/gconv_open.c: Likewise.
4443 * libio/swprintf.c: Likewise.
4444 * locale/lc-ctype.c: Likewise.
4445 * locale/nl_langinfo.c: Likewise.
4446 * mach/Machrules: Likewise.
4447 * mach/Makefile: Likewise.
4448 * malloc/obstack.h: Likewise.
4449 * manual/Makefile: Likewise.
4450 * manual/tsort.awk: Likewise.
4451 * misc/bits/stab.def: Likewise.
4452 * nis/nis_print_group_entry.c: Likewise.
4453 * nis/nis_table.c: Likewise.
4454 * nis/nss_compat/compat-pwd.c: Likewise.
4455 * nis/nss_compat/compat-spwd.c: Likewise.
4456 * po/Makefile: Likewise.
4457 * posix/fnmatch.c: Likewise.
4458 * posix/regex.h: Likewise.
4459 * resolv/Makefile: Likewise.
4460 * resolv/nss_dns/dns-network.c: Likewise.
4461 * resolv/res_hconf.c: Likewise.
4462 * scripts/gen-sorted.awk: Likewise.
4463 * soft-fp/soft-fp.h: Likewise.
4464 * stdio-common/printf.h: Likewise.
4465 * stdlib/monetary.h: Likewise.
4466 * stdlib/random.c: Likewise.
4467 * stdlib/random_r.c: Likewise.
4468 * sysdeps/generic/Makefile: Likewise.
4469 * sysdeps/gnu/Makefile: Likewise.
4470 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4498 * sysdeps/mach/hurd/errnos.awk: Likewise.
4499 * sysdeps/mach/hurd/fork.c: Likewise.
4500 * sysdeps/mach/hurd/getcwd.c: Likewise.
4501 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4502 * sysdeps/mach/hurd/mmap.c: Likewise.
4503 * sysdeps/mach/hurd/utimes.c: Likewise.
4504 * sysdeps/mach/hurd/xmknod.c: Likewise.
4505 * sysdeps/posix/profil.c: Likewise.
4506 * sysdeps/posix/readdir_r.c: Likewise.
4507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4508 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4509 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4510 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4512 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4513 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4514 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4516 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4518 * sysdeps/pthread/lio_listio.c: Likewise.
4519 * sysdeps/sparc/dl-procinfo.h: Likewise.
4520 * sysdeps/unix/i386/sysdep.S: Likewise.
4521 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4522 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4523 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4524 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4526 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4527 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4528 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4529 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4530 * sysdeps/wordsize-32/divdi3.c: Likewise.
4531 * time/sys/time.h: Likewise.
4532 * wcsmbs/Makefile: Likewise.
4533
0549fbba
DM
45342013-01-01 David S. Miller <davem@davemloft.net>
4535
a141f1a7
DM
4536 * po/fr.po: Update from translation team.
4537
0549fbba
DM
4538 * catgets/gencat.c: Update copyright year.
4539 * csu/version.c: Likewise.
4540 * debug/catchsegv.sh: Likewise.
4541 * debug/pcprofiledump.c: Likewise.
4542 * debug/xtrace.sh: Likewise.
4543 * elf/ldconfig.c: Likewise.
4544 * elf/ldd.bash.in: Likewise.
4545 * elf/pldd.c: Likewise.
4546 * elf/sotruss.ksh: Likewise.
4547 * elf/sprof.c: Likewise.
4548 * iconv/iconv_prog.c: Likewise.
4549 * iconv/iconvconfig.c: Likewise.
4550 * locale/programs/locale.c: Likewise.
4551 * locale/programs/localedef.c: Likewise.
4552 * login/programs/pt_chown.c: Likewise.
4553 * malloc/memusage.sh: Likewise.
4554 * malloc/memusagestat.c: Likewise.
4555 * malloc/mtrace.pl: Likewise.
4556 * nscd/nscd.c: Likewise.
4557 * nss/getent.c: Likewise.
4558 * nss/makedb.c: Likewise.
4559 * posix/getconf.c: Likewise.
4560
18ea052c
SP
45612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4562
4563 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4564 numbers.
4565
9c89fca6
MF
45662012-12-30 Mike Frysinger <vapier@gentoo.org>
4567
4568 * math/bits/mathcalls.h (modf): Use __nonnull.
4569
085ec079
SP
45702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4571
4572 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4573 (split): Use macro CN instead of the bare value.
4574 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4575 could be used.
4576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4577 instead of the bare value.
4578 (power1): Likewise.
4579
6d9f97e1
SP
45802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4581
d63f73be
SP
4582 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4583 __ATAN_TWOM.
4584 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4585
6d9f97e1
SP
4586 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4587 their values.
4588 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4590 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4591 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4592
4c4febf5
AJ
45932012-12-28 Andreas Jaeger <aj@suse.de>
4594
af5843ef
AJ
4595 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4596 values are from Linux 3.7.
4597
4c4febf5
AJ
4598 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4599 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4600
99136f82
SP
46012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4602
2f216c3c 4603 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4604 TRUE case.
4605
99136f82
SP
4606 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4607 (norm): Likewise.
4608 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4609 variables with preprocessor constants.
4610 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4611 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4612 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4613
7fffbdff
BH
46142012-12-27 Bruno Haible <bruno@clisp.org>
4615
4616 [BZ #14317]
4617 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4618 only if needed.
4619
b76eb5f0
SP
46202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4621
31a7fe5c
SP
4622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4623 and use variable directly.
4624 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4625
b76eb5f0
SP
4626 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4627 MPONE.
4628 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4630 variable MPONE.
4631 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4633 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4634 include directive. Remove local variable MPONE.
4635 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4636 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4638
2c8bfe7d
DM
46392012-12-25 David S. Miller <davem@davemloft.net>
4640
4641 * version.h (RELEASE): Set to "development".
4642 (VERSION): Set to "2.17.90".
4643 * NEWS: Add 2.18 section.
4644
147d03b0
DM
46452012-12-21 David S. Miller <davem@davemloft.net>
4646
4647 * po/hr.po: Update from translation team.
4648
a8ebb2b9
AK
46492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4650
4651 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4652
95b4f1b6
SE
46532012-12-19 Steve Ellcey <sellcey@mips.com>
4654
b2d94007 4655 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4656
cedb2a90
MS
46572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4658
4659 * manual/contrib.texi (Contributors): Spelling correction.
4660
bbf527d6
DM
46612012-12-15 David S. Miller <davem@davemloft.net>
4662
4663 * po/ru.po: Update from translation team.
4664
bc38c906
DM
46652012-12-13 David S. Miller <davem@davemloft.net>
4666
85429b1a
DM
4667 * NEWS: Mention IFUNC testsuite enhancements.
4668
d283e353
DM
4669 * po/pl.po: Update from translation team.
4670 * po/bg.po: Likewise.
4671
bc38c906
DM
4672 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4673 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4674
a181b0d7
DM
46752012-12-11 David S. Miller <davem@davemloft.net>
4676
4641d57e
DM
4677 * po/sv.po: Update from translation team.
4678
f7bc6495
DM
4679 * po/vi.po: Update from translation team.
4680
6fc9048f
DM
4681 * po/cs.po: Update from translation team.
4682
a181b0d7
DM
4683 * po/de.po: Update from translation team.
4684 * po/eo.po: Likewise.
4685 * po/nl.po: Likewise.
4686
f70bfe80
SP
46872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
3c8b4190
SP
4689 [BZ #14246]
4690 * manual/argp.texi (Argp Helper Functions): Move node to follow
4691 Argp Parsing State.
4692
f70bfe80
SP
4693 [BZ #14872]
4694 * manual/conf.texi (Limits on File System Capacity): Mention if
4695 terminating null is included in the max size.
4696
188f0adf
AJ
46972012-12-10 Andreas Jaeger <aj@suse.de>
4698
4699 * po/cs.po: Update from translation team.
4700
56e7d3ad
SP
47012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4702
4703 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4704 void pointer and cast to uintptr_t.
4705 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4706 path.
4707 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4708 * sysdeps/s390/s390-64/memset.S: Likewise.
4709
76f2d2ea 47102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4711
4712 [BZ #14833]
4713 * menual/message.texi (Message Translation): Fix typos.
4714 (Helper programs for gettext): Likewise.
4715
67cbf9a2
AS
47162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4717
4718 [BZ #14898]
4719 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4720 Change to -1.
4721
682d0e9a
DM
47222012-12-07 David S. Miller <davem@davemloft.net>
4723
4724 * po/libc.pot: Update.
4725
573cd484
RH
47262012-12-07 Richard Henderson <rth@redhat.com>
4727
7e9da188 4728 [BZ #10114]
573cd484
RH
4729 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4730 normal/normal case to before the switch.
4731 (_FP_DIV): Likewise.
4732
e933a943
MF
47332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4734 Mike Frysinger <vapier@gentoo.org>
4735
4736 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4737 check for __NR_fadvise64_64.
4738
82123268
CM
47392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4740
4741 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4742 0, not just to plain "0" as a statement.
4743 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4744 with cw.
4745
d9814526
JM
47462012-12-06 Joseph Myers <joseph@codesourcery.com>
4747
4748 * NEWS: Use sourceware.org in Bugzilla URL.
4749
7728c574
SP
47502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4751
f16946dd
SP
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4753 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4754
5704bbcb
SP
4755 * stdio-common/tst-put-error.c (do_test): Add newline to the
4756 padded test to ensure flush.
4757
17aa0516
JL
47582012-12-05 Jeff Law <law@redhat.com>
4759
4760 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4761
363313b5
JM
47622012-12-05 Joseph Myers <joseph@codesourcery.com>
4763
effbd42a
JM
4764 * README: Don't refer to ports add-on as distributed separately.
4765 Mention AArch64 in list of systems supported in the ports add-on.
4766
87600365
JM
4767 * LICENSES: Add more non-FSF copyright and license notices.
4768
a0d7066a
JM
4769 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4770 ((unused)).
4771
66ca5a5b
JM
4772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4773
363313b5
JM
4774 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4775 10000 as width of padded output.
4776
b37984ad
JM
47772012-12-04 Joseph Myers <joseph@codesourcery.com>
4778
9003570a
JM
4779 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4780
b37984ad
JM
4781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4782 variable LX with __attribute__ ((unused)).
4783 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4784 Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4788 with __attribute__ ((unused)).
4789
c8df52ec
DM
47902012-12-04 David S. Miller <davem@abraco.davemloft.net>
4791
4792 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4793
b3b099af
JM
47942012-12-04 Joseph Myers <joseph@codesourcery.com>
4795
c33aa6e3
JM
4796 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4797 (CFLAGS-nldbl-acos.c): New variable.
4798 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4799 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4800 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4801 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4802 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4803 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4804 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4805 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4806 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4807 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4808 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4809 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4810 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4811 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4812 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4813 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4814 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4815 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4816 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4817 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4818 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4819 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4820 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4821 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4822 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4823 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4824 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4825 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4826 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4827 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4828 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4829 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4830 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4831 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4832 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4833 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4834 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4835 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4836 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4837 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4838 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4839 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4840 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4841 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4842 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4843 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4844 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4845 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4846 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4847 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4848 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4849 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4850 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4851 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4852 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4853 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4854 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4855 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4856 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4857 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4858 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4859 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4860 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4861 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4862 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4863 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4864 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4865 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4866 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4867 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4868 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4869 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4870 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4871 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4872 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4873 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4874 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4875 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4876 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4877 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4878 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4879 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4880 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4881 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4882 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4883 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4884 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4885 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4886 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4887 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4888 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4889 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4890 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4891 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4892 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4893 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4894 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4895
20f0018d
JM
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4897 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4898
b3b099af
JM
4899 [BZ #14914]
4900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4901 whole low double instead of just low 47 bits when splitting values
4902 into two parts.
4903
029264d1
AM
49042012-12-03 Allan McRae <allan@archlinux.org>
4905
4906 * manual/stdio.texi (Predefined Printf Handlers): Remove
4907 @hsep and @vsep usage.
4908
c9d6789e
MF
49092012-12-03 Mike Frysinger <vapier@gentoo.org>
4910
4911 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4912 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4913
4b7634a5
JL
49142012-12-03 Jeff Law <law@redhat.com>
4915
4916 * time/sys/time.h (settimeofday): Do not mark TV argument
4917 as __nonnull.
4918
eb6cbd24
MF
49192012-12-01 Mike Frysinger <vapier@gentoo.org>
4920
4921 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4922 when currently writing and seek to current position when not.
4923 * libio/Makefile (tests): Remove bug-fclose1.
4924 * libio/bug-fclose1.c: Delete.
4925
f638872a
JM
49262012-12-01 Joseph Myers <joseph@codesourcery.com>
4927
4928 * manual/arith.texi (feenableexcept): Fix typo.
4929 (fedisableexcept): Likewise.
4930
48085d14
RM
49312012-11-30 Roland McGrath <roland@hack.frob.com>
4932
4933 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4934 second, differently-typed declaration, rather than a cast.
4935
1a538b9f
SP
49362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4937
4938 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4939 * include/rpc/svc.h: ... here.
4940
d07f2ff1 49412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4942
4943 [BZ #13013]
4944 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4945 depending n and resplen2 to catch cases where answer
4946 equals answerp2.
4947
c93ec1f0
CD
49482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4949
4950 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4951 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4952
37db69de
MF
49532012-11-29 Mike Frysinger <vapier@gentoo.org>
4954
4955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4956
e10c4e4f
RM
49572012-11-29 Roland McGrath <roland@hack.frob.com>
4958
4959 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4960
2af1b328
JL
49612012-11-28 Jeff Law <law@redhat.com>
4962
4963 [BZ #13761]
4964 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4965 dataset_temporary. Track alloca usage into alloca_used.
4966 If dataset is large allocate and release it via malloc/free.
4967
111db5b1
FW
49682012-06-04 Florian Weimer <fweimer@redhat.com>
4969
f06cc227 4970 [BZ #14197]
111db5b1
FW
4971 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4972
dd694abd
DM
49732012-11-28 David S. Miller <davem@davemloft.net>
4974
4975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4976
9984dd01
JM
49772012-11-28 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #14803]
4980 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4981 of pi/2 rounded to nearest to 64 bits.
4982 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4983 nearest to 64 bits.
4984 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4985 bits.
4986
14bc93a9
JL
49872012-11-28 Jeff Law <law@redhat.com>
4988 Martin Osvald <mosvald@redhat.com>
4989
4990 [BZ #14889]
4991 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4992 * sunrpc/svc.c: Include time.h.
4993 (__svc_accept_failed): New function.
4994 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4995 any reason other than EINTR, call __svc_accept_failed.
4996 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4997 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4998
e3c6aa3a
AS
49992012-11-28 Andreas Schwab <schwab@suse.de>
5000
5001 * scripts/abilist.awk: Also handle indirect functions in .opd
5002 section.
5003
1bead169
JM
50042012-11-28 Joseph Myers <joseph@codesourcery.com>
5005
5006 [BZ #13881]
5007 * sysdeps/x86/fpu/powl_helper.c: New file.
5008 * sysdeps/x86/fpu/Makefile: Likewise.
5009 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5010 (p3): New object.
5011 (__ieee754_powl): Use __powl_helper for finite arguments except
5012 integer exponents below 8.
5013 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5014 (p3): New object.
5015 (__ieee754_powl): Use __powl_helper for finite arguments except
5016 integer exponents below 8.
5017 * math/libm-test.inc (pow_test): Add more tests and enable some
5018 previously disabled tests.
5019 * sysdeps/i386/fpu/libm-test-ulps: Update.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5021
0817d63d
SP
50222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 Carlos O'Donell <carlos_odonell@mentor.com>
5024
5025 * nss/makedb.c (is_prime): Assert that input is odd and greater
5026 than 4. Note that fact in a comment too.
5027 (next_prime): Add 4 to input.
5028
de2fd463
SP
50292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
5031 [BZ #11741]
5032 * libio/Makefile (tests): Add test case tst-fwrite-error.
5033 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5034 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5035 * libio/tst-fwrite-error.c: New test case.
5036
c515fb51
L
50372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5038
5039 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5040 before casting to void *.
5041 * include/libc-internal.h (__pointer_type): New macro.
5042 (__integer_if_pointer_type_sub): Likewise.
5043 (__integer_if_pointer_type): Likewise.
5044 (cast_to_integer): Likewise.
5045 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5046 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5047 before casting to atomic64_t.
5048 (atomic_exchange_acq): Likewise.
5049 (__arch_exchange_and_add_body): Likewise.
5050 (__arch_add_body): Likewise.
5051 (atomic_add_negative): Likewise.
5052 (atomic_add_zero): Likewise.
5053
4cf77aa9
JM
50542012-11-26 Joseph Myers <joseph@codesourcery.com>
5055
5056 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5057 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5058 (add_fdes): Likewise.
5059 (linear_search_fdes): Likewise.
5060 (binary_search_unencoded_fdes): Likewise.
5061
d260b3b4
AS
50622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5063
5064 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5065
67060746
AC
50662012-11-24 Adam Conrad <adconrad@0c3.net>
5067
5068 * configure.in: Autodetect C++ header directories.
5069 * configure: Regenerated.
5070
800938a1
MF
50712012-11-23 Mike Frysinger <vapier@gentoo.org>
5072
5073 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5074
4e6e34e6
AS
50752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5076
5077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5078
7c7feb47
JM
50792012-11-22 Joseph Myers <joseph@codesourcery.com>
5080
7184dcdf
JM
5081 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5082 LDBL_MANT_DIG == 106]: Disable some tests.
5083 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5084 Likewise.
5085 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5086 Likewise.
5087
0a42601f
JM
5088 [BZ #14871]
5089 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5090 input for small inputs. Return +/- pi/2 for large inputs.
5091 * math/libm-test.inc (atan_test): Add more tests.
5092
79c9b9fe
JM
5093 * sysdeps/generic/unwind-dw2-fde-glibc.c
5094 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5095 __attribute__ ((unused)).
5096
c60d3bf2
JM
5097 [BZ #14645]
5098 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5099 x * y if x and y are nonzero and z is zero.
5100
ef1e0867
JM
5101 [BZ #14811]
5102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5103 nonzero exponents with absolute value below 0x1p-117 to +/-
5104 0x1p-117.
5105
1468ded3
JM
5106 [BZ #14869]
5107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5108 up arguments below 2**-450, not just those below 2**-500.
5109 * math/libm-test.inc (hypot_test): Add another test.
5110
8e27e3cc
JM
5111 [BZ #14868]
5112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5113 Return a+b for ratio over 2**120, not 2**60.
5114 * math/libm-test.inc (hypot_test): Add another test.
5115
c9c0279b
JM
5116 * math/libm-test.inc (clog_test): Use
5117 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5118 (clog10_test): Likewise.
5119
7c7feb47
JM
5120 [BZ #6778]
5121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5122
fff1530e
AS
51232012-11-22 Andreas Schwab <schwab@suse.de>
5124
5125 * sysdeps/i386/fpu/libm-test-ulps: Update.
5126
94558d30
PT
51272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5128
5129 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5130 printf output with newline.
5131
7e1be741
L
51322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5133
6bfea974
L
5134 [BZ #14865]
5135 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5136 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5137 -z nodlopen, -z initfirst and -z execstack support.
5138 * configure: Regenerated.
5139
7e1be741
L
5140 * elf/elf.h (DF_1_NODIRECT): New macro.
5141 (DF_1_IGNMULDEF): Likewise.
5142 (DF_1_NOKSYMS): Likewise.
5143 (DF_1_NOHDR): Likewise.
5144 (DF_1_EDITED): Likewise.
5145 (DF_1_NORELOC): Likewise.
5146 (DF_1_SYMINTPOSE): Likewise.
5147 (DF_1_GLOBAUDIT): Likewise.
5148 (DF_1_SINGLETON): Likewise.
5149 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5150 DT_1_SUPPORTED_MASK bits.
5151 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5152
105ce2ce
CD
51532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5154
5155 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5156
123be9de
TS
51572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5158
d072f3f7
TS
5159 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5160 macro.
5161
123be9de
TS
5162 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5163 (sendmmsg): Move declarations...
5164 * socket/sys/socket.h: ... here.
5165 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5166 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5167 include it from...
5168 * socket/recvmmsg.c: ... this new file.
5169 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5170 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5171 definition of __sendmmsg hidden.
5172 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5173 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5174 Move ENOSYS stub into and include it from...
5175 * socket/sendmmsg.c: ... this new file.
5176 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5177 (sysdep_routines): Move recvmmsg and sendmmsg...
5178 * socket/Makefile (routines): ... here.
5179 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5180 (GLIBC_PRIVATE): Add __sendmmsg.
5181 * include/sys/socket.h (__sendmmsg): Add declarations.
5182 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5183 sendmmsg.
5184
cf9a5d18
JM
51852012-11-20 Joseph Myers <joseph@codesourcery.com>
5186
5187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5188 variable I1 with __attribute__ ((unused)).
5189 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5190
ecd4caf9
JM
51912012-11-19 Joseph Myers <joseph@codesourcery.com>
5192
be14d48f
JM
5193 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5194 DUMMY variables with __attribute__ ((unused)).
5195
ecd4caf9
JM
5196 * bits/byteswap.h: Include <bits/types.h>.
5197 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5198
986cab95
PT
51992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5200
5201 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5202 string_t. Do not manually set errno.
5203 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5204 length with __strnlen. Make sure to both set errno and return it on
5205 failure.
5206
6d33cc9d
DM
52072012-11-19 David S. Miller <davem@davemloft.net>
5208
5209 With help from Joseph Myers.
5210 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5211 very large arguments properly.
5212 * math/libm-test.inc (atan_test): New tests.
5213 (atan2_test): New tests.
5214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5216
ee663277
JM
52172012-11-19 Joseph Myers <joseph@codesourcery.com>
5218
877f2d8e
JM
5219 [BZ #14856]
5220 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5221 Define to 3.
5222
116fc08a
JM
5223 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5224 [POSIX] (EADDRNOTAVAIL): Likewise.
5225 [POSIX] (EAFNOSUPPORT): Likewise.
5226 [POSIX] (EALREADY): Likewise.
5227 [POSIX] (ECONNABORTED): Likewise.
5228 [POSIX] (ECONNREFUSED): Likewise.
5229 [POSIX] (ECONNRESET): Likewise.
5230 [POSIX] (EDESTADDRREQ): Likewise.
5231 [POSIX] (EDQUOT): Likewise.
5232 [POSIX] (EHOSTUNREACH): Likewise.
5233 [POSIX] (EIDRM): Likewise.
5234 [POSIX] (EISCONN): Likewise.
5235 [POSIX] (ELOOP): Likewise.
5236 [POSIX] (EMULTIHOP): Likewise.
5237 [POSIX] (ENETDOWN): Likewise.
5238 [POSIX] (ENETUNREACH): Likewise.
5239 [POSIX] (ENOBUFS): Likewise.
5240 [POSIX] (ENODATA): Likewise.
5241 [POSIX] (ENOLINK): Likewise.
5242 [POSIX] (ENOMSG): Likewise.
5243 [POSIX] (ENOPROTOOPT): Likewise.
5244 [POSIX] (ENOSR): Likewise.
5245 [POSIX] (ENOSTR): Likewise.
5246 [POSIX] (ENOTCONN): Likewise.
5247 [POSIX] (ENOTSOCK): Likewise.
5248 [POSIX] (EOPNOTSUPP): Likewise.
5249 [POSIX] (EOVERFLOW): Likewise.
5250 [POSIX] (EPROTO): Likewise.
5251 [POSIX] (EPROTONOSUPPORT): Likewise.
5252 [POSIX] (EPROTOTYPE): Likewise.
5253 [POSIX] (ESTALE): Likewise.
5254 [POSIX] (ETIME): Likewise.
5255 [POSIX] (ETXTBSY): Likewise.
5256 [POSIX] (EWOULDBLOCK): Likewise.
5257 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5258 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5259 [POSIX] (SEEK_CUR): Likewise.
5260 [POSIX] (SEEK_END): Likewise.
5261 [POSIX || UNIX98] (mode_t): Do not require.
5262 [POSIX] (off_t): Likewise.
5263 [POSIX] (pid_t): Likewise.
5264 [POSIX] (sys/stat.h): Do not allow header.
5265 [POSIX] (unistd.h): Likewise.
5266 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5267 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5268 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5269 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5270 require.
5271 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5272 sigevent): Specify elements.
5273 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5274 entry.
5275 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5276 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5277
a483863f
JM
5278 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5279 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5280 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5281 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5282 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5283 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5284 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5285 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5286 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5287 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5288 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5289 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5290 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5291 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5292 Likewise.
5293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5294 Likewise.
5295 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5296 Likewise.
5297 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5298 Likewise.
5299 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5300 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5301 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5302 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5303 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5304 Specify lower bound on value.
5305 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5306 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5307 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5308 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5309 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5310 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5311 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5312 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5313 value.
5314 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5315 as optional.
5316 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5317 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5318 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5319 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5320 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5321 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5322 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5323 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5324 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5325 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5326 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5327 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5328 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5329 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5330 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5331 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5332 entry.
5333 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5334 optional.
5335 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5336 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5337 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5338 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5339 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5340 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5341 Likewise.
5342 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5343 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5344 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5345 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5346 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5347 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5349 as optional.
5350 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5351 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5352 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5353 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5354 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5355 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5356 specify as optional.
5357 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5358 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5359 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5360 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5361 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5362 [XPG3] (NL_LANGMAX): Likewise.
5363 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5364 [POSIX || XPG3] (NL_NMAX): Likewise.
5365 [POSIX || XPG3] (NL_SETMAX): Likewise.
5366 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5367 [XPG3] (NZERO): Likewise.
5368 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5369 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5370 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5371 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5372 (REG_ERANGE): Expect.
5373 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5374 optional-constant.
5375 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5376 Use (void) in prototype.
5377 [POSIX] (*_t): Allow.
5378 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5379 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5380 (WRDE_BADVAL): Expect.
5381
5ba924e3
JM
5382 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5383 expect.
5384 [XPG3 || XPG4] (O_RSYNC): Likewise.
5385 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5386 Likewise.
5387 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5388 [XPG3 || XPG4] (sigqueue): Likewise.
5389 [XPG3 || XPG4] (sigtimedwait): Likewise.
5390 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5391 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5392 [XPG3 || XPG4] (vsnprintf): Likewise.
5393 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5394 Likewise.
5395 [XPG3 || XPG4] (blksize_t): Likewise.
5396 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5397 Likewise.
5398 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5399 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5400 [XPG3 || XPG4] (struct itimerspec): Likewise.
5401 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5402 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5403 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5404 [XPG3 || XPG4] (clockid_t): Likewise.
5405 [XPG3 || XPG4] (timer_t): Likewise.
5406 [XPG3 || XPG4] (clock_getres): Likewise.
5407 [XPG3 || XPG4] (clock_gettime): Likewise.
5408 [XPG3 || XPG4] (clock_settime): Likewise.
5409 [XPG3 || XPG4] (nanosleep): Likewise.
5410 [XPG3 || XPG4] (timer_create): Likewise.
5411 [XPG3 || XPG4] (timer_delete): Likewise.
5412 [XPG3 || XPG4] (timer_gettime): Likewise.
5413 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5414 [XPG3 || XPG4] (timer_settime): Likewise.
5415 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5416 [XPG3 || XPG4] (getlogin_r): Likewise.
5417 [XPG3 || XPG4] (pread): Likewise.
5418 [XPG3 || XPG4] (pthread_atfork): Likewise.
5419 [XPG3 || XPG4] (pwrite): Likewise.
5420
ee663277
JM
5421 [BZ #14835]
5422 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5423 <bits/siginfo.h>.
5424
942caa16
PT
54252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5426
e19af380
PT
5427 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5428 finalizing MALLSTREAM.
5429
942caa16
PT
5430 * sysdeps/mach/hurd/syncfs.c: New file.
5431
cfde9b46
SP
54322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5433
5434 [BZ #14719]
5435 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5436 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5437 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5438 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5439 (_nss_dns_gethostbyname4_r): Likewise.
5440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5441 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5442
f6da27e5
PH
54432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5444
5445 [BZ #13763]
5446 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5447
6665d4a2
SM
54482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5449
1f51ee92
SM
5450 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5451 * elf/cache.c (print_entry): Print ",AArch64" for
5452 FLAG_AARCH64_LIB64
5453
6665d4a2
SM
5454 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5455 * elf/cache.c (print_entry): Print ",hard-float" for
5456 FLAG_ARM_LIBHF.
5457
05b227bd
DM
54582012-11-18 David S. Miller <davem@davemloft.net>
5459
5460 With help from Joseph Myers.
5461 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5462 cutoff to 2**-13.
5463 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5464 cutoff to 2**-25.
5465 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5466 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5467 small.
5468 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5469 * math/libm-test.inc (y0_test): New tests.
5470 (y1_test): New tests.
5471 * sysdeps/i386/fpu/libm-test-ulps: Update.
5472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5474
786b0b67
AS
54752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5476
5477 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5478 64-bit targets.
5479 * configure: Regenerated.
5480
8e18b86d
DM
54812012-11-17 David S. Miller <davem@davemloft.net>
5482
5483 [BZ #14811]
5484 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5485 nonzero exponents with absolute value below 0x1p-128 to +/-
5486 0x1p-128.
5487
531f1ae0
JM
54882012-11-17 Joseph Myers <joseph@codesourcery.com>
5489
12df29e2
JM
5490 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5491
150dc1a0
JM
5492 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5493
531f1ae0
JM
5494 * posix/getconf-speclist.c: New file.
5495 * posix/posix-envs.def: Likewise.
5496 * posix/confstr.c (START_ENV_GROUP): New macro.
5497 (END_ENV_GROUP): Likewise.
5498 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5499 (KNOWN_PRESENT_ENV_STRING): Likewise.
5500 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5501 (UNKNOWN_ENVIRONMENT): Likewise.
5502 (confstr): Include posix-envs.def instead of handling
5503 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5504 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5505 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5506 (END_ENV_GROUP): Likewise.
5507 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5508 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5509 (UNKNOWN_ENVIRONMENT): Likewise.
5510 (__sysconf): Include posix-envs.def instead of handling associated
5511 cases directly here.
5512 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5513 preprocessing getconf-speclist.c rather than running getconf or
5514 generating empty file.
5515
a93f9cbc
PT
55162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5517
5518 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5519
d64d9f87
AL
55202012-11-16 Andrej Lajovic <natrij@gmail.com>
5521
5522 [BZ #14672]
5523 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5524
447885eb
DM
55252012-11-16 David S. Miller <davem@davemloft.net>
5526
5527 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5528 smaller than LDBL_EPSILON/2.0L, just return xm1.
5529
bcbf9830
L
55302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5531
5532 * elf/tst-array1.c (init): Set constructor priority to 1000.
5533 (fini): Set destructor priority to 1000.
5534 * elf/tst-array2dep.c: Likewise.
5535
2b766585
SP
55362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5537
5538 [BZ #11741]
5539 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5540 (_IO_new_file_xsputn): Also return EOF if none of the input
5541 data was written when overflow failed.
5542 * libio/iopadn.c (_IO_padn): Likewise.
5543 * libio/iowpadn.c (_IO_wpadn): Likewise.
5544 * stdio-common/tst-put-error.c: Add copyright notice.
5545 (do_test): Add case for printing padded string.
5546 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5547 _IO_padn returned error.
5548 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5549 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5550 return EOF.
5551
b1848fde
SP
55522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5553
5554 * libio/libioP.h: Add comment note that the references to C++
5555 bits are now obsolete.
5556
2fd89785
MS
55572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5558
5559 * math/libm-test.inc (check_complex): Use asprintf.
5560
e3ea5409
JM
55612012-11-14 Joseph Myers <joseph@codesourcery.com>
5562
5563 * debug/pcprofiledump.c (print_version): Update copyright year.
5564 * malloc/memusagestat.c (print_version): Likewise.
5565
2e64d265
L
55662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 [BZ #14831]
5569 * elf/Makefile (tests): Add tst-audit8.
5570 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5571 ($(objpfx)tst-audit8.out): New target.
5572 (tst-audit8-ENV): New variable.
5573 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5574 audit if l_reloc_result is NULL.
5575 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5576 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5577 * elf/tst-audit8.c: New file.
5578
c485e4d2
MS
55792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5580
5581 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5582 * misc/Makefile (CFLAGS-select.c): Define.
5583 * posix/Makefile (CFLAGS-pause.c): Define.
5584
3a0d900a
DM
55852012-11-13 David S. Miller <davem@davemloft.net>
5586
5587 * crypt/Makefile: Move test targets after toplevel Rules
5588 inclusion. Grab any necessary sysdep routines when linking.
5589 * crypt/md5.c (md5_process_block): Remove define, we will always
5590 name it __md5_process_block.
5591 (md5_finish_ctx): Update md5_process_block call.
5592 (md5_stream): Likewise.
5593 (md5_process_bytes): Likewise.
5594 (md5_process_block): Rename to __md5_process_block and move to ...
5595 * crypt/md5-block.c: ... here.
5596 * crypt/sha256.c (sha256_process_block): Move to ...
5597 * crypt/sha256-block.c: ... here.
5598 * crypt/sha512.c (sha512_process_block): Move to ...
5599 * crypt/sha512-block.c: ... here.
5600 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5601 path.
5602 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5603 * sysdeps/sparc/sparc64/multiarch/Makefile
5604 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5605 crypt subdir.
5606 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5607 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5608 multiarch changes.
5609 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5610 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5611 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5612 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5613 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5614 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5615 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5616 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5617 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5618 file.
5619 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5620 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5621 file.
5622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5623
8ca89318
JM
56242012-11-13 Joseph Myers <joseph@codesourcery.com>
5625
e27d476a
JM
5626 * timezone/tzselect.ksh: Update from tzcode git revision
5627 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5628 * timezone/zdump.c: Likewise.
5629 * timezone/zic.c: Likewise.
5630 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5631 in TZVERSION setting, not $(PKGVERSION).
5632 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5633 REPORT_BUGS_TO settings.
5634
8ca89318
JM
5635 [BZ #14838]
5636 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5637 macro.
5638
47594329
MS
56392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5640
5641 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5642 detection to immediately after _FP_ROUND().
5643 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5644 bits are 0.
5645
640ac3f1
DM
56462012-11-11 David S. Miller <davem@davemloft.net>
5647
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5649 inttypes.h
5650 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5651 __close rather than their public counterparts.
5652
3d2577bb
JM
56532012-11-10 Joseph Myers <joseph@codesourcery.com>
5654
5655 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5656 file.
5657 [UNIX98] (sem_timedwait): Do not expect.
5658 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5659 [XPG4 || UNIX98] (sockatmark): Do not expect.
5660 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5661 (clock_getcpuclockid): Do not expect.
5662 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5663 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5664 Do not expect.
5665 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5666 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5667 [UNIX98] (vwscanf): Likewise.
5668 [UNIX98] (vswscanf): Likewise.
5669
fb1ae1ee
JM
56702012-11-09 Joseph Myers <joseph@codesourcery.com>
5671
9ec6f8bd
JM
5672 * timezone/version.h: Remove file.
5673 * timezone/README: Do not refer to version.h.
5674 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5675 $(objpfx)version.h.
5676 ($(objpfx)zdump.o): Likewise.
c3f81911 5677 ($(objpfx)version.h): New target.
9ec6f8bd 5678
0aa8f8a1
JM
5679 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5680 2012i.
5681 * timezone/README: Don't mention modification to tzselect.ksh.
5682 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5683 work on unmodified tzselect.ksh. Substitute version numbers in
5684 tzselect.ksh.
5685
4e87147f
JM
5686 * Makefile (format-me): Remove.
5687 (INSTALL): Adjust indentation. Use commands directly instead of
5688 using $(format-me).
5689
8b748aed
JM
5690 * aclocal.m4 (ACX_PKGVERSION): New macro.
5691 (ACX_BUGURL): Likewise.
5692 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5693 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5694 (REPORT_BUGS_TO): Likewise.
5695 * configure: Regenerated.
5696 * config.h.in (PKGVERSION): New macro.
5697 (REPORT_BUGS_TO): Likewise.
5698 * config.make.in (PKGVERSION): New variable.
5699 (PKGVERSION_TEXI): Likewise.
5700 (REPORT_BUGS_TO): Likewise.
5701 (REPORT_BUGS_TEXI): Likewise.
5702 * Makefile (format-me): Use -I$(common-objpfx)manual.
5703 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5704 ($(common-objpfx)manual/%): New target.
5705 (manual/%): Remove target.
5706 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5707 (print_version): Use PKGVERSION.
5708 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5709 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5710 and REPORT_BUGS_TO.
5711 ($(objpfx)xtrace): Likewise.
5712 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5713 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5714 (print_version): Use PKGVERSION.
5715 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5716 (do_version): Use PKGVERSION.
5717 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5718 REPORT_BUGS_TO.
5719 (common-ldd-rewrite): Likewise.
5720 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5721 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5722 (print_version): Use PKGVERSION.
5723 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5724 * elf/pldd.c (argp_program_bug_address): Remove variable.
5725 (more_help): New function.
5726 (argp): Use more_help.
5727 (print_version): Use PKGVERSION.
5728 * elf/sln.c (main): Use PKGVERSION.
5729 (usage): Use REPORT_BUGS_TO.
5730 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5731 (top level): Use PKGVERSION.
5732 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5733 (print_version): Use PKGVERSION.
5734 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5735 (print_version): Use PKGVERSION.
5736 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5737 (print_version): Use PKGVERSION.
5738 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5739 (print_version): Use PKGVERSION.
5740 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5741 (print_version): Use PKGVERSION.
5742 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5743 (print_version): Use PKGVERSION.
5744 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5745 and BUGURL.
5746 ($(objpfx)memusage): Likewise.
5747 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5748 (do_version): Use PKGVERSION.
5749 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5750 (print_version): Use PKGVERSION.
5751 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5752 ($PKGVERSION): New variable.
5753 ($REPORT_BUGS_TO): Likewise.
5754 (usage): Use $REPORT_BUGS_TO.
5755 (top level): Use $PKGVERSION.
5756 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5757 ($(objpfx)pkgvers.texi): New rule.
5758 ($(objpfx)stamp-pkgvers): Likewise.
5759 * manual/install.texi: Include pkgvers.texi.
5760 (--with-pkgversion): Document new configure option.
5761 (--with-bugurl): Likewise.
5762 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5763 than necessarily for this particular distribution. Use
5764 REPORT_BUGS_TO for where to report bugs.
5765 * INSTALL: Regenerated.
5766 * manual/libc.texinfo: Include pkgvers.texi.
5767 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5768 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5769 (print_version): Use PKGVERSION.
5770 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5771 (print_version): Use PKGVERSION.
5772 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5773 (print_version): Use PKGVERSION.
5774 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5775 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5776 macro.
5777 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5778 (print_version): Use PKGVERSION.
5779 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5780 (print_version): Use PKGVERSION.
5781 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5782 and PKGVERSION.
5783
92e4b6a9
JM
5784 * timezone/checktab.awk: Update from tzcode 2012i.
5785 * timezone/ialloc.c: Likewise.
5786 * timezone/private.h: Likewise.
5787 * timezone/scheck.c: Likewise.
5788 * timezone/tzfile.h: Likewise.
5789 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5790 (TZVERSION): Hardcode tzcode version number.
5791 * timezone/zdump.c: Update from tzcode 2012i.
5792 * timezone/zic.c: Likewise.
5793 * timezone/version.h: New file.
5794 * timezone/README: Describe version.h. Update upstream location.
5795
9bde902c
JM
5796 [BZ #14824]
5797 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5798 (mktemp): Enable declaration.
5799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5800 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5803 Likewise.
5804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5805 Likewise.
5806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5807 Likewise.
5808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5809 Likewise.
5810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5811 Likewise.
5812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5813 Likewise.
5814
fb1ae1ee
JM
5815 [BZ #14821]
5816 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5817 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5818 for copies of such integer values.
5819 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5820 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5821
2c1adbcb
AJ
58222012-11-09 Andreas Jaeger <aj@suse.de>
5823
5824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5825 definitions and declarations that are provided by
5826 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5827
d0f8457e
AK
58282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5829
3a235abb 5830 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5831 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5832 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5833 definition.
5834
57241e26
MS
58352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5836
5837 * elf/elf.h: Update comment before AArch64 relocations.
5838
60e8270d
DM
58392012-11-07 David S. Miller <davem@davemloft.net>
5840
5841 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5842 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5843 (__start_context): Declare.
5844 (__makecontext_ret): Delete.
5845 (__makecontext): Hook up __start_context instead of
5846 __makecontext_ret.
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5848 (sysdep_routines): Add __start_context when in stdlib.
5849
0fbb0fbc
JM
58502012-11-07 Joseph Myers <joseph@codesourcery.com>
5851
5852 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5853 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5854 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5855 hardcoded "nm".
5856 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5857 (READELF): New variable. Use it instead of hardcoded "readelf".
5858
eb48db7e
L
58592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5860
5861 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5862 * sysdeps/x86/Makefile: Here.
5863 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5864 * sysdeps/x86/tst-xmmymm.sh: This.
5865
05bcf62a
JM
58662012-11-07 Joseph Myers <joseph@codesourcery.com>
5867
c4b6cf53
JM
5868 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5869 expectations.
5870 [UNIX98] (pthread_barrier_t): Do not expect.
5871 [UNIX98] (pthread_barrierattr_t): Likewise.
5872 [UNIX98] (pthread_spinlock_t): Likewise.
5873 [UNIX98] (pthread_barrier_destroy): Likewise.
5874 [UNIX98] (pthread_barrier_init): Likewise.
5875 [UNIX98] (pthread_barrier_wait): Likewise.
5876 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5877 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5878 [UNIX98] (pthread_barrierattr_init): Likewise.
5879 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5880 [UNIX98] (pthread_getcpuclockid): Likewise.
5881 [UNIX98] (pthread_mutex_timedlock): Likewise.
5882 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5883 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5884 [UNIX98] (pthread_sigmask): Likewise.
5885 [UNIX98] (pthread_spin_destroy): Likewise.
5886 [UNIX98] (pthread_spin_init): Likewise.
5887 [UNIX98] (pthread_spin_lock): Likewise.
5888 [UNIX98] (pthread_spin_trylock): Likewise.
5889 [UNIX98] (pthread_spin_unlock): Likewise.
5890 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5891 Do not expect.
5892 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5894 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5895 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5896 [XPG3 || XPG4] (pthread_key_t): Likewise.
5897 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5898 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5899 [XPG3 || XPG4] (pthread_once_t): Likewise.
5900 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5901 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5903 [XPG3 || XPG4] (pthread_t): Likewise.
5904
cbe6e120
JM
5905 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5906 not expect.
5907 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5908
1b126443
JM
5909 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5910 Change function return type to int.
5911
b961a573
JM
5912 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5913 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5914 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5915 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5916 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5917 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5918 [!POSIX] (posix_madvise): Likewise.
5919 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5920 && !UNIX98].
5921 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5922 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5923 (mode_t): Likewise.
5924 (posix_mem_offset): Likewise.
5925 (posix_typed_mem_get_info): Likewise.
5926 (posix_typed_mem_open): Likewise.
5927
9e188909
JM
5928 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5929 Change condition to [XOPEN2K8].
5930
05bcf62a
JM
5931 * conform/conformtest.pl: Preprocess allow-header data with -x c
5932 instead of from stdin.
5933 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5934 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5935 [C99-based standards] (cerfc): Likewise.
5936 [C99-based standards] (cexp2): Likewise.
5937 [C99-based standards] (cexpm1): Likewise.
5938 [C99-based standards] (clog10): Likewise.
5939 [C99-based standards] (clog1p): Likewise.
5940 [C99-based standards] (clog2): Likewise.
5941 [C99-based standards] (clgamma): Likewise.
5942 [C99-based standards] (ctgamma): Likewise.
5943 [C99-based standards] (cerff): Likewise.
5944 [C99-based standards] (cerfcf): Likewise.
5945 [C99-based standards] (cexp2f): Likewise.
5946 [C99-based standards] (cexpm1f): Likewise.
5947 [C99-based standards] (clog10f): Likewise.
5948 [C99-based standards] (clog1pf): Likewise.
5949 [C99-based standards] (clog2f): Likewise.
5950 [C99-based standards] (clgammaf): Likewise.
5951 [C99-based standards] (ctgammaf): Likewise.
5952 [C99-based standards] (cerfl): Likewise.
5953 [C99-based standards] (cerfcl): Likewise.
5954 [C99-based standards] (cexp2l): Likewise.
5955 [C99-based standards] (cexpm1l): Likewise.
5956 [C99-based standards] (clog10l): Likewise.
5957 [C99-based standards] (clog1pl): Likewise.
5958 [C99-based standards] (clog2l): Likewise.
5959 [C99-based standards] (clgammal): Likewise.
5960 [C99-based standards] (ctgammal): Likewise.
5961 * conform/data/inttypes.h-data [C99-based standards]: Include
5962 stdint.h-data. Remove all expectations for stdint.h contents.
5963 [C99-based standards] (PRI*): Do not allow.
5964 [C99-based standards] (SCN*): Likewise.
5965 [C99-based standards] (*_t): Likewise.
5966 [C99-based-standards] (PRId8): Expect macro.
5967 [C99-based-standards] (PRIi8): Likewise.
5968 [C99-based-standards] (PRIo8): Likewise.
5969 [C99-based-standards] (PRIu8): Likewise.
5970 [C99-based-standards] (PRIx8): Likewise.
5971 [C99-based-standards] (PRIX8): Likewise.
5972 [C99-based-standards] (SCNd8): Likewise.
5973 [C99-based-standards] (SCNi8): Likewise.
5974 [C99-based-standards] (SCNo8): Likewise.
5975 [C99-based-standards] (SCNu8): Likewise.
5976 [C99-based-standards] (SCNx8): Likewise.
5977 [C99-based-standards] (PRIdLEAST8): Likewise.
5978 [C99-based-standards] (PRIiLEAST8): Likewise.
5979 [C99-based-standards] (PRIoLEAST8): Likewise.
5980 [C99-based-standards] (PRIuLEAST8): Likewise.
5981 [C99-based-standards] (PRIxLEAST8): Likewise.
5982 [C99-based-standards] (PRIXLEAST8): Likewise.
5983 [C99-based-standards] (SCNdLEAST8): Likewise.
5984 [C99-based-standards] (SCNiLEAST8): Likewise.
5985 [C99-based-standards] (SCNoLEAST8): Likewise.
5986 [C99-based-standards] (SCNuLEAST8): Likewise.
5987 [C99-based-standards] (SCNxLEAST8): Likewise.
5988 [C99-based-standards] (PRIdFAST8): Likewise.
5989 [C99-based-standards] (PRIiFAST8): Likewise.
5990 [C99-based-standards] (PRIoFAST8): Likewise.
5991 [C99-based-standards] (PRIuFAST8): Likewise.
5992 [C99-based-standards] (PRIxFAST8): Likewise.
5993 [C99-based-standards] (PRIXFAST8): Likewise.
5994 [C99-based-standards] (SCNdFAST8): Likewise.
5995 [C99-based-standards] (SCNiFAST8): Likewise.
5996 [C99-based-standards] (SCNoFAST8): Likewise.
5997 [C99-based-standards] (SCNuFAST8): Likewise.
5998 [C99-based-standards] (SCNxFAST8): Likewise.
5999 [C99-based-standards] (PRId16): Likewise.
6000 [C99-based-standards] (PRIi16): Likewise.
6001 [C99-based-standards] (PRIo16): Likewise.
6002 [C99-based-standards] (PRIu16): Likewise.
6003 [C99-based-standards] (PRIx16): Likewise.
6004 [C99-based-standards] (PRIX16): Likewise.
6005 [C99-based-standards] (SCNd16): Likewise.
6006 [C99-based-standards] (SCNi16): Likewise.
6007 [C99-based-standards] (SCNo16): Likewise.
6008 [C99-based-standards] (SCNu16): Likewise.
6009 [C99-based-standards] (SCNx16): Likewise.
6010 [C99-based-standards] (PRIdLEAST16): Likewise.
6011 [C99-based-standards] (PRIiLEAST16): Likewise.
6012 [C99-based-standards] (PRIoLEAST16): Likewise.
6013 [C99-based-standards] (PRIuLEAST16): Likewise.
6014 [C99-based-standards] (PRIxLEAST16): Likewise.
6015 [C99-based-standards] (PRIXLEAST16): Likewise.
6016 [C99-based-standards] (SCNdLEAST16): Likewise.
6017 [C99-based-standards] (SCNiLEAST16): Likewise.
6018 [C99-based-standards] (SCNoLEAST16): Likewise.
6019 [C99-based-standards] (SCNuLEAST16): Likewise.
6020 [C99-based-standards] (SCNxLEAST16): Likewise.
6021 [C99-based-standards] (PRIdFAST16): Likewise.
6022 [C99-based-standards] (PRIiFAST16): Likewise.
6023 [C99-based-standards] (PRIoFAST16): Likewise.
6024 [C99-based-standards] (PRIuFAST16): Likewise.
6025 [C99-based-standards] (PRIxFAST16): Likewise.
6026 [C99-based-standards] (PRIXFAST16): Likewise.
6027 [C99-based-standards] (SCNdFAST16): Likewise.
6028 [C99-based-standards] (SCNiFAST16): Likewise.
6029 [C99-based-standards] (SCNoFAST16): Likewise.
6030 [C99-based-standards] (SCNuFAST16): Likewise.
6031 [C99-based-standards] (SCNxFAST16): Likewise.
6032 [C99-based-standards] (PRId32): Likewise.
6033 [C99-based-standards] (PRIi32): Likewise.
6034 [C99-based-standards] (PRIo32): Likewise.
6035 [C99-based-standards] (PRIu32): Likewise.
6036 [C99-based-standards] (PRIx32): Likewise.
6037 [C99-based-standards] (PRIX32): Likewise.
6038 [C99-based-standards] (SCNd32): Likewise.
6039 [C99-based-standards] (SCNi32): Likewise.
6040 [C99-based-standards] (SCNo32): Likewise.
6041 [C99-based-standards] (SCNu32): Likewise.
6042 [C99-based-standards] (SCNx32): Likewise.
6043 [C99-based-standards] (PRIdLEAST32): Likewise.
6044 [C99-based-standards] (PRIiLEAST32): Likewise.
6045 [C99-based-standards] (PRIoLEAST32): Likewise.
6046 [C99-based-standards] (PRIuLEAST32): Likewise.
6047 [C99-based-standards] (PRIxLEAST32): Likewise.
6048 [C99-based-standards] (PRIXLEAST32): Likewise.
6049 [C99-based-standards] (SCNdLEAST32): Likewise.
6050 [C99-based-standards] (SCNiLEAST32): Likewise.
6051 [C99-based-standards] (SCNoLEAST32): Likewise.
6052 [C99-based-standards] (SCNuLEAST32): Likewise.
6053 [C99-based-standards] (SCNxLEAST32): Likewise.
6054 [C99-based-standards] (PRIdFAST32): Likewise.
6055 [C99-based-standards] (PRIiFAST32): Likewise.
6056 [C99-based-standards] (PRIoFAST32): Likewise.
6057 [C99-based-standards] (PRIuFAST32): Likewise.
6058 [C99-based-standards] (PRIxFAST32): Likewise.
6059 [C99-based-standards] (PRIXFAST32): Likewise.
6060 [C99-based-standards] (SCNdFAST32): Likewise.
6061 [C99-based-standards] (SCNiFAST32): Likewise.
6062 [C99-based-standards] (SCNoFAST32): Likewise.
6063 [C99-based-standards] (SCNuFAST32): Likewise.
6064 [C99-based-standards] (SCNxFAST32): Likewise.
6065 [C99-based-standards] (PRId64): Likewise.
6066 [C99-based-standards] (PRIi64): Likewise.
6067 [C99-based-standards] (PRIo64): Likewise.
6068 [C99-based-standards] (PRIu64): Likewise.
6069 [C99-based-standards] (PRIx64): Likewise.
6070 [C99-based-standards] (PRIX64): Likewise.
6071 [C99-based-standards] (SCNd64): Likewise.
6072 [C99-based-standards] (SCNi64): Likewise.
6073 [C99-based-standards] (SCNo64): Likewise.
6074 [C99-based-standards] (SCNu64): Likewise.
6075 [C99-based-standards] (SCNx64): Likewise.
6076 [C99-based-standards] (PRIdLEAST64): Likewise.
6077 [C99-based-standards] (PRIiLEAST64): Likewise.
6078 [C99-based-standards] (PRIoLEAST64): Likewise.
6079 [C99-based-standards] (PRIuLEAST64): Likewise.
6080 [C99-based-standards] (PRIxLEAST64): Likewise.
6081 [C99-based-standards] (PRIXLEAST64): Likewise.
6082 [C99-based-standards] (SCNdLEAST64): Likewise.
6083 [C99-based-standards] (SCNiLEAST64): Likewise.
6084 [C99-based-standards] (SCNoLEAST64): Likewise.
6085 [C99-based-standards] (SCNuLEAST64): Likewise.
6086 [C99-based-standards] (SCNxLEAST64): Likewise.
6087 [C99-based-standards] (PRIdFAST64): Likewise.
6088 [C99-based-standards] (PRIiFAST64): Likewise.
6089 [C99-based-standards] (PRIoFAST64): Likewise.
6090 [C99-based-standards] (PRIuFAST64): Likewise.
6091 [C99-based-standards] (PRIxFAST64): Likewise.
6092 [C99-based-standards] (PRIXFAST64): Likewise.
6093 [C99-based-standards] (SCNdFAST64): Likewise.
6094 [C99-based-standards] (SCNiFAST64): Likewise.
6095 [C99-based-standards] (SCNoFAST64): Likewise.
6096 [C99-based-standards] (SCNuFAST64): Likewise.
6097 [C99-based-standards] (SCNxFAST64): Likewise.
6098 [C99-based-standards] (PRIdMAX): Likewise.
6099 [C99-based-standards] (PRIiMAX): Likewise.
6100 [C99-based-standards] (PRIoMAX): Likewise.
6101 [C99-based-standards] (PRIuMAX): Likewise.
6102 [C99-based-standards] (PRIxMAX): Likewise.
6103 [C99-based-standards] (PRIXMAX): Likewise.
6104 [C99-based-standards] (SCNdMAX): Likewise.
6105 [C99-based-standards] (SCNiMAX): Likewise.
6106 [C99-based-standards] (SCNoMAX): Likewise.
6107 [C99-based-standards] (SCNuMAX): Likewise.
6108 [C99-based-standards] (SCNxMAX): Likewise.
6109 [C99-based-standards] (PRIdPTR): Likewise.
6110 [C99-based-standards] (PRIiPTR): Likewise.
6111 [C99-based-standards] (PRIoPTR): Likewise.
6112 [C99-based-standards] (PRIuPTR): Likewise.
6113 [C99-based-standards] (PRIxPTR): Likewise.
6114 [C99-based-standards] (PRIXPTR): Likewise.
6115 [C99-based-standards] (SCNdPTR): Likewise.
6116 [C99-based-standards] (SCNiPTR): Likewise.
6117 [C99-based-standards] (SCNoPTR): Likewise.
6118 [C99-based-standards] (SCNuPTR): Likewise.
6119 [C99-based-standards] (SCNxPTR): Likewise.
6120 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6121 allow.
6122 * conform/data/stdint.h-data: Update comments to clarify
6123 requirements.
6124 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6125 type.
6126 [C99-based standards] (INT8_MAX): Likewise.
6127 [C99-based standards] (INT16_MIN): Likewise.
6128 [C99-based standards] (INT16_MAX): Likewise.
6129 [C99-based standards] (INT32_MIN): Likewise.
6130 [C99-based standards] (INT32_MAX): Likewise.
6131 [C99-based standards] (INT64_MIN): Likewise.
6132 [C99-based standards] (INT64_MAX): Likewise.
6133 [C99-based standards] (UINT8_MAX): Likewise.
6134 [C99-based standards] (UINT16_MAX): Likewise.
6135 [C99-based standards] (UINT32_MAX): Likewise.
6136 [C99-based standards] (UINT64_MAX): Likewise.
6137 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6138 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6139 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6140 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6141 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6142 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6143 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6144 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6145 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6146 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6147 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6148 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6149 [C99-based standards] (INT_FAST8_MIN): Likewise.
6150 [C99-based standards] (INT_FAST8_MAX): Likewise.
6151 [C99-based standards] (INT_FAST16_MIN): Likewise.
6152 [C99-based standards] (INT_FAST16_MAX): Likewise.
6153 [C99-based standards] (INT_FAST32_MIN): Likewise.
6154 [C99-based standards] (INT_FAST32_MAX): Likewise.
6155 [C99-based standards] (INT_FAST64_MIN): Likewise.
6156 [C99-based standards] (INT_FAST64_MAX): Likewise.
6157 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6158 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6159 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6160 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6161 [C99-based standards] (INTPTR_MIN): Likewise.
6162 [C99-based standards] (INTPTR_MAX): Likewise.
6163 [C99-based standards] (UINTPTR_MAX): Likewise.
6164 [C99-based standards] (INTMAX_MIN): Likewise.
6165 [C99-based standards] (INTMAX_MAX): Likewise.
6166 [C99-based standards] (UINTMAX_MAX): Likewise.
6167 [C99-based standards] (PTRDIFF_MIN): Likewise.
6168 [C99-based standards] (PTRDIFF_MAX): Likewise.
6169 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6170 [C99-based standards] (SIZE_MAX): Likewise.
6171 [C99-based standards] (WCHAR_MAX): Likewise.
6172 [C99-based standards] (WINT_MAX): Likewise.
6173 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6174 constraint on value.
6175 [C99-based standards] (WCHAR_MIN): Likewise.
6176 [C99-based standards] (WINT_MIN): Likewise.
6177 [C99-based standards] (*_t): Allow.
6178 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6179 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6180 Include math.h-data and complex.h-data. Remove all expectations
6181 of math.h and complex.h contents.
6182 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6183 at end of line.
6184 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6185 (struct tm): Expect tag.
6186 [C99-based-standards] (wcstof): Expect function.
6187 [C99-based-standards] (wcstold): Likewise.
6188 [C99-based-standards] (wcstoll): Likewise.
6189 [C99-based-standards] (wcstoull): Likewise.
6190 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6191 macro-int-constant. Specify type.
6192 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6193 constraint on value.
6194 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6195 Specify type.
6196 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6197 Specify value.
6198 [ISO C standards]: Do not allow headers.
6199 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6200 wcs[abcdefghijklmnopqrstuvwxyz]*.
6201 [ISO C standards] (*_t): Do not allow.
6202 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6203 Expect function.
6204 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6205 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6206 Specify type.
6207 [ISO C standards]: Do not allow headers.
6208 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6209 is[abcdefghijklmnopqrstuvwxyz]*.
6210 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6211 to[abcdefghijklmnopqrstuvwxyz]*.
6212 [ISO C standards] (*_t): Do not allow.
6213 * conform/data/stdalign.h-data: New file.
6214 * conform/data/stdbool.h-data: Likewise.
6215 * conform/data/stdnoreturn.h-data: Likewise.
6216
7514feb8
RM
62172012-11-07 Roland McGrath <roland@hack.frob.com>
6218
6219 [BZ #14815]
6220 * manual/filesys.texi (Directory Entries): Typo fix.
6221 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6222
19b2ecfc
MS
62232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6224
6225 * elf/elf.h (EM_AARCH64): New macro.
6226 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6227 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6228 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6229 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6230 (R_AARCH64_TLSDESC): Likewise.
6231 (NT_ARM_TLS): Likewise.
6232 (NT_ARM_HW_BREAK): Likewise.
6233 (NT_ARM_HW_WATCH): Likewise.
6234
60e235ee
JM
62352012-11-07 Joseph Myers <joseph@codesourcery.com>
6236
6237 [BZ #14811]
6238 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6239 (__ieee754_powl): Saturate nonzero exponents with absolute value
6240 below 0x1p-79 to +/- 0x1p-79.
6241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6242 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6243 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6244 nonzero exponents with absolute value below 0x1p-32 to +/-
6245 0x1p-32.
6246 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6247 (__ieee754_powl): Saturate nonzero exponents with absolute value
6248 below 0x1p-79 to +/- 0x1p-79.
6249 * math/libm-test.inc (pow_test): Add more tests.
6250
0ab234b7
AK
62512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6252
6253 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6254 _dl_s390_cap_flags with kernel. Increase string length.
6255 (_dl_s390_platforms): Add z196 and zEC12.
6256
45832f74
JM
62572012-11-07 Joseph Myers <joseph@codesourcery.com>
6258
6259 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6260 Change XOPEN21K to XOPEN2K.
6261
19218757
MK
62622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6263
6264 * string/memmove.c: Use memcpy when possible.
6265
c5f45721
AJ
62662012-11-06 Andreas Jaeger <aj@suse.de>
6267
6268 * po/eo.po: Update from translation team.
6269
82477c28
JM
62702012-11-06 Joseph Myers <joseph@codesourcery.com>
6271
6272 [BZ #14793]
6273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6274 exponent and small x and y exponents, scale x or y up. Increase
6275 by 2 the exponent used in scaling up.
6276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6278 * math/libm-test.inc (fma_test): Add more tests.
6279 (fma_test_towardzero): Likewise.
6280 (fma_test_downward): Likewise.
6281 (fma_test_upward): Likewise.
6282
99252c8c
JM
62832012-11-05 Joseph Myers <joseph@codesourcery.com>
6284
acfa885f
JM
6285 [BZ #14805]
6286 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6287 fenv_t *.
6288
99252c8c
JM
6289 [BZ #14801]
6290 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6291 namespace for names of struct fields.
6292 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6293 fenv_t fields.
6294 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6295 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6296
d6d98dea
ST
62972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6298
6299 [BZ #3665]
6300 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6301
e10bb107
TS
63022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6303
6304 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6305 PTR_DEMANGLE.
6306
6307 [BZ #5246]
6308 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6309 PTR_DEMANGLE.
6310
a0c2940d
JM
63112012-11-04 Joseph Myers <joseph@codesourcery.com>
6312
6313 [BZ #14797]
6314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6315 definitely overflow as x * y not x * y + z.
6316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6317 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6318 * math/libm-test.inc (fma_test): Add more tests.
6319 (fma_test_towardzero): Likewise.
6320 (fma_test_downward): Likewise.
6321 (fma_test_upward): Likewise.
6322
b830319d
TS
63232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6324
6325 [BZ #157]
6326
6327 * include/stub-tag.h: Remove file.
6328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6329 '#include' of it.
6330 * manual/maint.texi (Porting): Don't reference it.
6331 * Makerules ($(objpfx)stubs): Likewise.
6332 * dirent/closedir.c: Don't include <stub-tag.h>.
6333 * dirent/dirfd.c: Likewise.
6334 * dirent/fdopendir.c: Likewise.
6335 * dirent/getdents.c: Likewise.
6336 * dirent/getdents64.c: Likewise.
6337 * dirent/opendir.c: Likewise.
6338 * dirent/readdir.c: Likewise.
6339 * dirent/readdir64.c: Likewise.
6340 * dirent/readdir64_r.c: Likewise.
6341 * dirent/readdir_r.c: Likewise.
6342 * dirent/rewinddir.c: Likewise.
6343 * dirent/seekdir.c: Likewise.
6344 * dirent/telldir.c: Likewise.
6345 * gmon/profil.c: Likewise.
6346 * grp/setgroups.c: Likewise.
6347 * inet/if_index.c: Likewise.
6348 * io/access.c: Likewise.
6349 * io/chdir.c: Likewise.
6350 * io/chmod.c: Likewise.
6351 * io/chown.c: Likewise.
6352 * io/close.c: Likewise.
6353 * io/dup.c: Likewise.
6354 * io/dup2.c: Likewise.
6355 * io/dup3.c: Likewise.
6356 * io/euidaccess.c: Likewise.
6357 * io/faccessat.c: Likewise.
6358 * io/fchdir.c: Likewise.
6359 * io/fchmod.c: Likewise.
6360 * io/fchmodat.c: Likewise.
6361 * io/fchown.c: Likewise.
6362 * io/fchownat.c: Likewise.
6363 * io/fcntl.c: Likewise.
6364 * io/flock.c: Likewise.
6365 * io/fstatfs.c: Likewise.
6366 * io/fstatfs64.c: Likewise.
6367 * io/fstatvfs.c: Likewise.
6368 * io/fstatvfs64.c: Likewise.
6369 * io/futimens.c: Likewise.
6370 * io/fxstat.c: Likewise.
6371 * io/fxstat64.c: Likewise.
6372 * io/fxstatat.c: Likewise.
6373 * io/fxstatat64.c: Likewise.
6374 * io/getcwd.c: Likewise.
6375 * io/isatty.c: Likewise.
6376 * io/lchmod.c: Likewise.
6377 * io/lchown.c: Likewise.
6378 * io/link.c: Likewise.
6379 * io/linkat.c: Likewise.
6380 * io/lseek.c: Likewise.
6381 * io/lseek64.c: Likewise.
6382 * io/lxstat64.c: Likewise.
6383 * io/mkdir.c: Likewise.
6384 * io/mkdirat.c: Likewise.
6385 * io/mkfifo.c: Likewise.
6386 * io/mkfifoat.c: Likewise.
6387 * io/open.c: Likewise.
6388 * io/open64.c: Likewise.
6389 * io/openat.c: Likewise.
6390 * io/openat64.c: Likewise.
6391 * io/pipe.c: Likewise.
6392 * io/pipe2.c: Likewise.
6393 * io/poll.c: Likewise.
6394 * io/posix_fadvise.c: Likewise.
6395 * io/posix_fadvise64.c: Likewise.
6396 * io/posix_fallocate.c: Likewise.
6397 * io/posix_fallocate64.c: Likewise.
6398 * io/read.c: Likewise.
6399 * io/readlink.c: Likewise.
6400 * io/readlinkat.c: Likewise.
6401 * io/rmdir.c: Likewise.
6402 * io/sendfile.c: Likewise.
6403 * io/sendfile64.c: Likewise.
6404 * io/statfs.c: Likewise.
6405 * io/statfs64.c: Likewise.
6406 * io/statvfs.c: Likewise.
6407 * io/statvfs64.c: Likewise.
6408 * io/symlink.c: Likewise.
6409 * io/symlinkat.c: Likewise.
6410 * io/ttyname.c: Likewise.
6411 * io/ttyname_r.c: Likewise.
6412 * io/umask.c: Likewise.
6413 * io/unlink.c: Likewise.
6414 * io/unlinkat.c: Likewise.
6415 * io/utime.c: Likewise.
6416 * io/utimensat.c: Likewise.
6417 * io/write.c: Likewise.
6418 * io/xmknod.c: Likewise.
6419 * io/xmknodat.c: Likewise.
6420 * io/xstat.c: Likewise.
6421 * io/xstat64.c: Likewise.
6422 * login/getpt.c: Likewise.
6423 * login/grantpt.c: Likewise.
6424 * login/unlockpt.c: Likewise.
6425 * math/e_acoshl.c: Likewise.
6426 * math/e_acosl.c: Likewise.
6427 * math/e_asinl.c: Likewise.
6428 * math/e_atan2l.c: Likewise.
6429 * math/e_atanhl.c: Likewise.
6430 * math/e_coshl.c: Likewise.
6431 * math/e_expl.c: Likewise.
6432 * math/e_fmodl.c: Likewise.
6433 * math/e_gammal_r.c: Likewise.
6434 * math/e_hypotl.c: Likewise.
6435 * math/e_j0l.c: Likewise.
6436 * math/e_j1l.c: Likewise.
6437 * math/e_jnl.c: Likewise.
6438 * math/e_lgammal_r.c: Likewise.
6439 * math/e_log10l.c: Likewise.
6440 * math/e_log2l.c: Likewise.
6441 * math/e_logl.c: Likewise.
6442 * math/e_powl.c: Likewise.
6443 * math/e_rem_pio2l.c: Likewise.
6444 * math/e_sinhl.c: Likewise.
6445 * math/e_sqrtl.c: Likewise.
6446 * math/fclrexcpt.c: Likewise.
6447 * math/fedisblxcpt.c: Likewise.
6448 * math/feenablxcpt.c: Likewise.
6449 * math/fegetenv.c: Likewise.
6450 * math/fegetexcept.c: Likewise.
6451 * math/fegetround.c: Likewise.
6452 * math/feholdexcpt.c: Likewise.
6453 * math/fesetenv.c: Likewise.
6454 * math/fesetround.c: Likewise.
6455 * math/feupdateenv.c: Likewise.
6456 * math/fgetexcptflg.c: Likewise.
6457 * math/fraiseexcpt.c: Likewise.
6458 * math/fsetexcptflg.c: Likewise.
6459 * math/ftestexcept.c: Likewise.
6460 * math/k_cosl.c: Likewise.
6461 * math/k_rem_pio2l.c: Likewise.
6462 * math/k_sinl.c: Likewise.
6463 * math/k_tanl.c: Likewise.
6464 * math/s_asinhl.c: Likewise.
6465 * math/s_atanl.c: Likewise.
6466 * math/s_cbrtl.c: Likewise.
6467 * math/s_erfl.c: Likewise.
6468 * math/s_expm1l.c: Likewise.
6469 * math/s_log1pl.c: Likewise.
6470 * math/s_tanhl.c: Likewise.
6471 * misc/acct.c: Likewise.
6472 * misc/brk.c: Likewise.
6473 * misc/chflags.c: Likewise.
6474 * misc/chroot.c: Likewise.
6475 * misc/fchflags.c: Likewise.
6476 * misc/fgetxattr.c: Likewise.
6477 * misc/flistxattr.c: Likewise.
6478 * misc/fremovexattr.c: Likewise.
6479 * misc/fsetxattr.c: Likewise.
6480 * misc/fsync.c: Likewise.
6481 * misc/ftruncate.c: Likewise.
6482 * misc/futimes.c: Likewise.
6483 * misc/futimesat.c: Likewise.
6484 * misc/getdomain.c: Likewise.
6485 * misc/getdtsz.c: Likewise.
6486 * misc/gethostid.c: Likewise.
6487 * misc/gethostname.c: Likewise.
6488 * misc/getloadavg.c: Likewise.
6489 * misc/getpagesize.c: Likewise.
6490 * misc/getsysstats.c: Likewise.
6491 * misc/getxattr.c: Likewise.
6492 * misc/gtty.c: Likewise.
6493 * misc/ioctl.c: Likewise.
6494 * misc/lgetxattr.c: Likewise.
6495 * misc/listxattr.c: Likewise.
6496 * misc/llistxattr.c: Likewise.
6497 * misc/lremovexattr.c: Likewise.
6498 * misc/lsetxattr.c: Likewise.
6499 * misc/lutimes.c: Likewise.
6500 * misc/madvise.c: Likewise.
6501 * misc/mincore.c: Likewise.
6502 * misc/mlock.c: Likewise.
6503 * misc/mlockall.c: Likewise.
6504 * misc/mmap.c: Likewise.
6505 * misc/mprotect.c: Likewise.
6506 * misc/msync.c: Likewise.
6507 * misc/munlock.c: Likewise.
6508 * misc/munlockall.c: Likewise.
6509 * misc/munmap.c: Likewise.
6510 * misc/preadv.c: Likewise.
6511 * misc/preadv64.c: Likewise.
6512 * misc/ptrace.c: Likewise.
6513 * misc/pwritev.c: Likewise.
6514 * misc/pwritev64.c: Likewise.
6515 * misc/readv.c: Likewise.
6516 * misc/reboot.c: Likewise.
6517 * misc/remap_file_pages.c: Likewise.
6518 * misc/removexattr.c: Likewise.
6519 * misc/revoke.c: Likewise.
6520 * misc/select.c: Likewise.
6521 * misc/setdomain.c: Likewise.
6522 * misc/setegid.c: Likewise.
6523 * misc/seteuid.c: Likewise.
6524 * misc/sethostid.c: Likewise.
6525 * misc/sethostname.c: Likewise.
6526 * misc/setregid.c: Likewise.
6527 * misc/setreuid.c: Likewise.
6528 * misc/setxattr.c: Likewise.
6529 * misc/sstk.c: Likewise.
6530 * misc/stty.c: Likewise.
6531 * misc/swapoff.c: Likewise.
6532 * misc/swapon.c: Likewise.
6533 * misc/sync.c: Likewise.
6534 * misc/syncfs.c: Likewise.
6535 * misc/syscall.c: Likewise.
6536 * misc/truncate.c: Likewise.
6537 * misc/ualarm.c: Likewise.
6538 * misc/usleep.c: Likewise.
6539 * misc/ustat.c: Likewise.
6540 * misc/utimes.c: Likewise.
6541 * misc/vhangup.c: Likewise.
6542 * misc/writev.c: Likewise.
6543 * posix/_exit.c: Likewise.
6544 * posix/alarm.c: Likewise.
6545 * posix/execve.c: Likewise.
6546 * posix/fexecve.c: Likewise.
6547 * posix/fork.c: Likewise.
6548 * posix/fpathconf.c: Likewise.
6549 * posix/getaddrinfo.c: Likewise.
6550 * posix/getegid.c: Likewise.
6551 * posix/geteuid.c: Likewise.
6552 * posix/getgid.c: Likewise.
6553 * posix/getgroups.c: Likewise.
6554 * posix/getlogin.c: Likewise.
6555 * posix/getlogin_r.c: Likewise.
6556 * posix/getpgid.c: Likewise.
6557 * posix/getpid.c: Likewise.
6558 * posix/getppid.c: Likewise.
6559 * posix/getresgid.c: Likewise.
6560 * posix/getresuid.c: Likewise.
6561 * posix/getsid.c: Likewise.
6562 * posix/getuid.c: Likewise.
6563 * posix/glob64.c: Likewise.
6564 * posix/nanosleep.c: Likewise.
6565 * posix/pathconf.c: Likewise.
6566 * posix/pause.c: Likewise.
6567 * posix/posix_madvise.c: Likewise.
6568 * posix/pread.c: Likewise.
6569 * posix/pread64.c: Likewise.
6570 * posix/pwrite.c: Likewise.
6571 * posix/pwrite64.c: Likewise.
6572 * posix/sched_getaffinity.c: Likewise.
6573 * posix/sched_getp.c: Likewise.
6574 * posix/sched_gets.c: Likewise.
6575 * posix/sched_primax.c: Likewise.
6576 * posix/sched_primin.c: Likewise.
6577 * posix/sched_rr_gi.c: Likewise.
6578 * posix/sched_setaffinity.c: Likewise.
6579 * posix/sched_setp.c: Likewise.
6580 * posix/sched_sets.c: Likewise.
6581 * posix/sched_yield.c: Likewise.
6582 * posix/setgid.c: Likewise.
6583 * posix/setlogin.c: Likewise.
6584 * posix/setpgid.c: Likewise.
6585 * posix/setresgid.c: Likewise.
6586 * posix/setresuid.c: Likewise.
6587 * posix/setsid.c: Likewise.
6588 * posix/setuid.c: Likewise.
6589 * posix/sleep.c: Likewise.
6590 * posix/spawni.c: Likewise.
6591 * posix/sysconf.c: Likewise.
6592 * posix/times.c: Likewise.
6593 * posix/wait.c: Likewise.
6594 * posix/wait3.c: Likewise.
6595 * posix/wait4.c: Likewise.
6596 * posix/waitpid.c: Likewise.
6597 * resolv/gai_sigqueue.c: Likewise.
6598 * resource/getpriority.c: Likewise.
6599 * resource/getrlimit.c: Likewise.
6600 * resource/getrusage.c: Likewise.
6601 * resource/nice.c: Likewise.
6602 * resource/setpriority.c: Likewise.
6603 * resource/setrlimit.c: Likewise.
6604 * resource/ulimit.c: Likewise.
6605 * rt/aio_cancel.c: Likewise.
6606 * rt/aio_fsync.c: Likewise.
6607 * rt/aio_read.c: Likewise.
6608 * rt/aio_sigqueue.c: Likewise.
6609 * rt/aio_suspend.c: Likewise.
6610 * rt/aio_write.c: Likewise.
6611 * rt/clock_getres.c: Likewise.
6612 * rt/clock_gettime.c: Likewise.
6613 * rt/clock_nanosleep.c: Likewise.
6614 * rt/clock_settime.c: Likewise.
6615 * rt/lio_listio.c: Likewise.
6616 * rt/mq_close.c: Likewise.
6617 * rt/mq_getattr.c: Likewise.
6618 * rt/mq_notify.c: Likewise.
6619 * rt/mq_open.c: Likewise.
6620 * rt/mq_receive.c: Likewise.
6621 * rt/mq_send.c: Likewise.
6622 * rt/mq_setattr.c: Likewise.
6623 * rt/mq_timedreceive.c: Likewise.
6624 * rt/mq_timedsend.c: Likewise.
6625 * rt/mq_unlink.c: Likewise.
6626 * rt/shm_open.c: Likewise.
6627 * rt/shm_unlink.c: Likewise.
6628 * rt/timer_create.c: Likewise.
6629 * rt/timer_delete.c: Likewise.
6630 * rt/timer_getoverr.c: Likewise.
6631 * rt/timer_gettime.c: Likewise.
6632 * rt/timer_settime.c: Likewise.
6633 * setjmp/__longjmp.c: Likewise.
6634 * setjmp/setjmp.c: Likewise.
6635 * signal/kill.c: Likewise.
6636 * signal/killpg.c: Likewise.
6637 * signal/raise.c: Likewise.
6638 * signal/sigaction.c: Likewise.
6639 * signal/sigaltstack.c: Likewise.
6640 * signal/sigblock.c: Likewise.
6641 * signal/sigignore.c: Likewise.
6642 * signal/sigintr.c: Likewise.
6643 * signal/signal.c: Likewise.
6644 * signal/sigpause.c: Likewise.
6645 * signal/sigpending.c: Likewise.
6646 * signal/sigqueue.c: Likewise.
6647 * signal/sigreturn.c: Likewise.
6648 * signal/sigset.c: Likewise.
6649 * signal/sigsetmask.c: Likewise.
6650 * signal/sigstack.c: Likewise.
6651 * signal/sigsuspend.c: Likewise.
6652 * signal/sigtimedwait.c: Likewise.
6653 * signal/sigvec.c: Likewise.
6654 * signal/sigwait.c: Likewise.
6655 * signal/sigwaitinfo.c: Likewise.
6656 * signal/sysv_signal.c: Likewise.
6657 * socket/accept.c: Likewise.
6658 * socket/accept4.c: Likewise.
6659 * socket/bind.c: Likewise.
6660 * socket/connect.c: Likewise.
6661 * socket/getpeername.c: Likewise.
6662 * socket/getsockname.c: Likewise.
6663 * socket/getsockopt.c: Likewise.
6664 * socket/isfdtype.c: Likewise.
6665 * socket/listen.c: Likewise.
6666 * socket/recv.c: Likewise.
6667 * socket/recvfrom.c: Likewise.
6668 * socket/recvmsg.c: Likewise.
6669 * socket/send.c: Likewise.
6670 * socket/sendmsg.c: Likewise.
6671 * socket/sendto.c: Likewise.
6672 * socket/setsockopt.c: Likewise.
6673 * socket/shutdown.c: Likewise.
6674 * socket/sockatmark.c: Likewise.
6675 * socket/socket.c: Likewise.
6676 * socket/socketpair.c: Likewise.
6677 * stdio-common/ctermid.c: Likewise.
6678 * stdio-common/cuserid.c: Likewise.
6679 * stdio-common/remove.c: Likewise.
6680 * stdio-common/rename.c: Likewise.
6681 * stdio-common/renameat.c: Likewise.
6682 * stdio-common/tempname.c: Likewise.
6683 * stdlib/getcontext.c: Likewise.
6684 * stdlib/makecontext.c: Likewise.
6685 * stdlib/setcontext.c: Likewise.
6686 * stdlib/swapcontext.c: Likewise.
6687 * stdlib/system.c: Likewise.
6688 * streams/fattach.c: Likewise.
6689 * streams/fdetach.c: Likewise.
6690 * streams/getmsg.c: Likewise.
6691 * streams/getpmsg.c: Likewise.
6692 * streams/putmsg.c: Likewise.
6693 * streams/putpmsg.c: Likewise.
6694 * sysdeps/unix/bsd/getpt.c: Likewise.
6695 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6696 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6697 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6699 Likewise.
6700 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6701 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6702 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6703 * sysvipc/msgctl.c: Likewise.
6704 * sysvipc/msgget.c: Likewise.
6705 * sysvipc/msgrcv.c: Likewise.
6706 * sysvipc/msgsnd.c: Likewise.
6707 * sysvipc/semctl.c: Likewise.
6708 * sysvipc/semget.c: Likewise.
6709 * sysvipc/semop.c: Likewise.
6710 * sysvipc/semtimedop.c: Likewise.
6711 * sysvipc/shmat.c: Likewise.
6712 * sysvipc/shmctl.c: Likewise.
6713 * sysvipc/shmdt.c: Likewise.
6714 * sysvipc/shmget.c: Likewise.
6715 * termios/tcdrain.c: Likewise.
6716 * termios/tcflow.c: Likewise.
6717 * termios/tcflush.c: Likewise.
6718 * termios/tcgetattr.c: Likewise.
6719 * termios/tcgetpgrp.c: Likewise.
6720 * termios/tcsendbrk.c: Likewise.
6721 * termios/tcsetattr.c: Likewise.
6722 * termios/tcsetpgrp.c: Likewise.
6723 * time/adjtime.c: Likewise.
6724 * time/clock.c: Likewise.
6725 * time/getitimer.c: Likewise.
6726 * time/gettimeofday.c: Likewise.
6727 * time/setitimer.c: Likewise.
6728 * time/settimeofday.c: Likewise.
6729 * time/stime.c: Likewise.
6730 * time/time.c: Likewise.
6731
67322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6733
a20492cf
PT
6734 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6735 /usr/old/bin.
6736
72e182e3
PT
6737 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6738 instead of spaces.
6739 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6740
fbeafede
JM
67412012-11-03 Joseph Myers <joseph@codesourcery.com>
6742
5b5b04d6
JM
6743 [BZ #14796]
6744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6745 FE_TONEAREST before applying Dekker multiplication and Knuth
6746 addition. Clear inexact exceptions and check for exact zero
6747 results afterwards.
6748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6751 * math/libm-test.inc (fma_test): Add more tests.
6752 (fma_test_towardzero): Likewise.
6753 (fma_test_downward): Likewise.
6754 (fma_test_upward): Likewise.
6755 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6756 function.
6757 (libc_fesetround): New macro.
6758 (libc_fesetroundf): Likewise.
6759 (libc_fesetroundl): Likewise.
6760 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6761 function.
6762 (libc_fesetround_387): Likewise.
6763 (libc_fesetroundf): New macro.
6764 (libc_fesetround): Likewise.
6765 (libc_fesetroundl): Likewise.
6766 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6767 function.
6768 (libc_fesetroundf): New macro.
6769 (libc_fesetround): Likewise.
6770 (libc_fesetroundl): Likewise.
6771 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6772 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6773 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6774 libm_hidden_ver.
6775 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6776 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6777 libm_hidden_def.
6778 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6779 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6780 libm_hidden_ver.
6781 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6782 libm_hidden_def.
6783
fbeafede
JM
6784 [BZ #3439]
6785 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6786 integer constant usable in #if and use that to give value to enum
6787 constant.
6788 (FE_DIVBYZERO): Likewise.
6789 (FE_UNDERFLOW): Likewise.
6790 (FE_OVERFLOW): Likewise.
6791 (FE_INVALID): Likewise.
6792 (FE_INVALID_SNAN): Likewise.
6793 (FE_INVALID_ISI): Likewise.
6794 (FE_INVALID_IDI): Likewise.
6795 (FE_INVALID_ZDZ): Likewise.
6796 (FE_INVALID_IMZ): Likewise.
6797 (FE_INVALID_COMPARE): Likewise.
6798 (FE_INVALID_SOFTWARE): Likewise.
6799 (FE_INVALID_SQRT): Likewise.
6800 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6801 (FE_TONEAREST): Likewise.
6802 (FE_TOWARDZERO): Likewise.
6803 (FE_UPWARD): Likewise.
6804 (FE_DOWNWARD): Likewise.
6805 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6806 (FE_DIVBYZERO): Likewise.
6807 (FE_OVERFLOW): Likewise.
6808 (FE_UNDERFLOW): Likewise.
6809 (FE_INEXACT): Likewise.
6810 (FE_TONEAREST): Likewise.
6811 (FE_DOWNWARD): Likewise.
6812 (FE_UPWARD): Likewise.
6813 (FE_TOWARDZERO): Likewise.
6814 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6815 (FE_UNDERFLOW): Likewise.
6816 (FE_OVERFLOW): Likewise.
6817 (FE_DIVBYZERO): Likewise.
6818 (FE_INVALID): Likewise.
6819 (FE_TONEAREST): Likewise.
6820 (FE_TOWARDZERO): Likewise.
6821 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6822 (FE_OVERFLOW): Likewise.
6823 (FE_UNDERFLOW): Likewise.
6824 (FE_DIVBYZERO): Likewise.
6825 (FE_INEXACT): Likewise.
6826 (FE_TONEAREST): Likewise.
6827 (FE_TOWARDZERO): Likewise.
6828 (FE_UPWARD): Likewise.
6829 (FE_DOWNWARD): Likewise.
6830 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6831 (FE_DIVBYZERO): Likewise.
6832 (FE_OVERFLOW): Likewise.
6833 (FE_UNDERFLOW): Likewise.
6834 (FE_INEXACT): Likewise.
6835 (FE_TONEAREST): Likewise.
6836 (FE_DOWNWARD): Likewise.
6837 (FE_UPWARD): Likewise.
6838 (FE_TOWARDZERO): Likewise.
6839
105ca950
CM
68402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6841
6842 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6843
a542b389
AS
68442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6845
6846 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6847 commands. Quote $PWD.
6848 (blacklist_exports): Don't use remove_newlines. Replace "declare
6849 -x" by "export".
6850 (remove_newlines): Remove.
6851
f62c8abc
L
68522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6853
6854 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6855 * stdlib/stdlib.h (atof): Moved to ...
6856 * include/bits/stdlib-float.h: Here. New file.
6857 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6858 * stdlib/bits/stdlib-float.h: New file.
6859 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6860 -mno-sse -mno-mmx.
6861 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6862 <xmmintrin.h>.
6863
0155d5b2
JM
68642012-11-02 Joseph Myers <joseph@codesourcery.com>
6865
a68d0680
JM
6866 * conform/conformtest.pl (@headers): Add fenv.h.
6867 * conform/data/fenv.h-data: New file.
6868 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6869 include of <math/fenv.h>.
6870
caf7f573
JM
6871 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6872 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6873 && !UNIX98]. Enables tests for XOPEN2K8.
6874 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6875 POSIX2008]: Likewise.
6876
6c073ad6
JM
6877 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6878 (struct rusage): Do not expect type or its members.
6879
0155d5b2
JM
6880 [BZ #3439]
6881 * math/math.h (FP_NAN): Define macro to integer constant usable in
6882 #if and use that to give value to enum constant.
6883 (FP_INFINITE): Likewise.
6884 (FP_ZERO): Likewise.
6885 (FP_SUBNORMAL): Likewise.
6886 (FP_NORMAL): Likewise.
6887
b5dcacb4
AS
68882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6889
6890 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6891 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6892 arguments.
6893
f7934be8
RM
68942012-11-02 Roland McGrath <roland@hack.frob.com>
6895
6896 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6897 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6898 autoconf-time if not.
6899 * configure.in: Remove AC_PREREQ.
6900
d7d08bde
TMQMF
69012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6902
6903 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6904 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6905 of the internal implementation.
6906
dcdae19a
JM
69072012-11-02 Joseph Myers <joseph@codesourcery.com>
6908
6909 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6910 except include of <misc/sys/syslog.h>.
6911
d6cffd3e
AS
69122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6913
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6915 function returns with a NULL context exit with zero.
6916
b3563932
TMQMF
69172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6918
6919 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6920
b288a93d
L
69212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6924 (run_program_cmd): This.
6925 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6926 (tst_langinfo): New variable. Use it.
6927
a2421a68
SAS
69282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6929
6930 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6931 floating point opcodes.
6932
6f796e1b
TS
69332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6934
7402596b
TS
6935 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6936 variable.
6937
d0d4f868
TS
6938 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6939
6f796e1b
TS
6940 * sysdeps/mach/hurd/powerpc: Remove directory.
6941 * sysdeps/mach/powerpc: Likewise.
6942
4da224a2
AS
69432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6944
6945 * scripts/check-local-headers.sh: Ignore c++ headers.
6946
341dd673
TS
69472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6948
6949 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6950 __libc_cleanup_region_start argument.
6951
473611b2
JM
69522012-11-01 Joseph Myers <joseph@codesourcery.com>
6953
6954 [BZ #14784]
6955 [BZ #14785]
6956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6957 x * y using scaling, not as x * y + z.
6958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6960 * math/libm-test.inc (fma_test): Add more tests.
6961 (fma_test_towardzero): Likewise.
6962 (fma_test_downward): Likewise.
6963 (fma_test_upward): Likewise.
6964
4078da3d
TS
69652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6966
6967 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6968
903252aa
JM
69692012-10-31 Joseph Myers <joseph@codesourcery.com>
6970
6971 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6972 New variable.
6973
cbc818d0
TS
69742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6975
6976 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6977
5a03cb1e
AS
69782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6979
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6981 Fix sort order.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6983 Likewise.
6984
90aff2ff
TMQMF
69852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6986
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6988 Fix the order of the list for glibc 2.17.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6990 Likewise.
6991
1818fcb7
AS
69922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6993
6994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6995
ef82f4da
JM
69962012-10-31 Joseph Myers <joseph@codesourcery.com>
6997
16a0e2ec
JM
6998 [BZ #14610]
6999 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7000 for low part of x being zero before using __atanl (y).
7001 * math/libm-test.inc (atan2_test): Add another test.
7002
0eb69512
JM
7003 * manual/install.texi (Configuring and compiling): Document
7004 general use of test-wrapper and test-wrapper-env.
7005 * INSTALL: Regenerated.
7006
ef82f4da
JM
7007 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7008 (__fma): Do not extract and scale down low bits on after-rounding
7009 systems when result rounded to normal precision would have normal
7010 exponent.
7011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7012 (__fmal): Do not extract and scale down low bits on after-rounding
7013 systems when result rounded to normal precision would have normal
7014 exponent.
7015 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7016 (__fmal): Do not extract and scale down low bits on after-rounding
7017 systems when result rounded to normal precision would have normal
7018 exponent.
7019 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7020 macro.
7021 (fma_test): Add more tests.
7022 (fma_test_towardzero): Likewise.
7023 (fma_test_downward): Likewise.
7024 (fma_test_upward): Likewise.
7025
954ef0d9
L
70262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 * sysdeps/i386/tininess.h: Renamed to ...
7029 * sysdeps/x86/tininess.h: This.
7030 * sysdeps/x86_64/tininess.h: Removed.
7031
df61ffb2
JM
70322012-10-30 Joseph Myers <joseph@codesourcery.com>
7033
7034 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7035 input. Use $(build-program-cmd).
7036 ($(objpfx)tst-array1-static.out): Likewise.
7037 ($(objpfx)tst-array2.out): Likewise.
7038 ($(objpfx)tst-array3.out): Likewise.
7039 ($(objpfx)tst-array4.out): Likewise.
7040 ($(objpfx)tst-array5.out): Likewise.
7041 ($(objpfx)tst-array5-static.out): Likewise.
7042
01767843
CM
70432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7044
47cc1490
CM
7045 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7046 if defined.
7047
01767843
CM
7048 * nss/nsswitch.h (nss_interface_function): Provide new
7049 macro for use with NSS functions.
7050 * grp/initgroups.c: Use new macro.
7051 * nss/getXXbyYY.c: Likewise.
7052 * nss/getXXbyYY_r.c: Likewise.
7053 * nss/getXXent.c: Likewise.
7054 * nss/getXXent_r.c: Likewise.
7055 * sysdeps/posix/getaddrinfo.c: Likewise.
7056
8321aa97
AJ
70572012-10-30 Andreas Jaeger <aj@suse.de>
7058
7059 * po/ru.po: Update Russion translation from translation project.
7060
2a27fd6d
JM
70612012-10-30 Joseph Myers <joseph@codesourcery.com>
7062
8627a232
JM
7063 [BZ #14152]
7064 [BZ #14783]
7065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7066 result and shift together with sticky bit instead of replicating
7067 round-to-nearest rounding.
7068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7069 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7070 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7071 missing underflow exceptions.
7072 (fma_test_towardzero): Add more tests.
7073 (fma_test_downward): Likewise.
7074 (fma_test_upward): Likewise.
7075
2a27fd6d
JM
7076 [BZ #14047]
7077 * sysdeps/generic/tininess.h: New file.
7078 * sysdeps/i386/tininess.h: Likewise.
7079 * sysdeps/sh/tininess.h: Likewise.
7080 * sysdeps/x86_64/tininess.h: Likewise.
7081 * stdlib/tst-strtod-underflow.c: Likewise.
7082 * stdlib/tst-tininess.c: Likewise.
7083 * stdlib/strtod_l.c: Include <tininess.h>.
7084 (round_and_return): Do not set errno for exact underflow cases.
7085 Force an underflow exception when setting errno for underflow.
7086 Determine underflow based on rounding to normal precision if
7087 TININESS_AFTER_ROUNDING.
7088 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7089 ERANGE for exact underflow cases.
7090 * stdlib/Makefile (tests): Add tst-tininess and
7091 tst-strtod-underflow.
7092 ($(objpfx)tst-tininess): Use $(link-libm).
7093 ($(objpfx)tst-strtod-underflow): Likewise.
7094
e7170363
AJ
70952012-10-30 Andreas Jaeger <aj@suse.de>
7096
e5088dc6
AJ
7097 [BZ#14767]
7098 * elf/Makefile (tests): Remove conditional for have-initfini-array
7099 since this is now always required and the variable does not exist
7100 anymore.
7101 (tests-static): Likewise.
7102 (modules-names): Likewise.
7103
e7170363 7104 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7105
7106 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7107 merged with constructor/destructor.
7108 (init_array): Likewise.
7109 * elf/tst-array2dep.c (fini_array): Likewise.
7110 (init_array): Likewise.
7111
60457d8a
MF
71122012-10-29 Mike Frysinger <vapier@gentoo.org>
7113
7114 * manual/message.texi: Delete @cartouche tags.
7115
8bece752
PT
71162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7117
94ce799f
PT
7118 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7119 EOPNOTSUPP.
7120 * sysdeps/mach/hurd/fsync.c: Likewise.
7121
8bece752
PT
7122 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7123 [_POSIX_REALTIME_SIGNALS]: Change condition to
7124 [_POSIX_REALTIME_SIGNALS > 0].
7125
86ebe6b1
AJ
71262012-10-27 Andreas Jaeger <aj@suse.de>
7127
7128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7129 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7131 [__WORDSIZE != 64]: Likewise.
7132
54399c08
L
71332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7134
7135 * iconvdata/tst-table.sh: Remove ${SHELL}.
7136 * iconvdata/tst-tables.sh: Likewise.
7137
e2211bed
DM
71382012-10-25 David S. Miller <davem@davemloft.net>
7139
7140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7141 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7142 of strtoull.
7143
f303f97c
DM
7144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7145 ifunc-impl-list.c
7146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7147 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7148 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7149 file.
7150
1e9d84cd
RM
71512012-10-25 Roland McGrath <roland@hack.frob.com>
7152
7153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7154 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7155 __getdirentries.
7156
df381762
JM
71572012-10-25 Joseph Myers <joseph@codesourcery.com>
7158 Jim Blandy <jimb@codesourcery.com>
7159
7160 * scripts/cross-test-ssh.sh: New file.
7161 * manual/install.texi (Configuring and compiling): Document use of
7162 cross-test-ssh.sh.
7163 * INSTALL: Regenerated.
7164
bff64913
PT
71652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7166
7167 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7168 EOPNOTSUPP.
7169
25fe8932
JM
71702012-10-25 Joseph Myers <joseph@codesourcery.com>
7171
7172 * Makeconfig (run-program-prefix): Fix comment.
7173
cc1290d0
JM
71742012-10-24 Joseph Myers <joseph@codesourcery.com>
7175 Jim Blandy <jimb@codesourcery.com>
7176
7177 * Makeconfig (test-wrapper): New variable,
7178 (test-wrapper-env): Likewise.
7179 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7180 (run-built-tests): Define to yes.
7181 (run-program-prefix): Use $(test-wrapper).
7182 (built-program-cmd): Likewise.
7183 * Rules (make-test-out): Use $(test-wrapper-env) and
7184 $(host-built-program-cmd).
7185 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7186 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7187 tst-pathopt.sh.
7188 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7189 $(test-wrapper-env) to tst-rtld-load-self.sh.
7190 ($(objpfx)order2.out): Use $(test-wrapper).
7191 ($(objpfx)tst-initorder.out): Likewise.
7192 ($(objpfx)tst-initorder2.out): Likewise.
7193 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7194 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7195 (test_wrapper_env): New variable. Use it to run ld.so.
7196 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7197 Use it to run ld.so.
7198 (test_wrapper_env): Likewise.
7199 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7200 $(test-wrapper) to run-iconv-test.sh.
7201 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7202 (ICONV): Use $test_wrapper.
7203 * posix/Makefile ($(objpfx)globtest.out): Pass
7204 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7205 globtest.sh, not $(run-program-prefix).
7206 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7207 (test_wrapper): Likewise.
7208 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7209 set together with run_via_rtld_prefix.
7210 (run_program_prefix): Define in terms of test_wrapper and
7211 run_via_rtld_prefix.
7212
6e6249d0
RM
72132012-10-24 Roland McGrath <roland@hack.frob.com>
7214
7215 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7216 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7217 Targets removed.
7218
7219 [BZ #14743]
7220 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7221 Declare __clock_getres, __clock_gettime, __clock_settime,
7222 __clock_nanosleep, and __clock_getcpuclockid.
7223 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7224 Remove librt_hidden_def (clock_gettime).
7225 * sysdeps/unix/clock_gettime.c: Likewise.
7226 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7227 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7228 * rt/clock_getres.c: Define __clock_getres as an alias.
7229 * sysdeps/posix/clock_getres.c: Likewise.
7230 * rt/clock_settime.c: Define __clock_settime as an alias.
7231 * sysdeps/unix/clock_settime.c: Likewise.
7232 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7233 * sysdeps/unix/clock_nanosleep.c: Likewise.
7234 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7235 * rt/clock-compat.c: New file.
7236 * rt/Makefile (librt-routines): Add clock-compat and move
7237 $(clock-routines) to ...
7238 (routines): ... here, new variable.
7239 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7240 Don't add get_clockfreq here.
7241 * rt/Versions (libc: GLIBC_2.17): New version set.
7242 Add clock_* symbols here.
7243 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7245 (GLIBC_2.17): Add clock_* symbols.
7246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7250 Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7252 Likewise.
7253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7257 * NEWS: Mention the move.
7258
7259 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7260 Use __open, __read, __close rather than their public counterparts.
7261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7262 (__get_clockfreq_via_cpuinfo): Likewise.
7263 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7264 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7265
7266 * config.h.in (HAVE_IFUNC): New #undef.
7267 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7268 was successful.
7269 * configure: Regenerated.
7270
0cae3f4b
MF
72712012-10-24 Mike Frysinger <vapier@gentoo.org>
7272
7273 * configure.in: Move READELF check to start of file.
7274 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7275 libc_cv_asm_gnu_indirect_function in the process.
7276 * configure: Regenerated.
7277
8175a253
MF
72782012-10-24 Mike Frysinger <vapier@gentoo.org>
7279
7280 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7281 send the output to /dev/null.
7282 (libc_cv_cc_with_libunwind): Likewise.
7283 (libc_cv_as_noexecstack): Likewise.
7284 * configure: Regenerate.
7285
0708a7d1
JM
72862012-10-24 Joseph Myers <joseph@codesourcery.com>
7287
10b40d85
JM
7288 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7289
0708a7d1
JM
7290 * posix/globtest.sh (TMPDIR): Do not set.
7291 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7292 (testout): Likewise.
7293
9fddec1a
AJ
72942012-10-24 Andreas Jaeger <aj@suse.de>
7295
3a8db22f
AJ
7296 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7297 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7298 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7299 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7300 posix_fadvise64, posix_fallocate64.
7301
9fddec1a
AJ
7302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7303 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7304 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7305 Likewise.
7306 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7307 Likewise.
7308 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7309
7310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7311 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7312 <bits/fcntl-linux.h>.
7313 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7314
7315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7316 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7317 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7318 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7319 [__WORDSIZE != 64]: Likewise.
7320
ebfd1bbd
JM
73212012-10-23 Joseph Myers <joseph@codesourcery.com>
7322
03ac099f
JM
7323 * Makeconfig (run-built-tests): New variable.
7324 * Rules [$(cross-compiling) = yes]: Change condition to
7325 [$(run-built-tests) = no].
7326 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7327 to [$(run-built-tests) = yes].
7328 * elf/Makefile [$(cross-compiling) = no]: Likewise
7329 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7330 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7331 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7332 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7333 * io/Makefile [$(cross-compiling) = no]: Likewise.
7334 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7335 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7336 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7337 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7338 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7339 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7340 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7341 * string/Makefile [$(cross-compiling) = no]: Likewise.
7342
ebfd1bbd
JM
7343 * posix/Makefile ($(objpfx)globtest.out): Pass
7344 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7345 $(rtld-installed-name).
7346 * posix/globtest.sh (elf_objpfx): Remove variable.
7347 (rtld_installed_name): Likewise.
7348 (library_path): Likewise.
7349 (run_program_prefix): New variable. Use for running globtest
7350 binary.
7351
166bca24
JB
73522012-10-23 Jim Blandy <jimb@codesourcery.com>
7353 Joseph Myers <joseph@codesourcery.com>
7354
7355 * Makeconfig (host-built-program-cmd): New variable.
7356 * elf/Makefile (tst-stackguard1-ARGS): Use
7357 $(host-built-program-cmd).
7358 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7359 (tst-spawn-ARGS): Likewise.
7360 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7361
88866099
JM
73622012-10-23 Joseph Myers <joseph@codesourcery.com>
7363 Jim Blandy <jimb@codesourcery.com>
7364
7365 * Makeconfig (run-via-rtld-prefix): New variable.
7366 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7367 (built-program-cmd): Likewise.
7368
b4b4c296
AJ
73692012-10-22 Andreas Jaeger <aj@suse.de>
7370
7371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7372 __O_RSYNC if it exists, otherwise to O_SYNC.
7373
6fb54a22
JB
73742012-10-22 Jim Blandy <jimb@codesourcery.com>
7375 Joseph Myers <joseph@codesourcery.com>
7376
7377 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7378 /dev/null.
7379 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7380 from /dev/null
7381 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7382 /dev/null.
7383
481b90b9
AJ
73842012-10-22 Andreas Jaeger <aj@suse.de>
7385
2a0e2669
AJ
7386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7387 Define always.
7388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7389
76e38f9a
AJ
7390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7391 bits/fcntl-linux.h.
7392
7cd37b43
AJ
7393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7394 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7395
481b90b9
AJ
7396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7397 to __O_LARGEFILE.
7398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7399 to __O_LARGEFILE.
7400
aba75984
JB
74012012-10-21 Jim Blandy <jimb@codesourcery.com>
7402 Joseph Myers <joseph@codesourcery.com>
7403
7404 * config.make.in (NM): New variable.
7405
88d4247f
AJ
74062012-10-21 Andreas Jaeger <aj@suse.de>
7407
7408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7409 definitions and declarations that are provided by
7410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7411
f2eed205
L
74122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 [BZ #14683]
7415 * elf/Makefile (tests-static): Add tst-leaks1-static.
7416 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7417 ($(objpfx)tst-leaks1-static): New rule.
7418 ($(objpfx)tst-leaks1-static-mem): Likewise.
7419 (tst-leaks1-static-ENV): New macro.
7420 * elf/dl-open.c (dl_open_worker): Check the main application
7421 only if SHARED is defined.
7422 * elf/tst-leaks1-static.c: New file.
7423
335e6931
AJ
74242012-10-20 Andreas Jaeger <aj@suse.de>
7425
7426 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7427 generic values for Linux.
7428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7429 and declarations that are provided by <bits/fcntl-linux.h> and
7430 include <bits/fcntl-linux.h>.
7431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7433
ac5c94d3
RM
74342012-10-20 Roland McGrath <roland@hack.frob.com>
7435
7436 * io/fcntl.h: Move include of <bits/types.h> to the top and
7437 include it unconditionally.
7438
de54b33a
L
74392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7440
228cfb01
L
7441 * wcsmbs/Makefile (tests-ifunc): New variable.
7442 (tests): Add $(tests-ifunc).
7443 * wcsmbs/test-wcschr-ifunc.c: New file.
7444 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7445 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7446 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7447 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7448 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7449
69f07e5f
L
7450 * string/Makefile (tests-ifunc): New variable.
7451 (tests): Add $(tests-ifunc).
7452 * string/test-memccpy.c (TEST_NAME): New macro.
7453 * string/test-memchr.c (TEST_NAME): Likewise.
7454 * string/test-memcmp.c (TEST_NAME): Likewise.
7455 * string/test-memcpy.c (TEST_NAME): Likewise.
7456 * string/test-memmem.c (TEST_NAME): Likewise.
7457 * string/test-memmove.c (TEST_NAME): Likewise.
7458 * string/test-memset.c (TEST_NAME): Likewise.
7459 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7460 * string/test-stpcpy.c (TEST_NAME): Likewise.
7461 * string/test-stpncpy.c (TEST_NAME): Likewise.
7462 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7463 * string/test-strcasestr.c (TEST_NAME): Likewise.
7464 * string/test-strcat.c (TEST_NAME): Likewise.
7465 * string/test-strchr.c (TEST_NAME): Likewise.
7466 * string/test-strcmp.c(TEST_NAME): Likewise.
7467 * string/test-strcpy.c (TEST_NAME): Likewise.
7468 * string/test-strcspn.c (TEST_NAME): Likewise.
7469 * string/test-strlen.c (TEST_NAME): Likewise.
7470 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7471 * string/test-strncmp.c (TEST_NAME): Likewise.
7472 * string/test-strncpy.c (TEST_NAME): Likewise.
7473 * string/test-strnlen.c (TEST_NAME): Likewise.
7474 * string/test-strpbrk.c (TEST_NAME): Likewise.
7475 * string/test-strrchr.c (TEST_NAME): Likewise.
7476 * string/test-strspn.c (TEST_NAME): Likewise.
7477 * string/test-strstr.c (TEST_NAME): Likewise.
7478 * string/test-bcopy-ifunc.c: New file.
7479 * string/test-bzero-ifunc.c: Likewise.
7480 * string/test-memccpy-ifunc.c: Likewise.
7481 * string/test-memchr-ifunc.c: Likewise.
7482 * string/test-memcmp-ifunc.c: Likewise.
7483 * string/test-memcpy-ifunc.c: Likewise.
7484 * string/test-memmem-ifunc.c: Likewise.
7485 * string/test-memmove-ifunc.c: Likewise.
7486 * string/test-mempcpy-ifunc.c: Likewise.
7487 * string/test-memset-ifunc.c: Likewise.
7488 * string/test-rawmemchr-ifunc.c: Likewise.
7489 * string/test-stpcpy-ifunc.c: Likewise.
7490 * string/test-stpncpy-ifunc.c: Likewise.
7491 * string/test-strcasecmp-ifunc.c: Likewise.
7492 * string/test-strcasestr-ifunc.c: Likewise.
7493 * string/test-strcat-ifunc.c: Likewise.
7494 * string/test-strchr-ifunc.c: Likewise.
7495 * string/test-strchrnul-ifunc.c: Likewise.
7496 * string/test-strcmp-ifunc.c: Likewise.
7497 * string/test-strcpy-ifunc.c: Likewise.
7498 * string/test-strcspn-ifunc.c: Likewise.
7499 * string/test-strlen-ifunc.c: Likewise.
7500 * string/test-strncasecmp-ifunc.c: Likewise.
7501 * string/test-strncat-ifunc.c: Likewise.
7502 * string/test-strncmp-ifunc.c: Likewise.
7503 * string/test-strncpy-ifunc.c: Likewise.
7504 * string/test-strnlen-ifunc.c: Likewise.
7505 * string/test-strpbrk-ifunc.c: Likewise.
7506 * string/test-strrchr-ifunc.c: Likewise.
7507 * string/test-strspn-ifunc.c: Likewise.
7508 * string/test-strstr-ifunc.c: Likewise.
7509
de54b33a
L
7510 * debug/Makefile (tests-ifunc): New variable.
7511 (tests): Add $(tests-ifunc).
7512 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7513 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7514 * debug/test-stpcpy_chk-ifunc.c: New file.
7515 * debug/test-strcpy_chk-ifunc.c: Likewise.
7516
88481c16
SP
75172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7518
7519 [BZ #13601]
7520 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7521 header is not read in.
7522
135948bd
JM
75232012-10-19 Joseph Myers <joseph@codesourcery.com>
7524
89f1c388
JM
7525 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7526 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7527 directly. Pass built executable to script as
7528 $(built-program-cmd).
7529 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7530 $testprogram without using LD_LIBRARY_PATH and $ldso.
7531
e40a0d21
JM
7532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7533 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7534 $(rtld-installed-name).
7535 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7536 (rtld_installed_name): Likewise.
7537 (library_path): Likewise.
7538 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7539 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7540 $(run-program-prefix) to tst-tables.sh.
7541 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7542 it to run tst-table-from and tst-table-to.
7543 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7544 Pass it to tst-table.sh.
7545 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7546 $(run-program-prefix) to tst-gettext.sh.
7547 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7548 tst-translit.sh.
7549 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7550 tst-gettext2.sh.
7551 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7552 to run tst-gettext.
7553 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7554 to run tst-gettext2.
7555 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7556 to run tst-translit.
7557 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7558 $(run-program-prefix) to tst-mtrace.sh.
7559 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7560 to run tst-mtrace.
7561 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7562 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7563 $(rtld-installed-name).
7564 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7565 (rtld_installed_name): Likewise.
7566 (run_program_prefix): New variable. Use it to run wordexp-test.
7567
728e272a
JM
7568 * Makeconfig (ARCH): Remove all definitions.
7569 (machine): Likewise.
7570 [ARCH]: Remove conditional code.
7571 [!objdir]: Give error.
7572 [!objdir] (objpfx): Remove.
7573 [!objdir] (common-objpfx): Likewise.
7574 [!objdir] (common-objdir): Likewise.
7575 * configure.in (config_makefile): Remove. Hardcode Makefile in
7576 AC_CONFIG_FILES call.
7577 * configure: Regenerated.
7578
d528cdcf
JM
7579 [BZ #13888]
7580 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7581 or TMPDIR.
7582 (testout): Likewise.
7583
135948bd
JM
7584 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7585 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7586 $(rtld-installed-name).
7587 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7588 (rtld_installed_name): Likwise.
7589 (runit): Remove function.
7590 (run_getconf): New variable, Use it for running getconf binary.
7591
38c78296
L
75922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 [BZ #14716]
7595 * string/test-memmem.c (check_result): New function.
7596 (do_one_test): Use it.
7597 (check1): New function.
7598 (test_main): Use it.
7599
d077f65f
MT
76002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7601
7602 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7603
ced52c71
JM
76042012-10-18 Joseph Myers <joseph@codesourcery.com>
7605
7606 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7607 (_G_LSEEK64): Likewise.
7608 (_G_MMAP64): Likewise.
7609 (_G_FSTAT64): Likewise.
7610 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7611 (_G_LSEEK64): Likewise.
7612 (_G_MMAP64): Likewise.
7613 (_G_FSTAT64): Likewise.
7614 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7615 unconditional. Call __mmap64 directly.
7616 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7617 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7618 __lseek64 directly.
7619 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7620 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7621 __mmap64 directly.
7622 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7623 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7624 __lseek64 directly.
7625 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7626 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7627 __lseek64 directly.
7628 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7629 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7630 __lseek64 directly.
7631 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7632 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7633 __fxstat64 directly.
7634 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7635 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7636 unconditional.
7637 (freopen64) [!_G_OPEN64]: Remove conditional code.
7638 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7639 unconditional.
7640 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7641 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7642 unconditional.
7643 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7644 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7645 unconditional.
7646 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7647 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7648 unconditional.
7649 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7650 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7651 unconditional.
7652 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7653 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7654 unconditional.
7655 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7656 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7657 unconditional.
7658 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7659
b741de23
SP
76602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7661
7662 [BZ #12140]
7663 * manual/memory.texi (Malloc Tunable Parameters): Add note
7664 about free list pointers overwriting some perturb bytes.
7665 Wording suggested by Roland McGrath.
7666
f9b9d9c9
JM
76672012-10-17 Joseph Myers <joseph@codesourcery.com>
7668
7669 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7670 (lgamma_test): Likewise.
7671 (tgamma_test): Likewise.
7672
172a631a
FW
76732012-10-16 Florian Weimer <fweimer@redhat.com>
7674
7675 [BZ #14700]
7676 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7677 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7678
e9f37252
MK
76792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7680
7681 * NEWS: Mention BZ #14716.
7682 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7683 when removing AVAILABLE1_USES_J macro.
7684
d394eb74
L
76852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7688 (__bswap_64): __uint64_t for unsigned 64-bit int.
7689
ca38dc17
AS
76902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7691
7692 * include/string.h (memmem): Declare libc hidden alias.
7693 * string/memmem.c (memmem): Define libc hidden alias.
7694 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7695 __read, __close instead of open, read, close.
7696
9a387d1f
L
76972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7698
ac49ecaf
L
7699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7700 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7701 global and hidden.
7702 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7703 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7704 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7705 Likewise.
7706 (__rawmemchr_sse2): Likewise.
7707 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7708 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7709 (__strchr_sse2): Likewise.
7710 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7711 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7712 (__strcasecmp_sse2): Likewise.
7713 (__strncasecmp_sse2): Likewise.
7714 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7715 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7716 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7717 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7718 (__strrchr_sse2): Likewise.
7719 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7720 ifunc-impl-list.c.
7721 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7722 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7723 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7724 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7725 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7727 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7728 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7729 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7730 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7731 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7733 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7734 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7735 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7736 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7737 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7738 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7739 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7740 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7741 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7742 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7743 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7744 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7745 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7746 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7747 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7748 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7749 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7750 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7751
b090e8ea
L
7752 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7753 global and hidden.
7754 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7755 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7756 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7757 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7758 Likewise.
7759 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7760 Likewise.
7761 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7762 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7763 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7764 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7765 ifunc-impl-list.c.
7766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7768 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7769 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7770 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7771 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7772 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7773 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7774 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7775 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7776 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7777 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7778 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7779 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7780 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7782 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7783 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7784 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7785 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7786 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7787 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7788 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7789 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7790 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7791 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7792 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7793 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7794 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7796 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7799 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7800 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7801 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7802 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7803 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7804 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7805 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7806 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7807
11dd4af6
L
7808 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7809 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7810 * include/ifunc-impl-list.h: New file.
7811 * misc/ifunc-impl-list.c: Likewise.
7812 * misc/Makefile (routines): Add ifunc-impl-list.
7813 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7814 * string/test-string.h: Include <ifunc-impl-list.h>.
7815 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7816 impl_array): New variables.
7817 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7818 are defined.
7819 (test_init): Call __libc_ifunc_impl_list to initialize
7820 func_list if TEST_IFUNC and TEST_NAME are defined.
7821
9a387d1f
L
7822 * string/Makefile (strop-tests): Add bcopy and bzero.
7823 * string/test-bcopy.c: New file.
7824 * string/test-bzero.c: Likewise.
7825 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7826 defined.
7827 * string/test-memset.c: Support bzero test if TEST_BZERO is
7828 defined.
7829 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7830 __libc_memmove.
7831 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7832 __libc_memset.
7833 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7834 of memset.
7835
472371b9
JM
78362012-10-10 Joseph Myers <joseph@codesourcery.com>
7837
1e4a9536
JM
7838 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7839 * configure: Regenerated.
7840
d173d12e
JM
7841 * Makeconfig (+link-static-before-libc): Don't include
7842 $(link-static-libc).
7843
472371b9
JM
7844 * libio/libio.h (_IO_pos_t): Remove.
7845
89a3ad0b
AO
78462012-10-10 Alexandre Oliva <aoliva@redhat.com>
7847
7848 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7849 McGrath.
7850
e7451425
AO
78512012-10-10 Alexandre Oliva <aoliva@redhat.com>
7852
7853 * crypt/crypt-entry.c: Include fips-private.h.
7854 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7855 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7856 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7857 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7858
4ba74a35
AO
78592012-10-10 Alexandre Oliva <aoliva@redhat.com>
7860
7861 * crypt/crypt-private.h: Include stdbool.h.
7862 (_ufc_setup_salt_r): Return bool.
7863 * crypt/crypt-entry.c: Include errno.h.
7864 (__crypt_r): Return NULL with EINVAL for bad salt.
7865 * crypt/crypt_util.c (bad_for_salt): New.
7866 (_ufc_setup_salt_r): Check that salt is long enough and within
7867 the specified alphabet.
7868 * crypt/badsalttest.c: New file.
7869 * crypt/Makefile (tests): Add it.
7870 ($(objpfx)badsalttest): New.
7871
f96f1242
MK
78722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7873
7874 * NEWS: Add entry for BZ #14602.
7875
0e8e0c1c
JM
78762012-10-09 Joseph Myers <joseph@codesourcery.com>
7877
7878 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7879 type-generic.
7880 * math/libm-test.inc: Update comment listing what functions and
7881 macros are tested.
7882 (isgreater_test): New function.
7883 (isgreaterequal_test): Likewise.
7884 (isless_test): Likewise.
7885 (islessequal_test): Likewise.
7886 (islessgreater_test): Likewise.
7887 (isunordered_test): Likewise.
7888 (main): Call the new functions.
7889
273edc5e
RM
78902012-10-09 Roland McGrath <roland@hack.frob.com>
7891
b8493de0
RM
7892 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7893 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7894 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7895 * sysdeps/i386/configure: Regenerated.
7896 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7897 * sysdeps/mach/configure: Regenerated.
7898 * sysdeps/mach/hurd/configure: Regenerated.
7899 * sysdeps/powerpc/configure: Regenerated.
7900 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7901 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7902 * sysdeps/s390/s390-32/configure: Regenerated.
7903 * sysdeps/s390/s390-64/configure: Regenerated.
7904 * sysdeps/sh/configure: Regenerated.
7905 * sysdeps/sparc/configure: Regenerated.
7906 * sysdeps/unix/sysv/linux/configure: Regenerated.
7907 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7908 * sysdeps/x86_64/configure: Regenerated.
7909
273edc5e
RM
7910 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7911 defined. Don't check if MAP is NULL.
7912
c8450f70
JM
79132012-10-09 Joseph Myers <joseph@codesourcery.com>
7914
7915 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7916 (_G_stat64): Likewise.
7917 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7918 (_G_stat64): Likewise.
7919 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7920 instead of struct _G_stat64.
7921 * libio/fileops.c (mmap_remap_check): Likewise.
7922 (decide_maybe_mmap): Likewise.
7923 (_IO_new_file_seekoff): Likewise.
7924 (_IO_file_stat): Likewise.
7925 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7926 _G_off64_t.
7927 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7928 instead of struct _G_stat64.
7929 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7930
57e605ba
MK
79312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7932
7933 [BZ #14602]
7934 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7935 Replace with ...
7936 (CHECK_EOL): New macro.
7937 (two_way_short_needle): Check beginning of haystack for EOL. Use
7938 CHECK_EOL.
7939 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7940 Replace with CHECK_EOL.
7941 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7942 Replace with CHECK_EOL.
7943
ef1bb361
JM
79442012-10-08 Joseph Myers <joseph@codesourcery.com>
7945
7946 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7947 type-generic.
7948 * math/libm-test.inc: Update comment listing what functions and
7949 macros are tested.
7950 (finite_test): New function.
7951 (isinf_test): Likewise.
7952 (isnan_test): Likewise.
7953 (fpclassify_test): Test subnormal input.
7954 (isfinite_test): Likewise.
7955 (isnormal_test): Likewise.
7956 (main): Call the new functions.
7957
55f11534
JN
79582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7959
7960 [BZ #14660]
7961 * Makerules (%.dynsym): Force C locale when running
7962 $(OBJDUMP) --dynamic-syms.
7963
1ab29350
AS
79642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7965
7966 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7967 <stdint.h>.
7968
f1ecb7ef
DM
79692012-10-06 David S. Miller <davem@davemloft.net>
7970
7971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7972 upper 32-bits of the length value in %o2 since we use branch-on-register
7973 tests which consider the entire 64-bit register.
7974
5d41d91a
L
79752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * string/test-strstr.c (check2): Add a test for page boundary.
7978
3baddb72
DM
79792012-10-05 David S. Miller <davem@davemloft.net>
7980
7981 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7982 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7983 file.
7984 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7985 sysdep_routines.
7986 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7987 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7988 and bzero when HWCAP_SPARC_CRYPTO is present.
7989
9cee5585
L
79902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7991
d7e0dab9
L
7992 [BZ #14602]
7993 * string/test-strstr.c (check2): New function.
7994 (test_main): Call check2.
7995
03759f47
L
7996 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7997 and bug-strchr1.
7998 * string/bug-strcasestr1.c (do_test): Moved to ...
7999 * string/test-strcasestr.c (check1): Here. New function.
8000 (do_one_test): Break out result checking code into ...
8001 (check_result): This. New function.
8002 (do_one_test): Call check_result.
8003 (test_main): Call check1.
8004 * string/bug-strchr1.c (do_test): Moved to ...
8005 * string/test-strchr.c (check1): Here. New function.
8006 (do_one_test): Break out result checking code into ...
8007 (check_result): This. New function.
8008 (do_one_test): Call check_result.
8009 (test_main): Call check1.
8010 * string/bug-strstr1.c (main): Moved to ...
046f153e 8011 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8012 (do_one_test): Break out result checking code into ...
8013 (check_result): This. New function.
8014 (do_one_test): Call check_result.
8015 (test_main): Call check1.
8016 * string/bug-strcasestr1.c: Removed.
8017 * string/bug-strchr1.c: Likewise.
8018 * string/bug-strstr1.c: Likewise.
8019
53cea63e
L
8020 * elf/Makefile (dl-routines): Add hwcaps.
8021 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8022 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8023 (_dl_important_hwcaps): Moved to ...
8024 * elf/dl-hwcaps.c: Here. New file.
8025 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8026
9cee5585 8027 [BZ #14557]
bb859b06
L
8028 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8029 if IS_IN_rtld isn't defined.
8030
9cee5585
L
8031 * elf/dl-support.c (_dl_sysinfo_map): New.
8032 Include "get-dynamic-info.h" and "setup-vdso.h".
8033 (_dl_non_dynamic_init): Call setup_vdso.
8034 * elf/dynamic-link.h: Don't include <assert.h>.
8035 (elf_get_dynamic_info): Moved to ...
8036 * elf/get-dynamic-info.h: Here. New file.
8037 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8038 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8039 * elf/setup-vdso.h: Here. New file.
8040 * elf/rtld.c: Include "setup-vdso.h".
8041 (dl_main): Call setup_vdso.
8042
23c31b76
JM
80432012-10-05 Joseph Myers <joseph@codesourcery.com>
8044
28234b07
JM
8045 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8046 creal in comment listing functions tested. List finite, isinf,
8047 isnan, isless, islessequal, isgreater, isgreaterequal,
8048 islessgreater, isunordered, lgamma_r and pow10 as functions and
8049 macros not tested. Mention which functions not tested are aliases
8050 for other functions. Fix typo. Note that signs of NaNs are not
8051 tested.
8052
23c31b76
JM
8053 * scripts/config.guess: Update from config.git.
8054 * scripts/config.sub: Likewise.
8055
9043e228
RM
80562012-10-04 Roland McGrath <roland@hack.frob.com>
8057
8058 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8059 * misc/madvise.c (madvise): Renamed to __madvise.
8060 Make madvise a weak alias.
8061 * include/sys/mman.h: Declare __madvise.
8062 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8063 * sysdeps/unix/syscalls.list
8064 (madvise): Make __madvise the strong name, and madvise a weak alias.
8065 * sysdeps/unix/sysv/linux/syscalls.list
8066 (madvise, mmap): Remove redundant entries.
8067 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8068 * malloc/malloc.c (mtrim): Likewise.
8069 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8070
f57f8055
RM
80712012-10-03 Roland McGrath <roland@hack.frob.com>
8072
8073 * sysdeps/mach/hurd/dl-cache.c: File removed.
8074 * config.h.in (USE_LDCONFIG): New #undef.
8075 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8076 * configure: Regenerated.
8077 * elf/Makefile (dl-routines): Add dl-cache only under
8078 [$(use-ldconfig) = yes].
8079 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8080 cache on [USE_LDCONFIG].
8081 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8082 [USE_LDCONFIG].
8083 * elf/rtld.c (dl_main): Likewise.
8084
5bb0c10a
PT
80852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8086
8087 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8088 _SC_LEVEL4_CACHE_LINESIZE.
8089
010188c6
RM
80902012-10-03 Roland McGrath <roland@hack.frob.com>
8091
8092 * sysdeps/unix/bsd/confstr.h: File removed.
8093
b6c5ec07
AO
80942012-10-02 Alexandre Oliva <aoliva@redhat.com>
8095
8096 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8097 sys/sdt-config.h.
8098
408223d4
RM
80992012-10-02 Roland McGrath <roland@hack.frob.com>
8100
8101 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8102 Make 'mapoff' field ElfW(Off) rather than off_t.
8103
bb9510dc
DL
81042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8105
fc997c6e
DL
8106 * nscd/Makefile: Remove nscd-cflags and all its users.
8107 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8108 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8109
bb9510dc
DL
8110 [BZ #10631]
8111 * malloc.c (malloc_printerr): Clarify error message.
8112
05699367
L
81132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8114
8115 [BZ #14648]
8116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8117 Set bit_FMA_Usable if FMA is supported.
8118 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8119 macro.
8120 (bit_FMA4_Usable): Updated.
8121 (index_FMA_Usable): New macro.
8122 (CPUID_FMA): Likewise
8123 (HAS_FMA): Defined with bit_FMA_Usable.
8124
51367701
RM
81252012-10-01 Roland McGrath <roland@hack.frob.com>
8126
8127 * bits/types.h (__swblk_t): Type removed.
8128 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8129 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8131 (__SWBLK_T_TYPE): Likewise.
8132 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8133 (__SWBLK_T_TYPE): Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8135 (__SWBLK_T_TYPE): Likewise.
8136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8137 (__SWBLK_T_TYPE): Likewise.
8138
4d57bf63 81392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8140 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8141
8142 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8143 (xdr_mapname): Use YPMAXMAP as maxsize.
8144 (xdr_peername): Use YPMAXPEER as maxsize.
8145 (xdr_keydat): Use YPAXRECORD as maxsize.
8146 (xdr_valdat): Use YPMAXRECORD as maxsize.
8147
93c65d43
RM
81482012-10-01 Roland McGrath <roland@hack.frob.com>
8149
497a03d6
RM
8150 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8151
93c65d43
RM
8152 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8153 * csu/init-first.c: ... here.
8154 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8155 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8156 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8157 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8158 * sysdeps/i386/init-first.c: File removed.
8159 * sysdeps/sh/init-first.c: File removed.
8160
bec749fd
JM
81612012-10-01 Joseph Myers <joseph@codesourcery.com>
8162
8163 [BZ #14645]
8164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8165 if x * y might underflow to zero and z is zero.
8166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8168 * math/libm-test.inc (min_subnorm_value): New variable.
8169 (fma_test): Add more tests.
8170 (fma_test_towardzero): Likewise.
8171 (fma_test_downward): Likewise
8172 (fma_test_upward): Likewise.
8173 (initialize): Set min_subnorm_value.
8174
8ec5b013
JM
81752012-09-29 Joseph Myers <joseph@codesourcery.com>
8176
8177 [BZ #14638]
8178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8179 0 + 0.
8180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8181 mode for addition resulting in exact zero.
8182 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8184 exact 0 + 0.
8185 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8187 * math/libm-test.inc (fma_test): Add more tests.
8188 (fma_test_towardzero): New function.
8189 (fma_test_downward): Likewise.
8190 (fma_test_upward): Likewise.
8191 (main): Call the new functions.
8192
b1fa802e
DM
81932012-09-28 David S. Miller <davem@davemloft.net>
8194
8195 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8196
d3b9fd9e
RM
81972012-09-28 Roland McGrath <roland@hack.frob.com>
8198
ea4d37b3
RM
8199 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8200 instead of SIGALRM.
8201
ac51c949
RM
8202 * sysdeps/gnu/_G_config.h: Moved to ...
8203 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8204 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8205 * sysdeps/generic/_G_config.h: ... here.
8206
28c195f7
RM
8207 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8208
848917f9
RM
8209 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8210
6bacf05b
RM
8211 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8212 Conditionalize target on [libnss_test1.so-version].
8213
91363dbb
RM
8214 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8215
cc87f7d8
RM
8216 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8217 (elfobjdir): Move out of conditionals.
8218
b1c608fe
RM
8219 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8220 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8221 (__nss_lookup_function): Conditionalize label remove_from_tree on
8222 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8223
1d9a6d96
DM
82242012-09-28 David S. Miller <davem@davemloft.net>
8225
8226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8227 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8228 file.
8229 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8230 sysdep_routines.
8231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8233 when HWCAP_SPARC_CRYPTO is present.
8234
72581615
PT
82352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8236
8237 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8238
715a900c
JL
82392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8240
8241 [BZ #6530]
8242 * stdio-common/vfprintf.c (process_string_arg): Revert
8243 2000-07-22 change.
8244
82452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8246
8247 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8248 for testcase.
8249 * stdio-common/tst-sprintf.c: Include <locale.h>
8250 (main): Test sprintf's handling of incomplete multibyte
8251 characters.
8252
9bac1d86
L
82532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8254
8255 * elf/dl-runtime.c (VERSYMIDX): Removed.
8256 * elf/dl-version.c (VERSYMIDX): Likewise.
8257 * elf/do-rel.h (VERSYMIDX): Likewise.
8258 (VALIDX): Likewise.
8259 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8260 * elf/rtld.c (VALIDX): Likewise.
8261 (ADDRIDX): Likewise.
9bac1d86
L
8262 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8263 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8264 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8265 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8266 (VALIDX): Likewise.
8267 (ADDRIDX): Likewise.
9bac1d86 8268
b31606c0
PT
82692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8270
8271 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8272
11541177
JL
82732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8274
8275 [BZ #11438]
8276 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8277 to global scope.
8278 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8279 addresses are in the same scope as 192.0.2/24.
8280 * posix/gai.conf: Document new scope table defaults.
8281
adb26fae
SP
82822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8283
8284 [BZ #5298]
8285 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8286 for ftell. Compute offsets from write pointers instead.
8287 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8288
4573c6b0
SP
82892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8290
8291 [BZ #14543]
8292 * libio/Makefile (tests): New test case tst-fseek.
8293 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8294 combination works in wide mode.
8295 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8296 state when the external buffer state changes.
8297
aa9bbfe6
DM
82982012-09-27 David S. Miller <davem@davemloft.net>
8299
8300 [BZ #14376]
8301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8302 pass reloc->r_addend in as the 'high' argument to
8303 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8304
784421e7
DM
8305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8306
c39bc8b8
PT
83072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8308
8309 * rt/tst-aio2.c: Include <pthread.h>.
8310 * rt/tst-aio3.c: Likewise.
8311
1ccc2399
SE
83122012-09-27 Steve Ellcey <sellcey@mips.com>
8313
8314 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8315
31ed4153
L
83162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8317
25f5f885
L
8318 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8319 contents on [SHARED].
31ed4153 8320
b7bfe116
MP
83212012-09-26 Marek Polacek <polacek@redhat.com>
8322
8323 [BZ #14530]
8324 [BZ #13741]
8325 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8326 for C++ and GCC <4.3 as well as for non GCC compilers.
8327
43c4edba
MT
83282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8329
8330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8331
6a1bf82f
RM
83322012-09-25 Roland McGrath <roland@hack.frob.com>
8333
8334 * Makefile.in (all, install): Declare with .PHONY.
8335 Reported by Michael Hope <michael.hope@linaro.org>.
8336
8ad11b9a
TMQMF
83372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8338
8339 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8340 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8341 system header.
8342 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8343 Likewise.
8344 (sydep_routines): Add the new and the internal functions.
8345 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8346 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8348 (GLIBC_2.17): Add the new function.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8350 (GLIBC_2.17): Likewise.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8352 (GLIBC_2.17): Likewise.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8354 (GLIBC_2.17): Likewise.
8355 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8356
7e2fca8d
AM
83572012-09-25 Alan Modra <amodra@gmail.com>
8358
8359 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8360 Add release barrier before setting once_control to say
8361 initialisation is done. Add hints on lwarx. Use macro in
8362 place of isync.
8363 (clear_once_control): Add release barrier.
8364
b87c4b24
JM
83652012-09-25 Joseph Myers <joseph@codesourcery.com>
8366
d032e0d2
JM
8367 [BZ #13629]
8368 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8369 specially.
8370 * math/s_clog10.c (__clog10): Likewise.
8371 * math/s_clog10f.c (__clog10f): Likewise.
8372 * math/s_clog10l.c (__clog10l): Likewise.
8373 * math/s_clogf.c (__clogf): Likewise.
8374 * math/s_clogl.c (__clogl): Likewise.
8375 * math/Makefile (libm-calls): Add x2y2m1.
8376 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8377 (__x2y2m1): Likewise.
8378 (__x2y2m1l): Likewise.
8379 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8380 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8385 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8386 * sysdeps/i386/fpu/libm-test-ulps: Update.
8387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8388
b87c4b24
JM
8389 [BZ #14621]
8390 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8391 int as type of variable DEPTH.
8392 (glob): Use size_t instead of int as type of variables NEWCOUNT
8393 and OLD_PATHC.
8394
6d3bf199
LD
83952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8396
22bf5c17
LD
8397 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8398 Add s_sincosf-sse2.
8399 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8400 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8401 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8402 macros for using routine as __sincosf_ia32.
8403 Use macro for function declaration and weak_alias.
8404 * sysdeps/i386/fpu/libm-test-ulps: Update.
8405
8406 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8408
8409 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8410 subnormal argument.
8411 * math/s_cexpf.c (__cexpf): Likewise.
8412 * math/s_csinf.c (__csinf): Likewise.
8413 * math/s_csinhf.c (__csinhf): Likewise.
8414 * math/s_ctanf.c (__ctanf): Likewise.
8415 * math/s_ctanhf.c (__ctanhf): Likewise.
8416 * math/s_ccosh.c (__ccoshf): Likewise.
8417 * math/s_cexp.c (__cexpl): Likewise.
8418 * math/s_csin.c (__csin): Likewise.
8419 * math/s_csinh.c (__csinh): Likewise.
8420 * math/s_ctan.c (__ctan): Likewise.
8421 * math/s_ctanh.c (ctanh): Likewise.
8422 * math/s_ccoshl.c (__ccoshl): Likewise.
8423 * math/s_cexpl.c (__cexpl): Likewise.
8424 * math/s_csinl.c (__csinl): Likewise.
8425 * math/s_csinhl.c (__csinhl): Likewise.
8426 * math/s_ctanl.c (__ctanl): Likewise.
8427 * math/s_ctanhl.c (__ctanhl): Likewise.
8428
203e5603
JM
84292012-09-25 Joseph Myers <joseph@codesourcery.com>
8430
8431 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8432 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8433 (_IO_off_t): Define to __off_t, not _G_off_t.
8434 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8435 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8436 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8437 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8438 type of __dummy and __dummy2 fields.
8439 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8440 (_G_ssize_t): Likewise.
8441 (_G_off_t): Likewise.
8442 (_G_pid_t): Likewise.
8443 (_G_uid_t): Likewise.
8444 (_G_wchar_t): Likewise.
8445 (_G_wint_t): Likewise.
8446 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8447 (_G_ssize_t): Likewise.
8448 (_G_off_t): Likewise.
8449 (_G_pid_t): Likewise.
8450 (_G_uid_t): Likewise.
8451 (_G_wchar_t): Likewise.
8452 (_G_wint_t): Likewise.
8453 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8454 (_G_ssize_t): Likewise.
8455 (_G_off_t): Likewise.
8456 (_G_pid_t): Likewise.
8457 (_G_uid_t): Likewise.
8458 (_G_wchar_t): Likewise.
8459 (_G_wint_t): Likewise.
8460
9fab36eb
SP
84612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8462
8463 * malloc/arena.c: Include malloc-sysdep.h.
8464 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8465 is sufficient to shrink the heap or an unmap is needed.
8466 * sysdeps/generic/malloc-sysdep.h: New file. Define
8467 new function check_may_shrink_heap.
8468 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8469 new function check_may_shrink_heap.
8470
2b4f00d1
SP
84712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8472
8473 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8474 comments.
8475
9a9028b1
DL
84762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8477
57c69bef
DL
8478 * catgets/test-gencat.sh: Add "set -e".
8479 * elf/tst-pathopt.sh: Likewise.
8480 * grp/tst_fgetgrent.sh: Likewise.
8481 * iconvdata/run-iconv-test.sh: Likewise.
8482 * intl/tst-gettext.sh: Likewise.
8483 * intl/tst-gettext2.sh: Likewise.
8484 * intl/tst-gettext4.sh: Likewise.
8485 * intl/tst-gettext6.sh: Likewise.
8486 * intl/tst-translit.sh: Likewise.
8487 * io/ftwtest-sh: Likewise.
8488 * libio/test-freopen.sh: Likewise.
8489 * malloc/tst-mtrace.sh: Likewise.
8490 * posix/globtest.sh: Likewise.
8491 * posix/tst-getconf.sh: Likewise.
8492 * posix/wordexp-tst.sh: Likewise.
8493 * stdio-common/tst-printf.sh: Likewise.
8494 * stdio-common/tst-unbputc.sh: Likewise.
8495 * stdlib/tst-fmtmsg.sh: Likewise.
8496 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8497 * catgets/Makefile: Do not specify -e option when running
8498 testsuite shell scripts.
8499 * elf/Makefile: Likewise.
8500 * grp/Makefile: Likewise.
8501 * iconvdata/Makefile: Likewise.
8502 * intl/Makefile: Likewise.
8503 * io/Makefile: Likewise.
8504 * libio/Makefile: Likewise.
8505 * malloc/Makefile: Likewise.
8506 * posix/Makefile: Likewise.
8507 * stdio-common/Makefile: Likewise.
8508 * stdlib/Makefile: Likewise.
8509 * sysdeps/x86_64/Makefile: Likewise.
8510
9a9028b1
DL
8511 * io/ftwtest-sh: Add copyright header.
8512 * posix/globtest.sh: Likewise.
8513 * posix/tst-getconf.sh: Likewise.
8514 * posix/wordexp-tst.sh: Likewise.
8515 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8516
ced6f16e
L
85172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8518
94b32c39
L
8519 [BZ #13679]
8520 * Makeconfig (+link): Defined as $(+link-static) if
8521 $(build-shared) isn't yes.
8522 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8523 isn't yes.
8524 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8525
189e935b
L
8526 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8527
ced6f16e
L
8528 [BZ #14562]
8529 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8530 new chunk size with MALLOC_ALIGN_MASK.
8531
a9f8e53a
JM
85322012-09-24 Joseph Myers <joseph@codesourcery.com>
8533
8534 [BZ #5044]
8535 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8536 <rounding-mode.h>.
8537 (__printf_fphex): Determine rounding using get_rounding_mode and
8538 round_away.
8539 * stdio-common/tst-printf-round.c (struct hex_test): New
8540 structure.
8541 (hex_tests): New variable.
8542 (test_hex_in_one_mode): New function.
8543 (do_test): Also run tests for hex float output.
8544
43153109
JM
85452012-09-21 Joseph Myers <joseph@codesourcery.com>
8546
8547 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8548 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8549 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8550 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8551 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8552 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8553 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8554 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8555
8a26625d
JM
85562012-09-20 Joseph Myers <joseph@codesourcery.com>
8557
8558 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8559 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8560 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8561 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8562
f3fd569c
DL
85632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8564
8565 [BZ #14579]
8566 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8567 mode only.
8568 * elf/tst-rtld-load-self.sh: New test.
8569 * elf/Makefile: Run it.
8570
63bbedd4
JM
85712012-09-18 Joseph Myers <joseph@codesourcery.com>
8572
8573 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8574 (tst-writev-ENV): Remove.
8575 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8576
626f8b6a
CM
85772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8578
8579 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8580
b7aaa4d6
JM
85812012-09-17 Joseph Myers <joseph@codesourcery.com>
8582
8583 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8584 unconditional.
8585 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8586 Likewise.
8587 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8588 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8589 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8590 Likewise.
8591
65513990
L
85922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 [BZ #14587]
8595 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8596 * config.make.in (have-cpp-asm-debuginfo): Removed.
8597 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8598 * configure: Regenerated.
8599
784761be
JM
86002012-09-14 Joseph Myers <joseph@codesourcery.com>
8601
8602 [BZ #5044]
8603 * stdio-common/printf_fp.c: Include <stdbool.h> and
8604 <rounding-mode.h>.
8605 (___printf_fp): Determine rounding using get_rounding_mode and
8606 round_away.
8607 * stdio-common/tst-printf-round.c: New file.
8608 * stdio-common/Makefile (tests): Add tst-printf-round.
8609 (link-libm): New variable.
8610 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8611
9503345f
L
86122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 [BZ #14576]
8615 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8616 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8617 Likewise.
8618 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8619 Likewise.
8620
ad35fc00
JM
86212012-09-13 Joseph Myers <joseph@codesourcery.com>
8622
8623 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8624 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8625 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8626 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8627
6c9b0f68
JM
86282012-09-12 Joseph Myers <joseph@codesourcery.com>
8629
8630 [BZ #14518]
8631 * include/rounding-mode.h: New file.
8632 * sysdeps/generic/get-rounding-mode.h: Likewise.
8633 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8634 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8635 (MAX_VALUE): New macro.
8636 (MIN_VALUE): Likewise.
8637 (overflow_value): New function.
8638 (underflow_value): Likewise.
8639 (round_and_return): Use overflow_value and underflow_value to
8640 determine return values in overflow and underflow cases. Use
8641 round_away to determine rounding depending on rounding mode.
8642 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8643 determine return values in overflow and underflow cases.
8644 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8645 (struct test_results): New structure.
8646 (struct test): Use struct test_results to store expected results
8647 for all rounding modes.
8648 (TEST): Include expected results for all rounding modes.
8649 (test_in_one_mode): New function.
8650 (do_test): Use test_in_one_mode to compute and check results.
8651 Check results for all rounding modes.
8652 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8653 $(link-libm).
8654
19fcedd5
AM
86552012-12-09 Allan McRae <allan@archlinux.org>
8656
1e9d84cd 8657 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8658
8bbfd2f1
JM
86592012-09-11 Joseph Myers <joseph@codesourcery.com>
8660
8661 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8662 (_G_int32_t): Likewise.
8663 (_G_uint16_t): Likewise.
8664 (_G_uint32_t): Likewise.
8665 (_G_HAVE_BOOL): Likewise.
8666 (_G_HAVE_ATEXIT): Likewise.
8667 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8668 (_G_HAVE_IO_FILE_OPEN): Likewise.
8669 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8670 (_G_int32_t): Likewise.
8671 (_G_uint16_t): Likewise.
8672 (_G_uint32_t): Likewise.
8673 (_G_HAVE_BOOL): Likewise.
8674 (_G_HAVE_ATEXIT): Likewise.
8675 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8676 (_G_HAVE_IO_FILE_OPEN): Likewise.
8677 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8678 (_G_int32_t): Likewise.
8679 (_G_uint16_t): Likewise.
8680 (_G_uint32_t): Likewise.
8681 (_G_HAVE_BOOL): Likewise.
8682 (_G_HAVE_ATEXIT): Likewise.
8683 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8684 (_G_HAVE_IO_FILE_OPEN): Likewise.
8685
b1dc5912
L
86862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * csu/libc-tls.c: Update copyright years.
8689
0e886ef9
JM
86902012-09-10 Joseph Myers <joseph@codesourcery.com>
8691
28361c5e
JM
8692 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8693 [!_G_USING_THUNKS]: Remove conditional code.
8694 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8695 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8696
0e886ef9
JM
8697 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8698 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8699 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8700 (_G_VTABLE_LABEL_PREFIX): Likewise.
8701 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8702 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8704 (_G_VTABLE_LABEL_PREFIX): Likewise.
8705 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8706 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8707 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8708 (_G_VTABLE_LABEL_PREFIX): Likewise.
8709 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8710
bcba7aa2
L
87112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 * libio/Makefile: Include ../Makeconfig before tests.
8714 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8715 only if $(build-shared) is yes.
8716
06585ee8
L
8717 * iconv/gconv_db.c: Update copyright years.
8718
80ccd52c
LD
87192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8720
8721 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8722 unwind info if defined PIC. Fix special cases description.
8723 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8724
8725 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8726 DP_HI_MASK entry.
8727 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8728
691bc9c1
L
87292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8730
3d9b46b3
L
8731 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8732
de2139a9
L
8733 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8734 is NULL.
8735
5ca78dd0
L
8736 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8737 (LDLIBS-tst-chk4): This.
8738 (LDFLAGS-tst-chk5): Renamed to ...
8739 (LDLIBS-tst-chk5): This.
8740 (LDFLAGS-tst-chk6): Renamed to ...
8741 (LDLIBS-tst-chk6): This.
8742 (LDFLAGS-tst-lfschk4): Renamed to ...
8743 (LDLIBS-tst-lfschk4): This.
8744 (LDFLAGS-tst-lfschk5): Renamed to ...
8745 (LDLIBS-tst-lfschk5): This.
8746 (LDFLAGS-tst-lfschk6): Renamed to ...
8747 (LDLIBS-tst-lfschk6): This.
8748
691bc9c1
L
8749 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8750 on $(common-objpfx)soversions.mk.
8751
65cafb1c
JM
87522012-09-07 Joseph Myers <joseph@codesourcery.com>
8753
8754 [BZ #10014]
8755 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8756 example host name.
8757
c78ab094
SP
87582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8759
8760 * malloc/arena.c (arena_get_retry): New function that gets
8761 another arena for the caller to try its request on.
8762 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8763 current arena cannot fulfill the request.
8764 (__libc_memalign): Likewise.
8765 (__libc_memalign): Likewise.
8766 (__libc_pvalloc): Likewise.
8767 (__libc_calloc): Likewise.
8768
01f49f59
JT
87692012-09-05 John Tobey <john.tobey@gmail.com>
8770
8771 [BZ #13542]
8772 * manual/arith.texi (Operations on Complex): Fix description
8773 of carg branch cut.
8774
4c23fed5
JM
87752012-09-06 Joseph Myers <joseph@codesourcery.com>
8776
1d3c8572
JM
8777 [BZ #10014]
8778 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8779 host name.
8780
4c23fed5
JM
8781 [BZ #10038]
8782 * manual/memory.texi (Memory): Make order of menu items match
8783 order of sections.
8784
04570aaa
L
87852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8786
8787 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8788 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8789 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8790
b80af2f4
L
87912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8792
8793 * csu/libc-tls.c (static_dtv): Renamed to ...
8794 (_dl_static_dtv): This. Make it global.
8795 (_dl_initial_dtv): Removed.
8796 (__libc_setup_tls): Updated.
8797 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8798 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8799 DL_INITIAL_DTV.
8800
2abe9f15
PM
88012012-09-06 Petr Machata <pmachata@redhat.com>
8802
8803 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8804 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8805 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8806 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8807
0948c3af
L
88082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 [BZ #14545]
8811 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8812 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8813 freeing dtv[-1].
8814
a5055ad1
L
88152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 [BZ #14544]
8818 * Makeconfig (link-static-before-libc): Replace $(+prector)
8819 with $(+prectorT).
8820 (link-static-after-libc): Replace $(+postctor) with
8821 $(+postctorT).
8822 (link-bounded): Replace $(+prector)/$(+postctor) with
8823 $(+prectorT)/$(+postctorT).
8824 (+prectorT): New macro.
8825 (+postctorT): Likewise.
8826
ed8c2ecd
JM
88272012-09-06 Joseph Myers <joseph@codesourcery.com>
8828
8829 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8830 (round_str): Handle values above the maximum for IBM long double
8831 as inexact.
8832 * stdlib/tst-strtod-round.c (tests): Regenerated.
8833
14c996c8
AK
88342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8835
8836 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8837 assembler flag.
8838 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8839 zarch_nohighgprs around the zarch optimized routines.
8840 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8841 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8843 for zarch.
8844
430d6ce6
DM
88452012-09-05 David S. Miller <davem@davemloft.net>
8846
8847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8848
ff04dda4
DM
8849 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8850 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8851 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8852 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8853 entries.
8854
24d4e01b
AO
88552012-09-05 Alexandre Oliva <aoliva@redhat.com>
8856
8857 * malloc/arena.c: Fold copyright years.
8858 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8859
61d58174
AO
88602012-09-05 Alexandre Oliva <aoliva@redhat.com>
8861
8862 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8863
20196a5e
AO
88642012-09-05 Alexandre Oliva <aoliva@redhat.com>
8865
8866 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8867
5c447383
AO
88682012-09-05 Alexandre Oliva <aoliva@redhat.com>
8869
8870 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8871 change internal state upon failure.
8872
fad64255
AO
88732012-09-05 Alexandre Oliva <aoliva@redhat.com>
8874
8875 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8876 * malloc/memusage.c (mmap): Likewise.
8877 (mmap64, mremap): Likewise. Adjust name in comment.
8878
1ffb8c90
SP
88792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8880
8881 * libio/fileops.c: Fix typos in comments.
8882 * libio/oldfileops.c: Likewise.
8883 * libio/wfileops.c: Likewise.
8884
6ef9cc37
SP
88852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8886
8887 [BZ #1349]
8888 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8889 (tst-malloc-usable-ENV): Set environment for test case.
8890 * malloc/hooks.c (malloc_check_get_size): New function to get
8891 requested size.
8892 * malloc/malloc.c (musable): Use malloc_check_get_size.
8893 * malloc/tst-malloc-usable.c: New test case.
8894
4d038ae3
AS
88952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8898
c4e85184
AM
88992012-09-05 Allan McRae <allan@archlinux.org>
8900
b9dafc56 8901 [BZ #13966]
c4e85184
AM
8902 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8903 determine header location.
8904 * configure: Regenerated.
8905
e1343020
AS
89062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8909 float format.
8910 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8911 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8912 format.
e1343020
AS
8913 (test): Regenerate.
8914
0a9f1987
DM
89152012-09-04 David S. Miller <davem@davemloft.net>
8916
8917 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8918 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8920
29237804
FW
89212012-09-04 Florian Weimer <fweimer@redhat.com>
8922
8923 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8924 failures.
8925
edb3cb88
FW
8926 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8927
60160d83
JM
89282012-09-04 Joseph Myers <joseph@codesourcery.com>
8929
8930 [BZ #9914]
8931 * libio/iogetdelim.c: Include <limits.h>.
8932 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8933 + len + 1 would overflow.
8934
bcd6c8dc
AJ
89352012-09-03 Andreas Jaeger <aj@suse.de>
8936
8937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8938 * sysdeps/i386/fpu/libm-test-ulps: Update.
8939
4ffffbd2
LD
89402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8941
8942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8943 Add s_sinf-sse2, s_conf-sse2.
8944
8945 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8946 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8947 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8948 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8949
8950 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8951 for using routine as __sinf_ia32.
8952 Use macro for function declaration and weak_alias.
8953 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8954 for using routine as __cosf_ia32.
8955 Use macro for function declaration and weak_alias.
8956
8957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8958 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8959
8960 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8961 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8963
8964 * math/libm-test.inc (cos_test): Add more test cases.
8965 (sin_test): Likewise.
8966 (sincos_test): Likewise.
8967
511fa286
AK
89682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8969
8970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8971 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8972 hidden.
8973 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8974
5f30cfec
L
89752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 [BZ #14538]
8978 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8979 first element of the GOT.
8980 (elf_machine_load_address): Return the difference between
8981 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8982
0786794f
AM
89832012-09-01 Allan McRae <allan@archlinux.org>
8984
5f30cfec
L
8985 [BZ #13412]
8986 * configure.in (AWK): Require gawk version 3.0 or later.
8987 * configure: Regenerated.
0786794f 8988
26889eac
JM
89892012-09-01 Joseph Myers <joseph@codesourcery.com>
8990
8991 * sysdeps/unix/sysv/linux/kernel-features.h
8992 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8994 [__NR_clock_getres]: Make code unconditional.
8995 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8996 (clock_getcpuclockid): Remove code left unreachable by removal of
8997 conditionals.
8998 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8999 code unconditional.
9000 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9001 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9002 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9003 Make code unconditional.
9004 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9005 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9006 * sysdeps/unix/sysv/linux/clock_settime.c
9007 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9008 conditional code.
9009 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9010 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9011
d22e28b0
L
90122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 [BZ #14476]
9015 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9016 scripts/test-installation.pl.
9017
9018 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9019 and $ld_so_version if it is set.
9020
050af9c4
SP
90212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9022
9023 [BZ #14516]
9024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9025 failure if reading from procfs failed.
9026 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9027
ad845c0b
JM
90282012-08-27 Joseph Myers <joseph@codesourcery.com>
9029
9030 * sysdeps/unix/sysv/linux/kernel-features.h
9031 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9032 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9033 Remove conditional code.
9034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9035 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9036 Remove conditional code.
9037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9038 * sysdeps/unix/sysv/linux/i386/fxstat.c
9039 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9041 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9042 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9043 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9044 * sysdeps/unix/sysv/linux/i386/lxstat.c
9045 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9047 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9048 Remove conditional code.
9049 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9050 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9051 Remove conditional code.
9052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9053 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9054 <kernel-features.h>.
9055 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9056 Remove.
9057 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9058 Remove conditional code.
9059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9060 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9061 Remove conditional.
9062
5dbf56af
MF
90632012-08-27 Mike Frysinger <vapier@gentoo.org>
9064
9065 [BZ #5400]
9066 * NEWS: Add fixed bug number.
9067
d6e70f43
JM
90682012-08-27 Joseph Myers <joseph@codesourcery.com>
9069
7efb4737
JM
9070 [BZ #14519]
9071 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9072 underflowing exponent in case of negative sign.
9073 * stdlib/tst-strtod-round-data: Add more tests.
9074 * stdlib/tst-strtod-round.c (tests): Regenerated.
9075
af92131a
JM
9076 [BZ #3479]
9077 * stdlib/strtod_l.c (NDIG): Remove.
9078 (HEXNDIG): Likewise.
9079 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9080 smallest representable value.
9081 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9082 lie within an exact representation of 1/2 ulp of the result.
9083 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9084 unconditionally.
9085 (TENS_P9_IDX): Define unconditionally.
9086 (TENS_P9_SIZE): Likewise.
9087 (TENS_P10_IDX): Likewise.
9088 (TENS_P10_SIZE): Likewise.
9089 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9090 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9091 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9092 entries for 10^2^13 and 10^2^14.
9093 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9094 (TENS_P13_IDX): Define.
9095 (TENS_P13_SIZE): Likewise.
9096 (TENS_P14_IDX): Likewise.
9097 (TENS_P14_SIZE): Likewise.
9098 (_fpioconst_pow10): Change array size to
9099 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9100 unconditional.
9101 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9102 1024]: Add entries for 10^2^13 and 10^2^14.
9103 [LAST_POW10 > _LAST_POW10]: Remove #error.
9104 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9105 (_fpioconst_pow10): Change array size to
9106 FPIOCONST_POW10_ARRAY_SIZE.
9107 * stdlib/gen-fpioconst.c: New file.
9108 * stdlib/gen-tst-strtod-round.c: Likewise.
9109 * stdlib/tst-strtod-round-data: Likewise.
9110 * stdlib/tst-strtod-round.c: Likewise.
9111 * stdlib/Makefile (tests): Add tst-strtod-round.
9112
d6e70f43
JM
9113 [BZ #14459]
9114 * stdlib/strtod_l.c: Include <stdint.h>.
9115 (NDEBUG): Do not define.
9116 (round_and_return): Change EXPONENT parameter to type intmax_t.
9117 Rearrange calculations to avoid internal overflow possibilities.
9118 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9119 Rearrange calculations to avoid internal overflow possibilities.
9120 Assert that number fits inside MPNSIZE limbs.
9121 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9122 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9123 calculations and add assertions to avoid internal overflow
9124 possibilities. Add casts to avoid signed/unsigned operations.
9125 * stdlib/tst-strtod-overflow.c: New file.
9126 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9127
1f529f7d
MP
91282012-08-25 Marek Polacek <polacek@redhat.com>
9129
9130 * time/time.h: Fix some typos in comments.
9131
59a629f1
RM
91322012-08-23 Roland McGrath <roland@hack.frob.com>
9133
9134 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9135 * posix/tst-rfc3484-2.c: Likewise.
9136 * posix/tst-rfc3484-3.c: Likewise.
9137
d3bafbc9
SM
91382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9139
9140 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9141 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9142
4efcc022
JM
91432012-08-23 Joseph Myers <joseph@codesourcery.com>
9144
9145 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9146 #include of fxstatat64.c.
9147
3cc3ef96
RM
91482012-08-22 Roland McGrath <roland@hack.frob.com>
9149
f04e2132
RM
9150 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9151 * shadow/getspent_r.c: Likewise.
9152 * shadow/getspnam.c: Likewise.
9153 * shadow/getspnam_r.c: Likewise.
9154 * gshadow/getsgent.c: Likewise.
9155 * gshadow/getsgent_r.c: Likewise.
9156 * gshadow/getsgnam.c: Likewise.
9157 * gshadow/getsgnam_r.c: Likewise.
9158 * inet/getnetbyad.c: Likewise.
9159 * inet/getnetbyad_r.c: Likewise.
9160 * inet/getnetbynm.c: Likewise.
9161 * inet/getnetbynm_r.c: Likewise.
9162 * inet/getnetent.c: Likewise.
9163 * inet/getnetent_r.c: Likewise.
9164 * inet/getproto.c: Likewise.
9165 * inet/getproto_r.c: Likewise.
9166 * inet/getprtent.c: Likewise.
9167 * inet/getprtent_r.c: Likewise.
9168 * inet/getprtname.c: Likewise.
9169 * inet/getprtname_r.c: Likewise.
9170 * inet/getrpcbyname.c: Likewise.
9171 * inet/getrpcbyname_r.c: Likewise.
9172 * inet/getrpcbynumber.c: Likewise.
9173 * inet/getrpcbynumber_r.c: Likewise.
9174 * inet/getrpcent.c: Likewise.
9175 * inet/getrpcent_r.c: Likewise.
9176 * inet/getaliasent.c: Likewise.
9177 * inet/getaliasent_r.c: Likewise.
9178 * inet/getaliasname.c: Likewise.
9179 * inet/getaliasname_r.c: Likewise.
9180 * nscd/getgrgid_r.c: Likewise.
9181 * nscd/getgrnam_r.c: Likewise.
9182 * nscd/gethstbyad_r.c: Likewise.
9183 * nscd/gethstbynm3_r.c: Likewise.
9184 * nscd/getpwnam_r.c: Likewise.
9185 * nscd/getpwuid_r.c: Likewise.
9186 * nscd/getsrvbynm_r.c: Likewise.
9187 * nscd/getsrvbypt_r.c: Likewise.
9188 * nscd/gai.c: Likewise.
9189
c53d909c
RM
9190 * configure.in (build_nscd): New substituted variable, set
9191 by --disable-build-nscd and defaults to $use_nscd.
9192 * configure: Regenerated.
9193 * config.make.in (build-nscd): New substituted variable.
9194 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9195 Change conditional to require [$(build-nscd) = yes] as well.
9196 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9197
3cc3ef96
RM
9198 [BZ# 13696]
9199 * configure.in (use_nscd): New substituted variable, set by
9200 --disable-nscd. If enabled, define USE_NSCD.
9201 * configure: Regenerated.
9202 * config.h.in: Add USE_NSCD.
9203 * config.make.in (use-nscd): New substituted variable.
9204 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9205 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9206 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9207 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9208 (CFLAGS-getgrnam_r.c): Likewise.
9209 (CFLAGS-initgroups.c): Likewise.
9210 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9211 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9212 Variables removed.
9213 * inet/getnetgrent_r.c
9214 (nscd_setnetgrent): New function, broken out of ...
9215 (setnetgrent): ... here. Call it.
9216 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9217 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9218 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9219 * nscd/Makefile (routines, aux): Move definitions after include of
9220 Makeconfig. Conditionalize on [$(use-nscd) != no].
9221 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9222 Conditionalize on [USE_NSCD].
9223 (is_nscd, nscd_init_cb): Likewise.
9224 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9225 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9226 * nss/nss_db/db-init.c: Likewise.
9227 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9228 [USE_NSCD].
9229 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9230 (make_request): Use it.
9231 (cache_valid_p): New function.
9232 (__check_pf): Use it.
9233 * NEWS: Add item for --disable-nscd.
9234
07e51550
DL
92352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9236
9237 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9238 to support sed >= 4.2.1-20-ga9bf076.
9239 * configure: Regenerated.
9240
35a5b08b
RM
92412012-08-22 Roland McGrath <roland@hack.frob.com>
9242
9243 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9244 Conditionalize whole body on [IREL].
9245
8479f23a
JL
92462012-08-22 Jeff Law <law@redhat.com>
9247
9248 [BZ #14505]
9249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9250 if the family is PF_UNSPEC.
9251
48da0b21
MF
92522012-08-22 Mike Frysinger <vapier@gentoo.org>
9253
9254 * Makerules (lib-version): Rename from V.
9255 (install-lib-nosubdir): Change V to lib-version.
9256
15d0da8c
WS
92572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9258
9259 [BZ #14252]
9260 * powerpc32/power6/wcschr.c: New file.
9261 * powerpc32/power6/wcscpy.c: New file.
9262 * powerpc32/power6/wcsrchr.c: New file.
9263 * powerpc64/power6/wcschr.c: New file.
9264 * powerpc64/power6/wcscpy.c: New file.
9265 * powerpc64/power6/wcsrchr.c: New file.
9266
bcca0895
MK
92672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9268
9269 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9270 (two_way_short_needle): Use it.
5a4aaa33
RM
9271 * string/strstr.c (AVAILABLE1_USES_J): Define.
9272 * string/strcasestr.c: Likewise.
99677e57
MK
9273
9274 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9275 array references.
9276 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9277
400726de
MK
9278 [BZ #11607]
9279 * NEWS: Add an entry.
9280 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9281 define their defaults.
9282 (two_way_short_needle): Detect end-of-string on-the-fly.
9283 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9284 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9285 * string/bug-strcasestr1.c: New test.
9286 * string/Makefile: Run it.
9287
20a71f2c
MK
92882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9289
9290 [BZ #11607]
9291 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9292 the first character.
9293
21ad0558
RM
92942012-08-21 Roland McGrath <roland@hack.frob.com>
9295
9296 * csu/elf-init.c (__libc_csu_irel): Function removed.
9297 * csu/libc-start.c (apply_irel): New function.
9298 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9299
0e1d9911
JM
93002012-08-21 Joseph Myers <joseph@codesourcery.com>
9301
9302 * sysdeps/unix/sysv/linux/kernel-features.h
9303 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9304 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9305 <kernel-features.h>.
9306 [__NR_fadvise64_64]: Make code unconditional.
9307 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9308 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9309 !__NR_fadvise64_64)]: Likewise.
9310 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9311 !__NR_fadvise64_64))]: Likewise.
9312 [__NR_fadvise64]: Make code unconditional.
9313 [!__NR_fadvise64]: Remove conditional code.
9314 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9315 <kernel-features.h>.
9316 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9317 unconditional.
9318 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9319 conditional code.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9321 not include <kernel-features.h>.
9322 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9323 unconditional.
9324 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9325 conditional code.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9327 include <kernel-features.h>.
9328 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9329 unconditional.
9330 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9331 conditional code.
9332
14a50c9d
WS
93332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9334
9335 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9336 slight instruction rearrangements per scrollpipe analysis.
9337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9338
c0f4faf0
RM
93392012-08-20 Roland McGrath <roland@hack.frob.com>
9340
696da859
RM
9341 * manual/syslog.texi (syslog; vsyslog, closelog):
9342 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9343 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9344
c0f4faf0
RM
9345 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9346 DSOCAPS to match condition on defining it.
9347
348363b2
JM
93482012-08-20 Joseph Myers <joseph@codesourcery.com>
9349
a35cbf28
JM
9350 * sysdeps/unix/sysv/linux/kernel-features.h
9351 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9353 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9354 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9356 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9357 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9359 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9360 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9361
445f7ecd
JM
9362 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9363 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9364
348363b2
JM
9365 * sysdeps/unix/sysv/linux/kernel-features.h
9366 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9367 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9368 unconditional.
9369 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9370 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9371 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9372 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9373 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9374 Make code unconditional.
9375 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9376 (__mmap64) [!__NR_mmap2]: Likewise.
9377 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9378 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9379 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9380 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9381 [__NR_mmap2]: Make code unconditional.
9382 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9383 (__mmap64) [!__NR_mmap2]: Likewise.
9384
bc5bc0e5
AK
93852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9386
9387 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9388
88d506de
AJ
93892012-08-18 Andreas Jaeger <aj@suse.de>
9390
9391 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9392
493387d2
MF
93932012-08-18 Mike Frysinger <vapier@gentoo.org>
9394
9395 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9396 * include/unistd.h (__have_sock_cloexec): Likewise.
9397 (__have_pipe2): Likewise.
9398 (__have_dup3): Likewise.
9399
a277af22
MF
94002012-08-18 Mike Frysinger <vapier@gentoo.org>
9401
9402 [BZ #9685]
9403 * include/unistd.h (__have_pipe2): Change define into an extern int.
9404 (__have_dup3): Likewise.
9405 * socket/have_sock_cloexec.c: Include fcntl.h.
9406 (__have_pipe2): New variable.
9407 (__have_dup3): Likewise.
9408
fdab8fd3
MF
94092012-08-17 Mike Frysinger <vapier@gentoo.org>
9410
9411 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9412
31035e80
MP
94132012-08-17 Marek Polacek <polacek@redhat.com>
9414
9415 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9416 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9417
3bd9e993
RM
94182012-08-17 Roland McGrath <roland@hack.frob.com>
9419
c91c505f
RM
9420 * configure.in: Add AC_SUBST for sysheaders.
9421 * configure: Regenerated.
9422 * config.make.in (sysheaders): New substituted variable.
9423
7c6f9d53
RM
9424 * sysdeps/unix/mkfifo.c: Moved ...
9425 * sysdeps/posix/mkfifo.c: ... here.
9426 * sysdeps/unix/mkfifoat.c: Moved ...
9427 * sysdeps/posix/mkfifoat.c: ... here.
9428
9429 * sysdeps/unix/utime.c: Moved ...
9430 * sysdeps/posix/utime.c: ... here.
9431
9432 * sysdeps/unix/time.c: Moved ...
9433 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9434 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9435 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9436
9437 * sysdeps/unix/nice.c: Moved ...
9438 * sysdeps/posix/nice.c: ... here.
9439
9440 * sysdeps/unix/alarm.c: Moved ...
9441 * sysdeps/posix/alarm.c: ... here.
9442
3bd9e993
RM
9443 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9444
d1f09384
JL
94452012-08-17 Jeff Law <law@redhat.com>
9446
9447 * intl/Makefile (codeset_mo): New variable.
9448 ($(codeset_mo)): New target.
9449 (tst-codeset.out): Depend on that. Remove explicit rule.
9450 (tst-gettext3.out, tst-gettext5.out): Likewise.
9451 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9452 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9453 * intl/tst-codeset.sh: Remove.
9454 * intl/tst-gettext3.sh: Likewise.
9455 * intl/tst-gettext5.sh: Likewise.
9456
2ae1ae5c
RM
94572012-08-17 Roland McGrath <roland@hack.frob.com>
9458
c31fdb83
RM
9459 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9460 * sysdeps/unix/syscalls.list: ... here.
9461
a0844057
RM
9462 * sysdeps/posix/getaddrinfo.c
9463 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9464 (gaiconf_init, gaiconf_reload): Use them.
9465 [!_STATBUF_ST_NSEC]
9466 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9467 Define using time_t rather than struct timespec.
9468
750c1f2a
RM
9469 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9470 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9471 Macros removed.
9472 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9473 [!NO_THREADS].
9474 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9475 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9476 Likewise.
9477
2ae1ae5c
RM
9478 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9479 __libc_cleanup_push argument.
9480
e66a42f5
RM
9481 * bits/param.h: New file.
9482 * misc/sys/param.h: New file.
9483 * include/sys/param.h: New file.
9484 * misc/Makefile (headers): Add bits/param.h.
9485 * sysdeps/generic/sys/param.h: File removed.
9486 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9487 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9488 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9489 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9490
b7c08a66
RM
9491 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9492 last change.
9493
b2e1c562
RM
9494 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9495 [_IO_MTSAFE_IO].
9496 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9497 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9498 New macros.
9499
c75ccd4c
RM
9500 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9501 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9502 rather than -D_IO_MTSAFE_IO conditionally.
9503 * stdio-common/Makefile (CPPFLAGS): Likewise.
9504 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9505 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9506 Use $(libio-mtsafe).
9507 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9508 of -D_IO_MTSAFE_IO.
9509 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9510 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9511 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9512 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9513 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9514 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9515 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9516 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9517 (CFLAGS-fread_u_chk.c): Likewise.
9518 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9519 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9520 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9521 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9522 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9523 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9524 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9525 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9526 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9527
9528 * libio/Makefile: Test [$(libc-reentrant) = yes]
9529 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9530
9531 * Makeconfig
9532 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9533 * sysdeps/pthread/configure: File removed.
9534 * sysdeps/pthread/Makeconfig: New file.
9535 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9536 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9537
d9195db8
GB
95382012-08-16 Gary Benson <gbenson@redhat.com>
9539
9540 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9541 unmapping the first object in a namespace.
9542
86466cd9
RM
95432012-08-16 Roland McGrath <roland@hack.frob.com>
9544
9545 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9546 (__internal_setnetgrent): ... this. Add internal_function to
9547 definition. Add libc_hidden_def.
9548 (setnetgrent): Update caller.
9549 (internal_endnetgrent): Renamed to ...
9550 (__internal_endnetgrent): ... this. Add internal_function to
9551 definition. Add libc_hidden_def.
9552 (endnetgrent): Update caller.
9553 (internal_getnetgrent_r): Renamed to ...
9554 (__internal_getnetgrent_r): ... this. Add internal_function to
9555 definition. Add libc_hidden_def.
9556 (__getnetgrent_r): Update caller.
9557 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9558
c3c8283c
JM
95592012-08-16 Joseph Myers <joseph@codesourcery.com>
9560
9561 * stdlib/longlong.h: Update from GCC.
9562
db1ee0a8
RM
95632012-08-16 Roland McGrath <roland@hack.frob.com>
9564
9565 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9566 on _QL, which is set by umul_ppmm but never used.
9567 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9568 variables, which are set by GMP macros but never used.
9569 * stdio-common/_itowa.c (_itowa): Likewise.
9570 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9571 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9572
30f69637
CD
95732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9574
9575 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9576 struct La_sh_regs is not constant.
9577 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9578 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9579 and struct La_sparc64_regs are not constant.
9580
93a78ac4
JM
95812012-08-16 Joseph Myers <joseph@codesourcery.com>
9582
9583 * sysdeps/unix/sysv/linux/kernel-features.h
9584 (__ASSUME_POSIX_TIMERS): Remove.
9585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9586 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9587 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9588 Make code unconditional.
9589 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9590 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9591 Make code unconditional.
9592 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9593 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9594 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9595 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9596 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9597 Make code unconditional.
9598 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9599 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9600 (__libc_missing_posix_timers): Remove.
9601
dd924cd7
RM
96022012-08-15 Roland McGrath <roland@hack.frob.com>
9603
4b4f2771
RM
9604 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9605 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9606
601c888b
RM
9607 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9608
176790a7
RM
9609 * elf/dl-sym.c: Include <stdlib.h>.
9610
329bc018
RM
9611 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9612 constants, which avoids warnings in 32-bit builds.
9613
e04e272d
RM
9614 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9615 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9616
952bf94a
RM
9617 * misc/lseek.c: File moved to ...
9618 * io/lseek.c: ... here.
9619
7c99b50a
RM
9620 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9621
dd924cd7
RM
9622 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9623 shifting LEN more than 31 bits at once.
9624
b3f479a8
LD
96252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9626
9627 [BZ #14195]
8c4ae0d4
RM
9628 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9629 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9630 * string/test-strncasecmp.c (check1): Renamed to...
9631 (bz12205): ...this.
9632 (bz14195): Add new testcase for two empty input strings and N > 0.
9633 (test_main): Call new testcase, adapt for renamed function.
9634
9c55864e
AJ
96352012-08-15 Andreas Jaeger <aj@suse.de>
9636
9637 [BZ #14090]
9638 * crypt/md5test2.c: New test, based on test supplied by Serge
9639 Belyshev <belyshev@depni.sinp.msu.ru>.
9640 * crypt/Makefile (xtests): Add md5test-giant..
9641 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9642
02dcb6c5
PE
96432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9644
9645 [BZ #14090]
9646 * crypt/md5.c (md5_process_block): Don't assume the buffer
9647 length is less than 2**32.
9648 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9649 length is less than 2**64.
9650
a3f95dcc
RM
96512012-08-15 Roland McGrath <roland@hack.frob.com>
9652
be75d758
RM
9653 * string/str-two-way.h: Include <sys/param.h>.
9654 (MAX): Macro removed.
9655
7312ca90
RM
9656 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9657 Move #define and #undef of memmove to just before and after
9658 including <string.h>.
9659
9a0a5486
RM
9660 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9661 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9662 and after including <string.h>. Move declarations of
9663 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9664 to before #include "string/memmove.c".
9665
67cc348d
RM
9666 * include/dirent.h: Declare __getdirentries.
9667
a3f95dcc
RM
9668 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9669 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9670
ca98e171
MF
96712012-08-14 Mike Frysinger <vapier@gentoo.org>
9672
9673 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9674 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9675 * sysdeps/i386/configure: Regenerated.
9676 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9677 STABS_CURRENT_FILE, and STABS_FUN.
9678 (END): Remove call to STABS_FUN_END.
9679 (STABS_CURRENT_FILE1): Delete.
9680 (STABS_CURRENT_FILE): Likewise.
9681 (STABS_FUN): Likewise.
9682 (STABS_FUN_END): Likewise.
9683 (STABS_FUN2): Likewise.
9684 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9685 * sysdeps/x86_64/configure: Regenerated.
9686
5908bf46
RM
96872012-08-14 Roland McGrath <roland@hack.frob.com>
9688
9689 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9690 * elf/dl-lookup.c: Likewise.
5908bf46 9691
f2c05b9e
JM
96922012-08-14 Joseph Myers <joseph@codesourcery.com>
9693
9694 * sysdeps/unix/sysv/linux/kernel-features.h
9695 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9696 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9697 unconditionally.
9698 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9699 unconditionally.
9700 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9701 condition on __ASSUME_CLONE_THREAD_FLAGS.
9702
e11f5155
AJ
97032012-08-14 Andreas Jaeger <aj@suse.de>
9704
9705 * sysdeps/i386/fpu/libm-test-ulps: Update.
9706
51a9ba86
MK
97072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9708
2fdd4f78
AJ
9709 * include/atomic.h (atomic_exchange_and_add): Split into ...
9710 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9711 New atomic macros.
51a9ba86 9712
ba6cba9e
MT
97132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9714
9715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9716
42443a47
JL
97172012-08-13 Jeff Law <law@redhat.com>
9718
9719 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9720 null byte in the output string.
9721
121dce05
JM
97222012-08-10 Joseph Myers <joseph@codesourcery.com>
9723
9724 * sysdeps/unix/sysv/linux/kernel-features.h
9725 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9726 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9727 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9728 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9729 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9730 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9731 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9732
bf51f568
JL
97332012-08-09 Jeff Law <law@redhat.com>
9734
9735 [BZ #13939]
9736 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9737 When avoid_arena is set, don't retry in the that arena. Pick the
9738 next one, whatever it might be.
9739 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9740 (arena_lock): Pass in new parameter to arena_get2.
9741 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9742 arena_get2.
9743 (__libc_malloc): Unify retrying after main arena failure with
9744 __libc_memalign version.
9745 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9746
f85fa270
L
97472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9748
9749 [BZ #14166]
9750 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9751 to __redirect_strstr.
9752 (__strstr_sse42): Use typeof __redirect_strstr.
9753 (__strstr_ia32): Likewise.
9754 (__libc_strstr): New prototype.
9755 (strstr): Renamed to ...
9756 (__libc_strstr): This.
9757 (strstr): New strong alias of __libc_strstr.
9758 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9760 __redirect_time.
9761 Include <time.h>.
9762 (__libc_time): New prototype.
9763 (time_ifunc): Replace time with __libc_time.
9764 (time): New strong alias and hidden definition of __libc_time.
9765 (__GI_time): Remove strong alias.
9766 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9767 Include <stddef.h>.
9768 (memmove): Redefined to __redirect_memmove.
9769 (__memmove_sse2): Use typeof __redirect_memmove.
9770 (__memmove_ssse3): Likewise.
9771 (__memmove_ssse3_back): Likewise.
9772 (__libc_memmove): New prototype.
9773 (memmove): Renamed to ...
9774 (__libc_memmove): This.
9775 (memmove): New strong alias of __libc_memmove.
9776
33b4a91e
MS
97772012-08-08 Mark Salter <msalter@redhat.com>
9778
9779 * elf/elf.h
9780 (R_MN10300_TLS_GD): Define.
9781 (R_MN10300_TLS_LD): Likewise.
9782 (R_MN10300_TLS_LDO): Likewise.
9783 (R_MN10300_TLS_GOTIE): Likewise.
9784 (R_MN10300_TLS_IE): Likewise.
9785 (R_MN10300_TLS_LE): Likewise.
9786 (R_MN10300_TLS_DTPMOD): Likewise.
9787 (R_MN10300_TLS_DTPOFF): Likewise.
9788 (R_MN10300_TLS_TPOFF): Likewise.
9789 (R_MN10300_SYM_DIFF): Likewise.
9790 (R_MN10300_ALIGN): Likewise.
9791 (R_MN10300_NUM): Update.
9792
b36137f1
JM
97932012-08-08 Joseph Myers <joseph@codesourcery.com>
9794
9795 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9796 Remove.
9797
cdd915fd
RM
97982012-08-08 Roland McGrath <roland@hack.frob.com>
9799
a2433aac
RM
9800 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9801
cdd915fd
RM
9802 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9803 sysdeps/unix -> sysdeps/posix move.
9804 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9805
bf9b740a
AM
98062012-08-07 Allan McRae <allan@archlinux.org>
9807
9808 [BZ #14303]
9809 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9810 (SUNOS_CPP): Likewise.
9811 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9812 not found.
9813 (open_input): Call CPP using execvp.
9814
93df14ee
JM
98152012-08-07 Joseph Myers <joseph@codesourcery.com>
9816
9817 * sysdeps/unix/sysv/linux/kernel-features.h
9818 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9819 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9820 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9821 (__ASSUME_WAITID_SYSCALL): Likewise.
9822 * sysdeps/unix/sysv/linux/dl-execstack.c
9823 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9824 code unconditional.
9825 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9826 conditional code.
9827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9828 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9829 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9830 code.
9831 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9832 unconditional.
9833 [__ASSUME_WAITID_SYSCALL]: Likewise.
9834 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9835
d34689de
RM
98362012-08-07 Roland McGrath <roland@hack.frob.com>
9837
a281decc
RM
9838 * sysdeps/unix/closedir.c: Renamed to ...
9839 * sysdeps/posix/closedir.c: ... here.
9840 * sysdeps/unix/dirfd.c: Renamed to ...
9841 * sysdeps/posix/dirfd.c: ... here.
9842 * sysdeps/unix/dirstream.h: Renamed to ...
9843 * sysdeps/posix/dirstream.h: ... here.
9844 * sysdeps/unix/fdopendir.c: Renamed to ...
9845 * sysdeps/posix/fdopendir.c: ... here.
9846 * sysdeps/unix/opendir.c: Renamed to ...
9847 * sysdeps/posix/opendir.c: ... here.
9848 * sysdeps/unix/readdir.c: Renamed to ...
9849 * sysdeps/posix/readdir.c: ... here.
9850 * sysdeps/unix/readdir_r.c: Renamed to ...
9851 * sysdeps/posix/readdir_r.c: ... here.
9852 * sysdeps/unix/rewinddir.c: Renamed to ...
9853 * sysdeps/posix/rewinddir.c: ... here.
9854 * sysdeps/unix/seekdir.c: Renamed to ...
9855 * sysdeps/posix/seekdir.c: ... here.
9856 * sysdeps/unix/telldir.c: Renamed to ...
9857 * sysdeps/posix/telldir.c: ... here.
9858 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9859 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9860 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9861 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9862
22895b47
RM
9863 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9864 * bits/fcntl.h: ... here.
9865
707a53b6
RM
9866 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9867 not 0.
9868 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9869 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9870 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9871 (struct flock): Move l_start, l_len to the beginning.
9872 Use __pid_t for l_pid.
9873 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9874 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9875 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9876 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9877 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9878 [__USE_LARGEFILE64] (struct flock64): New type.
9879 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9880
f0bd3e25
RM
9881 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9882 * bits/dirent.h: ... here.
9883
d34689de
RM
9884 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9885 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9886
6dad2c06
JM
98872012-08-07 Joseph Myers <joseph@codesourcery.com>
9888
9889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9890 Change from 2.6.0 to 2.6.16.
9891 * sysdeps/unix/sysv/linux/configure: Regenerated.
9892 * sysdeps/unix/sysv/linux/kernel-features.h
9893 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9894 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9895 version.
9896 (__ASSUME_UTIMES): Likewise.
9897 (__ASSUME_CLONE_STOPPED): Remove.
9898 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9899 architectures, not kernel version.
9900 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9901 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9902 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9903 (__ASSUME_WAITID_SYSCALL): Likewise.
9904 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9905 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9906 * README: State 2.6.16 as minimum Linux kernel version. Do not
9907 refer to older versions.
9908
03af9520
RM
99092012-08-06 Roland McGrath <roland@hack.frob.com>
9910
8e49df1d
RM
9911 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9912 Define alphasort64 as an alias.
9913 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9914 Define versionsort64 as an alias.
9915 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9916 Define scandir64 as an alias.
9917 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9918 Define scandirat64 as an alias.
9919 * dirent/alphasort64.c (alphasort64):
9920 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9921 * dirent/versionsort64.c: Likewise.
9922 * dirent/scandir64.c: Likewise.
9923 * dirent/scandirat64.c: Likewise.
9924 * sysdeps/wordsize-64/alphasort.c: File removed.
9925 * sysdeps/wordsize-64/alphasort64.c: File removed.
9926 * sysdeps/wordsize-64/scandir.c: File removed.
9927 * sysdeps/wordsize-64/scandir64.c: File removed.
9928 * sysdeps/wordsize-64/scandirat.c: File removed.
9929 * sysdeps/wordsize-64/scandirat64.c: File removed.
9930 * sysdeps/wordsize-64/versionsort.c: File removed.
9931 * sysdeps/wordsize-64/versionsort64.c: File removed.
9932 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9934 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9935 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9936 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9937 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9938 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9939 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9940
9941 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9943 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9945 [defined __arch64__ || defined __sparcv9]
9946 (__INO_T_MATCHES_INO64_T): New macro.
9947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9948 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9949 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9950 * sysdeps/unix/sysv/linux/bits/dirent.h
9951 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9952 (_DIRENT_MATCHES_DIRENT64): New macro.
9953
03af9520
RM
9954 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9955 Define lockf64 as an alias.
9956 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9957 Define fseeko64 as an alias.
9958 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9959 Define ftello64 as an alias.
9960 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9961 Define _IO_fgetpos64 and fgetpos64 as aliases.
9962 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9963 Define _IO_fsetpos64 and fsetpos64 as aliases.
9964 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9965 Conditionalize body on this.
9966 * libio/fseeko64.c: Likewise.
9967 * libio/ftello64.c: Likewise.
9968 * libio/iofgetpos64.c: Likewise.
9969 * libio/iofsetpos64.c: Likewise.
9970 * sysdeps/wordsize-64/lockf.c: File removed.
9971 * sysdeps/wordsize-64/lockf64.c: File removed.
9972 * sysdeps/wordsize-64/fseeko.c: File removed.
9973 * sysdeps/wordsize-64/fseeko64.c: File removed.
9974 * sysdeps/wordsize-64/ftello.c: File removed.
9975 * sysdeps/wordsize-64/ftello64.c: File removed.
9976 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9977 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9978 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9979 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9980 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9982 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9983 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9984 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9985 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9986 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9988 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9989 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9990
9991 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9993 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9995 [defined __arch64__ || defined __sparcv9]
9996 (__OFF_T_MATCHES_OFF64_T): New macro.
9997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9998 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10000 (__OFF_T_MATCHES_OFF64_T): New macro.
10001
c5757acd
L
100022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 * stdlib/secure-getenv.c (__secure_getenv): Replace
10005 GLIBC_2_16 with GLIBC_2_17.
10006
3a31811e
L
100072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10011
faa2bccb
DM
100122012-08-03 David S. Miller <davem@davemloft.net>
10013
10014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10015
85fe1997
JM
100162012-08-03 Joseph Myers <joseph@codesourcery.com>
10017
10018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10019 Remove.
10020 (__ASSUME_CORRECT_SI_PID): Likewise.
10021 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10022 (__ASSUME_TMPFS_NAME): Likewise.
10023 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10024 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10025 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10026 (HAVE_AUX_SECURE): Make definition unconditional.
10027 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10028 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10029
4f75b7a0
RM
100302012-08-03 Roland McGrath <roland@hack.frob.com>
10031
10032 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10033 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10034 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10035 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10036 __eloop_threshold instead of SYMLOOP_MAX.
10037
10038 * sysdeps/generic/eloop-threshold.h: New file.
10039 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10040 of MAXSYMLINKS.
10041 * elf/chroot_canon.c (chroot_canon): Likewise.
10042
7aab07e4
JM
100432012-08-03 Joseph Myers <joseph@codesourcery.com>
10044
10045 [BZ #13717]
10046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10047 Change to 2.6.0 everywhere.
10048 * sysdeps/unix/sysv/linux/configure: Regenerated.
10049 * sysdeps/unix/sysv/linux/kernel-features.h
10050 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10051 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10052 kernel versions.
10053 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10054 (__ASSUME_FUTEX_REQUEUE): Remove.
10055 (__ASSUME_STATFS64): Define unconditionally.
10056 (__ASSUME_AT_SECURE): Likewise.
10057 (__ASSUME_CORRECT_SI_PID): Likewise.
10058 (__ASSUME_TGKILL): Define without depending on kernel version for
10059 i386.
10060 (__ASSUME_UTIMES): Likewise.
10061 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10062 kernel version.
10063 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10064 (__ASSUME_TMPFS_NAME): Likewise.
10065 * README: Update reference to Linux kernel versions.
10066
b67e9372
MP
100672012-08-02 Marek Polacek <polacek@redhat.com>
10068
1f529f7d 10069 [BZ# 14150]
b67e9372
MP
10070 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10071 libc_cv_asm_type_prefix with %.
10072 * configure: Regenerated.
d2441631
RM
10073 * include/libc-symbols.h: Remove comment about
10074 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10075 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10076 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10077 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10078 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10079 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10080 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10081 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10082 * elf/tst-unique2mod1.c: Likewise.
10083 * elf/tst-unique1mod2.c: Likewise.
10084 * elf/tst-unique1mod1.c: Likewise.
10085 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10086 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10087 Replace ASM_TYPE_DIRECTIVE with .type.
10088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10089 * sysdeps/i386/sysdep.h: Likewise.
10090 * sysdeps/x86_64/sysdep.h: Likewise.
10091 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10093 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10094 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10095 * sysdeps/powerpc/powerpc32/sysdep.h:
10096 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10098 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10099 * sysdeps/i386/fpu/e_powf.S: Likewise.
10100 * sysdeps/i386/fpu/e_expl.S: Likewise.
10101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10102 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10103 * sysdeps/i386/fpu/e_pow.S: Likewise.
10104 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10105 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10106 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10107 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10108 * sysdeps/i386/fpu/e_log2.S: Likewise.
10109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10110 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10111 * sysdeps/i386/fpu/e_powl.S: Likewise.
10112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10113 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10114 * sysdeps/i386/fpu/e_logl.S: Likewise.
10115 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10116 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10117 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10120 * sysdeps/i386/fpu/e_log.S: Likewise.
10121 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10122 * sysdeps/i386/fpu/e_logf.S: Likewise.
10123 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10125 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10126 * sysdeps/i386/fpu/e_log10.S: Likewise.
10127 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10128 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10129 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10130 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10133 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10134 * sysdeps/i386/i686/strtok.S: Likewise.
10135 * sysdeps/i386/i386-mcount.S: Likewise.
10136 * sysdeps/i386/strtok.S: Likewise.
10137 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10138 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10140 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10141 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10142 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10143 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10144 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10145 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10146 * sysdeps/x86_64/_mcount.S: Likewise.
10147 * sysdeps/x86_64/strtok.S: Likewise.
10148 * sysdeps/sh/_mcount.S: Likewise.
10149
2747bf9a
RM
101502012-08-01 Roland McGrath <roland@hack.frob.com>
10151
10152 * libio/iofopen.c: Include <fcntl.h>.
10153 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10154 (_IO_fopen64, fopen64): Define as aliases.
10155 * libio/iofopen64.c: Include <fcntl.h>.
10156 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10157 Conditionalize body on this.
10158 * sysdeps/wordsize-64/iofopen.c: File removed.
10159 * sysdeps/wordsize-64/iofopen64.c: File removed.
10160
3fb791b8
MP
101612012-08-01 Marek Polacek <polacek@redhat.com>
10162
10163 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10164 Use dlfcn directly instead of a variable.
10165 (binfmt-subdir): Do not define.
10166 (dlfcn): Likewise.
10167
a9f1039f
JM
101682012-08-01 Joseph Myers <joseph@codesourcery.com>
10169
23bddc06
JM
10170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10171 Remove all definitions.
10172 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10173 <kernel-features.h>.
10174 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10175 (miss_F_GETOWN_EX): Remove all definitions.
10176 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10177 macro definition.
10178 [!__ASSUME_FCNTL64]: Remove conditional code.
10179 [__ASSUME_FCNTL64]: Make code unconditional.
10180 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10181 <kernel-features.h>.
10182 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10183 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10184 (lockf64) [__NR_fcntl64]: Make code unconditional.
10185 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10186
a9f1039f
JM
10187 * sysdeps/unix/sysv/linux/kernel-features.h
10188 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10189 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10190 Make code unconditional.
10191 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10192 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10194 [__NR_vfork]: Make code unconditional.
10195 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10196 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10198 [__NR_vfork]: Make code unconditional.
10199 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10200 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10201
09c0ee5f
RM
102022012-08-01 Roland McGrath <roland@hack.frob.com>
10203
48aec5b9
RM
10204 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10205 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10206
cd97c966
RM
10207 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10208 Define mkstemp64 as an alias.
3f55550c
RM
10209 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10210 Define mkstemps64 as an alias.
cd97c966
RM
10211 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10212 Define mkostemp64 as an alias.
b8625cfc
RM
10213 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10214 Define mkostemps64 as an alias.
cd97c966
RM
10215 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10216 Conditionalize body on this.
10217 * misc/mkostemp64.c: Likewise.
b8625cfc 10218 * misc/mkostemps64.c: Likewise.
3f55550c 10219 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10220 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10221 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10222 * sysdeps/wordsize-64/mkostemp.c: File removed.
10223 * sysdeps/wordsize-64/mkstemp.c: File removed.
10224 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10228
09c0ee5f
RM
10229 [BZ #14138]
10230 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10232 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10233 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10234
10235 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10236 compat_symbol macros from <shlib-compat.h> rather than the underlying
10237 default_symbol_version and symbol_version macros, so that DEFAULT
10238 lines in shlib-versions are respected.
10239 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10240
7e66ee51
FW
102412012-08-01 Florian Weimer <fweimer@redhat.com>
10242
10243 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10244 Declare with warn_unused_result.
10245 (setgid, setregid, setegid, setresgid): Likewise.
10246 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10247 Likewise.
10248 * WUR-REPORT: Remove set*id functions.
10249
d2a54255
PT
102502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10251
10252 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10253
7ecdb005
RM
102542012-07-31 Roland McGrath <roland@hack.frob.com>
10255
789bd351
RM
10256 * include/sys/socket.h (__libc_accept, __libc_accept4):
10257 Add attribute_hidden.
10258 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10259
40ce302d
RM
10260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10261 use of PTR_MANGLE.
10262 * inet/getnetgrent_r.c (setup): Likewise.
10263
7ecdb005
RM
10264 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10265
e2eabb2c
DM
102662012-07-31 David S. Miller <davem@davemloft.net>
10267
10268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10269
d0419dbf
JM
102702012-07-31 Joseph Myers <joseph@codesourcery.com>
10271
10272 [BZ #13629]
10273 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10274 value between 1.0 and 2.0 and smaller part has absolute value less
10275 than 1.0.
10276 * math/s_clog10.c (__clog10): Likewise.
10277 * math/s_clog10f.c (__clog10f): Likewise.
10278 * math/s_clog10l.c (__clog10l): Likewise.
10279 * math/s_clogf.c (__clogf): Likewise.
10280 * math/s_clogl.c (__clogl): Likewise.
10281 * math/libm-test.inc (clog_test): Add more tests.
10282 (clog10_test): Likewise.
10283 * sysdeps/i386/fpu/libm-test-ulps: Update.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10285
2bc13872
FW
102862012-07-31 Florian Weimer <fweimer@redhat.com>
10287
10288 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10289 Exit with zero in case no suitable GID is found, and write a
10290 message to standard error.
10291
bea9b193
RM
102922012-07-30 Roland McGrath <roland@hack.frob.com>
10293
10294 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10295 rather than to 1.
10296 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10297 (MAXPATHLEN): Removed.
10298 (NOGROUP, NODEV): New macros.
10299 (setbit, clrbit, isset, isclr): New macros.
10300 (howmany, roundup, powerof2): New macros.
10301 (DEV_BSIZE): New macro.
10302
10303 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10304 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10305
10306 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10307 definition on [!__NO_LONG_DOUBLE_MATH].
10308
10309 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10310 PTR_MANGLE and PTR_DEMANGLE.
10311
10312 * socket/accept4.c (accept4): Rename to __libc_accept4.
10313 Define accept4 as a weak alias.
10314
10315 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10316 on [_DIRENT_HAVE_D_TYPE].
10317 * io/ftw.c (ftw_dir): Likewise.
10318
10319 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10320
10321 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10322
10323 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10324 Use the BSD numbers rather than the arbitrary ones we had.
10325 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10326 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10327 (SIGXCPU, SIGXFSZ): New macros.
10328 (_NSIG): Now 32.
10329
10330 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10331 initializer on [_LIBC_REENTRANT].
10332
10333 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10334 definitions inside [_POSIX_MAPPED_FILES].
10335
10336 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10337
10338 * dirent/opendir.c: Include <fcntl.h>.
10339
10340 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10341 (__libc_getspecific): Likewise.
10342 (__libc_key_create): Likewise.
10343
10344 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10345 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10346 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10347 (tmpfile64): Define as alias.
10348 * sysdeps/wordsize-64/tmpfile.c: File removed.
10349 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10352
10353 * stdio-common/vfscanf.c: Include <stdbool.h>.
10354 * nss/makedb.c: Likewise.
10355 * stdio-common/_i18n_number.h: Likewise.
10356 * argp/argp-help.c: Likewise.
10357 * posix/wordexp.c: Likewise.
10358 * sysdeps/posix/spawni.c: Likewise.
10359 * nss/nss_files/files-initgroups.c: Likewise.
10360 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10361 * nss/nss_files/files-initgroups.c: Likewise.
10362 * nss/nss_db/db-netgrp.c: Likewise.
10363 * nss/nss_db/db-initgroups.c: Likewise.
10364 * io/fchmodat.c: Include <sys/stat.h>.
10365
10366 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10367 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10368
10369 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10370 [HAVE_MMAP].
10371
10372 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10373 Add multiple inclusion protection.
10374
e5abc686
DM
103752012-07-27 David S. Miller <davem@davemloft.net>
10376
10377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10378
815e6fa3
GB
103792012-07-27 Gary Benson <gbenson@redhat.com>
10380
10381 [BZ #14298]
10382 * elf/rtld.c: Include <stap-probe.h>.
10383 (dl_main): Added static probes "init_start" and "init_complete".
10384 * elf/dl-load.c: Include <stap-probe.h>.
10385 (lose): Take new parameter "nsid".
10386 Added static probe "map_failed".
10387 (_dl_map_object_from_fd): Pass namespace id to lose.
10388 Added static probe "map_start".
10389 (open_verify): Pass namespace id to lose.
10390 * elf/dl-open.c: Include <stap-probe.h>.
10391 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10392 and "reloc_complete".
10393 * elf/dl-close.c: Include <stap-probe.h>.
10394 (_dl_close_worker): Added static probes "unmap_start" and
10395 "unmap_complete".
10396 * elf/rtld-debugger-interface.txt: New file documenting the above.
10397
9f98c16c
RM
103982012-07-26 Roland McGrath <roland@hack.frob.com>
10399
10400 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10401 rather than a string variable.
10402 * sunrpc/rpc_main.c (h_output): Likewise.
10403 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10404
f3c22df3
PT
104052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10406
10407 * inet/check_native.c: New file.
10408
3129cfc6
JM
104092012-07-26 Joseph Myers <joseph@codesourcery.com>
10410
da865e95
JM
10411 [BZ #13629]
10412 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10413 if larger part has absolute value 1.0.
10414 * math/s_clog10.c (__clog10): Likewise.
10415 * math/s_clog10f.c (__clog10f): Likewise.
10416 * math/s_clog10l.c (__clog10l): Likewise.
10417 * math/s_clogf.c (__clogf): Likewise.
10418 * math/s_clogl.c (__clogl): Likewise.
10419 * math/libm-test.inc (clog_test): Add more tests.
10420 (clog10_test): Likewise.
10421 * sysdeps/i386/fpu/libm-test-ulps: Update.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10423
3129cfc6
JM
10424 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10425 (pltexit): Likewise.
10426 (La_regs): Likewise.
10427 (La_retval): Likewise.
10428 (int_retval): Likewise.
10429 Update #error for removed macros to refer only to definitions in
10430 tst-audit.h.
10431 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10432 macro.
10433 (pltexit): Likewise.
10434 (La_regs): Likewise.
10435 (La_retval): Likewise.
10436 (int_retval): Likewise.
10437 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10438 macro.
10439 (pltexit): Likewise.
10440 (La_regs): Likewise.
10441 (La_retval): Likewise.
10442 (int_retval): Likewise.
10443 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10444 macro.
10445 (pltexit): Likewise.
10446 (La_regs): Likewise.
10447 (La_retval): Likewise.
10448 (int_retval): Likewise.
10449 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10450 macro.
10451 (pltexit): Likewise.
10452 (La_regs): Likewise.
10453 (La_retval): Likewise.
10454 (int_retval): Likewise.
10455 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10456 macro.
10457 (pltexit): Likewise.
10458 (La_regs): Likewise.
10459 (La_retval): Likewise.
10460 (int_retval): Likewise.
10461 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10462 macro.
10463 (pltexit): Likewise.
10464 (La_regs): Likewise.
10465 (La_retval): Likewise.
10466 (int_retval): Likewise.
10467 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10468 macro definitions in tst-audit.h.
10469 * sysdeps/i386/tst-audit.h: New file.
10470 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10471 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10472 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10473 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10474 * sysdeps/sh/tst-audit.h: Likewise.
10475 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10476 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10477 * sysdeps/x86_64/tst-audit.h: Likewise.
10478
bfc07087
AJ
104792012-07-26 Andreas Jaeger <aj@suse.de>
10480
b1b2aaf8
AJ
10481 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10482 ptrace.
10483
10484 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10485 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10486 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10487 PTRACE_O_MASK.
10488 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10489 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10491
bfc07087
AJ
10492 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10493 value.
10494
10495 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10496 _sigsys.
10497 (si_call_addr, si_syscall, si_arch): Define new macro.
10498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10499 _sigsys.
10500 (si_call_addr, si_syscall, si_arch): Define new marcro.
10501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10502 _sigsys.
10503 (si_call_addr, si_syscall, si_arch): Define new macro.
10504 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10505 _sigsys.
10506 (si_call_addr, si_syscall, si_arch): Define new macro.
10507
89b4b02f
JM
105082012-07-25 Joseph Myers <joseph@codesourcery.com>
10509
10510 [BZ #13717]
10511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10512 Change to 2.4.21 where previously 2.4.1.
10513 * sysdeps/unix/sysv/linux/configure: Regenerated.
10514 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10515 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10516 Linux kernel version.
10517 (__ASSUME_STD_AUXV): Remove.
10518 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10519 kernel version.
10520 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10521 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10522 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10523 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10524 (__ASSUME_NETLINK_SUPPORT): Likewise.
10525 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10526 (__no_netlink_support): Remove conditional definition.
10527 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10528 Remove.
10529 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10530 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10531 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10532 (if_nameindex_ioctl): Remove.
10533 (if_nameindex_netlink): Do not handle __no_netlink_support.
10534 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10535 code.
10536 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10537 Remove conditional code.
10538 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10539 code.
10540 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10541 unconditional.
10542 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10543 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10544 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10545 Remove.
10546 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10547 [!__ASSUME_STD_AUXV]: Remove conditional code.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10549 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10550 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10552 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10553 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10554 code.
10555 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10557 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10558 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10559 conditional code.
10560 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10562 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10563 code.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10565 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10566 conditional code.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10568 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10569 code unconditional.
10570 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10571 conditional code.
10572 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10573 unconditional.
10574 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10575 conditional code.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10577 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10578 unconditional.
10579 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10580 conditional code.
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10582 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10583 code unconditional.
10584 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10585 conditional code.
10586 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10587 unconditional.
10588 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10589 conditional code.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10591 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10592 code unconditional.
10593 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10594 conditional code.
10595 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10596 unconditional.
10597 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10598 conditional code.
10599
842a39cd
AS
106002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10601
10602 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10603 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10604 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10605 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10606 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10607 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10608 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10609 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10610 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10611 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10612 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10613 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10614 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10615 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10617 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10618 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10622 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10623 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10625
84b3fd84
FW
106262012-07-25 Florian Weimer <fweimer@redhat.com>
10627
10628 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10629 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10630 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10631 Introduce __libc_secure_getenv.
0c7936d5
FW
10632 * stdlib/Versions (2.17): Add secure_getenv
10633 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10634 * stdlib/secure-getenv.c: Rename __secure_getenv to
10635 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10636 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10637 * stdlib/tst-secure-getenv.c: New.
10638 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10639 * manual/startup.texi (Environment Access): Document
10640 secure_getenv.
84b3fd84
FW
10641 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10642 __libc_secure_getenv.
10643 * inet/ruserpass.c (ruserpass): Likewise.
10644 * malloc/mtrace.c (mtrace): Likewise.
10645 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10646 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10647 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10648 * sysdeps/posix/tempname.c: Likewise. Evaluate
10649 HAVE_SECURE_GETENV.
10650 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10651 __secure_getenv to __libc_secure_getenv.
84b3fd84 10652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10654 Likewise.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10656 Likewise.
10657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10664
56e49b71
JM
106652012-07-25 Joseph Myers <joseph@codesourcery.com>
10666
10667 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10668 (struct La_i86_retval): Likewise.
10669 (struct La_x86_64_regs): Likewise.
10670 (struct La_x86_64_retval): Likewise.
10671 (struct La_x32_regs): Likewise.
10672 (struct La_x32_retval): Likewise.
10673 (struct La_ppc32_regs): Likewise.
10674 (struct La_ppc32_retval): Likewise.
10675 (struct La_ppc64_regs): Likewise.
10676 (struct La_ppc64_retval): Likewise.
10677 (struct La_sh_regs): Likewise.
10678 (struct La_sh_retval): Likewise.
10679 (struct La_s390_32_regs): Likewise.
10680 (struct La_s390_32_retval): Likewise.
10681 (struct La_s390_64_regs): Likewise.
10682 (struct La_s390_64_retval): Likewise.
10683 (struct La_sparc32_regs): Likewise.
10684 (struct La_sparc32_retval): Likewise.
10685 (struct La_sparc64_regs): Likewise.
10686 (struct La_sparc64_retval): Likewise.
10687 (struct audit_ifaces): Remove architecture-specific pltenter and
10688 pltexit members.
10689 * sysdeps/i386/ldsodefs.h: New file.
10690 * sysdeps/powerpc/ldsodefs.h: Likewise.
10691 * sysdeps/s390/ldsodefs.h: Likewise.
10692 * sysdeps/sh/ldsodefs.h: Likewise.
10693 * sysdeps/sparc/ldsodefs.h: Likewise.
10694 * sysdeps/x86_64/ldsodefs.h: Likewise.
10695
354691b7
MP
106962012-07-25 Marek Polacek <polacek@redhat.com>
10697
10698 [BZ #6808]
10699 * math/libm-test.inc (yn_test): Add another test.
10700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10701 to ERANGE when the result is +-Inf.
10702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10703 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10705 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10706
bf9e2071
JM
107072012-07-24 Joseph Myers <joseph@codesourcery.com>
10708
10709 * conform/data/time.h-data (NULL): Use macro-constant. Require
10710 equal to 0.
10711 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10712 clock_t.
10713 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10714
57633811
TS
107152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10716
10717 * configure.in <sysdeps resolving>: Correct printing
10718 Implies_before.
10719 * configure: Regenerate.
10720
c23c33b0
TS
107212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10722
10723 * math/w_ilogb.c: Include <limits.h>.
10724 * math/w_ilogbl.c: Likewise.
10725
b5982523
JM
107262012-07-20 Joseph Myers <joseph@codesourcery.com>
10727
10728 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10729 va_copy. Document allowing for unavailable va_copy only as
10730 pre-C99 compatibility.
10731 * manual/string.texi (Copying and Concatenation): Use va_copy
10732 instead of __va_copy in concat example.
10733
ac4ea442
PT
107342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10735
10736 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10737 (__sendto): Use create_address_port. Initialize APORT and deallocate
10738 it if not null.
10739
f98eafbd
PT
10740 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10741 with O_NOLINK passed to __file_name_lookup.
10742
898c7aab
PT
10743 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10744 with O_NOLINK passed to __file_name_lookup.
10745
0ced335a
PT
10746 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10747 negative N or less than NGIDS.
10748
b3404dbd
PT
10749 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10750 type to string_t. Set ERANGE as errno and return it if NAME is not big
10751 enough. Use memcpy instead of strncpy.
10752
0f48659e
JM
107532012-07-20 Joseph Myers <joseph@codesourcery.com>
10754
10755 * elf/Makefile (check-data): Remove.
10756 (localplt.data): New vpath directive.
10757 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10758 instead of $(check-data).
10759 * scripts/data/localplt-generic.data: Move to ...
10760 * sysdeps/generic/localplt.data: ... here.
10761 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10762 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10763 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10765 ... here.
10766 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10768 ... here.
10769 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10771 ... here.
10772 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10774 ... here.
10775 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10777 ... here.
10778 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10780 ... here.
10781
d37cbdaa
AZ
107822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10783
10784 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10785 PPC32 and PPC64 files.
10786 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10787 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10788
46f85fc2
AK
107892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10790
10791 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10792 __makecontext_ret to ...
10793 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10794 ... here and call exit if uc_link is NULL. New file.
10795 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10796 __makecontext_ret.S.
10797 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10798 __makecontext_ret to ...
10799 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10800 ... here and call exit if uc_link is NULL. New file.
10801 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10802 __makecontext_ret.S.
10803
08f43f9b
AK
108042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10805
10806 * elf/elf.h (R_390_IRELATIVE): New definition.
10807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10808 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10809 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10810 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10811 (elf_machine_lazy_rel): Likewise.
10812 * sysdeps/s390/dl-irel.h: New file.
10813 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10814 * sysdeps/s390/s390-64/memset.S: New asm code.
10815 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10816 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10817 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10818 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10819 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10820 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10821 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10822 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10823 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10824 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10825 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10826 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10827 * sysdeps/s390/s390-32/memset.S: New asm code.
10828 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10829
3b05db33
MP
108302012-07-17 Marek Polacek <polacek@redhat.com>
10831
10832 [BZ #14349]
10833 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10834 * sysdeps/s390/s390-64/configure.in: Likewise.
10835 * sysdeps/sparc/configure.in: Likewise.
10836 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10837 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10838 * sysdeps/i386/configure.in: Likewise.
10839 * sysdeps/x86_64/configure.in: Likewise.
10840 * sysdeps/sh/configure.in: Likewise.
10841 * sysdeps/s390/s390-32/configure: Regenerated.
10842 * sysdeps/s390/s390-64/configure: Likewise.
10843 * sysdeps/x86_64/configure: Likewise.
10844 * sysdeps/sh/configure: Likewise.
10845 * sysdeps/powerpc/powerpc64/configure: Likewise.
10846 * sysdeps/powerpc/powerpc32/configure: Likewise.
10847 * sysdeps/sparc/configure: Likwise.
10848 * sysdeps/i386/configure: Likewise.
10849
a66877c6
MP
10850 * elf/dl-open.c: Comment fixes.
10851
cfc82fd8
JM
108522012-07-17 Joseph Myers <joseph@codesourcery.com>
10853
bd29910a
JM
10854 * Makefile [CXX] (check-data): Remove.
10855 [CXX] (c++-types.data): New vpath directive.
10856 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10857 vpath. Do not allow for C++ type data being missing.
10858 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10859 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10860 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10861 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10862 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10863 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10864 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10866 ... here.
10867 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10869 ... here.
10870 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10872 ... here.
10873 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10875 ... here.
10876 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10878 ... here.
10879 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10881 ... here.
10882 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10884 ... here.
10885 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10887
cfc82fd8
JM
10888 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10889 definitions to architecture-specific files.
10890 (TLS_IE): Likewise.
10891 (TLS_LD): Likewise.
10892 (TLS_GD): Likewise.
10893 * sysdeps/i386/tls-macros.h: New file.
10894 * sysdeps/powerpc/tls-macros.h: Likewise.
10895 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10896 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10897 * sysdeps/sh/tls-macros.h: Likewise.
10898 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10899 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10900 * sysdeps/x86_64/tls-macros.h: Likewise.
10901
f7db3170
TS
109022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10903
07cbfc23
TS
10904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10905 zero value for regular exit case.
10906
f7db3170
TS
10907 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10908 (__start_context): Preserve zero value for regular exit case.
10909
dc97c227
TS
109102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10911 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10912
10913 * manual/setjmp.texi (setcontext): Clarify normal process
10914 termination when uc_link is the null pointer.
10915 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10916 exit call.
10917
d0cd7d02
AS
109182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10919
10920 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10921 preprocessor. Test for each exception mask separately.
10922
dd318934
AJ
109232012-07-16 Andreas Jaeger <aj@suse.de>
10924
10925 * po/ru.po: Update from translation team.
10926
8048311a
JM
109272012-07-15 Joseph Myers <joseph@codesourcery.com>
10928
10929 * conform/data/string.h-data (NULL): Use macro-constant. Require
10930 equal to 0.
10931 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10932 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10933 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10934 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10936
b637d46e
AJ
109372012-07-13 Andreas Jaeger <aj@suse.de>
10938
10939 * po/fr.po: Update from translation team.
10940
541428fe
MP
109412012-07-12 Marek Polacek <polacek@redhat.com>
10942
10943 [BZ #14173]
10944 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10946 loop condition.
10947
ec332e94
JM
109482012-07-12 Joseph Myers <joseph@codesourcery.com>
10949
10950 [BZ #13717]
10951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10952 Change to 2.4.1 where previously 2.4.0.
10953 * sysdeps/unix/sysv/linux/configure: Regenerated.
10954 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10955 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10956 version.
10957 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10958 (__ASSUME_AT_CLKTCK): Remove.
10959 (__ASSUME_AT_PAGESIZE): Likewise.
10960 (__ASSUME_AT_XID): Likewise.
10961 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10962 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10963 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10964 unconditionally.
10965 (HAVE_AUX_PAGESIZE): Likewise.
10966 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10967 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10968 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10969
7b6e99be
JB
109702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10971
10972 [BZ #14307]
10973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10974 the temporary buffer used to invoke __gethostbyname2_r,
10975 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10976 host_data / struct gaih_addrtuple.
10977 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10978 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10979 header file nss/nsswitch.h.
10980 * nss/nsswitch.h (global scope): Add definition of implementation
10981 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10982 resolv/nss_dns/dns-host.c).
10983
608404eb
AJ
109842012-07-11 Andreas Jaeger <aj@suse.de>
10985
10986 * po/fr.po: Update from translation team.
10987
71220aca
AJ
10988 * po/sv.po: Update from translation team
10989 * po/fr.po: Another update from translation team.
10990
28cfe843
AZ
109912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992
10993 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10994 for subnormals or multiply small sinh result by itself.
10995 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10997
6b90f981
DM
109982012-07-11 David S. Miller <davem@davemloft.net>
10999
11000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11001
c6825772
AS
110022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11003
11004 [BZ #14347]
11005 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11006 (INTERNAL_MARK): Shift it here.
11007
7b8e0d49
MP
110082012-07-10 Marek Polacek <polacek@redhat.com>
11009
11010 [BZ #14151]
11011 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11012 libc_cv_asm_global_directive with .globl.
11013 * configure: Regenerated.
11014 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11015 with .globl.
11016 * sysdeps/i386/configure: Regenerated.
11017 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11018 with .globl.
11019 * sysdeps/x86_64/configure: Regenerated.
11020 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11021 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11022 * elf/tst-unique2mod2.c: Likewise.
11023 * elf/tst-unique2mod1.c: Likewise.
11024 * elf/tst-unique1mod2.c: Likewise.
11025 * elf/tst-unique1mod1.c: Likewise.
11026 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11027 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11029 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11030 * sysdeps/mach/sysdep.h: Likewise.
11031 * sysdeps/i386/sysdep.h: Likewise.
11032 * sysdeps/i386/i386-mcount.S: Likewise.
11033 * sysdeps/x86_64/_mcount.S: Likewise.
11034 * sysdeps/x86_64/sysdep.h: Likewise.
11035 * sysdeps/sh/_mcount.S: Likewise.
11036 * sysdeps/sh/sysdep.h: Likewise.
11037 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11038 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11039 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11040 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11041 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11044 * locale/localeinfo.h: Likewise.
11045 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11046 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11047
6c55cda3
RM
110482012-07-09 Roland McGrath <roland@hack.frob.com>
11049
11050 [BZ #14336]
11051 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11052 system".
11053 * manual/message.texi (The Uniforum approach): Likewise.
11054 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11055 (glibc iconv Implementation): Likewise.
11056
638a572e
JM
110572012-07-09 Joseph Myers <joseph@codesourcery.com>
11058
11059 [BZ #14337]
11060 * math/s_clog.c (__clog): Avoid scaling a value down where that
11061 could result in underflow.
11062 * math/s_clog10.c (__clog10): Likewise.
11063 * math/s_clog10f.c (__clog10f): Likewise.
11064 * math/s_clog10l.c (__clog10l): Likewise.
11065 * math/s_clogf.c (__clogf): Likewise.
11066 * math/s_clogl.c (__clogl): Likewise.
11067 * math/libm-test.inc (clog_test): Add more tests.
11068 (clog10_test): Likewise.
11069 * sysdeps/i386/fpu/libm-test-ulps: Update.
11070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071
261f4859
AS
110722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11073
0abaf3e4
AS
11074 [BZ #14283]
11075 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11076 by 7 not 8 to examine high bit of fractional part.
11077
261f4859
AS
11078 [BZ #14042]
11079 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11080 for call to __mcount_internal.
11081 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11082 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11083 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11084
f17ac40d
JM
110852012-07-06 Joseph Myers <joseph@codesourcery.com>
11086
9ad63c23
JM
11087 [BZ #14154]
11088 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11089 approximation for values within 0x1p-13f of an odd multiple of
11090 pi/4.
11091 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11092 exception. Add more tests.
11093 * sysdeps/i386/fpu/libm-test-ulps: Update.
11094
f17ac40d
JM
11095 [BZ #6778]
11096 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11097 inputs and return -1 for them. Do not check for +Inf in case not
11098 reachable for +Inf.
11099 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11100 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11102 and return -1 for them. Do not check for +Inf in case not
11103 reachable for +Inf.
11104 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11105 define.
11106 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11107 and return -1 for them. Do not check for +Inf in case not
11108 reachable for +Inf.
11109 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11110 spurious underflow.
11111 * sysdeps/i386/fpu/libm-test-ulps: Update.
11112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113
fb21f89b
MF
111142012-07-06 Mike Frysinger <vapier@gentoo.org>
11115
11116 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11117
cdfe2c5e
JM
111182012-07-05 Joseph Myers <joseph@codesourcery.com>
11119
11120 [BZ #14157]
11121 [BZ #14331]
11122 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11123 could result in spurious underflow. Scale down values above
11124 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11125 * math/s_csqrtf.c (__csqrtf): Likewise.
11126 * math/s_csqrtl.c (__csqrtl): Likewise.
11127 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11128 spurious underflow.
11129 * sysdeps/i386/fpu/libm-test-ulps: Update.
11130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11131
70d35b67
AS
111322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11133
704bc459
AS
11134 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11135 xopen-msg.sed.
11136 * catgets/xopen-msg.awk: New file.
11137 * catgets/xopen-msg.sed: Removed.
11138
70d35b67
AS
11139 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11140 po2text.sed.
11141 * intl/po2test.awk: New file.
11142 * intl/po2test.sed: Removed.
11143
ca61cf32
JM
111442012-07-04 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #14328]
11147 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11148 or multiply small sinh result by itself.
11149 * math/s_ctanf.c (__ctanf): Likewise.
11150 * math/s_ctanh.c (__ctanh): Likewise.
11151 * math/s_ctanhf.c (__ctanhf): Likewise.
11152 * math/s_ctanhl.c (__ctanhl): Likewise.
11153 * math/s_ctanl.c (__ctanl): Likewise.
11154 * math/libm-test.inc (ctan_test_tonearest): New function.
11155 (ctan_test_towardzero): Likewise.
11156 (ctan_test_downward): Likewise.
11157 (ctan_test_upward): Likewise.
11158 (ctanh_test_tonearest): Likewise.
11159 (ctanh_test_towardzero): Likewise.
11160 (ctanh_test_downward): Likewise.
11161 (ctanh_test_upward): Likewise.
11162 (main): Call these new functions.
11163 * sysdeps/i386/fpu/libm-test-ulps: Update.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
ca48a46a
MF
111662012-07-03 Mike Frysinger <vapier@gentoo.org>
11167
11168 * .gitignore: Delete /ports entry.
11169
9d63d37d
AJ
111702012-07-03 Andreas Jaeger <aj@suse.de>
11171
11172 * po/bg.po: Update from translation team.
11173 * po/cs.po: Likewise.
11174 * po/de.po: Likewise.
11175 * po/hr.po: Likewise.
11176 * po/nl.pl: Likewise.
11177 * po/pl.po: Likewise.
11178 * po/vi.po: Likewise.
11179
370ca3d2
JM
111802012-07-03 Joseph Myers <joseph@codesourcery.com>
11181
95f5a9a8
JM
11182 * Makeconfig [!+link] (+link-before-libc): New variable.
11183 [!+link] (+link-after-libc): Likewise.
11184 [!+link] (+link-tests): Likewise.
11185 [!+link] (+link): Define in terms of $(+link-before-libc) and
11186 $(+link-after-libc).
11187 [!+link-static] (+link-static-before-libc): New variable.
11188 [!+link-static] (+link-static-after-libc): Likewise.
11189 [!+link-static] (+link-static-tests): Likewise.
11190 [!+link-static] (+link-static): Define in terms of
11191 $(+link-static-before-libc) and $(+link-static-after-libc).
11192 [build-shared] (link-libc-before-gnulib): New variable.
11193 [build-shared] (link-libc-tests): Likewise.
11194 [build-shared] (link-libc): Define in terms of
11195 $(link-libc-before-gnulib).
11196 [!build-shared] (link-libc-tests): New variable.
11197 (link-libc-static-tests): New variable.
11198 [!gnulib] (gnulib-arch): New variable.
11199 [!gnulib] (gnulib-tests): Likewise.
11200 [!gnulib] (static-gnulib-arch): Likewise.
11201 [!gnulib] (static-gnulib-tests): Likewise.
11202 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11203 Define with "=" instead of ":=".
11204 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11205 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11206 * Rules (binaries-all-notests): New variable.
11207 (binaries-all-tests): Likewise.
11208 (binaries-static-notests): Likewise.
11209 (binaries-static-tests): Likewise.
11210 (binaries-all): Define using $(binaries-all-notests) and
11211 $(binaries-all-tests).
11212 (binaries-static): Define using $(binaries-static-notests) and
11213 $(binaries-static-tests).
11214 (binaries-shared-tests): New variable.
11215 (binaries-shared-notests): Likewise.
11216 (binaries-shared): Remove variable.
11217 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11218 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11219 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11220 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11221 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11222 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11223 * elf/Makefile (sln-modules): New variable.
11224 (extra-objs): Add $(sln-modules:=.o).
11225 (ldconfig-modules): Add static-stubs.
11226 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11227 * elf/static-stubs.c: New file.
11228
7a845b2c
JM
11229 [BZ #14283]
11230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11231 by 7 not 8 to examine high bit of fractional part. Use volatile
11232 variables when splitting into final array of floats if
11233 __FLT_EVAL_METHOD__ != 0.
11234 * math/libm-test.inc (cos_test): Add another test.
11235 (sin_test): Likewise.
11236 * sysdeps/i386/fpu/libm-test-ulps: Update.
11237
e2283f38
JM
11238 [BZ #14273]
11239 * math/libm-test.inc (cosh_test): Add more tests.
11240
370ca3d2
JM
11241 * version.h (RELEASE): Set to "development".
11242 (VERSION): Set to "2.16.90".
11243
ee9247c3
CD
112442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11245
11246 * NEWS: Update copyright. Remove last-updated date.
11247 Mention math library bug fixes and timezone data changes.
11248 * README: Mention GNU/Hurd, x32, and HPPA support status.
11249
4648c381
TS
112502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11251
11252 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11253
aac78a43
AJ
112542012-06-27 Andreas Jaeger <aj@suse.de>
11255
11256 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11257
ed3dbfad
AJ
112582012-06-25 Andreas Jaeger <aj@suse.de>
11259
11260 * sysdeps/s390/fpu/libm-test-ulps: Update.
11261
4d0ee855
AS
112622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11263 Thomas Schwinge <thomas@codesourcery.com>
11264
11265 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11266 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11268 fanotify_mark.
11269
af1bce34
TS
112702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11271
a9fa33ba
TS
11272 * sysdeps/mach/start.c: Remove file.
11273 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11274 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11275 * sysdeps/sh/init-first.c: Likewise.
11276
58f902b8
TS
11277 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11278 registers for frame unwinding purposes, add CFI directives.
11279 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11280 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11281 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11282 Likewise.
11283
1518f58b
TS
11284 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11285 __fortify_fail returning.
11286 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11287
db9b5059
TS
11288 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11289 sysdeps/sh/____longjmp_chk.S.
11290 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11291 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11292 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11293 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11294
967705fe
TS
11295 * sysdeps/sh/abort-instr.h: New file.
11296 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11297 process in case exit returns.
11298
a9def8c4
TS
11299 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11300 initialize the GOT register before use.
11301
2a649725
TS
11302 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11303 calculation of ARGC > 4.
11304
af1bce34
TS
11305 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11306 meaningful names to some local labels.
11307
d230f50a
KK
113082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11309 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11310
11311 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11312 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11313 (__arch_compare_and_exchange_val_16_acq): Likewise.
11314 (__arch_compare_and_exchange_val_32_acq): Likewise.
11315 (atomic_exchange_and_add): Fix gUSA sequence.
11316 (atomic_add): Likewise.
11317 (atomic_add_negative): Likewise.
11318 (atomic_add_zero): Likewise.
11319 (atomic_bit_test_set): Likewise.
11320
0479b305
AS
113212012-06-22 Andreas Schwab <schwab@redhat.com>
11322
11323 [BZ #13579]
11324 * include/link.h (struct link_map): Add l_free_initfini.
11325 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11326 l_initfini.
11327 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11328 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11329 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11330 set.
11331
0e3933b9
CD
113322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11333
11334 * configure.in: Use AC_LANG_SOURCE.
11335 * configure: Regenerate.
11336
4248b1b1
RM
113372012-06-22 Roland McGrath <roland@hack.frob.com>
11338
11339 * configure.in (libc_cv_localstatedir): New substituted variable.
11340 * configure: Regenerated.
11341 * config.make.in (localstatedir): New variable, substituted from
11342 libc_cv_localstatedir.
11343 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11344 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11345 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11346 * sysdeps/gnu/configure: Regenerated.
11347
006dd861
JL
113482012-06-21 Jeff Law <law@redhat.com>
11349
11350 [BZ #14277]
11351 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11352 free. Simplify list management for _LIBC case.
11353
79662d42
JM
113542012-06-21 Joseph Myers <joseph@codesourcery.com>
11355
b7abb4bf
JM
11356 [BZ #14273]
11357 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11358 Clear sign bit of 64-bit integer value before comparing against
11359 overflow value.
11360
79662d42
JM
11361 * sysdeps/mach/configure: Regenerated.
11362
1f150908
L
113632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 [BZ #14278]
11366 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11367
28363bbf
JL
113682012-06-21 Jeff Law <law@redhat.com>
11369
11370 [BZ #13882]
11371 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11372 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11373 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11374 * elf/dl-open.c (dl_open_worker): Likewise.
11375
09615db4
CD
113762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11377
11378 * scripts/list-sources.sh: Scan PORTS for translations.
11379 * po/libc.pot: Regenerated.
11380
2174c6dd
AJ
113812012-06-21 Andreas Jaeger <aj@suse.de>
11382
11383 [BZ #12194]
11384 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11385 warning.
11386 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11387 * bits/byteswap-16.h (__bswap_16): Likewise.
11388 * bits/byteswap.h (__bswap_constant_16): Likewise.
11389
3ee947b1
L
113902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 [BZ #14117]
a2f34833
L
11393 * sysdeps/i386/fpu_control.h: Removed.
11394 * sysdeps/x86_64/fpu_control.h: Moved to ...
11395 * sysdeps/x86/fpu_control.h: Here.
11396
3ee947b1
L
11397 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11398 (_FPU_SETCW): Likewise.
11399
ed1825f8
L
114002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11401
25f1282a
L
11402 [BZ #14117]
11403 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11404 * sysdeps/x86/fpu/bits/mathinline.h: This.
11405 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11406
ed1825f8
L
11407 [BZ #14050]
11408 [BZ #14117]
11409 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11410 functions if __x86_64__ is defined.
11411
36d54b74
CLT
114122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11413
11414 * string/endian.h: Add !__ASSEMBLER__ condition for including
11415 conversion interfaces.
11416
10285c21
JM
114172012-06-15 Joseph Myers <joseph@codesourcery.com>
11418
11419 [BZ #14241]
11420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11421 of ABS(x) in calculating zero to negative powers other than odd
11422 integers.
11423 * math/libm-test.inc (pow_test): Add more tests.
11424
06c5abbd
AJ
114252012-06-15 Andreas Jaeger <aj@suse.de>
11426
11427 * manual/contrib.texi (Contributors): Update entry of Liubov
11428 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11429 Machado Filho.
11430
a3aeac40
CH
114312012-06-15 Cyril Hrubis <metan@ucw.cz>
11432
11433 * string/string.h: Add __wur to GNU version of strerror_r.
11434
49bdf4c1
L
114352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11436
11437 [BZ #14229]
11438 * string/Makefile (tests): Add tst-strtok_r.
11439 * string/tst-strtok_r.c: New file.
11440 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11441 RAX_LP/RDX_LP on SAVE_PTR.
11442
834f9b8d
RM
114432012-06-14 Roland McGrath <roland@hack.frob.com>
11444
11445 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11446
75fa1921
JM
114472012-06-14 Joseph Myers <joseph@codesourcery.com>
11448
11449 * libm_test.inc (csqrt_test): Allow more spurious underflow
11450 exceptions.
11451 (j0_test): Likewise.
11452 (j1_test): Likewise.
11453 (y0_test): Likewise.
11454 (y1_test): Likewise.
11455
771766df
CD
114562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11457
11458 * po/Makefile (libc.pot): Use UTF-8 charset.
11459
ceb9e56b
PP
114602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11461
11462 [BZ #14210]
11463 Suppress sign-conversion warning from FD_SET.
11464 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11465 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11466 not unsigned long int.
11467 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11468
ddb28975
L
114692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 [BZ #14050]
11472 [BZ #14117]
11473 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11474 __extern_always_inline instead of __extern_inline.
11475 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11476 (__signbit): Likewise.
11477 (__signbitl): Support C++ namespace.
11478 (lrintf): New inline function.
11479 (lrint): Likewise.
11480 (llrintf): Likewise.
11481 (llrint): Likewise.
11482 (fmaxf): Likewise.
11483 (fmax): Likewise.
11484 (fminf): Likewise.
11485 (fmin): Likewise.
11486 (rint): Likewise.
11487 (rintf): Likewise.
11488 (ceil): Likewise.
11489 (ceilf): Likewise.
11490 (floor): Likewise.
11491 (floorf): Likewise.
11492 (nearbyint): Likewise.
11493 (nearbyintf): Likewise.
11494
d7b4fb26
TS
114952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11496
11497 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11498 non-default versions.
11499
eb55f5c2
RM
115002012-06-11 Roland McGrath <roland@hack.frob.com>
11501
11502 [BZ #14218]
11503 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11504
366af02c
TS
115052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11506
99ff6e5c
TS
11507 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11508 (FE_UPWARD, FE_DOWNWARD): Don't define.
11509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11511
366af02c
TS
11512 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11513 reading it.
11514 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11515 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11516
793ea851
KK
115172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11518
11519 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11522 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11523
a728a38f
L
115242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11525
11526 [BZ #14117]
c08010c7
L
11527 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11528 * sysdeps/i386/fpu/Implies: New file.
11529 * sysdeps/x86_64/fpu/Implies: Likewise.
11530 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11531 * sysdeps/x86/fpu/bits/fenv.h: This.
11532
a728a38f
L
11533 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11534 __SSE_MATH__.
11535
6e230d11
SP
115362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11537
11538 [BZ #14134]
11539 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11540 character 0xffff that matches the last element of the
11541 conversion table.
11542
1b671feb
AZ
115432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11544
11545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11546 fmodl commit.
11547
6043738b
AZ
115482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11549
11550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11551 values higher than 25.6283.
11552
34ae0b32
AZ
115532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11554
11555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11556 subnormal exponent extraction and add some __builtin_expect.
11557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11558 Fix for subnormal mantissa calculation.
11559
1214ec8f
MF
115602012-06-04 Mike Frysinger <vapier@gentoo.org>
11561
11562 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11563 cpu2 is -1 and errno is not ENOSYS.
11564
f3d1f93c
L
115652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11566
11567 [BZ #14117]
0e4a3cd7
L
11568 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11569 * sysdeps/x86/bits/string.h: This.
11570 * sysdeps/x86_64/bits/string.h: Removed.
11571
6704c645
L
11572 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11573 if not compiling for x86-64, but compiling for >= i486.
11574
48495318
L
11575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11576 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11577
14adcbfc
L
11578 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11579 New macro from Linux kernel 3.4.0.
11580 (FP_XSTATE_MAGIC2): Likewise.
11581 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11582 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11583 (struct _fpx_sw_bytes): New struct.
11584 (struct _xsave_hdr): Likewise.
11585 (struct _ymmh_state): Likewise.
11586 (struct _xstate): Likewise.
11587
68e408ab
L
11588 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11589 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11591 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11592 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11593 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11594
f3d1f93c
L
11595 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11596 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11597 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11598 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11599 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11600 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11601
d9dc34cd
TMQMF
116022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11603
11604 [BZ #13743]
11605 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11606 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11607 (sysdep_headers): Include sys/platform/ppc.h.
11608 * sysdeps/powerpc/test-gettimebase.c: Test for
11609 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11610 * manual/Makefile (appendices): Include platform.texi.
11611 * manual/contrib.texi (Contributors): Update @node pointers.
11612 * manual/maint.texi (Maintenance): Likewise.
11613 (Platform): New node.
11614 * manual/platform.texi: New file. Document the new features.
11615
4af3879c
SP
116162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11617 Jakub Jelinek <jakub@redhat.com>
11618
11619 [BZ #14188]
11620 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11621 where __builtin_expect is unavailable.
11622
2fd6ff13
DM
116232012-06-03 David S. Miller <davem@davemloft.net>
11624
11625 * stdlib/longlong.h: Updated from GCC.
11626
173f7220
AS
116272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11628
11629 [BZ #14042]
11630 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11631 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11632 __mcount_internal.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11634 (GLIBC_2.16): Likewise.
11635
f34a1c6f
L
116362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11639
88a4576f
JM
116402012-06-01 Joseph Myers <joseph@codesourcery.com>
11641
ea32bcdd
JM
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11643 (default-abi): New variable.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11646 variable.
11647 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11648 Likewise.
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11650 Likewise.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11652 Likewise.
11653
88a4576f
JM
11654 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11655 definition. Document in comment.
11656
402fe938
DM
116572012-06-01 David S. Miller <davem@davemloft.net>
11658
11659 * stdlib/longlong.h: Updated from GCC.
11660
3553723f
L
116612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 [BZ #14117]
3bd872c4
L
11664 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11665 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11666 sys/debugreg.h sys/io.h here.
11667 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11668 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11669 sys/io.h.
11670 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11671 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11672 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11673 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11674 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11675 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11676
3553723f
L
11677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11678 Define only if __x86_64__ is defined.
11679
4842e4fe
JM
116802012-06-01 Joseph Myers <joseph@codesourcery.com>
11681
c5bfe3d5
JM
11682 [BZ #14048]
11683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11684 Use int64_t for variable i.
11685 * math/libm-test.inc (fmod_test): Add more tests.
11686
4842e4fe
JM
11687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11688 z computation is not scheduled after fetestexcept.
11689 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11690 Use math_force_eval instead of asm to ensure calculation scheduled
11691 before exception test.
11692 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11693 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11694
efb73488
AJ
116952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11696
11697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11698 computation is not scheduled after fetestexcept.
11699
29bcce7c
L
117002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 [BZ #14117]
11703 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11704 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11705
73a68f94
AZ
117062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11707
11708 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11709 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11710
67b6df78
L
117112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11712
edf2933a 11713 [BZ #14117]
ebc64a18
L
11714 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11715 <bits/wordsize.h>.
11716 (__WCHAR_MIN): Support __WORDSIZE == 64.
11717 (__WCHAR_MAX): Likewise.
11718
edf2933a
L
11719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11721
57c6cf40
L
11722 [BZ #14183]
11723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11724 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11725
67b6df78 11726 [BZ #14117]
8eb6281e
L
11727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11728 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11729
aac639f4
L
11730 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11731 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11732
67b6df78
L
11733 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11734 Defined to 1 if __x86_64__ isn't defined.
11735 (_STAT_VER_LINUX_OLD): New.
11736 (st_atime): Remove duplicate.
11737 (st_mtime): Likewise.
11738 (st_ctime): Likewise.
11739
1c2cfe81
DM
117402012-05-31 David S. Miller <davem@davemloft.net>
11741
11742 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11743 entries.
11744
5be8418c
AS
117452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11746
e7725326
AS
11747 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11748 gen-libm-test.pl.
11749
5be8418c
AS
11750 [BZ #14132]
11751 * elf/dl-reloc.c: Include <_itoa.h>.
11752 (_dl_reloc_bad_type): Remove use of INTUSE.
11753 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11754 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11755 * stdio-common/psiginfo.c (psiginfo): Likewise.
11756 * stdio-common/psignal.c (psignal): Likewise.
11757 * string/strsignal.c (strsignal): Likewise.
11758 * include/signal.h (_sys_siglist): Declare hidden proto.
11759 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11760 INTVARDEF with libc_hidden_data_def.
11761 * stdio-common/itoa-udigits.c: Likewise.
11762 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11763 (_itoa_lower_digits_internal): Remove declaration.
11764 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11765 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11766 (_sys_sigabbrev_internal): Remove aliases.
11767 (_sys_siglist): Define hidden alias.
11768
507352f1
MT
117692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11770
11771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11772 bits/sysctl.h.
11773
42bbb1c3
L
117742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 [BZ #14117]
6bd784b6
L
11777 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11778 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11779
8bca20f0
L
11780 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11781 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11782 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11783 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11785 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11786
f9e890a9
L
11787 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11789 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11790
471101a1
L
11791 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11792 with __addr.
11793 (insw): Likewise.
11794 (insl): Likewise.
11795 (outsb): Likewise.
11796 (outsw): Likewise.
11797 (outsl): Likewise.
11798
6451c862
L
11799 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11801 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11802
a254b8c9
L
11803 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11804 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11806 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11807 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11808 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11809
b8dfdd92
L
11810 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11811 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11812
578cd270
L
11813 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11814 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11815
de662f5f
L
11816 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11818 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11819
25653439
L
11820 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11821 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11822 to ...
11823 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11824
6bad24a0
L
11825 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11827 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11828
42bbb1c3
L
11829 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11830 for x86-64.
11831 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11832
2d10d547
JM
118332012-05-31 Joseph Myers <joseph@codesourcery.com>
11834
11835 * math/math.h (M_El): Use two more decimal places.
11836 (M_LOG2El): Likewise.
11837 (M_LOG10El): Likewise.
11838 (M_LN2l): Likewise.
11839 (M_LN10l): Likewise.
11840 (M_PIl): Likewise.
11841 (M_PI_2l): Likewise.
11842 (M_PI_4l): Likewise.
11843 (M_1_PIl): Likewise.
11844 (M_2_PIl): Likewise.
11845 (M_2_SQRTPIl): Likewise.
11846 (M_SQRT2l): Likewise.
11847 (M_SQRT1_2l): Likewise.
11848
f230c29b
DM
118492012-05-31 David S. Miller <davem@davemloft.net>
11850
11851 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11852 values between float registers.
11853 * sysdeps/sparc/sparc64/memset.S: Likewise.
11854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11855
fed806c3
MF
118562012-05-31 Mike Frysinger <vapier@gentoo.org>
11857
11858 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11859 -D_FORTIFY_SOURCE=1.
11860 (CPPFLAGS-tst-longjmp_chk.c): Define.
11861 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11862 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11863 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11864 CFLAGS-tst-wchar-h.c.
11865
30917259
MP
118662012-05-31 Marek Polacek <polacek@redhat.com>
11867
11868 [BZ #14132]
11869 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11870 __endmntent_internal): Remove declaration.
11871 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11872 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11873 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11874
1c58d5dc
DM
118752012-05-30 David S. Miller <davem@davemloft.net>
11876
11877 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11878 (___Q_simulate_exceptions): Use real FP ops rather than writing
11879 into the %fsr.
11880 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11881 Likewise.
11882
7dc00e0d
L
118832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 [BZ #14117]
0bd53985
L
11886 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11887 * sysdeps/x86/bits/xtitypes.h: This.
11888
3a257e66
L
11889 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11890 * sysdeps/x86/bits/wordsize.h: This.
11891
62f62904
L
11892 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11893 * sysdeps/x86/bits/huge_vall.h: This.
11894
404fe9d9
L
11895 * sysdeps/i386/bits/select.h: Removed.
11896 * sysdeps/x86_64/bits/select.h: Renamed to ...
11897 * sysdeps/x86/bits/select.h: This.
11898
d48d0446
L
11899 * sysdeps/i386/bits/setjmp.h: Removed.
11900 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11901 * sysdeps/x86/bits/setjmp.h: This.
11902
7dc00e0d
L
11903 * sysdeps/i386/bits/mathdef.h: Removed.
11904 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11905 * sysdeps/x86/bits/mathdef.h: This.
11906
03277f8f
AS
119072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11908
11909 [BZ #14132]
11910 * include/sys/socket.h (__connect_internal)
11911 (__libc_sa_len_internal): Remove declaration.
11912 (__connect, __libc_sa_len): Declare hidden_proto.
11913 (SA_LEN): Remove use of INTUSE.
11914 * socket/connect.c: Add libc_hidden_def.
11915 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11916 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11917 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11918 alias.
11919 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11920 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11921 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11922 of adding _internal alias.
11923
13764867
L
119242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 [BZ #14117]
6bd97696
L
11927 * sysdeps/i386/bits/link.h: Removed.
11928 * sysdeps/i386/bits/linkmap.h: Likewise.
11929 * sysdeps/x86_64/bits/link.h: Renamed to ...
11930 * sysdeps/x86/bits/link.h: This.
11931 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11932 * sysdeps/x86/bits/linkmap.h: This.
11933
f726f0bb
L
11934 * sysdeps/i386/bits/endian.h: Removed.
11935 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11936 * sysdeps/x86/bits/endian.h: This.
11937
13764867
L
11938 * sysdeps/i386/bits/byteswap.h: Removed.
11939 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11940 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11941 * sysdeps/x86/bits/byteswap.h: This.
11942 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11943 * sysdeps/x86/bits/byteswap-16.h: This.
11944 * sysdeps/i386/Implies: Add x86.
11945 * sysdeps/x86_64/Implies: Likewise.
11946
ae251b0b
DM
119472012-05-30 David S. Miller <davem@davemloft.net>
11948
11949 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11950 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11951 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11952 (FP_TRAPPING_EXCEPTIONS): Define.
11953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11954 (FP_TRAPPING_EXCEPTIONS): Define.
11955 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11956 subnormals only when inexact has been signalled or underflow
11957 exceptions are enabled.
11958 (_FP_PACK_CANONICAL): Likewise.
11959
d5c90867
L
119602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 [BZ #14183]
11963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11964 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11965
63f1549e
RH
119662012-05-30 Richard Henderson <rth@twiddle.net>
11967
8d8f2279
RH
11968 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11969 with #ifndef NOT_IN_libc.
11970
63f1549e
RH
11971 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11972 marked to avoid plt entry.
11973
0ab0291b
L
119742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 [BZ #14112]
11977 * Makeconfig (default-abi): New macro.
11978 (abi-includes): Likewise.
11979 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11980 $(abi-$(default-abi)-lib-soname) for soname if defined.
11981 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11982 abi-variants.
11983 * Makefile (installed-stubs): Likewise.
11984 * include/stubs-biarch.h: Removed.
11985 * scripts/lib-names.awk: Only handle one library at a time.
11986 * scripts/soversions.awk: Remove WORDSIZE support.
11987 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11988 entries.
11989 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11990 Removed.
11991 (syscall-list-default-condition): Likewise.
11992 (syscall-list-default-condition): Likewise.
11993 (syscall-list-includes): Likewise.
11994 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11995 syscall-list-* with abi-*. Handle undefined abi-variants.
11996 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11997 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11998 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11999 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12000 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12001 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12002 Removed.
12003 (syscall-list-32-options): Likewise.
12004 (syscall-list-32-condition): Likewise.
12005 (syscall-list-64-options): Likewise.
12006 (syscall-list-64-condition): Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12008 macro.
12009 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12010 Renamed to ...
12011 (abi-*): This.
12012 (abi-64-ld-soname): New macro.
12013 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12015 Renamed to ...
12016 (abi-*): This.
12017 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12018 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12019
4da0431d
JM
120202012-05-30 Joseph Myers <joseph@codesourcery.com>
12021
3a85279c
JM
12022 * sysdeps/unix/sysv/linux/kernel-features.h
12023 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12024 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12025 include <kernel-features.h>.
12026 [!__NR_ftruncate64]: Remove conditional code.
12027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12028 [__NR_ftruncate64]: Make code unconditional.
12029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12030 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12031 include <kernel-features.h>.
12032 [!__NR_ftruncate64]: Remove conditional code.
12033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12034 [__NR_ftruncate64]: Make code unconditional.
12035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12037 include <kernel-features.h>.
12038 [!__NR_ftruncate64]: Remove conditional code.
12039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12040 [__NR_ftruncate64]: Make code unconditional.
12041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12043 include <kernel-features.h>.
12044 [!__NR_ftruncate64]: Remove conditional code.
12045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12046 [__NR_ftruncate64]: Make code unconditional.
12047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12048
4da0431d
JM
12049 * configure.in (libc_cv_fpie): Weaken to a compile test using
12050 LIBC_TRY_CC_OPTION.
12051 * configure: Regenerated.
12052
11ef492c
AK
120532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12054
12055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12059 Refreshed.
12060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12066 Refreshed.
12067
d66ef399
DM
120682012-05-27 David S. Miller <davem@davemloft.net>
12069
12070 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12071 (___Q_zero): New.
12072 (__Q_simulate_exceptions): Return void. Change to simulate
12073 exceptions by writing into the %fsr.
12074 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12075 (__Qp_handle_exceptions): Likewise.
12076 (numbers): Delete.
12077 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12078 __Qp_handle_exceptions.
12079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12080 __Qp_handle_exceptions.
12081 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12082 as unused and give dummy FP_RND_NEAREST initializer.
12083 (FP_INHIBIT_RESULTS): Define.
12084 (___Q_simulate_exceptions): Update declaration.
12085 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12086 formatting.
12087 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12088 as unused and give dummy FP_RND_NEAREST initializer.
12089 (__Qp_handle_exceptions): Update declaration.
12090 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12091 formatting.
12092
04fb54b5
TS
120932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12094
12095 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12096 the temporary FPU control word.
12097 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12098 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12099 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12100 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12101 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12103 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12105 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12106 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12108
3f99608f
KK
121092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12110
12111 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12112 fields.
12113
65a4de4e
CLT
121142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12115
12116 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12117 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12118 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12119 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12120 Likewise.
12121 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12122 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12123 Likewise.
12124
15749d40
UD
121252012-05-27 Ulrich Drepper <drepper@gmail.com>
12126
12127 * po/h.po: Update from translation team.
12128
25dbcb27
AS
121292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12130
3d3f8e55
AS
12131 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12132
25dbcb27
AS
12133 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12134 handling of denormals.
12135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12136 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12138 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12142 Likewise.
12143
7ad47a80 121442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12145
12146 [BZ #14152]
12147 * math/libm-test.inc (fma_test): Don't always expect underflow
12148 exception.
12149
9c6ea9fa
SP
121502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12151
12152 [BZ #12416]
12153 * elf/tst-execstack.c: Include stackinfo.h.
12154 (do_test): Adjust test case to ensure that pthread_getattr_np
12155 behaviour remains the same after marking stack executable.
12156
a8239222
JM
121572012-05-25 Joseph Myers <joseph@codesourcery.com>
12158
12159 * sysdeps/unix/sysv/linux/kernel-features.h
12160 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12161 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12162 kernel-features.h.
12163 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12164 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12165 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12166 kernel-features.h.
12167 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12168 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12169
918b5606
L
121702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 * configure.in: Define the default includes to being none.
12173 * configure: Regenerated.
12174
3a097cc7
RM
121752012-05-25 Roland McGrath <roland@hack.frob.com>
12176
8422c9a5
RM
12177 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12178 * sysdeps/x86_64/setjmp.S: Likewise.
12179 * sysdeps/i386/bsd-setjmp.S: Likewise.
12180 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12181 * sysdeps/i386/setjmp.S: Likewise.
12182 * sysdeps/i386/__longjmp.S: Likewise.
12183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12184 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12185
3a097cc7
RM
12186 * include/stap-probe.h: New file.
12187 * configure.in: Handle --enable-systemtap.
12188 * configure: Regenerated.
12189 * config.h.in (USE_STAP_PROBE): New #undef.
12190 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12191 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12192 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12193
21708942
JM
121942012-05-25 Joseph Myers <joseph@codesourcery.com>
12195
12196 [BZ #13717]
12197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12198 to 2.4.0 where earlier.
12199 * sysdeps/unix/sysv/linux/configure: Regenerated.
12200 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12201 <kernel-features.h>.
12202 [__ASSUME_32BITUIDS]: Make code unconditional.
12203 [!__ASSUME_32BITUIDS]: Remove conditional code.
12204 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12205 <kernel-features.h>.
12206 [__ASSUME_32BITUIDS]: Make code unconditional.
12207 [!__ASSUME_32BITUIDS]: Remove conditional code.
12208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12209 [__ASSUME_32BITUIDS]: Make code unconditional.
12210 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12211 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12212 <kernel-features.h>.
12213 [__ASSUME_32BITUIDS]: Make code unconditional.
12214 [!__ASSUME_32BITUIDS]: Remove conditional code.
12215 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12216 <kernel-features.h>.
12217 [__ASSUME_32BITUIDS]: Make code unconditional.
12218 [!__ASSUME_32BITUIDS]: Remove conditional code.
12219 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12220 <kernel-features.h>.
12221 [__ASSUME_32BITUIDS]: Make code unconditional.
12222 [!__ASSUME_32BITUIDS]: Remove conditional code.
12223 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12224 <kernel-features.h>.
12225 [__ASSUME_32BITUIDS]: Make code unconditional.
12226 [!__ASSUME_32BITUIDS]: Remove conditional code.
12227 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12228 <kernel-features.h>.
12229 [__ASSUME_32BITUIDS]: Make code unconditional.
12230 [!__ASSUME_32BITUIDS]: Remove conditional code.
12231 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12232 <kernel-features.h>.
12233 [__ASSUME_32BITUIDS]: Make code unconditional.
12234 [!__ASSUME_32BITUIDS]: Remove conditional code.
12235 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12236 <kernel-features.h>.
12237 [__ASSUME_32BITUIDS]: Make code unconditional.
12238 [!__ASSUME_32BITUIDS]: Remove conditional code.
12239 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12240 <kernel-features.h>.
12241 [__ASSUME_32BITUIDS]: Make code unconditional.
12242 [!__ASSUME_32BITUIDS]: Remove conditional code.
12243 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12244 <kernel-features.h>.
12245 [__ASSUME_32BITUIDS]: Make code unconditional.
12246 [!__ASSUME_32BITUIDS]: Remove conditional code.
12247 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12248 <kernel-features.h>.
12249 [__ASSUME_32BITUIDS]: Make code unconditional.
12250 [!__ASSUME_32BITUIDS]: Remove conditional code.
12251 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12252 <kernel-features.h>.
12253 [__NR_setresgid] (__setresgid): Do not declare.
12254 [__ASSUME_32BITUIDS]: Make code unconditional.
12255 [!__ASSUME_32BITUIDS]: Remove conditional code.
12256 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12257 <kernel-features.h>.
12258 [__NR_setresuid] (__setresuid): Do not declare.
12259 [__ASSUME_32BITUIDS]: Make code unconditional.
12260 [!__ASSUME_32BITUIDS]: Remove conditional code.
12261 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12262 <kernel-features.h>.
12263 [__ASSUME_32BITUIDS]: Make code unconditional.
12264 [!__ASSUME_32BITUIDS]: Remove conditional code.
12265 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12266 <kernel-features.h>.
12267 [__ASSUME_32BITUIDS]: Make code unconditional.
12268 [!__ASSUME_32BITUIDS]: Remove conditional code.
12269 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12270 <kernel-features.h>.
12271 [__ASSUME_32BITUIDS]: Make code unconditional.
12272 [!__ASSUME_32BITUIDS]: Remove conditional code.
12273 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12274 <kernel-features.h>.
12275 [__ASSUME_32BITUIDS]: Make code unconditional.
12276 [!__ASSUME_32BITUIDS]: Remove conditional code.
12277 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12278 <kernel-features.h>.
12279 [__ASSUME_32BITUIDS]: Make code unconditional.
12280 [!__ASSUME_32BITUIDS]: Remove conditional code.
12281 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12282 <kernel-features.h>.
12283 [__ASSUME_32BITUIDS]: Make code unconditional.
12284 [!__ASSUME_32BITUIDS]: Remove conditional code.
12285 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12286 <kernel-features.h>.
12287 [__ASSUME_32BITUIDS]: Make code unconditional.
12288 [!__ASSUME_32BITUIDS]: Remove conditional code.
12289 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12290 <kernel-features.h>.
12291 [__ASSUME_32BITUIDS]: Make code unconditional.
12292 [!__ASSUME_32BITUIDS]: Remove conditional code.
12293 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12294 <kernel-features.h>.
12295 [__ASSUME_32BITUIDS]: Make code unconditional.
12296 [!__ASSUME_32BITUIDS]: Remove conditional code.
12297 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12298 <kernel-features.h>.
12299 [__ASSUME_32BITUIDS]: Make code unconditional.
12300 [!__ASSUME_32BITUIDS]: Remove conditional code.
12301 * sysdeps/unix/sysv/linux/kernel-features.h
12302 (__ASSUME_SETRESUID_SYSCALL): Remove.
12303 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12304 (__ASSUME_32BITUIDS): Likewise.
12305 (__ASSUME_LDT_WORKS): Likewise.
12306 (__ASSUME_O_DIRECTORY): Likewise.
12307 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12308 architecture but not kernel version.
12309 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12310 (__ASSUME_MMAP2_SYSCALL): Likewise.
12311 (__ASSUME_STAT64_SYSCALL): Likewise.
12312 (__ASSUME_IPC64): Likewise.
12313 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12314 <kernel-features.h>.
12315 [__ASSUME_32BITUIDS]: Make code unconditional.
12316 [!__ASSUME_32BITUIDS]: Remove conditional code.
12317 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12318 <kernel-features.h>.
12319 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12320 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12321 132096]: Remove conditional code.
12322 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12323 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12324 <kernel-features.h>.
12325 [__ASSUME_32BITUIDS]: Make code unconditional.
12326 [!__ASSUME_32BITUIDS]: Remove conditional code.
12327 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12328 <kernel-features.h>.
12329 [__ASSUME_32BITUIDS]: Make code unconditional.
12330 [!__ASSUME_32BITUIDS]: Remove conditional code.
12331 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12332 <kernel-features.h>.
12333 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12334 unconditional.
12335 (__setresgid): Do not declare.
12336 [__ASSUME_32BITUIDS]: Make code unconditional.
12337 [!__ASSUME_32BITUIDS]: Remove conditional code.
12338 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12339 <kernel-features.h>.
12340 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12341 unconditional.
12342 (__setresuid): Do not declare.
12343 [__ASSUME_32BITUIDS]: Make code unconditional.
12344 [!__ASSUME_32BITUIDS]: Remove conditional code.
12345 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12346 <kernel-features.h>.
12347 [__ASSUME_32BITUIDS]: Make code unconditional.
12348 [!__ASSUME_32BITUIDS]: Remove conditional code.
12349 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12350 <kernel-features.h>.
12351 [__ASSUME_32BITUIDS]: Make code unconditional.
12352 [!__ASSUME_32BITUIDS]: Remove conditional code.
12353
a386f1cc
RH
123542012-05-25 Richard Henderson <rth@twiddle.net>
12355
12356 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12357 dl_hwcap to ifunc resolver.
12358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12359 elf_ifunc_invoke.
12360 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12361 dl_hwcap to ifunc resolver.
12362 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12363
b6550497
JM
123642012-05-24 Joseph Myers <joseph@codesourcery.com>
12365
12366 [BZ #14153]
12367 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12368 for |x| <= 2**-26, not 2**-57.
12369 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12370 exception.
12371
b0bc23a1
JL
123722012-05-24 Jeff Law <law@redhat.com>
12373
12374 * stdio-common/Makefile (tests): Add bug25.
12375 * stdio-common/bug25.c: New test.
12376
347c92e9
L
123772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 [BZ #13576]
12380 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12381 multiple of MALLOC_ALIGNMENT in size.
12382 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12383
6bcc8b3f
JM
123842012-05-24 Joseph Myers <joseph@codesourcery.com>
12385
12386 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12387 Require >= 256.
12388 (FILENAME_MAX): Use macro-int-constant.
12389 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12390 (_IOFBF): Use macro-int-constant.
12391 (_IOLBF): Likewise.
12392 (_IONBF): Likewise.
12393 (SEEK_CUR): Likewise.
12394 (SEEK_END): Likewise.
12395 (SEEK_SET): Likewise.
12396 (TMP_MAX): Likewise.
12397 (EOF): Use macro-int-constant. Require < 0.
12398 (NULL): Use macro-constant. Require == 0.
12399 (stdin): Require type to be FILE *.
12400 (stdout): Likewise.
12401 (stderr): Likewise.
12402 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12403 macro-int-constant.
12404 (EXIT_SUCCESS): Likewise.
12405 (NULL): Use macro-constant. Require == 0.
12406 (RAND_MAX): Use macro-int-constant.
12407 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12408 [C99-based standards] (strtof): Require function.
12409 [C99-based standards] (strtold): Likewise.
12410 [C99-based standards] (strtoll): Likewise.
12411 [C99-based standards] (strtoull): Likewise.
12412 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12413 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12414 [ISO || ISO99 || ISO11] (math.h): Likewise.
12415 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12416 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12418
d18ea0c5
AS
124192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12420
12421 [BZ #14132]
56d25bb8
AS
12422 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12423 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12424 * intl/dgettext.c (DCGETTEXT): Likewise.
12425 * intl/gettext.c (DCGETTEXT): Likewise.
12426 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12427 * posix/regex_internal.h (gettext): Likewise.
12428 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12429 Remove declaration.
12430 * include/argz.h (__argz_count_internal)
12431 (__argz_stringify_internal): Remove declaration.
12432 (__argz_count, __argz_stringify): Declare hidden proto.
12433 * intl/dcgettext.c: Remove use of INTDEF.
12434 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12435 * string/argz-stringify.c: Likewise.
12436 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12437 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12438 Declare hidden proto.
d18ea0c5
AS
12439 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12440 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12441 Declare hidden proto.
12442 * include/stdio.h (__asprintf_internal): Don't declare.
12443 (__asprintf): Don't define as macro. Declare hidden proto.
12444 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12445 (__fsetlocking): Declare hidden proto.
12446 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12447 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12448 hidden proto.
12449 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12450 (_IO_setlinebuf): Remove use of INTUSE.
12451 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12452 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12453 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12454 Remove declaration.
12455 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12456 (_IO_do_flush): Remove use of INTUSE.
12457 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12458 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12459 (_IO_adjust_column, _IO_least_wmarker)
12460 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12461 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12462 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12463 (_IO_default_doallocate, _IO_wdefault_doallocate)
12464 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12465 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12466 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12467 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12468 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12469 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12470 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12471 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12472 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12473 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12474 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12475 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12476 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12477 proto.
12478 (_IO_flush_all_internal, _IO_adjust_column_internal)
12479 (_IO_default_uflow_internal, _IO_default_finish_internal)
12480 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12481 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12482 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12483 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12484 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12485 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12486 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12487 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12488 (_IO_file_close_internal, _IO_file_close_it_internal)
12489 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12490 (_IO_file_init_internal, _IO_file_attach_internal)
12491 (_IO_file_fopen_internal, _IO_file_read_internal)
12492 (_IO_file_sync_internal, _IO_file_seek_internal)
12493 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12494 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12495 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12496 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12497 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12498 (_IO_list_all_internal, _IO_link_in_internal)
12499 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12500 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12501 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12502 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12503 (_IO_do_write_internal, _IO_padn_internal)
12504 (_IO_getline_info_internal, _IO_getline_internal)
12505 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12506 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12507 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12508 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12509 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12510 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12511 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12512 with libc_hidden_ver, remove use of INTUSE.
12513 * libio/genops.c: Likewise.
12514 * libio/freopen.c: Likewise.
12515 * libio/freopen64.c: Likewise.
12516 * libio/iofclose.c: Likewise.
12517 * libio/iofdopen.c: Likewise.
12518 * libio/iofflush.c: Likewise.
12519 * libio/iofflush_u.c: Likewise.
12520 * libio/iofgets.c: Likewise.
12521 * libio/iofgets_u.c: Likewise.
12522 * libio/iofopen.c: Likewise.
12523 * libio/iofopncook.c: Likewise.
12524 * libio/iofread.c: Likewise.
12525 * libio/iofread_u.c: Likewise.
12526 * libio/ioftell.c: Likewise.
12527 * libio/iofwrite.c: Likewise.
12528 * libio/iogetline.c: Likewise.
12529 * libio/iogets.c: Likewise.
12530 * libio/iogetwline.c: Likewise.
12531 * libio/iopadn.c: Likewise.
12532 * libio/iopopen.c: Likewise.
12533 * libio/ioseekoff.c: Likewise.
12534 * libio/ioseekpos.c: Likewise.
12535 * libio/iosetbuffer.c: Likewise.
12536 * libio/iosetvbuf.c: Likewise.
12537 * libio/ioungetc.c: Likewise.
12538 * libio/ioungetwc.c: Likewise.
12539 * libio/iovdprintf.c: Likewise.
12540 * libio/iovsprintf.c: Likewise.
12541 * libio/iovsscanf.c: Likewise.
12542 * libio/memstream.c: Likewise.
12543 * libio/obprintf.c: Likewise.
12544 * libio/oldfileops.c: Likewise.
12545 * libio/oldiofclose.c: Likewise.
12546 * libio/oldiofdopen.c: Likewise.
12547 * libio/oldiofopen.c: Likewise.
12548 * libio/oldiopopen.c: Likewise.
12549 * libio/oldstdfiles.c: Likewise.
12550 * libio/putc.c: Likewise.
12551 * libio/setbuf.c: Likewise.
12552 * libio/setlinebuf.c: Likewise.
12553 * libio/stdfiles.c: Likewise.
12554 * libio/strops.c: Likewise.
12555 * libio/vasprintf.c: Likewise.
12556 * libio/vscanf.c: Likewise.
12557 * libio/vsnprintf.c: Likewise.
12558 * libio/vswprintf.c: Likewise.
12559 * libio/wfiledoalloc.c: Likewise.
12560 * libio/wfileops.c: Likewise.
12561 * libio/wgenops.c: Likewise.
12562 * libio/wmemstream.c: Likewise.
12563 * libio/wstrops.c: Likewise.
12564 * libio/__fpurge.c: Likewise.
12565 * libio/__fsetlocking.c: Likewise.
12566 * assert/assert.c: Likewise.
12567 * debug/fgets_chk.c: Likewise.
12568 * debug/fgets_u_chk.c: Likewise.
12569 * debug/fread_chk.c: Likewise.
12570 * debug/fread_u_chk.c: Likewise.
12571 * debug/gets_chk.c: Likewise.
12572 * debug/obprintf_chk.c: Likewise.
12573 * debug/vasprintf_chk.c: Likewise.
12574 * debug/vdprintf_chk.c: Likewise.
12575 * debug/vsnprintf_chk.c: Likewise.
12576 * debug/vsprintf_chk.c: Likewise.
12577 * malloc/mtrace.c: Likewise.
12578 * misc/error.c: Likewise.
12579 * misc/syslog.c: Likewise.
12580 * stdio-common/asprintf.c: Likewise.
12581 * stdio-common/fxprintf.c: Likewise.
12582 * stdio-common/getw.c: Likewise.
12583 * stdio-common/isoc99_fscanf.c: Likewise.
12584 * stdio-common/isoc99_scanf.c: Likewise.
12585 * stdio-common/isoc99_vfscanf.c: Likewise.
12586 * stdio-common/isoc99_vscanf.c: Likewise.
12587 * stdio-common/isoc99_vsscanf.c: Likewise.
12588 * stdio-common/printf-prs.c: Likewise.
12589 * stdio-common/printf_fp.c: Likewise.
12590 * stdio-common/printf_fphex.c: Likewise.
12591 * stdio-common/printf_size.c: Likewise.
12592 * stdio-common/putw.c: Likewise.
12593 * stdio-common/scanf.c: Likewise.
12594 * stdio-common/sprintf.c: Likewise.
12595 * stdio-common/tmpfile.c: Likewise.
12596 * stdio-common/vfprintf.c: Likewise.
12597 * stdio-common/vfscanf.c: Likewise.
12598 * stdlib/strfmon_l.c: Likewise.
12599 * sunrpc/openchild.c: Likewise.
12600 * sunrpc/xdr_stdio.c: Likewise.
12601 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12602 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12603
d6c33fda
RM
126042012-05-24 Roland McGrath <roland@hack.frob.com>
12605
c1487492
RM
12606 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12607
12608 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12609 in the third column, to generate for the shared library an IFUNC
12610 that uses _dl_vdso_vsym.
12611 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12612 * Makeconfig (object-suffixes-noshared): New variable.
12613
12614 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12615 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12616 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12617 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12618
d6c33fda
RM
12619 [BZ #14132]
12620 * include/sys/time.h (__gettimeofday): Remove macro.
12621 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12622 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12623 Remove INTDEF.
12624 (__gettimeofday): Add libc_hidden_def.
12625 (gettimeofday): Add libc_hidden_weak.
12626 * sysdeps/mach/gettimeofday.c: Likewise.
12627 * sysdeps/posix/gettimeofday.c: Likewise.
12628 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12631 (__gettimeofday_internal): Remove strong_alias.
12632 (__gettimeofday): Add libc_hidden_def.
12633 (gettimeofday): Add libc_hidden_weak.
12634 * sysdeps/unix/syscalls.list (gettimeofday):
12635 Remove __gettimeofday_internal alias.
12636
b5a2bbe6
L
126372012-05-24 Daniel Jacobowitz <drow@false.org>
12638 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 [BZ #12495]
12641 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12642 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12643 (largebin_index_32_big): New.
12644 (largebin_index): Use it for 16-byte alignment.
12645 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12646 correction with front_misalign.
12647
cfba4fda
L
126482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12649
7f907421
L
12650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12652 Likewise.
12653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12654 Likewise.
12655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12656 Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12658 Likewise.
12659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12660 Likewise.
12661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12662 Likewise.
12663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12664 Likewise.
12665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12666 Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12668 Likewise.
12669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12670 Likewise.
12671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12672 Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12674 Likewise.
12675
cfba4fda
L
12676 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12677 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12678
80bad0cc
JM
126792012-05-24 Joseph Myers <joseph@codesourcery.com>
12680
7a25eb06
JM
12681 [BZ #10846]
12682 [BZ #14036]
12683 * math/libm-test.inc (exp_test): Add test from bug 14036.
12684 (pow_test): Add test from bug 10846.
12685
795405f9
JM
12686 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12687 and other flags.
12688 (special_function): Do not include flags in test name.
12689 (parse_args): Likewise.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12695
80bad0cc
JM
12696 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12697 exceptions.
12698 * math/libm-test.inc ("Philosophy"): Update comment about
12699 exception testing.
12700 (UNDERFLOW_EXCEPTION): New macro.
12701 (UNDERFLOW_EXCEPTION_OK): Likewise.
12702 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12703 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12704 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12705 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12706 (INVALID_EXCEPTION_OK): Update value.
12707 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12708 (OVERFLOW_EXCEPTION_OK): Likewise.
12709 (IGNORE_ZERO_INF_SIGN): Likewise.
12710 (test_exceptions): Handle underflow exceptions.
12711 (acos_test): Update for underflow exception expectations.
12712 (cexp_test): Likewise.
12713 (clog_test): Likewise.
12714 (clog10_test): Likewise.
12715 (csqrt_test): Likewise.
12716 (ctan_test): Likewise.
12717 (ctanh_test): Likewise.
12718 (exp_test): Likewise.
12719 (exp10_test): Likewise.
12720 (exp2_test): Likewise.
12721 (expm1_test): Likewise.
12722 (fma_test): Likewise.
12723 (j0_test): Likewise.
12724 (jn_test): Likewise.
12725 (nexttoward_test): Likewise.
12726 (pow_test): Likewise.
12727 (scalbn_test): Likewise.
12728 (scalbln_test): Likewise.
12729 (tan_test): Likewise.
12730 (y1_test): Likewise.
12731 * sysdeps/i386/fpu/libm-test-ulps: Update.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12733
9e0e3d0b
DM
127342012-05-23 David S. Miller <davem@davemloft.net>
12735
12736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12737 (__libc_sigaction): Remove unused local variables.
12738
ccd0a08f
L
127392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12740
12741 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12742
62bdf9a6
PE
127432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12744
f8591f80
PE
12745 mktime: avoid signed integer overflow
12746 * time/mktime.c (__mktime_internal): Do not mishandle the case
12747 where diff == INT_MIN.
12748
94c7d826
PE
12749 mktime: simplify computation of average
12750 * time/mktime.c (ranged_convert): Use new time_t_avg function
12751 instead of rolling our own (probably-slower) code.
12752
ce73d683
PE
12753 mktime: do not assume signed right shift propagates sign bit
12754 * time/mktime.c (isdst_differ): New static function.
12755 (__mktime_internal): No need to normalize tm_isdst now.
12756 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12757 tm_isdst values.
12758
72a22e59
PE
12759 mktime: merge another wrapv change from gnulib
12760 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12761 from some compilers.
12762
68605433
PE
12763 mktime: remove incorrect attempt at unusual arithmetics
12764 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12765 The code didn't really work on such machines anyway.
12766 (TYPE_MINIMUM): Assume two's complement.
12767 (twos_complement_arithmetic): Verify that long_int and time_t
12768 are two's complement (or unsigned, in the latter case).
12769
03cf7fe3
PE
12770 mktime: check signed shifts on long_int and time_t, too
12771 * time/mktime.c (SHR): Check that shifts work as desired
12772 on the types long_int and time_t too, as SHR is used on
12773 such types.
12774
f04dfbc2
PE
12775 mktime: do not assume 'long' is wide enough
12776 * time/mktime.c (verify): Move decl up.
12777 (long_int): New type.
12778 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12779 to remove assumption in the code that 'long' is wide enough to
12780 store year values. This assumption is not true on x32 and on
12781 some non-glibc platforms.
12782
62bdf9a6
PE
12783 mktime: merge wrapv change from gnulib
12784 * time/mktime.c (WRAPV): New macro.
12785 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12786 (guess_time_tm, __mktime_internal): Do not assume that signed
12787 integer overflow wraps around; modern compilers generate code
12788 where this assumption is no longer valid.
12789
5e292e4f
L
127902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12791
12792 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12793 Replace "jmp L(pseudo_end)" with "ret".
12794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12795 Likewise.
12796
8caf8c87
AJ
127972012-05-23 Andreas Jaeger <aj@suse.de>
12798
12799 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12800 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12801
1a09dc56
AJ
128022012-05-23 Andreas Jaeger <aj@suse.de>
12803 Maximilian Attems <max@stro.at>
12804
12805 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12806 New macros.
12807
1c87aba0
L
128082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12811 code so that pseudo_end is just ret and the stack pointer is
12812 correct also for static library in error case.
12813
40e45bd5
JM
128142012-05-23 Joseph Myers <joseph@codesourcery.com>
12815
c2670533
JM
12816 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12817 move to syscalls.list.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12822
40e45bd5
JM
12823 * manual/install.texi (Running make install): Do not mention Linux
12824 kernel version for which pt_chown is not needed.
12825 (Linux): Do not mention problems with nscd with 2.0 kernels.
12826 * INSTALL: Regenerated.
12827
be08eda5
AJ
128282012-05-23 Andreas Jaeger <aj@suse.de>
12829
12830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12831 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12832 macro.
12833 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12835 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12837 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12843 * sysdeps/unix/sysv/linux/bits/in.h
12844 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12845
a6a056bb
RM
128462012-05-22 Roland McGrath <roland@hack.frob.com>
12847
12848 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12849 (PREPARE_VERSION): Just use assert instead, it will be elided
12850 under [NDEBUG] anyway.
12851
c9009328
L
128522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12853
12854 * sysdeps/unix/sysv/linux/Makefile: Include
12855 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12856 (sysdep_routines): Remove sysctl.
c9009328
L
12857 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12858 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12859 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12860 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12861 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12862
73338355
AJ
128632012-05-22 Andreas Jaeger <aj@suse.de>
12864
12865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12866 that pseudo_end is just ret and the stack pointer is correct also
12867 for static library in error case.
12868
d44638b0
PP
128692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12870
12871 [BZ #14122]
12872 * nss/nsswitch.c (defconfig_entries): New variable.
12873 (__nss_database_lookup): Don't leak defconfig entries.
12874 (nss_parse_service_list): Don't leak on error paths.
12875 (free_database_entries): New function.
12876 (free_defconfig): New function.
12877 (free_mem): Move common code to free_database_entries.
12878
31a39bd8
L
128792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12880
da0331a8
L
12881 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12882 Add arch_prctl.
12883 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12884
31a39bd8
L
12885 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12886 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12888 New macro.
12889 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12890 (INTERNAL_SYSCALL_TYPES): Likewise.
12891 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12892 (LOAD_REGS_TYPES_[1-6]): Likewise.
12893 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12894 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12895
45470df3
AZ
128962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897
12898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12899 copysignl for GLIBC_2_0.
12900 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12901 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12903 logbl for GLIBC_2_0.
12904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12906
98a61bcb
L
129072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12908
a4f6e481
L
12909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12911
f63d5db6
L
12912 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12913 Use "neg %eax".
12914
98a61bcb
L
12915 * time/mktime.c: Update copyright years.
12916
95770f14
PE
129172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12918
6226efbd
PE
12919 mktime: merge comment-quoting-style change from gnulib
12920 * time/mktime.c: Quote 'like this' in comments.
12921 The GNU coding standards suggest that we no longer quote `like this',
12922 as "`" and "'" are typically rendered asymmetrically nowadays.
12923 The typical gnulib style is to quote 'like this' when quoting
12924 code, and "like this" when quoting English.
12925
b99e4f78
PE
12926 * time/mktime.c (compile-command): Add "-I.".
12927
643e01e6
PE
12928 mktime: merge mktime-internal.h change from gnulib
12929 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12930
2554247d
PE
12931 mktime: merge time_r change from gnulib
12932 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12933
826dd0ab
PE
12934 mktime: merge DEBUG change from gnulib
12935 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12936 case system <time.h> has a #define.
12937
bd83aabe
PE
12938 mktime: merge <sys/types.h> change from gnulib
12939 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12940 since <time.t> is now guaranteed to define time_t.
12941
95770f14
PE
12942 mktime: merge HAVE_CONFIG_H change from gnulib
12943 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12944
5e1a27a9
L
129452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12946
0e44a77e
L
12947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12948 Use "neg %eax".
12949
5e1a27a9
L
12950 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12951 __rlim_t cast.
12952 (struct rusage): Use anonymous union to pad each field to
12953 __syscall_slong_t.
12954
46259bec
DM
129552012-05-21 David S. Miller <davem@davemloft.net>
12956
12957 * Makefules (o-iterator): Remove .s cases.
12958 (compile-command.s): Delete.
12959 (COMPILE.s): Delete.
12960 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12961
59f0c22e
JM
129622012-05-21 Joseph Myers <joseph@codesourcery.com>
12963
12964 * configure.in (libc_cv_predef_stack_protector): Only consider
12965 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12966 * configure: Regenerated.
12967
20c07380
L
129682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12969
bbb3154b
L
12970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12971 New macro. Use R*LP on int and pointer.
12972 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12973 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12974 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12975 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12976
20c07380
L
12977 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12978 [__WORDSIZE_TIME64_COMPAT32] instead of
12979 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12980 (struct utmp): Likewise.
12981 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12982 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12983 Renamed to ...
12984 (__WORDSIZE_TIME64_COMPAT32): This.
12985 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12986 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12987 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12988 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12989 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12990 (__WORDSIZE_TIME64_COMPAT32): New macro.
12991
d8d1017e
AJ
129922012-05-21 Andreas Jaeger <aj@suse.de>
12993
12994 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12995 only if [SHARED]. Add prototype for __wcschr_ia32.
12996
6c7fb145
RM
129972012-05-21 Roland McGrath <roland@hack.frob.com>
12998
12999 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13000 of %rbp unmolested in the jmp_buf while mangling the low bits.
13001 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13002 unmolested high bits of %rbp while demangling the low bits.
13003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13004
66274218
AJ
130052012-05-21 Andreas Jaeger <aj@suse.de>
13006
07c58f8f
AJ
13007 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13008 * sunrpc/svc_simple.c: Use it for registerrpc.
13009 * sunrpc/xcrypt.c: Use it for passwd2des.
13010
66274218
AJ
13011 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13012
61f65140
L
130132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13016 Don't define if [__SYSCALL_WORDSIZE != 32].
13017 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13018 New macro.
13019
5fefb436
AJ
130202012-05-21 Bruno Haible <bruno@clisp.org>
13021 Andreas Jaeger <aj@suse.de>
13022
13023 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13024 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13025 inptr and inend for must_buffer_ch.
13026 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13027 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13028 * stdio-common/Makefile (tests): Remove bug15.
13029 (bug15-ENV): Remove macro.
13030 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13031 anymore.
13032
d8e272ab
AJ
130332012-05-19 Andreas Jaeger <aj@suse.de>
13034 Roland McGrath <roland@hack.frob.com>
13035
13036 * manual/contrib.texi: Completely rewritten. It contains now an
13037 alphabetical list of contributors and their contributions.
13038
4a56a162
RH
130392012-05-21 Richard Henderson <rth@twiddle.net>
13040
13041 * misc/getauxval.c (__getauxval): Use unsigned long int.
13042 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13043 (getauxval): Use unsigned long int.
13044
d024d23c
L
130452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13046
13047 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13048
cbc00a03
RM
130492012-05-21 Roland McGrath <roland@hack.frob.com>
13050
13051 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13052 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13053 __alignof__ (long double).
13054
478143fa
AZ
130552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13056
13057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13058
c7683a6d
RH
130592012-05-20 Richard Henderson <rth@twiddle.net>
13060
13061 * misc/getauxval.c: New file.
13062 * misc/sys/auxv.h: New file.
13063 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13064 (routines): Add getauxval.
13065 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13066 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13067 * elf/dl-sysdep.c (_dl_auxv): Remove.
13068 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13069 * elf/dl-support.c (_dl_auxv): New variable.
13070 (_dl_aux_init): Initialize it.
13071 * manual/startup.texi (Auxiliary Vector): New node.
13072 * sysdeps/generic/bits/hwcap.h: New file.
13073 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13074 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13075 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13076 * sysdeps/sparc/sysdep.h: ... here. Include it.
13077 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13080 Update.
c7683a6d
RH
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13089
a6f1845d
AZ
130902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13091
13092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13093
cbcbe830
DM
130942012-05-19 David S. Miller <davem@davemloft.net>
13095
13096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13097
e0b16cc2
JM
130982012-05-19 Joseph Myers <joseph@codesourcery.com>
13099
13100 [BZ #14123]
13101 * math/s_ccosh.c: Include <float.h>
13102 (__ccosh): Avoid internal overflow calculating sinh and cosh
13103 values before multiplying by sin and cos values.
13104 * math/s_ccoshf.c: Likewise.
13105 * math/s_ccoshl.c: Likewise.
13106 * math/s_csin.c: Likewise.
13107 * math/s_csinf.c: Likewise.
13108 * math/s_csinl.c: Likewise.
13109 * math/s_csinh.c: Likewise.
13110 * math/s_csinhf.c: Likewise.
13111 * math/s_csinhl.c: Likewise.
13112 * math/libm-test.inc (ccos_test): Add more tests.
13113 (ccosh_test): Likewise.
13114 (csin_test): Likewise.
13115 (csinh_test): Likewise.
13116 * sysdeps/i386/fpu/libm-test-ulps: Update.
13117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118
6ad13e08
L
131192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13120
f66f0ce8
L
13121 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13122 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13123
6ad13e08
L
13124 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13125
b1d072a7
JM
131262012-05-19 Joseph Myers <joseph@codesourcery.com>
13127
13128 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13129 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13130 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13131 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13132 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13133 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13134 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13135 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13136 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13137 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13138 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13139 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13140 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13141 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13142 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13143 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13144 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13145 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13146 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13147 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13148 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13149 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13150 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13151 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13152 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13153 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13154 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13155 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13156 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13157 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13158 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13159
9eae47cb
AJ
131602012-05-18 Andreas Jaeger <aj@suse.de>
13161
13162 * csu/.gitignore: Delete.
13163
bb07f69f
L
131642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13167 (timex): Use __syscall_slong_t.
13168
e6bdb741
AJ
131692012-05-18 Andreas Jaeger <aj@suse.de>
13170 Carlos O'Donell <carlos_odonell@mentor.com>
13171
13172 * manual/install.texi (Configuring and compiling): Update
13173 description about files modified in the source directory.
d6c33fda 13174 * INSTALL: Regenerated.
e6bdb741 13175
1b74487e
L
131762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13179 value. Use "or" to set return value to -1.
13180 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13181 negate return value.
13182
a88b64b9
TMQMF
131832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13184
13185 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13186 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13187 failure if the compiler has Graphite support disabled.
13188 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13189 Likewise.
13190 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13191 CFLAGS-memmove.c): Likewise.
13192 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13193 Likewise.
13194
3707636e
L
131952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13196
610b8622
L
13197 * sysdeps/x86_64/x32/_itoa.h: New file.
13198
7cd195df
L
13199 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13200 getdents system call only if kernel and user dirents have the
13201 same d_ino and d_off.
13202
94b07d20
L
13203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13204 LLONG_MAX != LONG_MAX.
13205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13206 (_fitoa_word): Likewise.
13207
18298070
L
13208 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13209 years.
13210 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13213
553c7ea4
L
13214 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13215 include <bits/wordsize.h>. Check __x86_64__ instead of
13216 __WORDSIZE.
13217 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13218 if __x86_64__ is defined. Use anonymous union on fpstate.
13219
3707636e
L
13220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13221 anonymous union.
13222
b53ef01a
AS
132232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13224
37fb1dc0
AS
13225 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13226 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13227 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13228 Refer to _rtld_local_ro instead of _rtld_global_ro.
13229 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13230 Likewise.
13231 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13232 Likewise.
13233 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13234 Likewise.
13235 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13236 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13237 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13238
b53ef01a
AS
13239 * sysdeps/powerpc/powerpc32/dl-machine.c
13240 (__elf_machine_runtime_setup) [PROF]: Don't reference
13241 _dl_prof_resolve.
13242
7a185db2
AJ
132432012-05-18 Andreas Jaeger <aj@suse.de>
13244
13245 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13246 function only available for GCCs before 3.4 since GCC 3.4
13247 introduced a builtin.
13248 (lrint): Likewise.
13249 (llrintf): Likewise.
13250 (llrint): Likewise.
13251 (fmaxf): Likewise.
13252 (fmax): Likewise.
13253 (fminf): Likewise.
13254 (fmin): Likewise.
13255 (rint): Likewise.
13256 (rintf): Likewise.
13257 (nearbyint): Likewise.
13258 (nearbyintf): Likewise.
13259 (ceil): Likewise.
13260 (ceilf): Likewise.
13261 (floor): Likewise.
13262 (floorf): Likewise.
13263
3e5aef87
L
132642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13265
428bd707
L
13266 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13267 on both fields and cast pointer to __syscall_ulong_t.
13268
3e5aef87
L
13269 * bits/types.h (__fsword_t): New type.
13270 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13271 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13273 (__FSWORD_T_TYPE): Likewise.
13274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13275 (__FSWORD_T_TYPE): Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13277 (__FSWORD_T_TYPE): Likewise.
13278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13279 (__FSWORD_T_TYPE): Likewise.
13280 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13281 __SWORD_TYPE with __fsword_t.
13282 (statfs64): Likewise.
13283
1ba7c3dc
DM
132842012-05-17 David S. Miller <davem@davemloft.net>
13285
13286 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13287
59910343
AJ
132882012-05-17 Andreas Jaeger <aj@suse.de>
13289
13290 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13291 warning.
13292
2e4c1e9e
L
132932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13294
13295 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13296
de7f5ce7
AJ
132972012-05-17 Andreas Jaeger <aj@suse.de>
13298
13299 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13300 when it is used.
13301
286abc3d
CM
133022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13303
13304 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13305
477cc68e
L
133062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13309 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13310
1a0994f5
CD
133112012-05-17 Andreas Jaeger <aj@suse.de>
13312 Carlos O'Donell <carlos_odonell@mentor.com>
13313
13314 [BZ #14059]
13315 * sysdeps/x86_64/multiarch/init-arch.h
13316 (bit_YMM_Usable): Rename to...
13317 (bit_AVX_Usable): ... this.
13318 (bit_FMA4_Usable): New macro.
13319 (bit_XMM_state): New macro.
13320 (bit_YMM_state): New macro.
13321 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13322 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13323 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13324 (CPUID_OSXSAVE): New macro.
13325 (CPUID_AVX): New macro.
13326 (CPUID_FMA4): New macro.
13327 (index_YMM_Usable): Rename to...
13328 (index_AVX_Usable): ... this.
13329 (HAS_AVX): Use HAS_ARCH_FEATURE.
13330 (HAS_FMA4): Likewise.
13331 (HAS_YMM_USABLE): Remove.
13332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13333 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13334 are present.
13335 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13336 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13337 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13338 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13339 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13340
0af797de
CM
133412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13342
13343 * math/libm-test.c: Support platforms without multiple rounding modes.
13344 * math/bug-nextafter.c: Support platforms without FP exceptions.
13345 * math/bug-nexttoward.c: Likewise.
13346 * math/test-fenv.c: Likewise.
13347 * math/test-misc.c: Likewise.
13348 * stdlib/bug-getcontext.c: Likewise.
13349
e39745ff
AJ
133502012-05-17 Andreas Jaeger <aj@suse.de>
13351
13352 * manual/examples/search.c (critter_cmp): Change signature to
13353 avoid warnings.
13354 * manual/string.texi (Collation Functions): Likewise.
13355
48970aba
L
133562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 * bits/types.h: Fold copyright years.
13359 * bits/typesizes.h: Likewise.
13360 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13364 * time/time.h: Likewise.
13365
bedee953
PP
133662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13367
13368 [BZ #208]
13369 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13370 in instead of returning them. Return void.
13371 (__libc_mallinfo): Accumulate over all arenas.
13372 (__malloc_stats): Adjust for change in int_mallinfo interface.
13373
61653dfb
RM
133742012-05-16 Roland McGrath <roland@hack.frob.com>
13375
30b99d79
RM
13376 [BZ #10375]
13377 * configure.in (NM): Add AC_CHECK_TOOL for it.
13378 (libc_extra_cflags): New substituted variable.
13379 Check for -fstack-protector being used implicitly.
13380 * configure: Regenerated.
13381 * config.make.in (config-extra-cflags): New variable,
13382 gets @libc_extra_cflags@.
13383 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13384
61653dfb
RM
13385 [BZ #10375]
13386 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13387 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13388 * configure: Regenerated.
13389 * config.make.in (CPPUNDEFS): New substituted variable.
13390 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13391 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13392 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13393
661768bb
L
133942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13397 (mq_attr): Use __syscall_slong_t.
13398
d4261567
L
133992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13400
13401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13402 Check __x86_64__ instead of __WORDSIZE.
13403 (_STAT_VER_LINUX): Likewise.
13404 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13405 __syscall_ulong_t and __syscall_slong_t.
13406 (stat64): Likewise.
13407
cf3ff365
L
134082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13411
76cf3e4d
L
134122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13413
13414 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13415
a637753a
L
134162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13417
13418 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13419 __syscall_ulong_t.
13420
d5e05119
L
13421 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13422 include <bits/wordsize.h>. Check __x86_64__ instead of
13423 __WORDSIZE.
13424 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13425 defined.
13426 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13427
f62ee380
L
13428 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13429 include <bits/wordsize.h>. Check __x86_64__ instead of
13430 __WORDSIZE.
13431 (user_regs_struct): Use "__extension__ unsigned long long"
13432 instead of "unsigned long" if __x86_64__ is defined.
13433 (user): Likewise. Pad after pointer field if __ILP32__ is
13434 defined.
13435
4e124ced
JM
134362012-05-16 Joseph Myers <joseph@codesourcery.com>
13437
6a3951a0
JM
13438 * configure.in (makeinfo): Require version 4.5 or later. Allow
13439 versions 5 to 9.
13440 * configure: Regenerated.
13441 * manual/install.texi (texinfo): Increase version requirement to
13442 4.5 or later.
13443 * INSTALL: Regenerated.
13444
4e124ced
JM
13445 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13446
953ca31a
L
134472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13448
13449 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13450
617aca05
L
13451 * sysdeps/x86_64/x32/ffs.c: New file.
13452
5762f7ae
L
13453 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13454 __syscall_ulong_t.
13455 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13456 defined. Use __syscall_ulong_t.
13457 (shminfo): Use __syscall_ulong_t.
13458 (shm_info): Likewise.
13459
a26b6856
L
13460 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13461 __syscall_ulong_t.
13462
cb2b9ef7
L
13463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13464 <bits/wordsize.h>.
13465 (msgqnum_t): Use __syscall_ulong_t.
13466 (msglen_t): Likewise.
13467 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13468 __syscall_ulong_t.
13469
34683bb0
L
13470 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13471 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13472
84a68786
L
13473 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13474
48baa5f1
L
13475 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13476 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13477
180be88b
L
13478 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13479 __syscall_slong_t.
13480
5e90c8ad
L
13481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13482 include <bits/wordsize.h>. Check __x86_64__ instead of
13483 __WORDSIZE.
13484
23dfb58b
L
13485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13486 "unsigned long long int" if __x86_64__ is defined.
13487 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13488
ce5d54b0
L
13489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13490 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13491 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13492
13dc9eac
L
13493 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13494 <stdint.h>.
13495 (GET_PC): Cast to uintptr_t first.
13496 (GET_FRAME): Likewise.
13497 (GET_STACK): Likewise.
13498
a7895d15
L
13499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13505 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13506 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13507 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13510 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13511 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13513 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13523 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13528
656416c9
AS
135292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13530
5bd66283
AS
13531 * Makerules (+depfiles): Also collect depfiles from .oS in
13532 $(extra-objs).
13533 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13534 .oS, $(libnldbl-routines)).
13535
656416c9
AS
13536 * Makerules (native-compile-mkdep-flags): Define.
13537 * sunrpc/Makefile (extra-objs): Add $(addprefix
13538 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13539 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13540 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13541 calling $(make-target-directory).
13542
a46f2169
L
135432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13544
13545 * bits/types.h (__snseconds_t): Removed.
13546 * time/time.h (struct timespec): Replace __snseconds_t with
13547 __syscall_slong_t.
13548 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13549 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13550 Likewise.
13551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13552 (__SNSECONDS_T_TYPE): Likewise.
13553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13554 (__SNSECONDS_T_TYPE): Likewise.
13555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13556 (__SNSECONDS_T_TYPE): Likewise.
13557
6af6528b
L
135582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13559
13560 * sysdeps/mach/hurd/bits/typesizes.h
13561 (__SYSCALL_SLONG_TYPE): New macro.
13562 (__SYSCALL_ULONG_TYPE): Likewise.
13563
de986b56
L
135642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13565
13566 * bits/types.h (__syscall_slong_t): New type.
13567 (__syscall_ulong_t): Likewise.
13568
13569 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13570 (__SYSCALL_ULONG_TYPE): Likewise.
13571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13572 (__SYSCALL_SLONG_TYPE): Likewise.
13573 (__SYSCALL_ULONG_TYPE): Likewise.
13574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13575 (__SYSCALL_SLONG_TYPE): Likewise.
13576 (__SYSCALL_ULONG_TYPE): Likewise.
13577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13578 (__SYSCALL_SLONG_TYPE): Likewise.
13579 (__SYSCALL_ULONG_TYPE): Likewise.
13580
85736dc7
L
135812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13582
13583 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13584 Add sigaltstack-offsets.sym.
13585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13586 <sigaltstack-offsets.h>.
13587 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13588 longjmp_msg pointer.
13589 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13590 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13591 signal stack.
13592 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13593
cc03b296
JM
135942012-05-15 Joseph Myers <joseph@codesourcery.com>
13595
a9538892
JM
13596 * elf/stackguard-macros.h: Remove file.
13597 * sysdeps/generic/stackguard-macros.h: New file.
13598 * sysdeps/i386/stackguard-macros.h: Likewise.
13599 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13600 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13601 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13602 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13603 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13604 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13605 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13606 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13607 <elf/stackguard-macros.h>.
13608
cc03b296
JM
13609 [BZ #14109]
13610 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13611 __aligned__ in attribute.
13612 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13613 (gregset_t): Likewise.
13614
93171016
L
136152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13618 * sysdeps/x86_64/64/Implies-after: Here. New file.
13619 * sysdeps/x86_64/x32/Implies-after: New file.
13620
d86813a0
L
136212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13624 and access return value for _dl_profile_fixup. Use R10_LP to
13625 load frame size.
13626
2953ec75
L
136272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13630
3b550e9e
L
136312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13632
13633 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13634 * sysdeps/x86_64/x32/sysdep.h: New file.
13635
eda41706
L
136362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13637
13638 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13639 * sysdeps/x86_64/setjmp.S: Likewise.
13640
9ea01d93
AZ
136412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13642
13643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13645 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13647 remove unused global constant.
13648
02a91938
CM
136492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13650
13651 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13652 include of <not-cancel.h>.
13653
6540185f
RM
136542012-05-15 Roland McGrath <roland@hack.frob.com>
13655
13656 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13657
509072a0
AJ
136582012-05-15 Jeff Law <law@redhat.com>
13659 Andreas Jaeger <aj@suse.de>
13660
13661 [BZ #13594]
13662 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13663 out from...
13664 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13665 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13666 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13667 code changing __hst_map_handle.map.
13668
ba75122d
RM
136692012-05-15 Roland McGrath <roland@hack.frob.com>
13670
13671 * configure.in (sysnames): Look for Implies-before and Implies-after
13672 files.
13673 * configure: Regenerated.
13674
890d8bd8
L
136752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13678 8-byte data alignment with LP_SIZE alignment.
13679
f6ee6623
L
136802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13681
13682 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13683 into R10_LP.
13684
ea2626f6
L
136852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13688
085f715e
L
136892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13692 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13694 Likewise.
13695 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13696
be8498fc
L
136972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13698
13699 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13700 (stackinfo_sub_sp): Likewise.
13701
70bc83b9
L
137022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13703
13704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13705 RAX_LP.
13706
9bc0b730
L
137072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13710 into R*_LP.
13711
6d2850e7
L
137122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13715 sizes into R*_LP.
13716
3cb84561
L
137172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13720
54e2ed81
L
137212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13724 into R11_LP and load __x86_64_shared_cache_size_half into
13725 R8_LP.
13726
8a17f349
L
137272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13728
13729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13730 R8_LP.
13731
777b1eea
AZ
137322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13733
13734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13735 logb for POWER7.
13736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13737 logbf for POWER7.
13738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13739 logbl for POWER7.
13740 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13741 powerpc32/power7/fpu/s_logb.c via #include.
13742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13743 powerpc32/power7/fpu/s_logbf.c via #include.
13744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13745 powerpc32/power7/fpu/s_logbl.c via #include.
13746
d20d4ac2
JM
137472012-05-15 Joseph Myers <joseph@codesourcery.com>
13748
13749 * README.libm: Remove file.
13750
6cdef1ab
L
137512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13754 count for x32. Use R*_LP and omit operand-size suffix.
13755
0b254d8f
L
137562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13757
13758 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13759 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13760 * sysdeps/x86_64/x32/shlib-versions: New file.
13761
ceb809dc
RM
137622012-05-14 Roland McGrath <roland@hack.frob.com>
13763
13764 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13765 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13766 Use _dl_fatal_printf instead.
13767
37f1abd4
JM
137682012-05-14 Joseph Myers <joseph@codesourcery.com>
13769
13770 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13771 set if not set by the user. Do not allow for being unset.
13772 * sysdeps/unix/sysv/linux/configure: Regenerated.
13773
11de3a33
L
137742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13775
13776 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13777 the `q' suffix from lea and replace .quad with ASM_ADDR.
13778
e02f153a
L
137792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13782 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13783 instead of $17.
13784 (PTR_DEMANGLE): Likewise.
13785
520ae0fd
L
137862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13789 (LP_OP): Likewise.
13790 (ASM_ADDR): Likewise.
13791 (RAX_LP): Likewise.
13792 (RBP_LP): Likewise.
13793 (RBX_LP): Likewise.
13794 (RCX_LP): Likewise.
13795 (RDI_LP): Likewise.
13796 (RSI_LP): Likewise.
13797 (RSP_LP): Likewise.
13798 (R8_LP): Likewise.
13799 (R9_LP): Likewise.
13800 (R10_LP): Likewise.
13801 (R10_LP): Likewise.
13802 (R11_LP): Likewise.
13803 (R12_LP): Likewise.
13804 (R13_LP): Likewise.
13805 (R14_LP): Likewise.
13806 (R15_LP): Likewise.
13807
b985be81
L
138082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13809
13810 * sysdeps/x86_64/x32/dl-machine.h: New file.
13811
6a4888ff
AJ
138122012-05-14 Andreas Jaeger <aj@suse.de>
13813
13814 * manual/Makefile (subdir): Remove export of subdir.
13815 (all): Remove target.
13816 (.PHONY): Remove all from list.
13817 (mkinstalldirs): Remove.
13818 (.PHONY): Remove installdirs from list.
13819 ($(inst_infodir)/libc.info): Use make-target-directory.
13820 (installdirs): Remove.
13821 (subdir_%): Remove.
13822 (glibc-targets): Remove.
13823 (lib): Remove.
13824 (stubs): Remove.
13825 ($(objpfx)stubs ../po/manual.pot): Remove.
13826 ($(objpfx)stamp%): Remove.
13827 (make-target-directory): Remove.
13828 (subdir_install): Remove.
13829 (routines): Remove.
13830 (aux): Remove.
13831 (sources): Remove.
13832 (objects): Remove.
13833 (headers): Remove.
13834
13835 [BZ #13750]
13836 * manual/.gitignore: Remove, it's not needed anymore.
13837 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13838 all files in it.
13839 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13840 directory.
13841 (texis): Renamed to $(objpfx)texis.
13842 (texis-path): New, contains path to generated files.
13843 (chapters.%): Use texis-path for complete path, add extra argument
13844 libc-texinfo.sh.
13845 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13846 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13847 (summary,texi, stamp-summary): Use complete path of
13848 files. Generate files in build dir.
13849 (dir-add.texi): Build in build dir.
13850 (libm-err.texi,stamp-libm-err): Likewise.
13851 (version.texi, stamp-version): Likewise.
13852 (.%c.texi): Likewise.
13853 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13854 (mostlyclean): Remove target.
13855 (realclean): Remove target.
13856 (generated): Add new variable with contents from mostlyclean and
13857 realclean, remove entries duplicated in common-mostlyclean, add
13858 stamp-libm-err and stamp-version.
13859 (generated-dirs): Add libc directory.
13860 ($(inst_infodir)/libc.info): Install files from build dir.
13861
13862 * manual/install.texi (Configuring and compiling): Adjust since
13863 the info files are not part of the tar ball anymore.
13864
7ac77294
AJ
138652012-05-14 Andreas Jaeger <aj@suse.de>
13866
13867 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13868 variable.
13869
ffb7875d
JM
138702012-05-14 Joseph Myers <joseph@codesourcery.com>
13871
13872 [BZ #13717]
13873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13874 to 2.2.0 where earlier.
13875 * sysdeps/unix/sysv/linux/configure: Regenerated.
13876 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13877 Remove conditional code.
13878 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13879 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13880 Remove conditional code.
13881 [!__NR_lchown]: Likewise.
13882 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13883 [__NR_lchown]: Likewise.
13884 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13885 comment referencing __ASSUME_LCHOWN_SYSCALL.
13886 * sysdeps/unix/sysv/linux/i386/sigaction.c
13887 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13888 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13889 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13890 Remove conditional code.
13891 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13892 (__protocol_available): Remove #if 0 code.
13893 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13894 conditional code.
13895 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13896 * sysdeps/unix/sysv/linux/kernel-features.h
13897 (__ASSUME_GETCWD_SYSCALL): Don't define.
13898 (__ASSUME_REALTIME_SIGNALS): Likewise.
13899 (__ASSUME_PREAD_SYSCALL): Likewise.
13900 (__ASSUME_PWRITE_SYSCALL): Likewise.
13901 (__ASSUME_POLL_SYSCALL): Likewise.
13902 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13903 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13904 non-SPARC.
13905 (__ASSUME_SIOCGIFNAME): Don't define.
13906 (__ASSUME_MSG_NOSIGNAL): Likewise.
13907 (__ASSUME_SENDFILE): Define unconditionally.
13908 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13909 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13910 conditional code.
13911 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13912 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13913 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13914 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13915 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13916 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13917 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13922 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13928 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13934 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13940 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13942 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13943 Remove conditional code.
13944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13945 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13946 Remove conditional code.
13947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13948 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13949 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13950 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13951 Remove conditional code.
13952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13954 Remove conditional code.
13955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13957 Remove conditional code.
13958 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13960 Remove conditional code.
13961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13962 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13963 Remove conditional code.
13964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13965 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13966 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13968 * sysdeps/unix/sysv/linux/sigaction.c
13969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13971 * sysdeps/unix/sysv/linux/sigpending.c
13972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13974 * sysdeps/unix/sysv/linux/sigprocmask.c
13975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13977 * sysdeps/unix/sysv/linux/sigsuspend.c
13978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13980 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13981 (__libc_missing_rt_sigs): Remove.
13982 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13983 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13984 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13985 Remove conditional code.
13986 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13987 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13988 return 1.
13989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13990 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13991 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13992 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13993
1bfb7291
AJ
139942012-05-14 Andreas Jaeger <aj@suse.de>
13995
caae5a81
AJ
13996 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13997 it's not used in glibc.
13998 (__coshm1): Likewise.
13999 (__acosh1p): Likewise.
14000 (__sgn): Likewise.
14001
1bfb7291
AJ
14002 * manual/string.texi (Copying and Concatenation): Add missing
14003 variable in concat example.
14004 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14005
c044d724
L
140062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14007
144c5467 14008 [BZ #14103]
c044d724
L
14009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14010 __builtin_clzl with __builtin_clzll.
14011
2523c62b
L
140122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14013
14014 [BZ #14104]
14015 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14016 libc_freeres_ptr.
14017
d7bb4c42
LD
140182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14019
14020 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14021 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14022 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14024
9dc4e1fb
MF
140252012-05-14 Mike Frysinger <vapier@gentoo.org>
14026
14027 * NEWS: Update ia64 info.
14028
c7df0112
AS
140292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14030
14031 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14032 used as bcopy.
14033
dc70356c
TS
140342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14035
14036 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14037 * sysdeps/unix/syscalls.list (dup3): Likewise.
14038 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14039 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14040
9fb1a21f
L
140412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14042
14043 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14044 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14045
4822a2a5
L
140462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14049 thread pointer.
14050 (TLS_IE): Use mov/add instead of movq/addq to load thread
14051 pointer.
14052 (TLS_GD_PREFIX): New.
14053 (TLS_GD): Use it.
14054
842b81d6
DM
140552012-05-11 David S. Miller <davem@davemloft.net>
14056
14057 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14058 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14059 (_FPU_SETCW): Likewise.
14060
1cf463cd
L
140612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14062
14063 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14064 is 32-byte aligned.
14065
60cc4a18
AS
140662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14067
14068 [BZ #11837]
14069 * iconvdata/gb18030.c: Update tables.
14070 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14071 characters specially.
14072 (BODY for TO_LOOP): Add encoding of missing ranges.
14073
febb44a4
TS
140742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14075
14076 [BZ #13673]
14077 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14078 * sysdeps/mach/hurd/dup3.c: Likewise.
14079 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14080 * sysdeps/powerpc/memmove.c:: Likewise.
14081
0a10fb9e
L
140822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14083
14084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14085 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14086
df8a552f
L
140872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * elf/elf.h (R_X86_64_RELATIVE64): New.
14090 (R_X86_64_NUM): Updated.
14091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14092 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14093 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14094 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14095 tst-quad1pie tst-quad2pie
14096 (modules-names): Add tst-quadmod1 tst-quadmod2.
14097 ($(objpfx)tst-quad1): New dependency.
14098 ($(objpfx)tst-quad2): Likewise.
14099 ($(objpfx)tst-quad1pie): Likewise.
14100 ($(objpfx)tst-quad2pie): Likewise.
14101 * sysdeps/x86_64/tst-quad1.c: New file.
14102 * sysdeps/x86_64/tst-quad1pie.c: New file.
14103 * sysdeps/x86_64/tst-quad2.c: Likewise.
14104 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14105 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14106 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14107 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14108 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14109
f34d6f84
ST
141102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14111
f42d41d1
ST
14112 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14113 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14114 * streams/stropts.h (t_scalar_t): Define type.
14115
3c3571fc
ST
14116 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14117 (_PATH_PRESERVE): Set to "/var/lib".
14118 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14119
61f06bd3
ST
14120 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14121 instead of int.
14122
918d4d71
ST
14123 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14124 if __dir_mkfile succeeded.
14125
f34d6f84
ST
14126 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14127 checking for _hurd_dtablesize. Unlock it right after having
14128 finished _hurd_dtable allocation.
14129
10589b4a
TS
141302012-05-10 Thomas Schwinge <thomas@schwinge.name>
14131
674cdbc7
TS
14132 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14133 * sysdeps/mach/hurd/configure: Regenerated.
14134 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14135 special-casing to...
14136 * sysdeps/gnu/configure.in: ... this new file.
14137 * sysdeps/unix/sysv/linux/configure: Regenerated.
14138 * sysdeps/gnu/configure: New generated file.
14139
8e41b99f
TS
14140 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14141 for Linux: use nsec instead of usec, as well as:
14142 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14143 members of type struct timespec.
14144 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14145 New macros.
14146 (struct stat64): Likewise.
14147 (_STATBUF_ST_NSEC): New macro.
14148 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14149
10589b4a
TS
14150 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14151 __strtoul_internal rather than strtoul.
14152
63643c85
PT
141532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14154
14155 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14156 and reject them.
14157
3faebe6a
ST
141582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14159
14160 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14161 which preserves existing values.
14162 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14163
c6474b07
PT
141642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14165
14166 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14167 TIMEOUT values. Return EINVAL for NFDS values either negative or
14168 greater than FD_SETSIZE.
14169
1043890b
ST
141702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14171
14172 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14173 allocated, call __vm_protect to finish enabling the existing space, and
14174 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14175 allocate the remainder.
14176
37ed8b9b
PT
141772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14178
14179 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14180 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14181
db653660
ST
141822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14183
37ed8b9b
PT
14184 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14185 sysdeps/mach/hurd/readlink.c.
b29d4053 14186
db653660
ST
14187 * posix/tst-sysconf.c (posix_options): Only use
14188 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14189 _POSIX_SYNCHRONIZED_IO when they are defined
14190 * sysdeps/mach/hurd/bits/posix_opt.h:
14191 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14192 (_XOPEN_REALTIME): Undefine macro.
14193 (_XOPEN_REALTIME_THREADS): Undefine macro.
14194 (_XOPEN_SHM): Undefine macro.
14195 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14196 macro to -1.
14197 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14198 macro to -1.
14199 (_POSIX_ASYNC_IO): Undefine macro.
14200 (_POSIX_PRIORITIZED_IO): Undefine macro.
14201 (_POSIX_SPIN_LOCKS): Define macro to -1.
14202
ee16e894
ST
14203 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14204 SA_NODEFER, SA_RESETHAND.
14205 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14206 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14207 F_DUPFD_CLOEXEC.
14208
6103ae3b
TS
142092012-05-10 Thomas Schwinge <thomas@schwinge.name>
14210
14211 * elf/Makefile (pldd-modules): Define unconditionally.
14212
80b4e5f3
TS
142132012-05-10 Thomas Schwinge <thomas@schwinge.name>
14214
14215 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14216
edadcbd6
ST
142172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14218
14219 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14220 Return ENOENT when name is empty.
14221 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14222
80694780
TS
142232012-05-10 Thomas Schwinge <thomas@schwinge.name>
14224
1792c087
TS
14225 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14226
80694780
TS
14227 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14228
6b645f0d
ST
142292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14230
80694780
TS
14231 Fix mlock in all cases except non-readable pages.
14232 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14233 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14234
6b645f0d
ST
14235 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14236 (__mkdir): When path is `/', just fail with EEXIST.
14237 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14238
e468f8a3
TS
142392012-05-10 Thomas Schwinge <thomas@schwinge.name>
14240
14241 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14242 <sys/uio.h> (for writev).
14243 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14244 and <sys/param.h> (for MIN).
14245
a4186cff
PT
142462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14247
14248 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14249 REQUESTED_TIME. Properly set the remaining time and return EINTR
14250 if interrupted.
14251
510bbf14
TS
142522012-05-10 Thomas Schwinge <thomas@schwinge.name>
14253
14254 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14255 Depend on against $(link-rpcuserlibs).
14256
5d5722e8
ST
142572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14258
a4186cff
PT
14259 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14260 (__libc_stack_end): Do not use attribute_relro.
14261 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14262 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14263 to libthread-provided value.
a4186cff
PT
14264 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14265 attribute_relro.
5d5722e8 14266
37233df9
TS
142672012-05-10 Thomas Schwinge <thomas@schwinge.name>
14268
be971a2b
TS
14269 [BZ #3748]
14270 * bits/libc-lock.h (__libc_once_get): New macro.
14271 * sysdeps/mach/bits/libc-lock.h: Likewise.
14272 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14274 instead of using implementation details.
14275
37233df9
TS
14276 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14277 * libio/freopen.c: Likewise.
14278 * libio/freopen64.c: Likewise.
14279 * misc/syslog.c: Likewise.
14280 * nscd/connections.c: Likewise.
14281 * nscd/netgroupcache.c: Likewise.
14282 * sysdeps/posix/getcwd.c: Likewise.
14283
38de94a5
RM
142842012-05-10 Roland McGrath <roland@hack.frob.com>
14285
14286 * math/w_ilogbf.c: Add #include <limits.h>.
14287
67530489
ST
142882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14289
a4186cff 14290 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14291 path instead of returning without unlocking.
14292
67530489
ST
14293 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14294 immediate-write ioctls.
14295 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14296
5aa3a74a
TS
142972012-05-10 Thomas Schwinge <thomas@schwinge.name>
14298
18bad2ae
TS
14299 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14300 __builtin_frame_address instead of making assumptions about the
14301 location of the return address relative to DATA. Force early load of
14302 the return address.
14303 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14304 __builtin_frame_address.
14305
5aa3a74a
TS
14306 dup3 for GNU Hurd.
14307 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14308 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14309 implement dup3 and do some further code clean-ups.
14310 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14311 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14312
ecd0de9a
ST
143132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14314
cd9fa985
ST
14315 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14316
a4186cff
PT
14317 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14318 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14319 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14320 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14321 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14322 d->port.lock.
802ca5a5 14323
a4186cff
PT
14324 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14325 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14326 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14327
bcf55240
TS
143282012-05-10 Thomas Schwinge <thomas@schwinge.name>
14329
6960eb42
TS
14330 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14331 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14332 definitions.
14333
eb43375f
TS
14334 accept4 for GNU Hurd.
14335 * include/sys/socket.h (__libc_accept4): New prototype.
14336 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14337 to implement __libc_accept4.
14338 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14339 __libc_accept4.
14340 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14341
bcf55240
TS
14342 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14343 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14344 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14345 signal-defines.sym.
14346
6178c55b
ST
143472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14348
a4186cff 14349 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14350
6f080c2f
TS
143512012-05-10 Thomas Schwinge <thomas@schwinge.name>
14352
14353 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14354 assertion on O_CLOEXEC flag.
14355 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14356 * hurd/intern-fd.c: Likewise.
14357 * hurd/port2fd.c: Likewise.
14358
bcfe3a54
ST
143592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14360
14361 [BZ #3906]
14362 * bits/in.h (IPV6_PKTINFO): Define new macro.
14363 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14364
89c9aa49
AZ
143652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14366
14367 [BZ #13954]
14368 [BZ #13955]
14369 [BZ #13956]
14370 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14372 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14373 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14375 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14376 * math/libm-test.inc (logb_test) : Additional logb tests.
14377
021db4be
AJ
143782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14379 Andreas Jaeger <aj@suse.de>
14380
14381 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14382 * configure: Regenerated.
14383 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14384 * config.make.in (link-obsolete-rpc): New substituted variable.
14385 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14386 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14387 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14388 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14389 so that libc.a contains the symbols.
14390 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14391 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14392 * sunrpc/auth_none.c: Likewise.
14393 * sunrpc/auth_unix.c: Likewise.
14394 * sunrpc/authdes_prot.c: Likewise.
14395 * sunrpc/authuxprot.c: Likewise.
14396 * sunrpc/clnt_gen.c: Likewise.
14397 * sunrpc/clnt_perr.c: Likewise.
14398 * sunrpc/clnt_raw.c: Likewise.
14399 * sunrpc/clnt_simp.c: Likewise.
14400 * sunrpc/clnt_tcp.c: Likewise.
14401 * sunrpc/clnt_udp.c: Likewise.
14402 * sunrpc/clnt_unix.c: Likewise.
14403 * sunrpc/des_crypt.c: Likewise.
14404 * sunrpc/des_soft.c: Likewise.
14405 * sunrpc/get_myaddr.c: Likewise.
14406 * sunrpc/key_call.c: Likewise.
14407 * sunrpc/key_prot.c: Likewise.
14408 * sunrpc/netname.c: Likewise.
14409 * sunrpc/pm_getmaps.c: Likewise.
14410 * sunrpc/pm_getport.c: Likewise.
14411 * sunrpc/pmap_clnt.c: Likewise.
14412 * sunrpc/pmap_prot.c: Likewise.
14413 * sunrpc/pmap_prot2.c: Likewise.
14414 * sunrpc/pmap_rmt.c: Likewise.
14415 * sunrpc/publickey.c: Likewise.
14416 * sunrpc/rpc_cmsg.c: Likewise.
14417 * sunrpc/rpc_common.c: Likewise.
14418 * sunrpc/rpc_dtable.c: Likewise.
14419 * sunrpc/rpc_prot.c: Likewise.
14420 * sunrpc/rpc_thread.c: Likewise.
14421 * sunrpc/rtime.c: Likewise.
14422 * sunrpc/svc.c: Likewise.
14423 * sunrpc/svc_auth.c: Likewise.
14424 * sunrpc/svc_raw.c: Likewise.
14425 * sunrpc/svc_run.c: Likewise.
14426 * sunrpc/svc_tcp.c: Likewise.
14427 * sunrpc/svc_udp.c: Likewise.
14428 * sunrpc/svc_unix.c: Likewise.
14429 * sunrpc/svcauth_des.c: Likewise.
14430 * sunrpc/xcrypt.c: Likewise.
14431 * sunrpc/xdr.c: Likewise.
14432 * sunrpc/xdr_array.c: Likewise.
14433 * sunrpc/xdr_float.c: Likewise.
14434 * sunrpc/xdr_intXX_t.c: Likewise.
14435 * sunrpc/xdr_mem.c: Likewise.
14436 * sunrpc/xdr_rec.c: Likewise.
14437 * sunrpc/xdr_ref.c: Likewise.
14438 * sunrpc/xdr_sizeof.c: Likewise.
14439 * sunrpc/xdr_stdio.c: Likewise.
14440
b5c086a2
RM
144412012-05-10 Roland McGrath <roland@hack.frob.com>
14442
14443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14444 change. Update copyright years.
14445
6d74dd09
JM
144462012-05-10 Joseph Myers <joseph@codesourcery.com>
14447
14448 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14449
28e72501
MK
144502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14451 Joseph Myers <joseph@codesourcery.com>
14452 Paul Pluzhnikov <ppluzhnikov@google.com>
14453
14454 [BZ #14012]
14455 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14456 requiring rpcgen.
14457 [cross-compiling] (extra-libs): Likewise.
14458 [cross-compiling] (extra-libs-others): Likewise.
14459 [cross-compiling] (librpcsvc-routines): Likewise.
14460 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14461 [cross-compiling] (omit-deps): Likewise.
14462 (sunrpc-CPPFLAGS): New variable.
14463 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14464 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14465 (cross-rpcgen-objs): New variable.
14466 (extra-objs): Append $(cross-rpcgen-objs).
14467 ($(cross-rpcgen-objs)): New rule.
14468 ($(objpfx)cross-rpcgen): Likewise.
14469 (rpcgen-cmd): Define to use $(built-program-file). Expand
14470 comment.
14471 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14472 ($(objpfx)x%.stmp): Likewise.
14473 * sunrpc/proto.h [IS_IN_build] (_): Define.
14474 [IS_IN_build] (_libc_intl_domainname): Likewise.
14475
c8c59454
L
144762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14477
14478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14479 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14480 and R_X86_64_TPOFF64.
14481
6f27cd16
JM
144822012-05-10 Joseph Myers <joseph@codesourcery.com>
14483
14484 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14485 sysdeps/unix/sysv/syscalls.list.
14486 (stime): Likewise.
14487 (utime): Likewise.
14488 * sysdeps/unix/sysv/syscalls.list: Remove file.
14489
02467e1c
PE
144902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14491
14492 [BZ #3440]
14493 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14494 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14495 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14496 (__LC_IDENTIFICATION): Make these macros useful in #if
14497 expressions, as required by C99.
14498
da392631
AS
144992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14500
14501 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14502 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14503 after this.
14504
8115f29b
L
145052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14506
14507 * stdlib/longlong.h: Updated from GCC.
14508
bdd74070
AJ
145092012-05-09 Andreas Jaeger <aj@suse.de>
14510
edfe0dbe
AJ
14511 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14512 default is first entry.
14513 (run_mode): Set type.
14514 (main): Remove informal message about syslog.
14515 (options): Fix typo.
14516
bcfe3a54
ST
14517 [BZ #14053]
14518 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14519 to asm.
bcfe3a54
ST
14520 (lrint): Likewise.
14521 (llrintf): Likewise.
14522 (llrint): Likewise.
14523 (rint): Likewise.
14524 (rintf): Likewise.
14525 (nearbyint): Likewise.
14526 (nearbyintf): Likewise.
bdd74070 14527
91d8d69e
AJ
145282012-05-09 Andreas Jaeger <aj@suse.de>
14529 Pedro Alves <palves@redhat.com>
14530
14531 * nscd/nscd.c (run_mode): Use enum.
14532 (main): Cleanup coding style issue.
14533
bb90b80b
AJ
145342012-05-09 Alexandre Oliva <aoliva@redhat.com>
14535 Andreas Jaeger <aj@suse.de>
14536
bcfe3a54
ST
14537 * nscd/nscd.c (go_background): Replaced with...
14538 (run_mode): ... this.
bb90b80b 14539 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14540 (options): Add -F --foreground.
14541 (main): Implement it.
14542 (parse_opt): Parse it.
bb90b80b 14543
1a4b75a1
AJ
145442012-05-09 Andreas Jaeger <aj@suse.de>
14545
14546 [BZ #14083]
14547 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14548 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14549 -Wconversion warning.
14550 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14551 Likewise.
14552
b1cc2472
JM
145532012-05-09 Joseph Myers <joseph@codesourcery.com>
14554
14555 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14556 == 0.
14557 (LC_ALL): Use macro-int-constant.
14558 (LC_COLLATE): Likewise.
14559 (LC_CTYPE): Likewise.
14560 (LC_MESSAGES): Likewise.
14561 (LC_MONETARY): Likewise.
14562 (LC_NUMERIC): Likewise.
14563 (LC_TIME): Likewise.
14564 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14565 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14567 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14568 Specify type.
14569 [C99-based standards] (float_t): Expect type.
14570 [C99-based standards] (double_t): Expect type.
14571 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14572 type.
14573 [C99-based standards] (HUGE_VALL): Likewise.
14574 [C99-based standards] (INFINITY): Likewise.
14575 [C99-based standards] (NAN): Likewise.
14576 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14577 [C99-based standards] (FP_NAN): Likewise.
14578 [C99-based standards] (FP_NORMAL): Likewise.
14579 [C99-based standards] (FP_SUBNORMAL): Likewise.
14580 [C99-based standards] (FP_ZERO): Likewise.
14581 [C99-based standards] (FP_FAST_FMA): Use
14582 optional-macro-int-constant. Specify type. Require == 1.
14583 [C99-based standards] (FP_FAST_FMAF): Likewise.
14584 [C99-based standards] (FP_FAST_FMAL): Likewise.
14585 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14586 [C99-based standards] (FP_ILOGBNAN): Likewise.
14587 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14588 Specify type.
14589 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14590 [C99-based standards] (math_errhandling): Specify type.
14591 [ISO99 || ISO11] (signgam): Do not allow.
14592 [non-C99-based standards] (copysignf): Do not allow.
14593 [non-C99-based standards] (exp2f): Likewise.
14594 [non-C99-based standards] (log2f): Likewise.
14595 [non-C99-based standards] (modff): Allow.
14596 [non-C99-based standards] (erff): Do not allow.
14597 [non-C99-based standards] (erfcf): Likewise.
14598 [non-C99-based standards] (gammaf): Likewise.
14599 [non-C99-based standards] (hypotf): Likewise.
14600 [non-C99-based standards] (j0f): Likewise.
14601 [non-C99-based standards] (j1f): Likewise.
14602 [non-C99-based standards] (jnf): Likewise.
14603 [non-C99-based standards] (lgammaf): Likewise.
14604 [non-C99-based standards] (tgammaf): Likewise.
14605 [non-C99-based standards] (y0f): Likewise.
14606 [non-C99-based standards] (y1f): Likewise.
14607 [non-C99-based standards] (ynf): Likewise.
14608 [non-C99-based standards] (isnanf): Likewise.
14609 [non-C99-based standards] (acoshf): Likewise.
14610 [non-C99-based standards] (asinhf): Likewise.
14611 [non-C99-based standards] (atanhf): Likewise.
14612 [non-C99-based standards] (cbrtf): Likewise.
14613 [non-C99-based standards] (expm1f): Likewise.
14614 [non-C99-based standards] (ilogbf): Likewise.
14615 [non-C99-based standards] (log1pf): Likewise.
14616 [non-C99-based standards] (logbf): Likewise.
14617 [non-C99-based standards] (nextafterf): Likewise.
14618 [non-C99-based standards] (remainderf): Likewise.
14619 [non-C99-based standards] (rintf): Likewise.
14620 [non-C99-based standards] (scalbf): Likewise.
14621 [non-C99-based standards] (copysignl): Likewise.
14622 [non-C99-based standards] (exp2l): Likewise.
14623 [non-C99-based standards] (log2l): Likewise.
14624 [non-C99-based standards] (modfl): Allow.
14625 [non-C99-based standards] (erfl): Do not allow.
14626 [non-C99-based standards] (erfcl): Likewise.
14627 [non-C99-based standards] (gammal): Likewise.
14628 [non-C99-based standards] (hypotl): Likewise.
14629 [non-C99-based standards] (j0l): Likewise.
14630 [non-C99-based standards] (j1l): Likewise.
14631 [non-C99-based standards] (jnl): Likewise.
14632 [non-C99-based standards] (lgammal): Likewise.
14633 [non-C99-based standards] (tgammal): Likewise.
14634 [non-C99-based standards] (y0l): Likewise.
14635 [non-C99-based standards] (y1l): Likewise.
14636 [non-C99-based standards] (ynl): Likewise.
14637 [non-C99-based standards] (isnanl): Likewise.
14638 [non-C99-based standards] (acoshl): Likewise.
14639 [non-C99-based standards] (asinhl): Likewise.
14640 [non-C99-based standards] (atanhl): Likewise.
14641 [non-C99-based standards] (cbrtl): Likewise.
14642 [non-C99-based standards] (expm1l): Likewise.
14643 [non-C99-based standards] (ilogbl): Likewise.
14644 [non-C99-based standards] (log1pl): Likewise.
14645 [non-C99-based standards] (logbl): Likewise.
14646 [non-C99-based standards] (nextafterl): Likewise.
14647 [non-C99-based standards] (remainderl): Likewise.
14648 [non-C99-based standards] (rintl): Likewise.
14649 [non-C99-based standards] (scalbl): Likewise.
14650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14651 [non-C99-based standards] (FP_*): Do not allow.
14652 [C99-based standards] (FP_*): Change to
14653 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14654 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14655 allow.
14656 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14657 (SIG_ERR): Likewise.
14658 [X/Open-based standards] (SIG_HOLD): Likewise.
14659 (SIG_IGN): Likewise.
14660 (SIGABRT): Use macro-int-constant. Specify type. Require
14661 positive value.
14662 (SIGFPE): Likewise.
14663 (SIGILL): Likewise.
14664 (SIGINT): Likewise.
14665 (SIGSEGV): Likewise.
14666 (SIGTER): Likewise.
14667 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14668 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14669 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14670 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14671 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14672 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14673 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14674 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14675 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14677 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14678 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14679 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14684 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14685 [X/Open-based standards] (SIGTRAP): Likewise.
14686 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14687 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14688 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14689 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14690 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14691 allow.
14692
b9f1922d
IW
146932012-05-08 Ian Wienand <ianw@vmware.com>
14694
14695 [BZ #14080]
14696 * time/tzset.c (__tzset_parse_tz): Update default rules for
14697 daylight time changes in the Energy Policy Act of 2005.
14698
1db86e88
AJ
146992012-05-09 Andreas Jaeger <aj@suse.de>
14700
14701 [BZ #13983]
14702 * elf/ldconfig.c (parse_conf): Change string to make clear that
14703 ldconfig only issued a warning if ld.so.conf does not exist.
14704
dee4a4e3
DM
147052012-05-08 David S. Miller <davem@davemloft.net>
14706
ee0db190
DM
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14708 movxtod instead of popping the value on the stack.
14709
dee4a4e3
DM
14710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14711
6a43ec98
CD
147122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14713
14714 * config.h.in: Add HAVE_ARM_PCS_VFP.
14715
05c2c961
RMG
147162012-05-08 Roland Mc Grath <roland@hack.frob.com>
14717
bcfe3a54
ST
14718 [BZ #13979]
14719 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14720 checking but the checks are disabled for any reason.
05c2c961 14721
4b30f61a
L
147222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14725 and ELF64_R_TYPE with ELFW(R_TYPE).
14726
eee2bc67
JM
147272012-05-08 Joseph Myers <joseph@codesourcery.com>
14728
7ea5391a
JM
14729 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14730 (ulimit): Likewise.
14731
eee2bc67
JM
14732 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14733 (settimeofday): Likewise.
14734
abb66a67
MF
147352012-05-08 Mike Frysinger <vapier@gentoo.org>
14736
14737 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14738 a struct th_u2 inside the union, and move tu_block/tu_code into
14739 a new th_u3 union of tu_block/tu_code inside of that. Move
14740 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14741 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14742 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14743 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14744 (th_stuff): Change to th_u1.tu_stuff.
14745 (th_data): Define.
14746 (th_msg): Change to th_u1.th_u2.tu_data.
14747
7f18b530
DM
147482012-05-07 David S. Miller <davem@davemloft.net>
14749
05760585
DM
14750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14751
7f18b530
DM
14752 [BZ #14074]
14753 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14754 (SETUP_PIC_REG): Use it.
14755 (SETUP_PIC_REG_LEAF): Use it.
14756
495fd99f
JM
147572012-05-07 Joseph Myers <joseph@codesourcery.com>
14758
14759 [BZ #13885]
14760 [BZ #13923]
14761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14762 USE_AS_EXPM1L.
14763 (EXPL_FINITE): Likewise.
14764 (FLDLOG): Likewise.
14765 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14766 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14767 e_expl.S.
14768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14769 USE_AS_EXPM1L.
14770 (EXPL_FINITE): Likewise.
14771 (FLDLOG): Likewise.
14772 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14773 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14774 e_expl.S.
14775 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14776 test of -max_value argument for long double.
14777 * sysdeps/i386/fpu/libm-test-ulps: Update.
14778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14779
6693d694
DM
147802012-05-06 David S. Miller <davem@davemloft.net>
14781
14782 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14783 quad soft-float symbols whose references which are compiler
14784 generated.
14785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14786
6c23e11c
JM
147872012-05-06 Joseph Myers <joseph@codesourcery.com>
14788
d8b82cad
JM
14789 [BZ #13884]
14790 [BZ #13914]
14791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14792 USE_AS_EXP10L.
14793 (EXPL_FINITE): Likewise.
14794 (FLDLOG): Likewise.
14795 (c0): Likewise.
14796 (c1): Likewise.
14797 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14798 Adjust comments for base varying.
14799 (__expl_finite): Change alias to EXPL_FINITE.
14800 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14801 e_expl.S.
14802 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14803 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14805 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14806 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14807 USE_AS_EXP10L.
14808 (EXPL_FINITE): Likewise.
14809 (FLDLOG): Likewise.
14810 (c0): Likewise.
14811 (c1): Likewise.
14812 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14813 Adjust comments for base varying.
14814 (__expl_finite): Change alias to EXPL_FINITE.
14815 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14816 tests for bugs.
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14818
6c23e11c
JM
14819 [BZ #14064]
14820 * math/libm-test.inc (check_float_internal): Correct ulp
14821 calculation for subnormal expected results.
14822
29ba805c
AJ
148232012-05-06 Andreas Jaeger <aj@suse.de>
14824
14825 * Makeconfig (+math-flags): New, set to -frounding-math.
14826 (+cflags): Add +math-flags so that all of glibc gets compiled with
14827 it.
14828
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14830
7b17aeda
JM
148312012-05-05 Joseph Myers <joseph@codesourcery.com>
14832
5779f134
JM
14833 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14834 Disable one test.
14835
41498f4d
JM
14836 [BZ #13787]
14837 [BZ #13922]
14838 [BZ #14036]
14839 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14840 (__ieee754_expl): Allow for and saturate large arguments.
14841 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14842 (u_threshold): Likewise.
14843 (__exp): Call __ieee754_exp before checking for overflow and
14844 underflow.
14845 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14846 (u_threshold): Likewise.
14847 (__expf): Call __ieee754_expf before checking for overflow and
14848 underflow.
14849 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14850 (u_threshold): Likewise.
14851 (__expl): Call __ieee754_expl before checking for overflow and
14852 underflow.
14853 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14854 (__ieee754_expl): Allow for and saturate large arguments.
14855 * math/libm-test.inc (exp_test): Add another test. Do not allow
14856 missing overflow exception on overflow.
14857 (expm1_test): Do not allow missing overflow exception on overflow.
14858
6698b8bf
JM
14859 * sysdeps/i386/fpu/e_expl.c: Move to ...
14860 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14861 rather than using inline asm.
14862 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14863 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14864 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14865
7b17aeda
JM
14866 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14867 (nice): Likewise.
14868 (poll): Likewise.
14869 (signal): Likewise.
14870 (time): Likewise.
14871 (times): Likewise.
14872
f7c85819
JM
148732012-05-04 Joseph Myers <joseph@codesourcery.com>
14874
14875 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14876 sysdeps/unix/common/syscalls.list.
14877 (fchmod): Likewise.
14878 (fchown): Likewise.
14879 (ftruncate): Likewise.
14880 (getrusage): Likewise.
14881 (gettimeofday): Likewise.
14882 (setpgid): Likewise.
14883 (setregid): Likewise.
14884 (setreuid): Likewise.
14885 (sigaction): Likewise.
14886 (truncate): Likewise.
14887 (vhangup): Likewise.
14888 * sysdeps/unix/common/syscalls.list: Remove file.
14889 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14890 * sysdeps/unix/sysv/linux/Implies: Likewise.
14891
336270d0
L
148922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14893
14894 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14896 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14897 Moved to ...
14898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14899 Here.
14900 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14901 to ...
14902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14903 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14904 to ...
14905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14907 to ...
14908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14909 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14910 to ...
14911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14912 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14913 to ...
14914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14915 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14916 to ...
14917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14918 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14919 to ...
14920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14921 Here.
14922 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14923 to ...
14924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14925 Here.
14926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14927 to ...
14928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14929 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14930 Moved to ...
14931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14932 Here.
14933 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14934 to ...
14935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14936
d128e450
JM
149372012-05-04 Joseph Myers <joseph@codesourcery.com>
14938
fa8ee516
JM
14939 * sysdeps/unix/common/bits/dirent.h: Remove file.
14940 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14941
d128e450
JM
14942 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14943 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14944 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14945 * sysdeps/unix/bsd/isatty.c: Likewise.
14946 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14947 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14948 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14949
ff8faaf0 149502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14951
62881be4 14952 [BZ #13563]
31dc8730
AZ
14953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14954 long double comparison inaccuracies.
14955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14957
6fef930c
AS
149582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14959
14960 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14962
8f203e6c
JM
149632012-05-04 Joseph Myers <joseph@codesourcery.com>
14964
14965 [BZ #14049]
14966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14967 nonzero digits before rounding a hex value.
14968 * stdlib/tst-strtod.c (tests): Add another test.
14969
5197d9c2
AK
149702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14971
14972 * sysdeps/s390/fpu/libm-test-ulps: Update.
14973
f0c1dedf
AJ
149742012-05-03 Andreas Jaeger <aj@suse.de>
14975
14976 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14977 does not get optimized out.
14978 (malloc_opt_barrier): New.
14979
a65ef2ae 149802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14981 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14982
2b942cb7 14983 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14984 intermediate file deletion.
2b942cb7 14985 (generated): Add .symlist files.
a65ef2ae 14986
54b71e02
JM
149872012-05-03 Joseph Myers <joseph@codesourcery.com>
14988
14989 [BZ #13775]
14990 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14991 Redirect under this condition.
14992 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14993 [__USE_GNU] (__dprintf_chk): Not under this condition.
14994 [__USE_GNU] (__vdprintf_chk): Likewise.
14995 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14996 under this condition.
14997 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14998 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14999 [__USE_XOPEN2K8] (vdprintf): Likewise.
15000 [__USE_GNU] (__dprintf_chk): Not under this condition.
15001 [__USE_GNU] (__vdprintf_chk): Likewise.
15002 [__USE_GNU] (dprintf): Likewise.
15003 [__USE_GNU] (vdprintf): Likewise.
15004
d3dfcc41
RM
150052012-05-03 Roland McGrath <roland@hack.frob.com>
15006
15007 * elf/Makefile (common-generated): Set this instead of generated for
15008 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15009 $(all-built-dso)-derived lists.
15010
7ac30cc5
AJ
150112012-05-03 Andreas Jaeger <aj@suse.de>
15012
0c51e550
AJ
15013 * sysdeps/i386/fpu/libm-test-ulps: Update.
15014
7ac30cc5
AJ
15015 * FAQ: Removed.
15016 * FAQ.in: Likewise.
15017 * scripts/gen-FAQ.pl: Likewise.
15018 * manual/install.texi (Installation): Point to online location of
15019 FAQ.
15020 * Makefile (files-for-dist): Remove FAQ.
15021 (FAQ): Remove.
15022
d4c2917f
AM
150232012-05-02 Allan McRae <allan@archlinux.org>
15024
15025 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15026 (LDFLAGS-reldepmod5.so): Likewise.
15027 (LDFLAGS-reldep6mod1.so): Likewise.
15028 (LDFLAGS-reldep6mod4.so): Likewise.
15029 (LDFLAGS-reldep8mod3.so): Likewise.
15030 (LDFLAGS-unload4mod1.so): Likewise.
15031 (LDFLAGS-unload4mod2.so): Likewise.
15032 (LDFLAGS-tst-initorder): Likewise.
15033 (LDFLAGS-tst-initordera2.so): Likewise.
15034 (LDFLAGS-tst-initordera3.so): Likewise.
15035 (LDFLAGS-tst-initordera4.so): Likewise.
15036 (LDFLAGS-tst-initorderb2.so): Likewise.
15037 (LDFLAGS-noload): Likewise.
15038 (LDFLAGS-next): Likewise.
15039 (LDFLAGS-order2mod1.so): Likewise.
15040 (LDFLAGS-order2mod2.so): Likewise.
15041 (LDFLAGS-tst-initorder2): Likewise.
15042 (LDFLAGS-tst-initorder2a.so): Likewise.
15043 (LDFLAGS-tst-initorder2b.so): Likewise.
15044 (LDFLAGS-tst-initorder2c.so): Likewise.
15045 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15046
d77f993f
DM
150472012-05-02 David S. Miller <davem@davemloft.net>
15048
15049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15050
171a70b4
PP
150512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15052
15053 [BZ #14055]
15054 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15055
0be196ad
AJ
150562012-05-02 Andreas Jaeger <aj@suse.de>
15057
15058 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15059 since we manipulate rounding mode.
15060 (CPPFLAGS-test-idouble.c): Likewise.
15061 (CPPFLAGS-test-ifloat.c): Likewise.
15062 (CFLAGS-test-ldouble.c): Likewise.
15063 (CFLAGS-test-double.c): Likewise.
15064 (CFLAGS-test-float.c): Likewise.
15065 (CFLAGS-test-misc.c): Likewise.
15066 (CFLAGS-test-test-fenv.c): Likewise.
15067
4f9d04aa
AZ
150682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15069
2b942cb7
RM
15070 [BZ #2550]
15071 [BZ #2570]
15072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15073 comparisons to determine direction to adjust input.
4f9d04aa 15074
82a79e7d
RM
150752012-05-01 Roland McGrath <roland@hack.frob.com>
15076
f5a01ca9
RM
15077 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15078 output to the target.
15079
90fe4186
RM
15080 * scripts/localplt.awk: New file.
15081 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15082 (check-localplt-CFLAGS): Variable removed.
15083 ($(all-built-dso:=.jmprel)): New static pattern rule.
15084 (generated): Add those targets.
15085 (localplt-built-dso): New variable.
15086 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15087
15088 * elf/check-localplt.c: File removed.
15089
82397ed6
RM
15090 * scripts/check-execstack.awk: New file.
15091 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15092 (check-execstack-CFLAGS): Variable removed.
15093 ($(objpfx)check-execstack.h): Target removed.
15094 ($(objpfx)execstack-default): New target.
15095 (generated): Add that instead of check-execstack.h.
15096 ($(all-built-dso:=.phdr)): New static pattern rule.
15097 (generated): Add those targets.
15098 * elf/check-execstack.c: File removed.
15099
82a79e7d
RM
15100 * scripts/check-textrel.awk: New file.
15101 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15102 (check-textrel-CFLAGS): Variable removed.
15103 (all-built-dso): Use := to define.o
15104 ($(all-built-dso:=.dyn)): New static pattern rule.
15105 (generated): Add those targets.
15106 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15107 * config.make.in (READELF): New substituted variable.
15108 * elf/check-textrel.c: File removed.
15109
62fde54f 151102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15111
615605c9
JM
15112 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15113 allow.
15114 * conform/data/ctype.h-data [C99-based standards] (isblank):
15115 Expect function.
15116 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15117 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15119 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15120 Specify type. Require positive value.
15121 (EILSEQ): Likewise.
15122 (ERANGE): Likewise.
15123 [ISO || POSIX] (EILSEQ): Do not expect.
15124 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15125 Specify type. Require positive value.
15126 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15127 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15128 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15129 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15130 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15131 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15132 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15133 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15134 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15135 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15136 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15137 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15138 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15139 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15140 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15141 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15142 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15143 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15144 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15145 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15146 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15147 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15148 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15149 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15150 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15151 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15152 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15153 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15154 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15155 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15156 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15157 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15158 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15159 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15160 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15161 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15162 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15163 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15164 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15165 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15166 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15167 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15168 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15169 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15170 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15171 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15172 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15173 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15174 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15175 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15176 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15177 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15178 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15179 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15188 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15189 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15190 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15191 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15193 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15200 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15201 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15202 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15203 Require >= 2.
15204 (FLT_ROUNDS): Expect as macro, not constant.
15205 (FLT_MANT_DIG): Use macro-int-constant.
15206 (DBL_MANT_DIG): Likewise.
15207 (LDBL_MANT_DIG): Likewise.
15208 (FLT_DIG): Likewise.
15209 (DBL_DIG): Likewise.
15210 (LDBL_DIG): Likewise.
15211 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15212 (DBL_MIN_EXP): Likewise.
15213 (LDBL_MIN_EXP): Likewise.
15214 (FLT_MAX_EXP): Use macro-int-constant.
15215 (DBL_MAX_EXP): Likewise.
15216 (LDBL_MAX_EXP): Likewise.
15217 (FLT_MAX_10_EXP): Likewise.
15218 (DBL_MAX_10_EXP): Likewise.
15219 (LDBL_MAX_10_EXP): Likewise.
15220 (FLT_MAX): Use macro-constant.
15221 (DBL_MAX): Likewise.
15222 (LDBL_MAX): Likewise.
15223 (FLT_EPSILON): Use macro-constant. Give upper bound.
15224 (DBL_EPSILON): Likewise.
15225 (LDBL_EPSILON): Likewise.
15226 (FLT_MIN): Likewise.
15227 (DBL_MIN): Likewise.
15228 (LDBL_MIN): Likewise.
15229 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15230 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15231 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15232 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15233 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15234 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15235 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15236 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15237 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15238 [ISO11] (FLT_TRUE_MIN): Likewise.
15239 [ISO11] (LDBL_TRUE_MIN): Likewise.
15240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15241 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15242 (SCHAR_MIN): Use macro-int-constant. Specify type.
15243 (SCHAR_MAX): Likewise.
15244 (UCHAR_MAX): Likewise.
15245 (CHAR_MIN): Likewise.
15246 (CHAR_MAX): Likewise.
15247 (MB_LEN_MAX): Use macro-int-constant.
15248 (SHRT_MIN): Use macro-int-constant. Specify type.
15249 (SHRT_MAX): Likewise.
15250 (USHRT_MAX): Likewise.
15251 (INT_MAX): Likewise.
15252 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15253 bound negative.
15254 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15255 bound with "U".
15256 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15257 bound with "L".
15258 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15259 bound negative. Suffix upper bound with "L".
15260 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15261 bound with "UL".
15262 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15263 Specify type.
15264 [C99-based standards] (LLONG_MAX): Likewise.
15265 [C99-based standards] (ULLONG_MAX): Likewise.
15266 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15267 == 0.
15268 [ISO11] (max_align_t): Require type.
15269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15270
c9140a62
JM
15271 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15272 from $CFLAGS, without defining away __attribute__ calls.
15273 (checknamespace): Use $CFLAGS_namespace.
15274
9af0bf29
JM
15275 * conform/conformtest.pl (@keywords): Only include C99 keywords
15276 for standards based on C99 or C11.
15277
343222a2
JM
15278 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15279 Disable tests.
15280 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15281 UNIX98]: Likewise.
15282
661f8cf0
JM
15283 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15284 usability of symbols in #if.
15285
ee74b9cb
JM
15286 * conform/conformtest.pl: If macro or constant types start
15287 "promoted:", expect the symbol to be of the following type
15288 promoted by the integer promotions.
62fde54f 15289
aafc49b3
JM
15290 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15291 in one place. Also handle "macro-constant".
15292
fefdf574
JM
15293 * conform/conformtest.pl: Only accept expected macro values with
15294 "==". Parse all "macro" lines in one place.
15295 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15296
f2d922fe
JM
15297 * conform/conformtest.pl: Handle braced types on "constant" lines
15298 instead of handling "typed-constant".
15299 * conform/data/signal.h-data: Use "constant" instead of
15300 "typed-constant".
15301
d22956c9
JM
15302 * conform/conformtest.pl: Handle "optional-" at start of lines in
15303 one place rather than duplicating several cases. Handle each
15304 format of "macro" line with initial "optional-".
15305
028e2e38
JM
15306 * conform/conformtest.pl: Only accept expected constant or
15307 optional-constant values with "==". Parse all "constant" lines in
15308 one place. Parse all "optional-constant" lines in one place.
15309 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15310 * conform/data/fmtmsg.h-data: Likewise.
15311 * conform/data/netinet/in.h-data: Likewise.
15312 * conform/data/tar.h-data: Likewise.
15313 * conform/data/limits.h-data: Use "==" form on "constant" and
15314 "optional-constant" lines.
15315
1b8f2850
JM
15316 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15317 Use -std=c99 for XOPEN2K.
15318 (@knownproblems): Remove.
15319 (newtoken): Don't check %isknown.
15320
a05a144b
JM
15321 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15322 Do not expect macro.
15323 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15335 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15336 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15353 [XPG3] (acosh): Likewise.
15354 [XPG3] (asinh): Likewise.
15355 [XPG3] (atanh): Likewise.
15356 [XPG3] (cbrt): Likewise.
15357 [XPG3] (expm1): Likewise.
15358 [XPG3] (ilogb): Likewise.
15359 [XPG3] (log1p): Likewise.
15360 [XPG3] (logb): Likewise.
15361 [XPG3] (nextafter): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15364 [XPG3] (remainder): Likewise.
15365 [XPG3] (rint): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15373 [UNIX98 || XOPEN2K] (scalb): Expect.
15374 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15375 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15383 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15385 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15386 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15387 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15388 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15389 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15390 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15391 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15392 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15393 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15394 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15395 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15396 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15397 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15398 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15399 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15400 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15401 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15402 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15403 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15404 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15405 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15406 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15407 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15408 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15409 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15410 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15411 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15412 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15413 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15414 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15415 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15416 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15417 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15418 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15419 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15420 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15421 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15422 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15423 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15424 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15425 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15426 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15427 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15428 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15429 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15430 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15431 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15432 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15433 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15434 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15435 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15436 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15437 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15438 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15439 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15440 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15441 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15442 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15443 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15444 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15445 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15446 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15447 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15448 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15449 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15450 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15451 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15452 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15453 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15454 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15455 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15456 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15457 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15458 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15459 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15460 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15461 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15462 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15463 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15464 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15465 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15466 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15467 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15468 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15469 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15470 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15471 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15472 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15473 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15474 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15475 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15476 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15477 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15478 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15479 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15480 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15481 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15482 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15483 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15484 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15485 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15486 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15487 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15488 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15489 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15490 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15491 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15492 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15493 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15494 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15495 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15496 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15497 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15498 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15499 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15500 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15501 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15502 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15503 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15504 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15505 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15506 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15507 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15508 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15509 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15510 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15511
73c5ebe3
JM
15512 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15513 _XOPEN_SOURCE_EXTENDED for XPG4.
15514
39c33b6c
JM
15515 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15516
62fde54f
JM
15517 * Makeconfig (localtime): Remove variable.
15518 (inst_localtime-file): Likewise.
15519
0741d64c
AS
155202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15521
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15523 Update.
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15525 Update.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15527 Update.
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15529 Update.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15531 Update.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15533 Update.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15535 Update.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15537 Update.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15539 Update.
15540
7cb029ee
JM
155412012-05-01 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #2550]
15544 [BZ #2570]
15545 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15546 comparisons to determine direction to adjust input.
15547 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15548 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15550 Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15552 Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15554 Likewise.
15555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15557 Likewise.
15558 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15559 Likewise.
15560 * math/libm-test.inc (nexttoward_test): Add more tests.
15561
412bd966
AS
155622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15563
15564 [BZ #14040]
15565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15566 in version GLIBC_2.1, not GLIBC_2.0.
15567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15568 Likewise.
15569
9568c0c2
JM
155702012-04-30 Joseph Myers <joseph@codesourcery.com>
15571
adfbc8ac
JM
15572 [BZ #13942]
15573 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15574 (1 - x) * (1 + x).
15575 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15576 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15577 * math/libm-test.inc (acos_test): Add more tests.
15578 (asin_test): Likewise.
15579 * sysdeps/i386/fpu/libm-test-ulps: Update.
15580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581
5ba3cc69
JM
15582 [BZ #14034]
15583 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15584 of square root.
15585 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15586 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15587 * math/libm-test.inc (acos_test_tonearest): New function.
15588 (acos_test_towardzero): Likewise.
15589 (acos_test_downward): Likewise.
15590 (acos_test_upward): Likewise.
15591 (asin_test_tonearest): Likewise.
15592 (asin_test_towardzero): Likewise.
15593 (asin_test_downward): Likewise.
15594 (asin_test_upward): Likewise.
15595 (main): Call the new functions.
15596 * sysdeps/i386/fpu/libm-test-ulps: Update.
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15598
9568c0c2
JM
15599 [BZ #13884]
15600 [BZ #13924]
15601 * math/e_exp10.c: Include <float.h>.
15602 (__ieee754_exp10): Handle underflow here rather than multiplying
15603 large negative argument by M_LN10.
15604 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15605 of __ieee754_expf.
15606 * math/e_exp10l.c: Include <float.h>.
15607 (__ieee754_exp10l): Handle underflow here rather than multiplying
15608 large negative argument by M_LN10l.
15609 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15610 spurious overflow exception on underflow.
15611
5ac3ea17
MP
156122012-04-29 Marek Polacek <polacek@redhat.com>
15613
15614 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15615 (__fortify_function): New macro.
15616 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15617 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15618 __extern_always_inline.
15619 * libio/bits/stdio2.h: Likewise.
15620 * libio/bits/stdio.h: Likewise.
15621 * string/string.h: Likewise.
15622 * string/bits/string3.h: Likewise.
15623 * include/stdio.h: Likewise.
15624 * stdlib/bits/stdlib.h: Likewise.
15625 * stdlib/stdlib.h: Likewise.
15626 * rt/bits/mqueue2.h: Likewise.
15627 * rt/mqueue.h: Likewise.
15628 * posix/bits/unistd.h: Likewise.
15629 * posix/unistd.h: Likewise.
15630 * io/bits/poll2.h: Likewise.
15631 * io/bits/fcntl2.h: Likewise.
15632 * io/fcntl.h: Likewise.
15633 * io/sys/poll.h: Likewise.
15634 * misc/bits/syslog.h: Likewise.
15635 * misc/bits/syslog-ldbl.h: Likewise.
15636 * misc/sys/syslog.h: Likewise.
15637 * socket/bits/socket2.h: Likewise.
15638 * socket/sys/socket.h: Likewise.
15639 * debug/tst-chk1.c: Likewise.
15640 * wcsmbs/bits/wchar2.h: Likewise.
15641 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15642 * wcsmbs/wchar.h: Likewise.
15643
ecf0ebfb
AJ
156442012-04-29 Andreas Jaeger <aj@suse.de>
15645
15646 * Makerules (tests): Remove enable-check-abi protection.
15647 (check-abi-warn): Remove.
15648 (check-abi-%): Remove check-abi-warn usage.
15649
15650 * configure.in: Remove check-abi configure option.
15651 * configure: Regenerated.
15652 * config.make.in (enable-check-abi): Remove.
15653
6d5c57fa
AS
156542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15655
24c5d07e 15656 [BZ #14033]
ded5180a
AS
15657 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15658 double functions to double *_finite functions.
15659
7e0d315d
AS
15660 [BZ #13941]
15661 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15662 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15663 LDBL_MIN_EXP.
15664 * stdio-common/Makefile (tests): Add tst-sprintf3.
15665 * stdio-common/tst-sprintf3.c: New file.
15666
6d5c57fa
AS
15667 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15668 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15669
0749ff8b
JM
156702012-04-28 Joseph Myers <joseph@codesourcery.com>
15671
15672 * conform/conformtest.pl: Remove duplicate typed-constant
15673 handling.
15674
8dbd5d7b
DM
156752012-04-28 David S. Miller <davem@davemloft.net>
15676
15677 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15678 (check-abi-%): Remove AWK script prerequisite and explicit
15679 abilist directory.
15680 (check-abi): Rewrite to just diff the symlist with the abilist.
15681 (config-tls, config-abi-config): Delete, no longer used.
15682 (update-abi-%): Remove AWK script and explicit abilist directory.
15683 (update-abi): Rewrite to simply compare and conditionally copy the
15684 symlist and the sysdep abilist file. Remove update-abi-config
15685 checks.
15686 * abilist/ld.abilist: Remove.
15687 * abilist/libBrokenLocale.abilist: Remove.
15688 * abilist/libanl.abilist: Remove.
15689 * abilist/libcrypt.abilist: Remove.
15690 * abilist/libdl.abilist: Remove.
15691 * abilist/librt.abilist: Remove.
15692 * abilist/libthread_db.abilist: Remove.
15693 * abilist/libutil.abilist: Remove.
15694 * scripts/extract-abilist.awk: Remove.
15695 * scripts/merge-abilist.awk: Remove.
15696 * sysdeps/generic/libcidn.abilist: New file.
15697 * sysdeps/generic/libnss_compat.abilist: New file.
15698 * sysdeps/generic/libnss_db.abilist: New file.
15699 * sysdeps/generic/libnss_dns.abilist: New file.
15700 * sysdeps/generic/libnss_files.abilist: New file.
15701 * sysdeps/generic/libnss_hesiod.abilist: New file.
15702 * sysdeps/generic/libnss_nis.abilist: New file.
15703 * sysdeps/generic/libnss_nisplus.abilist: New file.
15704 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15705 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15706 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15707 file.
15708 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15709 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15710 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15711 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15712 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15713 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15714 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15715 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15716 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15717 file.
15718 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15719 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15720 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15721 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15722 file.
15723 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15724 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15725 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15726 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15727 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15728 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15729 file.
15730 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15731 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15733 file.
15734 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15736 New file.
15737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15738 New file.
15739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15740 New file.
15741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15742 New file.
15743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15744 New file.
15745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15746 New file.
15747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15748 New file.
15749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15750 New file.
15751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15752 New file.
15753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15754 New file.
15755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15756 New file.
15757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15758 New file.
15759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15760 New file.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15762 file.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15764 New file.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15766 New file.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15768 file.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15770 New file.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15772 New file.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15774 file.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15776 New file.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15778 New file.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15780 New file.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15782 New file.
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15784 New file.
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15786 New file.
15787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15789 file.
15790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15791 New file.
15792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15793 file.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15795 file.
15796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15797 file.
15798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15799 file.
15800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15801 file.
15802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15803 New file.
15804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15805 file.
15806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15807 file.
15808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15809 New file.
15810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15811 file.
15812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15814 file.
15815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15816 New file.
15817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15818 file.
15819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15820 file.
15821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15822 file.
15823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15824 file.
15825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15826 file.
15827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15828 New file.
15829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15830 file.
15831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15832 file.
15833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15834 New file.
15835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15836 file.
15837 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15839 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15840 file.
15841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15843 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15844 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15845 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15846 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15847 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15849 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15850 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15853 file.
15854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15855 New file.
15856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15857 file.
15858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15859 file.
15860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15861 file.
15862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15863 file.
15864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15865 file.
15866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15867 New file.
15868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15869 New file.
15870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15871 file.
15872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15873 New file.
15874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15875 file.
15876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15878 file.
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15880 New file.
15881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15882 file.
15883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15884 file.
15885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15886 file.
15887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15888 file.
15889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15890 file.
15891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15892 New file.
15893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15894 New file.
15895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15896 file.
15897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15898 New file.
15899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15900 file.
15901
41d73a1b
JM
159022012-04-28 Joseph Myers <joseph@codesourcery.com>
15903
15904 * conform/conformtest.pl: Fix typo in handling typed-constant from
15905 allow-header.
15906
28aeeda4
JM
159072012-04-27 Joseph Myers <joseph@codesourcery.com>
15908
adae8f5e
JM
15909 * README: Cut down references to pre-2.6 Linux kernels and
15910 Linuxthreads. Update lists of configurations in libc and ports
15911 and sort alphabetically. Say "or newer" with Linux kernel version
15912 requirements.
15913
28aeeda4
JM
15914 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15915
a462cb63
RA
159162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15917
15918 [BZ #887]
15919 * math/libm-test.inc (logb_test_downward): New test to expose
15920 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15921 rounding mode.
15922
6ad3493e
JM
159232012-04-27 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #14027]
15926 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15927 to be done.
15928 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15929 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15930
2ce4f015
JM
159312012-04-26 Joseph Myers <joseph@codesourcery.com>
15932
5aeb141a
JM
15933 * sysdeps/unix/i386/brk.S: Remove file.
15934 * sysdeps/unix/i386/dl-brk.S: Likewise.
15935 * sysdeps/unix/i386/pipe.S: Likewise.
15936 * sysdeps/unix/i386/sigreturn.S: Likewise.
15937 * sysdeps/unix/i386/syscall.S: Likewise.
15938 * sysdeps/unix/i386/vfork.S: Likewise.
15939 * sysdeps/unix/i386/wait.S: Likewise.
15940
7143acae
JM
15941 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15942 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15943
2ce4f015
JM
15944 * configure.in (arm*-none*): Do not allow without
15945 --enable-hacker-mode.
15946 (netbsd*): Remove case setting base_os.
15947 (386bsd*): Likewise.
15948 (freebsd*): Likewise.
15949 (bsdi*): Likewise.
15950 (osf*): Likewise.
15951 (sunos*): Likewise.
15952 (ultrix*): Likewise.
15953 (newsos*): Likewise.
15954 (dynix*): Likewise.
15955 (*bsd*): Likewise.
15956 (sysv*): Likewise.
15957 (isc*): Likewise.
15958 (esix*): Likewise.
15959 (sco*): Likewise.
15960 (minix*): Likewise.
15961 (irix4*): Likewise.
15962 (irix6*): Likewise.
15963 (solaris[2-9]*): Likewise.
15964 (none): Likewise.
15965 * configure: Regenerated.
15966
0ac229c8
AZ
159672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15968
15969 [BZ #11521]
15970 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15971 overflow or cancellation in calculating denominator.
15972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15974 down expression to avoid unexpected rounding in newer GCCs.
15975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15976
33f244f4
DM
159772012-04-26 David S. Miller <davem@davemloft.net>
15978
15979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15980 long-double compat symbols.
15981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15994
cfa1f3e8
DM
159952012-04-25 David S. Miller <davem@davemloft.net>
15996
15997 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15998 HWCAP_* values only after the memory barriers have been defined.
15999 (atomic_full_barrier): Define.
16000 (atomic_read_barrier): Define.
16001 (atomic_write_barrier): Define.
16002
6e236b92
SP
160032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16004
16005 * shlib-versions: Add libgcc_s version information.
16006 * sysdeps/generic/libgcc_s.h: Remove.
16007 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16008 libgcc_s.h.
16009 * sysdeps/gnu/unwind-resume.c: Likewise.
16010 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16011
aab39a09
DM
160122012-04-25 David S. Miller <davem@davemloft.net>
16013
16014 * sysdeps/unix/sparc/brk.S: Delete.
16015 * sysdeps/unix/sparc/dl-brk.S: Delete.
16016 * sysdeps/unix/sparc/pipe.S: Delete.
16017 * sysdeps/unix/sparc/sysdep.S: Delete.
16018 * sysdeps/unix/sparc/sysdep.h: Delete.
16019 * sysdeps/unix/sparc/vfork.S: Delete.
16020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16021 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16023 ret_ERRVAL, r0, r1, MOVE): Define.
16024 (JUMPTARGET): Remove.
16025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16026 sysdeps/unix/sparc/sysdep.h
16027 (ENTRY, END): Remove.
16028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16029
a3cc4f48
JM
160302012-04-25 Joseph Myers <joseph@codesourcery.com>
16031
2ed8cda2
JM
16032 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16033 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16034 -DIS_IN_build.
16035
35d76d59
JM
16036 * timezone/README: Update upstream location and email address for
16037 tzcode and tzdata.
16038 * timezone/zdump.c: Update from tzcode 2012b.
16039 * timezone/zic.c: Likewise.
16040
a3cc4f48
JM
16041 * configure.in (libc_cv_as_needed): Remove test.
16042 * configure: Regenerated.
16043 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16044 conditional definition.
16045 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16046 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16047 * config.make.in (have-as-needed): Remove variable.
16048
ceab42c3
SP
160492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16050 Paul Pluzhnikov <ppluzhnikov@google.com>
16051
16052 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16053 strings correctly.
16054
3ce2865f
CLT
160552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16056
16057 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16058 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16059 * sysdeps/sh/strlen.S: Likewise.
16060
f37e0d68
JM
160612012-04-24 Joseph Myers <joseph@codesourcery.com>
16062
ae186e9a
JM
16063 * sysdeps/unix/fork.S: Remove file.
16064 * sysdeps/unix/i386/fork.S: Likewise.
16065 * sysdeps/unix/sparc/fork.S: Likewise.
16066
b96914af
JM
16067 * sysdeps/unix/system.c: Remove file.
16068 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16069
f37e0d68
JM
16070 * sysdeps/unix/getegid.S: Remove file.
16071 * sysdeps/unix/geteuid.S: Likewise.
16072
87ef29ca
RM
160732012-04-24 Roland McGrath <roland@hack.frob.com>
16074
83bcd236
RM
16075 * scripts/check-localplt.awk: New file.
16076 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16077 of diff.
16078 * scripts/data/localplt-generic.data: Add a comment.
16079
87ef29ca
RM
16080 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16081 NODE when __dir_mkfile failed.
16082 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16083 Reported by Ludovic Courtès <ludo@gnu.org>.
16084
e5a6e567
AJ
160852012-04-24 Andreas Jaeger <aj@suse.de>
16086
16087 * Makerules (common-clean): Also remove gen-as-const-headers
16088 files.
16089
c1820385
JM
160902012-04-24 Joseph Myers <joseph@codesourcery.com>
16091
16092 * Makerules (native-compile): Do not change working directory for
16093 build. Use $(OUTPUT_OPTION) in command.
16094 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16095
94e02fc4
AZ
160962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16097
16098 [BZ #13886]
16099 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16100 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16101 * math/libm-test.inc (floor_test): Add more tests.
16102 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16103
3a533ca3
JM
161042012-04-24 Joseph Myers <joseph@codesourcery.com>
16105
940ab4b3
JM
16106 * sysdeps/unix/getdents.c: Remove file.
16107 * sysdeps/unix/sysv/getdents.c: Likewise.
16108 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16109
90e037bd
JM
16110 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16111 sysdeps/unix/mman/syscalls.list.
16112 (mmap): Likewise.
16113 (mprotect): Likewise.
16114 (msync): Likewise.
16115 (munmap): Likewise.
16116 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16117 * sysdeps/unix/mman/syscalls.list: Remove.
16118 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16119
3a533ca3
JM
16120 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16121 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16122 * configure: Regenerated.
16123 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16124 $(libgcc_s_suffix).
16125 * config.make.in (libgcc_s_suffix): Remove variable.
16126
1ad743de
JM
161272012-04-23 Joseph Myers <joseph@codesourcery.com>
16128
4ad451e2
JM
16129 * sysdeps/unix/sysv/gethostname.c: Move to ...
16130 * sysdeps/posix/gethostname.c: ... here.
16131
5e37ce39
JM
16132 * sysdeps/unix/execve.S: Remove file.
16133
1ad743de
JM
16134 * sysdeps/unix/_exit.S: Remove file.
16135
4e681b5b
AJ
161362012-04-23 Andreas Jaeger <aj@suse.de>
16137
16138 [BZ #13739]
16139 * manual/Makefile: Remove make dist support, there's no
16140 need for a stand-alone documentation tar ball.
16141 (TEXI2DVI): Define always, it's not in Makeconfig.
16142 (dist): Removed.
16143 (tar-it): Removed.
16144 (edition): Removed.
16145 (glibc-doc-$(edition).tar): Removed
16146 (%.Z): Removed.
16147 (%.gz): Removed.
16148 (%.uu): Removed.
16149 (ETAGS): Remove, it's in Makeconfig.
16150 (move-if-change): Remove, it's in Makeconfig.
16151
38686a03 161522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16153
16154 [BZ #13970]
16155 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16156 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16157 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16158 (strtod_l, strtof_l, strtold_l): Remove __wur.
16159 It is not necessarily an error to ignore strtol's return value.
16160 One can reliably look at the stored endptr to decide whether
16161 the number had valid syntax.
16162
7c0616fa
AJ
161632012-04-21 Andreas Jaeger <aj@suse.de>
16164
803cb6b7 16165 [BZ #13739]
7c0616fa
AJ
16166 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16167
b0fe253f
JM
161682012-04-21 Joseph Myers <joseph@codesourcery.com>
16169
16170 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16171 * sysdeps/unix/sysv/Versions: Remove file.
16172
8280f22d
MT
161732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16174
16175 [BZ #13927]
16176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16177
75ce411f 161782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16179
16180 [BZ #7064]
16181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16182 version from __vm86.
16183
097d59fa
JM
161842012-04-20 Joseph Myers <joseph@codesourcery.com>
16185
a90f3bcb
JM
16186 * sysdeps/unix/common/lxstat.c: Remove file.
16187 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16188
edc7ea78
JM
16189 * sysdeps/unix/sysv/Makefile: Remove file.
16190
cb78c221
JM
16191 * sysdeps/unix/sysv/direct.h: Remove file.
16192
efa6a45f
JM
16193 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16194 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16195 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16196 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16197 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16198 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16199 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16200
9c9f2d0c
JM
16201 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16202
4541c83b
JM
16203 * sysdeps/unix/xmknod.c: Remove file.
16204 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16205
f5d153a0
JM
16206 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16207
aa746595
JM
16208 * sysdeps/unix/sysv/i386/time.S: Remove file.
16209
cce5905e
JM
16210 * sysdeps/unix/fxstat.c: Remove file.
16211 * sysdeps/unix/xstat.c: Likewise.
16212 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16213
37fa3841
JM
16214 * sysdeps/unix/sysv/sigaction.c: Remove file.
16215
ff1962a3
JM
16216 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16217 (sysdep_headers): Remove variable.
16218 [termio.h not in sysdep_headers] (generated): Likewise.
16219 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16220 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16221 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16222 * sysdeps/unix/sysv/tcflow.c: Likewise.
16223 * sysdeps/unix/sysv/tcflush.c: Likewise.
16224 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16225 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16226 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16227 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16228 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16229
e7740d31
JM
16230 * sysdeps/unix/siglist.c: Remove file.
16231
ee06f18b
JM
16232 * sysdeps/unix/getppid.S: Remove file.
16233
097d59fa
JM
16234 * sysdeps/unix/mkdir.c: Remove file.
16235 * sysdeps/unix/rmdir.c: Likewise.
16236
ff3d51ec
AS
162372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16238
16239 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16240 ERR_MAX value.
16241 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16242 errlist-compat value.
16243
50f81fd7
DM
162442012-04-18 David S. Miller <davem@davemloft.net>
16245
16246 * sysdeps/generic/memcopy.h (reg_char): Delete.
16247 * debug/strcat_chk.c: Use char, not reg_char.
16248 * debug/strcpy_chk.c: Likewise.
16249 * debug/strncat_chk.c: Likewise.
16250 * debug/strncpy_chk.c: Likewise.
16251 * string/memchr.c: Likewise.
16252 * string/memrchr.c: Likewise.
16253 * string/rawmemchr.c: Likewise.
16254 * string/strcat.c: Likewise.
16255 * string/strchr.c: Likewise.
16256 * string/strchrnul.c: Likewise.
16257 * string/strcmp.c: Likewise.
16258 * string/strcpy.c: Likewise.
16259 * string/strncat.c: Likewise.
16260 * string/strncmp.c: Likewise.
16261 * string/strncpy.c: Likewise.
16262
8ff41c46
WS
162632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16264
16265 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16266 __builtin_memcopy is called when src and dest ranges are known to not
16267 overlap.
16268
6b652f46
WS
162692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16270
16271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16272 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16273 fwd_align_merge macro call.
16274 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16275 bwd_align_merge macro call.
16276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16277
b282631e
WS
162782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16279
16280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16281 bwd_align_merge macros.
16282 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16283 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16284 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16285
95aa737c
DM
162862012-04-18 David S. Miller <davem@davemloft.net>
16287
16288 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16289
7a99a614
AJ
162902012-04-18 Andreas Jaeger <aj@suse.de>
16291
16292 [BZ# 6794]
16293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16294 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16296
16297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16298 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16299 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16300
16301 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16302 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16303 Adjust for changed ldbl-128 files.
16304
16305 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16306 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16308
e5270c23
DM
163092012-04-17 David S. Miller <davem@davemloft.net>
16310
16311 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16312
fb5e92c9
AS
163132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16314
16315 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16316 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16317 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16318 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16320 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16321
76da7265
AZ
163222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16323
16324 [BZ #6794]
16325 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16326 * math/libm-test.inc: Add ilogb errno and exception tests.
16327 * math/w_ilogb.c: New file: ilogb wrapper.
16328 * math/w_ilogbf.c: New file: ilogbf wrapper.
16329 * math/w_ilogbl.c: New file: ilogbl wrapper.
16330 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16331 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16332 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16333 exception being thrown with 0.0 as argument.
16334 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16335 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16336 exception being thrown with 0.0 as argument.
16337 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16338 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16339 exception being thrown with 0.0 as argument.
16340 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16341 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16342 exception being thrown with 0.0 as argument.
16343 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16344 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16346 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16347 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16348 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16349 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16350 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16351 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16352
0396e69d
PB
163532012-04-17 Petr Baudis <pasky@ucw.cz>
16354
16355 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16356 with altivec.
16357
750b5926
MP
163582012-04-16 Marek Polacek <polacek@redhat.com>
16359
16360 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16361
751728a1
MP
163622012-04-16 Marek Polacek <polacek@redhat.com>
16363
16364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16365 operands of fdivp instruction.
16366
34a27407
L
163672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16368
16369 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16370 * elf/tst-auditmod3b.c: Likewise.
16371 * elf/tst-auditmod4b.c: Likewise.
16372 * elf/tst-auditmod5b.c: Likewise.
16373 * elf/tst-auditmod6b.c: Likewise.
16374 * elf/tst-auditmod6c.c: Likewise.
16375 * elf/tst-auditmod7b.c: Likewise.
16376 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16377 * sysdeps/x86_64/preconfigure.in: Likewise.
16378 * sysdeps/x86_64/preconfigure: Regenerated.
16379
7e73e17d
L
163802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16383 __ILP32__.
16384
c7a6ab72
AB
163852012-04-13 Antoine Balestrat <merkil33@gmail.com>
16386
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16388 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16389
a9e8e0e0
CL
163902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16391
16392 [BZ #13973]
16393 * locale/iso-639.def: Fix gl language name. Spotted by
16394 Yaron Shahrabani.
16395
ec98af7d
RM
163962012-04-12 Roland McGrath <roland@hack.frob.com>
16397
16398 [BZ #2074]
16399 * libio/libio.h (__io_write_fn): Update comment.
16400
247c3ede
PB
164012012-04-12 Petr Baudis <pasky@ucw.cz>
16402
16403 [BZ #2074]
16404 * stdio.texi (Hook Functions): The user provided writer function
16405 is not allowed to return -1.
16406
55939d6d
DM
164072012-04-11 David S. Miller <davem@davemloft.net>
16408
16409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16410
90020f5a
MF
164112012-04-11 Mike Frysinger <vapier@gentoo.org>
16412
16413 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16414 Add a leading slash to rtkaio.
16415
288f9098
JM
164162012-04-11 Jim Meyering <meyering@redhat.com>
16417
90020f5a
MF
16418 [BZ #11959]
16419 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16420 It is not necessarily an error to ignore fwrite's return
16421 value. One can reliably use ferror to test for errors after
16422 the fact.
288f9098 16423
4be2b570
L
164242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16425
16426 * bits/types.h (__snseconds_t): New type.
16427 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16428
16429 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16431 (__SNSECONDS_T_TYPE): Likewise.
16432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16433 (__SNSECONDS_T_TYPE): Likewise.
16434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16435 (__SNSECONDS_T_TYPE): Likewise.
16436
288f9098 164372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16438
16439 [BZ #2636]
16440 * manual/time.texi (Processor Time): Return type of times is
16441 elapsed real time since an arbitrary point in the past.
16442 (CPU Time): Move CLK_TCK from here...
16443 (Processor Time): ...to here. Correct description.
16444 * manual/conf.texi (Constants for Sysconf): Correct description of
16445 _SC_CLK_TCK.
16446
d7dd4413
DM
164472012-04-10 David S. Miller <davem@davemloft.net>
16448
16449 [BZ #13967]
16450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16451 where the is a gap between DT_REL(A) and DT_JMPREL.
16452
b46068fc
L
164532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16454
16455 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16456 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16457 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16458
73d65cc3
SP
164592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16460
16461 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16462 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16463 (dl_main): Handle --inhibit-cache.
16464 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16465 _dl_inhibit_cache.
16466 * elf/dl-load.c (_dl_map_object): Use it.
16467 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16468
bcc8d661
JM
164692012-04-09 Joseph Myers <joseph@codesourcery.com>
16470
8f9a2fae
JM
16471 [BZ #13872]
16472 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16473 (__ieee754_powl): Saturate large exponents rather than testing for
16474 overflow of y*log2(x).
16475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16476 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16477 exceptions.
16478
bcc8d661
JM
16479 [BZ #11521]
16480 * math/s_ctan.c: Include <float.h>.
16481 (__ctan): Avoid internal overflow or cancellation in calculating
16482 denominator.
16483 * math/s_ctanf.c: Likewise.
16484 * math/s_ctanl.c: Likewise.
16485 * math/s_ctanh.c: Likewise.
16486 * math/s_ctanhf.c: Likewise.
16487 * math/s_ctanhl.c: Likewise.
16488 * math/libm-test.inc (ctan_test): Add more tests.
16489 (ctanh_test): Likewise.
16490 * sysdeps/i386/fpu/libm-test-ulps: Update.
16491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492
823fbbb4
AJ
164932012-04-09 Andreas Jaeger <aj@suse.de>
16494
03879793
AJ
16495 [BZ #6894]
16496 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16497 is an optional BSD extension.
16498
823fbbb4
AJ
16499 [BZ #10254]
16500 * manual/stdio.texi (Opening Streams): Document additional fopen
16501 parameters.
16502
8de131cb
RM
165032012-04-09 Roland McGrath <roland@hack.frob.com>
16504
16505 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16506 %eax without telling the compiler.
16507
c0ed9d7d
CD
165082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16509
16510 [BZ # 13963]
16511 * manual/install.texi: Use sourceware.org.
16512
c483f6b4
JM
165132012-04-09 Joseph Myers <joseph@codesourcery.com>
16514
d7dd9453
JM
16515 [BZ #13873]
16516 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16517 (__ieee754_pow): Generate overflow and underflow using huge*huge
16518 and tiny*tiny rather than just returning constant infinity or zero
16519 for large exponents.
16520 * math/libm-test.inc (pow_test): Require overflow exceptions for
16521 applicable cases of large exponents.
16522
c483f6b4
JM
16523 [BZ #706]
16524 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16525 (__ieee754_pow): Use iterative multiplication algorithm only for
16526 integer exponents with absolute value below 1024. Check for odd
16527 integer exponents when using algorithm for real exponents.
16528 * math/libm-test.inc (pow_test): Add more tests.
16529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16530
d2de7579
JM
165312012-04-08 Joseph Myers <joseph@codesourcery.com>
16532
16533 [BZ #13705]
16534 * math/libm-test.inc (exp_test): Do not allow overflow exception
16535 on underflow test.
16536
f77f1232
AJ
165372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16538
16539 [BZ #13705]
16540 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16541 instead of __kernel_standard_f.
16542
3884932b
MF
165432012-04-08 Mike Frysinger <vapier@gentoo.org>
16544
16545 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16546 * sysdeps/x86_64/memset_chk.S: Likewise.
16547
54472e9c
AJ
165482012-04-08 Andreas Jaeger <aj@suse.de>
16549
6ab0fbfc
AJ
16550 [BZ #10153]
16551 * manual/startup.texi (Environment Access): Describe return value
16552 for putenv and setenv.
16553
61efba8c
AJ
16554 [BZ #6895]
16555 * manual/filesys.texi (Directory Entries): Add description for
16556 DT_LNK.
16557
95c3f29a
AJ
16558 [BZ #6890]
16559 * manual/filesys.texi (Directory Entries): Clarify that it's file
16560 system not operating system in the description of DT_UNKNOWN.
16561
54472e9c
AJ
16562 [BZ #6578]
16563 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16564
624254b1
SC
165652012-04-08 Stephen Compall <s11@member.fsf.org>
16566
16567 [BZ #6649]
16568 * manual/llio.texi (Opening and Closing Files): Add cross
16569 reference to explain mode argument.
16570
1e4920e0
MF
165712012-04-07 Mike Frysinger <vapier@gentoo.org>
16572
16573 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16574 * sysdeps/x86_64/memset_chk.S: Likewise.
16575
5ed848f3
DM
165762012-04-07 David S. Miller <davem@davemloft.net>
16577
16578 * elf/elf.h (R_SPARC_WDISP10): Define.
16579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16580 R_SPARC_SIZE32.
16581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16582 R_SPARC_SIZE64 and R_SPARC_H34.
16583
96154cd8
CD
165842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16585
16586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16587 conditions and remove no longer applicable assertion.
16588
9904dc47
L
165892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16590
16591 * bits/byteswap.h: Include <features.h>.
16592 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16593 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16594
f8887d0a
L
165952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 * bits/byteswap.h (__bswap_16): Removed.
16598 Include <bits/byteswap-16.h> to get __bswap_16.
16599 * sysdeps/i386/bits/byteswap.h: Likewise.
16600 * sysdeps/s390/bits/byteswap.h: Likewise.
16601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16602 * bits/byteswap-16.h: New file.
16603 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16604 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16605 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16606 * string/Makefile (headers): Add bits/byteswap-16.h.
16607
62470f60
PP
166082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16609
16610 [BZ #13895]
16611 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16612 extra indirection.
16613 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16614 * nss/tst-nss-static.c: New.
16615
4dad7bab
RM
166162012-04-06 Robert Millan <rmh@gnu.org>
16617
16618 [BZ #6486]
16619 * manual/llio.texi (File Position Primitive): lseek
16620 refers to WHENCE when it really means OFFSET.
16621
e9142a17
AJ
166222012-04-06 Andreas Jaeger <aj@suse.de>
16623
2c040eff
AJ
16624 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16625 strncmp declarations.
16626
e9142a17
AJ
16627 * abilist/libc.abilist: Add __poll and __ppoll.
16628
ff9f1c5f
DM
166292012-04-05 David S. Miller <davem@davemloft.net>
16630
dcd2ae90
DM
16631 * scripts/check-local-headers.sh: Accept a host triplet in the
16632 path matched by the exclude regexp.
16633
993eb054
DM
16634 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16635 definition.
16636 * sysdeps/powerpc/powerpc32/dl-machine.h
16637 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16638 * sysdeps/s390/s390-32/dl-machine.h
16639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16640 * sysdeps/sparc/sparc32/dl-machine.h
16641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16642 * sysdeps/sparc/sparc64/dl-machine.h
16643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16644
ff9f1c5f
DM
16645 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16646 lazy binding.
48e2e132 16647 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16648 undefined symbol errors.
16649
48e2e132 16650 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16651 DT_NEEDED entries.
16652
e80d6f94
MM
166532012-04-05 Michael Matz <matz@suse.de>
16654
16655 [BZ #13592]
16656 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16657
349fa79f
AJ
166582012-04-05 Andreas Jaeger <aj@suse.de>
16659
16660 [BZ #13908]
16661 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16662 comment.
16663
f402708f
KK
166642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16665
16666 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16667 which ROUND is no valid rounding mode.
16668
2ecccfc9
KK
166692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16670
16671 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16672 read again.
16673 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16674
8a53f50f
KK
166752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16676
16677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16678 an exception using FPU order intentionally.
16679
166802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16681
16682 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16683 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16684 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16685 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16686
d653abb7
SJ
166872012-04-05 Simon Josefsson <simon@josefsson.org>
16688
16689 [BZ #12340]
16690 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16691 EINVAL when BUFLEN is too smal.
16692
c3b1bf7d
TS
166932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16694
16695 [BZ #13553]
16696 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16697 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16698
b1aa60f3
AJ
166992012-04-03 Andreas Jaeger <aj@suse.de>
16700
c3b1bf7d 16701 [BZ #13938]
67f60a26
AJ
16702 * manual/setjmp.texi (System V contexts): Fix sentence.
16703
b1aa60f3
AJ
16704 [BZ #13926]
16705 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16706 New macro for this case.
16707 [!__GNUC__] (__bswap_64): New inline function for this case.
16708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16709 * bits/byteswap.h: Likewise.
16710 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16711 ull, guard with __GLIBC_HAVE_LONG_LONG.
16712
16713 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16714 __GLIBC_HAVE_LONG_LONG.
16715
16716 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16717 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16718
39c59c35
TMQMF
167192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16720
16721 [BZ #13691]
16722 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16723 inptr and inend, rather than using last_ch.
16724
135ffda8
DM
167252012-04-02 David S. Miller <davem@davemloft.net>
16726
16727 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16728 * stdio-common/printf-parse.h (read_int): Change return type to
16729 'int', return -1 on INT_MAX overflow.
16730 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16731 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16732 overflows INT_MAX. Check for overflow of in-format-string precision
16733 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16734 SIZE_MAX not INT_MAX for integer overflow test.
16735 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16736 skip the construct in the format string but do not record anything.
16737 * stdio-common/bug22.c: Adjust to test both width/prevision
16738 INT_MAX overflow as well as total length INT_MAX overflow. Check
16739 explicitly for proper errno values.
16740
228c019e
TS
167412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16742
302cadd3
TS
16743 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16744 CHAR_MAX.
16745 * string/test-strcmp.c [! WIDE]: Likewise.
16746 * time/tst-mktime2.c: Likewise for INT_MAX.
16747 * string/test-string.h: #include <sys/param.h> for MIN.
16748
228c019e
TS
16749 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16750 * sysdeps/i386/init-first.c (init): Likewise.
16751 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16752 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16753 * sysdeps/sh/init-first.c (init): Likewise.
16754
cfa633f5
UD
167552012-04-01 Ulrich Drepper <drepper@gmail.com>
16756
16757 * po/ru.po: Update from translation team.
d1635ef8 16758 * po/vi.po: Likewise.
cfa633f5 16759
6cd0a5ea
SP
167602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16761
16762 * resolv/nss_dns/dns-host.c: Merge copyright years.
16763
4b43400f
LD
167642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16765
16766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16767 Optimize memcpy with prefetch if
16768 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16769 src, dst pointers have unequal 16 byte alignments.
16770
48c41d04
SP
167712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16772
16773 [BZ #13928]
16774 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16775 from a CNAME entry and return the minimum ttl for the query.
16776 (gaih_getanswer_slice): Likewise.
16777
b8dc394d
JL
167782012-03-30 Jeff Law <law@redhat.com>
16779
16780 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16781 due to long keys.
16782 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16783 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16784
2f5a5ed0
JL
16785 * resolv/nss_dns/dns-host.c: Update copyright year.
16786
1d39e359
UD
167872012-03-30 Ulrich Drepper <drepper@gmail.com>
16788
c030f70c 16789 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16790 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16791
1d39e359
UD
16792 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16793 comments for sendmmsg.
16794
167952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16796
16797 [BZ #13691]
16798 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16799 with only 1 character between 0x0041 and 0x01b0.
16800 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16801 * wcsmbs/tst-mbsnrtowcs.c: New file.
16802
20fde227
DM
168032012-03-29 David S. Miller <davem@davemloft.net>
16804
16805 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16806 small copies by hand.
16807
984a4237
JL
168082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16809
16810 [BZ #13761]
16811 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16812 _nss_compat_initgroups_dyn): Fall back to malloc/free
16813 for large group memberships.
16814
18c9d62b
DM
168152012-03-28 David S. Miller <davem@davemloft.net>
16816
88d85d4f
DM
16817 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16818 that branches into memcpy.
16819 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16822 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16824 bits.
16825 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16826 implementation too.
16827 * sysdeps/sparc/mempcpy.S: New file.
16828
e5aa83e1
DM
16829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16830 the IFUNC routine in the libc case.
16831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16832
88570753
DM
16833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16834 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16835 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16836 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16837 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16838 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16839 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16840 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16841
249d7567
DM
16842 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16843 loop to 256 bytes instead of 64 bytes and fix test signedness.
16844
18c9d62b
DM
16845 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16846 * sysdeps/sparc/sparc32/Makefile: rather than here...
16847 * sysdeps/sparc/sparc64/Makefile: and here.
16848
05f3d1f6
UD
168492012-03-28 Ulrich Drepper <drepper@gmail.com>
16850
16851 * malloc/mallocbug.c: Avoid warnings about unused variables.
16852
86ae07a8
JL
168532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16854
16855 [BZ #13760]
16856 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16857 in the right place. Discard and retry query if response is
16858 larger than input buffer size.
16859
41bf21a1
JM
168602012-03-28 Joseph Myers <joseph@codesourcery.com>
16861
d6270972
JM
16862 [BZ #369]
16863 [BZ #2678]
16864 [BZ #3866]
16865 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16866 x for large integer exponent.
16867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16868 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16869 sign of result as needed afterwards.
16870 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16871 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16872 result for underflowing pow the same as for overflow.
16873 (__kernel_standard_l): Handle powl overflow and underflow here
16874 rather than calling __kernel_standard.
16875 * math/libm-test.inc (pow_test): Add more tests.
16876
414fca03 16877 [BZ #3868]
41bf21a1
JM
16878 [BZ #13879]
16879 [BZ #13910]
16880 [BZ #13911]
16881 [BZ #13912]
16882 [BZ #13913]
16883 [BZ #13915]
16884 [BZ #13916]
16885 [BZ #13917]
16886 [BZ #13918]
16887 [BZ #13919]
16888 [BZ #13920]
16889 [BZ #13921]
16890 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16891 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16892 (__kernel_standard_l): New function.
16893 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16894 __kernel_standard.
16895 * math/w_acosl.c (__acosl): Likewise.
16896 * math/w_asinl.c (__asinl): Likewise.
16897 * math/w_atan2l.c (__atan2l): Likewise.
16898 * math/w_atanhl.c (__atanhl): Likewise.
16899 * math/w_coshl.c (__coshl): Likewise.
16900 * math/w_exp10l.c (__exp10l): Likewise.
16901 * math/w_exp2l.c (__exp2l): Likewise.
16902 * math/w_fmodl.c (__fmodl): Likewise.
16903 * math/w_hypotl.c (__hypotl): Likewise.
16904 * math/w_j0l.c (__j0l, __y0l): Likewise.
16905 * math/w_j1l.c (__j1l, __y1l): Likewise.
16906 * math/w_jnl.c (__jnl, __ynl): Likewise.
16907 * math/w_lgammal.c (__lgammal): Likewise.
16908 * math/w_log10l.c (__log10l): Likewise.
16909 * math/w_log2l.c (__log2l): Likewise.
16910 * math/w_logl.c (__logl): Likewise.
16911 * math/w_powl.c (__powl): Likewise.
16912 * math/w_remainderl.c (__remainderl): Likewise.
16913 * math/w_scalbl.c (sysv_scalbl): Likewise.
16914 * math/w_sinhl.c (__sinhl): Likewise.
16915 * math/w_sqrtl.c (__sqrtl): Likewise.
16916 * math/w_tgammal.c (__tgammal): Likewise.
16917 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16918 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16919 * math/libm-test.inc (acos_test): Add more tests.
16920 (acosh_test): Likewise.
16921 (asin_test): Likewise.
16922 (atanh_test): Likewise.
16923 (exp_test): Likewise.
16924 (exp10_test): Likewise.
16925 (exp2_test): Likewise.
16926 (expm1_test): Likewise.
16927 (lgamma_test): Likewise.
16928 (log_test): Likewise.
16929 (log10_test): Likewise.
16930 (log1p_test): Likewise.
16931 (log2_test): Likewise.
16932 (pow_test): Do not allow some spurious overflow exceptions.
16933 (sqrt_test): Add more tests.
16934 (tgamma_test): Likewise.
16935 (y0_test): Likewise.
16936 (y1_test): Likewise.
16937 (yn_test): Likewise.
16938
dd62fda6
AB
169392012-03-27 Anton Blanchard <anton@samba.org>
16940
16941 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16942 MAP_HUGETLB.
16943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16946
1e3cdfda
AJ
169472012-03-27 David S. Miller <davem@davemloft.net>
16948
b855ab85
DM
16949 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16950
1e3cdfda
AJ
16951 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16952 have-as-vis3 check.
16953
169542012-03-27 Andreas Jaeger <aj@suse.de>
16955
16956 * sysdeps/x86_64/elf/configure.in: Moved to ...
16957 * sysdeps/x86_64/configure.in: ... here.
16958 * sysdeps/x86_64/elf/start.S: Moved to ...
16959 * sysdeps/x86_64/start.S: ... here.
16960 * sysdeps/x86_64/elf/configure: Delete.
16961
16962 * sysdeps/x86_64/configure.in: Merge contents from
16963 sysdeps/i386/configure.in (without i686 check).
16964
16965 * sysdeps/i386/elf/Versions: Merge into ...
16966 * sysdeps/i386/Versions: ... this.
16967 * sysdeps/i386/elf/Versions: Delete file.
16968 * sysdeps/i386/elf/start.S: Moved to ...
16969 * sysdeps/i386/start.S: ...here.
16970 * sysdeps/i386/elf/configure.in: Merge into...
16971 * sysdeps/i386/configure.in: ...here.
16972 * sysdeps/i386/elf/configure.in: Delete file.
16973 * sysdeps/i386/elf/configure: Delete file.
16974
16975 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16976 * debug/backtracesyms.c: ... here.
16977 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16978 * debug/backtracesymsfd.c: ... here.
16979 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16980 * sysdeps/generic/ifunc-sel.h: ... here.
16981
16982 * sysdeps/unix/i386/start.c: Delete file.
16983 * sysdeps/unix/sparc/start.c: Delete file.
16984 * sysdeps/unix/start.c: Delete file.
16985
16986 * sysdeps/sh/elf/configure.in: Moved to ...
16987 * sysdeps/sh/configure.in: ... here.
16988 * sysdeps/sh/elf/start.S: Moved to ...
16989 * sysdeps/sh/start.S: ... here.
16990 * sysdeps/sh/elf/configure: Delete file.
16991
16992 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16993 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16994 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16995 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16996 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16997 * sysdeps/powerpc/powerpc64/start.S: here.
16998 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16999 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17000 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17001 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17002 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17003
17004 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17005 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17006 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17007 * sysdeps/powerpc/powerpc32/start.S: ... here.
17008 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17009 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17010 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17011
17012 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17013 * sysdeps/powerpc/ifunc-sel.h: ... here.
17014 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17015 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17016
17017 * sysdeps/sparc/elf/configure.in: Moved to ...
17018 * sysdeps/sparc/configure.in: ... here.
17019 * sysdeps/sparc/elf/configure: Delete file.
17020 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17021 * sysdeps/sparc/sparc32/start.S: ... here.
17022 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17023 * sysdeps/sparc/sparc64/start.S: ... here.
17024 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17025 * sysdeps/sparc/sparc32/Makefile: ... this.
17026 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17027 * sysdeps/sparc/sparc64/Makefile: ... this.
17028
17029 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17030 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17031 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17032 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17033 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17034 * sysdeps/s390/s390-32/setjmp.S: ... here.
17035 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17036 * sysdeps/s390/s390-32/configure.in: ... here.
17037 * sysdeps/s390/s390-32/elf/configure: Delete file.
17038 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17039 * sysdeps/s390/s390-32/start.S: ... here.
17040
17041 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17042 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17043 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17044 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17045 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17046 * sysdeps/s390/s390-64/setjmp.S: ... here.
17047 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17048 * sysdeps/s390/s390-64/configure.in: ... here
17049 * sysdeps/s390/s390-64/elf/configure: Delete file.
17050 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17051 * sysdeps/s390/s390-64/start.S: ... here.
17052 * sysdeps/s390/s390-64/elf/configure: Delete.
17053
17054 * configure.in: Remove support for elf directories in sysdeps.
17055
17056 * configure: Regenerated.
17057 * sysdeps/i386/configure: Regenerated.
17058 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17059 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17060 * sysdeps/s390/s390-32/configure: Regenerated.
17061 * sysdeps/s390/s390-64/configure: Regenerated.
17062 * sysdeps/sh/configure: Regenerated.
17063 * sysdeps/sparc/configure: Regenerated.
17064 * sysdeps/x86_64/configure: Regenerated.
17065
a3f61311
AS
170662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17067
c876e002
AS
17068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17069
a3f61311
AS
17070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17071 denormal result into account.
17072
ac4c54f0
RM
170732012-03-25 Roland McGrath <roland@hack.frob.com>
17074
17075 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17076 Reported by Allan McRae <allan@archlinux.org>.
17077
6a9b9c02
JL
170782012-03-23 Jeff Law <law@redhat.com>
17079
17080 * nss/getnssent.c (__nss_getent): Fix typo.
17081
4c42a0c1
DM
170822012-03-23 David S. Miller <davem@davemloft.net>
17083
17084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17085
1532c7ac
L
170862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17089 to pad to uint64_t for each field.
17090 (dl_tls_index): Replace unsigned long with uint64_t.
17091
3ff42526
PP
170922012-03-23 Daniel Jacobowitz <dmj@google.com>
17093 Paul Pluzhnikov <ppluzhnikov@google.com>
17094
17095 [BZ #6528]
17096 * grp/Makefile (otherlibs): Don't set it.
17097 * inet/Makefile (otherlibs): Likewise.
17098 * login/Makefile (otherlibs): Likewise.
17099 * nscd/Makefile (otherlibs): Likewise.
17100 * posix/Makefile (otherlibs): Likewise.
17101 * pwd/Makefile (otherlibs): Likewise.
17102 * rt/Makefile (otherlibs): Likewise.
17103 * sunrpc/Makefile (otherlibs): Likewise.
17104 * nss/Makefile (otherlibs): Likewise.
17105 Add libnss_files to routines and static-only-routines.
17106 ($(objpfx)getent): Remove rule.
17107 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17108 static-only-routines.
17109
7c69cd14
JM
171102012-03-22 Joseph Myers <joseph@codesourcery.com>
17111
17112 [BZ #13892]
17113 * math/s_cexp.c: Include <float.h>.
17114 (__cexp): Handle exp result overflowing not necessarily
17115 overflowing both real and imaginary parts of result.
17116 * math/s_cexpf.c: Likewise.
17117 * math/s_cexpl.c: Likewise.
17118 * math/libm-test.inc (cexp_test): Add more tests.
17119 * sysdeps/i386/fpu/libm-test-ulps: Update.
17120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17121
81b035fe
L
171222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17123
17124 * include/link.h (ELFW): New macro.
17125 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17126 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17127
1da7940c
L
171282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17129
17130 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17131 with uint64_t.
17132
b749dbb9
L
171332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17136 declaration.
17137 (struct La_x32_retval): Likewise.
17138
2ff87f3f
L
171392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17140
17141 * sysdeps/x86_64/preconfigure.in: New file.
17142 * sysdeps/x86_64/preconfigure: New generated file.
17143
c0df8e69
JM
171442012-03-22 Joseph Myers <joseph@codesourcery.com>
17145
48e44791
JM
17146 [BZ #13824]
17147 * math/e_exp2l.c: Include <float.h>.
17148 (__ieee754_exp2l): Handle overflow and underflow cases
17149 separately. Only pass fractional part of argument to
17150 __ieee754_expl.
17151 * math/libm-test.inc (exp2_test): Add more tests.
17152
c0df8e69
JM
17153 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17154 negating x to take absolute value.
17155 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17156 Likewise.
17157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17159 Likewise.
17160 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17161 computing low part if x was negated.
17162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17163
c8e43ba7
L
171642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17165
17166 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17167 la_x32_gnu_pltexit.
17168 (pltexit): Cast int_retval to ptrdiff_t.
17169 * elf/tst-auditmod3b.c: Likewise.
17170 * elf/tst-auditmod4b.c: Likewise.
17171 * elf/tst-auditmod5b.c: Likewise.
17172 * elf/tst-auditmod6b.c: Likewise.
17173 * elf/tst-auditmod6c.c: Likewise.
17174 * elf/tst-auditmod7b.c: Likewise.
17175
17176 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17177 and x32_gnu_pltexit.
17178
17179 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17180 __ELF_NATIVE_CLASS.
17181 (La_x32_regs): New macro.
17182 (La_x32_retval): Likewise.
17183 (la_x32_gnu_pltenter): New function prototype.
17184 (la_x32_gnu_pltexit): Likewise.
17185
7998fa78
AS
171862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17187
dcb33988
AS
17188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17189 exponent.
17190
233fc563
AS
17191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17192
7998fa78
AS
17193 * configure.in (libc_cv_cc_nofma): Check for option to disable
17194 generation of FMA instructions.
17195 * configure: Regenerate.
17196 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17197 * sysdeps/ieee754/dbl-64/Makefile: New file.
17198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17199 Remove brandred-fma4.
17200 (CFLAGS-brandred-fma4.c): Remove.
17201 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17202 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17203 define.
17204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17205 define.
17206
8e95c99a
L
172072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17210 LLONG_MAX != LONG_MAX.
17211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17212 (_fitoa_word): Likewise.
17213 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17214 LLONG_MAX != LONG_MAX.
17215 * stdio-common/_itowa.h: Include <_itoa.h>.
17216 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17217 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17218 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17219 only if not defined.
17220 (_ITOA_WORD_TYPE): Likewise.
17221 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17222 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17223
6f4db457
DM
172242012-03-21 David S. Miller <davem@davemloft.net>
17225
17226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17227
7785fe5a
L
172282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17229
17230 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17231 of x86_64 when setting libc_cv_slibdir, libdir and
17232 libc_cv_localedir.
17233 * sysdeps/unix/sysv/linux/configure: Regenerated.
17234
4535cd55
JM
172352012-03-21 Joseph Myers <joseph@codesourcery.com>
17236
17237 * manual/lang.texi (Old Varargs): Remove section.
17238 (How Variadic): Update menu.
17239 (va_start): Do not mention varargs.h.
17240
17228132
TS
172412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17242 Joseph Myers <joseph@codesourcery.com>
17243
17244 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17245 link test.
17246 * configure: Regenerated.
17247
8149f976
TS
172482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17249
05f3d1f6
UD
17250 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17251 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17252 conformtest.pl
8149f976 17253
1a4ac776
JM
172542012-03-21 Joseph Myers <joseph@codesourcery.com>
17255
be22ce65
JM
17256 * NOTES: Remove.
17257 * Makefile (files-for-dist): Remove NOTES.
17258 (NOTES): Remove rule.
17259 * README: Don't refer to NOTES.
17260 * manual/creature.texi: Don't include macros.texi.
17261 * manual/intro.texi (creature.texi): Remove comment referring to
17262 NOTES.
17263
40b601fb
JM
17264 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17265 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17266 * configure: Regenerated.
17267 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17268 LIBC_TRY_CC_OPTION.
17269 (libc_cv_as_i686): Likewise.
17270 (libc_cv_cc_avx): Likewise.
17271 (libc_cv_cc_sse2avx): Likewise.
17272 (libc_cv_cc_fma4): Likewise.
17273 (libc_cv_cc_novzeroupper): Likewise.
17274 * sysdeps/i386/configure: Regenerated.
17275
1a4ac776
JM
17276 [BZ #13883]
17277 * sysdeps/i386/fpu/s_cexp.S: Remove.
17278 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17279 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17280 * math/libm-test.inc (cexp_test): Add more tests.
17281 * sysdeps/i386/fpu/libm-test-ulps: Update.
17282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17283
a458e7fe
AM
172842012-03-21 Allan McRae <allan@archlinux.org>
17285
17286 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17287
0cb7efc5
JM
172882012-03-21 Joseph Myers <joseph@codesourcery.com>
17289
17290 [BZ #13871]
17291 * math/w_exp2.c: Do not include <float.h>.
17292 (o_threshold, u_threshold): Remove.
17293 (__exp2): Calculate result before checking finiteness and calling
17294 __kernel_standard.
17295 * math/w_exp2f.c: Likewise.
17296 * math/w_exp2l.c: Likewise.
17297 * math/libm-test.inc (exp2_test): Require overflow exception for
17298 1e6 input.
2460d3aa
JM
17299
17300 [BZ #3866]
17301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17302 range of signed 64-bit integers before using fistpll. Remove
17303 checks for whether integers fit in mantissa bits.
17304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17305 the range of signed 32-bit integers before using fistpl. Remove
17306 checks for whether integers fit in mantissa bits.
17307 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17308 (__ieee754_powl): Test for y outside the range of signed 64-bit
17309 integers before using fistpll. Reduce 64-bit values to 63-bit
17310 ones as needed.
17311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17312 divide-by-zero is raised for zero to large negative powers.
17313 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17314 (__ieee754_powl): Test for y outside the range of signed 64-bit
17315 integers before using fistpll. Reduce 64-bit values to 63-bit
17316 ones as needed.
17317 * math/libm-test.inc (pow_test): Add more tests.
17318
eb96ffb0
L
173192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17320
17321 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17322 <stdio-common/_itoa.h>.
17323 * debug/segfault.c: Likewise.
17324 * elf/dl-cache.c: Likewise.
17325 * elf/dl-minimal.c: Likewise.
17326 * elf/dl-misc.c: Likewise.
17327 * elf/dl-sysdep.c: Likewise.
17328 * elf/dl-version.c: Likewise.
17329 * elf/rtld.c: Likewise.
17330 * hurd/hurdsock.c: Likewise.
17331 * hurd/lookup-retry.c: Likewise.
17332 * malloc/malloc.c: Likewise.
17333 * malloc/mtrace.c: Likewise.
17334 * nscd/nscd_getgr_r.c: Likewise.
17335 * nscd/nscd_getpw_r.c: Likewise.
17336 * nscd/nscd_getserv_r.c: Likewise.
17337 * posix/getopt_init.c: Likewise.
17338 * posix/wordexp.c: Likewise.
17339 * stdio-common/_itoa.c: Likewise.
17340 * stdio-common/printf_fphex.c: Likewise.
17341 * stdio-common/vfprintf.c: Likewise.
17342 * string/_strerror.c: Likewise.
17343 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17344 * sysdeps/i386/i686/hp-timing.h: Likewise.
17345 * sysdeps/mach/_strerror.c: Likewise.
17346 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17347 * sysdeps/mach/hurd/sethostid.c: Likewise.
17348 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17349 * sysdeps/mach/xpg-strerror.c: Likewise.
17350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17351 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17352 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17353 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17354 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17355 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17356 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17357 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17358 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17359 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17360 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17361 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17368 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17369 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17370 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17371
17372 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17373
17374 * stdio-common/_itoa.h: Moved to ...
17375 * sysdeps/generic/_itoa.h: Here.
17376
17377 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17378
17379 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17380 instead of "_itoa.h" and "_itowa.h".
17381 * stdio-common/vfprintf.: Likewise.
17382
d1af992d
L
173832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17384
17385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17386 <bits/wordsize.h>.
17387 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17388 (__signbit): Likwise.
17389 (llrintf): Likwise.
17390 (llrint): Likwise.
17391
114883e0
L
173922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17395 __WORDSIZE != 64.
17396
c135cc1b
JM
173972012-03-20 Joseph Myers <joseph@codesourcery.com>
17398
17399 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17400 OVERFLOW_EXCEPTION_OK.
17401 * math/libm-test.inc ("Philosophy"): Update comment about
17402 exception testing.
17403 (OVERFLOW_EXCEPTION): Define.
17404 (OVERFLOW_EXCEPTION_OK): Likewise.
17405 (INVALID_EXCEPTION_OK): Renumber.
17406 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17407 (IGNORE_ZERO_INF_SIGN): Likewise.
17408 (test_exceptions): Handle FE_OVERFLOW.
17409 (exp10_test): Expect overflow exceptions.
17410 (exp2_test): Likewise.
17411 (expm1_test): Likewise.
17412 (nextafter_test): Likewise.
17413 (pow_test): Likewise.
17414 (scalbn_test): Likewise.
17415 (scalbln_test): Likewise.
17416
95443d88
L
174172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 * sysdeps/x86_64/bits/atomic.h
17420 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17421 64bit integer.
17422 (atomic_exchange_acq): Likewise.
17423 (__arch_exchange_and_add_body): Likewise.
17424 (__arch_add_body): Likewise.
17425 (atomic_add_negative): Likewise.
17426 (atomic_add_zero): Likewise.
17427
490df6c4
L
174282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17429
c2722551 17430 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17431 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17432
5e52b189
L
174332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17434
17435 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17436 Check __x86_64__ instead of __WORDSIZE.
17437
a9879d4c
L
174382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17439
17440 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17441
5df98260
DM
174422012-03-19 David S. Miller <davem@davemloft.net>
17443
e1497744
DM
17444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17445
5df98260
DM
17446 * sysdeps/sparc/fpu/fenv_private.h: New file.
17447 * sysdeps/sparc/fpu/math_private.h: Use it.
17448 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17449 Remove.
17450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17451 (libc_feholdexcept_setroundl): Remove.
17452 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17453 Remove.
17454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17456
b4c35121
L
174572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17460 int64_t instead of long int.
17461 (INSERT_WORDS64): Likwise.
17462
56965fd7
L
174632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17466 _Unwind_GetCFA return to _Unwind_Ptr first.
17467
83d1aec8
JM
174682012-03-19 Joseph Myers <joseph@codesourcery.com>
17469
1897ad44
JM
17470 [BZ #13629]
17471 * math/s_clog.c: Include <float.h>.
17472 (__clog): Scale large or subnormal inputs.
17473 * math/s_clogf.c: Likewise.
17474 * math/s_clogl.c: Likewise.
17475 * math/s_clog10.c: Include <float.h>.
17476 (M_LOG10_2): Define.
17477 (__clog10): Scale large or subnormal inputs.
17478 * math/s_clog10f.c: Likewise.
17479 * math/s_clog10l.c: Likewise.
17480 * math/libm-test.inc (clog_test): Add more tests.
17481 (clog10_test): Likewise.
17482 * sysdeps/i386/fpu/libm-test-ulps: Update.
17483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17484
7726d6a9
JM
17485 [BZ #11451]
17486 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17487 x and y.
17488 * math/libm-test.inc (atan2_test): Add another test.
17489
83d1aec8
JM
17490 * Makerules (common-objdir-compile): Remove.
17491 * sysdeps/unix/Makefile (config-generated): Do not add
17492 $(unix-generated) to variable.
17493 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17494 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17495 Remove rule.
17496 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17497 Likewise.
17498 [generic bits/local_lim.h] (before-compile): Do not append to
17499 variable.
17500 [generic bits/local_lim.h] (common-generated): Likewise.
17501 [generic sys/param.h] (before-compile): Do not append to variable.
17502 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17503 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17505 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17506 include.
17507 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17508 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17509 [generic sys/param.h] ($(addprefix
17510 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17511 [generic sys/param.h] (common-generated): Do not append to
17512 variable.
17513 [generic sys/param.h] (sysdep_headers): Likewise.
17514 [generic bits/errno.h] (before-compile): Do not append to
17515 variable.
17516 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17517 rule.
17518 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17519 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17520 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17521 [generic bits/errno.h] (common-generated): Do not append to
17522 variable.
17523 [generic bits/ioctls.h] (before-compile): Do not append to
17524 variable.
17525 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17526 rule.
17527 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17528 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17529 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17530 rule.
17531 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17532 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17533 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17534 [generic bits/ioctls.h] (common-generated): Do not append to
17535 variable.
17536 [generic sys/syscall.h] (syscall.h): Remove variable.
17537 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17538 rule.
17539 [generic sys/syscall.h] (before-compile): Do not append to
17540 variable.
17541 [generic sys/syscall.h] (common-generated): Likewise.
17542 * sysdeps/unix/errnos-tmpl.c: Remove file.
17543 * sysdeps/unix/errnos.awk: Likewise.
17544 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17545 * sysdeps/unix/ioctls.awk: Likewise.
17546 * sysdeps/unix/mk-local_lim.c: Likewise.
17547 * sysdeps/unix/snarf-ioctls: Likewise.
17548
4851a949
RH
175492012-03-19 Richard Henderson <rth@twiddle.net>
17550
bd37f2ee
RH
17551 * sysdeps/i386/fpu/fenv_private.h: New file.
17552 * sysdeps/i386/fpu/math_private.h: Use it.
17553 (math_opt_barrier, math_force_eval): Remove.
17554 (libc_feholdexcept_setround_53bit): Remove.
17555 (libc_feupdateenv_53bit): Remove.
17556 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17557 (math_opt_barrier, math_force_eval): Remove.
17558 (libc_feholdexcept): Remove.
17559 (libc_feholdexcept_setround): Remove.
17560 (libc_fetestexcept, libc_fesetenv): Remove.
17561 (libc_feupdateenv_test): Remove.
17562 (libc_feupdateenv, libc_feholdsetround): Remove.
17563 (libc_feresetround): Remove.
17564
d0adc922
RH
17565 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17566 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17567
0fe0f1f8
RH
17568 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17569 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17570 (libc_feupdateenv_testl): New.
17571 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17572 (libc_feupdateenv_testf): New.
17573 (libc_feupdateenv): Use libc_feupdateenv_test.
17574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17575 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17576
eb92c487
RH
17577 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17578 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17579 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17580 (libc_feresetround_noex): New.
17581 (libc_feresetround_noexf): New.
17582 (libc_feresetround_noexl): New.
17583 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17584 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17585 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17586 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17587 SET_RESTORE_ROUND.
17588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17590 (__cos): Likewise.
17591 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17593 SET_RESTORE_ROUND_NOEX.
17594 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17595 SET_RESTORE_ROUND_NOEXF.
17596 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17597 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17598 (libc_feholdsetroundf): New.
17599 (libc_feresetround, libc_feresetroundf): New.
17600
7d2e8012
RH
17601 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17602 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17603 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17604
b4dabbb4
RH
17605 * sysdeps/generic/math_private.h: Include <fenv.h>.
17606 (default_libc_feholdexcept): New.
17607 (default_libc_feholdexcept_setround): New.
17608 (default_libc_fesetenv, default_libc_feupdateenv): New.
17609 (libc_feholdexcept): Only define if undefined.
17610 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17612 (libc_feholdexcept_setroundl): Likewise.
17613 (libc_feholdexcept_setround_53bit): Likewise.
17614 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17617 (libc_feupdateenv_53bit): Likewise.
17618 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17619 (libc_feholdexcept): Convert from macro to inline function.
17620 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17621 (libc_fesetenv, libc_feupdateenv): Likewise.
17622
4851a949
RH
17623 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17624 not previously defined.
17625 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17626 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17627 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17628 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17629 * sysdeps/ieee754/flt-32/math_private.h: New file.
17630 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17631 math_private.h below SET_FLOAT_WORD.
17632 (__isnan, __isinf_ns, __finite): Remove.
17633 (__isnanf, __isinf_nsf, __finitef): Remove.
17634
e79d442e
AS
176352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17636
17637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17638
90b80344
DM
176392012-03-17 David S. Miller <davem@davemloft.net>
17640
17641 [BZ #6471]
17642 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17643 for 2.16.
17644
edc21804
DM
176452012-03-16 David S. Miller <davem@davemloft.net>
17646
77e927af
DM
17647 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17648 warnings.
17649
374976dd
DM
17650 [BZ #6471]
17651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17652 properly.
17653 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17654 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17655 sysdep_routines when subdir is sysvipc.
17656 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17657 __getshmlba helper.
17658
edc21804
DM
17659 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17660
473c3ef3
L
176612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17662
17663 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17664 [__LP64__].
17665
eb0f39b6
L
176662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17669 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17670 (__lround): Renamed to ...
17671 (__llround): This. Replace long int with long long int.
17672 Define lround functions as aliases of llround functions.
17673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17674
6b6cd74b
L
176752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17676
17677 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17678 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17679 adresses to uintptr_t. Replace "long int" and "unsigned long
17680 int" with "greg_t" on va_arg.
17681
f1a77b01
L
176822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17683
17684 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17685 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17686
17687 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17688 Move e_machine check before EI_CLASS check. Handle x32
17689 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17690 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17691 SKIP_EM_IA_64 and include
17692 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17693
17694 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17695 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17696 (add_system_dir): New macro.
17697
17698 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17699 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17700
11b90b9f
JM
177012012-03-16 Joseph Myers <joseph@codesourcery.com>
17702
c36e1d23
JM
17703 [BZ #2551]
17704 [BZ #2552]
17705 [BZ #2553]
17706 [BZ #2554]
17707 [BZ #2562]
17708 [BZ #2563]
17709 [BZ #2565]
17710 [BZ #2566]
17711 [BZ #2576]
17712 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17713 (y0): Likewise.
17714 * math/w_j0f.c (j0f): Likewise.
17715 (y0f): Likewise.
17716 * math/w_j0l.c (__j0l): Likewise.
17717 (__y0l): Likewise.
17718 * math/w_j1.c (j1): Likewise.
17719 (y1): Likewise.
17720 * math/w_j1f.c (j1f): Likewise.
17721 (y1f): Likewise.
17722 * math/w_j1l.c (__j1l): Likewise.
17723 (__y1l): Likewise.
17724 * math/w_jn.c (jn): Likewise.
17725 (yn): Likewise.
17726 * math/w_jnf.c (jnf): Likewise.
17727 (ynf): Likewise.
17728 * math/w_jnl.c (__jnl): Likewise.
17729 (__ynl): Likewise.
17730 * math/libm-test.inc (j0_test): Add more tests.
17731 (j1_test): Likewise.
17732 (jn_test): Likewise. Add trailing semicolon to existing test.
17733 (y0_test): Likewise.
17734 (y1_test): Likewise.
17735 * sysdeps/i386/fpu/libm-test-ulps: Update.
17736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17737
11b90b9f
JM
17738 [BZ #13851]
17739 [BZ #13854]
17740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17741 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17742 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17743 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17744 (__tanl): Set errno for infinite argument.
17745 * sysdeps/i386/fpu/mptan.c: Remove.
17746 * sysdeps/i386/fpu/s_tan.S: Likewise.
17747 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17748 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17749 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17750 * math/libm-test.inc (tan_test): Add more tests and enable more
17751 tests for double and long double.
17752 * sysdeps/i386/fpu/libm-test-ulps: Update.
17753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754
6a1bd2a1
JK
177552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17756
17757 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17758 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17759
10a803e0
RM
177602012-03-16 Roland McGrath <roland@hack.frob.com>
17761
17762 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17763 * configure.in: Use it for both main tree and add-ons.
17764 * configure: Regenerated.
17765
f196c7f7
L
177662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17767
17768 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17769
8848d99d
JM
177702012-03-16 Joseph Myers <joseph@codesourcery.com>
17771
96cbe7f4
JM
17772 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17773 in comment.
17774
8848d99d
JM
17775 [BZ #13851]
17776 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17777 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17781 infinite argument.
17782 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17784 != 0 for prec == 2.
17785 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17786 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17787 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17788 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17789 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17790 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17791 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17792 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17793 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17794 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17795 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17796 * math/libm-test.inc (cos_test): Add more tests and enable more
17797 tests for long double.
17798 (sin_test): Likewise.
17799 (sincos_test): Likewise.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802
dd7f4703
DM
178032012-03-16 David S. Miller <davem@davemloft.net>
17804
17805 * sysdeps/sparc/fpu/math_private.h: New file.
17806
006f1daa
DM
178072012-03-15 David S. Miller <davem@davemloft.net>
17808
c0c83bc8
DM
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17810 file.
e6a62e18 17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17813 file.
e6a62e18
DM
17814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17820 sysdep routines.
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17822
88cb87d9
DM
17823 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17824 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17825
006f1daa 17826 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17828 sparc-ifunc.h
006f1daa 17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17831 Likewise.
17832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17833 Likewise.
006f1daa
DM
17834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17838 Likewise.
006f1daa
DM
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17844 Likewise.
17845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17846 Likewise.
006f1daa
DM
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17871
11e0098e
AS
178722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17873
17874 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17875 scaling.
17876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17877
e85b09d0
AJ
178782012-03-15 Andreas Jaeger <aj@suse.de>
17879
17880 [BZ #13852]
17881 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17882 ieee754/flt-32 implementation for sin, cos and sincos.
17883 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17884 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17885 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17886 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17887 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17888 ieee754/flt-32 implementation for tan.
17889
17890 * math/libm-test.inc (cos_test): Enable some large input tests for
17891 float as well
17892 (sin_test): Likewise.
17893 (sincos_test): Likewise.
17894 (tan_test): Add tests for large input.
17895
17896 * sysdeps/i386/fpu/libm-test-ulps: Update.
17897
81c64153
AJ
178982012-03-15 Andreas Jaeger <aj@suse.de>
17899
17900 [BZ #13658]
17901 * math/libm-test.inc (cos_test): Add more test cases.
17902 (sin_test): Likewise.
17903 (sincos_test): Likewise.
17904
7bbfa5c6
AJ
179052012-03-15 Andreas Jaeger <aj@suse.de>
17906
17907 [BZ #13837]
17908 * math/libm-test.inc (cos_test): Add a test case for large input
17909 value.
17910 (sin_test): Likewise.
17911 (sincos_test): Likewise.
17912
179132012-03-15 Andreas Jaeger <aj@suse.de>,
17914 Joseph Myers <joseph@codesourcery.com>
17915
17916 [BZ #13658]
0671f479 17917 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17918 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17919 * sysdeps/i386/fpu/branred.c: Likewise.
17920 * sysdeps/i386/fpu/dosincos.c: Likewise.
17921 * sysdeps/i386/fpu/mpa.c: Likewise.
17922 * sysdeps/i386/fpu/s_cos.S: Likewise.
17923 * sysdeps/i386/fpu/s_sin.S: Likewise.
17924 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17925 * sysdeps/i386/fpu/sincos32.c: Likewise.
17926
17927 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17928 Define.
17929 (libc_feupdateenv_53bit): Define.
17930 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17931 Define.
17932 (libc_feupdateenv_53bit): Define.
17933
17934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17935 53 bit (without extend i386 double precision).
17936
17937 * math/libm-test.inc (sincos_test): Add tests for large input.
17938 (sin): Likewise.
17939 (cos): Likewise.
17940
17941 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17942
9cad04ea
AS
179432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17944
17945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17946
f7062b9a
DM
179472012-03-15 David S. Miller <davem@davemloft.net>
17948
17949 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17950 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17951 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17952 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17965 file.
f7062b9a 17966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17968 file.
f7062b9a 17969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17971 file.
f7062b9a 17972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17974 file.
f7062b9a
DM
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17977 fmin/fmax sysdep routines.
17978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17979
7bd951ff
DM
179802012-03-14 David S. Miller <davem@davemloft.net>
17981
559398ab
DM
17982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18011 routines.
18012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18013 file.
559398ab 18014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18016 file.
559398ab 18017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18019 file.
559398ab 18020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18022 file.
559398ab 18023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18025 file.
559398ab 18026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18028 file.
18029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18030 file.
18031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18032 file.
18033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18034 file.
18035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18036 New file.
18037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18038 file.
18039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18040 file.
559398ab 18041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18043 file.
559398ab 18044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18046 file.
559398ab 18047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18049 file.
559398ab 18050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18052 VIS3 routines.
559398ab
DM
18053
18054 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18055 New file.
18056
5a1c1e32
DM
18057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18058
eae47a36
DM
18059 * sysdeps/sparc/configure.in: New file.
18060 * sysdeps/sparc/configure: Generate.
18061 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18062 * configure: Regenerate.
18063 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18064 * config.make.in (have-as-vis3): New.
18065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18066 available use -Av9d instead of -Av9a.
18067 * sysdeps/sparc/sparc64/Makefile: Likewise.
18068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18070 New file.
18071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18072 file.
18073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18074 New file.
18075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18076 file.
eae47a36
DM
18077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18082
c0c83bc8
DM
18083 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18084 fzeros/fnegs to load 0x80000000 into a float register instead of
18085 using the stack.
7bd951ff
DM
18086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18087
bd951ccb
JM
180882012-03-14 Joseph Myers <joseph@codesourcery.com>
18089
18090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18091 bits/syscall.h.
18092 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18093 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18094 ($(inst_includedir)/bits/syscall.h): Remove rule.
18095 ($(objpfx)bits/syscall.d): Include instead of
18096 $(objpfx)syscall-list.d.
18097 (generated): Change syscall-list.h and syscall-list.d to
18098 bits/syscall.h and bits/syscall.d.
18099
bb4e6db2
RM
181002012-03-14 Roland McGrath <roland@hack.frob.com>
18101
18102 [BZ #13846]
18103 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18104
aa4a2ae1
JM
181052012-03-14 Joseph Myers <joseph@codesourcery.com>
18106
e456826d
JM
18107 [BZ #13841]
18108 * math/s_csqrt.c: Include <float.h>.
18109 (__csqrt): Scale large or subnormal inputs.
18110 * math/s_csqrtf.c: Likewise.
18111 * math/s_csqrtl.c: Likewise.
18112 * math/libm-test.inc (csqrt_test): Add more tests.
18113 * sysdeps/i386/fpu/libm-test-ulps: Update.
18114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115
aa4a2ae1
JM
18116 [BZ #13840]
18117 * math/libm-test.inc (hypot_test): Add more tests.
18118
7c10fd35
DM
181192012-03-13 David S. Miller <davem@davemloft.net>
18120
18121 [BZ #13840]
18122 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18123 double-precision for the calculation instead of scaling.
18124
f453b98b
JM
181252012-03-13 Joseph Myers <joseph@codesourcery.com>
18126
18127 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18128 manipulate bits before adding and subtracting TWO52[sx].
18129 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18131 Likewise.
18132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18133
09a3453f
DM
181342012-03-13 David S. Miller <davem@davemloft.net>
18135
8e59da90
DM
18136 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18137 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18139 rtld-global-offsets.h
18140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18141
2a8ab7f2
DM
18142 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18143 large parameters.
18144
10f62770
DM
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18146
5f0bdb18
DM
18147 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18148 'err' in the ifdef scope in which it is actually used.
18149
09a3453f
DM
18150 * nss/nss_db/db-init.c: Include string.h
18151
b4b2eb5e
DM
181522012-03-12 David S. Miller <davem@davemloft.net>
18153
98bb2f1c
DM
18154 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18155 masking out of the most significant byte of random value used.
18156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18157 Fix coding style in previous change.
18158
b4b2eb5e
DM
18159 * sysdeps/unix/sysv/linux/kernel-features.h
18160 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18161 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18162 expression.
18163 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18164 later.
18165
6e226b09
DM
181662012-03-11 David S. Miller <davem@davemloft.net>
18167
a1bcbd40
DM
18168 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18169 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18170 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18171 for 'resultvar' otherwise things get truncated on 64-bit.
18172
cb9d6174
DM
18173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18174 Fix masking out of the most significant byte of random value used.
18175
6e226b09
DM
18176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18177
058c132d
AS
181782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18179
18180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18181
2d2cd515
DM
181822012-03-09 David S. Miller <davem@davemloft.net>
18183
18184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18185 variables with appropriate CPP guards.
18186 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18187 frame pointer, not the stack pointer. Correct layout comments. Fix test
18188 on resulting framesize and the management of the outregs buffer for pltexit.
18189 Preserve floating point return values across _dl_call_pltexit call.
18190 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18191 framesize and the management of the outregs buffer for pltexit.
18192 Preserve floating point return values across _dl_call_pltexit
18193 call.
18194 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18195 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18196 (print_exit): Fix format string for return register value.
18197
9a07f9d0
JM
181982012-03-10 Joseph Myers <joseph@codesourcery.com>
18199
18200 * sunrpc/Makefile (others): Add rpcgen.
18201 ($(objpfx)rpcgen): Remove special build rule and dependency on
18202 libc.
18203 * sunrpc/rpcgen.c: New file.
18204
547b5e30
PE
182052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18206
c524201a
PE
18207 [BZ #13673]
18208 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18209 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18210 * sysdeps/i386/crti.S: Likewise.
18211 * sysdeps/i386/crtn.S: Likewise.
18212 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18213 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18214 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18215 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18216 * sysdeps/sh/crti.S: Likewise.
18217 * sysdeps/sh/crtn.S: Likewise.
18218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18219
7b6235f2
PE
18220 [BZ #13673]
18221 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18222 with URL.
18223 * locale/programs/locfile-kw.gperf: Likewise.
18224 * locale/programs/charmap-kw.h: Regenerated.
18225 * locale/programs/locfile-kw.h: Likewise.
18226
547b5e30
PE
18227 [BZ #13673]
18228 * intl/plural.y: Replace FSF snail mail address with URL.
18229 * intl/plural.c: Regenerated.
18230
5f0a5dae
RH
182312012-03-09 Richard Henderson <rth@twiddle.net>
18232
18233 * include/math_private.h: Remove file.
18234 * math/math_private.h: Move file ...
18235 * sysdeps/generic/math_private.h: ... here.
18236
b8c03620
RH
18237 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18238 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18239 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18240
4e234f5d 18241 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18242 and <math_private.h>.
18243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18286 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18288 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18340 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18343 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18344 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18345 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18346 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18356 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18360 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18363 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18364 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18366 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18370 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18371 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18372 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18373 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18376 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18377 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18381 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18386 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18387 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18391 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18392 * sysdeps/ieee754/k_standard.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18431 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18432 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18433 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18444 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18446 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18451 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18500 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18547 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18553 * sysdeps/ieee754/s_lib_version.c: Likewise.
18554 * sysdeps/ieee754/s_matherr.c: Likewise.
18555 * sysdeps/ieee754/s_signgam.c: Likewise.
18556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18559 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18561 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18562 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18563 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18564 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18565 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18567 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18568 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18569 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18570 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18577
1991fa03
JM
185782012-03-09 Joseph Myers <joseph@codesourcery.com>
18579
18580 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18581 * sunrpc/rpc_main.c: Likewise.
18582 * sunrpc/rpc_svcout.c: Likewise.
18583
60d6f5a6
DM
185842012-03-09 David S. Miller <davem@davemloft.net>
18585
18586 * include/math_private.h: New file.
18587
4962050e
JM
185882012-03-09 Joseph Myers <joseph@codesourcery.com>
18589
02a6f887
JM
18590 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18591 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18592 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18593 from <bits/socket_type.h>.
18594 (enum __socket_type): Don't define here.
18595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18597 bits/socket_type.h.
18598
c6e013c1
JM
18599 [BZ #13566]
18600 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18601 checking __USE_GNU.
18602
4962050e
JM
18603 * Makerules ($(inst_includedir)/%.h): New rule.
18604 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18605 (install-others): Remove variable setting.
18606 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18607
38842f45
RH
186082012-03-08 Richard Henderson <rth@twiddle.net>
18609
67bb6da6
RH
18610 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18611 from macro to inline function; merge with the
18612 !__LIBC_INTERNAL_MATH_INLINES version.
18613 (__ieee754_sqrtf): Likewise.
18614
15194b4b
RH
18615 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18616 to inline function.
18617 (__rintf, __floor, __floorf): Likewise.
18618
64e21ede
RH
18619 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18620 macro to inline function.
18621 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18622
38842f45
RH
18623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18624 not <math/math_private.h>.
18625
c64bf5fe
DM
186262012-03-08 David S. Miller <davem@davemloft.net>
18627
18628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18629 copyright year.
18630 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18631
82d86f28
TS
186322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18633
18634 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18635 normalization.
18636 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18637 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18638
aea5d727
UD
186392012-03-08 Ulrich Drepper <drepper@gmail.com>
18640
18641 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18642 be defined individually, they must be defined as a block. Define
18643 S for printing a string instead of hidint the different by using a
18644 macro for adding the 'l'.
18645 * stdio-common/tst-fphex-wide.c: Adjust.
18646
70bca0a3
MP
186472012-03-07 Marek Polacek <polacek@redhat.com>
18648
18649 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18650
65b81130
MP
186512012-03-08 Marek Polacek <polacek@redhat.com>
18652
18653 [BZ #13806]
18654 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18655 * stdio-common/tst-fphex.c: Define a few macros to make the
18656 test reusable. Use them.
18657 * stdio-common/tst-fphex-wide.c: New file.
18658
07037eeb
JM
186592012-03-08 Joseph Myers <joseph@codesourcery.com>
18660
a7a93d50
JM
18661 [BZ #6911]
18662 * manual/macros.texi (gnusystems): New macro.
18663 (nongnusystems): Likewise.
18664 (gnulinuxhurdsystems): Likewise.
18665 (gnuhurdsystems): Likewise..
18666 (gnulinuxsystems): Likewise.
18667 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18668 variants of the GNU system, not "GNU system".
18669 * manual/conf.texi: Likewise.
18670 * manual/errno.texi: Likewise. Update example of errno macro
18671 expansion.
18672 * manual/filesys.texi: Likewise.
18673 (getumask): Document as specific to GNU/Hurd.
18674 * manual/install.texi: Likewise. Reword some references to
18675 GNU/Linux.
18676 * manual/intro.texi: Likewise.
18677 * manual/io.texi: Likewise.
18678 (File Name Portability): Detail which constraints are inapplicable
18679 to all GNU systems and which are only inapplicable to GNU/Hurd.
18680 * manual/job.texi: Likewise.
18681 * manual/llio.texi: Likewise.
18682 (O_NOCTTY): Document as present on GNU/Linux.
18683 * manual/maint.texi: Likewise.
18684 * manual/memory.texi: Likewise.
18685 * manual/pattern.texi: Likewise.
18686 * manual/pipe.texi: Likewise.
18687 * manual/process.texi: Likewise.
18688 * manual/resource.texi: Likewise.
18689 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18690 child on GNU/Hurd.
18691 * manual/setjmp.texi: Likewise.
18692 * manual/signal.texi: Likewise.
18693 * manual/startup.texi: Likewise.
18694 * manual/stdio.texi: Likewise.
18695 * manual/terminal.texi: Likewise.
18696 (ONLCR): Document as POSIX.
18697 (OXTABS): Document availability on GNU/Linux as XTABS.
18698 (ONOEOT): Document availability separately from other bits.
18699 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18700 * manual/time.texi: Likewise.
18701 * manual/users.texi: Likewise.
18702 * INSTALL: Regenerated.
18703 * sysdeps/gnu/errlist.c: Regenerated.
18704
07037eeb
JM
18705 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18706 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18707 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18708 puts.
18709 * configure: Regenerated.
18710
d1d3431a
JM
187112012-03-07 Joseph Myers <joseph@codesourcery.com>
18712
af6a1e37
JM
18713 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18714 default includes instead of AC_HEADER_CHECK.
18715 * sysdeps/i386/configure: Regenerated.
18716
d1d3431a
JM
18717 [BZ #10716]
18718 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18719 * math/s_cacoshf.c (__cacoshf): Likewise.
18720 * math/s_cacoshl.c (__cacoshl): Likewise.
18721 * math/s_casinh.c (__casinh): Set signs of result from argument.
18722 * math/s_casinhf.c (__casinhf): Likewise.
18723 * math/s_casinhl.c (__casinhl): Likewise.
18724 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18725 (casinh_test): Add more tests.
18726 * sysdeps/i386/fpu/libm-test-ulps: Update.
18727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728
482ff4da
UD
187292012-03-07 Ulrich Drepper <drepper@gmail.com>
18730
872fda05
UD
18731 * po/zh_TW.po: Update from translation team.
18732
a4300c7a
UD
18733 * login/Makefile (distribute): Remove variable.
18734 * catgets/Makefile: Likewise.
18735 * mach/Makefile: Likewise.
18736 * malloc/Makefile: Likewise.
18737 * misc/Makefile: Likewise.
18738 * iconv/Makefile: Likewise.
18739 * nscd/Makefile: Likewise.
18740 * hurd/Makefile: Likewise.
18741 * manual/Makefile: Likewise.
18742 * locale/Makefile: Likewise.
18743 * intl/Makefile: Likewise.
18744 * conform/Makefile: Likewise.
18745 * nss/Makefile: Likewise.
18746 * time/Makefile: Likewise.
18747 * soft-fp/Makefile: Likewise.
18748 * dirent/Makefile: Likewise.
18749 * gmon/Makefile: Likewise.
18750 * po/Makefile: Likewise.
18751 * rt/Makefile: Likewise.
18752 * socket/Makefile: Likewise.
18753 * math/Makefile: Likewise.
18754 * signal/Makefile: Likewise.
18755 * debug/Makefile: Likewise.
18756 * elf/Makefile: Likewise.
18757 * timezone/Makefile: Likewise.
18758 * stdlib/Makefile: Likewise.
18759 * iconvdata/Makefile: Likewise.
18760 * sunrpc/Makefile: Likewise.
18761 * io/Makefile: Likewise.
18762 * argp/Makefile: Likewise.
18763 * inet/Makefile: Likewise.
18764 * hesiod/Makefile: Likewise.
18765 * grp/Makefile: Likewise.
18766 * csu/Makefile: Likewise.
18767 * wctype/Makefile: Likewise.
18768 * crypt/Makefile: Likewise.
18769 * libio/Makefile: Likewise.
18770 * string/Makefile: Likewise.
18771 * nis/Makefile: Likewise.
18772 * resolv/Makefile: Likewise.
18773 * stdio-common/Makefile: Likewise.
18774 * wcsmbs/Makefile: Likewise.
18775 * dlfcn/Makefile: Likewise.
18776 * posix/Makefile: Likewise.
18777
3b7c4e74 18778 [BZ #6959]
482ff4da
UD
18779 * timezone/Makefile: Don't install timezone files, just the programs
18780 and scripts.
18781
f72ed77d
UD
187822012-03-06 Ulrich Drepper <drepper@gmail.com>
18783
a000466f
UD
18784 * nss/databases.def: Add missing gshadow entry.
18785
f72ed77d
UD
18786 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18787
a53b7a4e
MP
187882012-03-06 Marek Polacek <polacek@redhat.com>
18789
18790 [BZ #13726]
18791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18793 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18794 * stdio-common/tst-long-dbl-fphex.c: New file.
18795
e9258400
DM
187962012-03-06 David S. Miller <davem@davemloft.net>
18797
18798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18799 (set_obp_int): New function.
18800 (get_obp_int): New function.
18801 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18803 Avoid unused variable warnings on 'val' and use builtin_expect.
18804 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18805 __builtin_expect.
e9258400
DM
18806 (INLINE_CLONE_SYSCALL): Likewise.
18807
3bd2c723
DM
188082012-03-05 David S. Miller <davem@davemloft.net>
18809
18810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18811
bbb78d03
AS
188122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18813
884c5db4
AS
18814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18815
bbb78d03
AS
18816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18817 only for |x| >= 40.
18818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18819
1c9f702a 188202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18821
18822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18823 Replace gettimeofday with __vdso_gettimeofday.
18824
7be16f82
RM
18825 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18826 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18827 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18828
18829 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18830 time with __vdso_time.
18831
ed58a00f
JM
188322012-03-05 Joseph Myers <joseph@codesourcery.com>
18833
18834 * manual/lang.texi (size_t): Note types to which size_t may be
18835 equivalent with the GNU C Library, but do not describe when
18836 differences between them are significant.
18837
30ee4ced
AJ
188382012-03-05 Andreas Jaeger <aj@suse.de>
18839
18840 * sysdeps/i386/fpu/libm-test-ulps: Update.
18841
b7cd39e8
JM
188422012-03-05 Joseph Myers <joseph@codesourcery.com>
18843
18844 [BZ #3976]
18845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18846 (__ieee754_pow): Save and restore rounding mode and use
18847 round-to-nearest for main computations.
18848 * math/libm-test.inc (pow_test_tonearest): New function.
18849 (pow_test_towardzero): Likewise.
18850 (pow_test_downward): Likewise.
18851 (pow_test_upward): Likewise.
18852 (main): Call the new functions.
18853 * sysdeps/i386/fpu/libm-test-ulps: Update.
18854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18855
18856 [BZ #3976]
18857 * math/libm-test.inc (cosh_test_tonearest): New function.
18858 (cosh_test_towardzero): Likewise.
18859 (cosh_test_downward): Likewise.
18860 (cosh_test_upward): Likewise.
18861 (sinh_test_tonearest): Likewise.
18862 (sinh_test_towardzero): Likewise.
18863 (sinh_test_downward): Likewise.
18864 (sinh_test_upward): Likewise.
18865 (main): Call the new functions.
18866 * sysdeps/i386/fpu/libm-test-ulps: Update.
18867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18868
6c6a98c9
TV
188692012-03-05 Tom de Vries <tom@codesourcery.com>
18870
18871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18872 default stack guard is set in last bytes.
18873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18874
21bb2d2e 188752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18876
21bb2d2e 18877 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18878
21bb2d2e
AJ
18879 [BZ #13656]
18880 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18881 possibly allocate from heap instead of stack.
18882 * stdio-common/bug-vfprintf-nargs.c: New file.
18883 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18884
c6922934
AS
188852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18886
18887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18888
bc957d53
MP
188892012-03-03 Marek Polacek <polacek@redhat.com>
18890
18891 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18892 * math/math_private.h: Likewise.
18893 * stdlib/tst-strtod.c: Likewise.
18894 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18895 * sysdeps/x86_64/bits/atomic.h: Likewise.
18896
6358490d
DM
188972012-03-02 David S. Miller <davem@davemloft.net>
18898
18899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18907
01ae168d
RM
189082012-03-02 Roland McGrath <roland@hack.frob.com>
18909
d9a17c07
RM
18910 [BZ #13792]
18911 * manual/examples/README: New file, says the example source files
18912 can be used under GPL>=2.
18913 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18914 line containing just "*/".
18915 * manual/examples/add.c: Add copyright header (GPL>=2).
18916 * manual/examples/argp-ex1.c: Likewise.
18917 * manual/examples/argp-ex2.c: Likewise.
18918 * manual/examples/argp-ex3.c: Likewise.
18919 * manual/examples/argp-ex4.c: Likewise.
18920 * manual/examples/atexit.c: Likewise.
18921 * manual/examples/db.c: Likewise.
18922 * manual/examples/dir.c: Likewise.
18923 * manual/examples/dir2.c: Likewise.
18924 * manual/examples/execinfo.c: Likewise.
18925 * manual/examples/filecli.c: Likewise.
18926 * manual/examples/filesrv.c: Likewise.
18927 * manual/examples/fmtmsgexpl.c: Likewise.
18928 * manual/examples/genpass.c: Likewise.
18929 * manual/examples/inetcli.c: Likewise.
18930 * manual/examples/inetsrv.c: Likewise.
18931 * manual/examples/isockad.c: Likewise.
18932 * manual/examples/longopt.c: Likewise.
18933 * manual/examples/memopen.c: Likewise.
18934 * manual/examples/memstrm.c: Likewise.
18935 * manual/examples/mkfsock.c: Likewise.
18936 * manual/examples/mkisock.c: Likewise.
18937 * manual/examples/mygetpass.c: Likewise.
18938 * manual/examples/pipe.c: Likewise.
18939 * manual/examples/popen.c: Likewise.
18940 * manual/examples/rprintf.c: Likewise.
18941 * manual/examples/search.c: Likewise.
18942 * manual/examples/select.c: Likewise.
18943 * manual/examples/setjmp.c: Likewise.
18944 * manual/examples/sigh1.c: Likewise.
18945 * manual/examples/sigusr.c: Likewise.
18946 * manual/examples/stpcpy.c: Likewise.
18947 * manual/examples/strdupa.c: Likewise.
18948 * manual/examples/strftim.c: Likewise.
18949 * manual/examples/strncat.c: Likewise.
18950 * manual/examples/subopt.c: Likewise.
18951 * manual/examples/swapcontext.c: Likewise.
18952 * manual/examples/termios.c: Likewise.
18953 * manual/examples/testopt.c: Likewise.
18954 * manual/examples/testpass.c: Likewise.
18955 * manual/examples/timeval_subtract.c: Likewise.
18956
01ae168d
RM
18957 [BZ #13792]
18958 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18959 function to ...
18960 * manual/timeval_subtract.c.texi: ... here, new file.
18961
49efa33d
DM
189622012-03-02 David S. Miller <davem@davemloft.net>
18963
18964 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18965
28afd92d
JM
189662012-03-02 Joseph Myers <joseph@codesourcery.com>
18967
804360ed
JM
18968 [BZ #3976]
18969 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18970 (__sin): Save and restore rounding mode and use round-to-nearest
18971 for all computations.
18972 (__cos): Save and restore rounding mode and use round-to-nearest
18973 for all computations.
18974 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18975 <fenv.h>.
18976 (tan): Save and restore rounding mode and use round-to-nearest for
18977 all computations.
18978 * math/libm-test.inc (cos_test_tonearest): New function.
18979 (cos_test_towardzero): Likewise.
18980 (cos_test_downward): Likewise.
18981 (cos_test_upward): Likewise.
18982 (sin_test_tonearest): Likewise.
18983 (sin_test_towardzero): Likewise.
18984 (sin_test_downward): Likewise.
18985 (sin_test_upward): Likewise.
18986 (tan_test_tonearest): Likewise.
18987 (tan_test_towardzero): Likewise.
18988 (tan_test_downward): Likewise.
18989 (tan_test_upward): Likewise.
18990 (main): Call the new functions.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993
a6d06d7b
JM
18994 [BZ #10135]
18995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18996 small n, then large n, before computing and testing k+n.
18997 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18999 Likewise.
19000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19001 Likewise.
19002 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19003 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19010 * math/libm-test.inc (scalbn_test): Add more tests.
19011 (scalbln_test): Likewise.
19012
07e12bb3
JM
19013 * manual/filesys.texi (mode_t): Describe constraints on size and
19014 signedness, not exact equivalence to a particular type.
19015 (ino_t): Likewise.
19016 (ino64_t): Likewise.
19017 (dev_t): Likewise.
19018 (nlink_t): Likewise.
19019 (blkcnt_t): Likewise.
19020 (blkcnt64_t): Likewise.
19021 * manual/llio.texi (off_t): Likewise.
19022
28afd92d
JM
19023 [BZ #3976]
19024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19025 (__ieee754_exp): Save and restore rounding mode and use
19026 round-to-nearest for all computations.
19027 * math/libm-test.inc (exp_test_tonearest): New function.
19028 (exp_test_towardzero): Likewise.
19029 (exp_test_downward): Likewise.
19030 (exp_test_upward): Likewise.
19031 (main): Call the new functions.
19032 * sysdeps/i386/fpu/libm-test-ulps: Update.
19033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19034
b1eeb65d
CD
190352012-03-01 Chris Demetriou <cgd@google.com>
19036
19037 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19038 have predictable order.
19039
53362a4b
DM
190402012-03-01 David S. Miller <davem@davemloft.net>
19041
3c969083
DM
19042 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19043
759707de
DM
19044 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19045 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19046 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19047 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19048
dfdb8ff2
DM
19049 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19050 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19053 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19054 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19055 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19058
ead89f96
DM
19059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19060
7f66bd07
DM
19061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19062 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19064
53362a4b
DM
19065 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19066 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19068 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19069 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19072 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19073 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19074 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19075 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19081 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19082 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19083 * sysdeps/sparc/elf/configure: Regenerated.
19084
7b1902cb
JM
190852012-03-01 Joseph Myers <joseph@codesourcery.com>
19086
bec039bc
JM
19087 * configure.in (AS, LD): Require binutils 2.20 or later.
19088 * configure: Regenerated.
19089 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19090 as required minimum version.
19091 * INSTALL: Regenerated.
19092
7b1902cb
JM
19093 [BZ #2541]
19094 [BZ #4108]
19095 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19096 before squaring exponent.
19097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19098 bottom long double and 27 bits of top long double before squaring
19099 exponent.
19100 * math/libm-test.inc (erfc_test): Add more tests.
19101 * sysdeps/i386/fpu/libm-test-ulps: Update.
19102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19104
f775c276
KT
191052012-03-01 Kai Tietz <ktietz@redhat.com>
19106
19107 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19108 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19109 containing bit-fields.
19110 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19111 * soft-fp/single.h (_FP_UNION_S): Likewise.
19112 * soft-fp/double.h (_FP_UNION_D): Likewise.
19113
5b8a4d4a
JM
191142012-02-29 Joseph Myers <joseph@codesourcery.com>
19115
0bab47b6
JM
19116 [BZ #13786]
19117 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19118 not include ../strcmp.S.
19119 [USE_AS_STRNCASECMP_L]: Likewise.
19120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19121 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19122 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19123 (__strncasecmp_l_ia32): Define as alias to
19124 __strncasecmp_l_nonascii.
19125
0fcad3e2
JM
19126 [BZ #5794]
19127 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update.
19129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
5b8a4d4a
JM
19131 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19133
8fdceb2e
JL
191342012-02-29 Jeff Law <law@redhat.com>
19135
19136 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19137 out of bounds read.
19138
1f393a11
MP
191392012-02-29 Marek Polacek <polacek@redhat.com>
19140
19141 [BZ #13706]
19142 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19143 * elf/Makefile: Add rules to run tst-unused-dep.out.
19144
8847f037
DM
191452012-02-28 David S. Miller <davem@davemloft.net>
19146
19147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19151 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19152 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19153
169d7f11
JM
191542012-02-29 Joseph Myers <joseph@codesourcery.com>
19155
19156 * math/libm-test.inc (llround_test): Move one test from
19157 lround_test. Use TEST_f_L in moved test.
19158 (lround_test): Move misplaced test to llround_test. Add testcase
19159 from bug 2561.
19160
39adf059
UD
191612012-02-28 Ulrich Drepper <drepper@gmail.com>
19162
19163 * sysdeps/x86_64/fpu/e_expf.S: New file.
19164 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19165
71b5d1c5
SB
191662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19167
19168 [BZ #13637]
19169 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19170 of remain_len that may cause incomplete multi-byte character and
19171 false match.
19172 * posix/bug-regex33.c: New file.
19173 * posix/Makefile (tests): Add bug-regex33.
19174
1f77f049
JM
191752012-02-28 Joseph Myers <joseph@codesourcery.com>
19176
19177 * manual/macros.texi: New file.
19178 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19179 * manual/libc.texinfo: Include macros.texi.
19180 * manual/creatute.texi: Likewise.
19181 * manual/install.texi: Likewise.
19182 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19183 @glibcadj{} in references to the GNU C Library.
19184 * manual/charset.texi: Likewise.
19185 * manual/conf.texi: Likewise.
19186 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19187 when not using those macros.
19188 * manual/creature.texi: Likewise.
19189 * manual/crypt.texi: Likewise.
19190 * manual/errno.texi: Likewise.
19191 * manual/filesys.texi: Likewise.
19192 * manual/header.texi: Likewise.
19193 * manual/install.texi: Likewise.
19194 * manual/intro.texi: Likewise.
19195 * manual/io.texi: Likewise.
19196 * manual/job.texi: Likewise.
19197 * manual/lang.texi: Likewise.
19198 * manual/libc.texiinfo: Likewise.
19199 * manual/llio.texi: Likewise.
19200 * manual/locale.texi: Likewise.
19201 * manual/maint.texi: Likewise.
19202 * manual/math.texi: Likewise.
19203 * manual/memory.texi: Likewise.
19204 * manual/message.texi: Likewise.
19205 * manual/nss.texi: Likewise.
19206 * manual/pattern.texi: Likewise.
19207 * manual/process.texi: Likewise.
19208 * manual/resource.texi: Likewise.
19209 * manual/search.texi: Likewise.
19210 * manual/setjmp.texi: Likewise.
19211 * manual/signal.texi: Likewise.
19212 * manual/socket.texi: Likewise.
19213 * manual/startup.texi: Likewise.
19214 * manual/stdio.texi: Likewise.
19215 * manual/string.texi: Likewise.
19216 * manual/sysinfo.texi: Likewise.
19217 * manual/syslog.texi: Likewise.
19218 * manual/terminal.texi: Likewise.
19219 * manual/time.texi: Likewise.
19220 * manual/users.texi: Likewise.
19221 * INSTALL: Regenerated.
19222 * NOTES: Regenerated.
d40c5d54 19223 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19224
450bf206
AS
192252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19226
19227 * include/dirent.h: Include <dirstream.h> before
19228 <dirent/dirent.h>.
19229
741a235b
DM
192302012-02-28 David S. Miller <davem@davemloft.net>
19231
19232 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19233 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19234 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19236
d6b5aa58
DM
192372012-02-27 David S. Miller <davem@davemloft.net>
19238
1aff59a3
DM
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19241 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19243
d6b5aa58
DM
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19245 frame pointer instead of stack pointer relative arg slot.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19249
433f48bf
CD
192502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19251
19252 [BZ #3992]
19253 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19254
d674b76d
DM
192552012-02-27 David S. Miller <davem@davemloft.net>
19256
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19263 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19264 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19265
0e7727f7
JM
192662012-02-27 Joseph Myers <joseph@codesourcery.com>
19267
19268 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19269 later. Allow versions 5-9.
43be4ca2 19270 * configure: Regenerated.
0e7727f7
JM
19271 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19272 required minimum version and 4.6 as recommended version. Do not
19273 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19274 * INSTALL: Regenerated.
0e7727f7 19275
a78bc654
DM
192762012-02-27 David S. Miller <davem@davemloft.net>
19277
428d5830
DM
19278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19284 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19286
a78bc654
DM
19287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19288 manipulate bits before adding and subtracting TWO112[sx].
19289 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19290
4579f81c
RM
192912012-02-27 Roland McGrath <roland@hack.frob.com>
19292
36c8acb4
RM
19293 [BZ #13775]
19294 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19295 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19296 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19297 being in POSIX, because they are in 1003.1-2008.
19298
84ad622b
RM
19299 * rt/tst-aio.c: Include <fcntl.h>.
19300 * rt/tst-aio7.c: Likewise.
19301 * rt/tst-aio64.c: Likewise.
19302
4579f81c
RM
19303 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19304
abd923db
JM
193052012-02-27 Joseph Myers <joseph@codesourcery.com>
19306
19307 * manual/install.texi (--with-headers): Describe headers as
19308 interface headers, not private headers.
19309 (Specific advice for GNU/Linux systems): Describe use of headers
19310 from "make headers_install", not private headers from older
19311 kernels.
43be4ca2 19312 * INSTALL: Regenerated.
abd923db
JM
19313 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19314 Change to 2.6.19.
19315 * sysdeps/unix/sysv/linux/configure: Regenerated.
19316
6664049b
JM
19317 * manual/llio.texi (fclean): Remove documentation.
19318
bb8b6697
JM
19319 * manual/Makefile (libc-texi-generated): New variable. Include
19320 version.texi.
19321 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19322 $(libc-texi-generated), not duplicated list of files.
19323 (version.texi, stamp-version): New rules.
19324 (realclean): Remove $(libc-texi-generated), not individual files
19325 from that list. Do not remove dir-add.texinfo.
19326 * manual/libc.texinfo: Comment out uses of edition numbers and
19327 references to printed manual. Remove last-updated dates.
19328 (EDITION): Comment out.
19329 (ISBN): Likewise.
19330 (VERSION, UPDATED): Remove.
19331 (version.texi): Include.
19332
12e5c3b9
AS
193332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19334
19335 * sysdeps/posix/spawni.c: Include <signal.h>.
19336 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19337 * sysdeps/pthread/aio_fsync.c: Likewise.
19338
4efeffc1 193392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19340
ba63ba08
UD
19341 * conform/Makefile (tests): Run only when not cross-compiling and
19342 when fast-check is not defined.
19343
d94a4670
UD
19344 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19345 * conform/data/limits.h-data: Fixes for POSIX2008.
19346 * conform/run-conformtest.sh: Run all tests.
19347 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19348 headers.
19349 * include/bits/dlfcn.h: Likewise.
19350 * include/langinfo.h: Likewise.
19351 * include/monetary.h: Likewise.
19352 * include/sys/poll.h: Likewise.
19353
19354 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19355 for __USE_GNU.
19356 * posix/spawn.h: Define __need_sigset_t.
19357 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19358 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19359 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19360 to get sigevent_t only.
19361 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19362 only for __USE_GNU.
19363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19364 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19365 process_vm_writev only for __USE_GNU.
19366 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19367
19368 * conform/Makefile: For now ignore errors from run-conformtest.
19369 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19370 POSIX to avoid namespace pollution. Don't prepend headers.
19371 * conform/data/aio.h-data: Fixes for POSIX testing.
19372 * conform/data/fcntl.h-data: Likewise.
19373 * conform/data/glob.h-data: Likewise.
19374 * conform/data/grp.h-data: Likewise.
19375 * conform/data/pthread.h-data: Likewise.
19376 * conform/data/pwd.h-data: Likewise.
19377 * conform/data/signal.h-data: Likewise.
19378 * conform/data/spawn.h-data: Likewise.
19379 * conform/data/stdio.h-data: Likewise.
19380 * conform/data/stdlib.h-data: Likewise.
19381 * conform/data/stropts.h-data: Likewise.
19382 * conform/data/sys/mman.h-data: Likewise.
19383 * conform/data/sys/stat.h-data: Likewise.
19384 * conform/data/sys/types.h-data: Likewise.
19385 * conform/data/sys/wait.h-data: Likewise.
19386 * conform/data/time.h-data: Likewise.
19387 * conform/data/unistd.h-data: Likewise.
19388 * conform/data/utime.h-data: Likewise.
19389
19390 * io/sys/stat.h: fchmod was always in POSIX.
19391 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19392 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19393 * rt/aio.h: Define __need_timespec before including <time.h>.
19394 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19395 struct. Add forward declaration of pthread_attr_t and use it in
19396 sigevent.
19397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19399 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19400 always remove CLK_TCK definition.
19401
c20105c3
AS
194022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19403
19404 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19405
7a270350
UD
194062012-02-25 Ulrich Drepper <drepper@gmail.com>
19407
31341567
UD
19408 * conform/run-conformtest.sh: New file.
19409 * conform/Makefile: Run run-conformtest for tests.
19410 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19411 support.
19412
19413 * conform/data/uchar.h-data: New file.
19414 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19415 * conform/data/arpa/inet.h-data: Likewise.
19416 * conform/data/assert.h-data: Likewise.
19417 * conform/data/complex.h-data: Likewise.
19418 * conform/data/cpio.h-data: Likewise.
19419 * conform/data/ctype.h-data: Likewise.
19420 * conform/data/dirent.h-data: Likewise.
19421 * conform/data/dlfcn.h-data: Likewise.
19422 * conform/data/errno.h-data: Likewise.
19423 * conform/data/fcntl.h-data: Likewise.
19424 * conform/data/float.h-data: Likewise.
19425 * conform/data/fmtmsg.h-data: Likewise.
19426 * conform/data/fnmatch.h-data: Likewise.
19427 * conform/data/ftw.h-data: Likewise.
19428 * conform/data/glob.h-data: Likewise.
19429 * conform/data/grp.h-data: Likewise.
19430 * conform/data/iconv.h-data: Likewise.
19431 * conform/data/inttypes.h-data: Likewise.
19432 * conform/data/langinfo.h-data: Likewise.
19433 * conform/data/libgen.h-data: Likewise.
19434 * conform/data/limits.h-data: Likewise.
19435 * conform/data/locale.h-data: Likewise.
19436 * conform/data/math.h-data: Likewise.
19437 * conform/data/monetary.h-data: Likewise.
19438 * conform/data/mqueue.h-data: Likewise.
19439 * conform/data/ndbm.h-data: Likewise.
19440 * conform/data/net/if.h-data: Likewise.
19441 * conform/data/netdb.h-data: Likewise.
19442 * conform/data/netinet/in.h-data: Likewise.
19443 * conform/data/nl_types.h-data: Likewise.
19444 * conform/data/poll.h-data: Likewise.
19445 * conform/data/pthread.h-data: Likewise.
19446 * conform/data/pwd.h-data: Likewise.
19447 * conform/data/regex.h-data: Likewise.
19448 * conform/data/sched.h-data: Likewise.
19449 * conform/data/search.h-data: Likewise.
19450 * conform/data/semaphore.h-data: Likewise.
19451 * conform/data/setjmp.h-data: Likewise.
19452 * conform/data/signal.h-data: Likewise.
19453 * conform/data/spawn.h-data: Likewise.
19454 * conform/data/stdarg.h-data: Likewise.
19455 * conform/data/stdio.h-data: Likewise.
19456 * conform/data/stdlib.h-data: Likewise.
19457 * conform/data/string.h-data: Likewise.
19458 * conform/data/strings.h-data: Likewise.
19459 * conform/data/stropts.h-data: Likewise.
19460 * conform/data/sys/ipc.h-data: Likewise.
19461 * conform/data/sys/mman.h-data: Likewise.
19462 * conform/data/sys/msg.h-data: Likewise.
19463 * conform/data/sys/resource.h-data: Likewise.
19464 * conform/data/sys/select.h-data: Likewise.
19465 * conform/data/sys/sem.h-data: Likewise.
19466 * conform/data/sys/shm.h-data: Likewise.
19467 * conform/data/sys/socket.h-data: Likewise.
19468 * conform/data/sys/stat.h-data: Likewise.
19469 * conform/data/sys/statvfs.h-data: Likewise.
19470 * conform/data/sys/time.h-data: Likewise.
19471 * conform/data/sys/timeb.h-data: Likewise.
19472 * conform/data/sys/times.h-data: Likewise.
19473 * conform/data/sys/types.h-data: Likewise.
19474 * conform/data/sys/uio.h-data: Likewise.
19475 * conform/data/sys/un.h-data: Likewise.
19476 * conform/data/sys/utsname.h-data: Likewise.
19477 * conform/data/sys/wait.h-data: Likewise.
19478 * conform/data/syslog.h-data: Likewise.
19479 * conform/data/tar.h-data: Likewise.
19480 * conform/data/termios.h-data: Likewise.
19481 * conform/data/utime.h-data: Likewise.
19482 * conform/data/utmpx.h-data: Likewise.
19483 * conform/data/varargs.h-data: Likewise.
19484 * conform/data/wchar.h-data: Likewise.
19485 * conform/data/wctype.h-data: Likewise.
19486 * conform/data/wordexp.h-data: Likewise.
19487
19488 * include/stropts.h: New file.
19489 * include/uchar.h: New file.
19490 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19491 * include/assert.h: Likewise.
19492 * include/ctype.h: Likewise.
19493 * include/dirent.h: Likewise.
19494 * include/dlfcn.h: Likewise.
19495 * include/fcntl.h: Likewise.
19496 * include/fnmatch.h: Likewise.
19497 * include/glob.h: Likewise.
19498 * include/grp.h: Likewise.
19499 * include/libio.h: Likewise.
19500 * include/locale.h: Likewise.
19501 * include/math.h: Likewise.
19502 * include/net/if.h: Likewise.
19503 * include/netdb.h: Likewise.
19504 * include/netinet/in.h: Likewise.
19505 * include/pthread.h: Likewise.
19506 * include/pwd.h: Likewise.
19507 * include/regex.h: Likewise.
19508 * include/sched.h: Likewise.
19509 * include/search.h: Likewise.
19510 * include/setjmp.h: Likewise.
19511 * include/signal.h: Likewise.
19512 * include/stdio.h: Likewise.
19513 * include/stdlib.h: Likewise.
19514 * include/string.h: Likewise.
19515 * include/sys/cdefs.h: Likewise.
19516 * include/sys/mman.h: Likewise.
19517 * include/sys/msg.h: Likewise.
19518 * include/sys/resource.h: Likewise.
19519 * include/sys/select.h: Likewise.
19520 * include/sys/socket.h: Likewise.
19521 * include/sys/stat.h: Likewise.
19522 * include/sys/statvfs.h: Likewise.
19523 * include/sys/time.h: Likewise.
19524 * include/sys/times.h: Likewise.
19525 * include/sys/uio.h: Likewise.
19526 * include/sys/utsname.h: Likewise.
19527 * include/sys/wait.h: Likewise.
19528 * include/termios.h: Likewise.
19529 * include/time.h: Likewise.
19530 * include/ulimit.h: Likewise.
19531 * include/unistd.h: Likewise.
19532 * include/utime.h: Likewise.
19533 * include/wchar.h: Likewise.
19534 * include/wctype.h: Likewise.
19535 * include/wordexp.h: Likewise.
19536
19537 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19538
7a270350
UD
19539 * time/time.h: TIME_UTC must be a macro.
19540 Make timespec_get available for ISO C11 only as well.
19541
7724defc
UD
195422012-02-24 Ulrich Drepper <drepper@gmail.com>
19543
19544 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19545 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19546
6b1d1d46
JM
195472012-02-24 Joseph Myers <joseph@codesourcery.com>
19548
19549 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19550
0f8bbd69
JM
195512012-02-24 Joseph Myers <joseph@codesourcery.com>
19552
19553 * manual/texinfo.tex: Update to version 2012-01-19.16.
19554
66ab80bc
JM
195552012-02-24 Joseph Myers <joseph@codesourcery.com>
19556
19557 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19558
74981cc5
RM
195592012-02-24 Roland McGrath <roland@hack.frob.com>
19560
ee968201
RM
19561 [BZ #13738]
19562 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19563 * manual/fdl-1.3.texi: New file.
19564 * manual/fdl-1.1.texi: File removed.
19565
74981cc5
RM
19566 [BZ #13738]
19567 * manual/libc.texinfo (FDL_VERSION): New @set.
19568 Use it for mention of FDL in cover text.
19569 (Documentation License): Use it in @include file name.
19570
7bb764bc
JM
195712012-02-22 Joseph Myers <joseph@codesourcery.com>
19572 Roland McGrath <roland@hack.frob.com>
19573
19574 [BZ #5461]
19575 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19576 not LONG_LONG_MAX and LONG_LONG_MIN.
19577 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19578 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19579 name.
19580 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19581
6cbeae47
JM
195822012-02-22 Joseph Myers <joseph@codesourcery.com>
19583
19584 [BZ #2547]
19585 [BZ #11365]
19586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19587 manipulate bits before adding and subtracting TWO23[sx].
19588 * math/libm-test.inc (nearbyint_test): Add more tests.
19589
fe45ce09
JM
195902012-02-22 Joseph Myers <joseph@codesourcery.com>
19591
19592 [BZ #2548]
19593 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19594 bits before adding and subtracting TWO23[sx].
19595 * math/libm-test.inc (rint_test): Add more tests.
19596 (rint_test_tonearest): Likewise.
19597 (rint_test_towardzero): Likewise.
19598 (rint_test_downward): Likewise.
19599 (rint_test_upward: Likewise.
19600
ff3b3d82
JM
196012012-02-22 Joseph Myers <joseph@codesourcery.com>
19602
19603 [BZ #10110]
19604 * include/stdc-predef.h: New file. Extracted from features.h.
19605 * include/features.h: Include stdc-predef.h.
19606 * Makefile (headers): Add stdc-predef.h.
19607 * CONFORMANCE (Compiler limitations): Update.
19608
ef0aab35
JM
196092012-02-22 Joseph Myers <joseph@codesourcery.com>
19610
19611 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19612
58639409
DM
196132012-02-21 David S. Miller <davem@davemloft.net>
19614
19615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19617
c0e70b25
DM
196182012-02-20 David S. Miller <davem@davemloft.net>
19619
19620 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19621 using a normal save/restore sequence, rather than allocating a
19622 dummy stack frame just to store a frame pointer and restore.
19623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19624
fb06851d
JM
196252012-02-21 Joseph Myers <joseph@codesourcery.com>
19626
19627 * manual/install.texi: Fix stray word in line-wrapped comment.
19628
7a8b71c3
DM
196292012-02-20 David S. Miller <davem@davemloft.net>
19630
d510c123
DM
19631 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19632 both binutils and gcc support GOTDATA.
19633
0722d7c2
DM
19634 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19635 "rd %pc" in the PIC register setup sequences.
19636
3d2b3019
DM
19637 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19638 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19640 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19646 (SYSCALL_ERROR_HANDLER): Likewise.
19647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19650 (SYSCALL_ERROR_HANDLER): Likewise.
19651
c80098a9
DM
19652 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19653 (HAVE_GCC_GOTDATA): New.
19654 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19655 relocation support in both binutils and gcc.
19656 * sysdeps/sparc/elf/configure: Regenerate.
19657
3a2545a0
DM
19658 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19659 * sysdeps/sparc/sparc32/elf/configure: Delete.
19660 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19661 * sysdeps/sparc/sparc64/elf/configure: Delete.
19662 * sysdeps/sparc/elf/configure.in: New file.
19663 * sysdeps/sparc/elf/configure: Generate.
19664
7a8b71c3
DM
19665 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19666 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19668 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19669 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19670
f1e86fca
JM
196712012-02-21 Joseph Myers <joseph@codesourcery.com>
19672
19673 * manual/install.texi: Do not mention specific glibc version
19674 numbers.
19675 * manual/libc.texinfo (VERSION, UPDATED): Update.
19676 (@copying): Use @copyright{} and range of years.
19677
0e7dfaef
JM
196782012-02-21 Joseph Myers <joseph@codesourcery.com>
19679
19680 [BZ #13695]
19681 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19682 [crti.S not in sysdirs] (generated): Do not append.
19683 [crti.S not in sysdirs] (omit-deps): Likewise.
19684 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19685 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19686 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19687 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19688 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19689 Likewise.
19690 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19691 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19692 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19693 * csu/defs.awk: Remove file.
19694 * sysdeps/generic/initfini.c: Likewise.
19695 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19696 variable.
19697 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19698 Likewise.
19699
599af3ca
JM
197002012-02-20 Joseph Myers <joseph@codesourcery.com>
19701
19702 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19703 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19704 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19707 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19708 <bits/epoll.h>.
19709 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19710 (__EPOLL_PACKED): Define to empty if not defined by
19711 <bits/epoll.h>.
19712 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19714 bits/epoll.h.
19715
0e499750
JM
197162012-02-20 Joseph Myers <joseph@codesourcery.com>
19717
19718 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19719 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19721 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19722 <bits/timerfd.h>.
19723 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19725 bits/timerfd.h.
19726
5ad91f6e
JM
197272012-02-20 Joseph Myers <joseph@codesourcery.com>
19728
19729 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19730 in C locale.
19731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735
06b99b02
AJ
197362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19737
19738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19740
7638c0fd
AS
197412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19742
19743 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19744 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19745 defined.
19746 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19747 Likewise.
19748 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19749 entry for 2.16.
19750
92221550
AJ
197512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19752
19753 * math/w_acos.c: Use non-signaling floating-point comparisons.
19754 * math/w_acosf.c: Likewise.
19755 * math/w_acosh.c: Likewise.
19756 * math/w_acoshf.c: Likewise.
19757 * math/w_acoshl.c: Likewise.
19758 * math/w_acosl.c: Likewise.
19759 * math/w_asin.c: Likewise.
19760 * math/w_asinf.c: Likewise.
19761 * math/w_asinl.c: Likewise.
19762 * math/w_atanh.c: Likewise.
19763 * math/w_atanhf.c: Likewise.
19764 * math/w_atanhl.c: Likewise.
19765 * math/w_exp2.c: Likewise.
19766 * math/w_exp2f.c: Likewise.
19767 * math/w_exp2l.c: Likewise.
19768 * math/w_j0.c: Likewise.
19769 * math/w_j0f.c: Likewise.
19770 * math/w_j0l.c: Likewise.
19771 * math/w_j1.c: Likewise.
19772 * math/w_j1f.c: Likewise.
19773 * math/w_j1l.c: Likewise.
19774 * math/w_jn.c: Likewise.
19775 * math/w_jnf.c: Likewise.
19776 * math/w_log.c: Likewise.
19777 * math/w_log10.c: Likewise.
19778 * math/w_log10f.c: Likewise.
19779 * math/w_log10l.c: Likewise.
19780 * math/w_log2.c: Likewise.
19781 * math/w_log2f.c: Likewise.
19782 * math/w_log2l.c: Likewise.
19783 * math/w_logf.c: Likewise.
19784 * math/w_logl.c: Likewise.
19785 * math/w_sqrt.c: Likewise.
19786 * math/w_sqrtf.c: Likewise.
19787 * math/w_sqrtl.c: Likewise.
19788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19789 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19792 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19793
ebaf36eb
JM
197942012-02-19 Joseph Myers <joseph@codesourcery.com>
19795
19796 [BZ #9739]
19797 * manual/string.texi (strnlen): Use correct parameter name in
19798 equivalent expression.
19799
71c254a6
JM
198002012-02-19 Joseph Myers <joseph@codesourcery.com>
19801
19802 [BZ #11174]
19803 * manual/users.texi (seteuid): Consistently use neweuid for
19804 argument name.
19805
16d2c631
JM
198062012-02-19 Joseph Myers <joseph@codesourcery.com>
19807
19808 [BZ #13704]
19809 * manual/nss.texi (Services in the NSS configuration): Correct
19810 list of services in example configuration file.
19811
cd837b09
NB
198122012-02-19 Nick Bowler <nbowler@draconx.ca>
19813
19814 [BZ #11322]
19815 * manual/arith.texi: Remove statements about negative zero
19816 behaving identically to zero.
19817
02c4bbad
JM
198182012-02-18 Joseph Myers <joseph@codesourcery.com>
19819
19820 [BZ #5993]
19821 * manual/install.texi: Do not document upgrading from libc5.
19822
366842e7
JM
198232012-02-18 Joseph Myers <joseph@codesourcery.com>
19824
19825 [BZ #4596]
19826 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19827
dd54084d
DM
198282012-02-18 David S. Miller <davem@davemloft.net>
19829
19830 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19831 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19832 %o7 across the call.
19833 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19834 instead.
19835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19836 SETUP_PIC_REG_LEAF.
19837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19838 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19839 * sysdeps/sparc/crtn.S: Likewise.
19840
2bcc53a3
UD
198412012-02-17 Ulrich Drepper <drepper@gmail.com>
19842
19843 * aout/Makefile: Remove.
19844
09c093b5
RK
198452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19846
19847 [BZ #13058]
19848 * manual/examples/argp-ex1.c (main): Format definition in GNU
19849 style.
19850 * manual/examples/argp-ex2.c (main): Likewise.
19851 * manual/examples/argp-ex3.c (main): Likewise.
19852 * manual/examples/argp-ex4.c (main): Likewise.
19853 * manual/examples/longopt.c (main): Use new-style prototype
19854 definition.
19855 * manual/examples/strncat.c (main): Specify return type and use
19856 (void) for arguments.
19857 * manual/examples/subopt.c (main): Use char **argv argument.
19858
2ee633a2
JM
198592012-02-17 Joseph Myers <joseph@codesourcery.com>
19860
19861 [BZ #5077]
19862 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19863 rounding modes.
19864
0520adde
FB
198652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19866
19867 [BZ #6907]
19868 * manual/string.texi (strchr): Change when strchrnul is
19869 recommended.
19870
3f4081cd
DGM
198712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19872
19873 [BZ #174]
19874 * manual/locale.texi (setlocale): Document LOCPATH.
19875
d1b10e78
JM
198762012-02-17 Joseph Myers <joseph@codesourcery.com>
19877
19878 [BZ #10210]
19879 * manual/process.texi (execle): Move @dots{} before last argument.
19880
79c6869c
PB
198812012-02-17 Paul Bolle <pebolle@tiscali.nl>
19882
19883 [BZ #12047]
19884 * manual/charset.texi (Generic Charset Conversion): Fix typo
19885 (LC_TYPE -> LC_CTYPE).
19886
cc6e48bc
NB
198872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19888
19889 [BZ #5805]
19890 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19891 (scalbnf): Likewise.
19892 (scalbnl): Likewise.
19893 (scalbln): Likewise.
19894 (scalblnf): Likewise.
19895 (scalblnl): Likewise.
19896 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19897 (vwarnx): Likewise.
19898 (verr): Likewise.
19899 (verrx): Likewise.
19900 * manual/filesys.texi (telldir): Use braces around return type.
19901 * manual/llio.texi (mmap): Add space after comma.
19902 (mmap64): Likewise.
19903 * manual/math.texi (jn): Use @var{} on parameter names.
19904 (jnf): Likewise.
19905 (jnl): Likewise.
19906 (yn): Likewise.
19907 (ynf): Likewise.
19908 (ynl): Likewise.
19909 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19910 line.
19911 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19912 "...".
19913 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19914 (sched_get_priority_max): Likewise.
19915 * manual/signal.texi (sigvec): Add space after comma.
19916 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19917 names.
19918 (if_indextoname): Likewise.
19919 (if_freenameindex): Likewise.
19920 (sendto): Use ',' instead of '.' in prototype.
19921 * manual/startup.texi (syscall): Use @dots{} instead of literal
19922 "...".
19923 * manual/stdio.texi (__fpending): Separate initial words of
19924 paragraph from @deftypefun line.
19925 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19926 "...".
19927 (vsyslog): Use @var{} on parameter names.
19928 * manual/terminal.texi (stty): Use @var{} on parameter names.
19929 * manual/users.texi (getutmp): Use @var{} on parameter names.
19930 (getutmpx): Likewise.
19931
5b23062f
JM
199322012-02-17 Joseph Myers <joseph@codesourcery.com>
19933
19934 [BZ #6884]
19935 * manual/stdio.texi (fopen): Fix typos in description of
19936 ",ccs=STRING".
19937
8dee4833
AJ
199382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19939
19940 [BZ #4026]
19941 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19942 get clock_id definition.
19943
9078ce93
TS
199442012-02-17 Thomas Schwinge <thomas@schwinge.name>
19945
19946 [BZ #4822]
19947 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19948 (madvise): Cast every argument to void on its own.
19949
3835c55f
JM
199502012-02-17 Joseph Myers <joseph@codesourcery.com>
19951
19952 [BZ #9902]
19953 * manual/startup.texi (Exit Status): Fix typo.
19954
35c47e37
JM
199552012-02-17 Joseph Myers <joseph@codesourcery.com>
19956
19957 [BZ #10140]
19958 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19959 * manual/examples/argp-ex2.c: Likewise.
19960 * manual/examples/argp-ex3.c: Likewise.
19961
e3b69ca7
RH
199622012-02-16 Richard Henderson <rth@redhat.com>
19963
19964 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19965 * sysdeps/s390/s390-32/initfini.c: Remove.
19966 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19967 * sysdeps/s390/s390-64/initfini.c: Remove.
19968
df83af67
KK
199692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19970
19971 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19972 compiler output for sysdeps/generic/initfini.c.
19973 * sysdeps/sh/elf/initfini.c: Remove file.
19974
f63f3380
DM
199752012-02-16 David S. Miller <davem@davemloft.net>
19976
fb59b3a4
DM
19977 [BZ #11494]
19978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19979
f63f3380
DM
19980 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19981 * sysdeps/sparc/crti.S: New file.
19982 * sysdeps/sparc/crtn.S: New file.
19983 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19984 * sysdeps/sparc/sparc64/Makefile: Likewise.
19985
df6a4a4a
MF
199862012-02-15 Mike Frysinger <vapier@gentoo.org>
19987
6dd8f3dc 19988 [BZ #3335]
df6a4a4a
MF
19989 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19990
1cac7236
RM
199912012-02-15 Roland McGrath <roland@hack.frob.com>
19992
d2c736f8
RM
19993 [BZ #4822]
19994 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19995
1cac7236
RM
19996 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19997 (write, read, close): Likewise.
19998 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19999
8e475601
JM
200002012-02-15 Joseph Myers <joseph@codesourcery.com>
20001
20002 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20003 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20004 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20005 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20006 <bits/signalfd.h>.
20007 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20009 bits/signalfd.h.
20010
ed656b40
MP
200112012-02-14 Marek Polacek <polacek@redhat.com>
20012
20013 * sysdeps/x86_64/crti.S: New file.
20014 * sysdeps/x86_64/crtn.S: New file.
20015 * sysdeps/x86_64/elf/initfini.c: Remove file.
20016
2a979d3a
JM
200172012-02-13 Joseph Myers <joseph@codesourcery.com>
20018
20019 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20020 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20021 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20022 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20023 <bits/inotify.h>.
20024 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20026 bits/inotify.h.
20027
2a418ac3
JM
200282012-02-13 Joseph Myers <joseph@codesourcery.com>
20029
20030 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20031 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20033 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20034 <bits/eventfd.h>.
20035 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20037 bits/eventfd.h.
20038
fb779be7
TS
200392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20040
e19e83c5
RM
20041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20042 __feraiseexcept instead of feraiseexcept.
7c35ffed 20043
fb779be7
TS
20044 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20045 nanosleep invocations.
20046 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20047 strings, and add error checking for a nanosleep invocations.
20048
59ba27a6
PE
200492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20050
20051 Replace FSF snail mail address with URLs, as per GNU coding standards.
20052 Most of the snail mail addresses were wrong anyway, and omitting
20053 them makes the source code easier to maintain. Almost all of the
20054 changes are to license notices and to locale LC_IDENTIFICATION
20055 addresses, except for this one:
20056 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20057 not its snail mail address.
20058
57b957eb
RH
200592012-02-09 Richard Henderson <rth@twiddle.net>
20060
af850b1c
RH
20061 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20062 of kernel-features.h.
20063
57b957eb
RH
20064 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20065
6b73181a
MP
200662012-02-08 Marek Polacek <polacek@redhat.com>
20067
20068 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20069 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20070 * sysdeps/gnu/_G_config.h: Likewise.
20071 * sysdeps/generic/_G_config.h: Likewise.
20072
26ecc33a
AS
200732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20074
6c6dbc63
AS
20075 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20076 tests.
20077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20078
e216c012
AS
20079 * sysdeps/powerpc/powerpc32/crti.S: New file.
20080 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20081 * sysdeps/powerpc/powerpc64/crti.S: New file.
20082 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20083
26ecc33a
AS
20084 * Makeconfig (have-initfini): Don't set.
20085 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20086 * configure.in (nopic_initfini): Don't substitute.
20087 * config.h.in (HAVE_INITFINI): Don't #undef.
20088 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20089 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20090
3add8e13
JM
200912012-02-08 Joseph Myers <joseph@codesourcery.com>
20092
20093 Support crti.S and crtn.S provided directly by architectures.
20094 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20095 [crti.S in sysdirs] (omit-deps): Likewise.
20096 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20097 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20098 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20099 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20100 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20101 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20102 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20103 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20104 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20105 compiler output for sysdeps/generic/initfini.c.
20106 * sysdeps/i386/elf/Makefile: Remove file.
20107 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20108
a22f12b4
MP
201092012-02-07 Marek Polacek <polacek@redhat.com>
20110
20111 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20112 * sysdeps/gnu/_G_config.h: Likewise.
20113 * sysdeps/mach/hurd/_G_config.h: Likewise.
20114
148cf100
MP
201152012-02-07 Marek Polacek <polacek@redhat.com>
20116
20117 * math/Makefile (tests): Add tst-CMPLX2.
20118 * math/tst-CMPLX2.c: New file.
20119
cfdc0dd7
AS
201202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20121
84ba42c4
AS
20122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20123
cfdc0dd7
AS
20124 * math/libm-test.inc (jn_test): Add missing L suffix.
20125
622c86f4
MP
201262012-02-06 Marek Polacek <polacek@redhat.com>
20127
20128 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20129 * sysdeps/i386/fpu/e_powf.S: Likewise.
20130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20131 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20133 * sysdeps/i386/fpu/e_pow.S: Likewise.
20134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20138 * sysdeps/i386/fpu/e_log2.S: Likewise.
20139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20141 * sysdeps/i386/fpu/e_powl.S: Likewise.
20142 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20144 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20145 * sysdeps/i386/fpu/e_logl.S: Likewise.
20146 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20147 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20152 * sysdeps/i386/fpu/e_log.S: Likewise.
20153 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20155 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20156 * sysdeps/i386/fpu/e_logf.S: Likewise.
20157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20159 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20160 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20162 * sysdeps/i386/fpu/e_log10.S: Likewise.
20163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20168 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20169 * sysdeps/i386/asm-syntax.h: Likewise.
20170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20173 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20174 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20176 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20177 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20179 * sysdeps/powerpc/sysdep.h: Likewise.
20180 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20182
d4a54ac6
JM
201832012-02-06 Joseph Myers <joseph@codesourcery.com>
20184
20185 [BZ #411]
20186 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20187
314054ea
JM
201882012-02-06 Joseph Myers <joseph@codesourcery.com>
20189
20190 * sysdeps/i386/sysdep.h: Include <features.h>.
20191 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20192 version.
20193
d8e0ca50
JM
201942012-02-05 Joseph Myers <joseph@codesourcery.com>
20195
20196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20197 Define.
20198 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20199 LOAD_PIC_REG_STR.
20200
b1da7dd9
JM
202012012-02-03 Joseph Myers <joseph@codesourcery.com>
20202
20203 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20204 (SETUP_PIC_REG): Use GET_PC_THUNK.
20205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20206 macro.
20207
9a1d9254
JM
202082012-02-03 Joseph Myers <joseph@codesourcery.com>
20209
20210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20211 for non-PIC compilation.
20212 (SETUP_PIC_REG): Add .p2align directive.
20213 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20214 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20215 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20216 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20230 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20231 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20232 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20236 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20241 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20242 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20243 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20244 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20246 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20247 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20254
65dc3b75
JM
202552012-02-03 Joseph Myers <joseph@codesourcery.com>
20256
20257 * math/tst-CMPLX.c: Include <stdio.h>.
20258
d55bf177
JM
202592012-01-31 Joseph Myers <joseph@codesourcery.com>
20260
20261 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20262 float.
20263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20264 * sysdeps/sparc/bits/mathdef.h: Likewise.
20265
69db4f8f
MP
202662012-01-31 Marek Polacek <polacek@redhat.com>
20267
20268 * libio/libio.h: Don't define _PARAMS.
20269 * locale/programs/config.h: Don't define PARAMS.
20270 * stdlib/strtol_l.c: Likewise.
20271 (__strtol_l): Remove PARAMS from the prototype.
20272
41b81892
UD
202732012-01-31 Ulrich Drepper <drepper@gmail.com>
20274
3b49edc0
UD
20275 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20276 names. Just use the correct names. Remove unnecessary wrapper
20277 functions.
20278 * malloc/arena.c: Likewise.
20279 * malloc/hooks.c: Likewise.
20280
41b81892
UD
20281 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20282 ARENA_TEST says not to. Simplify test for creation of a new arena.
20283 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20284
27a25b6e
UD
202852012-01-30 Ulrich Drepper <drepper@gmail.com>
20286
20287 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20288 into tail calls.
20289 (update_get_addr): New function.
20290 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20291 GET_ADDR_MODULE parameter.
20292
c8a89e7d
JM
202932012-01-30 Joseph Myers <joseph@codesourcery.com>
20294
20295 * crypt/cert.c: Remove __STDC__ conditionals.
20296 * crypt/crypt-entry.c: Likewise.
20297 * crypt/crypt_util.c: Likewise.
20298 * libio/filedoalloc.c: Likewise.
20299 * libio/fileops.c: Likewise.
20300 * libio/genops.c: Likewise.
20301 * libio/iofclose.c: Likewise.
20302 * libio/iofdopen.c: Likewise.
20303 * libio/iofopen.c: Likewise.
20304 * libio/iofopen64.c: Likewise.
20305 * libio/iogetdelim.c: Likewise.
20306 * libio/iopopen.c: Likewise.
20307 * libio/obprintf.c: Likewise.
20308 * libio/oldfileops.c: Likewise.
20309 * libio/oldiofclose.c: Likewise.
20310 * libio/oldiofdopen.c: Likewise.
20311 * libio/oldiofopen.c: Likewise.
20312 * libio/oldiopopen.c: Likewise.
20313 * libio/wfiledoalloc.c: Likewise.
20314 * libio/wgenops.c: Likewise.
20315 * locale/programs/xmalloc.c: Likewise.
20316 * misc/syslog.c: Likewise.
20317 * stdio-common/xbug.c: Likewise.
20318 * string/memchr.c: Likewise.
20319 * string/memcmp.c: Likewise.
20320 * string/memrchr.c: Likewise.
20321 * string/rawmemchr.c: Likewise.
20322 * sysdeps/posix/getcwd.c: Likewise.
20323 * time/strftime_l.c: Likewise.
20324
3b100462
JM
203252012-01-30 Joseph Myers <joseph@codesourcery.com>
20326
20327 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20328 * config.make.in (config-cflags-sse2avx): Define.
20329 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20330 Fix typo.
20331
607998af
CM
203322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20333
20334 * scripts/config.guess: Update from upstream config git repository.
20335 * scripts/config.sub: Likewise.
20336
3601428f
CM
203372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20338
3ac8b282
CM
20339 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20340 (EM_NUM): Update.
20341 (R_TILEPRO_*, R_TILEGX_*): New macros.
20342
e034841e
CM
20343 * scripts/firstversions.awk: Fix bug in version range handling.
20344
540d7568
CM
20345 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20346
3601428f
CM
20347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20348
463de862
CM
20349 * include/sys/epoll.h: New file.
20350 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20351 libc_hidden_def.
20352
73139a76
UD
203532012-01-28 Ulrich Drepper <drepper@gmail.com>
20354
96bc5b45
UD
20355 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20356 Avoid unnecessary __WORDSIZE == 64 test.
20357 (fmaxf): Use VEX format if possible.
20358 (fmax): Likewise.
20359 (fminf): Likewise.
20360 (fmin): Likewise.
20361
56f6f6a2
UD
20362 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20363 * math/math_private.h: Remove libc_fegetround* and
20364 libc_fesetround*.
20365 * sysdeps/i386/configure.in: Check for -msse2avx.
20366 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20367 also if SSE2AVX is defined.
20368 Remove libc_fegetround* and libc_fesetround*.
20369 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20370 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20372 of HAS_YMM_USABLE.
20373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20378
73139a76
UD
20379 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20380
d73f93a4
AZ
203812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20382
20383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20384 size is not set.
20385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20386
6ee65ed6
UD
203872012-01-27 Ulrich Drepper <drepper@gmail.com>
20388
20389 [BZ #13618]
20390 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20391 relocation.
20392 * Makeconfig (libm): Define.
20393 * elf/Makefile: Add rules to build and run tst-relsort1.
20394 * elf/tst-relsort1.c: New file.
20395 * elf/tst-relsort1mod1.c: New file.
20396 * elf/tst-relsort1mod2.c: New file.
20397
8db21882
JM
203982012-01-27 Joseph Myers <joseph@codesourcery.com>
20399
20400 * math/s_ldexp.c: Remove __STDC__ conditionals.
20401 * math/s_ldexpf.c: Likewise.
20402 * math/s_ldexpl.c: Likewise.
20403 * math/s_nextafter.c: Likewise.
20404 * math/s_nexttowardf.c: Likewise.
20405 * math/s_significand.c: Likewise.
20406 * math/s_significandf.c: Likewise.
20407 * math/s_significandl.c: Likewise.
20408 * math/w_jnl.c: Likewise.
20409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20428 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20429 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20430 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20437 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20446 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20447 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20448 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20449 * sysdeps/ieee754/k_standard.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20469 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20481 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20502 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20510 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20529 * sysdeps/ieee754/s_matherr.c: Likewise.
20530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20534
965a54a4
JM
205352012-01-26 Joseph Myers <joseph@codesourcery.com>
20536
20537 * crypt/md5.h: Remove __STDC__ conditionals.
20538 * libio/libioP.h: Likewise.
20539 * locale/programs/config.h: Likewise.
20540 * sysdeps/generic/sysdep.h: Likewise.
20541 * sysdeps/i386/asm-syntax.h: Likewise.
20542 * sysdeps/s390/asm-syntax.h: Likewise.
20543 * sysdeps/unix/sysdep.h: Likewise.
20544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20546
7071ad79
JM
205472012-01-26 Joseph Myers <joseph@codesourcery.com>
20548
20549 * libio/libio.h: Remove __STDC__ conditionals.
20550 * malloc/obstack.h: Likewise.
20551 * math/complex.h: Likewise.
20552 * math/math.h: Likewise.
20553 * sysdeps/generic/_G_config.h: Likewise.
20554 * sysdeps/gnu/_G_config.h: Likewise.
20555 * sysdeps/mach/hurd/_G_config.h: Likewise.
20556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20558 * sysdeps/sparc/bits/mathdef.h: Likewise.
20559
afc5ed09
UD
205602012-01-26 Ulrich Drepper <drepper@gmail.com>
20561
20562 [BZ #13583]
20563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20564 Clean up HAS_* macros.
afc5ed09 20565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20566 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20567 possible.
20568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20569 HAS_AVX.
20570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20575
bdb6de1d
JM
205762012-01-25 Joseph Myers <joseph@codesourcery.com>
20577
20578 * elf/tst-unique3.cc (gets): Remove declaration.
20579 * elf/tst-unique3lib.cc (gets): Likewise.
20580 * elf/tst-unique3lib2.cc (gets): Likewise.
20581 * elf/tst-unique4.cc (gets): Likewise.
20582
b15549e6
UD
205832012-01-24 Ulrich Drepper <drepper@gmail.com>
20584
20585 * include/stdio.h: Add C++ protection. Add gets declarations and
20586 definitions.
20587 * debug/tst-chk1.c: Don't declare gets here.
20588 * stdio-common/tst-gets.c: Likewise.
20589
a037381f
JM
205902012-01-24 Joseph Myers <joseph@codesourcery.com>
20591
20592 * posix/glob: Remove directory.
20593
f1d4aa75
JM
205942012-01-24 Joseph Myers <joseph@codesourcery.com>
20595
20596 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20597
81c0c964
PT
205982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20599
20600 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20601 of the non-standard EPFNOSUPPORT.
20602
0ea698ae
ST
206032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20604
20605 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20606 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20607 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20608
d220b117
UD
206092012-01-21 Ulrich Drepper <drepper@gmail.com>
20610
20611 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20612
3e1aa84e
UD
206132012-01-20 Ulrich Drepper <drepper@gmail.com>
20614
20615 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20616 transient errors.
20617 * nscd/grpcache.c (cache_addgr): Likewise.
20618 * nscd/hstcache.c (cache_addhst): Likewise.
20619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20620 * nscd/pwdcache.c (cache_addpw): Likewise.
20621 * nscd/servicescache.c (cache_addserv): Likewise.
20622
400aa020
UD
206232012-01-16 Ulrich Drepper <drepper@gmail.com>
20624
d77e7869
UD
20625 * malloc/malloc.c: Various cleanups.
20626 * malloc/hooks.c: Likewise.
20627
400aa020
UD
20628 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20629 * stdlib/bug-fmtmsg1.c: New file.
20630
20631 * stdlib/fmtmsg.c (init): Add missing unlock.
20632 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20633
e0a309cf
MP
206342012-01-12 Marek Polacek <polacek@redhat.com>
20635
20636 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20637 and _GNU_SOURCE.
20638
929d11c7
WS
206392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20640
20641 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20643 macro to ensure uniqueness of label name.
20644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20646
41d0e869
UD
206472012-01-11 Ulrich Drepper <drepper@gmail.com>
20648
0cc5ed3b
UD
20649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20650
41d0e869
UD
20651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20655
a47a831a
UD
206562012-01-10 Ulrich Drepper <drepper@gmail.com>
20657
daa891c0
UD
20658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20659
20660 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20663
e58ef0f2
UD
20664 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20665
a47a831a 20666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20667 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20670
20671 * math/bits/math-finite.h: Add ldexp support.
20672
a0bfc9c7
MP
206732012-01-10 Marek Polacek <polacek@redhat.com>
20674
20675 * locale/programs/localedef.h (show_archive_content): Add noreturn
20676 attribute.
20677
d6e97a1d
UD
206782012-01-09 Ulrich Drepper <drepper@gmail.com>
20679
20680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20681
d5835c26
UD
206822012-01-08 Ulrich Drepper <drepper@gmail.com>
20683
e5f484c6
UD
20684 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20685
d5835c26
UD
20686 * io/Makefile (headers): Add bits/poll2.h.
20687
d1f741e9
WS
206882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20689
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20691 typo #include statement.
20692
ec09c1c4
UD
206932012-01-08 Ulrich Drepper <drepper@gmail.com>
20694
20695 * include/sys/cdefs.h: Define __attribute_alloc_size.
20696 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20697 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20698 * elf/pldd.c: Likewise.
20699 * iconv/iconv_charmap.c: Likewise.
20700 * iconv/iconvconfig.c: Likewise.
20701 * iconv/strtab.c: Likewise.
20702 * locale/programs/locale.c: Likewise.
20703 * locale/programs/localedef.h: Likewise.
20704 * locale/programs/simple-hash.c: Likewise.
20705 * nscd/nscd.h: Likewise.
20706 * nss/makedb.c: Likewise.
20707 * sysdeps/generic/ldconfig.h: Likewise.
20708 * locale/programs/localedef.c: Remove xmalloc prototype.
20709 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20710
20b38e03
PP
207112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20712
20713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20714 appropriate.
20715
a0da5fe1
UD
207162012-01-08 Ulrich Drepper <drepper@gmail.com>
20717
1d5a644a 20718 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20719 * math/tst-CMPLX.c: New file.
1d5a644a 20720
8784a6db
UD
20721 * math/complex.h (CMPLXL): Fix typo.
20722
d9a216c0
UD
20723 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20724 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20725 GLIBC_2.16.
20726 * debug/tst-chk1.c: Add poll and ppoll tests.
20727 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20728 * include/sys/poll.h: Add hidden proto for ppoll.
20729 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20730 * sysdeps/mach/hurd/ppoll.c: Likewise.
20731 * io/ppoll.c: Likewise.
20732 * debug/poll_chk.c: New file.
20733 * debug/ppoll_chk.c: New file.
20734 * include/bits/poll2.h: New file.
20735 * io/bits/poll2.h: New file.
20736
ac097f5c
UD
20737 [BZ #1350]
20738 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20739
2119dcfa
UD
20740 * configure.in: static is always set to yes. Remove.
20741 * config.make.in: Don't set build-static.
20742 * Makeconfig: Remove use of build-static.
20743 * dlfcn/Makefile: Likewise.
20744 * elf/Makefile: Likewise.
20745 * math/Makefile: Likewise.
20746 * misc/Makefile: Likewise.
20747 * nptl/Makefile: Likewise.
20748 * sysdeps/mach/hurd/Makefile: Likewise.
20749
121766a9
UD
20750 * configure.in: PWD_P is not used anymore.
20751 * config.make.in: Remove PWD_P entry.
20752
51a1d39c 20753 * configure.in: Remove last remnants of RANLIB.
8720d066 20754 No need to check for signed size_t anymore.
215f4bdc
UD
20755 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20756 and IA-64.
3857022a 20757 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20758 * aclocal.m4: Likewise.
20759
d3ed7225
UD
20760 * wcsmbs/mbrtoc16.c: Implement using towc function.
20761 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20762 * wcsmbs/wcsmbsload.c: Likewise.
20763 * iconv/gconv_simple.c: Likewise.
20764 * iconv/gconv_int.h: Likewise.
20765 * iconv/gconv_builtin.h: Likewise.
20766 * iconv/iconv_prog.c: Remove CHAR16 handling.
20767
20768 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20769
20770 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20771
a0da5fe1
UD
20772 * configure.in: Remove --with-elf and --enable-bounded options.
20773 Dont set base_machine for ia64. More non-ELF conditions removed.
20774 Remove testing and setting of leading underscore information.
20775 * config.make.in (build-bounded): Set to no.
20776 * config.h.in: Remove NO_UNDERSCORES entry.
20777 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20778 them.
20779 * csu/start.c: Remove !NO_UNDERSCORE code.
20780 * locale/localeinfo.h: Likewise.
20781 * sysdeps/generic/machine-gmon.h: Likewise.
20782 * sysdeps/generic/sysdep.h: Likewise.
20783 * sysdeps/i386/sysdep.h: Likewise.
20784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20785 * sysdeps/mach/sysdep.h: Likewise.
20786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20788 * sysdeps/sh/sysdep.h: Likewise.
20789 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20790 * sysdeps/unix/i386/sysdep.S: Likewise.
20791 * sysdeps/unix/sparc/start.c: Likewise.
20792 * sysdeps/unix/sparc/sysdep.S: Likewise.
20793 * sysdeps/unix/sparc/sysdep.h: Likewise.
20794 * sysdeps/unix/start.c: Likewise.
20795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20796 * sysdeps/x86_64/sysdep.h: Likewise.
20797
df78418a
UD
207982012-01-07 Ulrich Drepper <drepper@gmail.com>
20799
a784e502
UD
20800 [BZ #13553]
20801 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20802 for non-gcc.
20803 * argp/argp-fmtstream.h: Use const instead __const.
20804 * argp/argp.h: Likewise.
20805 * assert/assert.h: Likewise.
20806 * bits/fenv.h: Likewise.
20807 * bits/sched.h: Likewise.
20808 * bits/sigset.h: Likewise.
20809 * bits/sigthread.h: Likewise.
20810 * catgets/nl_types.h: Likewise.
20811 * conform/data/pthread.h-data: Likewise.
20812 * crypt/crypt-private.h: Likewise.
20813 * crypt/crypt.h: Likewise.
20814 * crypt/crypt_util.c: Likewise.
20815 * ctype/ctype.h: Likewise.
20816 * debug/execinfo.h: Likewise.
20817 * debug/mbsnrtowcs_chk.c: Likewise.
20818 * debug/mbsrtowcs_chk.c: Likewise.
20819 * debug/wcsnrtombs_chk.c: Likewise.
20820 * debug/wcsrtombs_chk.c: Likewise.
20821 * debug/wcstombs_chk.c: Likewise.
20822 * dirent/dirent.h: Likewise.
20823 * dlfcn/dlfcn.h: Likewise.
20824 * elf/neededtest4.c: Likewise.
20825 * grp/grp.h: Likewise.
20826 * gshadow/gshadow.h: Likewise.
20827 * iconv/gconv.h: Likewise.
20828 * iconv/gconv_int.h: Likewise.
20829 * iconv/gconv_simple.c: Likewise.
20830 * iconv/iconv.h: Likewise.
20831 * iconv/loop.c: Likewise.
20832 * iconv/skeleton.c: Likewise.
20833 * include/aio.h: Likewise.
20834 * include/aliases.h: Likewise.
20835 * include/argz.h: Likewise.
20836 * include/arpa/inet.h: Likewise.
20837 * include/assert.h: Likewise.
20838 * include/dirent.h: Likewise.
20839 * include/dlfcn.h: Likewise.
20840 * include/execinfo.h: Likewise.
20841 * include/fcntl.h: Likewise.
20842 * include/fenv.h: Likewise.
20843 * include/glob.h: Likewise.
20844 * include/grp.h: Likewise.
20845 * include/libintl.h: Likewise.
20846 * include/mntent.h: Likewise.
20847 * include/netdb.h: Likewise.
20848 * include/pwd.h: Likewise.
20849 * include/rpc/netdb.h: Likewise.
20850 * include/sched.h: Likewise.
20851 * include/search.h: Likewise.
20852 * include/shadow.h: Likewise.
20853 * include/signal.h: Likewise.
20854 * include/stdio.h: Likewise.
20855 * include/stdlib.h: Likewise.
20856 * include/string.h: Likewise.
20857 * include/sys/socket.h: Likewise.
20858 * include/sys/stat.h: Likewise.
20859 * include/sys/statfs.h: Likewise.
20860 * include/sys/statvfs.h: Likewise.
20861 * include/sys/syslog.h: Likewise.
20862 * include/sys/time.h: Likewise.
20863 * include/sys/uio.h: Likewise.
20864 * include/time.h: Likewise.
20865 * include/unistd.h: Likewise.
20866 * include/utmp.h: Likewise.
20867 * include/wchar.h: Likewise.
20868 * include/wctype.h: Likewise.
20869 * inet/aliases.h: Likewise.
20870 * inet/arpa/inet.h: Likewise.
20871 * inet/netinet/ether.h: Likewise.
20872 * inet/netinet/in.h: Likewise.
20873 * intl/libintl.h: Likewise.
20874 * io/bits/fcntl2.h: Likewise.
20875 * io/fcntl.h: Likewise.
20876 * io/ftw.h: Likewise.
20877 * io/sys/poll.h: Likewise.
20878 * io/sys/stat.h: Likewise.
20879 * io/sys/statfs.h: Likewise.
20880 * io/sys/statvfs.h: Likewise.
20881 * io/utime.h: Likewise.
20882 * libio/bits/stdio.h: Likewise.
20883 * libio/bits/stdio2.h: Likewise.
20884 * libio/libio.h: Likewise.
20885 * libio/libioP.h: Likewise.
20886 * libio/stdio.h: Likewise.
20887 * locale/lc-ctype.c: Likewise.
20888 * locale/locale.h: Likewise.
20889 * login/utmp.h: Likewise.
20890 * malloc/arena.c: Likewise.
20891 * malloc/malloc.c: Likewise.
20892 * malloc/malloc.h: Likewise.
20893 * malloc/mcheck.c: Likewise.
20894 * malloc/mtrace.c: Likewise.
20895 * math/bits/mathcalls.h: Likewise.
20896 * math/fenv.h: Likewise.
20897 * math/math_private.h: Likewise.
20898 * misc/bits/error.h: Likewise.
20899 * misc/bits/syslog.h: Likewise.
20900 * misc/err.h: Likewise.
20901 * misc/error.h: Likewise.
20902 * misc/fstab.h: Likewise.
20903 * misc/mntent.h: Likewise.
20904 * misc/regexp.h: Likewise.
20905 * misc/search.h: Likewise.
20906 * misc/sgtty.h: Likewise.
20907 * misc/sys/mman.h: Likewise.
20908 * misc/sys/syslog.h: Likewise.
20909 * misc/sys/uio.h: Likewise.
20910 * misc/sys/xattr.h: Likewise.
20911 * misc/ttyent.h: Likewise.
20912 * nis/rpcsvc/ypclnt.h: Likewise.
20913 * nss/nss.h: Likewise.
20914 * posix/bits/unistd.h: Likewise.
20915 * posix/fnmatch.h: Likewise.
20916 * posix/glob.h: Likewise.
20917 * posix/sched.h: Likewise.
20918 * posix/spawn.h: Likewise.
20919 * posix/sys/wait.h: Likewise.
20920 * posix/unistd.h: Likewise.
20921 * posix/wordexp.h: Likewise.
20922 * pwd/pwd.h: Likewise.
20923 * resolv/netdb.h: Likewise.
20924 * resource/sys/resource.h: Likewise.
20925 * rt/aio.h: Likewise.
20926 * rt/bits/mqueue2.h: Likewise.
20927 * rt/mqueue.h: Likewise.
20928 * shadow/shadow.h: Likewise.
20929 * signal/signal.h: Likewise.
20930 * socket/send.c: Likewise.
20931 * socket/sendto.c: Likewise.
20932 * socket/sys/socket.h: Likewise.
20933 * stdio-common/printf.h: Likewise.
20934 * stdlib/bits/stdlib.h: Likewise.
20935 * stdlib/fmtmsg.h: Likewise.
20936 * stdlib/monetary.h: Likewise.
20937 * stdlib/stdlib.h: Likewise.
20938 * stdlib/ucontext.h: Likewise.
20939 * streams/stropts.h: Likewise.
20940 * string/argz.h: Likewise.
20941 * string/bits/string2.h: Likewise.
20942 * string/string.h: Likewise.
20943 * string/strings.h: Likewise.
20944 * sunrpc/rpc/auth.h: Likewise.
20945 * sunrpc/rpc/auth_des.h: Likewise.
20946 * sunrpc/rpc/clnt.h: Likewise.
20947 * sunrpc/rpc/netdb.h: Likewise.
20948 * sunrpc/rpc/pmap_clnt.h: Likewise.
20949 * sunrpc/rpc/xdr.h: Likewise.
20950 * sysdeps/generic/inttypes.h: Likewise.
20951 * sysdeps/generic/net/if.h: Likewise.
20952 * sysdeps/generic/sys/swap.h: Likewise.
20953 * sysdeps/gnu/net/if.h: Likewise.
20954 * sysdeps/gnu/utmpx.h: Likewise.
20955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20956 * sysdeps/i386/i486/bits/string.h: Likewise.
20957 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20958 * sysdeps/s390/bits/string.h: Likewise.
20959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20961 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20962 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20963 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20964 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20965 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20966 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20967 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20968 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20969 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20971 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20973 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20981 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20982 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20983 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20984 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20985 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20987 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20989 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20990 * sysvipc/sys/ipc.h: Likewise.
20991 * sysvipc/sys/msg.h: Likewise.
20992 * sysvipc/sys/sem.h: Likewise.
20993 * sysvipc/sys/shm.h: Likewise.
20994 * termios/termios.h: Likewise.
20995 * time/sys/time.h: Likewise.
20996 * time/time.h: Likewise.
20997 * wcsmbs/bits/wchar2.h: Likewise.
20998 * wcsmbs/uchar.h: Likewise.
20999 * wcsmbs/wchar.h: Likewise.
21000 * wctype/wctype.h: Likewise.
21001
0269750c
UD
21002 [BZ #13551]
21003 * Makeconfig: Remove all but ELF support including AIX support.
21004 * Makerules: Likewise.
21005 * config.h.in: Likewise.
21006 * config.make.in: Likewise.
21007 * configure: Likewise.
21008 * configure.in: Likewise.
21009 * csu/Makefile: Likewise.
21010 * csu/version.c: Likewise.
21011 * debug/Makefile: Likewise.
21012 * dlfcn/Makefile: Likewise.
21013 * elf/Makefile: Likewise.
21014 * extra-lib.mk: Likewise.
21015 * iconv/Makefile: Likewise.
21016 * include/libc-symbols.h: Likewise.
21017 * include/shlib-compat.h: Likewise.
21018 * resolv/Makefile: Likewise.
21019 * resolv/res_libc.c: Likewise.
21020 * rt/Makefile: Likewise.
21021 * sysdeps/i386/asm-syntax.h: Likewise.
21022 * sysdeps/i386/sysdep.h: Likewise.
21023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21024 * sysdeps/mach/sysdep.h: Likewise.
21025 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21026 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21027 * sysdeps/s390/asm-syntax.h: Likewise.
21028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21030 * sysdeps/sh/sysdep.h: Likewise.
21031 * sysdeps/unix/sparc/sysdep.h: Likewise.
21032 * sysdeps/wordsize-32/divdi3.c: Likewise.
21033 * sysdeps/x86_64/sysdep.h: Likewise.
21034
00bbd29b
UD
21035 * argp/Versions: Remove _argp_unlock_xxx.
21036
21037 [BZ #13559]
21038 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21039 * abilist/libBrokenLocale.abilist: Likewise.
21040 * abilist/libanl.abilist: Likewise.
21041 * abilist/libc.abilist: Likewise.
21042 * abilist/libcrypt.abilist: Likewise.
21043 * abilist/libdl.abilist: Likewise.
21044 * abilist/libm.abilist: Likewise.
21045 * abilist/libnsl.abilist: Likewise.
21046 * abilist/libpthread.abilist: Likewise.
21047 * abilist/libresolv.abilist: Likewise.
21048 * abilist/librt.abilist: Likewise.
21049 * abilist/libthread_db.abilist: Likewise.
21050 * abilist/libutil.abilist: Likewise.
21051 * abilist/libnss_db.abilist: New file.
21052
21053 * scripts/abilist.awk: Add support for indirect functions.
21054
a2693a0e
UD
21055 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21056
3f05895f
UD
21057 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21058
ecb6fb48
UD
21059 * shlib-versions: Remove entries for ports architectures.
21060
664f8cb9
UD
21061 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21062 files in ports.
21063 * elf/stackguard-macros.h: Remove support for IA-64.
21064 * elf/tst-auditmod1.c: Likewise.
21065 * sysdeps/generic/ldsodefs.h: Likewise.
21066
7ae81d88
UD
21067 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21068 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21069 configure files.
21070
bdeba135
UD
21071 [BZ #13552]
21072 * configure.in: Remove --enable-omitfp support.
21073 * FAQ.in: Adjust.
21074 * config.make.in: Likewise.
21075 * Makeconfig: Likewise.
21076 * manual/install.texi: Likewise.
21077
d75a0a62
UD
21078 In case anyone cares, the IA-64 architecture could move to ports.
21079 * sysdeps/ia64/*: Removed.
21080 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21081 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21082
dcc9756b
UD
21083 [BZ #13555]
21084 * configure.in: Remove entries for unsupported architectures.
21085
d3761ebc 21086 [BZ #13533]
9954432e
UD
21087 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21088 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21089 routines.
21090 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21091 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21092 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21093 fall back to using wcrtomb.
21094 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21095 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21096 renaming.
21097 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21098 * wcsmbs/tst-c16c32-1.c: New file.
21099
21100 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21101 local variable.
21102
c3a87236
UD
21103 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21104
28926a1b
UD
21105 * elf/tst-unique3.cc: Add explicit declaration of gets.
21106 * elf/tst-unique3lib.cc: Likewise.
21107 * elf/tst-unique3lib2.cc: Likewise.
21108 * elf/tst-unique4.cc: Likewise.
21109
df78418a
UD
21110 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21111
8ecd6b2a
JM
211122012-01-06 Joseph Myers <joseph@codesourcery.com>
21113
21114 [BZ #13566]
21115 * assert/assert.h (static_assert): Don't define for C++.
21116 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21117 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21118
9f115170
UD
211192012-01-03 Ulrich Drepper <drepper@gmail.com>
21120
5e0d0300
UD
21121 * iconv/loop.c (single loop): Fix assertion in storing of
21122 remaining bytes.
21123
9f115170
UD
21124 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21125
81fb02b0
UD
211262012-01-01 Ulrich Drepper <drepper@gmail.com>
21127
21128 * posix/getconf.c: Update copyright year.
21129 * nss/getent.c: Likewise.
a316c1f6 21130 * nss/makedb.c: Likewise.
81fb02b0
UD
21131 * iconv/iconvconfig.c: Likewise.
21132 * iconv/iconv_prog.c: Likewise.
21133 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21134 * elf/pldd.c: Likewise.
21135 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21136 * catgets/gencat.c: Likewise.
21137 * csu/version.c: Likewise.
21138 * elf/ldd.bash.in: Likewise.
21139 * elf/sprof.c (print_version): Likewise.
21140 * locale/programs/locale.c: Likewise.
21141 * locale/programs/localedef.c: Likewise.
a316c1f6 21142 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21143 * nscd/nscd.c (print_version): Likewise.
21144 * debug/xtrace.sh: Likewise.
21145 * malloc/memusage.sh: Likewise.
21146 * malloc/mtrace.pl: Likewise.
21147 * debug/catchsegv.sh: Likewise.
21148
2ba92745
JJ
211492011-12-30 Jakub Jelinek <jakub@redhat.com>
21150
21151 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21152 pure attribute.
21153
dadebdae
UD
211542011-12-24 Ulrich Drepper <drepper@gmail.com>
21155
d3761ebc 21156 [BZ #13533]
db6af3eb
UD
21157 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21158 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21159 transformations.
21160 * iconv/gconv_int.h: Likewise.
21161 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21162 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21163 from libc for GLIBC_2.16.
21164 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21165 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21166 * wcsmbs/uchar.h: Really define mbstate_t.
21167 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21168 * wcsmbs/c16rtomb.c: New file.
21169 * wcsmbs/mbrtoc16.c: New file.
21170 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21171 for C/POSIX locale.
21172 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21173 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21174
dadebdae
UD
21175 * wcsmbs/wchar.h: Add missing __restrict.
21176
67371b56
UD
211772011-12-23 Ulrich Drepper <drepper@gmail.com>
21178
74033a25
UD
21179 [BZ #13532]
21180 * time/Makefile (routines): Add timespec_get.
21181 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21182 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21183 timespec for ISO C11.
21184 * time/timespec_get.c: New file.
21185 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21186 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21187
380d7e87
UD
21188 [BZ #13531]
21189 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21190 * stdlib/stdlib.h: Declare aligned_alloc.
21191 * Versions.def: Add GLIBC_2.16 for libc.
21192 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21193
4e9e7a35
UD
21194 [BZ 13527]
21195 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21196 ISO C11.
21197
380d7e87 21198 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21199 code.
21200
03a71829
UD
21201 [BZ #13528]
21202 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21203
839e283e
UD
21204 [BZ #13529]
21205 * assert/assert.h (static_assert): Define.
21206
ce5294e2 21207 * version.h: Update for 2.16 development version.
90fa7312 21208
8d44e150 21209 [BZ #13526]
d7809905
UD
21210 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21211 _ISOC11_SOURCE.
21212
c0da14cd
UD
21213 * version.h (RELEASE): Bump for 2.15 release.
21214 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21215
530a3249
MP
21216 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21217 Patch by Marek Polacek <mpolacek@redhat.com>.
21218
67371b56
UD
21219 * bits/byteswap.h: Protect long long constants with __extension__.
21220 * sysdeps/i386/bits/byteswap.h: Likewise.
21221 * sysdeps/ia64/bits/byteswap.h: Likewise.
21222 * sysdeps/s390/bits/byteswap.h: Likewise.
21223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21224
15db4de1
LD
212252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21226
21227 [BZ #13540]
bbe315ea
LD
21228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21229 destination buffer.
15db4de1
LD
21230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21231
2b2596b1
MP
212322011-12-23 Marek Polacek <polacek@redhat.com>
21233
21234 * elf/dl-addr.c (determine_info): Add inline keyword.
21235 * elf/tst-auditmod4b.c (check_avx): Likewise.
21236 * elf/tst-auditmod6b.c (check_avx): Likewise.
21237 * elf/tst-auditmod6c.c (check_avx): Likewise.
21238 * elf/tst-auditmod7b.c (check_avx): Likewise.
21239
70c6c246
UD
212402011-12-23 Ulrich Drepper <drepper@gmail.com>
21241
21242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21243 !__SSE_MATH__.
21244
c044cf14
LD
212452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21246
15db4de1 21247 [BZ #13540]
c044cf14
LD
21248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21249 processing for last bytes.
21250
6b13d9d9
BH
212512011-08-06 Bruno Haible <bruno@clisp.org>
21252
d455f537
BH
21253 [BZ #13061]
21254 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21255 U+0385, not to U+1FEE.
21256
6b13d9d9
BH
21257 [BZ #13062]
21258 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21259 entry for U+00A5 U+0301.
21260
db910efd
UD
212612011-12-22 Ulrich Drepper <drepper@gmail.com>
21262
27deeafc
UD
21263 [BZ #13166]
21264 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21265 buffer for the output is too small.
21266
aed9d171
UD
21267 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21268 optimization.
21269
db910efd
UD
21270 [BZ #13185]
21271 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21272 SSE flags if possible.
21273
2bd779ae
LD
212742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21275
e7f9dac3 21276 [BZ #13540]
2bd779ae
LD
21277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21278 processing for last bytes.
21279
154bfc16
JM
212802011-12-22 Joseph Myers <joseph@codesourcery.com>
21281
21282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21283 (syscall-list-default-options, syscall-list-default-condition)
21284 (syscall-list-includes): Define.
21285 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21286 list of ABIs and options and #if conditions for each ABI. Do not
21287 handle common syscalls between ABIs specially.
21288 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21289 Remove.
21290 (syscall-list-variants, syscall-list-32bit-options)
21291 (syscall-list-32bit-condition, syscall-list-64bit-options)
21292 (syscall-list-64bit-condition): Define.
21293 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21294 (syscall-list-variants, syscall-list-32bit-options)
21295 (syscall-list-32bit-condition, syscall-list-64bit-options)
21296 (syscall-list-64bit-condition): Define.
21297 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21298 Remove.
21299 (syscall-list-variants, syscall-list-32bit-options)
21300 (syscall-list-32bit-condition, syscall-list-64bit-options)
21301 (syscall-list-64bit-condition): Define.
21302 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21303 Remove.
21304 (syscall-list-variants, syscall-list-32bit-options)
21305 (syscall-list-32bit-condition, syscall-list-64bit-options)
21306 (syscall-list-64bit-condition): Define.
21307
21eaf3a5
UD
213082011-12-22 Ulrich Drepper <drepper@gmail.com>
21309
16c6f992
UD
21310 * locale/iso-639.def: Add brx entry.
21311
41043168
UD
21312 [BZ #13328]
21313 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21314 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21315
21eaf3a5
UD
21316 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21317 __feraiseexcept_renamed.
21318
e3a851a2
UD
213192011-12-21 Ulrich Drepper <drepper@gmail.com>
21320
4920765e
UD
21321 [BZ #13538]
21322 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21323 EPOLLET with unsigned values.
21324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21326
e3a851a2
UD
21327 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21328 to large cancellation.
21329 * math/s_cacoshf.c: Likewise.
21330 * math/s_cacoshl.c: Likewise.
21331
b27e24b8
RK
213322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21333
21334 [BZ #13305]
aebefeee 21335 [BZ #12786]
b27e24b8
RK
21336 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21337 * math/s_cacoshf.c: Likewise.
21338 * math/s_cacoshl.c: Likewise.
21339
ee190f67
UD
213402011-12-21 Ulrich Drepper <drepper@gmail.com>
21341
21342 [BZ #13439]
21343 * iconv/gconv.h: Define __GCONV_SWAP.
21344 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21345 * iconvdata/utf-16.c: Likewise.
21346 * iconvdata/utf-32.c: Likewise.
21347
707f25df
AS
213482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21349
21350 [BZ #13524]
21351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21352 numerator after shifting it by one limb.
21353
d2daaa1e
RÁE
213542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21355
21356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21357 under [__USE_EXTERN_INLINES].
21358
a4647e72
UD
213592011-12-17 Ulrich Drepper <drepper@gmail.com>
21360
21361 [BZ #13446]
21362 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21363
f0b264f1
AZ
213642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21365
21366 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21367 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21368 optimized code.
21369 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21371 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21372 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21373 for strncasecmp/strncasecmp_l compilation.
21374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21375 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21376
8ef4f244
MP
213772011-12-08 Marek Polacek <mpolacek@redhat.com>
21378
21379 [BZ #13484]
21380 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21381 of __asm__.
21382
97ac2654
UD
213832011-12-17 Ulrich Drepper <drepper@gmail.com>
21384
21385 [BZ #13506]
21386 * time/tzfile.c (__tzfile_read): Check values from file header.
21387
91d2a845
WS
213882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21389
21390 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21391 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21392 * powerpc/powerpc32/dl-start.S: Likewise.
21393 * powerpc/powerpc32/elf/start.S: Likewise.
21394 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21395 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21396 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21397 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21398 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21399 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21400 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21401 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21402 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21403 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21404 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21405 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21406 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21407 * powerpc/powerpc32/memset.S: Likewise.
21408 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21409 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21410 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21411 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21412 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21413 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21414 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21415 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21416 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21417 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21419 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21420 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21421
a1267ba1
AZ
214222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21423
21424 * math/libm-test.inc: Added more nearbyint tests.
21425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21429
ad8ac1bd
RL
214302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21431
21432 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21433 FD_CLOEXEC.
21434
1d3e4b61
UD
214352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21436
21437 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21438 Add wcscpy-ssse3 wcscpy-c.
21439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21440 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21441 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21442 * sysdeps/x86_64/wcschr.S: New file.
21443 * sysdeps/x86_64/wcsrchr.S: New file.
21444 * string/test-strcmp.c: Remove checking of wcscmp function for
21445 wrong alignments.
21446 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21447 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21448 wcsrchr-sse2 wcsrchr-c.
21449 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21450 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21451 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21452 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21453 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21454 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21455 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21456 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21458 * wcsmbc/wcschr.c (WCSCHR): New macro.
21459
5b330a2d
UD
214602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21461
21462 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21463 * wcsmbs/test-wcsrchr.c: New file.
21464 * string/test-strrchr.c: Add wcsrchr support.
21465 (WIDE): New macro.
21466 * wcsmbs/test-wcscpy.c: New file.
21467 * string/test-strcpy.c: Add wcscpy support.
21468 (WIDE): New macro.
26428b7c 21469
f039c043
UD
214702011-12-10 Ulrich Drepper <drepper@gmail.com>
21471
21472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21473 the inner loop.
21474
850fb039
AS
214752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21476
21477 [BZ #13472]
21478 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21479
4efbd5cb
UD
214802011-12-04 Ulrich Drepper <drepper@gmail.com>
21481
52ff5dd0 21482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21483 Minor optimizations.
52ff5dd0 21484
4efbd5cb
UD
21485 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21486 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21487 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21488
8a426e12
UD
214892011-12-03 Ulrich Drepper <drepper@gmail.com>
21490
aff2453d
UD
21491 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21492 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21493 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21494 for gcc to avoid warnings.
21495 * inet/Makefile (tests): Add tst-checks.
21496 * inet/tst-checks.c: New file.
21497
21498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21499 warning.
21500
21501 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21502 __wmemcmp_sse2.
21503
21504 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21505 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21506
8a426e12
UD
21507 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21508
9bea3473
UD
215092011-12-02 Ulrich Drepper <drepper@gmail.com>
21510
3a965496
UD
21511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21512 problem.
21513
9bea3473
UD
21514 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21515
f101631b
UD
215162011-11-29 Joseph Myers <joseph@codesourcery.com>
21517
21518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21519 conditional on GCC version.
21520 (__arch_compare_and_exchange_val_8_acq)
21521 (__arch_compare_and_exchange_val_16_acq)
21522 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21523 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21524 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21525
a98275aa
UD
215262011-12-02 Joseph Myers <joseph@codesourcery.com>
21527
21528 * sysdeps/sh/backtrace.c: New file.
21529
d4cc29a2
AS
215302011-12-02 Andreas Schwab <schwab@redhat.com>
21531
21532 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21533 parenthesis.
21534
6257af2d
AS
215352011-12-01 Andreas Schwab <schwab@redhat.com>
21536
21537 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21538 falling back to utime.
21539
b5f44c1a
AS
215402011-11-30 Andreas Schwab <schwab@redhat.com>
21541
21542 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21543 expectations for float.
21544
f3a6cc0a
AS
215452011-11-29 Andreas Schwab <schwab@redhat.com>
21546
21547 * locale/weight.h (findidx): Add parameter len.
21548 * locale/weightwc.h (findidx): Likewise.
21549 * posix/fnmatch_loop.c (FCT): Adjust caller.
21550 * posix/regcomp.c (build_equiv_class): Likewise.
21551 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21552 * posix/regexec.c (check_node_accept_bytes): Likewise.
21553 * string/strcoll_l.c (STRCOLL): Likewise.
21554 * string/strxfrm_l.c (STRXFRM): Likewise.
21555
9d65ea3a
UD
215562011-11-17 Ulrich Drepper <drepper@gmail.com>
21557
21558 * Makefile.in: Remove CVSOPT handling.
21559 * configure.in: Remove use of AC_REVISION.
21560 * iconvdata/Makefile (distribute): No need to filter out CVS.
21561 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21562 handling.
21563
5583a086
AS
215642011-11-16 Andreas Schwab <schwab@redhat.com>
21565
21566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21567 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21568 [USE_AS_STRNCASECMP_L]: Likewise.
21569 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21570 NO_TLS_DIRECT_SEG_REFS.
21571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21572 Fix argument offsets for non-PIC.
21573 [USE_AS_STRNCASECMP_L]: Likewise.
21574 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21575 NO_TLS_DIRECT_SEG_REFS.
21576
d62a8200
UD
215772011-11-15 Ulrich Drepper <drepper@gmail.com>
21578
9d65ea3a 21579 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21580 O_CLOEXEC.
21581 * locale/loadlocale.c (_nl_load_locale): Likewise.
21582
09f93bd3
AS
215832011-11-15 Andreas Schwab <schwab@redhat.com>
21584
446514f9
AS
21585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21586 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21588 (SYSCALL_GETTIME): Set errno on error.
21589
09f93bd3
AS
21590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21591 count references to noai6ai_cached.
21592
312be3f9
UD
215932011-11-15 Ulrich Drepper <drepper@gmail.com>
21594
21595 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21596
21597 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21598 FD_CLOEXEC for /proc/self/maps.
21599
21600 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21601 FD_CLOEXEC for /proc/meminfo.
21602
21603 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21604 gai.conf.
21605
21606 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21607 FD_CLOEXEC for given file.
21608
21609 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21610
21611 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21612 FD_CLOEXEC for /etc/hosts.
21613 (_gethtent): Likewise.
21614
21615 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21616
21617 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21618 cancellation and set FD_CLOEXEC for /etc/netgroup.
21619
21620 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21621 reading /etc/publickey.
21622
21623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21624 allow cancellation when reading /etc/group.
21625
21626 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21627 cancellation.
21628 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21629
21630 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21631 when using data file.
21632
21633 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21634
21635 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21636 (write_nis_obj): Use "c" and "e" in fopen.
21637
21638 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21639
21640 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21641
21642 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21643
21644 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21645
21646 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21647 locale.alias.
21648
21649 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21650
21651 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21652
21653 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21654
21655 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21656 file parsing and set FD_CLOEXEC.
21657
82af0fa8
UD
216582011-11-14 Ulrich Drepper <drepper@gmail.com>
21659
21660 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21661
a5fb313c
AS
216622011-11-14 Andreas Schwab <schwab@redhat.com>
21663
21664 * malloc/arena.c (arena_get2): Don't call reused_arena when
21665 _int_new_arena failed.
21666
6abf3465
UD
216672011-11-14 Ulrich Drepper <drepper@gmail.com>
21668
21669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21670 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21675 to compile strcasecmp and strncasecmp.
21676 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21677 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21678
21679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21680
76e3966e
UD
216812011-11-13 Ulrich Drepper <drepper@gmail.com>
21682
21683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21684 locale-defines.sym to gen-as-const-headers.
21685 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21686 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21688 to compile strcasecmp and strncasecmp.
21689 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21690 strcasecmp_l and strncasecmp_l.
21691 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21692 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21693 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21694 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21695 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21697 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21698 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21699 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21700 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21701 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21702
ab26144e
UD
217032011-11-12 Ulrich Drepper <drepper@gmail.com>
21704
7edb22ef
UD
21705 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21706 result of SYSDEP_GETTIME_CPU to retval.
21707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21708 parameter list to macro. Remove trailing semicolon. Adjust users.
21709
9694fc44
UD
21710 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21711 variable.
21712
8ad89ef8
UD
21713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21714 mantissa words.
21715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21716
0c822ef9
UD
21717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21718 from unused variable.
21719
874e0564
UD
21720 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21721 DWARF definitions.
21722 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21723 for assembling.
21724
3a2edc79
UD
21725 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21726 over namespaces.
21727
f3c2577f
UD
21728 * sunrpc/rpc_prot.c (rejected): Fix case value.
21729
294ce126
UD
21730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21731 unsigned long long int to avoid warnings in shift.
21732
5e2b63c6
UD
21733 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21734 of use of trans.
21735 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21736 variable tmp.
21737
e7f4b08e
UD
21738 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21739 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21740 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21741
ab26144e
UD
21742 * nis/nis_table.c (nis_list): Use variable of correct type for
21743 result of __follow_path call.
21744
8a6d5255
AZ
217452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21746
21747 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21748 of math functions ceil, trunc, floor, round, and sqrt, when
21749 avaliable on the platform.
21750 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21751 name clash.
21752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21755
aaddc98c
MP
217562011-10-30 Marek Polacek <mpolacek@redhat.com>
21757
21758 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21760
95b7042b
RM
217612011-11-11 Roland McGrath <roland@hack.frob.com>
21762
21763 * include/unistd.h: Fix __readlink return type.
21764 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21765
57769839
UD
217662011-11-11 Ulrich Drepper <drepper@gmail.com>
21767
21768 * stdlib/ucontext.h: Undo last change for makecontext.
21769
edc5984d
AS
217702011-11-11 Andreas Schwab <schwab@redhat.com>
21771
98591e58
AS
21772 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21773
edc5984d
AS
21774 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21775 * setjmp/setjmp.h: Mark functions as non-leaf.
21776 * setjmp/bits/setjmp2.h: Likewise.
21777 * stdlib/ucontext.h: Likewise.
21778
77cdc054
AS
217792011-11-10 Andreas Schwab <schwab@redhat.com>
21780
21781 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21782 (reused_arena): Don't check arena limit.
21783 (arena_get2): Atomically check arena limit.
21784
fe72eebd
UD
217852011-11-08 Ulrich Drepper <drepper@gmail.com>
21786
5f078c32
UD
21787 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21788 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21789
fe72eebd
UD
21790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21791 instructions.
21792
ae1bc2fa
AS
217932011-11-07 Andreas Schwab <schwab@redhat.com>
21794
7583a88d
AS
21795 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21796 handler when locking.
21797
ae1bc2fa
AS
21798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21799 Fix size of allocated buffer.
21800
10fb0bfa
AS
218012011-11-04 Andreas Schwab <schwab@redhat.com>
21802
998832a4
AS
21803 [BZ #10103]
21804 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21805 declarations for long double functions.
21806 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21807
10fb0bfa
AS
21808 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21809
3d7ba52b
AS
218102011-11-03 Andreas Schwab <schwab@redhat.com>
21811
a9ae54a1
AS
21812 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21813 installed.
21814
3d7ba52b
AS
21815 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21816 is disabled.
21817
bc8db248
ST
218182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21819
21820 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21821
45b96dd6
AS
218222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21823
647776f6
AS
21824 * include/alloca.h (stackinfo_alloca_round): Define.
21825 (extend_alloca): Use it.
21826 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21827 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21828 here.
21829
d91a8b93
AS
21830 * scripts/check-local-headers.sh: Ignore libaudit.h.
21831
45b96dd6
AS
21832 * nscd/Makefile (extra-objs): Make recursively expanded.
21833
432d41ce
UD
218342011-11-01 Ulrich Drepper <drepper@gmail.com>
21835
34372fc6
UD
21836 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21838
fadb59f8
UD
21839 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21840 * posix/tst-rfc3484-2.c: Likewise.
21841 * posix/tst-rfc3484-3.c: Likewise.
21842
78239589
UD
21843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21844 process_vm_writev.
21845 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21846 process_vm_writev.
21847 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21848 process_vm_writev from libc using GLIBC_2.15 version.
21849
432d41ce
UD
21850 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21851
02f9c6cf
PP
218522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21853
21854 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21855 stack usage.
21856
3a2c0242
UD
218572011-10-31 Ulrich Drepper <drepper@gmail.com>
21858
f4ec4833
UD
21859 [BZ #13367]
21860 * nss/getent.c (initgroups_keys): Show error message in case no group
21861 names are given.
21862
3a2c0242
UD
21863 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21864 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21865 __bump_nl_timestamp.
21866 * nscd/connections (nscd_init): When host database is served open
21867 netlink socket and request notification about configuration changes.
21868 (main_loop_poll): Track netlink file descriptor and bump timestamp
21869 in case data becomes available.
21870 (main_loop_epoll): Likewise.
21871 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21872 (database_pers_head): Add extra_data fileds.
21873 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21875 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21876 Adjust caller.
21877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21878 in6ai data, call __free_in6ai.
21879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21880 Add -DHAVE_NETLINK.
21881 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21882 interface information. Reuse previous data if netlink timestamp
21883 is not changed.
21884 (__bump_nl_timestamp): New function.
21885 (__free_in6ai): New function.
21886
636064eb
UD
218872011-10-30 Ulrich Drepper <drepper@gmail.com>
21888
21889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21890 close_not_cancel_no_status here.
21891 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21892
9beb2334
UD
218932011-10-29 Ulrich Drepper <drepper@gmail.com>
21894
6ef76f3b
UD
21895 [BZ #13276]
21896 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21897 return value.
21898
0ffc4f3e 21899 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21900 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21901 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21902
cb95113e
UD
219032011-07-03 Andreas Jaeger <aj@suse.de>
21904
21905 [BZ #10709]
21906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21907 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21908 * math/libm-test.inc (sin_test): Add test case.
21909
a1b560ff
UD
219102011-10-29 Ulrich Drepper <drepper@gmail.com>
21911
c9aaface
UD
21912 [BZ #13337]
21913 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21914 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21915
d272e7f1
UD
21916 * elf/chroot_canon.c (chroot_canon): Cleanups.
21917
1bc33071
UD
21918 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21919
1760874d
TJ
21920 [BZ #13335]
21921 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21922 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21923
51d91b18
UD
21924 * string/test-strchr.c: Make usable for strchrnul testing.
21925 * string/test-strchrnul.c: New file.
21926 * string/Makefile (strop-tests): Add strchrnul.
21927
a1b560ff 21928 * po/it.po: Update from translation team.
b611fb81 21929 * po/es.po: Likewise.
a1b560ff 21930
a5b81e1f
UD
219312011-10-28 Ulrich Drepper <drepper@gmail.com>
21932
fd52bc6d
UD
21933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21934 the three constants needed as parameters. Drop the others.
21935 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21936 __m128i_strloadu_tolower.
52e4b9eb
UD
21937 Create and initialize variable zero and use it in all the places
21938 where _mm_setzero_si128 was used.
fd52bc6d 21939
a5b81e1f
UD
21940 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21941 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21942 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21944 anymore.
21945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21946 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21947 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21948 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21950 __mpranred, __mptan.
21951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21960
b4343346
AS
219612011-10-28 Andreas Schwab <schwab@redhat.com>
21962
0c92d8a8
AS
21963 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21964 redefine if SHARED.
21965 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21966
b4343346
AS
21967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21968 wide char related routines to wcsmbs subdir.
21969
3871f58f
AS
219702011-10-27 Andreas Schwab <schwab@redhat.com>
21971
21972 [BZ #13344]
21973 * misc/sys/cdefs.h (__THROWNL): Define.
21974 * posix/unistd.h: Use __THREADNL instead of __THREAD
21975 for memory synchronization functions.
21976
94d44d9f
RM
219772011-10-26 Roland McGrath <roland@hack.frob.com>
21978
21b64b15 21979 [BZ #13349]
94d44d9f
RM
21980 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21981 doesn't exist.
21982 * manual/stdio.texi (Obstack Streams): Node removed.
21983
f6ce9294
AS
219842011-10-26 Andreas Schwab <schwab@redhat.com>
21985
80479147
AS
21986 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21989
f6ce9294
AS
21990 * math/math_private.h (math_force_eval): Allow non-addressable
21991 arguments.
21992 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21993
618280a1
UD
219942011-10-25 Ulrich Drepper <drepper@gmail.com>
21995
e0016b11
UD
21996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21997 file is not needed.
21998
21999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22006 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22007 Add AVX variants.
22008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22013 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22014 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22015 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22018 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22019 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22027
22028 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22029 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22030
618280a1
UD
22031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22032 place. Use VEX encoding when compiling for AVX.
22033
37822576
AS
220342011-10-25 Andreas Schwab <schwab@redhat.com>
22035
1f1e1947
AS
22036 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22038
37822576
AS
22039 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22040
31ea014d
UD
220412011-10-25 Ulrich Drepper <drepper@gmail.com>
22042
d7826aa1 22043 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22044 useless if() expression.
d7826aa1
UD
22045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22064
31ea014d
UD
22065 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22066
16437fec
AS
220672011-10-25 Andreas Schwab <schwab@redhat.com>
22068
22069 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22070 condition.
22071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22072
31d3cc00
UD
220732011-10-25 Ulrich Drepper <drepper@gmail.com>
22074
22075 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22076 .text section. Avoid duplicate constants.
22077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22122
58985aa9
UD
221232011-10-24 Ulrich Drepper <drepper@gmail.com>
22124
202c9deb
UD
22125 * sysdeps/x86_64/dla.h: Move to ...
22126 * sysdeps/x86_64/fpu/dla.h: ...here.
22127 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22128 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22129
af968f62
UD
22130 * config.make.in: Add have-mfma4 entry.
22131 * configure.in: Substitute libc_cv_cc_fma4.
22132 * math/Makefile (dbl-only-routines): Add sincostab.
22133 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22134 Use __sincostab not sincos.
22135 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22136 name is a macro.
22137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22141 using __copysign.
22142 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22143 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22144 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22145 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22146 and __inv.
22147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22148 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22149 __copysign.
22150 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22151 define aliases when function name is a macro.
22152 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22153 sysdeps/ieee754/dbl-64/sincos.tbl.
22154 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22155 fma4-enabled routines.
22156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22166 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22168 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22183 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22184 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22185 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22186
58985aa9
UD
22187 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22188 rename.
22189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22197
a201fbcf
AS
221982011-10-24 Andreas Schwab <schwab@redhat.com>
22199
22200 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22201
fc2ee42a
LD
222022011-10-23 Ulrich Drepper <drepper@gmail.com>
22203
bb3129bd
UD
22204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22205
0275fff8
UD
22206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22207 prediction.
22208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22209
2fa2ae85
UD
22210 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22211 Remove unused variable magic_bits.
22212 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22213
fc2ee42a
LD
22214 * string/strnlen.c: Define and use STRNLEN macro.
22215 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22216 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22218 * wcsmbs/wcslen.c: Define and use WCSLEN.
22219 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22220 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22221 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22222 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22223 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22224 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22225 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22226
ce7dd29f
LD
222272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22228
22229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22230 strnlen-sse2-no-bsf.
22231 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22233 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22234 Add strnlen support.
22235 (USE_AS_STRNLEN): New macro.
22236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22238 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22239 * sysdeps/x86_64/wcslen.S: New file.
22240
979c70a3
MZ
222412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22242
22243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22244 XMM-moves are used for copying on small sizes.
22245
2d09f82f
LD
222462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22247
22248 * wcsmbs/Makefile (strop-tests): Add wcschr.
22249 * wcsmbs/test-wcschr.c: New file.
22250 * string/test-strchr.c: Update.
22251 Add wcschr support.
22252 (WIDE): New macro.
22253
619fccca
LD
222542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22255
2d09f82f 22256 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22257 * wcsmbs/test-wcslen.c: New file.
22258 * string/test-strlen.c: Update.
22259 Add wcslen support.
22260 (WIDE): New macro.
22261
09f699ea
UD
222622011-10-23 Ulrich Drepper <drepper@gmail.com>
22263
22264 * po/it.po: Update from translation team.
22265
95584d3b
LD
222662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22267
22268 * sysdeps/x86_64/wcscmp.S: Update.
22269 Fix wrong comparison semantics.
22270 wcscmp shall use signed comparison not unsigned.
22271 Don't use substraction to avoid overflow bug.
22272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22273 * wcsmbc/wcscmp.c: Likewise.
22274 * string/test-strcmp.c: Likewise.
22275 Add new tests to check cases with negative values.
22276
c8b3296b
UD
222772011-10-23 Ulrich Drepper <drepper@gmail.com>
22278
22279 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22280 * sysdeps/x86_64/dla.h: ...here. New file.
22281 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22290
246ad57a
AS
222912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22292
22293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22294 __ynl_finite aliases.
22295
a1a87169
UD
222962011-10-22 Ulrich Drepper <drepper@gmail.com>
22297
0d355eb7
UD
22298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22299
a1a87169
UD
22300 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22301 define DLA_FMA.
22302 [DLA_FMA] (EMULV): Use DLA_FMA.
22303 [DLA_FMA] (MUL12): Use EMULV.
22304 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22305 that are not needed.
22306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22313
ee2aafe0
AS
223142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22315
22316 * math/s_nan.c: Undef __nan.
22317 * math/s_nanf.c: Undef __nanf.
22318 * math/s_nanl.c: Undef __nanl.
22319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22320 "math_private.h".
22321
bc62c2fb
UD
223222011-10-22 Ulrich Drepper <drepper@gmail.com>
22323
77425c63
UD
22324 * math/s_catan.c: Add branch predictions.
22325 * math/s_catanf.c: Likewise.
22326 * math/s_catanh.c: Likewise.
22327 * math/s_catanhf.c: Likewise.
22328 * math/s_catanhl.c: Likewise.
22329 * math/s_catanl.c: Likewise.
22330 * math/s_cexp.c: Likewise.
22331 * math/s_cexpf.c: Likewise.
22332 * math/s_cexpl.c: Likewise.
22333 * math/s_clog.c: Likewise.
22334 * math/s_clog10.c: Likewise.
22335 * math/s_clog10f.c: Likewise.
22336 * math/s_clog10l.c: Likewise.
22337 * math/s_clogf.c: Likewise.
22338 * math/s_clogl.c: Likewise.
22339 * math/s_csqrt.c: Likewise.
22340 * math/s_csqrtf.c: Likewise.
22341 * math/s_csqrtl.c: Likewise.
22342 * math/s_ctanf.c: Likewise.
22343 * math/s_ctanh.c: Likewise.
22344 * math/s_ctanhf.c: Likewise.
22345 * math/s_ctanhl.c: Likewise.
22346 * math/s_ctanl.c: Likewise.
22347
bc62c2fb
UD
22348 * math/math_private.h: Define __nan, __nanf, __nanl.
22349 * math/s_cacosh.c: Include <math_private.h>.
22350 * math/s_cacoshl.c: Likewise.
22351 * math/s_casinh.c: Likewise.
22352 * math/s_casinhf.c: Likewise.
22353 * math/s_casinhl.c: Likewise.
22354 * math/s_ccos.c: Rely entire on ccosh.
22355 * math/s_ccosf.c: Rely entire on ccoshf.
22356 * math/s_ccosl.c: Rely entirely on ccoshl.
22357 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22358 Remove tests for FE_INVALID.
22359 * math/s_ccoshf.c: Likewise.
22360 * math/s_ccoshl.c: Likewise.
22361 * math/s_csin.c: Likewise.
22362 * math/s_csinf.c: Likewise.
22363 * math/s_csinh.c Likewise.
22364 * math/s_csinhf.c: Likewise.
22365 * math/s_csinhl.c: Likewise.
22366 * math/s_csinl.c: Likewise.
22367 * math/s_ctan.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22369 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22371
8ec250a4
UD
223722011-10-21 Ulrich Drepper <drepper@gmail.com>
22373
c196fed8
UD
22374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22375 compilation problems.
22376
8ec250a4
UD
22377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22378 __builtin_expect.
22379
8d4f46c6
UD
223802011-10-20 Ulrich Drepper <drepper@gmail.com>
22381
ed72b654
UD
22382 * sysdeps/i386/configure.in: Test for -mfma4 option.
22383 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22384 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22385 COMMON_CPUID_INDEX_80000001.
22386 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22387 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22388 use it if FMA3 is not supported.
22389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22390
8d4f46c6
UD
22391 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22393
d45c60c2
AS
223942011-10-20 Andreas Schwab <schwab@redhat.com>
22395
22396 [BZ #12892]
22397 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22398 it would create a cycle with a link time dependency.
22399
d9a4d2ab
UD
224002011-10-19 Ulrich Drepper <drepper@gmail.com>
22401
855d1560
UD
22402 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22403 instruction.
22404 * string/Makefile (strop-tests): Add rawmemchr.
22405 * string/test-rawmemchr.c: New file.
22406
d9a4d2ab
UD
22407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22409 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22410 when compiling str{,n}casecmp and when AVX is available. Hook up
22411 new optimized code in initializers.
22412
8f3b1ffe
AS
224132011-10-19 Andreas Schwab <schwab@redhat.com>
22414
22415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22416 __feraiseexcept instead of feraiseexcept.
22417
d38f1dba
UD
224182011-10-18 Ulrich Drepper <drepper@gmail.com>
22419
d9a8d0ab
UD
22420 * math/math_private.h: Define defaults for libc_fetestexcept and
22421 libc_feupdateenv.
22422 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22423 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22428 libc_fetestexcept and libc_feupdateenv.
22429
4855e3dd
UD
22430 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22431 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22432 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22433 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22434 libc_feholdexcept_setround.
22435
581d30e3
UD
22436 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22437 Add s_nearbyint-c and s_nearbyintf-c.
22438 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22439 nearbyintf inlines.
22440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22444
d38f1dba
UD
22445 * math/math_private.h: Define defaults for libc_fegetround,
22446 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22447 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22448 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22450 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22451 standard functions.
22452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22453 Remove comments and hacks for old compiler versions.
22454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22455 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22456 libc_feholdexceptl.
22457
caa6c9d8
AS
224582011-10-18 Andreas Schwab <schwab@redhat.com>
22459
22460 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22461 (__feraiseexcept_renamed): Add __NTH.
22462 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22463 namespace violations.
22464
97c066e6
UD
224652011-10-17 Ulrich Drepper <drepper@gmail.com>
22466
99ce7b04
UD
22467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22468
1004d182
UD
22469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22470
228a984d
UD
22471 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22472 recently added interfaces.
22473 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22474
c8553a6a
UD
22475 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22476 about macro parameter expansion.
22477
ed22dcf6
UD
22478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22479 __NO_MATH_INLINES is defined. Cleanups.
22480
22481 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22482 and __floorf is target has SSE4.1.
22483 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22484 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22487
b171c137
UD
22488 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22489 name.
22490 (floorf): Likewise.
22491
97c066e6
UD
22492 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22493
629f62ef
AS
224942011-10-17 Andreas Schwab <schwab@redhat.com>
22495
49a43d80
AS
22496 * misc/sys/cdefs.h: Fix last change.
22497
629f62ef
AS
22498 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22499 database lookup.
22500
e453f6cd
UD
225012011-10-16 Ulrich Drepper <drepper@gmail.com>
22502
aa78043a
UD
22503 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22504
ad0f5cad
UD
22505 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22511 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22514 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22515 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22516 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22518 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22519 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22521 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22523 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22527
22528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22529 ceil, ceilf, floor, floorf.
22530
22531 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22532 Perform IRELATIVE relocations last.
22533
e453f6cd
UD
22534 * elf/do-rel.h: Add another parameter nrelative, replacing the
22535 local variable with the same name. Change name of the function
22536 to end in Rel or Rela (uppercase).
22537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22538 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22539 elf_dynamic_do_##reloc function.
22540
fd5bdc09
UD
225412011-10-15 Ulrich Drepper <drepper@gmail.com>
22542
79b195b5
UD
22543 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22544 is sufficient, at least on modern CPUs.
22545
d4a28569
UD
22546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22547
b61099b5
UD
22548 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22550
bcf01e6d
UD
22551 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22552 __expl_finite.
22553 * math/bits/math-finite.h: Add entries for exp.
22554 * math/e_expl.c: Add __*_finite alias.
22555 * sysdeps/i386/fpu/e_exp.S: Likewise.
22556 * sysdeps/i386/fpu/e_expf.S: Likewise.
22557 * sysdeps/i386/fpu/e_expl.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22565
ba1a0d59
UD
22566 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22567 is sufficient, at least on modern CPUs.
22568
fd5bdc09
UD
22569 * ctype/ctype-info.c (__ctype_init): Define.
22570 * include/ctype.h (__ctype_init): Declare.
22571 (__ctype_b_loc): The variable is always initialized.
22572 (__ctype_toupper_loc): Likewise.
22573 (__ctype_tolower_loc): Likewise.
22574 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22575 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22576
7872cfb0
AS
225772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22578
b468825a
AS
22579 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22580
7872cfb0
AS
22581 * configure.in: Also look in $cxxmachine/include for C++ system
22582 headers.
22583
be13f7bf
LD
225842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22585
22586 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22587 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22588 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22589 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22591 (USE_AS_WMEMCMP): New macro.
22592 Fixing indents.
22593 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22594 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22595 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22596 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22598 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22599 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22601 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22602 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22604 (USE_AS_WMEMCMP): New macro.
22605 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22606 * sysdeps/string/test-memcmp.c: Update.
22607 Fix simple_wmemcmp.
22608 Add new tests.
22609 * wcsmbs/wmemcmp.c: Update.
22610 (WMEMCMP): New macro.
22611 Fix overflow bug.
22612
556a2007
AJ
226132011-10-12 Andreas Jaeger <aj@suse.de>
22614
22615 [BZ #13268]
22616 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22617
538faaa7
UD
226182011-10-15 Ulrich Drepper <drepper@gmail.com>
22619
ab6737ff
UD
22620 * libio/iofwide.c (do_length): Avoid warning.
22621
538faaa7
UD
22622 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22623
396a21b1
UD
226242011-10-14 Ulrich Drepper <drepper@gmail.com>
22625
cdf2901f
UD
22626 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22627
38ad40ce
UD
22628 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22629 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22630 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22631 * sysdeps/i386/i686/fpu/e_log.S: New file.
22632 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22633 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22634
396a21b1
UD
22635 * ctype/ctype.h: Add support for inlined isXXX functions when
22636 compiling C++ code.
22637
6b1f68c9
AS
226382011-10-14 Andreas Schwab <schwab@redhat.com>
22639
349290c0
AS
22640 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22641
6b1f68c9
AS
22642 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22643
f2282d42
RM
226442011-10-13 Roland McGrath <roland@hack.frob.com>
22645
22646 [BZ #13291]
22647 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22648
5298ffa8
AS
226492011-10-13 Andreas Schwab <schwab@redhat.com>
22650
714fad23
AS
22651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22652 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22653 feraiseexcept.
22654
81dcc7fb
AS
22655 * sysdeps/x86_64/memrchr.S: Check for zero size.
22656
5298ffa8
AS
22657 * string/stratcliff.c: Add memrchr tests.
22658
951fbcec
LD
226592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22660
22661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22662 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22663 rawmemchr-sse2 rawmemchr-sse2-bsf.
22664 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22666 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22667 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22668 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22669 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22670 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22671 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22674 * string/memrchr.c (MEMRCHR): New macro.
22675
0ac5ae23
UD
226762011-10-12 Ulrich Drepper <drepper@gmail.com>
22677
22678 Add integration with gcc's -ffinite-math-only and optimize wrapper
22679 functions in libm.
22680 * Versions.def: Define GLIBC_2.15 version for libm.
22681 * math/Makefile (headers): Add bits/math-finite.h.
22682 * math/bits/math-finite.h: New file.
22683 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22684 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22685 * math/e_acoshl.c: Add __*_finite alias.
22686 * math/e_acosl.c: Likewise.
22687 * math/e_asinl.c: Likewise.
22688 * math/e_atan2l.c: Likewise.
22689 * math/e_atanhl.c: Likewise.
22690 * math/e_coshl.c: Likewise.
22691 * math/e_exp10.c: Likewise.
22692 * math/e_exp10f.c: Likewise.
22693 * math/e_exp10l.c: Likewise.
22694 * math/e_exp2l.c: Likewise.
22695 * math/e_fmodl.c: Likewise.
22696 * math/e_gammal_r.c: Likewise.
22697 * math/e_hypotl.c: Likewise.
22698 * math/e_j0l.c: Likewise.
22699 * math/e_j1l.c: Likewise.
22700 * math/e_jnl.c: Likewise.
22701 * math/e_lgammal_r.c: Likewise.
22702 * math/e_log10l.c: Likewise.
22703 * math/e_log2l.c: Likewise.
22704 * math/e_logl.c: Likewise.
22705 * math/e_powl.c: Likewise.
22706 * math/e_sinhl.c: Likewise.
22707 * math/e_sqrtl.c: Likewise.
22708 * math/e_scalb.c: Completely rewritten and optimized.
22709 * math/e_scalbf.c: Likewise.
22710 * math/e_scalbl.c: Likewise.
22711 * math/w_acos.c: Likewise.
22712 * math/w_acosf.c: Likewise.
22713 * math/w_acosl.c: Likewise.
22714 * math/w_acosh.c: Likewise.
22715 * math/w_acoshf.c: Likewise.
22716 * math/w_acoshl.c: Likewise.
22717 * math/w_asin.c: Likewise.
22718 * math/w_asinf.c: Likewise.
22719 * math/w_asinl.c: Likewise.
22720 * math/w_atan2.c: Likewise.
22721 * math/w_atan2f.c: Likewise.
22722 * math/w_atan2l.c: Likewise.
22723 * math/w_atanh.c: Likewise.
22724 * math/w_atanhf.c: Likewise.
22725 * math/w_atanhl.c: Likewise.
22726 * math/w_exp10.c: Likewise.
22727 * math/w_exp10f.c: Likewise.
22728 * math/w_exp10l.c: Likewise.
22729 * math/w_fmod.c: Likewise.
22730 * math/w_fmodf.c: Likewise.
22731 * math/w_fmodl.c: Likewise.
22732 * math/w_j0.c: Likewise.
22733 * math/w_j0f.c: Likewise.
22734 * math/w_j0l.c: Likewise.
22735 * math/w_j1.c: Likewise.
22736 * math/w_j1f.c: Likewise.
22737 * math/w_j1l.c: Likewise.
22738 * math/w_jn.c: Likewise.
22739 * math/w_jnf.c: Likewise.
22740 * math/w_log.c: Likewise.
22741 * math/w_logf.c: Likewise.
22742 * math/w_logl.c: Likewise.
22743 * math/w_log10.c: Likewise.
22744 * math/w_log10f.c: Likewise.
22745 * math/w_log10l.c: Likewise.
22746 * math/w_log2.c: Likewise.
22747 * math/w_log2f.c: Likewise.
22748 * math/w_log2l.c: Likewise.
22749 * math/w_pow.c: Likewise.
22750 * math/w_powf.c: Likewise.
22751 * math/w_powl.c: Likewise.
22752 * math/w_remainder.c: Likewise.
22753 * math/w_remainderf.c: Likewise.
22754 * math/w_remainderl.c: Likewise.
22755 * math/w_scalb.c: Likewise.
22756 * math/w_scalbf.c: Likewise.
22757 * math/w_scalbl.c: Likewise.
22758 * math/w_sqrt.c: Likewise.
22759 * math/w_sqrtf.c: Likewise.
22760 * math/w_sqrtl.c: Likewise.
22761 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22762 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22763 used.
22764 * math/math_private.h: Declare __kernel_standard_f.
22765 * math/w_cosh.c: Remove cruft and optimize a bit.
22766 * math/w_coshf.c: Likewise.
22767 * math/w_coshl.c: Likewise.
22768 * math/w_exp2.c: Likewise.
22769 * math/w_exp2f.c: Likewise.
22770 * math/w_exp2l.c: Likewise.
22771 * math/w_hypot.c: Likewise.
22772 * math/w_hypotf.c: Likewise.
22773 * math/w_hypotl.c: Likewise.
22774 * math/w_lgamma.c: Likewise.
22775 * math/w_lgamma_r.c: Likewise.
22776 * math/w_lgammaf.c: Likewise.
22777 * math/w_lgammaf_r.c: Likewise.
22778 * math/w_lgammal.c: Likewise.
22779 * math/w_lgammal_r.c: Likewise.
22780 * math/w_sinh.c: Likewise.
22781 * math/w_sinhf.c: Likewise.
22782 * math/w_sinhl.c: Likewise.
22783 * math/w_tgamma.c: Likewise.
22784 * math/w_tgammaf.c: Likewise.
22785 * math/w_tgammal.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22788 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22789 Minor optimizations. Pretty printing. Remove cruft.
22790 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22794 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22795 * sysdeps/i386/fpu/e_asin.S: Likewise.
22796 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22797 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22798 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22799 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22803 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22804 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22805 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22806 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22807 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22808 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22809 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22810 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22811 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22812 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22813 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22814 * sysdeps/i386/fpu/e_log.S: Likewise.
22815 * sysdeps/i386/fpu/e_log10.S: Likewise.
22816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22818 * sysdeps/i386/fpu/e_log2.S: Likewise.
22819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22821 * sysdeps/i386/fpu/e_logf.S: Likewise.
22822 * sysdeps/i386/fpu/e_logl.S: Likewise.
22823 * sysdeps/i386/fpu/e_pow.S: Likewise.
22824 * sysdeps/i386/fpu/e_powf.S: Likewise.
22825 * sysdeps/i386/fpu/e_powl.S: Likewise.
22826 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22827 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22828 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22832 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22833 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22834 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22876 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22928 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22932 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22933 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22934 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22935 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22937 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22938 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22943 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22945 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22946 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22947 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22948 (__isnanf): Likewise.
22949 (__isinf_ns): Likewise.
22950 (__isinf_nsf): Likewise.
22951 (__finite): Likewise.
22952 (__finitef): Likewise.
22953 (__ieee754_sqrt): Define as macro.
22954 (__ieee754_sqrtf): Define as macro.
22955 (__ieee754_sqrtl): Define as macro.
22956 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22957 inlined copy.
22958 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22959 __FINITE_MATH_ONLY__ consistent.
22960 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22961
12cc2fcd
AS
229622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22963
a843a204
AS
22964 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22965 of rawmemchr.
22966
12cc2fcd
AS
22967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22968
c853acd5
UD
229692011-10-09 Ulrich Drepper <drepper@gmail.com>
22970
22971 * po/ja.po: Update from translation team.
22972
c658d255
RM
229732011-10-08 Roland McGrath <roland@hack.frob.com>
22974
110946e4
RM
22975 * locale/programs/locarchive.c (prepare_address_space): New function.
22976 (create_archive, enlarge_archive, open_archive): Use it.
22977
50604220
RM
22978 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22979 inside [SHARED], where it is used.
22980
c658d255
RM
22981 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22982
22983 * nss/getent.c (netgroup_keys): Remove unused variable.
22984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22985
6a621eb7
UD
229862011-10-08 Ulrich Drepper <drepper@gmail.com>
22987
7edb55ce
UD
22988 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22993 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22994 * math/Makefile (libm-calls): Add s_isinf_ns.
22995 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22996 * math/multc3.c: Likewise.
22997 * math/s_casin.c: Likewise.
22998 * math/s_casinf.c: Likewise.
22999 * math/s_casinl.c: Likewise.
23000 * math/s_ccos.c: Likewise.
23001 * math/s_ccosf.c: Likewise.
23002 * math/s_ccosl.c: Likewise.
23003 * math/s_ctan.c: Likewise.
23004 * math/s_ctanf.c: Likewise.
23005 * math/s_ctanh.c: Likewise.
23006 * math/s_ctanhf.c: Likewise.
23007 * math/s_ctanhl.c: Likewise.
23008 * math/s_ctanl.c: Likewise.
23009 * math/w_fmod.c: Likewise.
23010 * math/w_fmodf.c: Likewise.
23011 * math/w_fmodl.c: Likewise.
23012 * math/w_remainder.c: Likewise.
23013 * math/w_remainderf.c: Likewise.
23014 * math/w_remainderl.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23016 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23017 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23019 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23020 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23021 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23022 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23023
187da0ae
UD
23024 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23025 of the number.
23026 * stdio-common/printf_fphex.c: Likewise.
23027 * stdio-common/printf_size.c: Likewise.
23028
9277c064
UD
23029 * math/e_exp10.c: Include math_private.h using <...> not "...".
23030 * math/e_exp10f.c: Likewise.
23031 * math/e_exp10l.c: Likewise.
23032 * math/e_exp2l.c: Likewise.
23033 * math/e_j0l.c: Likewise.
23034 * math/e_j1l.c: Likewise.
23035 * math/e_jnl.c: Likewise.
23036 * math/e_lgammal_r.c: Likewise.
23037 * math/e_rem_pio2l.c: Likewise.
23038 * math/e_scalb.c: Likewise.
23039 * math/e_scalbf.c: Likewise.
23040 * math/e_scalbl.c: Likewise.
23041 * math/k_cosl.c: Likewise.
23042 * math/k_sinl.c: Likewise.
23043 * math/k_tanl.c: Likewise.
23044 * math/s_cacoshf.c: Likewise.
23045 * math/s_catan.c: Likewise.
23046 * math/s_catanf.c: Likewise.
23047 * math/s_catanh.c: Likewise.
23048 * math/s_catanhf.c: Likewise.
23049 * math/s_catanhl.c: Likewise.
23050 * math/s_catanl.c: Likewise.
23051 * math/s_ccosh.c: Likewise.
23052 * math/s_ccoshf.c: Likewise.
23053 * math/s_ccoshl.c: Likewise.
23054 * math/s_cexp.c: Likewise.
23055 * math/s_cexpf.c: Likewise.
23056 * math/s_cexpl.c: Likewise.
23057 * math/s_clog.c: Likewise.
23058 * math/s_clog10.c: Likewise.
23059 * math/s_clog10f.c: Likewise.
23060 * math/s_clog10l.c: Likewise.
23061 * math/s_clogf.c: Likewise.
23062 * math/s_clogl.c: Likewise.
23063 * math/s_csin.c: Likewise.
23064 * math/s_csinf.c: Likewise.
23065 * math/s_csinh.c: Likewise.
23066 * math/s_csinhf.c: Likewise.
23067 * math/s_csinhl.c: Likewise.
23068 * math/s_csinl.c: Likewise.
23069 * math/s_csqrt.c: Likewise.
23070 * math/s_csqrtf.c: Likewise.
23071 * math/s_csqrtl.c: Likewise.
23072 * math/s_ctan.c: Likewise.
23073 * math/s_ctanf.c: Likewise.
23074 * math/s_ctanh.c: Likewise.
23075 * math/s_ctanhf.c: Likewise.
23076 * math/s_ctanhl.c: Likewise.
23077 * math/s_ctanl.c: Likewise.
23078 * math/s_ldexp.c: Likewise.
23079 * math/s_ldexpf.c: Likewise.
23080 * math/s_ldexpl.c: Likewise.
23081 * math/s_significand.c: Likewise.
23082 * math/s_significandf.c: Likewise.
23083 * math/s_significandl.c: Likewise.
23084 * math/w_acos.c: Likewise.
23085 * math/w_acosf.c: Likewise.
23086 * math/w_acosh.c: Likewise.
23087 * math/w_acoshf.c: Likewise.
23088 * math/w_acoshl.c: Likewise.
23089 * math/w_acosl.c: Likewise.
23090 * math/w_asin.c: Likewise.
23091 * math/w_asinf.c: Likewise.
23092 * math/w_asinl.c: Likewise.
23093 * math/w_atan2.c: Likewise.
23094 * math/w_atan2f.c: Likewise.
23095 * math/w_atan2l.c: Likewise.
23096 * math/w_atanh.c: Likewise.
23097 * math/w_atanhf.c: Likewise.
23098 * math/w_atanhl.c: Likewise.
23099 * math/w_cosh.c: Likewise.
23100 * math/w_coshf.c: Likewise.
23101 * math/w_coshl.c: Likewise.
23102 * math/w_dremf.c: Likewise.
23103 * math/w_exp10.c: Likewise.
23104 * math/w_exp10f.c: Likewise.
23105 * math/w_exp10l.c: Likewise.
23106 * math/w_exp2.c: Likewise.
23107 * math/w_exp2f.c: Likewise.
23108 * math/w_fmod.c: Likewise.
23109 * math/w_fmodf.c: Likewise.
23110 * math/w_fmodl.c: Likewise.
23111 * math/w_hypot.c: Likewise.
23112 * math/w_hypotf.c: Likewise.
23113 * math/w_hypotl.c: Likewise.
23114 * math/w_j0.c: Likewise.
23115 * math/w_j0f.c: Likewise.
23116 * math/w_j0l.c: Likewise.
23117 * math/w_j1.c: Likewise.
23118 * math/w_j1f.c: Likewise.
23119 * math/w_j1l.c: Likewise.
23120 * math/w_jn.c: Likewise.
23121 * math/w_jnf.c: Likewise.
23122 * math/w_jnl.c: Likewise.
23123 * math/w_lgamma.c: Likewise.
23124 * math/w_lgamma_r.c: Likewise.
23125 * math/w_lgammaf.c: Likewise.
23126 * math/w_lgammaf_r.c: Likewise.
23127 * math/w_lgammal.c: Likewise.
23128 * math/w_lgammal_r.c: Likewise.
23129 * math/w_log.c: Likewise.
23130 * math/w_log10.c: Likewise.
23131 * math/w_log10f.c: Likewise.
23132 * math/w_log10l.c: Likewise.
23133 * math/w_log2.c: Likewise.
23134 * math/w_log2f.c: Likewise.
23135 * math/w_log2l.c: Likewise.
23136 * math/w_logf.c: Likewise.
23137 * math/w_logl.c: Likewise.
23138 * math/w_pow.c: Likewise.
23139 * math/w_powf.c: Likewise.
23140 * math/w_powl.c: Likewise.
23141 * math/w_remainder.c: Likewise.
23142 * math/w_remainderf.c: Likewise.
23143 * math/w_remainderl.c: Likewise.
23144 * math/w_scalb.c: Likewise.
23145 * math/w_scalbf.c: Likewise.
23146 * math/w_scalbl.c: Likewise.
23147 * math/w_sinh.c: Likewise.
23148 * math/w_sinhf.c: Likewise.
23149 * math/w_sinhl.c: Likewise.
23150 * math/w_sqrt.c: Likewise.
23151 * math/w_sqrtf.c: Likewise.
23152 * math/w_sqrtl.c: Likewise.
23153 * math/w_tgamma.c: Likewise.
23154 * math/w_tgammaf.c: Likewise.
23155 * math/w_tgammal.c: Likewise.
23156
6a621eb7
UD
23157 * po/ja.po: Update from translation team.
23158
bf582445
AJ
231592011-09-29 Andreas Jaeger <aj@suse.de>
23160
f9efbf3a
AJ
23161 [BZ #13179]
23162 * sunrpc/netname.c (netname2host): Fix logic.
23163
bf582445
AJ
23164 [BZ #6779]
23165 [BZ #6783]
23166 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23167 correctly.
23168 * math/w_remainder.c (__remainder): Likewise.
23169 * math/w_remainderf.c (__remainderf): Likewise.
23170 * math/libm-test.inc (remainder_test): Add test cases.
23171
48693bea
AK
231722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23173
23174 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23175 sdiv_qrnnd.
23176
42622229
LD
231772011-10-07 Ulrich Drepper <drepper@gmail.com>
23178
23179 * string/test-memcmp.c: Avoid unncessary #defines.
23180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23181
093ecf92
LD
231822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23183
23184 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23185 Use new sse2 version for core i3 - i7 as it's faster
23186 than sse42 version.
23187 (bit_Prefer_PMINUB_for_stringop): New.
23188 * sysdeps/x86_64/rawmemchr.S: Update.
23189 Replace with faster SSE2 version.
23190 * sysdeps/x86_64/memrchr.S: New file.
23191 * sysdeps/x86_64/memchr.S: Update.
23192 Replace with faster SSE2 version.
23193
fde56e5c
MP
231942011-09-12 Marek Polacek <mpolacek@redhat.com>
23195
23196 * elf/dl-load.c (lose): Add cast to avoid warning.
23197
21fd49a9
UD
231982011-10-07 Ulrich Drepper <drepper@gmail.com>
23199
5a06e643
UD
23200 * po/ca.po: Update from translation team.
23201
684ae515
UD
23202 * inet/getnetgrent_r.c: Hook up nscd.
23203 * nscd/Makefile (routines): Add nscd_netgroup.
23204 (nscd-modules): Add netgroupcache.
23205 (CFLAGS-netgroupcache.c): Define.
23206 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23207 (cache_search): Add const to second parameter.
23208 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23209 INNETGR.
23210 (dbs): Add netgrdb entry.
23211 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23212 (verify_persistent_db): Handle netgrdb.
23213 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23214 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23215 GETFDNETGR.
23216 (netgroup_response_header): Define.
23217 (innetgroup_response_header): Define.
23218 (datahead): Add netgroup_response_header and innetgroup_response_header
23219 elements.
23220 * nscd/nscd.conf: Add entries for netgroup cache.
23221 * nscd/nscd.h (dbtype): Add netgrdb.
23222 (_PATH_NSCD_NETGROUP_DB): Define.
23223 (netgroup_iov_disabled): Declare.
23224 (xmalloc, xcalloc, xrealloc): Move declarations here.
23225 (cache_search): Adjust prototype.
23226 Add netgroup-related prototypes.
23227 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23228 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23229 (__nscd_innetgr): Declare.
23230 * nscd/selinux.c (perms): Use access_vector_t as element type and
23231 add netgroup-related initializers.
23232 * nscd/netgroupcache.c: New file.
23233 * nscd/nscd_netgroup.c: New file.
23234 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23235 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23236 For four parameters use innetgr.
23237 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23238 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23239 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23240 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23241
21fd49a9
UD
23242 * nscd/connections.c (register_traced_file): Don't register file
23243 for disabled databases.
23244
054c0457
UD
232452011-10-06 Ulrich Drepper <drepper@gmail.com>
23246
32b63198
UD
23247 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23248
054c0457
UD
23249 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23250 from tree and freeing node.
23251
64031225
JO
232522011-09-25 Jiri Olsa <jolsa@redhat.com>
23253
23254 * nss/nsswitch.c (__nss_database_lookup): Handle
23255 nss_parse_service_list out of memory case.
23256
0490345c
JO
232572011-09-15 Jiri Olsa <jolsa@redhat.com>
23258
23259 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23260 out of memory case.
23261
3a62d00d
AS
232622011-10-04 Andreas Schwab <schwab@redhat.com>
23263
23264 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23265 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23266 pass it down.
23267 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23268 elf_machine_rela, elf_machine_lazy_rel.
23269 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23270 (ELF_DYNAMIC_DO_REL): Likewise.
23271 (ELF_DYNAMIC_DO_RELA): Likewise.
23272 (ELF_DYNAMIC_RELOCATE): Likewise.
23273 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23274 to ELF_DYNAMIC_DO_REL.
23275 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23276 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23277 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23278 elf_machine_rela.
23279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23280 skip_ifunc, don't call ifunc function if non-zero.
23281 (elf_machine_rela): Likewise.
23282 (elf_machine_lazy_rel): Likewise.
23283 (elf_machine_lazy_rela): Likewise.
23284 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23285 (elf_machine_lazy_rel): Likewise.
23286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23287 Likewise.
23288 (elf_machine_lazy_rel): Likewise.
23289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23290 Likewise.
23291 (elf_machine_lazy_rel): Likewise.
23292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23293 (elf_machine_lazy_rel): Likewise.
23294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23295 (elf_machine_lazy_rel): Likewise.
23296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23297 (elf_machine_lazy_rel): Likewise.
23298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23299 (elf_machine_lazy_rel): Likewise.
23300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23301 (elf_machine_lazy_rel): Likewise.
23302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23303 (elf_machine_lazy_rel): Likewise.
23304
68577918
UD
233052011-09-28 Ulrich Drepper <drepper@gmail.com>
23306
23307 * nss/nss_files/files-init.c (_nss_files_init): Use static
23308 initialization for all the *_traced_file variables.
23309
68822d74
AS
233102011-09-28 Andreas Schwab <schwab@redhat.com>
23311
23312 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23313
2056100b
RM
233142011-09-27 Roland McGrath <roland@hack.frob.com>
23315
23316 [BZ #13226]
23317 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23318
32c76b63
AS
233192011-09-27 Andreas Schwab <schwab@redhat.com>
23320
23321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23322 Reread the line before reparsing it.
23323
bf972c9d
AS
233242011-09-26 Andreas Schwab <schwab@redhat.com>
23325
23326 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23327
e057a1b5
JM
233282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23329 Maxim Kuvyrkov <maxim@codesourcery.com>
23330 Joseph Myers <joseph@codesourcery.com>
23331
23332 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23333 if needed for __stack_chk_guard.
23334
bc7e1c36
RM
233352011-09-19 Roland McGrath <roland@hack.frob.com>
23336
ecb1482f
RM
23337 * sysdeps/posix/spawni.c (script_execute): Always define it.
23338 It will be optimized away if unused.
23339 (maybe_script_execute): New function.
23340 (__spawni): Call it.
23341
bc7e1c36
RM
23342 * Makerules: Don't include tls.make.
23343 (config-tls): Always set to thread.
23344 * tls.make.c: File removed.
23345
1c3b002b
MF
233462011-09-19 Mike Frysinger <vapier@gentoo.org>
23347
23348 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23349 * config.make.in (CPPFLAGS-config): New substituted variable.
23350
2840865d
UD
233512011-09-15 Ulrich Drepper <drepper@gmail.com>
23352
88738eb6
UD
23353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23354
cbf645a6 23355 [BZ #13192]
2840865d
UD
23356 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23357 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23358
b402e91a
RM
233592011-09-15 Roland McGrath <roland@hack.frob.com>
23360
23361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23362 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23364 (CALL_FAIL): Likewise.
23365 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23366 (CALL_FAIL): Macro removed.
23367 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23368
4c1a1f71
UD
233692011-09-15 Ulrich Drepper <drepper@gmail.com>
23370
23371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23372 for __FINITE_MATH_ONLY__ == 1.
23373
edc121be
AS
233742011-09-15 Andreas Schwab <schwab@redhat.com>
23375
23376 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23377 __ieee754_sqrt instead of sqrt.
23378 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23379 __ieee754_sqrtf instead of sqrtf.
23380 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23381 __floorf instead of floorf.
23382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23383 __floorf, __truncf instead of floorf, truncf.
23384
cd205654
UD
233852011-09-14 Ulrich Drepper <drepper@gmail.com>
23386
ee4d0315
UD
23387 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23388
cd205654
UD
23389 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23390 __extern_always_inline.
23391 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23392 32-bit.
23393
48b67d71
AS
233942011-09-14 Andreas Schwab <schwab@redhat.com>
23395
23396 * elf/rtld.c (dl_main): Also relocate in dependency order when
23397 doing symbol dependency testing.
23398
1ae12c75
AS
233992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23400
23401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23402 Always define `refsym'.
23403
995a80df
AS
234042011-09-13 Andreas Schwab <schwab@redhat.com>
23405
e529793b
AS
23406 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23407 (__FD_ELT): Renamed from __FDELT.
23408 * misc/bits/select2.h (__FD_ELT): Likewise.
23409 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23410 __FD_MASK instead of __FDELT, __FDMASK.
23411 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23412 Likewise.
23413 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23414 Likewise.
23415
52d4fef8
AS
23416 * elf/Makefile (gen-ldd): Fix pattern.
23417
995a80df
AS
23418 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23419 (init_tls): Likewise.
23420
8682f8b0
UD
234212011-09-12 Ulrich Drepper <drepper@gmail.com>
23422
23423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23424
de82006d
AS
234252011-09-12 Andreas Schwab <schwab@redhat.com>
23426
a7c8e6a1
AS
23427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23428 `struct cmsghdr *' instead of `void *'.
23429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23430 Likewise.
23431
0f31fe77
AS
234322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23433
23434 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23435 if non-absolute.
23436 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23437 ldd_rewrite_script.
0f31fe77 23438
32b4c839
UD
234392011-09-11 Ulrich Drepper <drepper@gmail.com>
23440
83cd1420
UD
23441 * configure.in: Remove --with-tls option.
23442 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23443 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23444 out in case it is missing.
23445 * sysdeps/ia64/elf/configure.in: Likewise.
23446 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23447 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23448 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23449 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23450 * sysdeps/sh/elf/configure.in: Likewise.
23451 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23453 * sysdeps/x86_64/elf/configure.in: Likewise.
23454 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23455 * sysdeps/mach/hurd/tls.h: Likewise.
23456
633f745d
UD
23457 [BZ #13067]
23458 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23459
f318beb8
UD
23460 [BZ #13090]
23461 * configure.in: Fix use of AC_INIT.
23462
32b4c839
UD
23463 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23464
3ce1f295
UD
234652011-09-10 Ulrich Drepper <drepper@gmail.com>
23466
bb016596
UD
23467 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23468 __set_errno.
8e58439c
UD
23469 * malloc/hooks.c: Likewise.
23470
aebae053 23471 [BZ #11929]
02d46fc4
UD
23472 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23473 variables statically.
23474 (narenas): Initialize.
23475 (list_lock): Initialize.
bb016596
UD
23476 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23477 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23478 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23479 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23480 Add initializers to main_arena and mp_.
23481 (malloc_state): Remove pagesize member. Change all users to use
23482 GLRO(dl_pagesize).
23483
23484 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23485 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23486 is always initialized.
23487
22a89187
UD
23488 * malloc/malloc.c: Removed unused configurations and dead code.
23489 * malloc/arena.c: Likewise.
23490 * malloc/hooks.c: Likewise.
02d46fc4 23491 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23492
d063d164
UD
23493 * include/tls.h: Removed. USE___THREAD must always be defined.
23494 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23495 * elf/dl-libc.c: Likewise.
23496 * elf/dl-tsd.c: Likewise.
23497 * include/errno.h: Likewise.
23498 * include/netdb.h: Likewise.
23499 * include/resolv.h: Likewise.
23500 * inet/herrno-loc.c: Likewise.
23501 * inet/herrno.c: Likewise.
23502 * malloc/arena.c: Likewise.
23503 * malloc/hooks.c: Likewise.
23504 * malloc/malloc.c: Likewise.
23505 * resolv/res-state.c: Likewise.
23506 * resolv/res_libc.c: Likewise.
23507 * sysdeps/i386/dl-machine.h: Likewise.
23508 * sysdeps/ia64/dl-machine.h: Likewise.
23509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23513 * sysdeps/sh/dl-machine.h: Likewise.
23514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23516 * sysdeps/unix/i386/sysdep.S: Likewise.
23517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23518 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23523 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23528 * sysdeps/x86_64/dl-machine.h: Likewise.
23529 * tls.make.c: Likewise.
23530
3ce1f295
UD
23531 * configure.in: Remove --with-__thread option. Make tests for
23532 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23533 tls_model attribute fail if no support is available. Remove
23534 USE_IN_LIBIO.
23535 * Makeconfig: Adjust for dropped configure option. All features are
23536 now mandatory.
23537 * Makerules: Likewise.
23538 * Versions.def: Likewise.
23539 * argp/argp-fmtstream.c: Likewise.
23540 * argp/argp-fmtstream.h: Likewise.
23541 * argp/argp-help.c: Likewise.
23542 * assert/assert.c: Likewise.
23543 * config.h.in: Likewise.
23544 * config.make.in: Likewise.
23545 * configure: Likewise.
23546 * configure.in: Likewise.
23547 * csu/Versions: Likewise.
23548 * csu/init.c: Likewise.
23549 * elf/tst-audit2.c: Likewise.
23550 * elf/tst-tls10.c: Likewise.
23551 * elf/tst-tls10.h: Likewise.
23552 * elf/tst-tls11.c: Likewise.
23553 * elf/tst-tls12.c: Likewise.
23554 * elf/tst-tls14.c: Likewise.
23555 * elf/tst-tlsmod11.c: Likewise.
23556 * elf/tst-tlsmod12.c: Likewise.
23557 * elf/tst-tlsmod13.c: Likewise.
23558 * elf/tst-tlsmod13a.c: Likewise.
23559 * elf/tst-tlsmod14a.c: Likewise.
23560 * elf/tst-tlsmod15b.c: Likewise.
23561 * elf/tst-tlsmod16a.c: Likewise.
23562 * elf/tst-tlsmod16b.c: Likewise.
23563 * elf/tst-tlsmod7.c: Likewise.
23564 * elf/tst-tlsmod8.c: Likewise.
23565 * elf/tst-tlsmod9.c: Likewise.
23566 * gmon/gmon.c: Likewise.
23567 * grp/fgetgrent_r.c: Likewise.
23568 * grp/putgrent.c: Likewise.
23569 * hurd/fopenport.c: Likewise.
23570 * include/libc-symbols.h: Likewise.
23571 * include/tls.h: Likewise.
23572 * intl/gettextP.h: Likewise.
23573 * intl/loadinfo.h: Likewise.
23574 * locale/global-locale.c: Likewise.
23575 * locale/localeinfo.h: Likewise.
23576 * mach/devstream.c: Likewise.
23577 * malloc/arena.c: Likewise.
23578 * malloc/set-freeres.c: Likewise.
23579 * misc/err.c: Likewise.
23580 * misc/getttyent.c: Likewise.
23581 * misc/mntent_r.c: Likewise.
23582 * posix/getopt.c: Likewise.
23583 * posix/wordexp.c: Likewise.
23584 * pwd/fgetpwent_r.c: Likewise.
23585 * resolv/Versions: Likewise.
23586 * resolv/res_hconf.c: Likewise.
23587 * shadow/fgetspent_r.c: Likewise.
23588 * shadow/putspent.c: Likewise.
23589 * stdio-common/printf_fphex.c: Likewise.
23590 * stdio-common/tmpfile.c: Likewise.
23591 * stdlib/abort.c: Likewise.
23592 * stdlib/fmtmsg.c: Likewise.
23593 * sunrpc/auth_unix.c: Likewise.
23594 * sunrpc/clnt_perr.c: Likewise.
23595 * sunrpc/clnt_tcp.c: Likewise.
23596 * sunrpc/clnt_udp.c: Likewise.
23597 * sunrpc/clnt_unix.c: Likewise.
23598 * sunrpc/openchild.c: Likewise.
23599 * sunrpc/svc_simple.c: Likewise.
23600 * sunrpc/svc_tcp.c: Likewise.
23601 * sunrpc/svc_udp.c: Likewise.
23602 * sunrpc/svc_unix.c: Likewise.
23603 * sunrpc/xdr.c: Likewise.
23604 * sunrpc/xdr_array.c: Likewise.
23605 * sunrpc/xdr_rec.c: Likewise.
23606 * sunrpc/xdr_ref.c: Likewise.
23607 * sunrpc/xdr_stdio.c: Likewise.
23608
1248c1c4
PB
236092011-09-09 Ulrich Drepper <drepper@gmail.com>
23610
23611 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23612
236132011-07-03 Andreas Jaeger <aj@suse.de>
23614
23615 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23616 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23617 regenerate with gen-libm-tests.pl.
23618
236192010-05-12 Petr Baudis <pasky@suse.cz>
23620
23621 [BZ #11589]
23622 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23623 around j0() zero points by switching to j1().
23624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23628
f22e1074
UD
236292011-09-09 Ulrich Drepper <drepper@gmail.com>
23630
f19009c1
UD
23631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23632 instead of 0.
23633 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23634 instead of 0.
f19009c1
UD
23635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23636 Patch in part by Pavel Roskin <proski@gnu.org>.
23637
3f8cc204
UD
23638 [BZ #13138]
23639 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23640 realloc.
23641 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23642 Free memory block if necessary.
23643
f22e1074
UD
23644 [BZ #12847]
23645 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23646 be NULL. Don't lock in this case.
23647
0a2349f9
RM
236482011-09-09 Roland McGrath <roland@hack.frob.com>
23649
23650 * elf/elf.h (ELFOSABI_GNU): New macro.
23651 (ELFOSABI_LINUX): Define to that.
23652
f3cdd467
DZ
236532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23654
23655 * string/strncat.c (strncat): Undef the symbol in case it has been
23656 defined in bits/string.h.
23657
74718d13
UD
236582011-09-09 Ulrich Drepper <drepper@gmail.com>
23659
633e9e0f
UD
23660 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23661
0a2349f9 23662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23663 link map.
23664
f9924780
AJ
236652011-08-17 Andreas Jaeger <aj@suse.de>
23666
23667 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23668
7f5517aa
PP
236692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23670 Ian Lance Taylor <iant@google.com>
23671
23672 * math/libm-test.inc (lround_test): New testcase.
23673 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23674
762011fe
UD
236752011-09-08 Ulrich Drepper <drepper@gmail.com>
23676
92963737
UD
23677 * Makefile: Remove support for automatic cvs check-ins.
23678 * Makerules: Likewise.
23679 * config.make.in: Likewise.
23680 * configure.in: Likewise.
23681 * intl/Makefile: Likewise.
23682 * locale/Makefile: Likewise.
23683 * po/Makefile: Likewise.
23684 * posix/Makefile: Likewise.
23685 * sysdeps/gnu/Makefile: Likewise.
23686 * sysdeps/mach/hurd/Makefile: Likewise.
23687 * sysdeps/sparc/sparc32/Makefile: Likewise.
23688
b0727fd8
JS
23689 [BZ #13118]
23690 * posix/Makefile (bug-regex32-ENV): Define.
23691 Patch by John Stanley <jpsinthemix@verizon.net>.
23692
a0f33f99
UD
23693 * misc/Makefile (headers): Add bits/select2.h.
23694 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23695 * misc/bits/select2.h: New file.
23696 * include/bits/select2.h: New file.
23697 * debug/Makefile (routines): Add fdelt_chk.
23698 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23699 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23700 FD_ISSET.
23701 * debug/fdelt_chk.c: New file.
23702
762011fe
UD
23703 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23704 * wcsmbs/test-wmemcmp.c: Likewise.
23705 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23706 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23707
237082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23709
23710 * string/Makefile (strop-tests): Add memcmp.
23711 * string/test-wmemcmp.c: New file.
23712 * string/test-memcmp.c: Add wmemcmp support.
23713
7f513ec8
RM
237142011-09-08 Roland McGrath <roland@hack.frob.com>
23715
0442afb4
RM
23716 [BZ #13153]
23717 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23718 2011-07-19 change.
23719
7f513ec8
RM
23720 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23721 garbage value in a __mach_port_mod_refs call in the cases of the
23722 task-self and thread-self ports.
23723
a12b2239
ST
237242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23725
23726 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23727
610f9ab4
AS
237282011-09-08 Andreas Schwab <schwab@redhat.com>
23729
7f513ec8 23730 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23731
48882a1a
LD
237322011-09-07 Ulrich Drepper <drepper@gmail.com>
23733
b49865be
UD
23734 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23735
fdc86bc9
UD
23736 * elf/dl-libc.c (dlerror_run): Pass back error code from
23737 dl_catch_error.
23738
c966526a
UD
23739 [BZ #13123]
23740 * elf/dl-load.c (lose): Free l_origin if it is valid.
23741
48882a1a
LD
23742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23743 names.
23744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23749 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23750
77a2a8b4
AZ
237512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23752
23753 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23754 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23757 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23758 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23759 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23760 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23761 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23762 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23763
24f579d8
AM
237642011-08-15 Alan Modra <amodra@gmail.com>
23765
23766 [BZ #13092]
23767 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23768 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23769 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23770 ppc_mcount to static-only-routines.
23771 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23772 __mcount_internal.
23773 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23774 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23775
3d4837df
UD
237762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23777
23778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23779 for finite and infinity parameters.
23780
22700377
WS
237812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23782
23783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23784 and add nop instructions for throughput optimization.
23785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23786
5025581e
WS
237872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23788
23789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23790 aligned copy for power7 with vector-scalar instructions.
23791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23792
08a300c9
L
237932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23796 AVX check.
23797
59178ef9
AS
237982011-09-07 Andreas Schwab <schwab@redhat.com>
23799
23800 [BZ #13144]
23801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23802 last change.
23803
e38ba7ab
UD
238042011-09-07 Ulrich Drepper <drepper@gmail.com>
23805
23806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23807 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23808 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23810 clock_gettime.
23811
d53a73ac
UD
238122011-09-06 Ulrich Drepper <drepper@gmail.com>
23813
fc8bffcc
UD
23814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23815 Forgot to demangle the pointer.
23816
ceaa0c5d
UD
23817 * sysdeps/i386/sysdep.h: Define atom_text_section.
23818 * sysdeps/x86_64/sysdep.h: Likewise.
23819 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23820 section with atom_text_section.
23821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23826
a77d3c17
UD
23827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23829 already be defined. Change to take two parameters and don't assign
23830 result to variable. Adjust all users.
23831 Define INTERNAL_GETTIME if not already defined.
23832 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23833 call.
23834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23835 HAVE_CLOCK_GETTIME_VSYSCALL.
23836 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23837
d53a73ac
UD
23838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23839 gettimeofday vsyscall, just use time.
23840
a8f84144
AS
238412011-09-06 Andreas Schwab <schwab@redhat.com>
23842
23843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23844 <errno.h>.
23845
ef606249
UD
238462011-09-06 Ulrich Drepper <drepper@gmail.com>
23847
23848 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23849 syscall on x86-64.
23850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23851 syscall.
23852 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23854 syscall if possible.
23855
6585cb60
UD
238562011-09-05 Ulrich Drepper <drepper@gmail.com>
23857
23858 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23859 e_ident. Don't pass to find_mapsXX.
23860 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23861
a5f524e4
LD
238622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23863
23864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23865 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23866 * sysdeps/x86_64/multiarch/strchr.S: Update.
23867 Check bit_slow_BSF bit.
23868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23871
554881ef
UD
238722011-09-05 Ulrich Drepper <drepper@gmail.com>
23873
d96de963
UD
23874 [BZ #13134]
23875 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23876 before glibc 2.15.
23877 (tryshell): Define.
23878 (__spawni): Change last parameter to be flag. Test
23879 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23880 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23881 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23882 * posix/spawni.c: Likewise.
23883 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23884 * posix/spawnp.c: Likewise. Change normal version to use
23885 SPAWN_XFLAGS_USE_PATH.
23886 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23887 SPAWN_XFLAGS_TRY_SHELL.
23888
d48e5868
UD
23889 [BZ #13150]
23890 * posix/glob.h: Remove gcc 1.x support.
23891
554881ef
UD
23892 [BZ #13068]
23893 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23894
693fb948
LD
238952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23896
23897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23898 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23899 strrchr-sse2-bsf
23900 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23901 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23906
1b48c537
UD
239072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23908
49d42c37
UD
23909 * sysdeps/x86_64/wcscmp.S: New file.
23910
1b48c537
UD
23911 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23912 wcscmp-c wcscmp-sse2
23913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23914 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23916 * wcsmbs/wcscmp.c: Allow renaming.
23917
15c95c5d
DM
239182011-09-05 David S. Miller <davem@davemloft.net>
23919
23920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23921 stack slot, rather than the struct return pointer slot.
23922 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23926
2f0ad8f3
UD
239272011-09-05 Ulrich Drepper <drepper@gmail.com>
23928
d88ae418
UD
23929 * po/ja.po: Update from translation team.
23930
2f0ad8f3
UD
23931 [BZ #13144]
23932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23933 kernel in 64-bit binaries.
23934
5f4318d1
DM
239352011-09-01 David S. Miller <davem@davemloft.net>
23936
23937 * elf/elf.h (HWCAP_SPARC_*): Move to..
23938 * sysdeps/sparc/sysdep.h: this new file and add new values.
23939 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23940 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23941 _DL_HWCAP_COUNT to 24.
23942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23943 entries.
23944 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23945 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23946 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23948 instead of magic constants.
23949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23950
3ba57516
DM
239512011-08-31 David S. Miller <davem@davemloft.net>
23952
23953 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23955 Reimplement to do errno handling inline.
23956 (SYSCALL_ERROR_HANDLER): New macro.
23957 (__SYSCALL_STRING): Do not do errno handling in asm.
23958 (__CLONE_SYSCALL_STRING): Delete.
23959 (__INTERNAL_SYSCALL_STRING): Delete.
23960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23961 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23962 (PSEUDO): Reimplement to do errno handling inline.
23963 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23964 (SYSCALL_ERROR_HANDLER): New macro.
23965 (__SYSCALL_STRING): Do not do errno handling in asm.
23966 (__CLONE_SYSCALL_STRING): Delete.
23967 (__INTERNAL_SYSCALL_STRING): Delete.
23968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23969 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23970 i386.
23971 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23972 (inline_syscall*): Add 'err' argument.
23973 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23974 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23975 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23976 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23977
23978 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23980
2bc17433
AS
239812011-08-30 Andreas Schwab <schwab@redhat.com>
23982
23983 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23984
fbeb5f4d
JO
239852011-08-29 Jiri Olsa <jolsa@redhat.com>
23986
23987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23988 directive.
23989
ad69cc26
DM
239902011-08-24 David S. Miller <davem@davemloft.net>
23991
23992 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23993
39dd69df
AS
239942011-08-24 Andreas Schwab <schwab@redhat.com>
23995
23996 * elf/Makefile: Add rules to build and run unload8 test.
23997 * elf/unload8.c: New file.
23998 * elf/unload8mod1.c: New file.
23999 * elf/unload8mod1x.c: New file.
24000 * elf/unload8mod2.c: New file.
24001 * elf/unload8mod3.c: New file.
24002
24003 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24004 it wasn't used.
24005
2c0b250a
DM
240062011-08-23 David S. Miller <davem@davemloft.net>
24007
24008 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24009 subtract stack bias.
24010 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24011 %sp not %fp in calculations.
24012 (_JMPBUF_UNWINDS_ADJ): Likewise.
24013
22044b48
DM
24014 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24015 (aio_suspend): Call it to force an exception region around the
24016 AIO_MISC_WAIT() invocation.
24017
2cae4995
AS
240182011-08-23 Andreas Schwab <schwab@redhat.com>
24019
24020 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24021 backslash.
24022
873a772e
AJ
240232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24024
24025 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24026 protection macro.
24027 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24028 and <dl-machine.h>.
24029 (Elf64_FuncDesc): Remove.
24030
25ad0df1
DM
240312011-08-22 David S. Miller <davem@davemloft.net>
24032
24033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24034 sigaltstack check, add missing cfi directives.
24035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24036 missing cfi directives, and sigaltstack handling.
24037
e888bcbe
AS
240382011-08-16 Andreas Schwab <schwab@redhat.com>
24039
24040 [BZ #11724]
24041 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24042 object is seen twice.
24043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24044
24045 * elf/Makefile (distribute): Add tst-initorder2.c.
24046 (tests): Add tst-initorder2.
24047 (modules-names): Add tst-initorder2a tst-initorder2b
24048 tst-initorder2c tst-initorder2d. Add rules to build them.
24049 ($(objpfx)tst-initorder2.out): New rule.
24050 * elf/tst-initorder2.c: New file.
24051 * elf/tst-initorder2.exp: New file.
24052
87162f46
AS
240532011-08-22 Andreas Schwab <schwab@redhat.com>
24054
70538b7f
AS
24055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24056
f55ffe58
AS
24057 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24058 dependencies back to end of function.
24059
87162f46
AS
24060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24061 $(elfobjdir)/ld.so.
24062
91b392a4
UD
240632011-08-21 Ulrich Drepper <drepper@gmail.com>
24064
24065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24066 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24068 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24069 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24070 of __vdso_gettimeofday.
24071 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24072 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24073 attribute_hidden.
24074 (_libc_vdso_platform_setup): Remove initialization of
24075 __vdso_gettimeofday and __vdso_time.
24076
5c43483f
UD
240772011-08-20 Ulrich Drepper <drepper@gmail.com>
24078
775a77e7
UD
24079 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24080 and fgetc_unlocked.
24081 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24082 getc_unlocked.
89f447ed 24083
49c74ba9
UD
24084 * elf/dl-open.c (add_to_global): Report additions to the global scope
24085 for LD_DEBUG=scopes.
24086 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24087 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24088
5c43483f
UD
24089 [BZ #13114]
24090 * stdio-common/Makefile (tests): Add bug24.
24091 * stdio-common/bug24.c: New file.
24092
a101b025
AJ
240932011-08-19 Andreas Jaeger <aj@suse.de>
24094
24095 [BZ #13114]
24096 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24097 non-existant file when using close-on-exec mode.
24098
c88f1766
UD
240992011-08-20 Ulrich Drepper <drepper@gmail.com>
24100
0276a718
UD
24101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24102 the very first instruction.
24103
c88f1766
UD
24104 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24105 the CFI state in the end.
24106 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24107 inclusion of dl-trampoline.h.
24108 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24109
51ccffa0
AS
241102011-08-19 Andreas Schwab <schwab@redhat.com>
24111
94d7165f
AS
24112 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24113 expectations for long double.
24114
51ccffa0
AS
24115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24116 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24117
fd708658 241182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24119
24120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24121 artificual limit depends upon the system page size.
24122
44f0a71e
UD
241232011-08-17 Ulrich Drepper <drepper@gmail.com>
24124
24125 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24126 * resolv/Makefile: Define CFLAGS-libresolv.
24127
8de79a24
AS
241282011-08-17 Andreas Schwab <schwab@redhat.com>
24129
24130 * nss/makedb.c (compute_tables): Make variables used in nested
24131 function static.
24132
27724598
UD
241332011-08-17 Ulrich Drepper <drepper@gmail.com>
24134
c5305d88
UD
24135 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24136 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24137 if buffer was too small.
24138
27724598
UD
24139 * elf/pldd.c (main): Attach to all threads in the process.
24140 Rewrite /proc handling to use *at functions.
24141
076fe015
UD
241422011-08-16 Ulrich Drepper <drepper@gmail.com>
24143
174baab3
UD
24144 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24145 specifies first scope to show.
24146 (dl_open_worker): Update callers. Move printing scope of new
24147 object to before the relocation.
44f0a71e 24148 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24149 * sysdeps/generic/ldsodefs.h: Update declaration.
24150
076fe015
UD
24151 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24152 string for the scope number.
24153
a60df2c3
UD
241542011-08-14 Ulrich Drepper <drepper@gmail.com>
24155
24156 * nscd/servicescache.c (cache_addserv): Make sure written is always
24157 initialized.
24158
5e4287d1
RM
241592011-08-14 Roland McGrath <roland@hack.frob.com>
24160
85ae0589
RM
24161 * sysdeps/i386/i486/bits/atomic.h
24162 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24163 statement expression, so as to suppress "set but not used" warning.
24164 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24165
69f63097
RM
24166 * string/strncat.c (STRNCAT): Use prototype definition.
24167
675456ef
RM
24168 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24169 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24170 -Iprograms here.
24171 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24172 (localedef-modules): Add localedef.
24173 (locale-modules): Add locale.
24174
5e4287d1
RM
24175 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24176 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24177 to avoid a warning.
24178
9c96ff23
DM
241792011-08-14 David S. Miller <davem@davemloft.net>
24180
24181 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24182 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24183
f9ddf089
UD
241842011-08-13 Ulrich Drepper <drepper@gmail.com>
24185
44f0a71e 24186 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24187 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24188 * elf/rtld.c (dl_main): Set l_name of vDSO.
24189 Call _dl_show_scope when DL_DEBUG_SCOPES.
24190 (process_dl_debug): Recognize scopes flag and also set it for all.
24191 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24192 Declare _dl_show_scope.
24193
1dc27704
UD
24194 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24195 (do_dlopen): Pass caller_dlopen to dl_open.
24196 (__libc_dlopen_mode): Initialize caller_dlopen.
24197
f9ddf089
UD
24198 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24199 of libc. Make tolower call locale-independent. Optimize a bit by
24200 using isdigit instead of isalnum.
24201 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24202
9ac533d3
UD
242032011-08-12 Ulrich Drepper <drepper@gmail.com>
24204
24205 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24206 was a dependency or dynamically loaded.
24207
89edf2e9
UD
242082011-08-11 Ulrich Drepper <drepper@gmail.com>
24209
8e999d29
UD
24210 * intl/l10nflist.c: Allow architecture-specific pop function.
24211 * sysdeps/x86_64/l10nflist.c: New file.
24212
89edf2e9
UD
24213 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24214 classification.
24215
14d96785
AS
242162011-08-10 Andreas Schwab <schwab@redhat.com>
24217
24218 * include/dirent.h: Add libc_hidden_proto for scandirat and
24219 scandirat64. Don't declare __scandirat64.
24220 * dirent/scandirat.c: Add libc_hidden_def.
24221 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24222 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24223
6761ac04
DM
242242011-08-10 David S. Miller <davem@davemloft.net>
24225
24226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24227 enum.
24228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24231
c55fbd1e
UD
242322011-08-09 Ulrich Drepper <drepper@gmail.com>
24233
24234 * Versions.def [libc]: Add GLIBC_2.15.
24235 * dirent/Makefile (routines): Add scandirat and scandirat64.
24236 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24237 GLIBC_2.15.
24238 * dirent/dirent.h: Declare scandirat and scandirat64.
24239 * dirent/scandirat.c: New file.
24240 * dirent/scandirat64.c: New file.
24241 * sysdeps/wordsize-64/scandirat.c: New file.
24242 * sysdeps/wordsize-64/scandirat64.c: New file.
24243 * dirent/opendir.c: Define opendirat.
24244 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24245 using scandirat.
24246 * dirent/scandir64.c: Adjust for scandir.c change.
24247 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24248 __scandirat64, and __scandir_cancel_handler.
24249 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24250 additional parameter and use openat instead of open (outside of ld.so).
24251 Add new __opendir as wrapper around __opendirat.
24252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24253 here without requiring old scandirat implementation.
24254
879165f2
UD
242552011-08-08 Ulrich Drepper <drepper@gmail.com>
24256
24257 * dirent/scandir.c (cancel_handler): Renamed to
24258 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24259 defined. Adjust users.
24260 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24262
cb7e923b
UD
242632011-08-04 Ulrich Drepper <drepper@gmail.com>
24264
16292edd
UD
24265 * string/test-string.h (IMPL): Use __STRING to expand name and then
24266 stringify it.
24267
cb7e923b
UD
24268 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24269 of cleanups.
24270
cff82933
LD
242712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24272
24273 * string/Makefile: Update.
24274 (strop-tests): Append strncat.
24275 * string/test-wcscmp.c: New file.
24276 New comprehensive test for wcscmp.
24277 * string/test-strcmp.c: Update.
24278 (WIDE): New define.
24279
9be9bfcc
AS
242802011-07-22 Andreas Schwab <schwab@redhat.com>
24281
24282 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24283 line.
24284
2e96f1c7
AS
242852011-07-26 Andreas Schwab <schwab@redhat.com>
24286
24287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24288 encoding to ACE if AI_IDN.
24289
85188888
JJ
242902011-08-01 Jakub Jelinek <jakub@redhat.com>
24291
24292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24293 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24294
5fa16e9b
LD
242952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24296
24297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24298 Fix overflow bug in strncat.
24299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24300
24301 * string/test-strncat.c: Update.
24302 Add new tests for checking overflow bugs.
24303
243042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24305
24306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24307 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24308 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24309 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24311 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24312 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24313 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24314 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24315
24316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24317 (USE_AS_STRCAT): Define.
24318 Add strcat and strncat support.
24319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24320
8c1a459f
AS
243212011-07-25 Andreas Schwab <schwab@redhat.com>
24322
24323 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24324 __n bigger than INT_MAX+1.
24325 (__strncmp_g): Likewise.
24326
bba33c28
UD
243272011-07-23 Ulrich Drepper <drepper@gmail.com>
24328
798be72d
UD
24329 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24330 * libio/stido.h: Likewise.
24331
8accd4dc
UD
24332 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24333 (AF_NFC): Define.
24334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24335 (AF_NFC): Define.
24336
cbff0d96
UD
24337 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24342
9191c04a
UD
24343 [BZ #13021]
24344 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24345 installed.
24346
bba33c28
UD
24347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24348 typo.
24349 (_dl_x86_64_save_sse): Likewise.
24350
90f139dd
UD
243512011-07-22 Ulrich Drepper <drepper@gmail.com>
24352
1aae088a
UD
24353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24354 OSXSAVE.
24355 (_dl_x86_64_save_sse): Likewise.
24356
8e2045f5
UD
24357 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24358
90f139dd
UD
24359 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24360
1d002f25
AS
243612011-07-21 Andreas Schwab <schwab@redhat.com>
24362
24363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24364 change.
24365 (_dl_x86_64_save_sse): Use correct AVX check.
24366
21137f89
UD
243672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24368
24369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24370 bug in strncpy/strncat.
24371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24372
a65c0b7a
UD
243732011-07-21 Ulrich Drepper <drepper@gmail.com>
24374
24375 * string/tester.c (test_strcat): Add tests for different alignments
24376 of source and destination.
24377 (test_strncat): Likewise.
24378
6986b98a
UD
243792011-07-20 Ulrich Drepper <drepper@gmail.com>
24380
90bb2039
UD
24381 [BZ #12852]
24382 * posix/glob.c (glob): Check passed in values before using them in
24383 expressions to avoid some overflows.
24384 (glob_in_dir): Likewise.
24385
5644ef54
UD
24386 [BZ #13007]
24387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24388 check for AVX enablement so that we don't crash with old kernels and
24389 new hardware.
24390 * elf/tst-audit4.c: Add same checks here.
24391 * elf/tst-audit6.c: Likewise.
24392
24393 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24394
bfc9dc9b
AS
243952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24396
24397 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24398
702e64bb
UD
243992011-07-20 Ulrich Drepper <drepper@gmail.com>
24400
24401 * po/cs.po: Update from translation team.
24402 * po/bg.po: Likewise.
24403
295e904f
MP
244042011-07-12 Marek Polacek <mpolacek@redhat.com>
24405
24406 * misc/sys/cdefs.h: Add support for const attribute.
24407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24408 to gnu_dev_{major,minor,makedev} functions.
24409
3ff94596
MP
244102011-07-20 Marek Polacek <mpolacek@redhat.com>
24411
24412 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24413
28b59fca
AS
244142011-07-20 Andreas Schwab <schwab@redhat.com>
24415
24416 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24417 strlen results.
24418
19df733e
AK
244192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24420
24421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24422 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24423 register in order to avoid conflicts with the soft frame pointer
24424 being held in r11 when necessary.
24425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24426 (INTERNAL_VSYSCALL_NCS): Likewise.
24427
c8835729
MP
244282011-07-14 Marek Polacek <mpolacek@redhat.com>
24429
24430 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24431 * elf/dl-fini.c (_dl_fini): Adjust caller.
24432 * elf/dl-close.c (_dl_close_worker): Likewise.
24433 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24434
b902330c
MP
244352011-07-15 Marek Polacek <mpolacek@redhat.com>
24436
8991e135
MP
24437 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24438 "aux_cache->nlibs < 0".
24439
b902330c
MP
24440 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24441 in the reload-count case.
24442
99710781
LD
244432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24444
24445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24446 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24447 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24449 * sysdeps/x86_64/multiarch/strcat.S: New file.
24450 * sysdeps/x86_64/multiarch/strncat.S: New file.
24451 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24453 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24454 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24456 (USE_AS_STRCAT): Define.
24457 Add strcat and strncat support.
24458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24460 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24461 * string/strncat.c: Update.
24462 (USE_AS_STRNCAT): Define.
24463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24464 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24465 and i7.
24466 * sysdeps/x86_64/multiarch/init-arch.h
24467 (bit_Prefer_PMINUB_for_stringop): New.
24468 (index_Prefer_PMINUB_for_stringop): Likewise.
24469 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24470 bit_Prefer_PMINUB_for_stringop.
24471
7dc6bd90
UD
244722011-07-19 Ulrich Drepper <drepper@gmail.com>
24473
24474 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24475 buffer64.
24476 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24477 of casting of buffer.
24478 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24479 buffer32 and buffer64.
24480 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24481 writes instead of casting of buffer.
24482 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24483 buffer32.
24484 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24485 casting of buffer.
24486
e0e72284
AS
244872011-07-19 Andreas Schwab <schwab@redhat.com>
24488
24489 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24490
feb1eb0b
UD
244912011-07-19 Ulrich Drepper <drepper@gmail.com>
24492
24493 * nscd/nscd.c (termination_handler): Don't do anything for a database
24494 if it has not yet been initialized.
24495
298711ff
UD
244962011-07-18 Ulrich Drepper <drepper@gmail.com>
24497
24498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24499
245002011-07-15 Marek Polacek <mpolacek@redhat.com>
24501
24502 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24503
f9d68389
UD
245042011-07-18 Ulrich Drepper <drepper@gmail.com>
24505
24506 * po/nl.po: Update from translation team.
24507 * po/sv.po: Likewise.
24508
db290cf5
RM
245092011-07-16 Roland McGrath <roland@hack.frob.com>
24510
24511 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24512 now disallowed by GCC.
5c550700 24513
fd5e21c7
RM
24514 * configure.in (use-default-link): Default to yes if a test -shared
24515 link meets our qualifications.
24516 * configure: Regenerated.
24517
5c550700
RM
24518 * config.make.in (output-format): New variable.
24519 * configure.in: Check for ld --print-output-format support.
24520 * configure: Regenerated.
24521 * Makerules ($(common-objpfx)format.lds)
24522 [$(output-format) != unknown]: Just use $(output-format),
24523 instead of the linker-script munging.
24524
9fa2c032
RM
245252011-07-14 Roland McGrath <roland@hack.frob.com>
24526
a6928d51
RM
24527 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24528 of $(common-objpfx)shlib.lds.
24529 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24530
661607b3
RM
24531 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24532 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24533
9fa2c032
RM
24534 * configure.in (-z relro check): Adjust test code to add a large
24535 writable data section after it.
24536 * configure: Regenerated.
24537
defe9061
RM
245382011-07-11 Roland McGrath <roland@hack.frob.com>
24539
24540 * configure.in (-z relro check): Fix test code to make the variable
24541 truly const.
24542 * configure: Regenerated.
24543
319b9ad4
UD
245442011-07-11 Ulrich Drepper <drepper@gmail.com>
24545
24546 * nscd/nscd.h (struct traced_file): Define.
24547 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24548 elements. Add traced_files.
24549 (inotify_fd): Declare.
24550 (register_traced_file): Declare.
24551 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24552 (inotify_fd): Export.
24553 (resolv_conf_descr): Remove.
24554 (nscd_init): Move inotify descriptor creation to main.
24555 Don't register files for notification here.
24556 (register_traced_file): New function.
24557 (invalidate_cache): Don't use reset_res to determine whether to call
24558 res_init, go through the list of registered files.
24559 (main_loop_poll): The inotify descriptors are now stored in the
24560 structures for the traced files.
24561 (main_loop_epoll): Likewise
24562 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24563 to __nss_disable_nscd.
24564 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24565 for a database anymore. Check the records for all the registered
24566 files instead.
24567 * nss/Makefile (libnss_files-routines): Add files-init.
24568 (libnss_db-routines): Add db-init.
24569 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24570 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24571 * nss/nss_db/db-init.c: New file.
24572 * nss/nss_files/files-init.c: New file.
24573 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24574 __nss_lookup_function.
24575 (__nss_lookup_function): Call nss_load_library.
24576 (nss_load_all_libraries): New function.
24577 (__nss_disable_nscd): Take parameter with callback function for files
24578 to register. Set is_nscd. Load all the DSOs for the NSS modules
24579 used for the cached services.
24580 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24581 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24582 options for features to all the files in nscd.
24583
24584 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24585
23bee3e8
RM
245862011-07-10 Roland McGrath <roland@hack.frob.com>
24587
24588 * csu/elf-init.c (__libc_csu_init): Comment typo.
24589
46a5b7f0
UD
245902011-07-09 Ulrich Drepper <drepper@gmail.com>
24591
24592 * po/pl.po: Update from translation team.
24593 * po/ja.po: Likewise.
24594 * po/ru.po: Likewise.
24595 * po/ko.po: Likewise.
24596 * po/fr.po: Likewise.
24597
d30cf5bb
RM
245982011-07-09 Roland McGrath <roland@hack.frob.com>
24599
113ddea4
RM
24600 * configure.in (.ctors/.dtors header and trailer check):
24601 Use an empirical test on a built program.
24602 * configure: Regenerated.
24603
574920b4
RM
24604 * configure.in (-z relro check): Use an empirical test on a built DSO.
24605 Detect, but do not require, on ia64.
24606 * configure: Regenerated.
24607
d30cf5bb
RM
24608 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24609 Update tests that use readelf to use $READELF instead.
24610 * configure: Regenerated.
24611
8538fdb3
UD
246122011-07-08 Ulrich Drepper <drepper@gmail.com>
24613
24614 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24615 if the result is not used.
24616
04d08991
AJ
246172011-07-05 Andreas Jaeger <aj@suse.de>
24618
24619 [BZ#9696]
24620 * stdlib/tst-strtod.c: Add testcase.
24621
de283087
AD
246222011-07-07 Ulrich Drepper <drepper@gmail.com>
24623
4e5f31c8 24624 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24625 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24626 The latter has a higher limit. Take additional parameter to pass to
24627 the new function.
24628 (__pathconf): Pass file to __statfs_link_max.
24629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24630 __statfs_link_max.
24631 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24632 __statfs_link_max.
24633
de283087
AD
24634 [BZ #12868]
24635 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24637 Handle Lustre.
24638 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24639 (__statfs_filesize_max): Likewise.
24640 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24641
c75fa153
AJ
246422011-07-05 Andreas Jaeger <aj@suse.de>
24643
24644 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24645
1a544854
UD
246462011-07-06 Marek Polacek <mpolacek@redhat.com>
24647
24648 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24649 `status' variable.
24650 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24651 Likewise.
24652
6f0eec67
UD
246532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24654
24655 * Makefile (strop-tests): Add strncat.
24656 * string/test-strncat.c: New file.
24657
aae30307
UD
246582011-06-30 Marek Polacek <mpolacek@redhat.com>
24659
24660 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24661
c0cfb5eb
UD
246622011-06-21 Andreas Jaeger <aj@suse.de>
24663
24664 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24665 Copy rule from iconvdata/Makefile.
24666
01636b21
UD
246672011-07-06 Ulrich Drepper <drepper@gmail.com>
24668
24669 [BZ #12922]
24670 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24671 but no long options are defined, just return 'W'.
24672
9895c8bc
UD
246732011-06-22 Marek Polacek <mpolacek@redhat.com>
24674
24675 [BZ #9696]
24676 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24677
5d4cf042
UD
246782011-07-06 Ulrich Drepper <drepper@gmail.com>
24679
24680 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24681 netgroups to read.
960e5535 24682 (innetgr): Likewise.
5d4cf042 24683
751eb97e
RM
246842011-07-05 Roland McGrath <roland@hack.frob.com>
24685
24686 * config.make.in (install_root): Default to $(DESTDIR).
24687
f15f1e45
UD
246882011-07-05 Ulrich Drepper <drepper@gmail.com>
24689
24690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24691
4e34ac6a
RM
246922011-07-02 Roland McGrath <roland@hack.frob.com>
24693
5e9b6af4
RM
24694 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24695
84f9ea0f
RM
24696 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24697 containing directory rather than embedding absolute directory names.
24698
ea5ee9f7
RM
24699 * scripts/check-local-headers.sh: Rewritten using awk.
24700 Match by word, not by line. Print error messages for matches.
24701 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24702
1b74661a
RM
24703 * Makerules [shlib-lds-flags empty]:
24704 ($(common-objpfx)libc_pic.opts): New target.
24705 ($(common-objpfx)libc_pic.os.clean): New target.
24706 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24707
24708 * config.make.in (OBJCOPY): New variable.
24709 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24710 * configure: Regenerated.
24711
f781ef40
RM
24712 * config.make.in (use-default-link): New variable.
24713 * configure.in (use_default_link): Grok --with-default-link to set it.
24714 * configure: Regenerated.
24715 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24716 (shlib-lds, shlib-lds-flags): Define to empty.
24717
2d4fa81e
RM
24718 * Makerules (shlib-lds): New variable.
24719 (shlib-lds-flags): New variable.
24720 (build-shlib, build-moduile, build-module-asneeded): Use it.
24721 ($(common-objpfx)libc.so): Use $(shlib-lds).
24722 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24724
31fffa6b
RM
24725 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24726 DT_FLAGS/DT_FLAGS_1 with zero flags.
24727
4e34ac6a
RM
24728 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24729 linker script munging.
24730
fcfc776b
UD
247312011-07-02 Ulrich Drepper <drepper@gmail.com>
24732
24733 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24734 as 128-bit value.
24735 * crypt/sha512.c (sha512_process_block): Perform total addition using
24736 128-bit if possible.
24737 (__sha512_finish_ctx): Likewise.
24738 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24739 as 64-bit value.
24740 * crypt/sha256.c (SWAP64): Define.
24741 (sha256_process_block): Perform total addition using 64-bit if
24742 possible.
24743 (__sha256_finish_ctx): Likewise.
24744
99231d9a
UD
247452011-07-01 Ulrich Drepper <drepper@gmail.com>
24746
24747 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24749 * nscd/hstcache.c (cache_addhst): Likewise.
24750 * nscd/grpcache.c (cache_addgr): Likewise.
24751 * nscd/aicache.c (addhstaiX): Likewise
24752 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24753
445b4a53
TK
247542011-07-01 Thorsten Kukuk <kukuk@suse.de>
24755
24756 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24758 * nscd/hstcache.c (cache_addhst): Likewise.
24759 * nscd/grpcache.c (cache_addgr): Likewise.
24760 * nscd/aicache.c (addhstaiX): Likewise
24761
6d4d8e8e
AS
247622011-07-01 Andreas Schwab <schwab@redhat.com>
24763
24764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24765 domain only when needed.
24766
89f654c5
AS
247672011-06-30 Andreas Schwab <schwab@redhat.com>
24768
24769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24770 is always restored.
24771
cf3b23ff
UD
247722011-06-29 Ulrich Drepper <drepper@gmail.com>
24773
24774 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24775 are re-adding the entry.
24776 * nscd/servicescache.c (cache_addserv): Likewise.
24777
751626f9
AJ
247782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24779
24780 * sysdeps/generic/dl-irel.h: fix protection against multiple
24781 inclusions.
24782 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24783
9113ea1f
UD
247842011-06-28 Ulrich Drepper <drepper@gmail.com>
24785
5c0b8d90
UD
24786 [BZ #12935]
24787 * malloc/memusage.sh: Fix quoting in message.
24788 * debug/xtrace.sh: Likewise.
24789
9113ea1f
UD
24790 * configure.in: Remove support for --experimental-malloc option, make
24791 it the default.
24792 * config.make.in: Likewise.
24793 * malloc/Makefile: Likewise.
24794
a4172181
AS
247952011-06-27 Andreas Schwab <schwab@redhat.com>
24796
24797 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24798 two-byte characters.
24799
78a7eee7
RM
248002011-06-27 Roland McGrath <roland@hack.frob.com>
24801
62bede13
RM
24802 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24803 AC_CACHE_CHECK invocation.
24804 * configure: Regenerated.
24805
78a7eee7
RM
24806 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24807
5ce33a62
UD
248082011-06-27 Ulrich Drepper <drepper@gmail.com>
24809
034807a9
UD
24810 [BZ #12350]
24811 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24812 bit from old_res_options.
24813
4902da17
UD
24814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24815
5ce33a62
UD
24816 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24817 value type for setfct.
24818
c2344f56
L
248192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24820
24821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24822 __gettimeofday instead of gettimeofday.
24823
68468076
UD
248242011-06-26 Ulrich Drepper <drepper@gmail.com>
24825
24826 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24827
acb0d739
L
248282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24829
24830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24831
24832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24833 info.
24834
8912479f
L
248352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24836
24837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24838 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24839 strcpy-sse2-unaligned strncpy-sse2-unaligned
24840 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24841 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24842 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24843 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24844 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24847 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24848 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24849 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24850 (STRCPY): Support SSE2 and SSSE3 versions.
24851
d5495a11
UD
248522011-06-24 Ulrich Drepper <drepper@gmail.com>
24853
24854 [BZ #12874]
24855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24856 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24857 kernels which artificially limit size of requests.
24858
0b1cbaae
L
248592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24860
24861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24862 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24863 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24864 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24865 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24866 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24867 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24868 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24871 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24872 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24873 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24874 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24875 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24877 Enable unaligned load optimization for Intel Core i3, i5 and i7
24878 processors.
24879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24880 Define.
24881 (index_Fast_Unaligned_Load): Define.
24882 (HAS_FAST_UNALIGNED_LOAD): Define.
24883
07f494a0
MP
248842011-06-23 Marek Polacek <mpolacek@redhat.com>
24885
24886 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24887
fa3fc0fe
UD
248882011-06-22 Ulrich Drepper <drepper@gmail.com>
24889
24890 [BZ #12907]
24891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24892 until it is clear that the information is realy needed.
24893 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24894
e12df166
AS
248952011-06-22 Andreas Schwab <schwab@redhat.com>
24896
24897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24898
852eb34d
UD
248992011-06-22 Ulrich Drepper <drepper@gmail.com>
24900
84e2a551
UD
24901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24902 /sys/devices/system/cpu/online if it is usable.
24903
852eb34d
UD
24904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24905 reading the information from the /proc filesystem to once a second.
24906
6e502e19
UD
249072011-06-21 Andreas Jaeger <aj@suse.de>
24908
24909 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24910 NULL after inclusion of kernel headers.
24911
75d39ff2
UD
249122011-06-21 Ulrich Drepper <drepper@gmail.com>
24913
51f9aa6a
UD
24914 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24915 calls to internal_setent.
24916
c0244a9d
UD
24917 [BZ #12885]
24918 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24919 addresses using gethostbyname4_r ignore IPv4 addresses.
24920
c5e3c2ae
UD
24921 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24922 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24923
75d39ff2
UD
24924 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24925
42675c6f
DM
249262011-06-20 David S. Miller <davem@davemloft.net>
24927
24928 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24929 inclusions.
24930 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24931
24932 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24933 (elf_irel): Use it.
24934 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24935 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24936 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24937 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24938 * sysdeps/x86_64/dl-irel.h: Likewise.
24939
24940 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24941 * elf/dl-sym.c: Likewise.
24942
57912a71
UD
249432011-06-15 Ulrich Drepper <drepper@gmail.com>
24944
24945 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24946 need to dereference resplen2.
24947
ee22793d
AS
249482011-06-14 Andreas Schwab <schwab@redhat.com>
24949
24950 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24951
a9e836b0
UD
249522011-06-15 Ulrich Drepper <drepper@gmail.com>
24953
77fb9117
UD
24954 * Makeconfig: Define vardbdir and inst_vardbdir.
24955 * nss/Makefile: Add rules to install db-Makefile.
24956
40c1b22c
UD
24957 * nss/nss_db/db-XXX.c: Cleanup.
24958
9f2da732
UD
24959 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24960 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24961 GLIBC_PRIVATE.
24962 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24963 * nss/makedb.c: Implement -g option to specify that value strings
24964 are generated and should not be added to table iterated over for
24965 get*ent calls.
24966 * nss/nss_db/db-initgroups.c: New file.
24967
82e9a1f7
UD
24968 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24969 interface.
24970
c41af17e
UD
24971 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24972 (internal_getgrouplist): Adjust to name change.
24973 Update use_initgroups_entry if this is not the first call.
24974 * nss/databases.def: Add initgroups entry.
24975
a9e836b0
UD
24976 * nss/makedb.c (compute_tables): Check result of multiple hash table
24977 sizes to minimize maximum chain length.
24978
2666d441
UD
249792011-06-14 Ulrich Drepper <drepper@gmail.com>
24980
24981 * Versions.def: Add entry for libnss_db.
24982 * shlib-versions: Likewise.
24983 * nss/Makefile: Add rules to build libnss_db.
24984 * nss/Versions: Add libnss_db information. Organize libnss_files
24985 entries better.
24986 * nss/db-Makefile: Add gshadow support. Change rules for the new
24987 makedb progra. Some minor improvements to generate smaller files.
24988 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24989 here from...
24990 * nss/makedb.c: ...here.
24991 Improve database format to be smaller and require less memory at
24992 runtime.
24993 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24994 db anymore.
24995 * nss/nss_db/db-netgrp.c: Likewise.
24996 * nss/nss_db/db-open.c: Likewise.
24997 * nss/nss_files/flies-XXX.x: Adjust comments.
24998 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24999 * nss/nss_files/files-grp.c: Likewise.
25000 * nss/nss_files/files-hosts.c: Likewise.
25001 * nss/nss_files/files-network.c: Likewise.
25002 * nss/nss_files/files-proto.c: Likewise.
25003 * nss/nss_files/files-pwd.c: Likewise.
25004 * nss/nss_files/files-rpc.c: Likewise.
25005 * nss/nss_files/files-service.c: Likewise.
25006 * nss/nss_files/files-sgrp.c: Likewise.
25007 * nss/nss_files/files-spwd.c: Likewise.
25008 * nss/nss_db/db-alias.c: Removed.
25009 * nss/nss_db/dummy-db.h: Removed.
25010
9ee76b5a
UD
250112011-06-02 Ulrich Drepper <drepper@gmail.com>
25012
25013 * nss/makedb.c: Rewritten to not use database library.
25014 * nss/Makefile: Update to build new makedb program.
25015
c71ca1f8
AJ
250162011-06-14 Andreas Jaeger <aj@suse.de>
25017
25018 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25019 memset declaration.
25020
3154bfb8
UD
250212011-06-10 Andreas Schwab <schwab@redhat.com>
25022
25023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25024 tmpbuf.
25025
b350afab
RM
250262011-06-10 Roland McGrath <roland@hack.frob.com>
25027
decd4e50
RM
25028 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25029 * elf/Makefile ($(objpfx)ld.so): Likewise.
25030
5615eaf2
RM
25031 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25032 Don't list ld.so twice in dependencies.
25033
25034 * posix/bug-regex31.c: Include <stdlib.h>.
25035
25036 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25037
25038 * nis/nss_compat/compat-spwd.c
25039 (getspent_next_nss_netgr): Remove unused variable.
25040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25041
25042 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25043 nonmembers" output to use the right array.
25044
25045 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25046
25047 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25048
25049 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25050 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25051 * catgets/gencat.c (read_input_file): Likewise.
25052 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25053
25054 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25055 variable definition inside #if's controlling its use.
25056
25057 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25058
25059 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25060
25061 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25062
25063 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25064 unreachable code.
25065
25066 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25067
b68e08db
RM
25068 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25069 * configure: Regenerated.
25070
b350afab
RM
25071 * Makerules: Revert last change.
25072 * elf/Makefile: Likewise.
25073
28368601
RM
250742011-06-09 Roland McGrath <roland@hack.frob.com>
25075
25076 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25077 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25078 (reloc-link): Likewise.
25079
11988f8f
UD
250802011-06-09 Ulrich Drepper <drepper@gmail.com>
25081
25082 * elf/Makefile: Add rules to build pldd.
25083 * elf/pldd.c: New file.
25084 * elf/pldd-xx.c: New file.
25085
e80fab37
UD
250862011-06-07 Ulrich Drepper <drepper@gmail.com>
25087
25088 * version.h: Update for 2.15 development version.
25089
9b849836
DM
250902011-06-07 David S. Miller <davem@davemloft.net>
25091
25092 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25093 ifuncs.
25094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25095 elf_machine_lazy_rel): Likewise.
25096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25098 elf_machine_lazy_rel): Likewise.
25099 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25100 dl_hwcap via passed in argument.
25101 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25102 Likewise.
25103
5a31b283
AK
251042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25105
25106 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25107
069e52f8
RM
251082011-06-06 Roland McGrath <roland@hack.frob.com>
25109
25110 [BZ #12849]
25111 * manual/fdl-1.1.texi: New file, verbatim from:
25112 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25113 * manual/lgpl-2.1.texi: New file, verbatim from:
25114 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25115 * manual/Makefile (licenses): New variable, list those new file names.
25116 (texis): Use it.
25117 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25118
25119 * manual/fdl.texi: File removed.
25120 * manual/lesser.texi: File removed.
25121 * manual/libc.texinfo (Copying, Documentation License):
25122 Use new @include file names, put @appendix directive before @include.
25123
f16846a5
JJ
251242011-06-04 Jakub Jelinek <jakub@redhat.com>
25125
25126 [BZ #12841]
25127 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25128 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25129 (mq_open): Add __NTH.
25130
3d29045b
L
251312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25132
25133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25134 Assume Intel Core i3/i5/i7 processor if AVX is available.
25135
8c297311
UD
251362011-05-31 Ulrich Drepper <drepper@gmail.com>
25137
25138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25139 typo.
25140
c8fc0c91
UD
251412011-05-31 Andreas Schwab <schwab@redhat.com>
25142
25143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25144 memory. Use alloca_account. Fix memory leak when retrying.
25145
5b27a807
UD
251462011-05-31 Ulrich Drepper <drepper@gmail.com>
25147
356f8bc6
UD
25148 * version.h (RELEASE): Bump for 2.14 release.
25149 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25150
5b27a807
UD
25151 * config.make.in (RANLIB): Remove entry.
25152
01f16ab0
UD
251532011-05-30 Ulrich Drepper <drepper@gmail.com>
25154
41fce8bd
UD
25155 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25156 (libc.pot): Work around missing support for .ksh extension in xgettext.
25157
4769ae77
UD
25158 [BZ #12684]
25159 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25160 if both request failed.
25161 (send_dg): In case of server errors clear resplen or *resplen2.
25162
6b1e7d19
UD
25163 [BZ #12454]
25164 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25165 when there are multiple maps.
25166 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25167 (_dl_fini): Remove test here.
25168
01f16ab0
UD
25169 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25170
b1ebd700
UD
251712011-05-29 Ulrich Drepper <drepper@gmail.com>
25172
7ae22829
UD
25173 [BZ #12350]
25174 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25175 bit from old_res_options.
25176 (gaih_inet): Likewise.
25177
553149f6 25178 [BZ #11099]
18a84741 25179 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25180 as signed.
25181
652ffab1
UD
25182 * resolv/res_init.c (res_setoptions): Make the code more compact.
25183
16985fd0
UD
25184 [BZ #11558]
25185 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25186 set RES_USEVC.
25187
0464f746
UD
25188 [BZ #11634]
25189 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25190
7d17596c
UD
25191 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25192
cf6bbbd7
UD
25193 [BZ #11781]
25194 * malloc/malloc.h: Declare malloc hook variables as volatile.
25195
13f1ab36
UD
25196 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25197 in last patch.
25198
b1ebd700
UD
25199 [BZ #11799]
25200 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25201 raise in the comment.
80e2212d
UD
25202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25205
ce67228d
UD
252062011-05-28 Ulrich Drepper <drepper@gmail.com>
25207
8887a920
UD
25208 [BZ #12811]
25209 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25210 grow the buffers more if it already has to be sufficient.
25211 (build_wcs_upper_buffer): Likewise.
25212 * posix/regexec.c (check_matching): Likewise.
25213 (clean_state_log_if_needed): Likewise.
25214 (extend_buffers): Don't enlarge buffers beyond size of the input
25215 buffer.
25216 Patches mostly by Emil Wojak <emil@wojak.eu>.
25217 * posix/bug-regex32.c: New file.
25218 * posix/Makefile (tests): Add bug-regex32.
25219
4f031072
UD
25220 * locale/findlocale.c (_nl_find_locale): Return right away if
25221 _nl_explode_name failed.
25222 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25223
d0478f0c
UD
25224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25225
de81b246
UD
25226 * debug/xtrace.sh: Unify messages.
25227 * malloc/memusage.sh: Likewise.
25228
c738465a
UD
25229 [BZ #12813]
25230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25231 time symbol from vDSO. Substitute with vsyscall if not available.
25232 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25233 __vdso_time.
25234
f1f929d7
UD
25235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25236 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25238 Add sendmmsg and internal_sendmmsg.
25239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25242
ce67228d
UD
25243 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25244 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25246
e57420c6
UD
252472011-05-27 Ulrich Drepper <drepper@gmail.com>
25248
a8509ca5
UD
25249 [BZ #12813]
25250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25251 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25252 available.
25253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25254 __vdso_getcpu.
25255
e57420c6
UD
25256 [BZ #12814]
25257 * iconvdata/Makefile (tests): Add bug-iconv9.
25258 * iconvdata/bug-iconv9.c: New file.
25259
4d07db15
AS
252602011-05-27 Andreas Schwab <schwab@redhat.com>
25261
25262 [BZ #12814]
25263 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25264
ea486f69
JJ
252652011-05-25 Jakub Jelinek <jakub@redhat.com>
25266
25267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25268 (struct user_regs_struct): Change intcs field back to cs.
25269
6f038433
UD
252702011-05-25 Ulrich Drepper <drepper@gmail.com>
25271
25272 * po/ja.po: Update from translation team.
25273
67f86a25
UD
252742011-05-23 Ulrich Drepper <drepper@gmail.com>
25275
25276 [BZ #12795]
25277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25278 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25279
def7fbd6
AS
252802011-05-20 Andreas Schwab <schwab@redhat.com>
25281
25282 * stdlib/longlong.h: Update from GCC.
25283
f50ef8f1
AS
252842011-05-23 Andreas Schwab <schwab@redhat.com>
25285
25286 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25287 parameter name.
25288 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25289 Add parameter name.
25290 (__sysconf): Pass it down.
25291
de7ce8f1
UD
252922011-05-22 Ulrich Drepper <drepper@gmail.com>
25293
f2962a71
UD
25294 [BZ #12671]
25295 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25296 some situations.
25297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25298 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25299 add in in __libc_use_alloca calls. Adjust callers.
25300 (glob): Use malloc in some situations.
25301
de7ce8f1
UD
25302 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25303 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25304 pltexit.
25305
aec84f53
UD
253062011-05-21 Ulrich Drepper <drepper@gmail.com>
25307
05bb4a68
UD
25308 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25309 and CLOCK_BOOTTIME_ALARM.
25310
7ea72f99
UD
25311 [BZ #12782]
25312 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25313 is returned.
25314
7e4afad5
UD
25315 * string/_strerror.c (__strerror_r): Print negative errors as signed
25316 numbers.
25317
8e211fec
UD
25318 [BZ #12777]
25319 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25320 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25321 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25322
f7d82dc9
UD
25323 * configure.in: Fix typo in redirection and correct removal of test
25324 files in two cases.
25325
cc9e536d
UD
25326 [BZ #12788]
25327 * locale/setlocale.c (new_composite_name): Fix test to check for
25328 identical name of all categories.
25329
aec84f53
UD
25330 [BZ #12792]
25331 * libio/filedoalloc.c (local_isatty): New function.
25332 (_IO_file_doallocate): Use local_isatty.
25333 * stdio-common/perror.c (perror): In case a new stream is used
25334 forward the stream error.
25335 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25336 error flag.
25337
78e64fdc
RT
253382011-05-20 Ulrich Drepper <drepper@gmail.com>
25339
34a9094f
UD
25340 [BZ #11869]
25341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25342 alloca.
25343 * include/alloca.h (extend_alloca_account): Define.
25344
78e64fdc
RT
25345 [BZ #11857]
25346 * posix/regex.h: Fix comments with documentation of user-accessible
25347 fields after compilation and describe correct free'ing of pattern
25348 after re_compile_pattern.
25349 Patch by Reuben Thomas <rrt@sc3d.org>.
25350
457bddfc
RA
253512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25352
25353 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25354 and -mno-altivec to prevent the compiler from using Altivec and/or
25355 VSX instructions when the corresponding registers are not available.
25356
a4527b51
AS
253572011-05-19 Andreas Schwab <schwab@redhat.com>
25358
25359 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25360
ed690b2f
UD
253612011-05-19 Ulrich Drepper <drepper@gmail.com>
25362
25363 * libio/freopen.c (freopen): Use __dup2, not dup2.
25364 * libio/freopen64.c (freopen64): Likewise.
25365
8db73634
L
253662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25367
25368 [BZ #12775]
25369 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25370 * math/Makefile (tests): Add test-powl.
25371 (CFLAGS-test-powl.c): Define.
25372 * math/test-powl.c: New file.
25373
0a197a9d
L
253742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25375
25376 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25377
ee30c380
UD
253782011-05-17 Ulrich Drepper <drepper@gmail.com>
25379
25380 [BZ #11837]
25381 * iconvdata/gb18030.c: Update to GB18020-2005.
25382
6ce75379
UD
253832011-05-16 Ulrich Drepper <drepper@gmail.com>
25384
a4b89fd8
AR
25385 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25386 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25387 Patch by Aharon Robbins <arnold@skeeve.com>.
25388
ea389b12
UD
25389 [BZ #11892]
25390 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25391 on the stack.
25392
68a3f91f
UD
25393 [BZ #11895]
25394 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25395 through underflows.
25396
15cc7dd1
UD
25397 [BZ #12766]
25398 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25399 point to strings before performing equality test for error_one_per_line
25400 mode.
25401
f3799213
UD
25402 [BZ #11697]
25403 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25404
d79a9c94
UD
25405 [BZ #11820]
25406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25407 (struct user_fpregs_struct): Avoid __uint*_t types.
25408
56e5eb46
UD
25409 [BZ #6420]
25410 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25411 symbol info. Use it instead of calling _dl_addr locally.
25412 (lock_and_info): New function.
25413 (tr_freehook): Call lock_and_info and pass symbol info as additional
25414 parameter to tr_where.
25415 (tr_mallochook): Likewise.
25416 (tr_reallochook): Likewise.
25417 (tr_memalignhook): Likewise.
25418
6ce75379
UD
25419 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25420 used and couldn't be at all thread-safe.
25421
f8a3b5bf
UD
254222011-05-15 Ulrich Drepper <drepper@gmail.com>
25423
94b7cc37
UD
25424 * libio/freopen.c (freopen): Don't close old file descriptor
25425 before the new one is opened. Instead dup the new file descriptor
25426 to the old one after the new stream is created.
25427 * libio/freopen64.c (freopen64): Likewise.
25428 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25429 * libio/fileops.c (_IO_new_file_close_it): Handle new
25430 _IO_FLAGS2_NOCLOSE flag.
25431 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25432 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25433 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25434 _IO_FLAGS2_NOCLOSE flag.
25435 * include/unistd.h: Add hidden_proto for dup3.
25436 Define __have_dup3.
25437 * io/dup3.c: Define hidden symbol.
25438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25439
bd25564e
UD
25440 [BZ #7101]
25441 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25442 when an incomplete long option is used.
25443 * posix/tst-getopt_long1.c: New file.
25444 * posix/Makefile (tests): Add tst-getopt_long1.
25445
c84cfef4
UD
25446 [BZ #10138]
25447 * scripts/config.guess: Update from autoconf-2.68.
25448 * scripts/config.sub: Likewise.
25449
3b85df27
UD
25450 [BZ #10157]
25451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25452 tests into ...
25453 (has_cpuclock): ...this. New function.
25454 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25455 macro here based on has_cpuclock code.
25456
15a856b1
UD
25457 [BZ #10149]
25458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25459 First byte (not low byte) is now always NUL.
25460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25461
05f399e6
UD
25462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25463 Use non-cancelable interfaces.
25464
10a52685 25465 [BZ #9809]
94ecc67d
UD
25466 * locale/iso-639.def: Add entry for Sorani.
25467
f8a3b5bf
UD
25468 [BZ #11901]
25469 * include/stdlib.h: Move include protection to the right place.
25470 Define abort_msg_s. Declare __abort_msg with it.
25471 * stdlib/abort.c (__abort_msg): Adjust type.
25472 * assert/assert.c (__assert_fail_base): New function. Majority
25473 of code from __assert_fail. Allocate memory for __abort_msg with
25474 mmap.
25475 (__assert_fail): Now call __assert_fail_base.
25476 * assert/assert-perr.c: Remove bulk of implementation. Use
25477 __assert_fail_base.
25478 * include/assert.hL Declare __assert_fail_base.
25479 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25480 mmap.
25481 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25482
1af4e298
UD
254832011-05-14 Ulrich Drepper <drepper@gmail.com>
25484
f8a3b5bf 25485 [BZ #11952]
d26dfc60
MG
25486 [BZ #12453]
25487 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25488 until all modules are registered in the DTV.
25489 * elf/Makefile: Add rules to build and run tst-tls19.
25490 * elf/tst-tls19.c: New file.
25491 * elf/tst-tls19mod1.c: New file.
25492 * elf/tst-tls19mod2.c: New file.
25493 * elf/tst-tls19mod3.c: New file.
25494 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25495
2fc54d6f
UD
25496 [BZ #12083]
25497 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25498 correctly.
25499
98d76b46
UD
25500 [BZ #12601]
25501 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25502 two-byte sequence errors.
25503 * iconvdata/Makefile (tests): Add bug-iconv8.
25504 * iconvdata/bug-iconv8.c: New file.
25505
da3c19ef
UD
25506 [BZ #12626]
25507 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25508 buf2 definition.
25509
ca408c15
UD
25510 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25511
d6f67f7d
UD
25512 [BZ #12432]
25513 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25514 (dummy_getcfa): New function.
25515 (init): Get _Unwind_GetCFA address, use dummy if not found.
25516 (backtrace_helper): In recursion check, also check whether CFA changes.
25517 (__backtrace): Completely initialize arg.
25518
1af4e298 25519 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25520 storing incomplete byte sequence in state object. Avoid testing for
25521 guaranteed too small input if we know there is enough data available.
1af4e298 25522
da62f81b
AS
255232011-05-11 Andreas Schwab <schwab@redhat.com>
25524
25525 * Makeconfig (+link-pie): Indent.
25526 * Rules (binaries-pie): Define if $(have-fpie) and
25527 $(build-shared).
25528 (binaries-shared): Also filter out $(binaries-pie).
25529 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25530 * nscd/Makefile (others-pie): Add nscd.
25531 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25532 ($(objpfx)nscd): Remove command override.
25533 * login/Makefile (others-pie): Add pt_chown.
25534 ($(objpfx)pt_chown): Remove command override.
25535 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25536 remove command overrides.
25537
fcabc0f8
UD
255382011-05-13 Ulrich Drepper <drepper@gmail.com>
25539
20030ae6
UD
25540 * libio/tst_putwc.c: Fix error messages.
25541
fcabc0f8
UD
25542 [BZ #12724]
25543 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25544 currently writing and seek to current position when not.
25545 * libio/Makefile (tests): Add bug-fclose1.
25546 * libio/bug-fclose1.c: New file.
25547
320a5dc0
PB
255482011-05-12 Ulrich Drepper <drepper@gmail.com>
25549
25550 [BZ #12511]
25551 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25552 don't set DF_1_NODELETE here.
25553 (do_lookup_x): When entering new entry test for copy relocation
25554 and if necessary set DF_1_NODELETE flag.
25555 * elf/tst-unique4.cc: New file.
25556 * elf/tst-unique4.h: New file.
25557 * elf/tst-unique4lib.cc: New file.
25558 * elf/Makefile: Add rules to build and run tst-unique4.
25559 Patch by Piotr Bury <pbury@goahead.com>.
25560
22836f52
UD
255612011-05-11 Ulrich Drepper <drepper@gmail.com>
25562
f574184a
UD
25563 [BZ #12052]
25564 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25565
e1fb097f
UD
25566 [BZ #12625]
25567 * misc/mntent_r.c (addmntent): Flush the stream after the output
25568
22836f52
UD
25569 [BZ #12393]
25570 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25571 (is_trusted_path_normalize): Skip initial colon. Append slash
25572 to empty buffer. Duplicate is_trusted_path code but allow
25573 constructed patch to be prefix.
25574 (is_dst): Allow $ORIGIN followed by /.
25575 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25576 Correct testing of result of is_trusted_path_normalize
25577 (decompose_rpath): Fix warning.
25578
7b3b0b2a
UD
255792011-05-10 Ulrich Drepper <drepper@gmail.com>
25580
25581 [BZ #11257]
25582 * grp/initgroups.c (internal_getgrouplist): When we found the service
25583 list through the initgroups entry in nsswitch.conf do not always
25584 continue on a successful lookup. Don't always use the
eac80ce2 25585 __nss_group_database value if it is set.
7b3b0b2a
UD
25586 * nss/nsswitch.conf (initgroups): Change action for successful db
25587 lookup to continue for compatibility.
25588
2a81eaa5
UD
255892011-05-09 Ulrich Drepper <drepper@gmail.com>
25590
be97a69e
UD
25591 [BZ #11532]
25592 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25593 and CP774 modules.
25594 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25595 and CP774 modules.
25596 * iconvdata/tst-tables.sh: Likewise.
25597 * iconvdata/cp770.c: New file.
25598 * iconvdata/cp771.c: New file.
25599 * iconvdata/cp772.c: New file.
25600 * iconvdata/cp773.c: New file.
25601 * iconvdata/cp774.c: New file.
25602 * iconvdata/testdata/CP770: New file.
25603 * iconvdata/testdata/CP770..UTF8: New file.
25604 * iconvdata/testdata/CP771: New file.
25605 * iconvdata/testdata/CP771..UTF8: New file.
25606 * iconvdata/testdata/CP772: New file.
25607 * iconvdata/testdata/CP772..UTF8: New file.
25608 * iconvdata/testdata/CP773: New file.
25609 * iconvdata/testdata/CP773..UTF8: New file.
25610 * iconvdata/testdata/CP774: New file.
25611 * iconvdata/testdata/CP774..UTF8: New file.
25612
25613 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25614 END CHARMAP line.
25615 * iconvdata/gen-8bit-gap.sh: Likewise.
25616 * iconvdata/gen-8bit.sh: Likewise.
25617
c1e9e399
UD
25618 * locale/iso-639.def: Add ary entry.
25619
24c55fb3 25620 [BZ #11258]
96b4b1b0
UD
25621 * locale/C-translit.h.in: Add U20A1 transliteration.
25622
bdc2f971
KB
25623 [BZ #12178]
25624 * locale/iso-639.def: Add wae entry.
25625 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25626
2952b117
UD
25627 [BZ #12545]
25628 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25629 for n.
25630
2a81eaa5
UD
25631 [BZ #12711]
25632 * locale/C-translit.h.in: Add entry for U20B9.
25633 Patch by pravin.d.s@gmail.com.
25634
28377d1b
UD
256352011-05-08 Ulrich Drepper <drepper@gmail.com>
25636
7fb90fb8
UD
25637 [BZ #12713]
25638 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25639 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25640 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25641 in rtld. Use *stat64.
7fb90fb8 25642 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25643 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25644 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25645 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25646 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25647 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25648 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25649 __fstatat64 macros.
7fb90fb8
UD
25650 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25651 * dirent/rewinddir.c: Add libc_hidden_def.
25652 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25653 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25654
28377d1b
UD
25655 * include/dirent.h (__alloc_dir): Add flags parameter.
25656 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25657 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25658 __alloc_dir.
25659 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25660 from fdopendir if O_CLOEXEC is already set.
25661
66bdbaa4
AM
256622011-03-15 Alan Modra <amodra@gmail.com>
25663
25664 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25665 l_tls_firstbyte_offset non-zero. Save padding offset in
25666 l_tls_firstbyte_offset for later use.
25667 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25668 freeing static tls block.
25669
95721191
JN
256702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25671
25672 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25673 where #ifdef was intended. The intent is to prevent ARG_MAX from
25674 being defined by the kernel headers.
25675
f87dfb1f
UD
256762011-05-07 Ulrich Drepper <drepper@gmail.com>
25677
25678 [BZ #12734]
25679 * resolv/resolv.h: Define RES_NOTLDQUERY.
25680 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25681 no-tld-query and set RES_NOTLDQUERY.
25682 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25683 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25684 modern BIND to search name as TLD unless forbidden.
25685
47c3cd7a
UD
256862011-05-07 Petr Baudis <pasky@suse.cz>
25687 Ulrich Drepper <drepper@gmail.com>
25688
25689 [BZ #12393]
25690 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25691 (is_trusted_path): ...to here.
c1e9ea35 25692 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25693 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25694 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25695
8a35c912
PP
256962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25697
25698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25699 __BEGIN/__END_DECLS.
25700
acd41f47
UD
257012011-05-06 Ulrich Drepper <drepper@gmail.com>
25702
25703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25704 NSS_STATUS_NOTFOUND if no record was found.
25705
597df647
AS
257062011-05-05 Andreas Schwab <schwab@redhat.com>
25707
25708 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25709 (headers-not-in-tirpc): Remove rpc/netdb.h
25710 * resolv/netdb.h: Revert last change.
25711
b9af1301
PP
257122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25713
25714 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25715 circular dependency between libgcc.a and libc.a.
25716
4e34d5f5
AS
257172011-05-05 Andreas Schwab <schwab@redhat.com>
25718
25719 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25720 * nis/Makefile: Don't install rpcsvc/*.
25721 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25722 instead of <rpc/types.h>.
25723 (MAXHOSTNAMELEN): Define.
25724
00ee369c
AS
257252011-05-03 Andreas Schwab <schwab@redhat.com>
25726
25727 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25728
0b592a30
MB
257292011-04-28 Maciej Babinski <mbabinski@google.com>
25730
25731 [BZ #12714]
25732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25733 gethostbyname4_r when IPv6 results are possible.
25734
6e04cbbe
UD
257352011-05-02 Ulrich Drepper <drepper@gmail.com>
25736
25737 [BZ #12723]
25738 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25739 _PC_PIPE_BUF handling.
25740
e4ecafe0
BH
257412011-04-30 Bruno Haible <bruno@clisp.org>
25742
25743 [BZ #12717]
25744 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25745 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25746 to 'int'.
25747 * inet/getnameinfo.c (getnameinfo): Likewise.
25748
125ee683
UD
257492011-04-29 Ulrich Drepper <drepper@gmail.com>
25750
25751 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25752 to groups setting in database lookup.
25753 * nss/nsswitch.conf: Add initgroups entry.
25754
b722481a
EB
257552011-04-22 Ulrich Drepper <drepper@gmail.com>
25756
25757 [BZ #12685]
25758 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25759 mode string.
25760 Patch by Eric Blake <eblake@redhat.com>.
25761
4df46dbd
L
257622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25763
25764 * sunrpc/Makefile (need-export-routines): Add svc_run.
25765 (routines): Remove svc_run.
25766 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25767 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25768 * sunrpc/svc_run.c (svc_run): Likewise.
25769 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25770
e84142d2
UD
257712011-04-21 Ulrich Drepper <drepper@gmail.com>
25772
25773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25774 problem in reallocation in last patch.
25775
877175d8
UD
257762011-04-20 Ulrich Drepper <drepper@gmail.com>
25777
25778 * sunrpc/Makefile: Move inclusion of Rules.
25779
ab8eed78
UD
257802011-04-19 Ulrich Drepper <drepper@gmail.com>
25781
25782 * nss/nss_files/files-initgroups.c: New file.
25783 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25784 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25785 _nss_files_initgroups_dyn.
25786
e3d8f584
RS
257872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25788
25789 * elf/elf.h (R_ARM_IRELATIVE): Define.
25790
af190f45
UD
257912011-04-19 Ulrich Drepper <drepper@gmail.com>
25792
25793 * po/ru.po: Update from translation team.
25794
53cf59ef
UD
257952011-04-17 Ulrich Drepper <drepper@gmail.com>
25796
25797 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25798 dependencies.
25799
4c559bcd
MF
258002011-02-06 Mike Frysinger <vapier@gentoo.org>
25801
25802 [BZ #12653]
25803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25804 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25808
4420675c
AS
258092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25810
25811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25812 differing bytes.
25813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25816
75ea32ab
UD
258172011-04-17 Ulrich Drepper <drepper@gmail.com>
25818
25819 [BZ #12420]
25820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25821 storing it.
25822 * stdlib/bug-getcontext.c: New file.
25823 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25824
27390476
AK
258252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25826
25827 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25828 instructions into .machine "z9-109".
25829 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25830 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25831
10442705
AK
258322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25833
25834 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25835 between environment variables and auxiliary vector.
25836
7b57bfe5
UD
258372011-04-16 Ulrich Drepper <drepper@gmail.com>
25838
25839 * Makefile: Add rules to build linkobj/libc.so.
25840 * include/libc-symbols.h: Define libc_hidden_nolink.
25841 * include/rpc/auth.h: Mark functions which are to be hidden.
25842 * include/rpc/auth_des.h: Likewise.
25843 * include/rpc/auth_unix.h: Likewise.
25844 * include/rpc/clnt.h: Likewise.
25845 * include/rpc/des_crypt.h: Likewise.
25846 * include/rpc/key_prot.h: Likewise.
25847 * include/rpc/pmap_clnt.h: Likewise.
25848 * include/rpc/pmap_prot.h: Likewise.
25849 * include/rpc/pmap_rmt.h: Likewise.
25850 * include/rpc/rpc_msg.h: Likewise.
25851 * include/rpc/svc.h: Likewise.
25852 * include/rpc/svc_auth.h: Likewise.
25853 * include/rpc/xdr.h: Likewise.
25854 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25855 * nss/Makefile: Likewise.
25856 * sunrpc/Makefile: Don't install headers. Build library with normal
25857 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25858 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25859 for the compat linking library. Remove use of INTDEF/INTUSE.
25860 * sunrpc/auth_none.c: Likewise.
25861 * sunrpc/auth_unix.c: Likewise.
25862 * sunrpc/authdes_prot.c: Likewise.
25863 * sunrpc/authuxprot.c: Likewise.
25864 * sunrpc/clnt_gen.c: Likewise.
25865 * sunrpc/clnt_perr.c: Likewise.
25866 * sunrpc/clnt_raw.c: Likewise.
25867 * sunrpc/clnt_simp.c: Likewise.
25868 * sunrpc/clnt_tcp.c: Likewise.
25869 * sunrpc/clnt_udp.c: Likewise.
25870 * sunrpc/clnt_unix.c: Likewise.
25871 * sunrpc/des_crypt.c: Likewise.
25872 * sunrpc/des_soft.c: Likewise.
25873 * sunrpc/get_myaddr.c: Likewise.
25874 * sunrpc/key_call.c: Likewise.
25875 * sunrpc/key_prot.c: Likewise.
25876 * sunrpc/netname.c: Likewise.
25877 * sunrpc/pm_getmaps.c: Likewise.
25878 * sunrpc/pm_getport.c: Likewise.
25879 * sunrpc/pmap_clnt.c: Likewise.
25880 * sunrpc/pmap_prot.c: Likewise.
25881 * sunrpc/pmap_prot2.c: Likewise.
25882 * sunrpc/pmap_rmt.c: Likewise.
25883 * sunrpc/publickey.c: Likewise.
25884 * sunrpc/rpc_cmsg.c: Likewise.
25885 * sunrpc/rpc_common.c: Likewise.
25886 * sunrpc/rpc_dtable.c: Likewise.
25887 * sunrpc/rpc_prot.c: Likewise.
25888 * sunrpc/rpc_thread.c: Likewise.
25889 * sunrpc/rtime.c: Likewise.
25890 * sunrpc/svc.c: Likewise.
25891 * sunrpc/svc_auth.c: Likewise.
25892 * sunrpc/svc_authux.c: Likewise.
25893 * sunrpc/svc_raw.c: Likewise.
25894 * sunrpc/svc_run.c: Likewise.
25895 * sunrpc/svc_simple.c: Likewise.
25896 * sunrpc/svc_tcp.c: Likewise.
25897 * sunrpc/svc_udp.c: Likewise.
25898 * sunrpc/svc_unix.c: Likewise.
25899 * sunrpc/svcauth_des.c: Likewise.
25900 * sunrpc/xcrypt.c: Likewise.
25901 * sunrpc/xdr.c: Likewise.
25902 * sunrpc/xdr_array.c: Likewise.
25903 * sunrpc/xdr_float.c: Likewise.
25904 * sunrpc/xdr_intXX_t.c: Likewise.
25905 * sunrpc/xdr_mem.c: Likewise.
25906 * sunrpc/xdr_rec.c: Likewise.
25907 * sunrpc/xdr_ref.c: Likewise.
25908 * sunrpc/xdr_sizeof.c: Likewise.
25909 * sunrpc/xdr_stdio.c: Likewise.
25910
e6c61494
UD
259112011-04-10 Ulrich Drepper <drepper@gmail.com>
25912
25913 [BZ #12650]
25914 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25915 * sysdeps/ia64/dl-tls.h: Likewise.
25916 * sysdeps/powerpc/dl-tls.h: Likewise.
25917 * sysdeps/s390/dl-tls.h: Likewise.
25918 * sysdeps/sh/dl-tls.h: Likewise.
25919 * sysdeps/sparc/dl-tls.h: Likewise.
25920 * sysdeps/x86_64/dl-tls.h: Likewise.
25921 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25922
34fe483e
AS
259232011-03-14 Andreas Schwab <schwab@redhat.com>
25924
25925 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25926 rpath element also skip the following colon.
25927 (expand_dynamic_string_token): Add is_path parameter and pass
25928 down to DL_DST_REQUIRED and _dl_dst_substitute.
25929 (decompose_rpath): Call expand_dynamic_string_token with
25930 non-zero is_path. Ignore empty rpaths.
25931 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25932 with zero is_path.
25933
f12a32e6
AS
259342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25935
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25937 Make cancelable.
25938
38a7d692
UD
259392011-04-09 Ulrich Drepper <drepper@gmail.com>
25940
25941 [BZ #12655]
25942 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25943 Patch by Filipe David Manana <fdmanana@apache.org>.
25944
e451d22b
AS
259452011-04-07 Andreas Schwab <schwab@redhat.com>
25946
25947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25948 Maintain aligned stack.
25949 (CHECK_RSP): Remove unused macro.
25950
dedc7c7b
UD
259512011-04-03 Ulrich Drepper <drepper@gmail.com>
25952
25953 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25955
94521213
UD
259562011-04-02 Ulrich Drepper <drepper@gmail.com>
25957
25958 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25959
8cb700c0 25960 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25961
0354e355
L
259622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 [BZ #12518]
25965 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25966 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25967 * sysdeps/x86_64/memmove.c: New file.
25968 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25969 (memcpy): Renamed to ...
25970 (__new_memcpy): This.
25971 (memcpy): Provide GLIBC_2_14 memcpy.
25972 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25973 (memcpy): Provide GLIBC_2_2_5 memcpy.
25974
8593482f
UD
259752011-04-01 Ulrich Drepper <drepper@gmail.com>
25976
25977 [BZ #12631]
25978 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25979
81a5726b
AS
259802011-03-30 Andreas Schwab <schwab@redhat.com>
25981
25982 * misc/syncfs.c: New file.
25983 * misc/Makefile (routines): Add syncfs.
25984 * posix/unistd.h: Declare syncfs.
25985 * sysdeps/unix/syscalls.list: Add syncfs.
25986
00e5419f
AS
259872011-04-01 Andreas Schwab <schwab@redhat.com>
25988
25989 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25990 open_by_handle_at.
25991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25998
748876bf
UD
259992011-04-01 Ulrich Drepper <drepper@gmail.com>
26000
658e451d
UD
26001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26008
748876bf
UD
26009 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26010 sync_file_range.c with -fexceptions.
26011 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26012 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26013 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26014 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26015 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26018 sync_file_range as cancellation point
26019 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26020 now a wrapper around __call_sync_file_range with cancellation handling.
26021 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26023 function name to __call_sync_file_range.
26024 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26025 Add call_sync_file_range.
748876bf 26026
6e63d5e1
AS
260272011-04-01 Andreas Schwab <schwab@redhat.com>
26028
26029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26030 bits/timex.h.
6e63d5e1 26031
46998f74
UD
260322011-04-01 Ulrich Drepper <drepper@gmail.com>
26033
4c1423ed
UD
26034 * iconv/iconv.h: Fix typo in comment.
26035 * io/fcntl.h: Likewise.
26036 * libio/stdio.h: Likewise.
26037 * posix/spawn.h: Likewise.
26038 * posix/unistd.h: Likewise.
26039 * stdlib/stdlib.h: Likewise.
26040 * time/time.h: Likewise.
26041 * wcsmbs/wchar.h: Likewise.
26042
158648c0
UD
26043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26044 open_by_handle): Add.
26045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26046 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26047 Augment a few comments.
26048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26053 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26054 open_by_handle.
26055
46998f74
UD
26056 * io/fcntl.h (AT_EMPTY_PATH): Define.
26057
83fe108b
UD
260582011-03-30 Ulrich Drepper <drepper@gmail.com>
26059
26060 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26061 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26062 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26063 to...
26064 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26065 * Versions.def: Add GLIBC_2.14.
26066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26067 Export.
83fe108b 26068
bb242059
UD
260692011-03-22 Ulrich Drepper <drepper@gmail.com>
26070
26071 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26072 round counter.
26073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26074
c97a1282
L
260752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26076
26077 [BZ #12597]
26078 * string/test-strncmp.c (do_page_test): New function.
26079 (check2): Likewise.
26080 (test_main): Call check2.
26081 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26082
2a115601
UD
260832011-03-20 Ulrich Drepper <drepper@gmail.com>
26084
26085 [BZ #12587]
26086 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26087 Handle cache information in CPU leaf 4.
26088 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26089
8126d904
UD
260902011-03-18 Ulrich Drepper <drepper@gmail.com>
26091
042c49c6 26092 [BZ #12583]
8126d904
UD
26093 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26094 character representation.
26095 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26096
ccfe366e
RA
260972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26098
26099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26100 END(__isnan) to END(__isnanf) to match function entry point/label
26101 EALIGN(__isnanf,...).
26102
c6e13027
JJ
261032011-03-10 Jakub Jelinek <jakub@redhat.com>
26104
26105 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26106
33f85a3f
UD
261072011-03-10 Ulrich Drepper <drepper@gmail.com>
26108
028478fa
UD
26109 [BZ #12510]
26110 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26111 copy from the symbol referenced in the relocation to initialize the
26112 used variable.
26113 Patch by Piotr Bury <pbury@goahead.com>.
26114 * elf/Makefile: Add rules to build and tst-unique3.
26115 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26116 * elf/tst-unique3.cc: New file.
26117 * elf/tst-unique3.h: New file.
26118 * elf/tst-unique3lib.cc: New file.
26119 * elf/tst-unique3lib2.cc: New file.
26120
33f85a3f
UD
26121 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26122
03592fc7
MF
261232011-03-10 Mike Frysinger <vapier@gentoo.org>
26124
26125 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26126 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26127 to _start.
03592fc7 26128
6a5ee102
UD
261292011-03-06 Ulrich Drepper <drepper@gmail.com>
26130
26131 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26132 to-be-loaded object along a path to loader is ld.so.
26133
7e4ba49c
HJ
261342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26135 Ulrich Drepper <drepper@gmail.com>
26136
26137 * sysdeps/x86_64/memset.S: After aligning destination, code
26138 branches to different locations depending on the value of
26139 misalignment, when multiarch is enabled. Fix this.
26140
261412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26142
26143 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26144 Set _x86_64_preferred_memory_instruction for AMD processsors.
26145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26146 Set bit_Prefer_SSE_for_memop for AMD processors.
26147
13a804de
UD
261482011-03-04 Ulrich Drepper <drepper@gmail.com>
26149
26150 * libio/fmemopen.c (fmemopen): Optimize a bit.
26151
9d25c392
AS
261522011-03-03 Andreas Schwab <schwab@redhat.com>
26153
26154 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26155
a5543c6a
RM
261562011-03-03 Roland McGrath <roland@redhat.com>
26157
26158 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26159
012d35f7
DM
261602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26161
7e4ba49c 26162 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26163 __bzero_ultra1 instead of __memset_ultra1.
26164
4bff6e01
AS
261652011-02-23 Andreas Schwab <schwab@redhat.com>
26166 Ulrich Drepper <drepper@gmail.com>
26167
26168 [BZ #12509]
26169 * include/link.h (struct link_map): Add l_orig_initfini.
26170 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26171 returning unsuccessfully.
26172 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26173 close of a file loaded at startup, restore the original l_initfini
26174 list.
26175 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26176 list, store the pointer.
26177 * elf/Makefile ($(objpfx)noload-mem): New rule.
26178 (noload-ENV): Define.
26179 (tests): Add $(objpfx)noload-mem.
26180 * elf/noload.c: Include <memcheck.h>.
26181 (main): Call mtrace. Close all opened handles.
26182
f2092faf
AS
261832011-02-17 Andreas Schwab <schwab@redhat.com>
26184
26185 [BZ #12454]
26186 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26187 dependencies are missing.
26188
6c8a2e88
ST
261892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26190
f2092faf 26191 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26192 Hurd needs munmap.
26193 * sysdeps/mach/hurd/ifreq.h: New file.
26194
84a42118
PB
261952011-01-27 Petr Baudis <pasky@suse.cz>
26196 Ulrich Drepper <drepper@gmail.com>
26197
071f805e 26198 [BZ 12445]#
84a42118
PB
26199 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26200 to extend_alloca().
26201 * stdio-common/bug23.c: New file.
26202 * stdio-common/Makefile (tests): Add bug23.
26203
e23fe25b
AS
262042010-09-28 Andreas Schwab <schwab@redhat.com>
26205 Ulrich Drepper <drepper@gmail.com>
26206
26207 [BZ #12489]
26208 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26209 before performing relro protection. At old place add assertion
26210 to make sure nothing changed.
26211
d3f02e10
NS
262122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26213 Glauber de Oliveira Costa <glommer@gmail.com>
26214
26215 * elf/elf.h: Add new ARM TLS relocs.
26216
d55fd7a5
RA
262172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26218
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26220 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26221 cast from r3.
26222 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26223 'tests' variable.
26224 * sysdeps/wordsize-64/tst-writev.c: New file.
26225
2206397e
RA
262262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26227
26228 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26229 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26230 insns in _dl_start to prevent a TOC reference before relocs are
26231 resolved.
26232
e9433893
UD
262332011-02-15 Ulrich Drepper <drepper@gmail.com>
26234
26235 [BZ #12469]
26236 * Makeconfig: Remove RANLIB definition.
26237 * Makerules: Don't use RANLIB.
26238 * aclocal.m4: Remove ranlib test.
26239 * configure.in: No need to check for ranlib.
26240 * elf/rtld-Rules: Don't use RANLIB.
26241
f75286c6
ST
262422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26243
8e31c82d
ST
26244 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26245 protection macro.
26246 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26247 inclusion protection macro.
26248
f75286c6
ST
26249 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26250 SIGRTMIN and SIGRTMAX and print information in that case only when
26251 SIGRTMIN is defined.
26252
c1d0e639
JJ
262532011-02-11 Jakub Jelinek <jakub@redhat.com>
26254
26255 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26256 arginfo fn returning -1.
26257
26258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26259 and thousands string is zero terminated.
26260
edf9294e
AS
262612011-02-03 Andreas Schwab <schwab@redhat.com>
26262
26263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26264 sysdeps/unix/sysv/linux/bits/socket.h.
26265
2b7e92df
ST
262662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26267
edf9294e
AS
26268 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26269 (__CPU_COUNT): Remove old macros.
26270 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26271 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26272 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26273 (__sched_cpualloc, __sched_cpufree): Add declarations.
26274
a4c7ea7b
UD
262752011-02-05 Ulrich Drepper <drepper@gmail.com>
26276
26277 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26278 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26279 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26280 (readdhstai): Return value of addhstaiX call.
26281 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26282 (addgrbyX): Return value returned by cache_addgr.
26283 (readdgrbyname): Return value returned by addgrbyX.
26284 (readdgrbygid): Likewise.
26285 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26286 (addpwbyX): Return value returned by cache_addpw.
26287 (readdpwbyname): Return value returned by addhstbyX.
26288 (readdpwbyuid): Likewise.
26289 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26290 (addservbyX): Return value returned by cache_addserv.
26291 (readdservbyname): Return value returned by addservbyX:
26292 (readdservbyport): Likewise.
26293 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26294 (addhstbyX): Return value returned by cache_addhst.
26295 (readdhstbyname): Return value returned by addhstbyX.
26296 (readdhstbyaddr): Likewise.
26297 (readdhstbynamev6): Likewise.
26298 (readdhstbyaddrv6): Likewise.
26299 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26300 (readdinitgroups): Return value returned by addinitgroupsX.
26301 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26302 (prune_cache): Keep track of timeout value of re-added entries.
26303 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26304 * nscd/nscd.h: Adjust prototypes of readd* functions.
26305
a0bf67cc
RM
263062011-02-04 Roland McGrath <roland@redhat.com>
26307
26308 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26309 (nis_stats): Likewise.
26310 * nis/nis_modify.c (nis_modify): Likewise.
26311 * nis/nis_remove.c (nis_remove): Likewise.
26312 * nis/nis_add.c (nis_add): Likewise.
26313
26314 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26315
26316 * posix/fnmatch_loop.c: Add some consts.
26317
26318 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26319
435b95eb
L
263202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26321
26322 [BZ #12460]
26323 * config.make.in (config-cflags-novzeroupper): Define.
26324 * configure.in: Substitute libc_cv_cc_novzeroupper.
26325 * elf/Makefile (AVX-CFLAGS): Define.
26326 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26327 (CFLAGS-tst-auditmod4a.c): Likewise.
26328 (CFLAGS-tst-auditmod4b.c): Likewise.
26329 (CFLAGS-tst-auditmod6b.c): Likewise.
26330 (CFLAGS-tst-auditmod6c.c): Likewise.
26331 (CFLAGS-tst-auditmod7b.c): Likewise.
26332 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26333
8517b15e
UD
263342011-02-02 Ulrich Drepper <drepper@gmail.com>
26335
26336 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26337 function to the callback.
26338 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26339
10a656fe
AS
263402011-02-02 Andreas Schwab <schwab@redhat.com>
26341
26342 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26343 of errno.
26344
968dad0a
UD
263452011-01-19 Ulrich Drepper <drepper@gmail.com>
26346
9f94d2ea 26347 [BZ #11724]
968dad0a
UD
26348 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26349 of constructors.
26350 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26351 of destructors.
26352 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26353
26354 [BZ #11724]
26355 * elf/Makefile: Add rules to build and run new test.
26356 * elf/tst-initorder.c: New file.
26357 * elf/tst-initorder.exp: New file.
26358 * elf/tst-initordera1.c: New file.
26359 * elf/tst-initordera2.c: New file.
26360 * elf/tst-initordera3.c: New file.
26361 * elf/tst-initordera4.c: New file.
26362 * elf/tst-initorderb1.c: New file.
26363 * elf/tst-initorderb2.c: New file.
26364 * elf/tst-order-a1.c: New file.
26365 * elf/tst-order-a2.c: New file.
26366 * elf/tst-order-a3.c: New file.
26367 * elf/tst-order-a4.c: New file.
26368 * elf/tst-order-b1.c: New file.
26369 * elf/tst-order-b2.c: New file.
26370 * elf/tst-order-main.c: New file.
26371 New test case by George Gensure <werkt0@gmail.com>.
26372
86e92359
UD
263732010-10-01 Andreas Schwab <schwab@redhat.com>
26374
26375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26376 decoding ACE if AI_CANONIDN.
26377
5d5732b0
UD
263782011-01-18 Ulrich Drepper <drepper@gmail.com>
26379
26380 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26381
a77e8cbc
UD
263822011-01-17 Ulrich Drepper <drepper@gmail.com>
26383
6392473f
UD
26384 * version.h (RELEASE): Bump for 2.13 release.
26385 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26386
620a0529
UD
26387 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26388
18ba70a5
UD
26389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26390 MADV_NOHUGEPAGE.
32465c3e
UD
26391 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26397
c0dafcf1
UD
26398 * posix/getconf.c: Update copyright year.
26399 * catgets/gencat.c: Likewise.
26400 * csu/version.c: Likewise.
26401 * debug/catchsegv.sh: Likewise.
26402 * debug/xtrace.sh: Likewise.
26403 * elf/ldconfig.c: Likewise.
26404 * elf/ldd.bash.in: Likewise.
26405 * elf/sprof.c (print_version): Likewise.
26406 * iconv/iconv_prog.c: Likewise.
26407 * iconv/iconvconfig.c: Likewise.
26408 * locale/programs/locale.c: Likewise.
26409 * locale/programs/localedef.c: Likewise.
26410 * malloc/memusage.sh: Likewise.
26411 * malloc/mtrace.pl: Likewise.
26412 * nscd/nscd.c (print_version): Likewise.
26413 * nss/getent.c: Likewise.
26414
a77e8cbc
UD
26415 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26416 PF_CAIF, and PF_ALG.
26417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26418
77e8bddf
AS
264192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26420
1f20b93a
AS
26421 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26422 (modules-names): Use them.
26423 (ifunc-test-modules, ifunc-pie-tests): Define.
26424 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26425 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26426 (test-extras): Likewise.
26427 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26428 $(compile-command.c).
26429 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26430 (all-built-dso): Define.
26431 (check-textrel.out, check-execstack.out): Depend on it.
26432
77e8bddf
AS
26433 * configure.in: Don't override --enable-multi-arch.
26434
bc425b33
UD
264352011-01-15 Ulrich Drepper <drepper@gmail.com>
26436
26437 [BZ #6812]
26438 * nscd/hstcache.c (tryagain): Define.
26439 (cache_addhst): Return tryagain not notfound for temporary errors.
26440 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26441 failed.
26442
794c3ad3
UD
264432011-01-14 Ulrich Drepper <drepper@gmail.com>
26444
70181fdd
UD
26445 [BZ #10563]
26446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26447 to make the syscall.
26448 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26449
794c3ad3
UD
26450 [BZ #12378]
26451 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26452 and fall back to matching as normal character if the string ends before
26453 the matching ']' is found. This is what POSIX requires.
26454 * posix/testfnm.c: Adjust test result.
26455 * posix/globtest.sh: Adjust test result. Add new test.
26456 * posix/tst-fnmatch.input: Likewise.
26457 * posix/tst-fnmatch2.c: Add new test.
26458
68dc9497
AS
264592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26460
26461 * elf/Makefile (check-execstack): Revert last change. Depend on
26462 check-execstack.h.
26463 (check-execstack.h): New target.
26464 (generated): Add check-execstack.h.
26465 * elf/check-execstack.c: Include "check-execstack.h".
26466 (main): Revert last change.
26467 (handle_file): Return zero if GNU_STACK is absent and
26468 DEFAULT_STACK_PERMS doesn't include PF_X.
26469
451f001b
UD
264702011-01-13 Ulrich Drepper <drepper@gmail.com>
26471
cfa28e56
UD
26472 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26473 in child fails because the descriptor is already closed.
8cf8ce17
UD
26474 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26475 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26477
1086d70d
UD
26478 [BZ #12397]
26479 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26480 syscall.
26481
451f001b
UD
26482 [BZ #10484]
26483 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26484 temporary buffer used to handle multi lookups locally.
a85b5cb4 26485 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26486
08769175
UD
264872011-01-12 Ulrich Drepper <drepper@gmail.com>
26488
26489 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26490 loader is ld.so.
26491
5e49c52e
UD
264922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26493
26494 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26495 alignment for SSE2.
26496
60522a5f
UD
264972011-01-12 Ulrich Drepper <drepper@gmail.com>
26498
26499 [BZ #12394]
26500 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26501 characters. When rounding increased number of integer digits recompute
26502 number of groups.
26503 * stdio-common/tst-grouping.c: New file.
26504 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26505
f257bbd7
UD
265062011-01-09 Ulrich Drepper <drepper@gmail.com>
26507
26508 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26509 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26510
26511 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26512 void.
26513 * bits/select.h: Likewise.
26514
fa9c15cb
UD
265152011-01-08 Ulrich Drepper <drepper@gmail.com>
26516
26517 * po/ja.po: Update from translation team.
26518
16c2895f
DM
265192011-01-04 David S. Miller <davem@sunset.davemloft.net>
26520
26521 [BZ #11155]
26522 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26523 implementation just like for lxstat, fxstatat, et al.
26524
2543fef2
JM
265252010-12-27 Jim Meyering <meyering@redhat.com>
26526
26527 [BZ #12348]
26528 * posix/regexec.c (build_trtable): Return failure indication upon
26529 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26530
98727dbe
UD
265312010-12-25 Ulrich Drepper <drepper@gmail.com>
26532
5bd6dc5c
UD
26533 [BZ #12201]
26534 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26535 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26538
97983464
UD
26539 [BZ #12207]
26540 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26541
98727dbe
UD
26542 [BZ #12204]
26543 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26544 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26545
4a531bb0
L
265462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26547
26548 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26549 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26550 script has SORT_BY_INIT_PRIORITY.
26551 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26552 NO_CTORS_DTORS_SECTIONS is defined.
26553 * elf/soinit.c: Likewise.
26554 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26555 NO_CTORS_DTORS_SECTIONS is defined.
26556 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26557 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26558 * sysdeps/sh/init-first.c: Likewise.
26559 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26560
07eb4b71
UD
265612010-12-24 Ulrich Drepper <drepper@gmail.com>
26562
26563 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26564 always use the slow path.
26565
30950a5f
RA
265662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26567
26568 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26569 similar rule which adds the sysdep directories to the header search in
26570 order to pick up the correct platform stackinfo.h.
26571 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26572 perform test if it is, otherwise return successfully without testing.
26573 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26574 DEFAULT_STACK_PERMS define in stackinfo.h.
26575 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26576 defined in stackinfo.h.
26577 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26578 DEFAULT_STACK_PERMS defined in stackinfo.h.
26579 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26580 * sysdeps/ia64/stackinfo.h: Likewise.
26581 * sysdeps/s390/stackinfo.h: Likewise.
26582 * sysdeps/sh/stackinfo.h: Likewise.
26583 * sysdeps/sparc/stackinfo.h: Likewise.
26584 * sysdeps/x86_64/stackinfo.h: Likewise.
26585 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26586 PF_X for powerpc64. Retain PF_X for powerpc32.
26587
db753e2c
UD
265882010-12-19 Ulrich Drepper <drepper@gmail.com>
26589
14b697f7
UD
26590 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26591 accurately.
db753e2c
UD
26592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26593 GETDENTS_64BIT_ALIGNED.
26594
28300719
UD
265952010-12-14 Ulrich Drepper <dreper@gmail.com>
26596
14b697f7 26597 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26598
4f197237
AS
265992010-12-10 Andreas Schwab <schwab@redhat.com>
26600
dbb0472f
AS
26601 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26602 _GNU_SOURCE.
26603
4f197237
AS
26604 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26605 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26606 Remove __restrict.
26607 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26608 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26609
fb88ac72
UD
266102010-12-09 Ulrich Drepper <drepper@gmail.com>
26611
26612 [BZ #11655]
26613 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26614 are initialized.
26615
42acbb92
JJ
266162010-12-09 Jakub Jelinek <jakub@redhat.com>
26617
26618 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26619
c038d98d
UD
266202010-12-03 Ulrich Drepper <drepper@gmail.com>
26621
26622 * po/it.po: Update from translation team.
26623
3a4a2499
L
266242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26625
26626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26627 unused codes.
26628
1e24cf6e
UD
266292010-11-30 Ulrich Drepper <drepper@gmail.com>
26630
26631 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26632
a7690819
AS
266332010-11-24 Andreas Schwab <schwab@redhat.com>
26634
26635 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26636 specially.
26637 (gaih_getanswer_slice): Likewise.
26638
3bf8d1b1
JJ
266392010-10-20 Jakub Jelinek <jakub@redhat.com>
26640
26641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26642
6db52fbb
PB
266432010-05-31 Petr Baudis <pasky@suse.cz>
26644
26645 [BZ #11149]
26646 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26647 silently even in the chroot mode.
26648
eaca7569
UD
266492010-11-22 Ulrich Drepper <drepper@gmail.com>
26650
26651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26652 last patch a bit. Pretty printing
26653
3056dcdb
UD
266542010-05-31 Petr Baudis <pasky@suse.cz>
26655
26656 [BZ #10085]
26657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26658 initialization of skip_initgroups_dyn.
26659
cf7c9078
UD
266602010-11-19 Ulrich Drepper <drepper@gmail.com>
26661
26662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26664
a1fb5e3e
UD
266652010-11-16 Ulrich Drepper <drepper@gmail.com>
26666
26667 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26668
3540d66b
AS
266692010-11-11 Andreas Schwab <schwab@redhat.com>
26670
26671 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26672 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26673 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26674 ($(objpfx)tst-fnmatch-mem): New rule.
26675 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26676 * posix/tst-fnmatch.c (main): Call mtrace.
26677
13b69574
L
266782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26679
26680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26681 Support Intel processor model 6 and model 0x2c.
26682
da93d214
LM
266832010-11-10 Luis Machado <luisgpm@br.ibm.com>
26684
26685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26686 signed comparison.
26687
8ca52c6e
L
266882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 [BZ #12205]
26691 * string/test-strncasecmp.c (check_result): New function.
26692 (do_one_test): Use it.
26693 (check1): New function.
26694 (test_main): Use it.
26695 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26696 Support strcasecmp and strncasecmp.
26697
69da074d
UD
266982010-11-08 Ulrich Drepper <drepper@gmail.com>
26699
26700 [BZ #12194]
26701 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26703
ff02d528
L
267042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26705
26706 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26707 IFUNC support.
26708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26709 memset-x86-64.
26710 * sysdeps/x86_64/multiarch/bzero.S: New file.
26711 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26712 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26713 * sysdeps/x86_64/multiarch/memset.S: New file.
26714 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26716 Set bit_Prefer_SSE_for_memop for Intel processors.
26717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26718 Define.
26719 (index_Prefer_SSE_for_memop): Define.
26720 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26721
344d0b54
LM
267222010-11-04 Luis Machado <luisgpm@br.ibm.com>
26723
26724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26726
c0dde15b
UD
267272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26728
26729 [BZ #12191]
26730 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26731 (__x86_64_raw_data_cache_size_half): Likewise.
26732 (__x86_64_raw_shared_cache_size): Likewise.
26733 (__x86_64_raw_shared_cache_size_half): Likewise.
26734
26735 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26736 (__x86_64_raw_data_cache_size_half): Likewise.
26737 (__x86_64_raw_shared_cache_size): Likewise.
26738 (__x86_64_raw_shared_cache_size_half): Likewise.
26739 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26740 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26741 and __x86_64_raw_shared_cache_size_half. Round
26742 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26743 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26744 to multiple of 256 bytes.
26745
0e516e0e
MS
267462010-11-03 Ulrich Drepper <drepper@gmail.com>
26747
26748 [BZ #12167]
26749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26750 of inacessible symlinks. Verify result of symlink before returning it.
26751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26752 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26753
0e012e87
ER
267542010-10-28 Erich Ritz <erichritz@gmail.com>
26755
26756 * math/math.h (isinf): Fix typo in comment.
26757
de0ff7bc
UD
267582010-11-01 Ulrich Drepper <drepper@gmail.com>
26759
26760 * po/da.po: Update from translation team.
26761
fa41c84d
UD
267622010-10-26 Ulrich Drepper <drepper@gmail.com>
26763
26764 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26765 is added to the list.
26766
f0967738
AK
267672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26768 Ulrich Drepper <drepper@gmail.com>
26769
26770 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26771 the global list here. Move code to...
26772 (_dl_add_to_namespace_list): ...here. New function.
26773 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26774 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26775 * elf/dl-load.c (lose): Don't remove the element from the list.
26776 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26777 (_dl_map_object): Likewise.
26778
267792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26780
26781 [BZ #12159]
26782 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26783 into all bytes of SSE register.
26784 Patch by Richard Li <richardpku@gmail.com>.
26785
f0967738 267862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26787
26788 [BZ #12140]
26789 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26790 perturbing.
26791
d0b9e94f
MB
267922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26793
26794 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26795 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26797 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26799 submachine.
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26801
8e9f92e9
AS
268022010-10-22 Andreas Schwab <schwab@redhat.com>
26803
26804 * include/dlfcn.h (__RTLD_SECURE): Define.
26805 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26806 mode & __RTLD_SECURE instead.
26807 (open_path): Rename preloaded parameter to secure.
26808 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26809 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26810 * elf/dl-deps.c (openaux): Likewise.
26811 * elf/rtld.c (struct map_args): Remove is_preloaded.
26812 (map_doit): Don't use it.
26813 (dl_main): Likewise.
26814 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26815 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26816
bc96fbda
AS
268172010-09-09 Andreas Schwab <schwab@redhat.com>
26818
26819 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26820 (sysd-rules-targets): Remove duplicates.
26821 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26822 rtld-%.$o dependency.
26823
22cd1c9b
AS
268242010-10-18 Andreas Schwab <schwab@redhat.com>
26825
26826 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26827 _dl_map_object do it.
26828
18edac48
UD
268292010-10-19 Ulrich Drepper <drepper@gmail.com>
26830
26831 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26832 fast fma builtins, define the macros in the C99 standard.
26833 (FP_FAST_FMAF): Likewise.
26834 (FP_FAST_FMAL): Likewise.
26835 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26836
26837 * bits/mathdef.h: Update copyright year.
26838 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26839
d2050124
MM
268402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26841
26842 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26843 builtins, define the macros in the C99 standard.
26844 (FP_FAST_FMAF): Likewise.
26845 (FP_FAST_FMAL): Likewise.
26846 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26847 multiply/add.
26848 (FP_FAST_FMAF): Likewise.
26849
475facd1
JJ
268502010-10-15 Jakub Jelinek <jakub@redhat.com>
26851
26852 [BZ #3268]
26853 * math/libm-test.inc (fma_test): Some new testcases.
26854 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26856 y and infinite z. Do multiplication by C already in long double.
26857 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26859 y and infinite z. Do bitwise or of inexact bit into u.d.
26860 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26861 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26862 * sysdeps/i386/fpu/s_fma.S: Removed.
26863 * sysdeps/i386/fpu/s_fmal.S: Removed.
26864
7c08a05c
JJ
268652010-10-16 Jakub Jelinek <jakub@redhat.com>
26866
26867 [BZ #3268]
26868 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26870 computation is not scheduled after fetestexcept. Fix value
26871 of minimum denormal long double.
26872
f3f7372d
JJ
268732010-10-14 Jakub Jelinek <jakub@redhat.com>
26874
26875 [BZ #3268]
26876 * math/libm-test.inc (fma_test): Add some more tests.
26877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26878 correctly.
26879
14d43591
AS
268802010-10-15 Andreas Schwab <schwab@redhat.com>
26881
26882 * scripts/data/localplt-s390-linux-gnu.data: New file.
26883 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26884
5e908464
JJ
268852010-10-13 Jakub Jelinek <jakub@redhat.com>
26886
26887 [BZ #3268]
26888 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26889 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26890 instead of dbl-64.
26891 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26892 inlines.
26893 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26895 if one of x and y is very large and the other is subnormal.
26896 * sysdeps/s390/fpu/s_fmaf.c: New file.
26897 * sysdeps/s390/fpu/s_fma.c: New file.
26898 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26899 * sysdeps/powerpc/fpu/s_fma.S: New file.
26900 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26901 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26902 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26903
269042010-10-12 Jakub Jelinek <jakub@redhat.com>
26905
26906 [BZ #3268]
26907 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26908 fma tests.
26909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26910 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26911 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26912 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26913 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26914 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26916
b833d51f
UD
269172010-10-12 Ulrich Drepper <drepper@redhat.com>
26918
26919 [BZ #12078]
26920 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26921 * posix/bug-regex31.input: Add test case.
26922
1751705d
UD
269232010-10-11 Ulrich Drepper <drepper@gmail.com>
26924
e9b9cbf5
UD
26925 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26926 * posix/bug-regex31.input: New file.
26927
26928 [BZ #12078]
26929 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26930 (parse_sub_exp): Fix last change, use postorder.
26931
ef06edbe
UD
26932 * posix/bug-regex31.c: New file.
26933 * posix/Makefile: Add rules to build and run bug-regex31.
26934
a129c80d
UD
26935 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26936
26937 [BZ #12078]
26938 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26939
b76b818e
UD
26940 [BZ #12108]
26941 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26942 to have entries in sys_siglist.
26943
1751705d
UD
26944 [BZ #12093]
26945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26946 be NULL.
26947
9ff8d36f
JJ
269482010-10-07 Jakub Jelinek <jakub@redhat.com>
26949
26950 [BZ #3268]
26951 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26952 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26954 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26956 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26957 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26958 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26959 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26960 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26961 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26963 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26964 * math/ftestexcept.c (fetestexcept): Likewise.
26965 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26966 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26967 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26969 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26970 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26972
af325969
UD
269732010-10-11 Ulrich Drepper <drepper@gmail.com>
26974
c579b202 26975 [BZ #12107]
af325969
UD
26976 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26977 newline.
26978
67a67b95
UD
269792010-10-06 Ulrich Drepper <drepper@gmail.com>
26980
26981 * string/bug-strstr1.c: New file.
26982 * string/Makefile: Add rules to build and run bug-strstr1.
26983
5fb308bc
EB
269842010-10-05 Eric Blake <eblake@redhat.com>
26985
26986 [BZ #12092]
26987 * string/str-two-way.h (two_way_long_needle): Always clear memory
26988 when skipping input due to the shift table.
26989
45db99c7
UD
269902010-10-03 Ulrich Drepper <drepper@gmail.com>
26991
3b111893
UD
26992 [BZ #12005]
26993 * malloc/mcheck.c: Handle large requests.
26994
45db99c7
UD
26995 [BZ #12077]
26996 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26997 for strncmp and strncasecmp.
26998 * string/stratcliff.c: Add tests for strcmp and strncmp.
26999 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27000
cf7a1eb8
NI
270012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27002
27003 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27004 __set_fpscr.
27005
6484ba5e
AJ
270062010-09-30 Andreas Jaeger <aj@suse.de>
27007
27008 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27009 (CGROUP_SUPER_MAGIC): Define.
27010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27011 Handle btrfs and cgroup file systems.
27012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27013 Likewise.
27014
91c42559
LM
270152010-09-27 Luis Machado <luisgpm@br.ibm.com>
27016
27017 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27018 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27019
87a97932
AK
270202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27021
27022 [BZ #12067]
27023 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27024 trying to locate the ELF header.
27025
c21cc9bc
AS
270262010-09-27 Andreas Schwab <schwab@redhat.com>
27027
27028 [BZ #11611]
27029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27030 Mask out sign-bit copies when constructing f_fsid.
27031
315970f6
PB
270322010-09-24 Petr Baudis <pasky@suse.cz>
27033
27034 * debug/stack_chk_fail_local.c: Add missing licence exception.
27035 * debug/warning-nop.c: Likewise.
27036
1ac7a2c7
JM
270372010-09-15 Joseph Myers <joseph@codesourcery.com>
27038
27039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27040 implementing getdents64 using getdents syscall, set d_type if
27041 __ASSUME_GETDENTS32_D_TYPE.
27042
56801c50
AS
270432010-09-16 Andreas Schwab <schwab@redhat.com>
27044
27045 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27046 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27047
dda51327
UD
270482010-09-21 Ulrich Drepper <drepper@redhat.com>
27049
27050 [BZ #12037]
27051 * posix/unistd.h: Undo change of feature selection for ftruncate from
27052 2010-01-11.
27053
8ffcee4a
UD
270542010-09-20 Ulrich Drepper <drepper@redhat.com>
27055
a545ecd9 27056 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27057 detection.
27058
e24f0a8b
AS
270592010-09-20 Andreas Schwab <schwab@redhat.com>
27060
27061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27062 fanotify_mark.
27063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27064
7291c56f
AS
270652010-09-14 Andreas Schwab <schwab@redhat.com>
27066
27067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27068 variables after CHECK_SP call.
27069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27070
bc5fb037
AS
270712010-09-13 Andreas Schwab <schwab@redhat.com>
27072 Ulrich Drepper <drepper@redhat.com>
27073
27074 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27075 re-relocationg ld.so.
27076 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27077 _dl_init_paths call.
27078 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27079 here anymore.
27080
e66e7419
UD
270812010-09-14 Ulrich Drepper <drepper@redhat.com>
27082
27083 * resolv/res_init.c (__res_vinit): Count the default server we added.
27084
c044aa75
CLT
270852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27086 Ulrich Drepper <drepper@redhat.com>
27087
27088 [BZ #11968]
27089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27090 (____longjmp_chk): Use %ebx for saving value across system call.
27091 Add unwind info.
27092
32cf4069
AS
270932010-09-06 Andreas Schwab <schwab@redhat.com>
27094
27095 * manual/Makefile: Don't mix pattern rules with normal rules.
27096
817328ee
AS
270972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27098
27099 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27100 operation.
27101 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27102 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27103 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27104 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27106 Likewise.
27107
29fddf61
UD
271082010-09-04 Ulrich Drepper <drepper@redhat.com>
27109
27110 [BZ #11979]
27111 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27112 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27113
0959ffc9
UD
271142010-09-02 Ulrich Drepper <drepper@redhat.com>
27115
27116 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27117 * sysdeps/x86_64/addmul_1.S: Likewise.
27118 * sysdeps/x86_64/lshift.S: Likewise.
27119 * sysdeps/x86_64/mul_1.S: Likewise.
27120 * sysdeps/x86_64/rshift.S: Likewise.
27121 * sysdeps/x86_64/sub_n.S: Likewise.
27122 * sysdeps/x86_64/submul_1.S: Likewise.
27123
ece29840
ST
271242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27125
0959ffc9
UD
27126 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27127 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27128 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27129 * bits/sched.h [__need_schedparam]
ece29840 27130 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27131 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27132 (__defined_schedparam): Define to 1.
ece29840
ST
27133 (__sched_param): New structure, identical to sched_param.
27134 (__need_schedparam): Undefine.
27135
e53a31fe
MF
271362010-08-31 Mike Frysinger <vapier@gentoo.org>
27137
fdc0c10d
MF
27138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27139 (epoll_create1): Declare.
27140
e53a31fe
MF
27141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27142
a726d796
AS
271432010-08-31 Andreas Schwab <schwab@redhat.com>
27144
27145 [BZ #7066]
27146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27147 shifting retval into place.
27148
2f3e3dc7
UD
271492010-09-01 Ulrich Drepper <drepper@redhat.com>
27150
f2933da9
UD
27151 * nis/rpcsvc/nis.h: Update copyright notice.
27152 * nis/rpcsvc/nis.x: Likewise.
27153 * nis/rpcsvc/nis_callback.h: Likewise.
27154 * nis/rpcsvc/nis_callback.x: Likewise.
27155 * nis/rpcsvc/nis_object.x: Likewise.
27156 * nis/rpcsvc/nis_tags.h: Likewise.
27157 * nis/rpcsvc/yp.h: Likewise.
27158 * nis/rpcsvc/yp.x: Likewise.
27159 * nis/rpcsvc/ypupd.h: Likewise.
27160 * nis/yp_xdr.c: Likewise.
27161 * nis/ypupdate_xdr.c: Likewise.
27162
2f3e3dc7
UD
27163 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27164 mainly the body of pmap_getport. Add parameters to specify timeouts.
27165 (pmap_getport): Use __libc_rpc_getport.
27166 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27167 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27168 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27169
f3dcc2f9
AS
271702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27171
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27173 fanotify_mark.
27174
6d34eb5b
RM
271752010-08-27 Roland McGrath <roland@redhat.com>
27176
27177 * sysdeps/i386/i686/multiarch/Makefile
27178 (CFLAGS-varshift.c): New variable.
27179
9ea3de11
UD
271802010-08-27 Ulrich Drepper <drepper@redhat.com>
27181
c96d23fc
UD
27182 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27183 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27184
9ea3de11
UD
27185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27186
27187 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27188
623aac7f
L
271892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27190
27191 * sysdeps/x86_64/strlen.S: Unroll the loop.
27192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27193 strlen-sse2 strlen-sse2-bsf.
27194 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27195 __strlen_no_bsf if bit_Slow_BSF is set.
27196 (__strlen_sse42): Removed.
27197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27198 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27199
8b2b7715
RM
272002010-08-25 Roland McGrath <roland@redhat.com>
27201
27202 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27203 * sysdeps/x86_64/multiarch/varshift.c: New file.
27204 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27205 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27206 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27207 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27208
e73015f2
L
272092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27210
27211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27212 strlen-sse2 strlen-sse2-bsf.
27213 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27214 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27215 (__strlen_sse2): Removed.
27216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27219 bit_Slow_BSF for Atom.
27220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27221 (index_Slow_BSF): Define.
27222 (HAS_SLOW_BSF): Define.
27223
df24a73e
UD
272242010-08-25 Ulrich Drepper <drepper@redhat.com>
27225
27226 [BZ #10851]
27227 * resolv/res_init.c (__res_vinit): When no server address at all
27228 is given default to loopback.
27229
f2ac4868
RM
272302010-08-24 Roland McGrath <roland@redhat.com>
27231
09055553
RM
27232 * configure.in: Remove config-name.h generation.
27233 * configure: Regenerated.
27234 * config-name.in: File removed.
27235 * scripts/config-uname.sh: New file.
27236 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27237 ($(objdir)config-name.h): New target.
27238
f2ac4868
RM
27239 * sunrpc/rpc_parse.h: Avoid nested comment.
27240
73f27d5e
RH
272412010-08-24 Richard Henderson <rth@redhat.com>
27242 Ulrich Drepper <drepper@redhat.com>
27243 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27247 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27248 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27249 _mm_alignr_epi8 with _mm_loadu_si128.
27250 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27251 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27252 (__m128i_shift_right): Removed.
27253 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27254 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27255 * sysdeps/x86_64/multiarch/varshift.h: New file.
27256 * sysdeps/x86_64/multiarch/varshift.S: New file.
27257
84b9230c
MF
272582010-08-21 Mike Frysinger <vapier@gentoo.org>
27259
27260 * configure.in: Move assembler checks to before sysdep dir checking.
27261
9bbd0ddc
PB
272622010-08-20 Petr Baudis <pasky@suse.cz>
27263
27264 * LICENSES: Sync the sunrpc license.
27265
9da4bb31
UD
272662010-08-19 Ulrich Drepper <drepper@redhat.com>
27267
a7ab6ec8
UD
27268 * sunrpc/auth_des.c: Update copyright notice once again.
27269 * sunrpc/auth_none.c: Likewise.
27270 * sunrpc/auth_unix.c: Likewise.
27271 * sunrpc/authdes_prot.c: Likewise.
27272 * sunrpc/authuxprot.c: Likewise.
27273 * sunrpc/bindrsvprt.c: Likewise.
27274 * sunrpc/clnt_gen.c: Likewise.
27275 * sunrpc/clnt_perr.c: Likewise.
27276 * sunrpc/clnt_raw.c: Likewise.
27277 * sunrpc/clnt_simp.c: Likewise.
27278 * sunrpc/clnt_tcp.c: Likewise.
27279 * sunrpc/clnt_udp.c: Likewise.
27280 * sunrpc/clnt_unix.c: Likewise.
27281 * sunrpc/des_crypt.c: Likewise.
27282 * sunrpc/des_soft.c: Likewise.
27283 * sunrpc/get_myaddr.c: Likewise.
27284 * sunrpc/getrpcport.c: Likewise.
27285 * sunrpc/key_call.c: Likewise.
27286 * sunrpc/key_prot.c: Likewise.
27287 * sunrpc/openchild.c: Likewise.
27288 * sunrpc/pm_getmaps.c: Likewise.
27289 * sunrpc/pm_getport.c: Likewise.
27290 * sunrpc/pmap_clnt.c: Likewise.
27291 * sunrpc/pmap_prot.c: Likewise.
27292 * sunrpc/pmap_prot2.c: Likewise.
27293 * sunrpc/pmap_rmt.c: Likewise.
27294 * sunrpc/rpc/auth.h: Likewise.
27295 * sunrpc/rpc/auth_unix.h: Likewise.
27296 * sunrpc/rpc/clnt.h: Likewise.
27297 * sunrpc/rpc/des_crypt.h: Likewise.
27298 * sunrpc/rpc/key_prot.h: Likewise.
27299 * sunrpc/rpc/netdb.h: Likewise.
27300 * sunrpc/rpc/pmap_clnt.h: Likewise.
27301 * sunrpc/rpc/pmap_prot.h: Likewise.
27302 * sunrpc/rpc/pmap_rmt.h: Likewise.
27303 * sunrpc/rpc/rpc.h: Likewise.
27304 * sunrpc/rpc/rpc_des.h: Likewise.
27305 * sunrpc/rpc/rpc_msg.h: Likewise.
27306 * sunrpc/rpc/svc.h: Likewise.
27307 * sunrpc/rpc/svc_auth.h: Likewise.
27308 * sunrpc/rpc/types.h: Likewise.
27309 * sunrpc/rpc/xdr.h: Likewise.
27310 * sunrpc/rpc_clntout.c: Likewise.
27311 * sunrpc/rpc_cmsg.c: Likewise.
27312 * sunrpc/rpc_common.c: Likewise.
27313 * sunrpc/rpc_cout.c: Likewise.
27314 * sunrpc/rpc_dtable.c: Likewise.
27315 * sunrpc/rpc_hout.c: Likewise.
27316 * sunrpc/rpc_main.c: Likewise.
27317 * sunrpc/rpc_parse.c: Likewise.
27318 * sunrpc/rpc_parse.h: Likewise.
27319 * sunrpc/rpc_prot.c: Likewise.
27320 * sunrpc/rpc_sample.c: Likewise.
27321 * sunrpc/rpc_scan.c: Likewise.
27322 * sunrpc/rpc_scan.h: Likewise.
27323 * sunrpc/rpc_svcout.c: Likewise.
27324 * sunrpc/rpc_tblout.c: Likewise.
27325 * sunrpc/rpc_util.c: Likewise.
27326 * sunrpc/rpc_util.h: Likewise.
27327 * sunrpc/rpcinfo.c: Likewise.
27328 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27329 * sunrpc/rpcsvc/key_prot.x: Likewise.
27330 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27331 * sunrpc/rpcsvc/mount.x: Likewise.
27332 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27333 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27334 * sunrpc/rpcsvc/rex.x: Likewise.
27335 * sunrpc/rpcsvc/rstat.x: Likewise.
27336 * sunrpc/rpcsvc/rusers.x: Likewise.
27337 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27338 * sunrpc/rpcsvc/spray.x: Likewise.
27339 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27340 * sunrpc/rtime.c: Likewise.
27341 * sunrpc/svc.c: Likewise.
27342 * sunrpc/svc_auth.c: Likewise.
27343 * sunrpc/svc_authux.c: Likewise.
27344 * sunrpc/svc_raw.c: Likewise.
27345 * sunrpc/svc_run.c: Likewise.
27346 * sunrpc/svc_simple.c: Likewise.
27347 * sunrpc/svc_tcp.c: Likewise.
27348 * sunrpc/svc_udp.c: Likewise.
27349 * sunrpc/svc_unix.c: Likewise.
27350 * sunrpc/svcauth_des.c: Likewise.
27351 * sunrpc/xcrypt.c: Likewise.
27352 * sunrpc/xdr.c: Likewise.
27353 * sunrpc/xdr_array.c: Likewise.
27354 * sunrpc/xdr_float.c: Likewise.
27355 * sunrpc/xdr_mem.c: Likewise.
27356 * sunrpc/xdr_rec.c: Likewise.
27357 * sunrpc/xdr_ref.c: Likewise.
27358 * sunrpc/xdr_sizeof.c: Likewise.
27359 * sunrpc/xdr_stdio.c: Likewise.
27360
9da4bb31
UD
27361 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27362 handling.
27363
bdaa77bc
AS
273642010-08-19 Andreas Schwab <schwab@redhat.com>
27365
27366 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27367
fe2f79db
LM
273682010-08-19 Luis Machado <luisgpm@br.ibm.com>
27369
27370 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27373 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27375 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27377 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27380 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27382 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27384
b9b42ee0
AB
273852010-07-26 Anton Blanchard <anton@samba.org>
27386
27387 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27388 * malloc/arena.c (heap_trim): Likewise.
27389
1c06ba31
UD
273902010-08-16 Ulrich Drepper <drepper@redhat.com>
27391
27392 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27393 here. Not...
27394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27395 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27396
f8392f40
L
273972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27398
27399 * sysdeps/i386/elf/Makefile: New file.
27400
3162f12e
AS
274012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27402
27403 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27404 from fanotify_init.
27405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27407
28c90b2c
UD
274082010-08-15 Ulrich Drepper <drepper@redhat.com>
27409
27410 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27411 of strncasecmp_l.
1feccb6c 27412 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27413
ca6bb004
UD
274142010-08-14 Ulrich Drepper <drepper@redhat.com>
27415
e9f82e0d
UD
27416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27417 strncase_l-nonascii.
27418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27419 Add strncase_l-ssse3.
27420 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27421 * sysdeps/x86_64/strcmp.S: Likewise.
27422 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27423 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27424 * sysdeps/x86_64/strncase.S: New file.
27425 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27426 * sysdeps/x86_64/strncase_l.S: New file.
27427 * string/Makefile (strop-tests): Add strncasecmp.
27428 * string/test-strncasecmp.c: New file.
27429
27430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27431 warning.
27432
ca6bb004
UD
27433 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27435
052fa7b3
AS
274362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27437
27438 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27439
962dba78
UD
274402010-08-12 Ulrich Drepper <drepper@redhat.com>
27441
27442 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27445
bebff237
AM
274462010-05-01 Alan Modra <amodra@gmail.com>
27447
27448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27449 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27450 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27451 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27452 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27453 tidying. Don't tail-call __sigjmp_save for static lib.
27454 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27455 save location.
27456 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27457 (CALL_MCOUNT): Add eh info, and nop after bl.
27458 (TAIL_CALL_SYSCALL_ERROR): New macro.
27459 (PSEUDO_RET): Use it.
27460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27461 Correct save location of integer regs and cr.
27462 (_dl_profile_resolve): Correct cr save location. Delete nops
27463 after bl when SHARED. Reduce cfi size a little by better
27464 placement of cfi directives.
27465 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27466 make a stack frame. Instead use parm save area as a temp.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27468 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27470 Don't make a stack frame for parent, use parm save area.
27471 Increase child stack frame to 112 bytes. Don't save unused reg,
27472 and adjust reg usage. Set up cfi on error recovery and
27473 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27475 (__makecontext): Add dummy nop after jump to exit.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27477 Use correct parm save area and cr save, reduce stack frame.
27478 Correct cfi for possible PSEUDO_RET frame setup.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27480 Branch to local label emitted by PSEUDO_RET rather than
27481 __syscall_error.
27482
02637374
AS
274832010-08-12 Andreas Schwab <schwab@redhat.com>
27484
27485 [BZ #11904]
27486 * locale/programs/locale.c (print_assignment): New function.
27487 (show_locale_vars): Use it.
27488
c3e2f19b
UD
274892010-08-11 Ulrich Drepper <drepper@redhat.com>
27490
3cdaa6ad
UD
27491 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27492 field.
27493 (struct statfs64): Likewise.
27494 (_STATFS_F_FLAGS): Define.
27495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27497 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27498 (ST_VALID): Define locally.
27499 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27500 __statvfs_getflags, use the provided value.
27501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27502 __ASSUME_STATFS_F_FLAGS.
27503
754f7da3
UD
27504 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27505
10b3bedc
UD
27506 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27507 Add sys/fanotify.h.
27508 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27509 fanotify_mask for GLIBC_2.13.
27510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27511 fanotify_init and fanotify_mark.
27512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27513 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27514
c08fb0d7
UD
27515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27516 Add prlimit.
27517 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27518 prlimit64 for GLIBC_2.13.
27519 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27520 prlimit64.
27521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27522 syscall.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27528 add prlimit alias.
27529 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27530
15bac72b
UD
27531 [BZ #11903]
27532 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27533 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27534
c3e2f19b
UD
27535 * nss/Makefile: Add rules to build and run tst-nss-test1.
27536 * shlib-versions: Add entry for libnss_test1.
27537 * nss/nss_test1.c: New file.
27538 * nss/tst-nss-test1.c: New file.
27539
27540 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27541 (__nss_configure_lookup): Set appropriate entry in
27542 __nss_configure_lookup to true.
27543 * nss/nsswitch.h: Define enum with indeces of databases in
27544 databases and __nss_database_custom arrays. Declare
27545 __nss_database_custom.
27546 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27547 to avoid using nscd when custom rules are installed.
27548 * nss/getXXbyYY_r.c: Likewise.
27549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27550
27551 * nss/nss_files/files-parse.c: Whitespace fixes.
27552
f15ce4d8
UD
275532010-08-09 Ulrich Drepper <drepper@redhat.com>
27554
27555 [BZ #11883]
27556 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27557 * posix/fnmatch_loop.c: Likewise.
27558
d22e4cc9
AK
275592010-07-17 Andi Kleen <ak@linux.intel.com>
27560
27561 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27562 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27563 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27564 * Versions.def [GLIBC_2.13]: Add.
27565
805bc17d
UD
275662010-08-06 Ulrich Drepper <drepper@redhat.com>
27567
27568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27569 Also fail if tpwd after pwuid call is NULL.
27570
5a42321d
ST
275712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27572
27573 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27574 when converting to ms.
27575
fd3ebeda
ST
275762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27577
27578 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27579 EOPNOTSUPP errors with ENOTTY.
27580 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27581 EOPNOTSUPP errors with ENOTTY.
27582
73507d3a
UD
275832010-07-31 Ulrich Drepper <drepper@redhat.com>
27584
27585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27586 Add strcasecmp_l-ssse3.
27587 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27588 strcasecmp.
27589 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27590 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27592
fe36dd02
UD
275932010-07-30 Ulrich Drepper <drepper@redhat.com>
27594
66f6765a
UD
27595 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27596
42e08a54
UD
27597 * string/Makefile (strop-tests): Add strcasecmp.
27598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27599 strcasecmp_l-nonascii.
27600 (gen-as-const-headers): Add locale-defines.sym.
27601 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27602 * sysdeps/x86_64/strcasecmp.S: New file.
27603 * sysdeps/x86_64/strcasecmp_l.S: New file.
27604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27605 * sysdeps/x86_64/locale-defines.sym: New file.
27606 * string/test-strcasecmp.c: New file.
27607
fe36dd02
UD
27608 * string/test-strcasestr.c: Test both ends of the range of characters.
27609 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27610
48cbc0d6
RM
276112010-07-29 Roland McGrath <roland@redhat.com>
27612
76e6d6bc 27613 [BZ #11856]
48cbc0d6
RM
27614 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27615
880113d9
UD
276162010-07-27 Ulrich Drepper <drepper@redhat.com>
27617
27618 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27619 for ld.so.
27620
deb9cabb
AS
276212010-07-27 Andreas Schwab <schwab@redhat.com>
27622
27623 * manual/memory.texi (Malloc Tunable Parameters): Document
27624 M_PERTURB.
27625
1c7570ff
RM
276262010-07-26 Roland McGrath <roland@redhat.com>
27627
27628 [BZ #11840]
27629 * configure.in (-fgnu89-inline check): Set and substitute
27630 gnu89_inline, not libc_cv_gnu89_inline.
27631 * configure: Regenerated.
27632 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27633
24fb0f88
UD
276342010-07-26 Ulrich Drepper <drepper@redhat.com>
27635
27636 * string/test-strnlen.c: New file.
27637 * string/Makefile (strop-tests): Add strnlen.
27638 * string/tester.c (test_strnlen): Add a few more test cases.
27639 * string/tst-strlen.c: Better error reporting.
27640
27641 * sysdeps/x86_64/strnlen.S: New file.
27642
8e96b93a
UD
276432010-07-24 Ulrich Drepper <drepper@redhat.com>
27644
27645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27646 lower-latency instructions.
27647
dbc676d4
UD
276482010-07-23 Ulrich Drepper <drepper@redhat.com>
27649
27650 * string/test-strcasestr.c: New file.
27651 * string/test-strstr.c: New file.
27652 * string/Makefile (strop-tests): Add strstr and strcasestr.
27653 * string/str-two-way.h: Don't undefine MAX.
27654 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27655
f6a31e0e
AS
276562010-07-21 Andreas Schwab <schwab@redhat.com>
27657
27658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27659 strcasestr-nonascii.
27660 (CFLAGS-strcasestr-nonascii.c): Define.
27661 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27663 Remove unused attribute.
27664
5dbc3b6c
RM
276652010-07-20 Roland McGrath <roland@redhat.com>
27666
27667 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27668 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27669 ld.so.cache was broken. With it, there is no way to disable dsocaps
27670 like LD_HWCAP_MASK can disable hwcaps.
27671
23d101d8
EPM
276722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27673
27674 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27675
cc9f2e47
UD
276762010-07-16 Ulrich Drepper <drepper@redhat.com>
27677
27678 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27679 call in strcasestr.
27680 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27681 __strcasestr_sse42_nonascii.
27682 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27683 strcasestr-nonascii.c.
27684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27685
77c1b069
LM
276862010-06-15 Luis Machado <luisgpm@br.ibm.com>
27687
27688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27692
440566c3
UD
276932010-07-09 Ulrich Drepper <drepper@redhat.com>
27694
27695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27696 fcntl.
27697
5be9d05d
AS
276982010-07-06 Andreas Schwab <schwab@redhat.com>
27699
c30b7ee2 27700 [BZ #11577]
5be9d05d
AS
27701 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27702 dl_signal_cerror.
27703
8a492a67
UD
277042010-07-06 Ulrich Drepper <drepper@redhat.com>
27705
27706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27707 _PC_PIPE_BUF using F_GETPIPE_SZ.
27708
713df3d5
RM
277092010-07-05 Roland McGrath <roland@redhat.com>
27710
27711 * manual/arith.texi (Rounding Functions): Fix rint description
27712 implicit in round description.
27713
702e8f14
UD
277142010-07-02 Ulrich Drepper <drepper@redhat.com>
27715
27716 * elf/Makefile: Fix linking for a few tests to make recent linker
27717 happy.
27718
52ed8be9
AS
277192010-06-30 Andreas Schwab <schwab@redhat.com>
27720
27721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27722 $(common-objpfx)libc_nonshared.a.
27723
f47c9a11
LM
277242010-06-21 Luis Machado <luisgpm@br.ibm.com>
27725
27726 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27727 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27728 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27730 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27733 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27748 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27749 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27750 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27751 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27752 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27753 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27754 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27755 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27756 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27757 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27758 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27759 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27774
6fb8cbcb
L
277752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27776
27777 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27778 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27779 * string/memmove.c (memmove): Renamed to ...
27780 (MEMMOVE): ...this. Default to memmove.
27781 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27782 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27783 (END_CHK): Define.
27784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27785 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27786 mempcpy-ssse3-back memmove-ssse3-back.
27787 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27790 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27791 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27792 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27793 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27794 * sysdeps/x86_64/multiarch/memmove.c: New file.
27795 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27796 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27797 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27798 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27801 Define.
27802 (index_Fast_Copy_Backward): Define.
27803 (HAS_ARCH_FEATURE): Define.
27804 (HAS_FAST_REP_STRING): Define.
27805 (HAS_FAST_COPY_BACKWARD): Define.
27806
4e733bac 278072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27808
27809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27810 Restore proper fallback handling.
27811
63c4ed22
UD
278122010-06-19 Ulrich Drepper <drepper@redhat.com>
27813
ac2b484c
UD
27814 [BZ #11701]
27815 * posix/group_member.c (__group_member): Correct checking loop.
27816
63c4ed22
UD
27817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27818 OOM in getpwuid_r correctly. Return error number when the caller
27819 should return, otherwise -1.
27820 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27821 call returning > 0 value.
27822 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27823
765ade4b
AS
278242010-06-07 Andreas Schwab <schwab@redhat.com>
27825
27826 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27827 libc_nonshared.a from targets in modules-names.
27828
80da2e09
KS
278292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27830
27831 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27832 requires it.
27833
158db122
LM
278342010-06-10 Luis Machado <luisgpm@br.ibm.com>
27835
27836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27840
caa78cf8
AS
278412010-06-02 Andreas Schwab <schwab@redhat.com>
27842
27843 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27844
b2ef2c01
UD
278452010-06-14 Ulrich Drepper <drepper@redhat.com>
27846
27847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27848 and F_GETPIPE_SZ.
27849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27855
fbd643b6
RM
278562010-06-14 Roland McGrath <roland@redhat.com>
27857
27858 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27859
f32f2869
JJ
278602010-06-07 Jakub Jelinek <jakub@redhat.com>
27861
27862 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27863 __REDIRECT followed by __THROW.
27864 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27865 * posix/getopt.h (getopt): Likewise.
27866
2a50c078
EPM
278672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27868
27869 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27870 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27871 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27872 in AT_FLAGS.
27873 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27874 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27875
eb5ad2eb
LM
278762010-05-28 Luis Machado <luisgpm@br.ibm.com>
27877
27878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27879
3c88fe1e
L
278802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 [BZ #11640]
27883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27884 Properly check family and model.
27885
d2f73151
TY
278862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27887
27888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27889
ebd2e13d
LM
278902010-05-24 Luis Machado <luisgpm@br.ibm.com>
27891
27892 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27893
b32b8b45
UD
278942010-05-21 Ulrich Drepper <drepper@redhat.com>
27895
27896 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27897 symbol reference.
27898
9acbe24d
AS
278992010-05-19 Andreas Schwab <schwab@redhat.com>
27900
27901 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27902 symbol reference.
27903
f0ccf6ea
AS
279042010-05-21 Andreas Schwab <schwab@redhat.com>
27905
3d04ff3a
AS
27906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27907 and internal_recvmmsg.
27908 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27910 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27911 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27912
f0ccf6ea
AS
27913 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27916
5b08ac57
AS
279172010-05-20 Andreas Schwab <schwab@redhat.com>
27918
27919 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27920
4828935d
LM
279212010-05-17 Luis Machado <luisgpm@br.ibm.com>
27922
27923 POWER7 optimizations.
27924 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27925 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27926
373d545e
UD
279272010-05-19 Ulrich Drepper <drepper@redhat.com>
27928
27929 * version.h: Update for 2.13 development version.
27930
21a2b1ae
AS
279312010-05-12 Andrew Stubbs <ams@codesourcery.com>
27932
27933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27934 exceptions. Return 0.
27935
3f7dcb2b
RM
279362010-05-07 Roland McGrath <roland@redhat.com>
27937
27938 * elf/ldconfig.c (main): Add a const.
27939
5f24d53a 279402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27941
a160f8d8
UD
27942 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27943 (args_options): Add no-idn option.
27944 (ahosts_keys_int): Add idn_flags to ai_flags.
27945 (parse_option): Handle 'i' option to clear idn_flags.
27946
5f24d53a
UD
27947 * malloc/malloc.c (_int_free): Possible race in the most recently
27948 added check. Only act on the data if no current modification
27949 happened.
265bb1ce
UD
27950
27951See ChangeLog.17 for earlier changes.