]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use statvfs64() for pathconf(_PC_NAME_MAX).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a88ddc90
PTB
12014-04-09 Peter Brett <peter@peter-b.co.uk>
2
3 [BZ #15514]
4 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5 pathconf(_PC_NAME_MAX).
6
01f8eac2
AZ
72014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10 Remove macro usage.
11 (__PTHREAD_SPINS): Move definition to ...
12 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13 (__PTHREAD_SPINS): ... here.
14 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15 (__PTHREAD_SPIN): Likewise.
16 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17 (__PTHREAD_SPIN): Likewise.
18 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19 (__PTHREAD_SPIN): Likewise.
20 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21 (__PTHREAD_SPIN): Likewise.
22 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23 (__PTHREAD_SPIN): Likewise.
24 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25 (__PTHREAD_SPIN): Likewise.
26 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27 (__PTHREAD_SPIN): Likewise.
28 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29 (__PTHREAD_SPIN): Likewise.
30 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31 (__PTHREAD_SPIN): Likewise.
32 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33 (__PTHREAD_SPIN): Likewise.
34 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35 (__PTHREAD_SPIN): Likewise.
36 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37 (__PTHREAD_SPIN): Likewise.
38
de21c33c
AZ
392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40
41 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45 imply folder.
46 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50 correct imply path.
51 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52 strlen symbol for non multi-arch builds.
53 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
54 missing hidden_def and weak_alias.
55
862c472e
CD
562014-04-08 Carlos O'Donell <carlos@redhat.com>
57
58 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
59
8667f90e
WN
602014-04-07 Will Newton <will.newton@linaro.org>
61
62 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
63 and contents. [!_LIBC] Remove #ifndef and contents.
64 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
65 * string/memccpy.c (__memccpy): Use ANSI prototype.
66 * string/memfrob.c (memfrob): Likewise.
67 * string/strcoll.c (STRCOLL): Likewise.
68 * string/strlen.c (strlen): Likewise.
69 * string/strtok.c (STRTOK): Likewise.
70 * string/strcat.c: Remove unused #include of memcopy.h.
71 (strcat): Use ANSI prototype.
72 * string/strchr.c: Remove unused #include of memcopy.h.
73 (strchr): Use ANSI prototype.
74 * string/strcmp.c: Remove unused #include of memcopy.h.
75 (strcmp): Use ANSI prototype.
76 * string/strcpy.c: Remove unused #include of memcopy.h.
77 (strcpy): Use ANSI prototype.
78
7ffa9423
AZ
792014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80
81 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
82 * config.make.in (config-extra-cppflags): Set it from
83 libc_extra_cppflags.
84 * configure.ac (libc_extra_cflags): Make it accumulate over
85 configure fragments.
86 (libc_extra_cppflags): New flag.
87 * configure. Regenerate.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
89 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
90 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
92
8bd70862
AZ
932014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94
95 [BZ #16815]
96 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
97 result for FE_DOWNWARD rounding mode.
98 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
99 Likewise.
100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
101
d42f3448
CM
1022014-04-04 Chris Metcalf <cmetcalf@tilera.com>
103
104 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
105 in function argument name.
106
1c21d115
DS
1072014-04-03 David Svoboda <svoboda@cert.org>
108
109 [BZ #5666]
110 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
111 explicitly.
112
fcccd512
RM
1132014-04-03 Roland McGrath <roland@hack.frob.com>
114
115 * elf/dl-unmap-segments.h: New file.
116 * sysdeps/generic/ldsodefs.h
117 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
118 * elf/dl-close.c: Include <dl-unmap-segments.h>.
119 * elf/dl-fptr.c: Likewise.
120 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
121 * sysdeps/aarch64/tlsdesc.c: Likewise.
122 * sysdeps/arm/tlsdesc.c: Likewise.
123 * sysdeps/i386/tlsdesc.c: Likewise.
124 * sysdeps/tile/dl-runtime.c: Likewise.
125 * sysdeps/x86_64/tlsdesc.c: Likewise.
126 * elf/dl-load.h: New file.
127 * elf/dl-load.c: Include it.
128 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
129 Macros moved to dl-load.h.
130 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
131 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
132 Use _dl_unmap_segments in place of __munmap.
133 Break out segment-mapping loop into ...
134 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
135
f6488e2b
WN
1362014-04-03 Will Newton <will.newton@linaro.org>
137
138 * elf/dl-lookup.c (do_lookup_x): Remove comment
139 referring to nested function and move variable
140 declarations down to before first use.
141
6f05bafe
JM
1422014-04-02 Joseph Myers <joseph@codesourcery.com>
143
a84e78c8
JM
144 [BZ #16799]
145 [BZ #16800]
146 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
147 with 0 numerator.
148 * math/s_catanf.c (__catanf): Likewise.
149 * math/s_catanh.c (__catanh): Likewise.
150 * math/s_catanhf.c (__catanhf): Likewise.
151 * math/s_catanhl.c (__catanhl): Likewise.
152 * math/s_catanl.c (__catanl): Likewise.
153 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
154 by positive zero when computing -Inf result.
155 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
156 (catanh_test): Likewise.
157 * sysdeps/i386/fpu/libm-test-ulps: Update.
158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
159
6f05bafe
JM
160 [BZ #16789]
161 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
162 instead of using underflowing value in computing result.
163 * math/s_clog10.c (__clog10): Likewise.
164 * math/s_clog10f.c (__clog10f): Likewise.
165 * math/s_clog10l.c (__clog10l): Likewise.
166 * math/s_clogf.c (__clogf): Likewise.
167 * math/s_clogl.c (__clogl): Likewise.
168 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
169 (clog10_test): Likewise.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
172
b0abbc21
AM
1732014-04-02 Alan Modra <amodra@gmail.com>
174
175 [BZ #16739]
176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
177 output when value is near a power of two. Use int64_t for lx and
178 remove casts. Use decimal rather than hex exponent constants.
179 Don't use long double multiplication when double will suffice.
180 * math/libm-test.inc (nextafter_test_data): Add tests.
181 * NEWS: Add 16739 and 16786 to bug list.
182
af6b1797
AM
1832014-04-02 Alan Modra <amodra@gmail.com>
184
185 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
186
483818d7
AM
1872014-04-02 Alan Modra <amodra@gmail.com>
188
189 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
190
f6c55796
WN
1912014-04-01 Will Newton <will.newton@linaro.org>
192
193 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
194 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
195
13f7fe35
FW
1962014-04-01 Florian Weimer <fweimer@redhat.com>
197
198 [BZ #13347]
199 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
200 * nptl/tst-setuid2.c: New file.
201 * nptl/Makefile (xtests): Add tst-setuid2.
202
c859b32e
AM
2032014-04-01 Alan Modra <amodra@gmail.com>
204
205 [BZ #16786]
206 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
207
54fa2475
JM
2082014-03-31 Joseph Myers <joseph@codesourcery.com>
209
8795b4a4
JM
210 [BZ #6803]
211 [BZ #6804]
212 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
213 set errno as appropriate.
214 * math/w_scalbf.c (__scalbf): Likewise.
215 * math/w_scalbl.c (__scalbl): Likewise.
216 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
217 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
218 * math/libm-test.inc (scalb_test_data): Add errno expectations.
219 Add more NaN tests.
220
54fa2475
JM
221 [BZ #16349]
222 * math/w_atan2.c: Include <errno.h>.
223 (__atan2): Set errno for result underflowing to zero.
224 * math/w_atan2f.c: Include <errno.h>.
225 (__atan2f): Set errno for result underflowing to zero.
226 * math/w_atan2l.c: Include <errno.h>.
227 (__atan2l): Set errno for result underflowing to zero.
228 * math/auto-libm-test-in: Don't allow missing errno for some atan2
229 tests.
230 * math/auto-libm-test-out: Regenerated.
231
757d9dd5
AZ
2322014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233
234 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
235 Encode instruction correctly in little endian.
236 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
237 Likewise.
238 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
239 Likewise.
240 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
241 Likewise.
242 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
243 Likewise.
244
d7a68734
JM
2452014-03-31 Joseph Myers <joseph@codesourcery.com>
246
47c5adeb
JM
247 [BZ #9894]
248 * sysdeps/unix/sysv/linux/kernel-features.h
249 [__sparc__ && !__arch64__ && !__sparc_v9__]
250 (__ASSUME_SET_ROBUST_LIST): Do not define.
251 [__sparc__ && !__arch64__ && !__sparc_v9__]
252 (__ASSUME_FUTEX_LOCK_PI): Likewise.
253 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
254 Likewise.
255 * sysdeps/unix/sysv/linux/arm/kernel-features.h
256 (__ASSUME_FUTEX_LOCK_PI): Undefine.
257 (__ASSUME_REQUEUE_PI): Likewise.
258 (__ASSUME_SET_ROBUST_LIST): Likewise.
259 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
260 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
261 Undefine.
262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
263 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
264 Likewise.
265 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
266 Likewise.
267 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
268 Likewise.
269 * sysdeps/unix/sysv/linux/mips/kernel-features.h
270 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
271 Undefine.
272 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
273 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
274 Likewise.
275
d7a68734
JM
276 [BZ #16648]
277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
278 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
279 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
280
c760f5c2
WN
2812014-03-31 Will Newton <will.newton@linaro.org>
282
283 * benchtests/Makefile (bench): Add ffs and ffsll to list
284 of tests.
285 * benchtests/ffs-inputs: New file.
286 * benchtests/ffsll-inputs: Likewise.
287
ea6029b1
JM
2882014-03-29 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #16770]
291 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
292 too large before casting to int.
293 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
294 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
295 * math/libm-test.inc (scalb_test_data): Add more tests.
296
cf806aff
SP
2972014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
298
56737508
SP
299 * benchtests/Makefile (DETAILED_OPT): New make option.
300 (bench-func): Run benchmark program with -d if DETAILED_OPT is
301 set.
302 * benchtests/bench-skeleton.c: Include stdbool.h.
303 (main): Store and print timings per input.
304 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
305 member to each argument value.
306 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
307 (_print_arg_data): Initialize per-input timing to 0.
308
cb5e4aad
SP
309 * benchtests/Makefile (timing-type): New binary.
310 (bench-clean): Also remove bench-timing-type.
311 (bench): New target for timing-type.
312 (bench-func): Print output in JSON format.
313 * benchtests/bench-skeleton.c (main): Print output in JSON
314 format.
315 * benchtests/bench-timing-type.c: New file.
316 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
317 (TIMING_PRINT_STATS): Remove.
318 * benchtests/scripts/bench.py (_print_arg_data): Store variant
319 name separately.
320
cf806aff
SP
321 * benchtests/bench-modf.c: Remove.
322 * benchtests/modf-inputs: New inputs file.
323
289e0779
JM
3242014-03-28 Joseph Myers <joseph@codesourcery.com>
325
326 [BZ #16362]
327 * math/s_clog10.c (M_PI_LOG10E): New macro.
328 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
329 imaginary parts are 0.
330 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
331 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
332 imaginary parts are 0.
333 * math/s_clog10l.c (M_PI_LOG10El): New macro.
334 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
335 imaginary parts are 0.
336 * math/libm-test.inc (clog10_test_data): Update expected results
337 for when real and imaginary parts are 0.
338
277ae3f1
PP
3392014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
340
341 * elf/dl-load.c: Finish conversion of __builtin_expect into
342 __glibc_{un}likely.
343
03a7091f
JM
3442014-03-27 Joseph Myers <joseph@codesourcery.com>
345
346 [BZ #16348]
347 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
348 1+x for argument with exponent below -67.
349 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
350 Likewise.
351 * math/auto-libm-test-in: Add more tests of exp.
352 * math/auto-libm-test-out: Regenerated.
353
ea7d8b95
SP
3542014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
355
dd3022d7
SP
356 [BZ #16759]
357 * inet/getnetgrent_r.c (get_nonempty_val): New function.
358 (nscd_getnetgrent): Use it.
359
ea7d8b95
SP
360 [BZ #16760]
361 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
362 of stpcpy.
363
df5b85da
AK
3642014-03-27 Andi Kleen <ak@linux.intel.com>
365
366 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
367 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
368 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
369 Remove out of line section. Use cfi intrinsics.
370 (LLL_STUB_UNWIND_INFO*): Remove.
371 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
372 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
373 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
374 Remove out of line section. Use cfi intrinsics.
375 (LLL_STUB_UNWIND_INFO*): Remove.
376
fbd6b5a4
SP
3772014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 [BZ #16758]
380 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
381 blank values.
382
1b26b855
PP
3832014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
384
385 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
386
9be36fb8
JM
3872014-03-26 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #16198]
390 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
391 fnstenv.
392 * math/test-fenv-preserve.c: New file.
393 * math/Makefile (tests): Add test-fenv-preserve.
394
60a2f3c1
WN
3952014-03-26 Will Newton <will.newton@linaro.org>
396
397 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
398
a5e5f1e2
RM
3992014-03-25 Roland McGrath <roland@hack.frob.com>
400
401 * scripts/versionlist.awk: Partition the version sets and emit all
402 GLIBC_* (sorted) before all others (sorted).
403
00f4012a
JM
4042014-03-25 Joseph Myers <joseph@codesourcery.com>
405
406 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
407 GLIBC_2.2.5 version.
408
7bc5a741
AZ
4092014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410
411 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
412 calls.
413
7578473b
AZ
4142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415
416 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
417 previous change.
418
f3f1dab3
AZ
4192014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
420
421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
422
6da36183
AS
4232014-03-25 Andreas Schwab <schwab@suse.de>
424
425 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
426 label to be used after in6ailist is initialized.
427
f3f1dab3 4282014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 429
7578473b 430 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
431 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
432
046651c1
JM
4332014-03-25 Joseph Myers <joseph@codesourcery.com>
434
435 [BZ #16357]
436 [BZ #16599]
437 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
438 min_plus_half.
439 (fp_formats): Update initializers.
440 (init_fp_formats): Initialize new field.
441 (output_for_one_input_case): Allow underflow for results up to
442 min_plus_half.
443 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
444 * math/auto-libm-test-in: Don't mark some underflows from asin and
445 atanh as spurious.
446 * math/auto-libm-test-out: Regenerated.
447 * sysdeps/i386/fpu/libm-test-ulps: Update.
448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
449
003e49ed
AS
4502014-03-25 Andreas Schwab <schwab@suse.de>
451
452 * libio/Makefile (tst-ftell-partial-wide-ENV)
453 (tst-ftell-active-handler-ENV): Define.
454
de031874
SL
4552014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
456
457 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
458
55a81e3b
PP
4592014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
460
461 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
462
f3426898
JM
4632014-03-24 Joseph Myers <joseph@codesourcery.com>
464
465 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
466 * sysdeps/x86_64/fpu/multiarch/e_exp.c
467 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
468
a42faf59
PP
4692014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
470
471 [BZ #16634]
a42faf59 472 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
473 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
474 (open_path): Change from boolean 'secure' to complete flag 'mode'
475 (_dl_map_object): Adjust.
a42faf59
PP
476 * elf/Makefile (tests): Add tst-dlopen-aout.
477 * elf/tst-dlopen-aout.c: New test.
478
50936127
SL
4792014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
480
481 [BZ #16714]
482 * sysdeps/unix/sysv/linux/s390/bits/stat.h
483 (struct stat): Rename member pad0 to __glibc_reserved0.
484
26011b5c
SL
4852014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
486
487 [BZ #16712]
488 * sysdeps/s390/s390-32/bits/wordsize.h
489 (__WORDSIZE32_SIZE_ULONG): New define.
490 * sysdeps/s390/s390-64/bits/wordsize.h
491 (__WORDSIZE32_SIZE_ULONG): Likewise.
492 * sysdeps/generic/stdint.h (SIZE_MAX):
493 Define as UL if __WORDSIZE32_SIZE_ULONG.
494
a2d86bf1
SL
4952014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
496
497 [BZ #16713]
498 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
499 (__glibc_reserved0): New variable.
500 (sa_flags): Change type to int.
501
78b6eebc
SL
5022014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
503
504 * posix/Makefile (before-compile): Use += before-compile instead
505 of a :=.
506
f1399b5a
SL
5072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
508
509 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
510 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
511
a071766e
AS
5122014-03-20 Andreas Schwab <schwab@suse.de>
513
514 [BZ #16743]
515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
516 non-matching result from nscd.
517
27c673b8
SP
5182014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
519
520 * scripts/bench.py: Moved to ...
521 * benchtests/scripts/bench.py: ... here.
522 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
523
44152e4b
AS
5242014-03-24 Andreas Schwab <schwab@suse.de>
525
526 [BZ #16002]
527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
528 alloca_account and account alloca use for struct in6ailist.
529
b376a11a
JM
5302014-03-24 Joseph Myers <joseph@codesourcery.com>
531
532 [BZ #16284]
533 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
534 rounding mode to recompute results that overflow to infinity or
535 underflow to zero.
536 * math/auto-libm-test-in: Don't mark tests as expected to fail for
537 bug 16284.
538 * math/auto-libm-test-out: Regenerated.
539 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
540 (ccosh_test): Likewise.
541 (csin_test_data): Use plus_oflow.
542 (csin_test): Use ALL_RM_TEST.
543 (csinh_test_data): Use plus_oflow.
544 (csinh_test): Use ALL_RM_TEST.
545 * sysdeps/i386/fpu/libm-test-ulps: Update.
546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
547
f7be7376
JM
5482014-03-21 Joseph Myers <joseph@codesourcery.com>
549
1ca2d03e
JM
550 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
551 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
552 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
553
f7be7376
JM
554 [BZ #16731]
555 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
556 when x - 1 is zero.
557 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
558 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
559 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
561 argument is 1.
562 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
563 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
564 zero.
565 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
566 * sysdeps/i386/fpu/libm-test-ulps: Update.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568
fdf4534d
SP
5692014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
570
df26ea53
SP
571 * scripts/bench.pl: Remove file.
572 * scripts/bench.py: New benchmark script.
573 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
574 * benchtests/README: Mention python dependency.
575 * scripts/pylintrc: New file.
576 * scripts/pylint: New file.
577
fdf4534d
SP
578 * bits/mathdef.h: Use #ifdef instead of #if.
579 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
580 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
581 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
582 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
583 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
584 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
585
6f23d093
AZ
5862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
588
589 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
591 and strpbrk-ppc64 objects.
592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
593 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
594 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
595 multiarch strpbrk for POWER7.
596 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
597 multiarch strpbrk for PPC64.
598 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
599 ifunc selector.
600 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
601 strpbrk for POWER7.
602
8c92dfff
JM
6032014-03-20 Joseph Myers <joseph@codesourcery.com>
604
605 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
606 (atan_test): Likewise.
607 (atanh_test_data): Use NO_TEST_INLINE for two tests.
608 (atanh_test): Use ALL_RM_TEST.
609 (atan2_test_data): Likewise.
610 (cabs_test): Likewise.
611 (cacosh_test): Likewise.
612 (carg_test): Likewise.
613 (casin_test): Likewise.
614 (casinh_test): Likewise.
615 (cbrt_test): Likewise.
616 (csqrt_test): Likewise.
617 (erf_test): Likewise.
618 (erfc_test): Likewise.
619 (pow10_test): Likewise.
620 (exp2_test): Likewise.
621 (hypot_test): Likewise.
622 (j0_test): Likewise.
623 (j1_test): Likewise.
624 (lgamma_test): Likewise.
625 (gamma_test): Likewise.
626 (sincos_test): Likewise.
627 (tanh_test): Likewise.
628 (y0_test): Likewise.
629 (y1_test): Likewise.
630 * sysdeps/i386/fpu/libm-test-ulps: Update.
631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632
6eaf95cb
AZ
6332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634
a387428c
SP
635 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
637 and strcspn-ppc64 objects.
638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
639 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
640 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
641 multiarch strcspn for POWER7.
642 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
643 multiarch strcspn for PPC64.
644 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
645 ifunc selector.
646 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
647 strcspn for POWER7.
648
ae3a5dff
JM
6492014-03-20 Joseph Myers <joseph@codesourcery.com>
650
651 * math/gen-libm-test.pl (generate_testfile): Expect only function
652 name as argument to AUTO_TESTS_* and pass results for all rounding
653 modes to parse_args.
654 (parse_auto_input): Separate inputs of automatic tests from
655 outputs before storing in %auto_tests.
656 * math/libm-test.inc (acos_test_data): Update call to
657 AUTO_TESTS_f_f.
658 (acos_test): Use ALL_RM_TEST.
659 (acos_tonearest_test_data): Remove.
660 (acos_test_tonearest): Likewise.
661 (acos_towardzero_test_data): Likewise.
662 (acos_test_towardzero): Likewise.
663 (acos_downward_test_data): Likewise.
664 (acos_test_downward): Likewise.
665 (acos_upward_test_data): Likewise.
666 (acos_test_upward): Likewise.
667 (acosh_test_data): Update call to AUTO_TESTS_f_f.
668 (asin_test_data): Likewise.
669 (asin_test): Use ALL_RM_TEST.
670 (asin_tonearest_test_data): Remove.
671 (asin_test_tonearest): Likewise.
672 (asin_towardzero_test_data): Likewise.
673 (asin_test_towardzero): Likewise.
674 (asin_downward_test_data): Likewise.
675 (asin_test_downward): Likewise.
676 (asin_upward_test_data): Likewise.
677 (asin_test_upward): Likewise.
678 (asinh_test_data): Update call to AUTO_TESTS_f_f.
679 (atan_test_data): Likewise.
680 (atanh_test_data): Likewise.
681 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
682 (cabs_test_data): Update call to AUTO_TESTS_c_f.
683 (carg_test_data): Likewise.
684 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
685 (ccos_test_data): Update call to AUTO_TESTS_c_c.
686 (ccosh_test_data): Likewise.
687 (cexp_test_data): Likewise.
688 (clog_test_data): Likewise.
689 (clog10_test_data): Likewise.
690 (cos_test_data): Update call to AUTO_TESTS_f_f.
691 (cos_test): Use ALL_RM_TEST.
692 (cos_tonearest_test_data): Remove.
693 (cos_test_tonearest): Likewise.
694 (cos_towardzero_test_data): Likewise.
695 (cos_test_towardzero): Likewise.
696 (cos_downward_test_data): Likewise.
697 (cos_test_downward): Likewise.
698 (cos_upward_test_data): Likewise.
699 (cos_test_upward): Likewise.
700 (cosh_test_data): Update call to AUTO_TESTS_f_f.
701 (cosh_test): Use ALL_RM_TEST.
702 (cosh_tonearest_test_data): Remove.
703 (cosh_test_tonearest): Likewise.
704 (cosh_towardzero_test_data): Likewise.
705 (cosh_test_towardzero): Likewise.
706 (cosh_downward_test_data): Likewise.
707 (cosh_test_downward): Likewise.
708 (cosh_upward_test_data): Likewise.
709 (cosh_test_upward): Likewise.
710 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
711 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
712 (ctan_test_data): Likewise.
713 (ctan_test): Use ALL_RM_TEST.
714 (ctan_tonearest_test_data): Remove.
715 (ctan_test_tonearest): Likewise.
716 (ctan_towardzero_test_data): Likewise.
717 (ctan_test_towardzero): Likewise.
718 (ctan_downward_test_data): Likewise.
719 (ctan_test_downward): Likewise.
720 (ctan_upward_test_data): Likewise.
721 (ctan_test_upward): Likewise.
722 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
723 (ctanh_test): Use ALL_RM_TEST.
724 (ctanh_tonearest_test_data): Remove.
725 (ctanh_test_tonearest): Likewise.
726 (ctanh_towardzero_test_data): Likewise.
727 (ctanh_test_towardzero): Likewise.
728 (ctanh_downward_test_data): Likewise.
729 (ctanh_test_downward): Likewise.
730 (ctanh_upward_test_data): Likewise.
731 (ctanh_test_upward): Likewise.
732 (erf_test_data): Update call to AUTO_TESTS_f_f.
733 (erfc_test_data): Likewise.
734 (exp_test_data): Likewise.
735 (exp_test): Use ALL_RM_TEST.
736 (exp_tonearest_test_data): Remove.
737 (exp_test_tonearest): Likewise.
738 (exp_towardzero_test_data): Likewise.
739 (exp_test_towardzero): Likewise.
740 (exp_downward_test_data): Likewise.
741 (exp_test_downward): Likewise.
742 (exp_upward_test_data): Likewise.
743 (exp_test_upward): Likewise.
744 (exp10_test_data): Update call to AUTO_TESTS_f_f.
745 (exp10_test): Use ALL_RM_TEST.
746 (exp10_tonearest_test_data): Remove.
747 (exp10_test_tonearest): Likewise.
748 (exp10_towardzero_test_data): Likewise.
749 (exp10_test_towardzero): Likewise.
750 (exp10_downward_test_data): Likewise.
751 (exp10_test_downward): Likewise.
752 (exp10_upward_test_data): Likewise.
753 (exp10_test_upward): Likewise.
754 (exp2_test_data): Update call to AUTO_TESTS_f_f.
755 (expm1_test_data): Likewise.
756 (expm1_test): Use ALL_RM_TEST.
757 (expm1_tonearest_test_data): Remove.
758 (expm1_test_tonearest): Likewise.
759 (expm1_towardzero_test_data): Likewise.
760 (expm1_test_towardzero): Likewise.
761 (expm1_downward_test_data): Likewise.
762 (expm1_test_downward): Likewise.
763 (expm1_upward_test_data): Likewise.
764 (expm1_test_upward): Likewise.
765 (fma_test_data): Update call to AUTO_TESTS_fff_f.
766 (fma_test): Use ALL_RM_TEST.
767 (fma_towardzero_test_data): Remove.
768 (fma_test_towardzero): Likewise.
769 (fma_downward_test_data): Likewise.
770 (fma_test_downward): Likewise.
771 (fma_upward_test_data): Likewise.
772 (fma_test_upward): Likewise.
773 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
774 (j0_test_data): Update call to AUTO_TESTS_f_f.
775 (j1_test_data): Likewise.
776 (jn_test_data): Update call to AUTO_TESTS_if_f.
777 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
778 (log_test_data): Update call to AUTO_TESTS_f_f.
779 (log10_test_data): Likewise.
780 (log1p_test_data): Likewise.
781 (log2_test_data): Likewise.
782 (pow_test_data): Update call to AUTO_TESTS_ff_f.
783 (pow_tonearest_test_data): Likewise.
784 (sin_test_data): Update call to AUTO_TESTS_f_f.
785 (sin_test): Use ALL_RM_TEST.
786 (sin_tonearest_test_data): Remove.
787 (sin_test_tonearest): Likewise.
788 (sin_towardzero_test_data): Likewise.
789 (sin_test_towardzero): Likewise.
790 (sin_downward_test_data): Likewise.
791 (sin_test_downward): Likewise.
792 (sin_upward_test_data): Likewise.
793 (sin_test_upward): Likewise.
794 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
795 (sinh_test_data): Update call to AUTO_TESTS_f_f.
796 (sinh_test): Use ALL_RM_TEST.
797 (sinh_tonearest_test_data): Remove.
798 (sinh_test_tonearest): Likewise.
799 (sinh_towardzero_test_data): Likewise.
800 (sinh_test_towardzero): Likewise.
801 (sinh_downward_test_data): Likewise.
802 (sinh_test_downward): Likewise.
803 (sinh_upward_test_data): Likewise.
804 (sinh_test_upward): Likewise.
805 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
806 (sqrt_test): Use ALL_RM_TEST.
807 (sqrt_tonearest_test_data): Remove.
808 (sqrt_test_tonearest): Likewise.
809 (sqrt_towardzero_test_data): Likewise.
810 (sqrt_test_towardzero): Likewise.
811 (sqrt_downward_test_data): Likewise.
812 (sqrt_test_downward): Likewise.
813 (sqrt_upward_test_data): Likewise.
814 (sqrt_test_upward): Likewise.
815 (tan_test_data): Update call to AUTO_TESTS_f_f.
816 (tan_test): Use ALL_RM_TEST.
817 (tan_tonearest_test_data): Remove.
818 (tan_test_tonearest): Likewise.
819 (tan_towardzero_test_data): Likewise.
820 (tan_test_towardzero): Likewise.
821 (tan_downward_test_data): Likewise.
822 (tan_test_downward): Likewise.
823 (tan_upward_test_data): Likewise.
824 (tan_test_upward): Likewise.
825 (tanh_test_data): Update call to AUTO_TESTS_f_f.
826 (tgamma_test_data): Likewise.
827 (y0_test_data): Likewise.
828 (y1_test_data): Likewise.
829 (yn_test_data): Update call to AUTO_TESTS_if_f.
830 (main): Do not call removed functions.
831
d71aeee8
JM
8322014-03-19 Joseph Myers <joseph@codesourcery.com>
833
834 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
835 (ldexp_test_data): Remove.
836 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
837 scalbn_test_data.
838 (scalb_test): Use ALL_RM_TEST.
839
baaf1ded
AS
8402014-03-19 Andreas Schwab <schwab@suse.de>
841
842 * nscd/nscd.service: Also invalidate netgroup cache on reload.
843
b1115e91
JM
8442014-03-19 Joseph Myers <joseph@codesourcery.com>
845
846 [BZ #16649]
847 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
848 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
849 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
851 (__ASSUME_PREADV): Undefine.
852 (__ASSUME_PWRITEV): Likewise.
853
0283ecca
RM
8542014-03-18 Roland McGrath <roland@hack.frob.com>
855
7d375303
RM
856 * bits/mman-linux.h: Add comment about non-Linux use.
857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
858 bits/mman-linux.h resting place.
859
0283ecca
RM
860 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
861 * bits/mman-linux.h: ... here.
862
aebe1003
AZ
8632014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864
865 * conform/conformtest.pl: Add standard definition when calling C
866 preprocessor on data files.
867 (checknamespace): Remove unused variable.
868
b29b6bb8
JM
8692014-03-18 Joseph Myers <joseph@codesourcery.com>
870
871 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
872 minus_oflow, plus_uflow and minus_uflow in expected results.
873 * math/libm-test.inc (scalbn_test_data): Add more tests of
874 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
875 minus_uflow.
876 (scalbn_test): Use ALL_RM_TEST.
877 (scalbln_test_data): Add more tests of negative arguments. Use
878 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
879 (scalbln_test): Use ALL_RM_TEST.
880
c8f8fa15
RM
8812014-03-18 Roland McGrath <roland@hack.frob.com>
882
883 * scripts/abilist.awk: Ignore symbols marked with .hidden.
884
fede7a5f
WN
8852014-03-18 Will Newton <will.newton@linaro.org>
886
887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
888 inaccurate comment.
889
80cf0a58
JM
8902014-03-18 Joseph Myers <joseph@codesourcery.com>
891
892 * Makerules [!subdir] (check-abi): Exit with error status if a
893 test failed.
894
b3620862
JM
8952014-03-17 Joseph Myers <joseph@codesourcery.com>
896
897 * math/libm-test.inc (nearbyint_test_data): Include all tests used
898 for rint. Include results for all rounding modes.
899 (nearbyint_test): Use ALL_RM_TEST.
900 (rint_test_data): Include all tests used for nearbyint.
901
788bba36
WN
9022014-03-17 Will Newton <will.newton@linaro.org>
903
04ec140a
WN
904 * nptl/sysdeps/pthread/pthread.h: Revert previous
905 change.
906
7579d8d5
WN
907 * sysdeps/generic/ldsodefs.h: Revert previous
908 change.
909
c15cf13a
WN
910 * libio/genops.c: Revert previous change.
911 * libio/libioP.h: Likewise.
912 * stdio-common/vfprintf.c: Likewise.
913
d0ac1324
WN
914 * sysdeps/generic/math_private.h: Revert previous
915 change.
916
9290130a
WN
917 * sysdeps/generic/math_private.h: Check whether
918 HAVE_RM_CTX is defined with #ifdef rather
919 than #if.
920
afb466fc
WN
921 * argp/argp-fmtstream.h: Check whether
922 __STRICT_ANSI__ is defined with #ifdef rather
923 than #if.
924 * argp/argp.h: Likewise.
925
f7efd7c3
WN
926 * libio/genops.c: Check whether
927 _IO_JUMPS_OFFSET is defined with #ifdef rather
928 than #if.
929 * libio/libioP.h: Likewise.
930 * stdio-common/vfprintf.c: Likewise.
931
53f1bed3
WN
932 * sysdeps/generic/ldsodefs.h: Check whether
933 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
934 than #if.
935
788bba36
WN
936 * nptl/sysdeps/pthread/pthread.h: Check
937 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
938 its value.
939
fcd89ebe
SP
9402014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
941
ae42bbc5
SP
942 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
943 setting O_APPEND.
944 * libio/tst-ftell-active-handler.c (do_append_test): Add a
945 test case.
946
ea33158c
SP
947 [BZ #16680]
948 * libio/fileops.c (_IO_file_open): Seek to end of file but
949 don't cache the offset.
950 (get_file_offset): Remove function.
951 (do_ftell): Use cached offset when available.
952 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
953 don't cache the offset.
954 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
955 case.
956 (do_one_test): Call it.
957 (do_ftell_test): Fix up expected old offset for a+ mode.
958 * libio/wfileops.c (do_ftell_wide): Used cached offset when
959 available.
960
b1dbb426
SP
961 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
962 up test status with function return status.
963 (do_write_test): Likewise.
964 (do_append_test): Likewise.
965
fcd89ebe
SP
966 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
967 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
968 Remove.
969
9962a2d3
JM
9702014-03-17 Joseph Myers <joseph@codesourcery.com>
971
972 * math/gen-libm-test.pl (parse_args): Handle results specified for
973 each rounding mode separately.
974 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
975 tests and results from lrint_tonearest_test_data,
976 lrint_towardzero_test_data, lrint_downward_test_data and
977 lrint_upward_test_data.
978 (lrint_test): Use ALL_RM_TEST.
979 (lrint_tonearest_test_data): Remove.
980 (lrint_test_tonearest): Likewise.
981 (lrint_towardzero_test_data): Likewise.
982 (lrint_test_towardzero): Likewise.
983 (lrint_downward_test_data): Likewise.
984 (lrint_test_downward): Likewise.
985 (lrint_upward_test_data): Likewise.
986 (lrint_test_upward): Likewise.
987 (llrint_test_data): Merge in per-rounding-mode tests and results
988 from llrint_tonearest_test_data, llrint_towardzero_test_data,
989 llrint_downward_test_data and llrint_upward_test_data.
990 (llrint_test): Use ALL_RM_TEST.
991 (llrint_tonearest_test_data): Remove.
992 (llrint_test_tonearest): Likewise.
993 (llrint_towardzero_test_data): Likewise.
994 (llrint_test_towardzero): Likewise.
995 (llrint_downward_test_data): Likewise.
996 (llrint_test_downward): Likewise.
997 (llrint_upward_test_data): Likewise.
998 (llrint_test_upward): Likewise.
999 (rint_test_data): Merge in per-rounding-mode tests and results
1000 from rint_tonearest_test_data, rint_towardzero_test_data,
1001 rint_downward_test_data and rint_upward_test_data. Add
1002 per-rounding-mode results for tests not in those arrays.
1003 (rint_test): Use ALL_RM_TEST.
1004 (rint_tonearest_test_data): Remove.
1005 (rint_test_tonearest): Likewise.
1006 (rint_towardzero_test_data): Likewise.
1007 (rint_test_towardzero): Likewise.
1008 (rint_downward_test_data): Likewise.
1009 (rint_test_downward): Likewise.
1010 (rint_upward_test_data): Likewise.
1011 (rint_test_upward): Likewise.
1012 (main): Don't call removed functions.
1013
5006148e
RM
10142014-03-14 Roland McGrath <roland@hack.frob.com>
1015
1016 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1017 "Compiled on ..." crapola. It is anti-useful.
1018
d6fe5e58
JM
10192014-03-14 Joseph Myers <joseph@codesourcery.com>
1020
1021 * scripts/evaluate-test.sh: Handle fourth argument to determine
1022 whether test run should stop on failure.
1023 * Makeconfig (stop-on-test-failure): New variable.
1024 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1025 $(stop-on-test-failure).
1026 * Makefile (tests): Give a summary of results from testing and
1027 exit with failure status if they include an ERROR or FAIL.
1028 (xtests): Likewise.
1029 * manual/install.texi (Configuring and compiling): Mention
1030 stop-on-test-failure=y.
1031 * INSTALL: Regenerated.
1032
498a2233
RM
10332014-03-14 Roland McGrath <roland@hack.frob.com>
1034
22dbc19d
RM
1035 * scripts/versionlist.awk: New file.
1036 * Makerules [$(build-shared) = yes]
1037 (postclean-generated): Add Versions.def, not Versions.def.v and
1038 Versions.def.v.i.
1039 ($(common-objpfx)Versions.def.v.i): Target removed.
1040 ($(common-objpfx)Versions.def): New target.
1041 ($(common-objpfx)Versions.all): Depend on that rather that
1042 $(common-objpfx)Versions.def.v.
1043 * Versions.def: File removed.
1044
498a2233
RM
1045 * Makeconfig (+gccwarn): Add -Wundef.
1046 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1047 a dl-sysdep.h breaking its contract.
1048 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1049 * include/stackinfo.h: New file.
1050 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1051 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1052 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1053 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1054 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1055 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1056 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1057 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1058 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1059 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1060 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1061 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1062 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1063 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1064 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1065
c7de5025
AZ
10662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1067
1068 [BZ #16707]
1069 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1070 implementation.
1071 * math/libm-test.inc (round_test_data): Add more tests.
1072
98fb27a3
AZ
10732014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074
1075 [BZ #16706]
1076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1077 implementation.
1078 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1079
374f7f61
AZ
10802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081
1082 [BZ #16701]
1083 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1084 implementation.
1085 * math/libm-test.inc (ceil_test_data): Add more tests.
1086
4655c291
AZ
10872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088
1089 * math/libm-test.inc (trunc_test_data): Add more tests related to
1090 BZ#16414.
1091
d7329d4b
RM
10922014-03-14 Roland McGrath <roland@hack.frob.com>
1093
1094 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1095 with #if rather than #ifdef.
1096 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1097
aa4de9ce
L
10982014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1099
1100 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1101 first. Disable AVX-512 GCC support if assembler doesn't support
1102 it.
1103 * sysdeps/x86_64/configure: Regenerated.
1104
2e03fae7
CD
11052014-03-13 Carlos O'Donell <carlos@redhat.com>
1106
1107 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1108 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1109 (__old_pthread_attr_setstack): Likewise.
1110 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1111 [!_STACK_GROWS_DOWN]: Likewise.
1112
43ca83ec
MF
11132014-03-13 Mike Frysinger <vapier@gentoo.org>
1114
1115 * config.make.in (have-bash2): Delete.
1116 * configure.ac (libc_cv_have_bash2): Delete.
1117 * configure: Regenerate.
1118 * elf/Makefile (common-ldd-rewrite): Rename to ...
1119 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1120 (sh-ldd-rewrite): Delete.
1121 (bash-ldd-rewrite): Delete.
1122 (have-bash2): Delete checks.
1123 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1124
c66e48b4
MF
11252014-03-13 Mike Frysinger <vapier@gentoo.org>
1126
1127 * config.make.in (have-ksh): Delete.
1128 (KSH): Delete.
1129 * configure.ac (libc_cv_have_ksh): Delete.
1130 * configure: Regenerate.
1131
b93834ef
MF
11322014-03-13 Mike Frysinger <vapier@gentoo.org>
1133
1134 * elf/Makefile: Delete $(have-ksh) check.
1135 ($(objpfx)sotruss): Change KSH to BASH.
1136 * elf/sotruss.ksh: Rename to ...
1137 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1138 function style to match POSIX. Drop ksh vim mode setting.
1139
f3a4632a
MF
11402014-03-13 Mike Frysinger <vapier@gentoo.org>
1141
1142 * manual/time.texi (Specifying the Time Zone with TZ): Change
1143 Tuesday to Thursday.
1144
5896c8bd
MF
11452014-03-13 Mike Frysinger <vapier@gentoo.org>
1146
1147 * debug/tst-longjmp_chk2.c: Update header comment.
1148 (stackoverflow_handler): Add comment. Call assert on pass value.
1149
2d63a517
IZ
11502014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1151
1152 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1153 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1154 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1155 (La_x86_64_vector): Add zmm.
1156 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1157 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1158 ($(objpfx)tst-audit10): New target.
1159 ($(objpfx)tst-audit10.out): Likewise.
1160 (tst-audit10-ENV): New.
1161 (AVX512-CFLAGS): Likewise.
1162 (CFLAGS-tst-audit10.c): Likewise.
1163 (CFLAGS-tst-auditmod10a.c): Likewise.
1164 (CFLAGS-tst-auditmod10b.c): Likewise.
1165 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1166 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1167 * sysdeps/x86_64/configure: Regenerated.
1168 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1169 AVX-512 zmm register support.
1170 (_dl_x86_64_save_sse): Likewise.
1171 (_dl_x86_64_restore_sse): Likewise.
1172 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1173 size vector registers.
1174 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1175 (ZMM_SIZE): Likewise.
1176 * sysdeps/x86_64/tst-audit10.c: New file.
1177 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1178 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1179
44c4e5d5
RM
11802014-03-13 Roland McGrath <roland@hack.frob.com>
1181
1182 * configure.ac (HAVE_EHDR_START): New check.
1183 * configure: Regenerated.
1184 * config.h.in (HAVE_EHDR_START): New #undef.
1185 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1186 assuming the lowest-addressed segment maps the start of the file.
1187
acd6e389
JM
11882014-03-13 Joseph Myers <joseph@codesourcery.com>
1189
1190 * INSTALL: Regenerated.
1191
6f918f36
WN
11922014-03-13 Will Newton <will.newton@linaro.org>
1193
1194 * manual/setjmp.texi (System V contexts): Improve
1195 clarity and grammar of documentation.
1196
798212a0
PP
11972014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1198
1199 [BZ #16381]
798212a0 1200 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1201 (tests-pie): Add tst-pie2.
798212a0
PP
1202 * elf/tst-pie2.c: New file.
1203 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1204 for ET_EXEC.
1205 * elf/rtld.c (map_doit): Load executable as lt_executable.
1206 (dl_main): Likewise.
1207
abe6d90c
JM
12082014-03-12 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #16642]
1211 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1212 (__ASSUME_PSELECT): Undefine.
1213
dd3946c6
AZ
12142014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215
1216 [BZ #16689]
1217 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1218 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1219 static build.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1221 selector for static builds.
1222
c44496df
SP
12232014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1224
1225 [BZ #16695]
1226 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1227 key in the buffer.
1228
27c7220a
AZ
12292014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1230
1231 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1232 selector for static builds.
1233
600fa361
JM
12342014-03-11 Joseph Myers <joseph@codesourcery.com>
1235
76c96cf7
JM
1236 * sysdeps/mips/math_private.h [__mips_hard_float]
1237 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1238 libc_feresetround_mips_ctx.
1239 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1240 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1241 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1242
600fa361
JM
1243 [BZ #16677]
1244 * math/s_nextafter.c (__nextafter): Do not return value from
1245 overflowing computation.
1246 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1247 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1249 Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1251 Likewise.
1252 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1253 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1254
d7706c32
RM
12552014-03-11 Roland McGrath <roland@hack.frob.com>
1256
1257 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1258 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1259 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1260 the new mov targetting sp.
1261
4facea47
AZ
12622014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1263
1264 [BZ #16683]
1265 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1266 Define it for static builds as well.
1267 (NO_BZERO_IMPL): Likewise.
1268
e65caf1f
VR
12692014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1270
1271 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1272 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1273 multiarch strspn for PPC64.
1274 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1275 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1277 (__libc_ifunc_impl_list): Likewise.
1278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1279 multiarch optimizations
1280 * string/strspn.c (strspn): Using macro to redefine symbol name.
1281
ba9cc071
AZ
12822014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1283 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1286 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1287 multiarch strncat for PPC64.
1288 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1289 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1291 (__libc_ifunc_impl_list): Likewise.
1292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1293 multiarch optimizations
1294
8b4ff974
SP
12952014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
1297 [BZ #16639]
1298 * nscd/nscd.service: Make service type forking.
1299
54b46a4b
AZ
13002014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1303 sign in non default rounding modes.
1304 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1305
e9996ef7
JM
13062014-03-08 Joseph Myers <joseph@codesourcery.com>
1307
1308 * math/libm-test.inc (ALL_RM_TEST): New macro.
1309 (ceil_test): Use ALL_RM_TEST.
1310 (cimag_test): Likewise.
1311 (conj_test): Likewise.
1312 (copysign_test): Likewise.
1313 (cproj_test): Likewise.
1314 (creal_test): Likewise.
1315 (fabs_test): Likewise.
1316 (floor_test): Likewise.
1317 (fmax_test): Likewise.
1318 (fmin_test): Likewise.
1319 (fmod_test): Likewise.
1320 (fpclassify_test): Likewise.
1321 (frexp_test): Likewise.
1322 (ilogb_test): Likewise.
1323 (isfinite_test): Likewise.
1324 (finite_test): Likewise.
1325 (isgreater_test): Likewise.
1326 (isgreaterequal_test): Likewise.
1327 (isinf_test): Likewise.
1328 (isless_test): Likewise.
1329 (islessequal_test): Likewise.
1330 (islessgreater_test): Likewise.
1331 (isnan_test): Likewise.
1332 (isnormal_test): Likewise.
1333 (issignaling_test): Likewise.
1334 (isunordered_test): Likewise.
1335 (logb_test): Likewise.
1336 (logb_downward_test_data): Remove.
1337 (logb_test_downward): Likewise.
1338 (lround_test): Use ALL_RM_TEST.
1339 (llround_test): Likewise.
1340 (modf_test): Likewise.
1341 (nexttoward_test): Likewise.
1342 (remainder_test): Likewise.
1343 (drem_test): Likewise.
1344 (remainder_tonearest_test_data): Likewise.
1345 (remainder_test_tonearest): Likewise.
1346 (drem_test_tonearest): Likewise.
1347 (remainder_towardzero_test_data): Likewise.
1348 (remainder_test_towardzero): Likewise.
1349 (drem_test_towardzero): Likewise.
1350 (remainder_downward_test_data): Likewise.
1351 (remainder_test_downward): Likewise.
1352 (drem_test_downward): Likewise.
1353 (remainder_upward_test_data): Likewise.
1354 (remainder_test_upward): Likewise.
1355 (drem_test_upward): Likewise.
1356 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1357 (round_test): Use ALL_RM_TEST.
1358 (signbit_test): Likewise.
1359 (trunc_test): Likewise.
1360 (significand_test): Likewise.
1361 (main): Don't call removed functions.
1362
bc61d27c
JM
13632014-03-07 Joseph Myers <joseph@codesourcery.com>
1364
5c780849
JM
1365 [BZ #16674]
1366 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1367 || __USE_XOPEN2K8].
1368 (ILL_ILLOPN): Likewise.
1369 (ILL_ILLADR): Likewise.
1370 (ILL_ILLTRP): Likewise.
1371 (ILL_PRVOPC): Likewise.
1372 (ILL_PRVREG): Likewise.
1373 (ILL_COPROC): Likewise.
1374 (ILL_BADSTK): Likewise.
1375 (FPE_INTDIV): Likewise.
1376 (FPE_INTOVF): Likewise.
1377 (FPE_FLTDIV): Likewise.
1378 (FPE_FLTOVF): Likewise.
1379 (FPE_FLTUND): Likewise.
1380 (FPE_FLTRES): Likewise.
1381 (FPE_FLTINV): Likewise.
1382 (FPE_FLTSUB): Likewise.
1383 (SEGV_MAPERR): Likewise.
1384 (SEGV_ACCERR): Likewise.
1385 (BUS_ADRALN): Likewise.
1386 (BUS_ADRERR): Likewise.
1387 (BUS_OBJERR): Likewise.
1388 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1389 (TRAP_TRACE): Likewise.
1390 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1391 __USE_XOPEN2K8].
1392 (CLD_KILLED): Likewise.
1393 (CLD_DUMPED): Likewise.
1394 (CLD_TRAPPED): Likewise.
1395 (CLD_STOPPED): Likewise.
1396 (CLD_CONTINUED): Likewise.
1397 (POLL_IN): Likewise.
1398 (POLL_OUT): Likewise.
1399 (POLL_MSG): Likewise.
1400 (POLL_ERR): Likewise.
1401 (POLL_PRI): Likewise.
1402 (POLL_HUP): Likewise.
1403 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1404 Likewise.
1405 (ILL_ILLOPN): Likewise.
1406 (ILL_ILLADR): Likewise.
1407 (ILL_ILLTRP): Likewise.
1408 (ILL_PRVOPC): Likewise.
1409 (ILL_PRVREG): Likewise.
1410 (ILL_COPROC): Likewise.
1411 (ILL_BADSTK): Likewise.
1412 (FPE_INTDIV): Likewise.
1413 (FPE_INTOVF): Likewise.
1414 (FPE_FLTDIV): Likewise.
1415 (FPE_FLTOVF): Likewise.
1416 (FPE_FLTUND): Likewise.
1417 (FPE_FLTRES): Likewise.
1418 (FPE_FLTINV): Likewise.
1419 (FPE_FLTSUB): Likewise.
1420 (SEGV_MAPERR): Likewise.
1421 (SEGV_ACCERR): Likewise.
1422 (BUS_ADRALN): Likewise.
1423 (BUS_ADRERR): Likewise.
1424 (BUS_OBJERR): Likewise.
1425 (BUS_MCEERR_AR): Likewise.
1426 (BUS_MCEERR_AO): Likewise.
1427 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1428 (TRAP_TRACE): Likewise.
1429 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1430 __USE_XOPEN2K8].
1431 (CLD_KILLED): Likewise.
1432 (CLD_DUMPED): Likewise.
1433 (CLD_TRAPPED): Likewise.
1434 (CLD_STOPPED): Likewise.
1435 (CLD_CONTINUED): Likewise.
1436 (POLL_IN): Likewise.
1437 (POLL_OUT): Likewise.
1438 (POLL_MSG): Likewise.
1439 (POLL_ERR): Likewise.
1440 (POLL_PRI): Likewise.
1441 (POLL_HUP): Likewise.
1442 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1443 (ILL_ILLOPN): Likewise.
1444 (ILL_ILLADR): Likewise.
1445 (ILL_ILLTRP): Likewise.
1446 (ILL_PRVOPC): Likewise.
1447 (ILL_PRVREG): Likewise.
1448 (ILL_COPROC): Likewise.
1449 (ILL_BADSTK): Likewise.
1450 (FPE_INTDIV): Likewise.
1451 (FPE_INTOVF): Likewise.
1452 (FPE_FLTDIV): Likewise.
1453 (FPE_FLTOVF): Likewise.
1454 (FPE_FLTUND): Likewise.
1455 (FPE_FLTRES): Likewise.
1456 (FPE_FLTINV): Likewise.
1457 (FPE_FLTSUB): Likewise.
1458 (SEGV_MAPERR): Likewise.
1459 (SEGV_ACCERR): Likewise.
1460 (BUS_ADRALN): Likewise.
1461 (BUS_ADRERR): Likewise.
1462 (BUS_OBJERR): Likewise.
1463 (BUS_MCEERR_AR): Likewise.
1464 (BUS_MCEERR_AO): Likewise.
1465 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1466 (TRAP_TRACE): Likewise.
1467 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1468 __USE_XOPEN2K8].
1469 (CLD_KILLED): Likewise.
1470 (CLD_DUMPED): Likewise.
1471 (CLD_TRAPPED): Likewise.
1472 (CLD_STOPPED): Likewise.
1473 (CLD_CONTINUED): Likewise.
1474 (POLL_IN): Likewise.
1475 (POLL_OUT): Likewise.
1476 (POLL_MSG): Likewise.
1477 (POLL_ERR): Likewise.
1478 (POLL_PRI): Likewise.
1479 (POLL_HUP): Likewise.
1480 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1481 Likewise.
1482 (ILL_ILLOPN): Likewise.
1483 (ILL_ILLADR): Likewise.
1484 (ILL_ILLTRP): Likewise.
1485 (ILL_PRVOPC): Likewise.
1486 (ILL_PRVREG): Likewise.
1487 (ILL_COPROC): Likewise.
1488 (ILL_BADSTK): Likewise.
1489 (ILL_BADIADDR): Likewise.
1490 (ILL_BREAK): Likewise.
1491 (FPE_INTDIV): Likewise.
1492 (FPE_INTOVF): Likewise.
1493 (FPE_FLTDIV): Likewise.
1494 (FPE_FLTOVF): Likewise.
1495 (FPE_FLTUND): Likewise.
1496 (FPE_FLTRES): Likewise.
1497 (FPE_FLTINV): Likewise.
1498 (FPE_FLTSUB): Likewise.
1499 (FPE_DECOVF): Likewise.
1500 (FPE_DECDIV): Likewise.
1501 (FPE_DECERR): Likewise.
1502 (FPE_INVASC): Likewise.
1503 (FPE_INVDEC): Likewise.
1504 (SEGV_MAPERR): Likewise.
1505 (SEGV_ACCERR): Likewise.
1506 (SEGV_PSTKOVF): Likewise.
1507 (BUS_ADRALN): Likewise.
1508 (BUS_ADRERR): Likewise.
1509 (BUS_OBJERR): Likewise.
1510 (BUS_MCEERR_AR): Likewise.
1511 (BUS_MCEERR_AO): Likewise.
1512 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1513 (TRAP_TRACE): Likewise.
1514 (TRAP_BRANCH): Likewise.
1515 (TRAP_HWBKPT): Likewise.
1516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1517 __USE_XOPEN2K8].
1518 (CLD_KILLED): Likewise.
1519 (CLD_DUMPED): Likewise.
1520 (CLD_TRAPPED): Likewise.
1521 (CLD_STOPPED): Likewise.
1522 (CLD_CONTINUED): Likewise.
1523 (POLL_IN): Likewise.
1524 (POLL_OUT): Likewise.
1525 (POLL_MSG): Likewise.
1526 (POLL_ERR): Likewise.
1527 (POLL_PRI): Likewise.
1528 (POLL_HUP): Likewise.
1529 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1530 (ILL_ILLOPN): Likewise.
1531 (ILL_ILLADR): Likewise.
1532 (ILL_ILLTRP): Likewise.
1533 (ILL_PRVOPC): Likewise.
1534 (ILL_PRVREG): Likewise.
1535 (ILL_COPROC): Likewise.
1536 (ILL_BADSTK): Likewise.
1537 (FPE_INTDIV): Likewise.
1538 (FPE_INTOVF): Likewise.
1539 (FPE_FLTDIV): Likewise.
1540 (FPE_FLTOVF): Likewise.
1541 (FPE_FLTUND): Likewise.
1542 (FPE_FLTRES): Likewise.
1543 (FPE_FLTINV): Likewise.
1544 (FPE_FLTSUB): Likewise.
1545 (SEGV_MAPERR): Likewise.
1546 (SEGV_ACCERR): Likewise.
1547 (BUS_ADRALN): Likewise.
1548 (BUS_ADRERR): Likewise.
1549 (BUS_OBJERR): Likewise.
1550 (BUS_MCEERR_AR): Likewise.
1551 (BUS_MCEERR_AO): Likewise.
1552 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1553 (TRAP_TRACE): Likewise.
1554 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1555 __USE_XOPEN2K8].
1556 (CLD_KILLED): Likewise.
1557 (CLD_DUMPED): Likewise.
1558 (CLD_TRAPPED): Likewise.
1559 (CLD_STOPPED): Likewise.
1560 (CLD_CONTINUED): Likewise.
1561 (POLL_IN): Likewise.
1562 (POLL_OUT): Likewise.
1563 (POLL_MSG): Likewise.
1564 (POLL_ERR): Likewise.
1565 (POLL_PRI): Likewise.
1566 (POLL_HUP): Likewise.
1567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1568 (ILL_ILLOPN): Likewise.
1569 (ILL_ILLADR): Likewise.
1570 (ILL_ILLTRP): Likewise.
1571 (ILL_PRVOPC): Likewise.
1572 (ILL_PRVREG): Likewise.
1573 (ILL_COPROC): Likewise.
1574 (ILL_BADSTK): Likewise.
1575 (FPE_INTDIV): Likewise.
1576 (FPE_INTOVF): Likewise.
1577 (FPE_FLTDIV): Likewise.
1578 (FPE_FLTOVF): Likewise.
1579 (FPE_FLTUND): Likewise.
1580 (FPE_FLTRES): Likewise.
1581 (FPE_FLTINV): Likewise.
1582 (FPE_FLTSUB): Likewise.
1583 (SEGV_MAPERR): Likewise.
1584 (SEGV_ACCERR): Likewise.
1585 (BUS_ADRALN): Likewise.
1586 (BUS_ADRERR): Likewise.
1587 (BUS_OBJERR): Likewise.
1588 (BUS_MCEERR_AR): Likewise.
1589 (BUS_MCEERR_AO): Likewise.
1590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1591 (TRAP_TRACE): Likewise.
1592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1593 __USE_XOPEN2K8].
1594 (CLD_KILLED): Likewise.
1595 (CLD_DUMPED): Likewise.
1596 (CLD_TRAPPED): Likewise.
1597 (CLD_STOPPED): Likewise.
1598 (CLD_CONTINUED): Likewise.
1599 (POLL_IN): Likewise.
1600 (POLL_OUT): Likewise.
1601 (POLL_MSG): Likewise.
1602 (POLL_ERR): Likewise.
1603 (POLL_PRI): Likewise.
1604 (POLL_HUP): Likewise.
1605 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1606 (ILL_ILLOPN): Likewise.
1607 (ILL_ILLADR): Likewise.
1608 (ILL_ILLTRP): Likewise.
1609 (ILL_PRVOPC): Likewise.
1610 (ILL_PRVREG): Likewise.
1611 (ILL_COPROC): Likewise.
1612 (ILL_BADSTK): Likewise.
1613 (FPE_INTDIV): Likewise.
1614 (FPE_INTOVF): Likewise.
1615 (FPE_FLTDIV): Likewise.
1616 (FPE_FLTOVF): Likewise.
1617 (FPE_FLTUND): Likewise.
1618 (FPE_FLTRES): Likewise.
1619 (FPE_FLTINV): Likewise.
1620 (FPE_FLTSUB): Likewise.
1621 (SEGV_MAPERR): Likewise.
1622 (SEGV_ACCERR): Likewise.
1623 (BUS_ADRALN): Likewise.
1624 (BUS_ADRERR): Likewise.
1625 (BUS_OBJERR): Likewise.
1626 (BUS_MCEERR_AR): Likewise.
1627 (BUS_MCEERR_AO): Likewise.
1628 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1629 (TRAP_TRACE): Likewise.
1630 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1631 __USE_XOPEN2K8].
1632 (CLD_KILLED): Likewise.
1633 (CLD_DUMPED): Likewise.
1634 (CLD_TRAPPED): Likewise.
1635 (CLD_STOPPED): Likewise.
1636 (CLD_CONTINUED): Likewise.
1637 (POLL_IN): Likewise.
1638 (POLL_OUT): Likewise.
1639 (POLL_MSG): Likewise.
1640 (POLL_ERR): Likewise.
1641 (POLL_PRI): Likewise.
1642 (POLL_HUP): Likewise.
1643 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1644 (ILL_ILLOPN): Likewise.
1645 (ILL_ILLADR): Likewise.
1646 (ILL_ILLTRP): Likewise.
1647 (ILL_PRVOPC): Likewise.
1648 (ILL_PRVREG): Likewise.
1649 (ILL_COPROC): Likewise.
1650 (ILL_BADSTK): Likewise.
1651 (ILL_DBLFLT): Likewise.
1652 (ILL_HARDWALL): Likewise.
1653 (FPE_INTDIV): Likewise.
1654 (FPE_INTOVF): Likewise.
1655 (FPE_FLTDIV): Likewise.
1656 (FPE_FLTOVF): Likewise.
1657 (FPE_FLTUND): Likewise.
1658 (FPE_FLTRES): Likewise.
1659 (FPE_FLTINV): Likewise.
1660 (FPE_FLTSUB): Likewise.
1661 (SEGV_MAPERR): Likewise.
1662 (SEGV_ACCERR): Likewise.
1663 (BUS_ADRALN): Likewise.
1664 (BUS_ADRERR): Likewise.
1665 (BUS_OBJERR): Likewise.
1666 (BUS_MCEERR_AR): Likewise.
1667 (BUS_MCEERR_AO): Likewise.
1668 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1669 (TRAP_TRACE): Likewise.
1670 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1671 __USE_XOPEN2K8].
1672 (CLD_KILLED): Likewise.
1673 (CLD_DUMPED): Likewise.
1674 (CLD_TRAPPED): Likewise.
1675 (CLD_STOPPED): Likewise.
1676 (CLD_CONTINUED): Likewise.
1677 (POLL_IN): Likewise.
1678 (POLL_OUT): Likewise.
1679 (POLL_MSG): Likewise.
1680 (POLL_ERR): Likewise.
1681 (POLL_PRI): Likewise.
1682 (POLL_HUP): Likewise.
1683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1684 (ILL_ILLOPN): Likewise.
1685 (ILL_ILLADR): Likewise.
1686 (ILL_ILLTRP): Likewise.
1687 (ILL_PRVOPC): Likewise.
1688 (ILL_PRVREG): Likewise.
1689 (ILL_COPROC): Likewise.
1690 (ILL_BADSTK): Likewise.
1691 (FPE_INTDIV): Likewise.
1692 (FPE_INTOVF): Likewise.
1693 (FPE_FLTDIV): Likewise.
1694 (FPE_FLTOVF): Likewise.
1695 (FPE_FLTUND): Likewise.
1696 (FPE_FLTRES): Likewise.
1697 (FPE_FLTINV): Likewise.
1698 (FPE_FLTSUB): Likewise.
1699 (SEGV_MAPERR): Likewise.
1700 (SEGV_ACCERR): Likewise.
1701 (BUS_ADRALN): Likewise.
1702 (BUS_ADRERR): Likewise.
1703 (BUS_OBJERR): Likewise.
1704 (BUS_MCEERR_AR): Likewise.
1705 (BUS_MCEERR_AO): Likewise.
1706 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1707 (TRAP_TRACE): Likewise.
1708 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1709 __USE_XOPEN2K8].
1710 (CLD_KILLED): Likewise.
1711 (CLD_DUMPED): Likewise.
1712 (CLD_TRAPPED): Likewise.
1713 (CLD_STOPPED): Likewise.
1714 (CLD_CONTINUED): Likewise.
1715 (POLL_IN): Likewise.
1716 (POLL_OUT): Likewise.
1717 (POLL_MSG): Likewise.
1718 (POLL_ERR): Likewise.
1719 (POLL_PRI): Likewise.
1720 (POLL_HUP): Likewise.
1721 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1722 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1723
bc61d27c
JM
1724 [BZ #16670]
1725 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1726 before #include of <time.h>.
1727 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1728 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1729 (test-xfail-UNIX98/sched.h/conform): Likewise.
1730
302949e2
MS
17312014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1732
1733 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1734 error absence of trapping exception support.
1735 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1736
a00f522a
JM
17372014-03-07 Joseph Myers <joseph@codesourcery.com>
1738
6f99f280
JM
1739 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1740 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1741 * timezone/Makefile (testdata): Move definition above include of
1742 Rules.
1743 (test-zones): New variable.
1744 (tests-special): Add zone files.
1745 (build-testdata): Use $(evaluate-test).
1746
0b20a9e8
JM
1747 * elf/Makefile (tests-special): Rename tests to end with .out.
1748 ($(objpfx)noload-mem): Likewise.
1749 ($(objpfx)tst-leaks1-mem): Likewise.
1750 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1751 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1752 $(objpfx)test-iconvconfig.out.
1753 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1754 set -e inside subshell and redirect output to file.
1755 * iconvdata/Makefile (generated): Rename tests to end with .out.
1756 Correct type.
1757 (tests-special): Rename tests to end with .out.
1758 ($(objpfx)mtrace-tst-loading): Likewise.
1759 * intl/Makefile (generated): Likewise.
1760 (tests-special): Likewise.
1761 ($(objpfx)mtrace-tst-gettext): Likewise.
1762 * misc/Makefile (generated): Likewise.
1763 (tests-special): Likewise.
1764 ($(objpfx)tst-error1-mem): Likewise.
1765 * nptl/Makefile (tests-special): Likewise.
1766 ($(objpfx)tst-stack3-mem): Likewise.
1767 (generated): Likewise.
1768 * posix/Makefile (generated): Likewise.
1769 (tests-special): Likewise.
1770 (xtests-special): Likewise.
1771 ($(objpfx)tst-fnmatch-mem): Likewise.
1772 ($(objpfx)bug-regex2-mem): Likewise.
1773 ($(objpfx)bug-regex14-mem): Likewise.
1774 ($(objpfx)bug-regex21-mem): Likewise.
1775 ($(objpfx)bug-regex31-mem): Likewise.
1776 ($(objpfx)tst-vfork3-mem): Likewise.
1777 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1778 ($(objpfx)tst-pcre-mem): Likewise.
1779 ($(objpfx)tst-boost-mem): Likewise.
1780 ($(objpfx)bug-ga2-mem): Likewise.
1781 ($(objpfx)bug-glob2-mem): Likewise.
1782 * resolv/Makefile (generate): Likewise.
1783 (tests-special): Likewise.
1784 (xtests-special): Likewise.
1785 (generated): Likewise.
1786 ($(objpfx)mtrace-tst-leaks): Likewise.
1787 ($(objpfx)mtrace-tst-leaks2): Likewise.
1788
265d52ab
JM
1789 * scripts/merge-test-results.sh: New file.
1790 * Makefile (tests-special-notdir): New variable.
1791 (tests): Run merge-test-results.sh.
1792 (xtests): Likewise.
1793 * Rules (tests-special-notdir): New variable.
1794 (xtests-special-notdir): Likewise.
1795 (tests): Run merge-test-results.sh
1796 (xtests): Likewise.
1797
54ee292d
JM
1798 * Makeconfig (test-xfail-name): New variable.
1799 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1800 compute variable name for expected failures.
1801 * conform/Makefile (conformtest-headers-data): New variable.
1802 (conformtest-standards): Likewise.
1803 (conformtest-headers-ISO): Likewise.
1804 (conformtest-headers-ISO99): Likewise.
1805 (conformtest-headers-ISO11): Likewise.
1806 (conformtest-headers-POSIX): Likewise.
1807 (conformtest-headers-XPG3): Likewise.
1808 (conformtest-headers-XPG4): Likewise.
1809 (conformtest-headers-UNIX98): Likewise.
1810 (conformtest-headers-XOPEN2K): Likewise.
1811 (conformtest-headers-POSIX2008): Likewise.
1812 (conformtest-headers-XOPEN2K8): Likewise.
1813 (conformtest-header-list-base): Likewise.
1814 (conformtest-header-list-tests): Likewise.
1815 (conformtest-header-base): Likewise.
1816 (conformtest-header-tests): Likewise.
1817 (tests-special): Add $(conformtest-header-list-tests). If
1818 [$(fast-check) && !$(cross-compiling)], add
1819 $(conformtest-header-tests) instead of
1820 $(objpfx)run-conformtest.out.
1821 (generated): Add $(conformtest-header-list-base). If
1822 [$(fast-check) && !$(cross-compiling)], add
1823 $(conformtest-header-base). Remove previous setting.
1824 ($(conformtest-header-list-tests)): New target.
1825 (test-xfail-run-conformtest): Remove variable.
1826 ($(objpfx)run-conformtest.out): Remove target.
1827 (test-xfail-ISO11/complex.h/conform): New variable.
1828 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1829 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1830 (test-xfail-XPG3/varargs.h/conform): Likewise.
1831 (test-xfail-XPG4/varargs.h/conform): Likewise.
1832 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1833 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1834 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1835 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1836 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1837 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1838 (test-xfail-XPG3/ftw.h/conform): Likewise.
1839 (test-xfail-XPG3/grp.h/conform): Likewise.
1840 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1841 (test-xfail-XPG3/limits.h/conform): Likewise.
1842 (test-xfail-XPG3/pwd.h/conform): Likewise.
1843 (test-xfail-XPG3/search.h/conform): Likewise.
1844 (test-xfail-XPG3/signal.h/conform): Likewise.
1845 (test-xfail-XPG3/stdio.h/conform): Likewise.
1846 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1847 (test-xfail-XPG3/string.h/conform): Likewise.
1848 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1849 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1850 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1851 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1852 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1853 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1854 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1855 (test-xfail-XPG3/termios.h/conform): Likewise.
1856 (test-xfail-XPG3/time.h/conform): Likewise.
1857 (test-xfail-XPG3/unistd.h/conform): Likewise.
1858 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1859 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1860 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1861 (test-xfail-XPG4/netdb.h/conform): Likewise.
1862 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1863 (test-xfail-XPG4/signal.h/conform): Likewise.
1864 (test-xfail-XPG4/stdio.h/conform): Likewise.
1865 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1866 (test-xfail-XPG4/stropts.h/conform): Likewise.
1867 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1868 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1869 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1870 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1871 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1872 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1873 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1874 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1875 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1876 (test-xfail-XPG4/termios.h/conform): Likewise.
1877 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1878 (test-xfail-XPG4/unistd.h/conform): Likewise.
1879 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1880 (test-xfail-POSIX/sched.h/conform): Likewise.
1881 (test-xfail-POSIX/signal.h/conform): Likewise.
1882 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1883 (test-xfail-POSIX/tar.h/conform): Likewise.
1884 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1885 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1886 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1887 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1888 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1889 (test-xfail-UNIX98/sched.h/conform): Likewise.
1890 (test-xfail-UNIX98/signal.h/conform): Likewise.
1891 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1892 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1893 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1894 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1895 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1896 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1897 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1898 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1899 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1900 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1901 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1902 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1903 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1904 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1905 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1906 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1907 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1908 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1909 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1910 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1911 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1912 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1913 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1914 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1915 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1916 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1917 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1918 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1919 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1920 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1921 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1922 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1923 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1924 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1925 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1926 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1927 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1928 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1929 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1930 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1931 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1932 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1933 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1934 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1935 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1936 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1937 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1938 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1939 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1940 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1941 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1942 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1943 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1944 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1945 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1946 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1947 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1948 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1949 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1950 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1951 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1952 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1953 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1954 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1955 (conformtest-cc-flags): Likewise.
1956 ($(conformtest-header-tests): New target.
1957 * conform/check-header-lists.sh: New file.
1958 * conform/run-conformtest.sh: Remove.
1959
a00f522a
JM
1960 * conform/conformtest.pl: Allow ' and \ in values given for
1961 constants.
1962 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1963 inclusion.
1964 [POSIX] (sys/types.h): Likewise.
1965 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1966 inclusion.
1967 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1968 inclusion.
1969 * conform/data/signal.h-data (SIGIO): Remove expectation.
1970 [XPG3] (SIGBUS): Do not expect.
1971 [POSIX || XPG3] (SIGPOLL): Likewise.
1972 [POSIX || XPG3] (SIGPROF): Likewise.
1973 [POSIX || XPG3] (SIGSYS): Likewise.
1974 [XPG3] (SIGTRAP): Likewise.
1975 [POSIX || XPG3] (SIGURG): Likewise.
1976 [POSIX || XPG3] (SIGVTALRM): Likewise.
1977 [POSIX || XPG3] (SIGXCPU): Likewise.
1978 [POSIX || XPG3] (SIGXFSZ): Likewise.
1979 [POSIX] (SA_SIGINFO): Expect.
1980 [XPG3] (siginfo_t): Do not expect type or contents.
1981 [POSIX] (si_pid): Do not expect element.
1982 [POSIX] (si_uid): Likewise.
1983 [POSIX] (si_addr): Likewise.
1984 [POSIX] (si_status): Likewise.
1985 [POSIX] (si_band): Likewise.
1986 [XPG4] (si_value): Likewise.
1987 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1988 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1989 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1990 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1991 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1992 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1993 [POSIX || XPG3] (ILL_COPROC): Likewise.
1994 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1995 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1996 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1997 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1998 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1999 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2000 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2001 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2002 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2003 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2004 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2005 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2006 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2007 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2008 [POSIX || XPG3] (CLD_EXITED): Likewise.
2009 [POSIX || XPG3] (CLD_KILLED): Likewise.
2010 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2011 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2012 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2013 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2014 [POSIX || XPG3] (POLL_IN): Likewise.
2015 [POSIX || XPG3] (POLL_OUT): Likewise.
2016 [POSIX || XPG3] (POLL_MSG): Likewise.
2017 [POSIX || XPG3] (POLL_ERR): Likewise.
2018 [POSIX || XPG3] (POLL_PRI): Likewise.
2019 [POSIX || XPG3] (POLL_HUP): Likewise.
2020 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2021 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2022 (SIG*): Do not allow.
2023 [XPG3] (si_*): Likewise.
2024 [XPG3] (SI_*): Likewise.
2025 [XPG3 || XPG4] (sigev_*): Likewise.
2026 [XPG3 || XPG4] (SIGEV_*): Likewise.
2027 [XPG3 || XPG4] (sival_*): Likewise.
2028 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2029 [POSIX || XPG3] (BUS_*): Likewise.
2030 [POSIX || XPG3] (CLD_*): Likewise.
2031 [POSIX || XPG3] (FPE_*): Likewise.
2032 [POSIX || XPG3] (ILL_*): Likewise.
2033 [POSIX || XPG3] (POLL_*): Likewise.
2034 [POSIX || XPG3] (SEGV_*): Likewise.
2035 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2036 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2037 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2038 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2039 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2040 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2041 Specify type and value.
2042 (TVERSLEN): Likewise.
2043 (REGTYPE): Likewise.
2044 (AREGTYPE): Likewise.
2045 (LNKTYPE): Likewise.
2046 (SYMTYPE): Likewise.
2047 (CHRTYPE): Likewise.
2048 (BLKTYPE): Likewise.
2049 (DIRTYPE): Likewise.
2050 (FIFOTYPE): Likewise.
2051 (CONTTYPE): Likewise.
2052 (TSUID): Likewise.
2053 (TSGID): Likewise.
2054 (TSVTX): Likewise.
2055 (TUREAD): Likewise.
2056 (TUWRITE): Likewise.
2057 (TUEXEC): Likewise.
2058 (TGREAD): Likewise.
2059 (TGWRITE): Likewise.
2060 (TGEXEC): Likewise.
2061 (TOREAD): Likewise.
2062 (TOWRITE): Likewise.
2063 (TOEXEC): Likewise.
2064 [POSIX] (TSVTX): Expect constant.
2065
aa97dee1
JM
20662014-03-06 Joseph Myers <joseph@codesourcery.com>
2067
f214606a
JM
2068 * Makefile (tests): Change dependencies to ....
2069 (tests-special): ... additions to this variable.
2070 (tests): Depend on $(tests-special).
2071 * Makerules (check-abi-list): New variable.
2072 (check-abi): Depend on $(check-abi-list).
2073 [$(subdir) = elf] (tests-special): Add
2074 $(objpfx)check-abi-libc.out.
2075 [$(build-shared) = yes && subdir] (tests-special): Add
2076 $(check-abi-list).
2077 [$(build-shared) = yes && subdir] (tests): Do not depend on
2078 check-abi.
2079 * Rules (tests): Depend on $(tests-special).
2080 (xtests): Depend on $(xtests-special).
2081 * catgets/Makefile (tests): Change dependencies to ....
2082 (tests-special): ... additions to this variable.
2083 * conform/Makefile (tests): Change dependencies to ....
2084 (tests-special): ... additions to this variable.
2085 * elf/Makefile (tests): Change dependencies to ....
2086 (tests-special): ... additions to this variable.
2087 * grp/Makefile (tests): Change dependencies to ....
2088 (tests-special): ... additions to this variable.
2089 * iconv/Makefile (xtests): Change dependencies to ....
2090 (xtests-special): ... additions to this variable.
2091 * iconvdata/Makefile (tests): Change dependencies to ....
2092 (tests-special): ... additions to this variable.
2093 * intl/Makefile (tests): Change dependencies to ....
2094 (tests-special): ... additions to this variable. Also add
2095 $(objpfx)tst-gettext.out.
2096 * io/Makefile (tests): Change dependencies to ....
2097 (tests-special): ... additions to this variable.
2098 * libio/Makefile (tests): Change dependencies to ....
2099 (tests-special): ... additions to this variable.
2100 * malloc/Makefile (tests): Change dependencies to ....
2101 (tests-special): ... additions to this variable.
2102 * misc/Makefile (tests): Change dependencies to ....
2103 (tests-special): ... additions to this variable.
2104 * nptl/Makefile (tests): Change dependencies to ....
2105 (tests-special): ... additions to this variable.
2106 * nptl_db/Makefile (tests): Change dependencies to ....
2107 (tests-special): ... additions to this variable.
2108 * posix/Makefile (tests): Change dependencies to ....
2109 (tests-special): ... additions to this variable.
2110 (xtests): Change dependencies to ....
2111 (xtests-special): ... additions to this variable.
2112 * resolv/Makefile (tests): Change dependencies to ....
2113 (tests-special): ... additions to this variable.
2114 (xtests): Change dependencies to ....
2115 (xtests-special): ... additions to this variable.
2116 * stdio-common/Makefile (tests): Change dependencies to ....
2117 (tests-special): ... additions to this variable.
2118 (do-tst-unbputc): Remove target.
2119 (do-tst-printf): Likewise.
2120 * stdlib/Makefile (tests): Change dependencies to ....
2121 (tests-special): ... additions to this variable.
2122 * string/Makefile (tests): Change dependencies to ....
2123 (tests-special): ... additions to this variable.
2124 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2125 (tests-special): ... additions to this variable.
2126
81700b53
JM
2127 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2128 whole file.
2129 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2130 whole file.
2131 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2132 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2133
2ea18461
JM
2134 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2135 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2136 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2137 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2138 * conform/data/libgen.h-data [XPG3]: Likewise.
2139 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2140 * conform/data/ndbm.h-data [XPG3]: Likewise.
2141 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2142 * conform/data/netdb.h-data [XPG3]: Likewise.
2143 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2144 * conform/data/poll.h-data [XPG3]: Likewise.
2145 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2146 * conform/data/strings.h-data [XPG3]: Likewise.
2147 * conform/data/stropts.h-data [XPG3]: Likewise.
2148 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2149 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2150 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2151 Likewise.
2152 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2153 * conform/data/sys/time.h-data [XPG3]: Likewise.
2154 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2155 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2156 * conform/data/sys/un.h-data [XPG3]: Likewise.
2157 * conform/data/syslog.h-data [XPG3]: Likewise.
2158 * conform/data/ucontext.h-data [XPG3]: Likewise.
2159 * conform/data/utmpx.h-data [XPG3]: Likewise.
2160 * conform/data/varargs.h-data [UNIX98]: Enable file.
2161
355bc986
JM
2162 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2163
215db402
JM
2164 * math/libm-test.inc (struct test_f_f_data): Move expected results
2165 into structure for each rounding mode.
2166 (struct test_ff_f_data): Likewise.
2167 (struct test_ff_f_data_nexttoward): Likewise.
2168 (struct test_fi_f_data): Likewise.
2169 (struct test_fl_f_data): Likewise.
2170 (struct test_if_f_data): Likewise.
2171 (struct test_fff_f_data): Likewise.
2172 (struct test_c_f_data): Likewise.
2173 (struct test_f_f1_data): Likewise.
2174 (struct test_fF_f1_data): Likewise.
2175 (struct test_ffI_f1_data): Likewise.
2176 (struct test_c_c_data): Likewise.
2177 (struct test_cc_c_data): Likewise.
2178 (struct test_f_i_data): Likewise.
2179 (struct test_ff_i_data): Likewise.
2180 (struct test_f_l_data): Likewise.
2181 (struct test_f_L_data): Likewise.
2182 (struct test_fFF_11_data): Likewise.
2183 (RM_): New macro.
2184 (RM_FE_DOWNWARD): Likewise.
2185 (RM_FE_TONEAREST): Likewise.
2186 (RM_FE_TOWARDZERO): Likewise.
2187 (RM_FE_UPWARD): Likewise.
2188 (RUN_TEST_LOOP_f_f): Update references to expected results.
2189 (RUN_TEST_LOOP_2_f): Likewise.
2190 (RUN_TEST_LOOP_fff_f): Likewise.
2191 (RUN_TEST_LOOP_c_f): Likewise.
2192 (RUN_TEST_LOOP_f_f1): Likewise.
2193 (RUN_TEST_LOOP_fF_f1): Likewise.
2194 (RUN_TEST_LOOP_fI_f1): Likewise.
2195 (RUN_TEST_LOOP_ffI_f1): Likewise.
2196 (RUN_TEST_LOOP_c_c): Likewise.
2197 (RUN_TEST_LOOP_cc_c): Likewise.
2198 (RUN_TEST_LOOP_f_i): Likewise.
2199 (RUN_TEST_LOOP_f_i_tg): Likewise.
2200 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2201 (RUN_TEST_LOOP_f_b): Likewise.
2202 (RUN_TEST_LOOP_f_b_tg): Likewise.
2203 (RUN_TEST_LOOP_f_l): Likewise.
2204 (RUN_TEST_LOOP_f_L): Likewise.
2205 (RUN_TEST_LOOP_fFF_11): Likewise.
2206 * math/gen-libm-test.pl (parse_args): Output four copies of
2207 expected results for each test.
2208
67737b8f
JM
2209 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2210 (__ASSUME_UTIMES): Remove.
2211 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2212 (__ASSUME_UTIMES): Likewise.
2213
aa97dee1
JM
2214 * math/gen-auto-libm-tests.c: Update comment on output format.
2215 (output_for_one_input_case): Generate before-rounding and
2216 after-rounding information as conditions on output flags not
2217 floating-point format.
2218 * math/auto-libm-test-out: Regenerated.
2219 * math/gen-libm-test.pl (cond_value): New function.
2220 (or_cond_value): Use cond_value.
2221 (generate_testfile): Handle conditional exceptions.
2222
e6b6a857
JM
22232014-03-05 Joseph Myers <joseph@codesourcery.com>
2224
2f0a0f44
JM
2225 * math/libm-test.inc (max_valid_error): New variable.
2226 (init_max_error): Take new argument specifying whether function
2227 results are exactly determined. Set max_valid_error and bound
2228 other variables for errors based on this argument.
2229 (set_max_error): Do not record results above max_valid_error.
2230 (check_float_internal): Only accept errors of up to 0.5ulps if
2231 also at most max_valid_error.
2232 (START): Take new argument EXACT and pass it to init_max_error.
2233 (acos_test): Update call to START.
2234 (acos_test_tonearest): Likewise.
2235 (acos_test_towardzero): Likewise.
2236 (acos_test_downward): Likewise.
2237 (acos_test_upward): Likewise.
2238 (acosh_test): Likewise.
2239 (asin_test): Likewise.
2240 (asin_test_tonearest): Likewise.
2241 (asin_test_towardzero): Likewise.
2242 (asin_test_downward): Likewise.
2243 (asin_test_upward): Likewise.
2244 (asinh_test): Likewise.
2245 (atan_test): Likewise.
2246 (atanh_test): Likewise.
2247 (atan2_test): Likewise.
2248 (cabs_test): Likewise.
2249 (cacos_test): Likewise.
2250 (cacosh_test): Likewise.
2251 (carg_test): Likewise.
2252 (casin_test): Likewise.
2253 (casinh_test): Likewise.
2254 (catan_test): Likewise.
2255 (catanh_test): Likewise.
2256 (cbrt_test): Likewise.
2257 (ccos_test): Likewise.
2258 (ccosh_test): Likewise.
2259 (ceil_test): Likewise.
2260 (cexp_test): Likewise.
2261 (cimag_test): Likewise.
2262 (clog_test): Likewise.
2263 (clog10_test): Likewise.
2264 (conj_test): Likewise.
2265 (copysign_test): Likewise.
2266 (cos_test): Likewise.
2267 (cos_test_tonearest): Likewise.
2268 (cos_test_towardzero): Likewise.
2269 (cos_test_downward): Likewise.
2270 (cos_test_upward): Likewise.
2271 (cosh_test): Likewise.
2272 (cosh_test_tonearest): Likewise.
2273 (cosh_test_towardzero): Likewise.
2274 (cosh_test_downward): Likewise.
2275 (cosh_test_upward): Likewise.
2276 (cpow_test): Likewise.
2277 (cproj_test): Likewise.
2278 (creal_test): Likewise.
2279 (csin_test): Likewise.
2280 (csinh_test): Likewise.
2281 (csqrt_test): Likewise.
2282 (ctan_test): Likewise.
2283 (ctan_test_tonearest): Likewise.
2284 (ctan_test_towardzero): Likewise.
2285 (ctan_test_downward): Likewise.
2286 (ctan_test_upward): Likewise.
2287 (ctanh_test): Likewise.
2288 (ctanh_test_tonearest): Likewise.
2289 (ctanh_test_towardzero): Likewise.
2290 (ctanh_test_downward): Likewise.
2291 (ctanh_test_upward): Likewise.
2292 (erf_test): Likewise.
2293 (erfc_test): Likewise.
2294 (exp_test): Likewise.
2295 (exp_test_tonearest): Likewise.
2296 (exp_test_towardzero): Likewise.
2297 (exp_test_downward): Likewise.
2298 (exp_test_upward): Likewise.
2299 (exp10_test): Likewise.
2300 (exp10_test_tonearest): Likewise.
2301 (exp10_test_towardzero): Likewise.
2302 (exp10_test_downward): Likewise.
2303 (exp10_test_upward): Likewise.
2304 (pow10_test): Likewise.
2305 (exp2_test): Likewise.
2306 (expm1_test): Likewise.
2307 (expm1_test_tonearest): Likewise.
2308 (expm1_test_towardzero): Likewise.
2309 (expm1_test_downward): Likewise.
2310 (expm1_test_upward): Likewise.
2311 (fabs_test): Likewise.
2312 (fdim_test): Likewise.
2313 (floor_test): Likewise.
2314 (fma_test): Likewise.
2315 (fma_test_towardzero): Likewise.
2316 (fma_test_downward): Likewise.
2317 (fma_test_upward): Likewise.
2318 (fmax_test): Likewise.
2319 (fmin_test): Likewise.
2320 (fmod_test): Likewise.
2321 (fpclassify_test): Likewise.
2322 (frexp_test): Likewise.
2323 (hypot_test): Likewise.
2324 (ilogb_test): Likewise.
2325 (isfinite_test): Likewise.
2326 (finite_test): Likewise.
2327 (isgreater_test): Likewise.
2328 (isgreaterequal_test): Likewise.
2329 (isinf_test): Likewise.
2330 (isless_test): Likewise.
2331 (islessequal_test): Likewise.
2332 (islessgreater_test): Likewise.
2333 (isnan_test): Likewise.
2334 (isnormal_test): Likewise.
2335 (issignaling_test): Likewise.
2336 (isunordered_test): Likewise.
2337 (j0_test): Likewise.
2338 (j1_test): Likewise.
2339 (jn_test): Likewise.
2340 (ldexp_test): Likewise.
2341 (lgamma_test): Likewise.
2342 (gamma_test): Likewise.
2343 (lrint_test): Likewise.
2344 (lrint_test_tonearest): Likewise.
2345 (lrint_test_towardzero): Likewise.
2346 (lrint_test_downward): Likewise.
2347 (lrint_test_upward): Likewise.
2348 (llrint_test): Likewise.
2349 (llrint_test_tonearest): Likewise.
2350 (llrint_test_towardzero): Likewise.
2351 (llrint_test_downward): Likewise.
2352 (llrint_test_upward): Likewise.
2353 (log_test): Likewise.
2354 (log10_test): Likewise.
2355 (log1p_test): Likewise.
2356 (log2_test): Likewise.
2357 (logb_test): Likewise.
2358 (logb_test_downward): Likewise.
2359 (lround_test): Likewise.
2360 (llround_test): Likewise.
2361 (modf_test): Likewise.
2362 (nearbyint_test): Likewise.
2363 (nextafter_test): Likewise.
2364 (nexttoward_test): Likewise.
2365 (pow_test): Likewise.
2366 (pow_test_tonearest): Likewise.
2367 (pow_test_towardzero): Likewise.
2368 (pow_test_downward): Likewise.
2369 (pow_test_upward): Likewise.
2370 (remainder_test): Likewise.
2371 (drem_test): Likewise.
2372 (remainder_test_tonearest): Likewise.
2373 (drem_test_tonearest): Likewise.
2374 (remainder_test_towardzero): Likewise.
2375 (drem_test_towardzero): Likewise.
2376 (remainder_test_downward): Likewise.
2377 (drem_test_downward): Likewise.
2378 (remainder_test_upward): Likewise.
2379 (drem_test_upward): Likewise.
2380 (remquo_test): Likewise.
2381 (rint_test): Likewise.
2382 (rint_test_tonearest): Likewise.
2383 (rint_test_towardzero): Likewise.
2384 (rint_test_downward): Likewise.
2385 (rint_test_upward): Likewise.
2386 (round_test): Likewise.
2387 (scalb_test): Likewise.
2388 (scalbn_test): Likewise.
2389 (scalbln_test): Likewise.
2390 (signbit_test): Likewise.
2391 (sin_test): Likewise.
2392 (sin_test_tonearest): Likewise.
2393 (sin_test_towardzero): Likewise.
2394 (sin_test_downward): Likewise.
2395 (sin_test_upward): Likewise.
2396 (sincos_test): Likewise.
2397 (sinh_test): Likewise.
2398 (sinh_test_tonearest): Likewise.
2399 (sinh_test_towardzero): Likewise.
2400 (sinh_test_downward): Likewise.
2401 (sinh_test_upward): Likewise.
2402 (sqrt_test): Likewise.
2403 (sqrt_test_tonearest): Likewise.
2404 (sqrt_test_towardzero): Likewise.
2405 (sqrt_test_downward): Likewise.
2406 (sqrt_test_upward): Likewise.
2407 (tan_test): Likewise.
2408 (tan_test_tonearest): Likewise.
2409 (tan_test_towardzero): Likewise.
2410 (tan_test_downward): Likewise.
2411 (tan_test_upward): Likewise.
2412 (tanh_test): Likewise.
2413 (tgamma_test): Likewise.
2414 (trunc_test): Likewise.
2415 (y0_test): Likewise.
2416 (y1_test): Likewise.
2417 (yn_test): Likewise.
2418 (significand_test): Likewise.
2419
e6b6a857
JM
2420 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2421 individual tests in comment.
2422 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2423 (prev_max_error): New variable.
2424 (prev_real_max_error): Likewise.
2425 (prev_imag_max_error): Likewise.
2426 (compare_ulp_data): Don't refer to test names in comment.
2427 (find_test_ulps): Remove function.
2428 (find_function_ulps): Likewise.
2429 (find_complex_function_ulps): Likewise.
2430 (init_max_error): Take function name as argument. Look up ulps
2431 for that function.
2432 (print_ulps): Remove function.
2433 (print_max_error): Use prev_max_error instead of calling
2434 find_function_ulps.
2435 (print_complex_max_error): Use prev_real_max_error and
2436 prev_imag_max_error instead of calling find_complex_function_ulps.
2437 (check_float_internal): Take max_ulp parameter instead of calling
2438 find_test_ulps. Don't call print_ulps.
2439 (check_float): Update call to check_float_internal.
2440 (check_complex): Update calls to check_float_internal.
2441 (START): Pass argument to init_max_error.
2442 * math/gen-libm-test.pl (%results): Don't include "kind"
2443 information.
2444 (parse_ulps): Don't handle ulps of individual tests.
2445 (print_ulps_file): Likewise.
2446 (output_ulps): Likewise.
2447 * math/README.libm-test: Update.
2448 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2449 individual tests.
2450 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2451 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2452 * sysdeps/arm/libm-test-ulps: Likewise.
2453 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2454 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2455 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2456 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2457 * sysdeps/microblaze/libm-test-ulps: Likewise.
2458 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2459 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2460 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2461 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2462 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2463 * sysdeps/sh/libm-test-ulps: Likewise.
2464 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2465 * sysdeps/tile/libm-test-ulps: Likewise.
2466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2467
45adef3c
JM
24682014-03-04 Joseph Myers <joseph@codesourcery.com>
2469
2470 * math/libm-test.inc (print_complex_max_error): Check separately
2471 whether real and imaginary errors are within allowed range and
2472 pass 0 to print_complex_function_ulps instead of value within
2473 allowed range.
2474
000232b9
SP
24752014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
d4b17258
SP
2477 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2478 formatting.
2479 (get_handles_fopen): Likewise.
2480 (do_write_test): Likewise.
2481
091eff71
SP
2482 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2483
fa3cd248
SP
2484 * libio/fileops.c (do_ftell): Use cached offset when
2485 available.
2486 * libio/iofwide.c (do_ftell_wide): Likewise.
2487 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2488 _IO_file_attach.
2489 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2490
000232b9
SP
2491 [BZ #16532]
2492 * libio/libioP.h (get_file_offset): New function.
2493 * libio/fileops.c (get_file_offset): Likewise.
2494 (do_ftell): Likewise.
2495 (_IO_new_file_seekoff): Split out ftell logic.
2496 * libio/wfileops.c (do_ftell_wide): Likewise.
2497 (_IO_wfile_seekoff): Split out ftell logic.
2498 * libio/tst-ftell-active-handler.c: New test case.
2499 * libio/Makefile (tests): Add it.
2500
116f4d1a
RM
25012014-03-03 Roland McGrath <roland@hack.frob.com>
2502
2503 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2504 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2505
532a6035
SP
25062014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2507
2508 [BZ #16639]
2509 * nscd/connections.c (nscd_init): Call do_exit.
2510 (start_threads): Call do_exit and notify_parent.
2511 (begin_drop_privileges): Call do_exit.
2512 (finish_drop_privileges): Likewise.
2513 * nscd/selinux.c (preserve_capabilities): Likewise.
2514 (install_real_capabilities): Likewise.
2515 (nscd_selinux_enabled): Likewise.
2516 (avc_create_thread): Likewise.
2517 (avc_alloc_lock): Likewise.
2518 (nscd_avc_init): Likewise.
2519 * nscd/nscd.c (parent_fd): New static variable.
2520 (main): Create a pipe between parent and child processes.
2521 Skip closing parent_fd.
2522 (monitor_child): New function.
2523 (do_exit): Likewise.
2524 (notify_parent): Likewise.
2525 * nscd/nscd.h (notify_parent): Likewise.
2526 (do_exit): Likewise.
2527
d6285c9f
CD
25282014-03-03 Carlos O'Donell <carlos@redhat.com>
2529
2530 * malloc/malloc.c (__libc_calloc): Revert last change.
2531
2b85d2a0
AZ
25322014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533
2534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2535
c7debbdf
RS
25362014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2537
2538 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2540 implementation.
2541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2542 (__libc_ifunc_impl_list): Likewise.
2543 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2544 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2545 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2546 * string/strrchr.c: Define STRRCHR.
2547
235eed86
OB
25482014-02-28 Ondřej Bílka <neleai@seznam.cz>
2549
2550 * benchtest/bench-strtok.c (simple_strtok): Delete.
2551 (strtok_string): Use as benchmark.
2552 * string/strtok (STRTOK): New macro.
2553
8e25d1e7
CD
25542014-02-28 Carlos O'Donell <carlos@redhat.com>
2555
ef563f92
CD
2556 * manual/threads.texi: Add header and standard comments to all
2557 functions.
2558
8e25d1e7
CD
2559 * elf/dl-lookup.c (check_match): New function.
2560 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2561 (do_lookup_x): Remove nested function check_match. Use non-nested
2562 function check_match.
2563
ff71cc37
RM
25642014-02-28 Roland McGrath <roland@hack.frob.com>
2565
f08e9a26
RM
2566 * csu/Makefile (generated, before-compile): Use += rather than =.
2567 * catgets/Makefile (generated, generated-dirs): Likewise.
2568 * debug/Makefile (generated): Likewise.
2569 * dlfcn/Makefile (generated): Likewise.
2570 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2571 * iconvdata/Makefile (before-compile, generated): Likewise.
2572 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2573 * libio/Makefile (generated): Likewise.
2574 * malloc/Makefile (generated): Likewise.
2575 * manual/Makefile (generated, generated-dirs): Likewise.
2576 * misc/Makefile (generated): Likewise.
2577 * posix/Makefile (generated): Likewise.
2578 * resolv/Makefile (generated): Likewise.
2579 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2580 * timezone/Makefile (generated, generated-dirs): Likewise.
2581
ff71cc37
RM
2582 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2583
fe13a20c
AZ
25842014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2585
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2587 implementation.
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2589 POWER8 llround ifunc implementation.
2590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2591 POWER8 implementation.
2592 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2593 POWER8 llround implementation.
2594
1ad8950a
AZ
25952014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2598 implementation.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2600 POWER8 llrint ifunc implementation.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2602 POWER8 implementation.
2603 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2604 POWER8 llrint implementation.
2605
cac626d6
AZ
26062014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607
2608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2609 implementation.
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2611 POWER8 finite ifunc implementation.
2612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2613 POWER8 implementation.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2615 Likewise.
2616 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2617 POWER8 finite implementation.
2618 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2619
4393fc11
AZ
26202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2621
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2623 implementation.
2624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2625 POWER8 isinf ifunc implementation.
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2627 POWER8 implementation.
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2629 Likewise.
2630 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2631 POWER8 isinf implementation.
2632 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2633
487972ae
AZ
26342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635
2636 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2637 Add hwcap2 initialization.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2639 implementation.
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2641 POWER8 isnan ifunc implementation.
2642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2643 POWER8 implementation.
2644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2645 Likewise.
2646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2647 POWER8 isnan implementation.
2648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2649
7d92b787
JY
26502014-02-27 Joey Ye <joey.ye@arm.com>
2651
2652 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2653 (_FP_NANFRAC_Q): Set to zero.
2654
1cadc858
SP
26552014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2656
2657 [BZ #16623]
2658 * math/auto-libm-test-in: New test inputs.
2659 * math/auto-libm-test-out: Regenerate.
2660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2661 and DA.
2662 (__cos): Likewise.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2664
f8c17e79
JM
26652014-02-27 Joseph Myers <joseph@codesourcery.com>
2666
2667 * scripts/evaluate-test.sh: Take new argument indicating whether
2668 failure is expected.
2669 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2670 indicating whether failure is expected.
2671 * conform/Makefile (test-xfail-run-conformtest): New variable.
2672 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2673 level.
2674 * posix/Makefile (test-xfail-annexc): New variable.
2675 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2676
a5f891ac
JM
26772014-02-26 Joseph Myers <joseph@codesourcery.com>
2678
2679 * argp/Makefile: Include Makeconfig immediately after defining
2680 subdir.
2681 * assert/Makefile: Likewise.
2682 * benchtests/Makefile: Likewise.
2683 * catgets/Makefile: Likewise.
2684 * conform/Makefile: Likewise.
2685 * crypt/Makefile: Likewise.
2686 * csu/Makefile: Likewise.
2687 (all): Remove target.
2688 * ctype/Makefile: Include Makeconfig immediately after defining
2689 subdir.
2690 * debug/Makefile: Likewise.
2691 * dirent/Makefile: Likewise.
2692 * dlfcn/Makefile: Likewise.
2693 * gmon/Makefile: Likewise.
2694 * gnulib/Makefile: Likewise.
2695 * grp/Makefile: Likewise.
2696 * gshadow/Makefile: Likewise.
2697 * hesiod/Makefile: Likewise.
2698 * hurd/Makefile: Likewise.
2699 (all): Remove target.
2700 * iconvdata/Makefile: Include Makeconfig immediately after
2701 defining subdir.
2702 * inet/Makefile: Likewise.
2703 * intl/Makefile: Likewise.
2704 * io/Makefile: Likewise.
2705 * libio/Makefile: Likewise.
2706 (all): Remove target.
2707 * locale/Makefile: Include Makeconfig immediately after defining
2708 subdir.
2709 * login/Makefile: Likewise.
2710 * mach/Makefile: Likewise.
2711 (all): Remove target.
2712 * malloc/Makefile: Include Makeconfig immediately after defining
2713 subdir.
2714 (all): Remove target.
2715 * manual/Makefile: Include Makeconfig immediately after defining
2716 subdir.
2717 * math/Makefile: Likewise.
2718 * misc/Makefile: Likewise.
2719 * nis/Makefile: Likewise.
2720 * nss/Makefile: Likewise.
2721 * po/Makefile: Likewise.
2722 (all): Remove target.
2723 * posix/Makefile: Include Makeconfig immediately after defining
2724 subdir.
2725 * pwd/Makefile: Likewise.
2726 * resolv/Makefile: Likewise.
2727 * resource/Makefile: Likewise.
2728 * rt/Makefile: Likewise.
2729 * setjmp/Makefile: Likewise.
2730 * shadow/Makefile: Likewise.
2731 * signal/Makefile: Likewise.
2732 * socket/Makefile: Likewise.
2733 * soft-fp/Makefile: Likewise.
2734 * stdio-common/Makefile: Likewise.
2735 * stdlib/Makefile: Likewise.
2736 * streams/Makefile: Likewise.
2737 * string/Makefile: Likewise.
2738 * sunrpc/Makefile: Likewise.
2739 (all): Remove target.
2740 * sysvipc/Makefile: Include Makeconfig immediately after defining
2741 subdir.
2742 * termios/Makefile: Likewise.
2743 * time/Makefile: Likewise.
2744 * timezone/Makefile: Likewise.
2745 (all): Remove target.
2746 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2747 subdir.
2748 * wctype/Makefile: Likewise.
2749
5b456e9d
SE
27502014-02-26 Steve Ellcey <sellcey@mips.com>
2751
2752 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2753 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2754 (libc_feholdexcept_setround_mips): Ditto.
2755 (libc_feholdsetround): New.
2756 (libc_feholdsetroundf): New.
2757 (libc_feholdsetroundl): New.
2758 (libc_feupdateenv_test_mips): New.
2759 (libc_feupdateenv_test): New.
2760 (libc_feupdateenv_testf): New.
2761 (libc_feupdateenv_testl): New.
2762 (libc_feresetround): New.
2763 (libc_feresetroundf): New.
2764 (libc_feresetroundl): New.
2765 (libc_fetestexcept_mips): New.
2766 (libc_fetestexcept): New.
2767 (libc_fetestexceptf): New.
2768 (libc_fetestexceptl): New.
2769 (HAVE_RM_CTX): New.
2770 (libc_feholdexcept_setround_mips_ctx): New.
2771 (libc_feholdexcept_setround_ctx): New.
2772 (libc_feholdexcept_setroundf_ctx): New.
2773 (libc_feholdexcept_setroundl_ctx): New.
2774 (libc_fesetenv_mips_ctx): New.
2775 (libc_fesetenv_ctx): New.
2776 (libc_fesetenv_ctxf): New.
2777 (libc_fesetenv_ctxl): New.
2778 (libc_feupdateenv_mips_ctx): New.
2779 (libc_feupdateenv_ctx): New.
2780 (libc_feupdateenvf_ctx): New.
2781 (libc_feupdateenvl_ctx): New.
2782 (libc_feholdsetround_mips_ctx): New.
2783 (libc_feholdsetround_ctx): New.
2784 (libc_feholdsetroundf_ctx): New.
2785 (libc_feholdsetroundl_ctx): New.
2786 (libc_feresetround_mips_ctx): New.
2787 (libc_feresetround_ctx): New.
2788 (libc_feresetroundf_ctx): New.
2789 (libc_feresetroundl_ctx): New.
2790
085d0e35
CD
27912014-02-26 Carlos O'Donell <carlos@redhat.com>
2792
f067bf1f
CD
2793 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2794
085d0e35
CD
2795 * manual/ipc.texi: New file.
2796 * manual/Makefile (chapters): Add ipc.
2797 * manual/job.texi: Add "Inter-Process Communication" to next.
2798 * manual/process.texi: Add "Inter-Process Communication" to prev.
2799
86e58c08
AZ
28002014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2803
4248f0da
OB
28042014-02-26 Ondřej Bílka <neleai@seznam.cz>
2805
2806 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2807
cf822e3c
OB
2808 * manual/arith.texi: Fix spaces after sentences.
2809 * manual/charset.texi: Likewise.
2810 * manual/errno.texi: Likewise.
2811 * manual/install.texi: Likewise.
2812 * manual/llio.texi: Likewise.
2813 * manual/locale.texi: Likewise.
2814 * manual/maint.texi: Likewise.
2815 * manual/math.texi: Likewise.
2816 * manual/memory.texi: Likewise.
2817 * manual/message.texi: Likewise.
2818 * manual/probes.texi: Likewise.
2819 * manual/resource.texi: Likewise.
2820 * manual/signal.texi: Likewise.
2821 * manual/socket.texi: Likewise.
2822 * manual/stdio.texi: Likewise.
2823 * manual/string.texi: Likewise.
2824 * manual/time.texi: Likewise.
2825 * manual/users.texi: Likewise.
2826
ade40b10
CD
28272014-02-25 Carlos O'Donell <carlos@redhat.com>
2828
2829 [BZ #16632]
2830 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2831 _DEFAULT_SOURCE is defined.
2832
d0503676
CD
28332014-02-25 Ulrich Drepper <drepper@gmail.com>
2834 Carlos O'Donell <carlos@redhat.com>
2835
2836 [BZ #16613]
2837 * elf/dl-tls.c (_dl_count_modids): New function.
2838 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2839 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2840 audit library and increment generation counter.
2841 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2842 * elf/tst-audit9.c: New file.
2843 * elf/tst-auditmod9a.c: New file.
2844 * elf/tst-auditmod9b.c: New file.
2845 * elf/Makefile: Add rules to build and run tst-audit9.
2846
4cbf380c
FW
28472014-02-25 Florian Weimer <fweimer@redhat.com>
2848
2849 [BZ #15347]
2850 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2851
80a56cc3
WN
28522014-02-25 Will Newton <will.newton@linaro.org>
2853
2854 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2855 (__longjmp): Restore sp and lr before restoring callee
2856 saved registers. Add longjmp and longjmp_target
2857 SystemTap probe point.
2858 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2859 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2860 Define to zero to match jmpbuf layout.
2861 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2862 (__sigsetjmp): Save sp and lr before saving callee
2863 saved registers. Add setjmp SystemTap probe point.
2864
3ea0f74e
SL
28652014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2866
2867 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2868
b04acb26
AS
28692014-02-24 Andreas Schwab <schwab@suse.de>
2870
2871 [BZ #15804]
2872 * elf/pldd.c (wait_for_ptrace_stop): New function.
2873 (main): Call it after attaching.
2874
098ad55c
RM
28752014-02-22 Roland McGrath <roland@hack.frob.com>
2876
d4ec6ae1
RM
2877 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2878 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2879 Versions files is now verboten.
2880 * hurd/Versions (libc: GLIBC_2.0):
2881 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2882 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2883 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2884 * mach/Versions: Likewise.
2885
098ad55c
RM
2886 * csu/Versions: Remove unused %include.
2887 * resolv/Versions: Likewise.
2888
acd7f096
JM
28892014-02-21 Joseph Myers <joseph@codesourcery.com>
2890
f0881698
JM
2891 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2892 ($(objpfx)check-local-headers.out): Likewise.
2893 ($(objpfx)begin-end-check.out): Likewise.
2894 * Makerules (check-abi-%.out): Likewise.
2895 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2896 ($(objpfx)test2.cat): Likewise.
2897 ($(objpfx)de/libc.cat): Likewise.
2898 ($(objpfx)test-gencat.out): Likewise.
2899 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2900 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2901 ($(objpfx)noload-mem): Likewise.
2902 ($(objpfx)tst-pathopt.out): Likewise.
2903 ($(objpfx)tst-rtld-load-self.out): Likewise.
2904 ($(objpfx)tst-array1-cmp.out): Likewise.
2905 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2906 ($(objpfx)tst-array2-cmp.out): Likewise.
2907 ($(objpfx)tst-array3-cmp.out): Likewise.
2908 ($(objpfx)tst-array4-cmp.out): Likewise.
2909 ($(objpfx)tst-array5-cmp.out): Likewise.
2910 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2911 ($(objpfx)check-textrel.out): Likewise.
2912 ($(objpfx)check-execstack.out): Likewise.
2913 ($(objpfx)check-localplt.out): Likewise.
2914 ($(objpfx)order2-cmp.out): Likewise.
2915 ($(objpfx)tst-leaks1-mem): Likewise.
2916 ($(objpfx)tst-leaks1-static-mem): Likewise.
2917 ($(objpfx)tst-initorder-cmp.out): Likewise.
2918 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2919 ($(objpfx)tst-unused-dep.out): Likewise.
2920 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2921 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2922 * iconv/Makefile (test-iconvconfig): Likewise.
2923 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2924 ($(objpfx)iconv-test.out): Likewise.
2925 ($(objpfx)tst-tables.out): Likewise.
2926 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2927 ($(objpfx)tst-gettext.out): Likewise.
2928 ($(objpfx)tst-translit.out): Likewise.
2929 ($(objpfx)tst-gettext2.out): Likewise.
2930 ($(objpfx)tst-gettext4.out): Likewise.
2931 ($(objpfx)tst-gettext6.out): Likewise.
2932 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2933 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2934 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2935 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2936 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2937 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2938 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2939 ($(objpfx)wordexp-tst.out): Likewise.
2940 ($(objpfx)annexc.out): Likewise.
2941 ($(objpfx)tst-fnmatch-mem): Likewise.
2942 ($(objpfx)bug-regex2-mem): Likewise.
2943 ($(objpfx)bug-regex14-mem): Likewise.
2944 ($(objpfx)bug-regex21-mem): Likewise.
2945 ($(objpfx)bug-regex31-mem): Likewise.
2946 ($(objpfx)tst-vfork3-mem): Likewise.
2947 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2948 ($(objpfx)tst-pcre-mem): Likewise.
2949 ($(objpfx)tst-boost-mem): Likewise.
2950 ($(objpfx)tst-getconf.out): Likewise.
2951 ($(objpfx)bug-ga2-mem): Likewise.
2952 ($(objpfx)bug-glob2-mem): Likewise.
2953 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2954 ($(objpfx)mtrace-tst-leaks2): Likewise.
2955 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2956 ($(objpfx)tst-printf.out): Likewise.
2957 ($(objpfx)tst-setvbuf1.out): Likewise.
2958 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2959 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2960 ($(objpfx)tst-fmtmsg.out): Likewise.
2961 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2962 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2963
acd7f096
JM
2964 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2965 * bits/sigaction.h [__USE_MISC]: Likewise.
2966 * bits/waitstatus.h: Update #endif comments.
2967 * ctype/ctype.h: Likewise.
2968 * dirent/dirent.h: Likewise.
2969 [__USE_MISC]: Remove redundant conditionals.
2970 * grp/grp.h: Update #endif comments.
2971 [__USE_GNU]: Remove redundant conditionals.
2972 [__USE_MISC]: Likewise.
2973 * inet/netinet/in.h [__USE_GNU]: Likewise.
2974 * io/sys/stat.h [__USE_MISC]: Likewise.
2975 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2976 * libio/bits/stdio.h: Update #endif comments.
2977 [__USE_MISC]: Remove redundant conditionals.
2978 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2979 * libio/stdio.h: Update #endif comments.
2980 [__USE_MISC]: Remove redundant conditionals.
2981 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2982 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2983 * math/math.h: Update #else and #endif comments.
2984 [__USE_MISC]: Remove redundant conditionals.
2985 * misc/sys/uio.h: Update #endif comments.
2986 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2987 * posix/glob.h [__USE_MISC]: Likewise.
2988 * posix/sys/types.h: Update #endif comments.
2989 [__USE_MISC]: Remove redundant conditionals.
2990 * posix/sys/wait.h: Update #endif comments.
2991 [__USE_MISC]: Remove redundant conditionals.
2992 * posix/unistd.h: Update #endif comments.
2993 [__USE_MISC]: Remove redundant conditionals.
2994 * pwd/pwd.h [__USE_GNU]: Likewise.
2995 [__USE_MISC]: Likewise.
2996 * resolv/netdb.h [__USE_GNU]: Likewise.
2997 * signal/signal.h: Update #endif comments.
2998 [__USE_MISC]: Remove redundant conditionals.
2999 * stdlib/stdlib.h: Update #else and #endif comments.
3000 [__USE_MISC]: Remove redundant conditionals.
3001 [__USE_GNU]: Likewise.
3002 * string/bits/string2.h [__USE_MISC]: Likewise.
3003 * string/string.h: Update #endif comments.
3004 [__USE_MISC]: Remove redundant conditionals.
3005 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3006 Likewise.
3007 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3008 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3009 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3010 Likewise.
3011 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3012 Likewise.
3013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3014 comments.
3015 [__USE_MISC]: Remove redundant conditionals.
3016 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3017 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3018 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3019 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3020 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3021 Likewise.
3022 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3023 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3024 Likewise.
3025 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3026 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3027 Likewise.
3028 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3029 Likewise.
3030 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3036 * sysdeps/x86/bits/string.h: Update #endif comments.
3037 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3038 conditionals.
3039 * time/sys/time.h: Update #endif comments.
3040 * time/time.h: Likewise.
3041 [__USE_MISC]: Remove redundant conditionals.
3042
a5d82e4e
YG
30432014-02-21 Yury Gribov <y.gribov@samsung.com>
3044
3045 [BZ #16600]
3046 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3047
9a80491d
AS
30482014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3049
3050 * Versions.def (librt): Add GLIBC_2.17.
3051
105fa381
AC
30522014-02-21 Adam Conrad <adconrad@0c3.net>
3053
3054 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3055 synonym for _SYS_AUXV_H to allow direct inclusion.
3056 * sysdeps/sparc/bits/hwcap.h: Likewise.
3057 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3058 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3059 * sysdeps/sparc/sysdep.h: Likewise.
3060
b8cd1c4e
SP
30612014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3062
3063 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3064
bd939d23
RS
30652014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3066
3067 * benchtests/bench-strrchr.c: Print length instead of position.
3068
5d7b57ca
JM
30692014-02-20 Joseph Myers <joseph@codesourcery.com>
3070
bc688c10
JM
3071 [BZ #16611]
3072 * sysdeps/unix/sysv/linux/kernel-features.h
3073 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3074 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3075 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3076 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3077 Likewise.
3078 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3079 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3080 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3081 (__ASSUME_SENDMMSG): Define instead of using previous
3082 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3084 (__ASSUME_SENDMMSG_SYSCALL): Define.
3085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3086 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3089 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3090 Likewise.
3091 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3092 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3095 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3096 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3097 [__ASSUME_SENDMMSG]: Change conditionals to
3098 [__ASSUME_SENDMMSG_SOCKETCALL].
3099 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3100 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3101 Define.
3102 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3103 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3104 Likewise.
3105 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3106 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3107 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3108 [!__ASSUME_SENDMMSG]: Change conditional to
3109 [!__ASSUME_SENDMMSG_SOCKETCALL].
3110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3111 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3112 Define.
3113
0e31b18c
JM
3114 [BZ #16610]
3115 * sysdeps/unix/sysv/linux/kernel-features.h
3116 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3117 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3118 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3119 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3120 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3121 [__i386__ || __sparc__]
3122 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3123 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3124 (__ASSUME_RECVMMSG): Define instead of using previous
3125 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3126 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3127 (__ASSUME_RECVMMSG_SYSCALL): Define.
3128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3129 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3130 Likewise.
3131 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3132 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3133 Likewise.
3134 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3135 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3136 Likewise.
3137 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3138 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3139 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3140 [__ASSUME_RECVMMSG]: Change condition to
3141 [__ASSUME_RECVMMSG_SOCKETCALL].
3142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3143 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3144 Define.
3145 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3146 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3148 Likewise.
3149 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3150 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3151 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3152 [!__ASSUME_RECVMMSG]: Change condition to
3153 [!__ASSUME_RECVMMSG_SOCKETCALL].
3154 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3155 (__ASSUME_RECVMMSG_SYSCALL): Define.
3156
dd481ccf
JM
3157 [BZ #16609]
3158 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3159 __powerpc__ || __s390__ || __sh__ || __sparc__]
3160 (__ASSUME_SOCKETCALL): Define.
3161 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3162 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3163 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3164 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3165 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3167 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3168 (__ASSUME_ACCEPT4): Define instead of using previous
3169 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3170 __powerpc__ || __sparc__ || __s390__)] condition.
3171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3172 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3173 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3174 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3175 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3176 [!__ASSUME_ACCEPT4]: Change condition to
3177 [!__ASSUME_ACCEPT4_SOCKETCALL].
3178 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3179 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3180 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3181 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3182 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3183 __ASSUME_ACCEPT4_SYSCALL.
3184 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3185 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3186 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3187 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3188 __ASSUME_ACCEPT4_SYSCALL.
3189 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3190 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3191 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3192 [__ASSUME_ACCEPT4]: Change condition to
3193 [__ASSUME_ACCEPT4_SOCKETCALL].
3194 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3195 (__ASSUME_SOCKETCALL): Define.
3196 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3197 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3198 (__ASSUME_SOCKETCALL): Define.
3199 (__ASSUME_ACCEPT4): Remove.
3200 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3201 Define.
3202 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3203 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3204 Likewise.
3205 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3206 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3207
5d7b57ca
JM
3208 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3209 macro.
3210 (HWCAP_ARM_LPAE): Likewise.
3211 (HWCAP_ARM_EVTSTRM): Likewise.
3212 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3213 Add vpfd32, lpae and evtstrm.
3214 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3215 Increase to 22.
3216
63689d61
JM
32172014-02-19 Joseph Myers <joseph@codesourcery.com>
3218
3219 * math/auto-libm-test-in: Add tests of clog10.
3220 * math/auto-libm-test-out: Regenerated.
3221 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3224
ab09bf61
AS
32252014-02-18 Andreas Schwab <schwab@suse.de>
3226
3227 [BZ #16574]
3228 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3229 Store non-zero if the second buffer was newly allocated.
3230 (send_dg): Likewise.
3231 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3232 to send_vc and send_dg.
3233 (res_nsend): Pass NULL for ansp2_malloced.
3234 * resolv/res_query.c (__libc_res_nquery): Add parameter
3235 answerp2_malloced and pass it down to __libc_res_nsend.
3236 (res_nquery): Pass additional NULL to __libc_res_nquery.
3237 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3238 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3239 second answer buffer if answerp2_malloced was set.
3240 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3241 (__libc_res_nquerydomain): Add parameter
3242 answerp2_malloced and pass it down to __libc_res_nquery.
3243 (res_nquerydomain): Pass additional NULL to
3244 __libc_res_nquerydomain.
3245 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3246 additional NULL to __libc_res_nsend and __libc_res_nquery.
3247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3248 additional NULL to __libc_res_nsearch.
3249 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3250 parameter of __libc_res_nsearch to check for separately allocated
3251 second buffer.
3252 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3253 __libc_res_nquery.
3254 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3255 additional NULL to __libc_res_nquery.
3256 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3257 __libc_res_nsearch.
3258 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3259 * include/resolv.h: Update prototypes of __libc_res_nquery,
3260 __libc_res_nsearch, __libc_res_nsend.
3261
a4fb7861
JM
32622014-02-18 Joseph Myers <joseph@codesourcery.com>
3263
c6af2d89
JM
3264 * math/auto-libm-test-in: Add tests of fma.
3265 * math/auto-libm-test-out: Regenerated.
3266 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3267 (fma_towardzero_test_data): Likewise.
3268 (fma_downward_test_data): Likewise.
3269 (fma_upward_test_data): Likewise.
3270 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3271 mpc_mode.
3272 (rounding_modes): Add values for new field.
3273 (func_calc_method): Add value mpfr_fff_f.
3274 (func_calc_desc): Add mpfr_fff_f union field.
3275 (test_function): Add field exact_args.
3276 (FUNC): Add macro argument EXACT_ARGS.
3277 (FUNC_mpfr_f_f): Update call to FUNC.
3278 (FUNC_mpfr_f_f): Likewise.
3279 (FUNC_mpfr_ff_f): Likewise.
3280 (FUNC_mpfr_if_f): Likewise.
3281 (FUNC_mpc_c_f): Likewise.
3282 (FUNC_mpc_c_c): Likewise.
3283 (test_functions): Add fma. Update calls to FUNC.
3284 (handle_input_arg): Add argument exact_args.
3285 (add_test): Update call to handle_input_arg.
3286 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3287 (output_for_one_input_case): Update call to calc_generic_results.
3288 Recalculate exact zero results in each rounding mode.
3289
a4fb7861
JM
3290 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3291 non-negative before setting low bit.
3292 * math/auto-libm-test-in: Mark one asin test possibly having
3293 spurious underflow.
3294 * math/auto-libm-test-out: Regenerated.
3295 * sysdeps/i386/fpu/libm-test-ulps: Update.
3296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297
ef114eaf
DH
32982014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3299
2b7f4f2c
SP
3300 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3301 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3302 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3303 * README: Add missing listing for microblaze*-*-linux-gnu.
3304
c70a4b1d
MF
33052014-02-16 Mike Frysinger <vapier@gentoo.org>
3306
3307 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3308 * sysdeps/unix/sysv/linux/ia64: Move directory from
3309 ports/sysdeps/unix/sysv/linux/ia64.
3310 * README: Update listing for ia64-*-linux-gnu.
3311
591aeaf7
TD
33122014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3313 Joseph Myers <joseph@codesourcery.com>
3314
3315 * Makeconfig (test-name): New variable.
3316 (evaluate-test): Likewise.
3317 * Makerules (do-test-clean): Remove .test-result files.
3318 (common-mostlyclean): Likewise.
3319 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3320 * scripts/evaluate-test.sh: New file.
3321
6e89caf1
JM
33222014-02-14 Joseph Myers <joseph@codesourcery.com>
3323
7f98f180
JM
3324 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3325 separate $(objpfx)tst-fopenloc-cmp.out and
3326 $(objpfx)tst-fopenloc-mem.out targets.
3327 (tests): Update dependencies.
3328 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3329 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3330 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3331 (tst-rxspencer-no-utf8-ARGS): New variable.
3332 (tst-rxspencer-no-utf8-ENV): Likewise.
3333 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3334 instead of $(objpfx)tst-rxspencer-mem.
3335 ($(objpfx)tst-rxspencer-mem): Change target to
3336 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3337 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3338 * posix/tst-rxspencer-no-utf8.c: New file.
3339
6e89caf1
JM
3340 * elf/Makefile ($(objpfx)order.out): Remove rule.
3341 [$(run-built-tests) = yes] (tests): Depend on
3342 $(objpfx)order-cmp.out.
3343 ($(objpfx)order-cmp.out): New rule.
3344 [$(run-built-tests) = yes] (tests): Depend on
3345 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3346 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3347 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3348 $(objpfx)tst-array5-static-cmp.out.
3349 ($(objpfx)tst-array1.out): Remove rule.
3350 ($(objpfx)tst-array1-cmp.out): New rule.
3351 ($(objpfx)tst-array1-static.out): Remove rule.
3352 ($(objpfx)tst-array1-static-cmp.out): New rule.
3353 ($(objpfx)tst-array2.out): Remove rule.
3354 ($(objpfx)tst-array2-cmp.out): New rule.
3355 ($(objpfx)tst-array3.out): Remove rule.
3356 ($(objpfx)tst-array3-cmp.out): New rule.
3357 ($(objpfx)tst-array4.out): Remove rule.
3358 ($(objpfx)tst-array4-cmp.out): New rule.
3359 ($(objpfx)tst-array5.out): Remove rule.
3360 ($(objpfx)tst-array5-cmp.out): New rule.
3361 ($(objpfx)tst-array5-static.out): Remove rule.
3362 ($(objpfx)tst-array5-static-cmp.out): New rule.
3363 [$(run-built-tests) = yes] (tests): Depend on
3364 $(objpfx)order2-cmp.out.
3365 ($(objpfx)order2.out): Remove rule.
3366 ($(objpfx)order2-cmp.out): New rule.
3367 ($(objpfx)tst-initorder.out): Remove rule.
3368 [$(run-built-tests) = yes] (tests): Depend on
3369 $(objpfx)tst-initorder-cmp.out.
3370 ($(objpfx)tst-initorder-cmp.out): New rule.
3371 ($(objpfx)tst-initorder2.out): Remove rule.
3372 [$(run-built-tests) = yes] (tests): Depend on
3373 $(objpfx)tst-initorder2-cmp.out.
3374 ($(objpfx)tst-initorder2-cmp.out): New rule.
3375 [$(run-built-tests) = yes] (tests): Depend on
3376 $(objpfx)tst-unused-dep-cmp.out.
3377 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3378 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3379 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3380 on $(objpfx)tst-setvbuf1-cmp.out.
3381 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3382 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3383 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3384 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3385 ($(objpfx)tst-svc.out): Remove rule.
3386 ($(objpfx)tst-svc-cmp.out): New rule.
3387
ed9a38e2
JM
33882014-02-13 Joseph Myers <joseph@codesourcery.com>
3389
3390 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3391 * ctype/ctype.h [__USE_MISC]: Likewise.
3392 * dirent/dirent.h [__USE_MISC]: Likewise.
3393 * grp/grp.h [__USE_MISC]: Likewise.
3394 * io/fcntl.h [__USE_MISC]: Likewise.
3395 * io/sys/stat.h [__USE_MISC]: Likewise.
3396 * libio/stdio.h [__USE_MISC]: Likewise.
3397 * posix/unistd.h [__USE_MISC]: Likewise.
3398 * pwd/pwd.h [__USE_MISC]: Likewise.
3399 * stdlib.h [__USE_MISC]: Likewise.
3400 * string/bits/string2.h [__USE_MISC]: Likewise.
3401 * string/string.h [__USE_MISC]: Likewise.
3402 * time/time.h [__USE_MISC]: Likewise.
3403
d6680619
AS
34042014-02-13 Andreas Schwab <schwab@suse.de>
3405
3406 [BZ #16574]
3407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3408 second answer buffer if it was separately allocated.
3409
ace614b8
JM
34102014-02-12 Joseph Myers <joseph@codesourcery.com>
3411
743151ae
JM
3412 * sysdeps/mips/math-tests.h: Include <features.h>.
3413 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3414 (ROUNDING_TESTS_long_double): Do not define.
3415 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3416 (EXCEPTION_TESTS_long_double): Likewise.
3417 * sysdeps/mips/mips64/libm-test-ulps: Update.
3418
498afc54
JM
3419 * include/features.h (__USE_BSD): Remove macro definitions.
3420 (__USE_SVID): Likewise.
3421 (_BSD_SOURCE): Likewise.
3422 (_SVID_SOURCE): Likewise.
3423 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3424 from definition of _DEFAULT_SOURCE.
3425 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3426 [_DEFAULT_SOURCE].
3427 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3428 * bits/mman.h [__USE_BSD]: Likewise.
3429 * bits/termios.h [__USE_BSD]: Likewise.
3430 * bits/waitstatus.h [__USE_BSD]: Likewise.
3431 * ctype/ctype.h [__USE_SVID]: Likewise.
3432 * dirent/dirent.h [__USE_BSD]: Likewise.
3433 * grp/grp.h [__USE_SVID]: Likewise.
3434 [__USE_BSD]: Likewise.
3435 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3436 * io/fcntl.h [__USE_BSD]: Likewise.
3437 * io/ftw.h [__USE_BSD]: Likewise.
3438 * io/sys/stat.h [__USE_BSD]: Likewise.
3439 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3440 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3441 * libio/stdio.h [__USE_SVID]: Likewise.
3442 [__USE_BSD]: Likewise.
3443 * math/math.h [__USE_SVID]: Likewise.
3444 [__USE_BSD]: Likewise.
3445 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3446 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3447 * misc/search.h [__USE_SVID]: Likewise.
3448 * misc/sys/mman.h [__USE_BSD]: Likewise.
3449 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3450 * misc/sys/uio.h [__USE_BSD]: Likewise.
3451 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3452 * posix/glob.h [__USE_BSD]: Likewise.
3453 * posix/regex.h [__USE_BSD]: Likewise.
3454 * posix/sys/types.h [__USE_BSD]: Likewise.
3455 [__USE_SVID]: Likewise.
3456 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3457 * posix/sys/wait.h [__USE_BSD]: Likewise.
3458 [__USE_SVID]: Likewise.
3459 * posix/unistd.h [__USE_BSD]: Likewise.
3460 [__USE_SVID]: Likewise.
3461 * pwd/pwd.h [__USE_SVID]: Likewise.
3462 * resolv/netdb.h [__USE_BSD]: Likewise.
3463 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3464 * signal/signal.h [__USE_BSD]: Likewise.
3465 [__USE_SVID]: Likewise.
3466 * socket/sys/socket.h [__USE_BSD]: Likewise.
3467 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3468 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3469 [__USE_SVID]: Likewise.
3470 * string/bits/string2.h [__USE_BSD]: Likewise.
3471 [__USE_SVID]: Likewise.
3472 * string/bits/string3.h [__USE_BSD]: Likewise.
3473 * string/endian.h [__USE_BSD]: Likewise.
3474 * string/string.h [__USE_SVID]: Likewise.
3475 [__USE_BSD]: Likewise.
3476 * string/strings.h [__USE_BSD]: Likewise.
3477 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3478 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3480 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3481 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3482 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3483 Likewise.
3484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3485 Likewise.
3486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3487 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3488 Likewise.
3489 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3490 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3493 Likewise.
3494 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3495 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3497 Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3499 Likewise.
3500 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3501 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3502 * termios/termios.h [__USE_BSD]: Likewise.
3503 * time/sys/time.h [__USE_BSD]: Likewise.
3504 * time/time.h [__USE_BSD]: Likewise.
3505 [__USE_SVID]: Likewise.
3506
dd7b064c
JM
3507 * Makefile (subdir_targets): Remove subdir_lint.out.
3508
a2c4c199
JM
3509 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3510 (do-tst-printf): Likewise.
3511 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3512 $(objpfx)tst-printf.out.
3513
8756f740
JM
3514 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3515
1b6dd3f1
JM
3516 * Makerules (check-abi-%): Change target to
3517 $(objpfx)check-abi-%.out.
3518 (check-abi target): Update dependencies.
3519 (check-abi-pattern variable): Redirect output of diff to $@.
3520 (check-abi variable): Likewise.
3521 * elf/Makefile (check-abi): Update dependencies.
3522
ace614b8
JM
3523 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3524 unused.
3525 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3526 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3527 subnormal range.
3528 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3529 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3530 value has largest subnormal exponent.
3531 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3532 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3533 * sysdeps/aarch64/soft-fp/sfp-machine.h
3534 (_FP_TININESS_AFTER_ROUNDING): New macro.
3535 * sysdeps/alpha/soft-fp/sfp-machine.h
3536 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3537 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3538 Likewise.
3539 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3540 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3541 * sysdeps/mips/soft-fp/sfp-machine.h
3542 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3543 * sysdeps/powerpc/soft-fp/sfp-machine.h
3544 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3545 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3546 Likewise.
3547 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3548 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3550 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3551 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3552 Likewise.
3553
fbfdf9cb
DAS
35542014-02-12 Dylan Alex Simon <dylan@dylex.net>
3555
3556 [BZ #16545]
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3558 model 1.
3559
68b7efaa
RH
35602014-02-12 Richard Henderson <rth@redhat.com>
3561
c70a4b1d 3562 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3563 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3564 * sysdeps/unix/sysv/linux/alpha: Move directory from
3565 ports/sysdeps/unix/sysv/linux/alpha.
3566 * README: Update listing for alpha-*-linux-gnu.
3567
cb4a2928
JM
35682014-02-11 Joseph Myers <joseph@codesourcery.com>
3569
c941736c
JM
3570 * include/features.h: Update comment documenting feature test
3571 macros.
3572 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3573 _DEFAULT_SOURCE.
3574 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3575 (_SVID_SOURCE): Likewise.
3576 (_DEFAULT_SOURCE): Update description of default features.
3577 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3578 with _GNU_SOURCE.
3579 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3580 (S_ISVTX): Likewise.
3581 * manual/math.texi (Mathematical Constants): Likewise.
3582 * manual/signal.texi (Interrupted Primitives): Likewise.
3583 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3584 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3585 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3586 Don't refer to _SVID_SOURCE in warning text.
3587
e8d8d7ec
JM
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3589
cb4a2928
JM
3590 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3591 already defined.
3592 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3593 * sysdeps/mips/dl-lookup.c: Remove.
3594 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3595
7e6424e3
AK
35962014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3597
3598 [BZ #16447]
3599 * math/auto-libm-test-in: Add testcase for expl.
3600 * math/auto-libm-test-out: Regenerate.
3601 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3602 calculation of unsafe.
3603 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3604
75eff3fe
MS
36052014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3606
3607 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3608 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3609 ports/sysdeps/unix/sysv/linux/aarch64.
3610 * README: Update listing for aarch64*-*-linux-gnu.
3611
d35f1e80
WN
36122014-02-11 Will Newton <will.newton@linaro.org>
3613
3614 * manual/probes.texi (Mathematical Function Probes): Use
3615 "triggered" instead of "hit".
3616
7b3436d4
WN
36172014-02-11 Will Newton <will.newton@linaro.org>
3618
3619 * manual/probes.texi (Internal Probes): Add documentation
3620 of setjmp, longjmp and longjmp_target probes.
3621
b4f12ca3
WN
36222014-02-11 Will Newton <will.newton@linaro.org>
3623
3624 * include/stap-probe.h: Add comment about probe argument
3625 format.
3626
c13a72b7
WN
36272014-02-11 Will Newton <will.newton@linaro.org>
3628
3629 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3630 definition. (tr_where, tr_freehook, tr_mallochook,
3631 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3632
195b8165
DM
36332014-02-11 David S. Miller <davem@davemloft.net>
3634
3635 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3636 processing int_tests.
3637
2ad7600b
JM
36382014-02-10 Joseph Myers <joseph@codesourcery.com>
3639
3640 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3641 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3642 * sysdeps/unix/sysv/linux/mips: Move directory from
3643 ports/sysdeps/unix/sysv/linux/mips.
3644 * README: Update listing for mips-*-linux-gnu and
3645 mips64-*-linux-gnu.
3646
73588a72
AS
36472014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3648
3649 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3650 * sysdeps/unix/sysv/linux/m68k: Move directory from
3651 ports/sysdeps/unix/sysv/linux/m68k.
3652 * README: Update listing for m68k-*-linux-gnu.
3653
4372980f
CM
36542014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3655
3656 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3657 * sysdeps/unix/sysv/linux/generic: Move directory from
3658 ports/sysdeps/unix/sysv/linux/generic.
3659 * sysdeps/unix/sysv/linux/tile: Move directory from
3660 ports/sysdeps/unix/sysv/linux/tile.
3661 * README: Update listing for tile*-*-linux-gnu.
3662
a1ffb40e
OB
36632014-02-10 Ondřej Bílka <neleai@seznam.cz>
3664
3665 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3666 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3667 * catgets/open_catalog.c (__open_catalog): Likewise.
3668 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3669 * debug/confstr_chk.c: Likewise.
3670 * debug/fread_chk.c (__fread_chk): Likewise.
3671 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3672 * debug/getgroups_chk.c: Likewise.
3673 * debug/mbsnrtowcs_chk.c: Likewise.
3674 * debug/mbsrtowcs_chk.c: Likewise.
3675 * debug/mbstowcs_chk.c: Likewise.
3676 * debug/memcpy_chk.c: Likewise.
3677 * debug/memmove_chk.c: Likewise.
3678 * debug/mempcpy_chk.c: Likewise.
3679 * debug/memset_chk.c: Likewise.
3680 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3681 * debug/strcat_chk.c (__strcat_chk): Likewise.
3682 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3683 * debug/strncat_chk.c (__strncat_chk): Likewise.
3684 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3685 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3686 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3687 * debug/wcpncpy_chk.c: Likewise.
3688 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3689 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3690 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3691 * debug/wcsncpy_chk.c: Likewise.
3692 * debug/wcsnrtombs_chk.c: Likewise.
3693 * debug/wcsrtombs_chk.c: Likewise.
3694 * debug/wcstombs_chk.c: Likewise.
3695 * debug/wmemcpy_chk.c: Likewise.
3696 * debug/wmemmove_chk.c: Likewise.
3697 * debug/wmempcpy_chk.c: Likewise.
3698 * debug/wmemset_chk.c: Likewise.
3699 * dirent/scandirat.c (SCANDIRAT): Likewise.
3700 * dlfcn/dladdr1.c (dladdr1): Likewise.
3701 * dlfcn/dladdr.c (dladdr): Likewise.
3702 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3703 * dlfcn/dlerror.c (__dlerror): Likewise.
3704 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3705 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3706 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3707 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3708 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3709 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3710 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3711 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3712 Likewise.
3713 * elf/dl-conflict.c: Likewise.
3714 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3715 * elf/dl-dst.h: Likewise.
3716 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3717 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3718 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3719 * elf/dl-init.c (call_init, _dl_init): Likewise.
3720 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3721 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3722 _dl_map_object_from_fd, open_verify, open_path,
3723 _dl_map_object): Likewise.
3724 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3725 Likewise.
3726 * elf/dl-minimal.c (__libc_memalign): Likewise.
3727 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3728 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3729 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3730 * elf/dl-sym.c (do_sym): Likewise.
3731 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3732 _dl_tls_get_addr_soft): Likewise.
3733 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3734 * elf/dl-writev.h (_dl_writev): Likewise.
3735 * elf/ldconfig.c (search_dir): Likewise.
3736 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3737 dl_main): Likewise.
3738 * elf/setup-vdso.h (setup_vdso): Likewise.
3739 * grp/compat-initgroups.c (compat_call): Likewise.
3740 * grp/fgetgrent.c (fgetgrent): Likewise.
3741 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3742 * grp/putgrent.c (putgrent): Likewise.
3743 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3744 Likewise.
3745 * hurd/hurdinit.c: Likewise.
3746 * iconvdata/8bit-gap.c (struct): Likewise.
3747 * iconvdata/ansi_x3.110.c : Likewise.
3748 * iconvdata/big5.c : Likewise.
3749 * iconvdata/big5hkscs.c : Likewise.
3750 * iconvdata/cp1255.c: Likewise.
3751 * iconvdata/cp1258.c : Likewise.
3752 * iconvdata/cp932.c : Likewise.
3753 * iconvdata/euc-cn.c: Likewise.
3754 * iconvdata/euc-jisx0213.c : Likewise.
3755 * iconvdata/euc-jp.c: Likewise.
3756 * iconvdata/euc-jp-ms.c : Likewise.
3757 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3758 * iconvdata/gb18030.c : Likewise.
3759 * iconvdata/gbbig5.c (const): Likewise.
3760 * iconvdata/gbgbk.c: Likewise.
3761 * iconvdata/gbk.c : Likewise.
3762 * iconvdata/ibm1364.c : Likewise.
3763 * iconvdata/ibm930.c : Likewise.
3764 * iconvdata/ibm932.c: Likewise.
3765 * iconvdata/ibm933.c : Likewise.
3766 * iconvdata/ibm935.c : Likewise.
3767 * iconvdata/ibm937.c : Likewise.
3768 * iconvdata/ibm939.c : Likewise.
3769 * iconvdata/ibm943.c: Likewise.
3770 * iconvdata/iso_11548-1.c: Likewise.
3771 * iconvdata/iso-2022-cn.c : Likewise.
3772 * iconvdata/iso-2022-cn-ext.c : Likewise.
3773 * iconvdata/iso-2022-jp-3.c: Likewise.
3774 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3775 * iconvdata/iso-2022-kr.c : Likewise.
3776 * iconvdata/iso646.c (gconv_end): Likewise.
3777 * iconvdata/iso_6937-2.c : Likewise.
3778 * iconvdata/iso_6937.c : Likewise.
3779 * iconvdata/iso8859-1.c: Likewise.
3780 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3781 * iconvdata/shift_jisx0213.c : Likewise.
3782 * iconvdata/sjis.c : Likewise.
3783 * iconvdata/t.61.c : Likewise.
3784 * iconvdata/tcvn5712-1.c : Likewise.
3785 * iconvdata/tscii.c: Likewise.
3786 * iconvdata/uhc.c : Likewise.
3787 * iconvdata/unicode.c (gconv_end): Likewise.
3788 * iconvdata/utf-16.c (gconv_end): Likewise.
3789 * iconvdata/utf-32.c (gconv_end): Likewise.
3790 * iconvdata/utf-7.c (base64): Likewise.
3791 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3792 * iconv/gconv_close.c (__gconv_close): Likewise.
3793 * iconv/gconv_open.c (__gconv_open): Likewise.
3794 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3795 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3796 internal_ucs4le_loop_single, ucs4le_internal_loop,
3797 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3798 * iconv/iconv.c (iconv): Likewise.
3799 * iconv/iconv_close.c: Likewise.
3800 * iconv/loop.c (SINGLE): Likewise.
3801 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3802 * include/atomic.h: Likewise.
3803 * inet/inet6_option.c (option_alloc): Likewise.
3804 * intl/bindtextdom.c (set_binding_values): Likewise.
3805 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3806 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3807 * intl/localealias.c (read_alias_file): Likewise.
3808 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3809 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3810 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3811 * libio/fmemopen.c (fmemopen): Likewise.
3812 * libio/iofgets.c (_IO_fgets): Likewise.
3813 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3814 * libio/iofgetws.c (fgetws): Likewise.
3815 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3816 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3817 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3818 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3819 * locale/findlocale.c (_nl_find_locale): Likewise.
3820 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3821 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3822 Likewise.
3823 * locale/setlocale.c (setlocale): Likewise.
3824 * login/programs/pt_chown.c (main): Likewise.
3825 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3826 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3827 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3828 mmap, mmap64, mremap, munmap): Likewise.
3829 * math/e_exp2l.c: Likewise.
3830 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3831 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3832 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3833 * math/s_catan.c (__catan): Likewise.
3834 * math/s_catanf.c (__catanf): Likewise.
3835 * math/s_catanh.c (__catanh): Likewise.
3836 * math/s_catanhf.c (__catanhf): Likewise.
3837 * math/s_catanhl.c (__catanhl): Likewise.
3838 * math/s_catanl.c (__catanl): Likewise.
3839 * math/s_ccosh.c (__ccosh): Likewise.
3840 * math/s_ccoshf.c (__ccoshf): Likewise.
3841 * math/s_ccoshl.c (__ccoshl): Likewise.
3842 * math/s_cexp.c (__cexp): Likewise.
3843 * math/s_cexpf.c (__cexpf): Likewise.
3844 * math/s_cexpl.c (__cexpl): Likewise.
3845 * math/s_clog10.c (__clog10): Likewise.
3846 * math/s_clog10f.c (__clog10f): Likewise.
3847 * math/s_clog10l.c (__clog10l): Likewise.
3848 * math/s_clog.c (__clog): Likewise.
3849 * math/s_clogf.c (__clogf): Likewise.
3850 * math/s_clogl.c (__clogl): Likewise.
3851 * math/s_csin.c (__csin): Likewise.
3852 * math/s_csinf.c (__csinf): Likewise.
3853 * math/s_csinh.c (__csinh): Likewise.
3854 * math/s_csinhf.c (__csinhf): Likewise.
3855 * math/s_csinhl.c (__csinhl): Likewise.
3856 * math/s_csinl.c (__csinl): Likewise.
3857 * math/s_csqrt.c (__csqrt): Likewise.
3858 * math/s_csqrtf.c (__csqrtf): Likewise.
3859 * math/s_csqrtl.c (__csqrtl): Likewise.
3860 * math/s_ctan.c (__ctan): Likewise.
3861 * math/s_ctanf.c (__ctanf): Likewise.
3862 * math/s_ctanh.c (__ctanh): Likewise.
3863 * math/s_ctanhf.c (__ctanhf): Likewise.
3864 * math/s_ctanhl.c (__ctanhl): Likewise.
3865 * math/s_ctanl.c (__ctanl): Likewise.
3866 * math/w_pow.c: Likewise.
3867 * math/w_powf.c: Likewise.
3868 * math/w_powl.c: Likewise.
3869 * math/w_scalb.c (sysv_scalb): Likewise.
3870 * math/w_scalbf.c (sysv_scalbf): Likewise.
3871 * math/w_scalbl.c (sysv_scalbl): Likewise.
3872 * misc/error.c (error_tail): Likewise.
3873 * misc/pselect.c (__pselect): Likewise.
3874 * nis/nis_callback.c (__nis_create_callback): Likewise.
3875 * nis/nis_call.c (__nisfind_server): Likewise.
3876 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3877 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3878 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3879 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3880 * nis/nis_lookup.c (nis_lookup): Likewise.
3881 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3882 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3883 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3884 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3885 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3886 internal_getgrgid_r): Likewise.
3887 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3888 Likewise.
3889 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3890 internal_getpwuid_r): Likewise.
3891 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3892 internal_getspnam_r): Likewise.
3893 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3894 _nss_nis_getaliasbyname_r): Likewise.
3895 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3896 _nss_nis_getntohost_r): Likewise.
3897 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3898 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3899 Likewise.
3900 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3901 internal_nis_gethostent_r, internal_gethostbyname2_r,
3902 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3903 _nss_nis_gethostbyname4_r): Likewise.
3904 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3905 initgroups_netid): Likewise.
3906 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3907 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3908 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3909 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3910 _nss_nis_getprotobynumber_r): Likewise.
3911 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3912 _nss_nis_getsecretkey): Likewise.
3913 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3914 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3915 Likewise.
3916 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3917 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3918 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3919 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3920 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3921 _nss_nis_getspnam_r): Likewise.
3922 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3923 Likewise.
3924 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3925 _nss_nisplus_getntohost_r): Likewise.
3926 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3927 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3928 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3929 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3930 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3931 Likewise.
3932 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3933 _nss_nisplus_getnetbyaddr_r): Likewise.
3934 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3935 _nss_nisplus_getprotobynumber_r): Likewise.
3936 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3937 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3938 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3939 Likewise.
3940 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3941 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3942 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3943 _nss_nisplus_getspnam_r): Likewise.
3944 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3945 * nscd/aicache.c (addhstaiX): Likewise.
3946 * nscd/cache.c (cache_search, prune_cache): Likewise.
3947 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3948 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3949 * nscd/grpcache.c (addgrbyX): Likewise.
3950 * nscd/hstcache.c (addhstbyX): Likewise.
3951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3952 * nscd/mem.c (gc, mempool_alloc): Likewise.
3953 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3954 Likewise.
3955 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3956 Likewise.
3957 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3958 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3960 Likewise.
3961 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3962 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3963 * nscd/nscd_helper.c (__readvall, open_socket,
3964 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3965 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3966 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3967 * nscd/pwdcache.c (addpwbyX): Likewise.
3968 * nscd/selinux.c (preserve_capabilities): Likewise.
3969 * nscd/servicescache.c (addservbyX): Likewise.
3970 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3971 * posix/fnmatch.c (fnmatch): Likewise.
3972 * posix/getopt.c (_getopt_internal_r): Likewise.
3973 * posix/glob.c (glob, glob_in_dir): Likewise.
3974 * posix/wordexp.c (exec_comm_child): Likewise.
3975 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3976 gaih_getanswer_slice): Likewise.
3977 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3978 * resolv/res_init.c: Likewise.
3979 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3980 * resolv/res_query.c (__libc_res_nquery): Likewise.
3981 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3982 Likewise.
3983 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3984 * stdio-common/perror.c (perror): Likewise.
3985 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3986 * stdio-common/tmpnam.c (tmpnam): Likewise.
3987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3988 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3989 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3990 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3991 * stdlib/putenv.c (putenv): Likewise.
3992 * stdlib/setenv.c (__add_to_environ): Likewise.
3993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3994 * stdlib/strtol_l.c (INTERNAL): Likewise.
3995 * string/memmem.c (memmem): Likewise.
3996 * string/strerror.c (strerror): Likewise.
3997 * string/strnlen.c (__strnlen): Likewise.
3998 * string/test-memmem.c (simple_memmem): Likewise.
3999 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4000 * sunrpc/pm_getport.c (__get_socket): Likewise.
4001 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4002 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4003 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4004 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4005 Likewise.
4006 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4007 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4008 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4009 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4010 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4011 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4012 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4013 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4014 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4016 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4017 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4020 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4021 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4022 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4023 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4025 Likewise.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4027 Likewise.
4028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4029 Likewise.
4030 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4034 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4035 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4036 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4046 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4047 Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4049 Likewise.
4050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4051 Likewise.
4052 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4054 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4055 Likewise.
4056 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4057 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4058 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4059 * sysdeps/posix/sleep.c: Likewise.
4060 * sysdeps/posix/tempname.c: Likewise.
4061 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4062 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4063 Likewise.
4064 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4065 elf_machine_rela): Likewise.
4066 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4068 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4069 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4070 Likewise.
4071 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4072 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4073 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4074 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4075 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4076 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4077 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4078 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4079 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4080 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4082 elf_machine_lazy_rel): Likewise.
4083 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4085 elf_machine_lazy_rel): Likewise.
4086 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4087 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4088 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4089 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4090 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4091 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4092 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4094 Likewise.
4095 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4096 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4097 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4098 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4099 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4100 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4101 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4102 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4103 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4104 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4105 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4106 Likewise.
4107 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4108 (__posix_fallocate64_l64): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4110 (posix_fallocate): Likewise.
4111 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4113 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4114 getifaddrs_internal): Likewise.
4115 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4116 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4117 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4118 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4119 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4120 (__posix_fallocate64_l64): Likewise.
4121 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4122 Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4125 Likewise.
4126 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4127 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4128 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4131 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4132 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4133 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4134 Likewise.
4135 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4136 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4137 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4139 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4140 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4141 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4142 Likewise.
4143 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4144 (posix_fallocate): Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4146 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4147 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4148 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4149 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4150 Likewise.
4151 * time/asctime.c (asctime_internal): Likewise.
4152 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4153 * time/tzset.c (__tzset_parse_tz): Likewise.
4154 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4155 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4156 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4157 * wcsmbs/wcsmbsload.h: Likewise.
4158
f3d338c9
OB
41592014-02-10 Ondřej Bílka <neleai@seznam.cz>
4160
4161 [BZ #15894]
4162 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4163
bdfe308a
OB
41642014-02-10 Ondřej Bílka <neleai@seznam.cz>
4165
4166 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4167 arena_get2): Remove THREAD_STATS conditionals.
4168 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4169 __malloc_stats, int): Likewise.
4170
d674667c
MF
41712014-02-08 Mike Frysinger <vapier@gentoo.org>
4172
4173 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4174 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4175
6349768c
MF
41762014-02-08 Mike Frysinger <vapier@gentoo.org>
4177
4178 * manual/setjmp.texi: Fix typos/grammar errors.
4179
0b7c7473
MF
41802014-02-08 Mike Frysinger <vapier@gentoo.org>
4181
4182 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4183 Only return early when n is <= 0. Delete unused return statement.
4184
ac8cc9e3
MF
41852014-02-08 Mike Frysinger <vapier@gentoo.org>
4186
4187 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4188 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4189 * debug/tst-longjmp_chk3.c: New file.
4190
c5bb8e23
MF
41912014-02-08 Mike Frysinger <vapier@gentoo.org>
4192
4193 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4194 (test_main): Replace code with set_fortify_handler call.
4195 * debug/test-strcpy_chk.c: Likewise.
4196 * debug/tst-chk1.c: Likewise.
4197 * debug/tst-longjmp_chk.c: Likewise.
4198 * test-skeleton.c: Include fcntl.h & paths.h
4199 (set_fortify_handler): Define.
4200
10444e42
MF
42012014-02-08 Mike Frysinger <vapier@gentoo.org>
4202
4203 * debug/tst-longjmp_chk.c: Add header comment and include
4204 ../test-skeleton.c.
4205 (do_test): Mark static.
4206 (TEST_FUNCTION): Define.
4207
1e805e8d
MF
42082014-02-08 Mike Frysinger <vapier@gentoo.org>
4209
4210 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4211 (IP_PMTUDISC_INTERFACE): Likewise.
4212 (IP_MULTICAST_IF): Likewise.
4213 (IP_MULTICAST_TTL): Likewise.
4214 (IP_MULTICAST_LOOP): Likewise.
4215 (IP_ADD_MEMBERSHIP): Likewise.
4216 (IP_DROP_MEMBERSHIP): Likewise.
4217 (IP_UNBLOCK_SOURCE): Likewise.
4218 (IP_BLOCK_SOURCE): Likewise.
4219 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4220 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4221 (IP_MSFILTER): Likewise.
4222 (MCAST_JOIN_GROUP): Likewise.
4223 (MCAST_BLOCK_SOURCE): Likewise.
4224 (MCAST_UNBLOCK_SOURCE): Likewise.
4225 (MCAST_LEAVE_GROUP): Likewise.
4226 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4227 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4228 (MCAST_MSFILTER): Likewise.
4229 (IP_MULTICAST_ALL): Likewise.
4230 (IP_UNICAST_IF): Likewise.
4231
73f79bb7
MF
42322014-02-08 Mike Frysinger <vapier@gentoo.org>
4233
4234 * timezone/Makefile: Delete $(have-ksh) check.
4235 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4236 * timezone/tzselect.ksh: Add +x mode bits.
4237
8da79b60
MF
42382014-02-08 Mike Frysinger <vapier@gentoo.org>
4239
4240 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4241 (ANON_INODE_FS_MAGIC): Likewise.
4242 (BDEVFS_MAGIC): Likewise.
4243 (BINFMTFS_MAGIC): Likewise.
4244 (BTRFS_TEST_MAGIC): Likewise.
4245 (CRAMFS_MAGIC_WEND): Likewise.
4246 (DEBUGFS_MAGIC): Likewise.
4247 (ECRYPTFS_SUPER_MAGIC): Likewise.
4248 (EXT3_SUPER_MAGIC): Likewise.
4249 (EXT4_SUPER_MAGIC): Likewise.
4250 (FUTEXFS_SUPER_MAGIC): Likewise.
4251 (HOSTFS_SUPER_MAGIC): Likewise.
4252 (HUGETLBFS_MAGIC): Likewise.
4253 (MINIX3_SUPER_MAGIC): Likewise.
4254 (MTD_INODE_FS_MAGIC): Likewise.
4255 (NILFS_SUPER_MAGIC): Likewise.
4256 (OPENPROM_SUPER_MAGIC): Likewise.
4257 (PIPEFS_MAGIC): Likewise.
4258 (PSTOREFS_MAGIC): Likewise.
4259 (QNX6_SUPER_MAGIC): Likewise.
4260 (RAMFS_MAGIC): Likewise.
4261 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4262 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4263 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4264 (SECURITYFS_MAGIC): Likewise.
4265 (SELINUX_MAGIC): Likewise.
4266 (SMACK_MAGIC): Likewise.
4267 (SOCKFS_MAGIC): Likewise.
4268 (SQUASHFS_MAGIC): Likewise.
4269 (STACK_END_MAGIC): Likewise.
4270 (TMPFS_MAGIC): Likewise.
4271 (USBDEVICE_SUPER_MAGIC): Likewise.
4272 (V9FS_MAGIC): Likewise.
4273 (XENFS_SUPER_MAGIC): Likewise.
4274 (CRAMFS_MAGIC): Fix typo in comment.
4275 (EXT2_SUPER_MAGIC): Update comment.
4276 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4277
464263cc
JM
42782014-02-08 Joseph Myers <joseph@codesourcery.com>
4279
c6bfe5c4
JM
4280 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4281 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4282 * sysdeps/unix/sysv/linux/arm: Move directory from
4283 ports/sysdeps/unix/sysv/linux/arm.
4284 * README: Update listing for arm-*-linux-gnueabi.
4285
464263cc
JM
4286 * README: Remove mention of am33.
4287
32749f6c
RM
42882014-02-07 Roland McGrath <roland@hack.frob.com>
4289
4290 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4291 than the comma operator, to avoid "rhs of comma has no effect"
4292 compiler warnings.
4293 (__sigfillset, __sigandset, __sigorset): Likewise.
4294 * include/signal.h (__sigemptyset): Likewise.
4295 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4296
d5b396c1
AM
42972014-02-07 Allan McRae <allan@archlinux.org>
4298
4299 * version.h (RELEASE): Set to "development".
4300 (VERSION): Set to "2.19.90"
4301 * NEWS: Add 2.20 section.
4302
3bfff2ed
CD
43032014-02-06 Carlos O'Donell <carlos@redhat.com>
4304
4305 [BZ #16529]
4306 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4307
ee7cc385
SP
43082014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * manual/contrib.texi: Update entry for Carlos O'Donell,
4311 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4312
f877c4f2
CD
43132014-02-05 Carlos O'Donell <carlos@rehdat.com>
4314
27e839f6
CD
4315 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4316
f877c4f2
CD
4317 * sysdeps/unix/sysv/linux/kernel-features.h
4318 [__LINUX_KERNEL_VERSION >= 0x020621]
4319 (__ASSUME_PROC_PID_TASK_COMM): Define.
4320
68159946
SP
43212014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4322
ba17cdbd
SP
4323 [BZ #16398]
4324 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4325 conversion when destination buffer does not have enough space.
4326 * libio/tst-ftell-partial-wide.c: New test case.
4327 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4328
68159946
SP
4329 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4330 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4331 Leonard and Allan McRae.
4332
2b528732
DM
43332014-02-04 David S. Miller <davem@davemloft.net>
4334
4335 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4336 32-bit.
4337
0ff82463
AZ
43382014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4339
c01603f7
AZ
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4341 file
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4343 New file
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4345 file.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4347 file.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4349 New file.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4351 file.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4353 file.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4355 New file.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4357 New file.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4359 New file.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4361 New file.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4363 New file.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4365 New file.
4366
43672014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4368
0ff82463
AZ
4369 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4370 * shlib-versions: Likewise.
4371
1695c773
AZ
43722014-02-04 Roland McGrath <roland@hack.frob.com>
4373 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4374
4375 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4376 (abilist-pattern): New variable, set to %-le.abilist.
4377
4378 * Makerules (abilist-pattern): New variable.
4379 (vpath): Use $(abilist-pattern) in place of %.abilist.
4380 (check-abi-% pattern rule): Likewise.
4381 (check-abi, update-abi): Likewise.
4382
6c0ce4b4
EW
43832014-02-04 Eric Wong <normalperson@yhbt.net>
4384
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4386
dc98b8f5
EW
43872014-02-04 Eric Wong <normalperson@yhbt.net>
4388
4389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4390
481e3524
CD
43912014-02-03 Carlos O'Donell <carlos@redhat.com>
4392
4393 * manual/startup.texi: Add next, previous, and top entries for
4394 the `Program Arguments' and `Environment Variables' nodes.
4395
375592d3
AO
43962014-02-03 Alexandre Oliva <aoliva@redhat.com>
4397
4398 * manual/macros.texi: Add comments before MTASC-safety macros.
4399
f54838ba
AO
4400 * manual/users.texi: Document MTASC-safety properties.
4401
909e12ad
AO
4402 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4403 pthread_getspecific, pthread_setspecific): Format with
4404 @deftypefun, and add @safety note.
4405 * manual/signal.texi: Move comments that analyze the above
4406 functions to their home place.
4407
fd3daba4
AM
44082014-02-03 Allan McRae <allan@archlinux.org>
4409
4410 * po/sl.po: Update Slovenian translation from translation project.
4411
597636d7
AO
44122014-02-02 Alexandre Oliva <aoliva@redhat.com>
4413
4414 * manual/time.texi (timegm): Add missing blank after @c.
4415 Reported by Joseph Myers <joseph@codesourcery.com>.
4416
ee196e3c
AO
44172014-02-01 Alexandre Oliva <aoliva@redhat.com>
4418
4419 * manual/check-safety.sh: New.
4420 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4421
f8d529d5
AO
4422 * manual/terminal.texi: Document MTASC-safety properties.
4423
de55fdf4
AO
4424 * manual/filesys.texi: Document MTASC-safety properties.
4425
c3299c08
AO
4426 * manual/errno.texi: Document MTASC-safety properties.
4427
06e90b14
AO
4428 * manual/intro.texi: Document safety identifiers and
4429 conditionals.
4430
1acd4371
AO
4431 * manual/string.texi (wcstok): Fix prototype.
4432 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4433
23e5b8cb
AO
4434 * manual/time.texi: Document MTASC-safety properties.
4435
11087373
AO
4436 * manual/string.texi: Document MTASC-safety properties.
4437
5da2c93d
AO
4438 * manual/threads.texi: Document MTASC-safety properties.
4439
171e9210
AO
4440 * manual/stdio.texi: Document MTASC-safety properties.
4441
d9e02532
AO
4442 * manual/syslog.texi: Document MTASC-safety properties.
4443
6af8bab7
AO
4444 * manual/sysinfo.texi: Document MTASC-safety properties.
4445
663b02d7
AO
4446 * manual/startup.texi: Document MTASC-safety properties.
4447
973f180b
AO
4448 * manual/socket.texi: Document MTASC-safety properties.
4449
8f3c25c8
AO
4450 * manual/signal.texi: Document MTASC-safety properties.
4451
542210fb
AO
44522014-01-31 Alexandre Oliva <aoliva@redhat.com>
4453
4454 * manual/setjmp.texi: Document MTASC-safety properties.
4455
433c45a2
AO
4456 * manual/search.texi: Document MTASC-safety properties.
4457
c8ce789c
AO
4458 * manual/resource.texi: Document MTASC-safety properties.
4459
19f5d29c
AO
4460 * manual/process.texi: Document MTASC-safety properties.
4461
e2dfb7f4
AO
4462 * manual/platform.texi: Document MTASC-safety properties.
4463
8c1413f5
AO
4464 * manual/pipe.texi: Document MTASC-safety properties.
4465
03483ada
AO
4466 * manual/pattern.texi: Document MTASC-safety properties.
4467
29e7e2df
AO
4468 * manual/message.texi: Document MTASC-safety properties.
4469
9f529d7c
AO
4470 [BZ #12751]
4471 * manual/memory.texi: Document MTASC-safety properties.
4472
27aaa791
AO
4473 * manual/math.texi: Document MTASC-safety properties.
4474
f2d58726
AO
4475 * manual/locale.texi: Document MTASC-safety properties.
4476
2cc3615c
AO
4477 * manual/llio.texi: Document MTASC-safety properties.
4478
d9f0ec97
AO
4479 * manual/libdl.texi: New.
4480
e7c4409a
AO
4481 * manual/lang.texi: Document MTASC-safety properties.
4482
27bdc63c
AO
4483 * manual/job.texi: Document MTASC-safety properties.
4484
a7b90ea9
AO
4485 * manual/getopt.texi: Document MTASC-safety properties.
4486
c49130e3
AO
4487 * manual/ctype.texi: Document MTASC-safety properties.
4488
0d23a5c1
MR
44892014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4490
4491 [BZ #16046]
4492 * csu/libc-tls.c (static_map): Remove variable.
4493 (__libc_setup_tls): Use main executable's link map for TLS data.
4494 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4495 casing for LM_ID_BASE and GL(dl_nns).
4496 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4497 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4498 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4499 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4500 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4501 member.
4502 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4503 l_phnum members.
4504
0037bb60
AO
45052014-01-30 Alexandre Oliva <aoliva@redhat.com>
4506
4507 * manual/debug.texi: Document MTASC-safety properties.
4508
409e00bd
L
45092014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4510
4511 [BZ #16510]
4512 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4513 of __x86_64__ when disabling x87 inline functions.
4514
86e60666
AO
45152014-01-29 Alexandre Oliva <aoliva@redhat.com>
4516
4517 * manual/charset.texi: Document MTASC-safety properties.
4518
76167637
AO
4519 * manual/crypt.texi: Document MTASC-safety properties.
4520
e567f2a0
AO
4521 * manual/conf.texi: Document MTASC-safety properties.
4522
b719dafd
AO
4523 * manual/arith.texi: Document MTASC-safety properties.
4524
4a16c662
AO
4525 * manual/argp.texi: Document MTASC-safety properties.
4526
0a57b83e
AO
4527 * manual/macros.texi: Introduce macros to document multi
4528 thread, asynchronous signal and asynchronous cancellation
4529 safety properties.
4530 * manual/intro.texi: Introduce the properties themselves.
4531
feab2397
KK
45322014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4533
4534 * sysdeps/sh/sh4/Makefile: New file.
4535
1c0d11bc
AS
45362014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4537
4538 * math/gen-libm-test.pl ($srcdir): New variable.
4539 ($auto_input): Use it.
4540
af37a8a3
SP
45412014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4542
d7b00f98
SP
4543 [BZ #16506]
4544 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4545 access beyond array bounds when parsing netgroups file.
4546
af37a8a3
SP
4547 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4548 the old buffer before realloc.
4549
0c00f062
AM
45502014-01-27 Allan McRae <allan@archlinux.org>
4551
4552 * po/fr.po: Update French translation from translation project.
4553
7d69a1b0
KK
45542014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4555
4556 * sysdeps/sh/libm-test-ulps: Regenerate.
4557
6e697ff7
DM
45582014-01-24 David S. Miller <davem@davemloft.net>
4559
4560 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4561
9cadb35c
KK
45622014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4563
4564 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4565 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4566
5d41dadf
SP
45672013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4568
4569 [BZ #16474]
4570 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4571 string pointers after reallocation.
4572
0bad441c
KK
45732014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4574
4575 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4576 __SH4A__ instead of __SH_FPU_ANY__.
4577
7007c661
KK
45782014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4579
4580 * sysdeps/sh/fpu_control.h: New file.
4581 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4582 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4583 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4584 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4585 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4586 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4587 * sysdeps/sh/sys/ucontext.h: Remove.
4588 * sysdeps/sh/sys: Remove directory.
4589
0f0c35e4
AK
45902014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4591
4592 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4593 s390/sys/ucontext.h.
4594 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4596
4959e284
L
45972014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 [BZ #15605]
4600 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4601
d98720e0
AZ
46022014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4603
4604 [BZ#16431]
4605 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4606 Adjust the vDSO correctly for internal calls.
4607 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4608
91cbd0bc
AM
46092014-01-20 Allan McRae <allan@archlinux.org>
4610
4611 * po/ca.po: Update Catalan translation from translation project.
4612
7a02cfad
MF
46132014-01-16 Mike Frysinger <vapier@gentoo.org>
4614
4615 * sysdeps/s390/sotruss-lib.c: New file.
4616
736c304a
AZ
46172014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4618
4619 [BZ#16430]
6e077ee5 4620 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4621 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4622 local calls issues by not having a PLT stub required for IFUNC calls.
4623 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4624
94d0cea0
JM
46252014-01-16 Joseph Myers <joseph@codesourcery.com>
4626
4627 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4628 * math/test-fpucw-static.c: Likewise.
4629
980cb518
SP
46302013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4631
4632 [BZ #16453]
4633 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4634
2393fc01
AZ
46352014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4636
4637 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4638 implementation for powerpc.
4639
d359bcc2
OB
46402014-01-15 Ondřej Bílka <neleai@seznam.cz>
4641
4642 [BZ #14782]
4643 * sysdeps/posix/system.c (__libc_system): Do not enable
4644 asynchronous cancellation.
4645
7beb48cb
AK
46462014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4647
4648 [BZ #16427]
4649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4650 handling only for numbers special also in the IEEE case.
4651
c20d5bf5
AK
46522014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4653
4654 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4655
e83bd4ee
AM
46562014-01-11 Allan McRae <allan@archlinux.org>
4657
76d0ea69
AM
4658 * po/bg.po: Update Bulgarian translation from translation project.
4659
e83bd4ee
AM
4660 * po/de.po: Update German translation from translation project.
4661
bc2ba20a
RM
46622014-01-10 Roland McGrath <roland@hack.frob.com>
4663
4664 * sysdeps/generic/gcc-compat.h: New file.
4665
649ecea2
SP
46662014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4667
4668 * benchtests/asin-inputs: Correct slow inputs.
4669 * benchtests/acos-inputs: Likewise.
4670
1b19c006
AM
46712014-01-10 Allan McRae <allan@archlinux.org>
4672
a46dab08
AM
4673 * po:sv.po: Update Swedish translation from translation project.
4674
421df74a
AM
4675 * po/vi.po: Update Vietnamese translation from translation project.
4676
d61c51a7
AM
4677 * po/eo.po: Update Esperanto translation from translation project.
4678
0339a319
AM
4679 * po/cs.po: Update Czech translation from translation project.
4680
94ad3e99
AM
4681 * po/nl.po: Update Dutch translation from translation project.
4682
e349ca71
AM
4683 * po/pl.po: Update Polish translation from translation project.
4684
ddf930c1
AM
4685 * po/ru.po: Update Russian translation from translation project.
4686
1b19c006
AM
4687 * po/uk.po: Update Ukrainian translation from translation project.
4688
9f236c49
BM
46892014-01-08 Brooks Moses <bmoses@google.com>
4690
4691 * elf/dl-load.c: Fix comment typo.
4692
cd6701cf
CD
46932014-01-08 Carlos O'Donell <carlos@redhat.com>
4694
4695 * po/header.pot: Rename to...
4696 * po/pot.header: ... this.
4697 * po/Makefile: Use pot.header.
4698
66671c84
YK
46992014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4700 Maxim Kuvyrkov <maxim@kugelworks.com>
4701
4702 [BZ #16394]
cd6701cf
CD
4703 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4704 SRC and DEST against LEN.
66671c84 4705
38f34581
AZ
47062014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4707
4708 [BZ #16414]
4709 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4710 implementation.
4711 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4712
47132014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4714
4715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4716
4c327f2a
JM
47172014-01-08 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #16408]
4720 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4721 for large positive arguments.
4722
b821f414
JM
47232014-01-07 Joseph Myers <joseph@codesourcery.com>
4724
1f0f2067
JM
4725 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4726
a5a326f6
JM
4727 * math/auto-libm-test-in: Mark various tests with
4728 xfail-rounding:ldbl-128ibm.
4729 * math/auto-libm-test-out: Regenerated.
4730
b821f414
JM
4731 [BZ #16407]
4732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4733 Increase overflow threshold.
4734
94c8a4bc
OB
47352014-01-07 Ondřej Bílka <neleai@seznam.cz>
4736
4737 [BZ #14286]
4738 * stdio-common/vfprintf.c: Check for integer overflow.
4739
87ded0c3
AK
47402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4741
4742 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4743 the first argument and return value of __tls_get_addr_internal.
4744
c5eebdd0
AK
47452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4746
4747 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4748 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4749
05d138ef
AK
47502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4751
4752 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4753 * sysdeps/s390/rtld-global-offsets.sym: New file.
4754 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4755 GLIBC_2.19 symbol.
4756 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4758 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4759 ... this.
4760 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4761 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4762 ... this.
4763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4764 Regenerate.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4766 Regenerate.
4767 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4768 halfs of GPRs for high_gprs contexts.
4769 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4770 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4771 field.
4772 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4773 uc_flags field.
4774 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4775 64 bit versions:
4776 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4777 for high GPRs (uc_high_gprs) and for future extensions
4778 (__reserved).
4779 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4780 for future extensions (__reserved).
4781 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4782 64 bit versions:
4783 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4784 SC_HIGHGPRS offset definition.
4785 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4786 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4787
93a45ff1
AK
47882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4789
4790 * Versions.def: Add GLIBC_2.19 for libpthread.
4791 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4792 siglongjmp for libpthread with GLIBC_2.19 symver.
4793 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4794 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4795 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4796 * sysdeps/s390/__longjmp.c: New file.
4797 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4798 * sysdeps/s390/longjmp.c: New file.
4799 * sysdeps/s390/setjmp.S: New file.
4800 * sysdeps/s390/sigjmp.S: New file.
4801 * sysdeps/s390/v1-longjmp.c: New file.
4802 * sysdeps/s390/v1-setjmp.h: New file.
4803 * sysdeps/s390/v1-sigjmp.c: New file.
4804 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4805 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4806 GLIBC_2.19 version.
4807 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4808 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4809 versioned symbols for ____longjmp_chk.
4810 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4811 Likewise.
4812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4813 Regenerate.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4815 Regenerate.
4816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4817 Regenerate.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4819 Regenerate.
4820 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4821 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4822 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4823 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4824 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4825 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4826 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4827 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4828 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4829 * sysdeps/s390/rtld-__longjmp.c: New file.
4830 * sysdeps/s390/rtld-setjmp.S: New file.
4831
eb3fc44b
JM
48322014-01-06 Joseph Myers <joseph@codesourcery.com>
4833
4834 [BZ #16400]
4835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4836 Return -__logl (x) for small positive arguments without evaluating
4837 a polynomial.
4838
9341dde4
MF
48392014-01-06 Mike Frysinger <vapier@gentoo.org>
4840
4841 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4842 Rename to ...
4843 (__ptrace_peeksiginfo_args): ... this.
4844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4847
4cff0293
AM
48482014-01-06 Allan McRae <allan@archlinux.org>
4849
4850 * inet/netinet/in.h: Fix typo in comment.
4851
75595dcf
AJ
48522014-01-05 Andreas Jaeger <aj@suse.de>
4853
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855
79c1e109
AM
48562014-01-05 Allan McRae <allan@archlinux.org>
4857
dd804818
AM
4858 * po/libc.pot: Regenerated.
4859
79c1e109
AM
4860 * malloc/memusagestat.c: Fix gettext call formatting.
4861
0c813d1f
SK
48622014-01-04 Sami Kerola <kerolasa@iki.fi>
4863
4864 * nscd/nscd.c: Improve usage() output.
4865
20f4a8d9
MF
48662014-01-04 Mike Frysinger <vapier@gentoo.org>
4867
4868 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4869 * sysdeps/unix/sysv/linux/configure: Regenerated.
4870 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4871 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4872
22562bb2
JM
48732014-01-03 Joseph Myers <joseph@codesourcery.com>
4874
4875 [BZ #16390]
4876 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4877 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4878
d7ad2d9b
AZ
48792014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4882 extra tokens at end of #undef directive.
4883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4884 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4886
7dd009d8
JM
48872014-01-03 Joseph Myers <joseph@codesourcery.com>
4888
24db925a
JM
4889 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4890
7dd009d8
JM
4891 * math/auto-libm-test-in: Mark various tests with
4892 xfail-rounding:ldbl-128ibm.
4893 * math/auto-libm-test-out: Regenerated.
4894
396e3ecf
JM
48952014-01-02 Joseph Myers <joseph@codesourcery.com>
4896
819e5d50
JM
4897 [BZ #16386]
4898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4899 numbers with subnormal high part when calculating exponent.
4900
90b6a1e5
JM
4901 [BZ #16385]
4902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4903 fabs.
4904
396e3ecf
JM
4905 [BZ #16384]
4906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4907 M_LN2l.
4908 (__ieee754_acoshl): Use __log1pl not __log1p.
4909
6c8dbf00
OB
49102013-01-02 Ondřej Bílka <neleai@seznam.cz>
4911
4912 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4913 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4914 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4915 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4916 Convert to GNU style.
4917 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4918 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4919 memalign_check, __malloc_set_state): Likewise.
4920 * malloc/mallocbug.c (main): Likewise.
4921 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4922 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4923 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4924 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4925 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4926 * malloc/malloc.h: Likewise.
4927 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4928 memalignhook, reallochook, mabort): Likewise.
4929 * malloc/mcheck.h: Likewise.
4930 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4931 mmap64, mremap, munmap, dest): Likewise.
4932 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4933 * malloc/morecore.c (__default_morecore): Likewise.
4934 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4935 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4936 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4937 print_and_abort): Likewise.
4938 * malloc/obstack.h: Likewise.
4939 * malloc/set-freeres.c (__libc_freeres): Likewise.
4940 * malloc/tst-mallocstate.c (main): Likewise.
4941 * malloc/tst-mtrace.c (main): Likewise.
4942 * malloc/tst-realloc.c (do_test): Likewise.
4943
d4124212
SP
49442013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4945
9a3c6a6f
SP
4946 [BZ #16366]
4947 * nscd/netgroupcache.c (do_notfound): New function.
4948 (addgetnetgrentX): Use it.
4949
d4124212
SP
4950 [BZ # 16365]
4951 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4952 NSS_STATUS_NOTFOUND.
4953
97b9a009
JM
49542014-01-01 Joseph Myers <joseph@codesourcery.com>
4955
4956 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958
d4697bc9
AM
49592014-01-01 Allan McRae <allan@archlinux.org>
4960
ddb3687f
AM
4961 * scripts/update-copyrights: Update configure input file suffix.
4962
88726d48
AM
4963 * NEWS: Update copyright year.
4964 * catgets/gencat.c: Likewise.
4965 * csu/version.c: Likewise.
4966 * debug/catchsegv.sh: Likewise.
4967 * debug/pcprofiledump.c: Likewise.
4968 * debug/xtrace.sh: Likewise.
4969 * elf/ldconfig.c: Likewise.
4970 * elf/ldd.bash.in: Likewise.
4971 * elf/pldd.c: Likewise.
4972 * elf/sotruss.ksh: Likewise.
4973 * elf/sprof.c: Likewise.
4974 * iconv/iconv_prog.c: Likewise.
4975 * iconv/iconvconfig.c: Likewise.
4976 * locale/programs/locale.c: Likewise.
4977 * locale/programs/localedef.c: Likewise.
4978 * login/programs/pt_chown.c: Likewise.
4979 * malloc/memusage.sh: Likewise.
4980 * malloc/memusagestat.c: Likewise.
4981 * malloc/mtrace.pl: Likewise.
4982 * manual/libc.texinfo: Likewise.
4983 * nscd/nscd.c: Likewise.
4984 * nss/getent.c: Likewise.
4985 * nss/makedb.c: Likewise.
4986 * posix/getconf.c: Likewise.
4987 * scripts/test-installation.pl: Likewise.
4988
d4697bc9
AM
4989 * All files with FSF copyright notices: Update copyright dates
4990 using scripts/update-copyrights.
4991 * intl/plural.c: Regenerated.
4992 * locale/programs/charmap-kw.h: Likewise.
4993 * locale/programs/locfile-kw.h: Likewise.
4994
c8590f9d
MF
49952013-12-31 Mike Frysinger <vapier@gentoo.org>
4996
4997 * sysdeps/unix/sysv/linux/configure: Regenerated.
4998 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4999 the linux/fanotify.h header.
5000 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5001 HAVE_LINUX_FANOTIFY_H is defined.
5002
b19221b9
SP
50032013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
dd1d85e5
SP
5005 * benchtests/cos-inputs: New inputs.
5006 * benchtests/sin-inputs: Likewise.
5007
1acbb90f
SP
5008 * benchtests/atan-inputs: New inputs. Fix name of multiple
5009 precision fallback inputs.
5010
4c012ed3
SP
5011 * benchtests/atanh-inputs: New inputs.
5012 * benchtests/tanh-inputs: Likewise.
5013
eff98324
SP
5014 * benchtests/acosh-inputs: New inputs.
5015 * benchtests/asinh-inputs: Likewise.
5016
ce641152
SP
5017 * benchtests/cosh-inputs: New inputs.
5018 * benchtests/sinh-inputs: Likewise.
5019
b19221b9
SP
5020 * benchtests/acos-inputs: Add more inputs.
5021 * benchtests/asin-inputs: Likewise.
5022
030a4976 50232013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5024
030a4976 5025 [BZ #16375]
9dcc8f11
VS
5026 * manual/arith.texi: Fix spelling.
5027 * manual/charset.texi: Likewise.
5028 * manual/errno.texi: Likewise.
5029 * manual/filesys.texi: Likewise.
5030 * manual/lang.texi: Likewise.
5031 * manual/llio.texi: Likewise.
5032 * manual/locale.texi: Likewise.
5033 * manual/message.texi: Likewise.
5034 * manual/resource.texi: Likewise.
5035 * manual/search.texi: Likewise.
5036 * manual/setjmp.texi: Likewise.
5037 * manual/stdio.texi: Likewise.
5038 * manual/string.texi: Likewise.
5039 * manual/sysinfo.texi: Likewise.
5040 * manual/time.texi: Likewise.
5041
11520a57
CD
50422013-12-27 Carlos O'Donell <carlos@redhat.com>
5043
5044 * po/sl.po: New file.
5045
471103ae
MF
50462013-12-27 Mike Frysinger <vapier@gentoo.org>
5047
5048 * .gitignore: Add core/.gdbinit/.gdb_history.
5049
6c9642ed
AM
50502013-12-27 Allan McRae <allan@archlinux.org>
5051
5052 [BZ #16369]
5053 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5054 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5055
3f637079
BM
50562013-12-24 Brooks Moses <bmoses@google.com>
5057
5058 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5059 all compilers that claim C++98 compliance, not just GCC.
5060 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5061 Likewise.
5062
abc26e99
MK
50632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5064
5065 * NEWS: Restore accidentally deleted bug-fix entries.
5066
362b47fe
MK
50672013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5068 Ondřej Bílka <neleai@seznam.cz>
5069
5070 [BZ #15073]
5071 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5072 have_lock.
362b47fe 5073
b9bcbbcb
OB
50742013-12-23 Ondřej Bílka <neleai@seznam.cz>
5075
5076 [BZ #12986]
5077 * manual/stdio.texi (String Input Conversions): Clarify that character
5078 classes are not supported.
5079
fb55fcd2
AZ
50802013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5081
5082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5083
ef7344f0
JM
50842013-12-22 Joseph Myers <joseph@codesourcery.com>
5085
4f40e4b3
JM
5086 [BZ #16337]
5087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5088 Calculate results for small negative arguments directly rather
5089 than using reflection formula with special underflow handling.
5090
ef7344f0
JM
5091 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5092 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5093 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5094 (fchflags): Likewise.
5095 (revoke): Likewise.
5096 (setlogin): Likewise.
5097 (sigaltstack): Likewise.
5098 (wait4): Likewise.
5099 (sigblock): Remove.
5100 (sigsetmask): Likewise.
5101 (wait3): Likewise.
5102 (waitpid): Likewise.
5103 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5104 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5105 file.
5106 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5107 * sysdeps/unix/bsd/Makefile: ... here.
5108 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5109 * sysdeps/unix/bsd/Versions: ... here.
5110 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5111 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5112 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5113 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5114 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5115 * sysdeps/unix/bsd/sigblock.c: ... here.
5116 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5117 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5118 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5119 * sysdeps/unix/bsd/sigvec.c: ... here.
5120 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5121 * sysdeps/unix/bsd/tcdrain.c: ... here.
5122 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5123 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5124 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5125 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5126 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5127 * sysdeps/unix/bsd/wait.c: ... here.
5128 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5129 * sysdeps/unix/bsd/wait3.c: ... here.
5130 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5131 * sysdeps/unix/bsd/waitpid.c: ... here.
5132
5b0626b9
JM
51332013-12-21 Joseph Myers <joseph@codesourcery.com>
5134
5135 [BZ #16356]
5136 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5137 round-to-nearest for [!USE_AS_EXPM1L].
5138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5139 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5140 more tests of exp and exp10. Expect some exp10 tests to miss
5141 exceptions or fail in directed rounding modes.
5142 * math/auto-libm-test-out: Regenerated.
5143 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5144 (exp10_test_tonearest): New function.
5145 (exp10_towardzero_test_data): New array.
5146 (exp10_test_towardzero): New function.
5147 (exp10_downward_test_data): New array.
5148 (exp10_test_downward): New function.
5149 (exp10_upward_test_data): New array.
5150 (exp10_test_upward): New function.
5151 (main): Call the new functions.
5152 * sysdeps/i386/fpu/libm-test-ulps: Update.
5153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5154
7fda5682
JM
51552013-12-20 Joseph Myers <joseph@codesourcery.com>
5156
31e3a405
JM
5157 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5158 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5159 * math/auto-libm-test-out: Regenerated.
5160 * math/libm-test.inc (acosh_test_data): Add more tests.
5161 (atanh_test_data): Likewise.
5162 (ceil_test_data): Likewise.
5163 (copysign_test_data): Likewise.
5164 * sysdeps/i386/fpu/libm-test-ulps: Update.
5165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5166
85bff96a
JM
5167 * timezone/checktab.awk: Update from tzcode 2013i.
5168 * timezone/private.h: Likewise.
5169 * timezone/scheck.c: Likewise.
5170 * timezone/tzfile.h: Likewise.
5171 * timezone/tzselect.ksh: Likewise.
5172 * timezone/zdump.c: Likewise.
5173 * timezone/zic.c: Likewise.
5174
b7867a3b
JM
5175 * math/auto-libm-test-in: Add tests of cpow.
5176 * math/auto-libm-test-out: Regenerated.
5177 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5178 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5179 mpc_cc_c.
5180 (func_calc_desc): Add mpc_cc_c union field.
5181 (test_functions): Add cpow.
5182 (special_fill_2pi): New function.
5183 (special_real_inputs): Add 2pi.
5184 (calc_generic_results): Handle mpc_cc_c.
5185 * sysdeps/i386/fpu/libm-test-ulps: Update.
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5187
7fda5682
JM
5188 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5189 csqrt, ctan and ctanh.
5190 * math/auto-libm-test-out: Regenerated.
5191 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5192 (TEST_COND_x86): Likewise.
5193 (ccos_test_data): Use AUTO_TESTS_c_c.
5194 (ccosh_test_data): Likewise.
5195 (cexp_test_data): Likewise.
5196 (clog_test_data): Likewise.
5197 (csqrt_test_data): Likewise.
5198 (ctan_test_data): Likewise.
5199 (ctan_tonearest_test_data): Likewise.
5200 (ctan_towardzero_test_data): Likewise.
5201 (ctan_downward_test_data): Likewise.
5202 (ctan_upward_test_data): Likewise.
5203 (ctanh_test_data): Likewise.
5204 (ctanh_tonearest_test_data): Likewise.
5205 (ctanh_towardzero_test_data): Likewise.
5206 (ctanh_downward_test_data): Likewise.
5207 (ctanh_upward_test_data): Likewise.
5208 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5209 mpc_c_c.
5210 (func_calc_desc): Add mpc_c_c union field.
5211 (FUNC_mpc_c_c): New macro.
5212 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5213 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5214 ctanh.
5215 (special_fill_min_subnorm_p120): New function.
5216 (special_real_inputs): Add min_subnorm_p120.
5217 (calc_generic_results): Handle mpc_c_c.
5218 * sysdeps/i386/fpu/libm-test-ulps: Update.
5219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5220
5ff8d60e
SP
52212013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
392dd2de
SP
5223 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5224 do_sin_slow): New functions.
5225 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5226 cslow2, csloww1, csloww2): Use the new functions.
5227
84ba214c
SP
5228 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5229 Use M to change sign of result instead of X. Assume X is
5230 positive.
5231 (csloww1): Likewise.
5232 (__sin): Adjust.
5233 (__cos): Adjust.
5234
975195e4
SP
5235 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5236 arguments A and DA.
5237 (__sin): Adjust.
5238 (__cos): Likewise.
5239
5ff8d60e
SP
5240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5241 (__cos): Likewise.
5242 (sloww1): Don't adjust sign of DX.
5243 (csloww1): Likewise.
5244 (sloww2): Use X directly and don't adjust sign of DX.
5245 (csloww2): Likewise.
5246
eb983568
JM
52472013-12-19 Joseph Myers <joseph@codesourcery.com>
5248
64a17f1a
JM
5249 * math/auto-libm-test-in: Add tests of cabs and carg.
5250 * math/auto-libm-test-out: Regenerated.
5251 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5252 (carg_test_data): Likewise.
5253 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5254 mpc_c_f.
5255 (func_calc_desc): Add mpc_c_f union field.
5256 (test_functions): Add cabs and carg.
5257 (calc_generic_results): Handle mpc_c_f.
5258
eb983568
JM
5259 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5260 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5261 as a macro and a compat symbol.
5262 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5263 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5264 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5265 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5266 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5267 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5268 not use .hidden.
5269 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5270 Likewise.
5271 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5272 Likewise.
5273 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5274 Likewise.
5275 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5276 Likewise.
5277 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5278 Likewise.
5279 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5280 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5281 from GLIBC_2.3.2.
5282
6eeb678a
AZ
52832013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5284
5285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5286
6f6fc482
JM
52872013-12-19 Joseph Myers <joseph@codesourcery.com>
5288
21fea2e2
JM
5289 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5290 trailing whitespace removed.
5291 * scripts/config.guess: Update to version 2013-11-29.
5292 * scripts/config.sub: Update to version 2013-10-01.
5293
6f6fc482
JM
5294 * math/auto-libm-test-in: Add tests of sincos.
5295 * math/auto-libm-test-out: Regenerated.
5296 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5297 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5298 mpfr_f_11.
5299 (func_calc_desc): Add mpfr_f_11 union field.
5300 (test_functions): Add sincos.
5301 (calc_generic_results): Handle mpfr_f_11.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5304
83f5c32d
AS
53052013-12-19 Andreas Schwab <schwab@suse.de>
5306
5307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5308 CALL_MCOUNT.
5309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5310 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5311 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5312
c688b419
JM
53132013-12-19 Joseph Myers <joseph@codesourcery.com>
5314
335ee092
JM
5315 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
f88acd39
JM
5319 [BZ #16293]
5320 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5321 round-to-nearest mode when using frndint.
5322 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5323 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5325 Likewise.
5326 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5327 sinh test to fail.
5328 * math/auto-libm-test-out: Regenerated.
5329 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5330 (TEST_COND_x86): Likewise.
5331 (expm1_tonearest_test_data): New array.
5332 (expm1_test_tonearest): New function.
5333 (expm1_towardzero_test_data): New array.
5334 (expm1_test_towardzero): New function.
5335 (expm1_downward_test_data): New array.
5336 (expm1_test_downward): New function.
5337 (expm1_upward_test_data): New array.
5338 (expm1_test_upward): New function.
5339 (main): Run the new test functions.
5340 * sysdeps/i386/fpu/libm-test-ulps: Update.
5341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5342
c688b419
JM
5343 * include/features.h: Update comment documenting feature test
5344 macros. Mention _DEFAULT_SOURCE in comment.
5345 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5346 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5347 _BSD_SOURCE and _SVID_SOURCE.
5348 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5349 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5350 !_SVID_SOURCE]: Likewise.
5351 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5352 (__USE_POSIX_IMPLICITLY): Define.
5353 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5354 (_POSIX_SOURCE): Undefine and redefine.
5355 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5356 (_POSIX_C_SOURCE): Likewise.
5357 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5358 (Feature Test Macros): Update documentation of default features.
5359
9f6e964c
RS
53602013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5361
5362 * benchtests/Makefile: Add bench-strtok.
5363 * benchtests/bench-strtok.c: New file: strtok benchtest.
5364
ee0a148a
AM
53652013-12-19 Allan McRae <allan@archlinux.org>
5366
5367 * manual/install.texi: Suppress menu for plain text output.
5368 * INSTALL: Regenerated.
5369
b9ab448f
BM
53702013-12-18 Brooks Moses <bmoses@google.com>
5371
5372 [BZ #15846]
5373 * misc/getauxval.c: Include errno.h.
5374 (__getauxval): Set errno to ENOENT if the requested type is not
5375 found.
5376 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5377 don't declare with __attribute_const__.
5378 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5379 * manual/startup.texi: Document that getauxval sets errno.
5380
23776487
JM
53812013-12-18 Joseph Myers <joseph@codesourcery.com>
5382
f889953b
JM
5383 * math/auto-libm-test-in: Add tests of jn and yn.
5384 * math/auto-libm-test-out: Regenerated.
5385 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5386 (yn_test_data): Likewise.
5387 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5388 mpfr_if_f.
5389 (func_calc_desc): Add mpfr_if_f union field.
5390 (FUNC_mpfr_if_f): New macro.
5391 (test_functions): Add jn and yn.
5392 (calc_generic_results): Assert type of second input for
5393 mpfr_ff_f. Handle mpfr_if_f.
5394 (output_for_one_input_case): Disable all checking for arguments
5395 fitting floating-point types in case of an integer argument.
5396 * sysdeps/i386/fpu/libm-test-ulps: Update.
5397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5398
23776487
JM
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5400 Don't expect fegetround reference in libm.so.
5401
cb756c6d
MS
54022013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5403
5404 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5405 $(config-cflags-nofma).
5406
2dec468f
JM
54072013-12-18 Joseph Myers <joseph@codesourcery.com>
5408
5953eb3a
JM
5409 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5410 * math/auto-libm-test-out: Regenerated.
5411
2dec468f
JM
5412 [BZ #16338]
5413 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5414 to determine exponent and adjust argument to have exponent of -1.
5415 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5416 log2.
5417 * math/auto-libm-test-out: Regenerated.
5418 * sysdeps/i386/fpu/libm-test-ulps: Update.
5419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5420
4d84e6ad
OB
54212013-12-18 Ondřej Bílka <neleai@seznam.cz>
5422
5423 * manual/probes.texi: Remove cases when per-thread arenas are
5424 disabled.
5425
1818483b
AS
54262013-12-18 Andreas Schwab <schwab@suse.de>
5427
5428 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5429 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5430 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5431 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5432 * sysdeps/i386/i686/multiarch/Makefile: Update.
5433 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5434
25de95bf
JM
54352013-12-17 Joseph Myers <joseph@codesourcery.com>
5436
5437 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5438 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5439
674762d9
PE
54402013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5441
ed27ed83 5442 [BZ #15968]
0748546f
PE
5443 Support TZ transition times < 00:00:00.
5444 This is needed for version-3 tz-format files; it supports time
5445 stamps past 2037 for America/Godthab (the only entry in the tz
5446 database for which this change is relevant).
5447 * manual/time.texi (TZ Variable): Document transition times
5448 from -167:59:59 through -00:00:01.
5449 * time/tzset.c (tz_rule): Time of day is now signed.
5450 (__tzset_parse_tz): Parse negative time of day.
5451
4480e934
PE
5452 Document TZ transition times >= 25:00:00.
5453 * manual/time.texi (TZ Variable): Document transition times from
5454 25:00:00 through 167:59:59. These are already supported, and this
5455 support will help with version-3 tz-format files.
5456
69947401
PE
5457 * manual/time.texi (TZ Variable): Modernize North America example
5458 to reflect current (i.e., 2007-and-later) daylight saving rules.
5459
674762d9
PE
5460 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5461
7011c262
JM
54622013-12-17 Joseph Myers <joseph@codesourcery.com>
5463
2fc6557e
JM
5464 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5465 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5468 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5469 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5470 * sysdeps/unix/bsd/clock.c: Likewise.
5471 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5472 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5473 * sysdeps/unix/bsd/init-posix.c: Likewise.
5474 * sysdeps/unix/bsd/poll.c: Likewise.
5475 * sysdeps/unix/bsd/ptsname.c: Likewise.
5476 * sysdeps/unix/bsd/seekdir.c: Likewise.
5477 * sysdeps/unix/bsd/setegid.c: Likewise.
5478 * sysdeps/unix/bsd/seteuid.c: Likewise.
5479 * sysdeps/unix/bsd/setgid.c: Likewise.
5480 * sysdeps/unix/bsd/setrgid.c: Likewise.
5481 * sysdeps/unix/bsd/setruid.c: Likewise.
5482 * sysdeps/unix/bsd/setsid.c: Likewise.
5483 * sysdeps/unix/bsd/setuid.c: Likewise.
5484 * sysdeps/unix/bsd/sigaction.c: Likewise.
5485 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5486 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5487 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5488 * sysdeps/unix/bsd/telldir.c: Likewise.
5489 * sysdeps/unix/bsd/times.c: Likewise.
5490 * sysdeps/unix/bsd/usleep.c: Likewise.
5491
029c7b25
JM
5492 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5493 ($(objpfx)libbsd-compat.a): Remove rule.
5494
7011c262
JM
5495 * include/features.h (__FAVOR_BSD): Do not define.
5496 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5497 features conflicting with POSIX.
5498 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5499 (_BSD_SOURCE): Remove description of not being a subset of other
5500 feature test macros.
5501 * manual/job.texi (getpgrp): Do not document BSD version.
5502 (getpgid): Do not document by reference to BSD getpgrp.
5503 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5504 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5505 * signal/signal.h [__FAVOR_BSD]: Likewise.
5506 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5507 instead of making contents conditional on [__FAVOR_BSD].
5508 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5509
affb6f78
AZ
55102013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511
5512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5513
c88769dd
JM
55142013-12-17 Joseph Myers <joseph@codesourcery.com>
5515
6432a540
JM
5516 [BZ #16314]
5517 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5518 values below 2**-450, not 2**-500.
5519 * math/auto-libm-test-in: Don't allow spurious underflow from
5520 hypot.
5521 * math/auto-libm-test-out: Regenerated.
5522
c88769dd
JM
5523 [BZ #16316]
5524 [BZ #16330]
5525 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5526 values of ha and hb and sort them after adjusting subnormal
5527 arguments.
5528 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5529 Likewise.
5530 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5531 values of ea and eb and sort them after adjusting subnormal
5532 arguments.
5533 * math/auto-libm-test-in: Do not expect some hypot tests of
5534 subnormals to fail. Add more hypot tests.
5535 * math/auto-libm-test-out: Regenerated.
5536
29618f6b
KK
55372013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5538
5539 [BZ #13304]
5540 * sysdeps/sh/s_fma.c: New file.
5541 * sysdeps/sh/s_fmaf.c: New file.
5542 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5543 version.
5544 * sysdeps/sh/Implies: Add sh/soft-fp.
5545
eacfdfbf
RM
55462013-12-16 Roland McGrath <roland@hack.frob.com>
5547
5548 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5549 level of indirection to members `objname', `errstring', `malloced'.
5550 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5551 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5552 it as the __longjmp argument (just pass 1 instead).
5553 (_dl_catch_error): Initialize C with argument pointers and address of
5554 volatile local ERRCODE rather than copying values out of C at return.
5555
ff362e5b
JM
55562013-12-16 Joseph Myers <joseph@codesourcery.com>
5557
5558 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5559 * math/auto-libm-test-out: Regenerated.
5560 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5561 (hypot_test_data): Likewise.
5562 (pow_test_data): Likewise.
5563 (pow_tonearest_test_data): Likewise.
5564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5565 mpfr_ff_f.
5566 (func_calc_desc): Add mpfr_ff_f union field.
5567 (FUNC_mpfr_ff_f): New macro.
5568 (test_functions): Add atan2, hypot and pow.
5569 (special_fill_min): New function.
5570 (special_fill_minus_min): Likewise.
5571 (special_fill_min_subnorm): Likewise.
5572 (special_fill_minus_min_subnorm): Likewise.
5573 (special_real_inputs): Add min, -min, min_subnorm and
5574 -min_subnorm.
5575 (calc_generic_results): Handle mpfr_ff_f.
5576 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5578
5764c27f
WN
55792013-12-16 Will Newton <will.newton@linaro.org>
5580
5581 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5582 (Aligned Memory Blocks): Add documentation for aligned_alloc
5583 and suggest it as an alternative to posix_memalign.
5584 (Hooks for Malloc): Document __memalign_hook is also called
5585 for aligned_alloc. (Summary of Malloc): Add summary for
5586 aligned alloc. Document __memalign_hook is also called
5587 for aligned_alloc.
5588
0a096e44
WN
55892013-12-16 Will Newton <will.newton@linaro.org>
5590
5591 * manual/memory.texi (Malloc Examples): Clarify default
5592 alignment documentation. Suggest posix_memalign rather
5593 than memalign or valloc.
5594 (Aligned Memory Blocks): Remove suggestion to use memalign
5595 or valloc. Remove obsolete comment about BSD.
5596 Document memalign errno values and mark the function obsolete.
5597 Document posix_memalign returned error codes. Mark valloc
5598 as obsolete. (Hooks for Malloc): __memalign_hook is also
5599 called for posix_memalign and valloc.
5600 (Summary of Malloc): Add posix_memalign to function summary.
5601 __memalign_hook is also called for posix_memalign and valloc.
5602
8d561986
SP
56032013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5604
5605 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5606 TAYLOR_SIN.
5607 (__sin): Adjust.
5608 (__cos): Likewise.
5609 (sloww): Use mynumber union. Expand ternary operator into
5610 if-else statements.
5611 (cslow): use mynumber union.
5612
73616a74
AM
56132013-12-16 Allan McRae <allan@archlinux.org>
5614
9e8ac24b
AM
5615 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5616 * configure: Regenerated.
5617
6f8e37eb
AM
5618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5619
8894bad3
AM
5620 [BZ #14120]
5621 * configure.ac: Added --enable-maintainer-mode. Check for
5622 autoconf when enabled.
5623 * configure: Regenerated.
5624
73616a74
AM
5625 * nscd/nscd.service: New file.
5626 * nscd/nscd.tmpfiles: New file.
5627
584b18eb
OB
56282013-12-14 Ondřej Bílka <neleai@seznam.cz>
5629
5630 [BZ #12100]
5631 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5632 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5633 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5634 (strstr): Add __strstr_sse2_unaligned ifunc.
5635 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5636 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5637 (strcasestr): Remove __strcasestr_sse42 ifunc.
5638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5641
8a5c7897
KK
56422013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5643
5644 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5645 * sysdeps/sh/bits/fenv.h: ... here.
5646 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5647
fd712ef3
AZ
56482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5651
42fcb46c
AZ
56522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5653
5654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5655 hypotf multiarch implementations.
5656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5658 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5659 multiarch hypot for PPC64.
5660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5663 multiarch hypotf for PPC64.
5664
83efded4
AZ
56652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666
5667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5668 modff multiarch implementations.
5669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5672 multiarch modf for PPC64.
5673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5676 multiarch modff for PPC64.
5677
43e246d2
AZ
56782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5681 and logl multiarch implementations.
5682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5685 multiarch logb for PPC64.
5686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5689 multiarch logb for PPC64.
5690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5693 multiarch logb for PPC64.
5694
8fdad123
AZ
56952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5696
5697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5698 isinff multiarch implementation.
5699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5700 file.
5701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5703 multiarch isinf for PPC64.
5704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5705 file.
5706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5707 multiarch isinff for PPC64.
5708
1481d706
AZ
57092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710
5711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5712 finitef multiarch implementation.
5713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5714 file.
5715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5717 multiarch finite for PPC64.
5718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5719 file.
5720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5721 multiarch finitef for PPC64.
5722
5ccd5fc8
AZ
57232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724
5725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5726 lrint multiarch implementation.
5727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5728 file.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5731 multiarch llrint for PPC64.
5732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5733 multiarch lrint for PPC64.
5734
2568f3fa
AZ
57352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5736
5737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5738 copysignf multiarch implementation.
5739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5740 file.
5741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5742 file.
5743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5744 multiarch copysign for PPC64.
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5746 multiarch copysignf for PPC64.
5747
1cb341fd
AZ
57482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5751 multiarch implementation.
5752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5753 file.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5755 file.
5756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5757 file.
5758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5759 file.
5760 multiarch llround for PPC64.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5762 multiarch trunc for PPC64.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5764 multiarch truncf for PPC64.
5765
59a3e194
AZ
57662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5767
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5769 multiarch implementation.
5770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5771 file.
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5773 file.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5775 file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5777 file.
5778 multiarch llround for PPC64.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5780 multiarch round for PPC64.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5782 multiarch roundf for PPC64.
5783
357fd3b4
AZ
57842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5787 multiarch implementation.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5789 file.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5791 file.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5793 file.
5794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5795 file.
5796 multiarch llround for PPC64.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5798 multiarch floor for PPC64.
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5800 multiarch floorf for PPC64.
5801
96770f12
AZ
58022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5805 multiarch implementation.
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5807 file.
5808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5809 file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5811 file.
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5813 file.
5814 multiarch llround for PPC64.
5815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5816 multiarch ceil for PPC64.
5817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5818 multiarch ceilf for PPC64.
5819
c3627f6e
AZ
58202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5823 multiarch implementation.
5824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5825 file.
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5827 file.
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5829 file.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5831 multiarch llround for PPC64.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5833 multiarch lround for PPC64.
5834
b2284ad7
AZ
58352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5838 multiarch implementation.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5842 file.
5843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5846 multiarch isnan for PPC64.
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5848 multiarch isnanf for PPC64.
5849
69bbc63d
AZ
58502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851
5852 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5853 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5854 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5855 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5856 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5858
c24517c9
AZ
58592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860
5861 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5862 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5865
a52374e8
AZ
58662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867
5868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5869 multiarch implementations.
5870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5871 (__libc_ifunc_impl_list): Likewise.
5872 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5873 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5874 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5875 multiarch stpcpy for PPC64.
5876
7f5ec113
AZ
58772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878
5879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5880 multiarch implementations.
5881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5882 (__libc_ifunc_impl_list): Likewise.
5883 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5884 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5885 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5886 multiarch strcpy for PPC64.
5887
e28bcd42
AZ
58882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5889
5890 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5891 redefine function name.
5892 (_wordcopy_fwd_dest_aligned): Likewise.
5893 (_wordcopy_bwd_aligned): Likewise.
5894 (_wordcopy_bwd_dest_aligned): Likewise.
5895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5896 multiarch implementations.
5897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5898 (__libc_ifunc_impl_list): Likewise.
5899 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5900 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5901 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5902 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5903 multiarch wcscpy for PPC64.
5904
92cacfce
AZ
59052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5906
5907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5908 multiarch implementations.
5909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5910 (__libc_ifunc_impl_list): Likewise.
5911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5912 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5913 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5914 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5915 multiarch wcscpy for PPC64.
5916
7b714620
AZ
59172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918
5919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5920 multiarch implementations.
5921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5922 (__libc_ifunc_impl_list): Likewise.
5923 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5924 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5925 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5926 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5927 multiarch wcsrchr for PPC64.
5928
16fd2ae3
AZ
59292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930
5931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5932 multiarch implementations.
5933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5934 (__libc_ifunc_impl_list): Likewise.
5935 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5936 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5937 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5938 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5939 multiarch wcschr for PPC64.
5940
9ee2969b
AZ
59412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
5943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5944 multiarch implementations.
5945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5946 (__libc_ifunc_impl_list): Likewise.
5947 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5948 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5949 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5950 multiarch strchrnul for PPC64.
5951
372dc060
AZ
59522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5953
5954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5955 implementations.
5956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5957 (__libc_ifunc_impl_list): Likewise.
5958 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5959 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5960 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5961 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5962 strchr for PPC64.
5963
24c2c3b9
AZ
59642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965
5966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5967 implementations.
5968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5969 (__libc_ifunc_impl_list): Likewise.
5970 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5971 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5972 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5974 strncmp for PPC64.
5975
1c92d9a0
AZ
59762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5977
5978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5979 multiarch implementations.
5980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5981 (__libc_ifunc_impl_list): Likewise.
5982 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5983 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5984 strncasecmp for PPC64.
5985 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5987 multiarch strncasecmp_l for PPC64.
5988
17de3ee3
AZ
59892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990
5991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5992 multiarch implementations.
5993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5994 (__libc_ifunc_impl_list): Likewise.
5995 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5997 multiarch strcasecmp for PPC64.
5998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5999 file.
6000 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6001 multiarch strcasecmp_l for PPC64.
6002
62982bf9
AZ
60032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004
6005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6006 implementations.
6007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6008 (__libc_ifunc_impl_list): Likewise.
6009 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6010 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6011 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6012 strnlen for PPC64.
6013
a65f4904
AZ
60142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015
6016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6017 implementations.
6018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6019 (__libc_ifunc_impl_list): Likewise.
6020 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6022 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6023 strlen for PPC64.
6024
1fd005ad
AZ
60252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6028 implementations.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6034 rawmemrchr for PPC64.
6035
cd05ba91
AZ
60362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
6038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6039 implementation.
6040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6041 (__libc_ifunc_impl_list): Likewise.
6042 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6044 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6045 memrchr for PPC64.
6046
870f8676
AZ
60472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048
6049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6050 implementation.
6051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6052 (__libc_ifunc_impl_list): Likewise.
6053 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6055 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6056 memchr for PPC64.
6057
f00be62b
AZ
60582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059
6060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6061 implementation.
6062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6063 (__libc_ifunc_impl_list): Likewise.
6064 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6067 mempcpy for PPC64.
6068
8a29a3d0
AZ
60692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070
6071 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6072 avoid cretion of __bzero symbol.
6073 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6074 Likewise.
6075 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6076 Likewise.
6077 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6078 Likewise.
6079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6080 multiarch implementations.
6081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6086 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6087 bzero for PPC32.
6088 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6089 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6090 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6091 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6092 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6093 memset for PPC64.
6094 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6095
07253fcf
AZ
60962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6097
6098 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6100 implementations.
6101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Likewise.
6103 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6104 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6106 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6107 memcmp for PPC64.
6108
b5beafbc
AZ
61092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110
6111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6112 multiarch for POWER/PPC64.
6113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6114 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6119 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6120 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6121 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6122 memcpy for PPC64.
6123
5e6a4d4b
AZ
61242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
6126 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6127 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6128 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6129 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6130 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6131 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6132 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6133 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6134 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6135 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6136 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6137 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6138 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6139 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6140 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6148
ddfab6dc
KK
61492013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6150
6151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6152
19b5525e
SP
61532013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6154
6155 * benchtests/Makefile (bench): Add exp2 and log2.
6156 (LDLIBS-bench-exp2): Add -lm.
6157 (LDLIBS-bench-log2): Likewise.
6158 * benchtests/exp2-inputs: New inputs file.
6159 * benchtests/log2-inputs: New inputs file.
6160 * benchtests/log-inputs: Add new inputs.
6161 * benchtests/tan-inputs: Likewise.
6162
196f7f5d
SP
61632013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6164
7a74607f
SP
6165 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6166 definition...
6167 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6168 csloww1, csloww2): ... from here.
6169
196f7f5d
SP
6170 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6171 instead of structures.
6172 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6173 (POLYNOMIAL): Likewise.
6174 (TAYLOR_SLOW): Likewise.
6175 (__sin): Likewise.
6176 (__cos): Likewise.
6177 (slow1): Likewise.
6178 (slow2): Likewise.
6179 (sloww): Likewise.
6180 (sloww1); Likewise.
6181 (sloww2): Likewise.
6182 (bsloww1): Likewise.
6183 (bsloww2): Likewise.
6184 (cslow2): Likewise.
6185 (csloww): Likewise.
6186 (csloww1): Likewise.
6187 (csloww2): Likewise.
6188
0dfa665c
OB
61892013-12-10 Ondřej Bílka <neleai@seznam.cz>
6190
6191 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6192 (__malloc_assert, __libc_realloc, __libc_calloc,
6193 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6194 memcpy and memset.
6195 * malloc/hooks.c (realloc_check): Likewise.
6196
5782a80f
OB
61972013-12-10 Ondřej Bílka <neleai@seznam.cz>
6198
6199 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6200 * malloc/arena.c: Remove PER_THREAD conditional.
6201 [!PER_THREAD]: Remove code.
6202 (ptmalloc_unlock_all2): Likewise.
6203 (ptmalloc_init): Likewise.
6204 (_int_new_arena): Likewise.
6205 (arena_get2): Likewise.
6206 * malloc/hooks.c (__malloc_get_state): Likewise.
6207 (__malloc_set_state): Likewise.
6208 * malloc/malloc.c: Likewise.
6209 (struct malloc_state): Likewise.
6210 (struct malloc_par): Likewise.
6211 (__libc_realloc): Likewise.
6212 (__libc_mallopt): Likewise.
6213
aeb95445
AZ
62142013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6217
e8349efd
OB
62182013-12-09 Ondřej Bílka <neleai@seznam.cz>
6219
6220 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6221 macro to a function. Check for zero perturb_byte.
6222 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6223
f3eeb3fc
OB
62242013-12-09 Ondřej Bílka <neleai@seznam.cz>
6225
6226 * malloc/malloc.c: (force_reg): Remove.
6227 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6228 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6229 force_reg by atomic_forced_read.
6230 * malloc/arena.c (ptmalloc_init): Likewise.
6231 * malloc/hooks.c (top_check): Likewise.
6232
be2f9009
AZ
62332013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234
6235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6236
e7b914bd
MT
62372013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6238
6239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6240
9f0be4f8
JM
62412013-12-08 Joseph Myers <joseph@codesourcery.com>
6242
6243 * math/auto-libm-test-in: Add tests of lgamma.
6244 * math/auto-libm-test-out: Regenerated.
6245 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6246 (M_LOG_2_SQRT_PIl): Likewise.
6247 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6248 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6249 mpfr_f_f1.
6250 (func_calc_desc): Add mpfr_f_f1 union field.
6251 (ARGS1): New macro.
6252 (ARGS2): Likewise.
6253 (ARGS3): Likewise.
6254 (ARGS4): Likewise.
6255 (RET1): Likewise.
6256 (RET2): Likewise.
6257 (CALC): Likewise.
6258 (FUNC): Likewise.
6259 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6260 (test_functions): Add lgamma.
6261 (calc_generic_results): Handle mpfr_f_f1.
6262 * sysdeps/i386/fpu/libm-test-ulps: Update.
6263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6264
24eeafdb
AZ
62652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
6267 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6268 __mpn_add_n for PowerPC64/POWER7.
6269 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6270 __mpn_sub_n for PowerPC64/POWER7.
6271
4a2c0fd4
AZ
62722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6273
6274 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6275 __mpn_addmul_1 for PowerPC64.
6276 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6277 __mpn_submul_1 for PowerPC64.
6278 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6279 for PowerPC64.
6280 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6281 for PowerPC64.
6282
4b5b548c
FS
62832013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6284
6285 [BZ #15089]
6286 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6287
0a3ac0aa
AZ
62882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289
6290 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6291
ccdc8438
AZ
62922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6293
6294 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6295 add multiarch folders.
6296 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6297 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6298 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6299 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6300 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6301 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6302 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6303 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6304 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6305 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6306 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6313
2e973d99
AZ
63142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315
6316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6317 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6319 New file.
6320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6321 New file.
6322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6323 multiarch __ieee754_hypot for PowerPC32.
6324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6325 New file.
6326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6327 New file.
6328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6329 multiarch __ieee754_hypotf for PowerPC32.
6330
2d9470b2
AZ
63312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6334 long_double_symbol only if __logbl is defined.
6335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6336 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6338 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6340 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6342 path for implementation.
6343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6346 logb, and logbl multiarch implementations for PowerPC32.
6347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6348 file.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6350 file.
6351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6352 multiarch logb for PowerPC32.
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6354 file.
6355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6356 file.
6357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6358 multiarch logbf for PowerPC32.
6359 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6361 file.
6362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6363 multiarch logbl implementation for PowerPC32.
6364
5212ffce
AZ
63652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6368 and modff multiarch implementations.
6369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6370 New file.
6371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6372 New file.
6373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6374 multiarch modf for PowerPC32.
6375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6376 New file.
6377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6378 New file.
6379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6380 multiarch modff for PowerPC32.
6381
79dccf31
AZ
63822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383
6384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6385 and lrintf multiarch implementations.
6386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6387 New file.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6389 New file.
6390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6391 multiarch lrint for PowerPC32.
6392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6393 file: multiarch lrintf for PowerPC32.
6394
deb66480
AZ
63952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6398 and lroundf multiarch implementations.
6399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6400 New file.
6401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6402 New file.
6403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6404 New file.
6405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6406 multiarch lround for PowerPC32.
6407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6408 file: multiarch lroundf for PowerPC32.
6409
264b036b
AZ
64102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6411
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6413 copysign and copysignf multiarch implementations.
6414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6415 New file.
6416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6417 New file.
6418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6419 file: multiarch copysign for PowerPC32.
6420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6421 file: multiarch copysignf for PowerPC32.
6422
d47db6c9
AZ
64232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6424
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6426 and truncf multiarch implementations.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6428 New file.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6430 file.
6431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6432 multiarch trunc for PowerPC32.
6433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6434 New file.
6435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6436 New file.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6438 multiarch truncf for PowerPC32.
6439
ddb60b5a
AZ
64402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441
6442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6443 and roundf multiarch implementations.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6445 New file.
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6447 file.
6448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6449 multiarch round for PowerPC32.
6450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6451 New file.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6453 New file.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6455 multiarch roundf for PowerPC32.
6456
bedcf49b
AZ
64572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6460 and floorf multiarch implementations.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6462 New file.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6464 file.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6466 multiarch floor for PowerPC32.
6467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6468 New file.
6469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6470 New file.
6471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6472 multiarch floorf for PowerPC32.
6473
35ae5b40
AZ
64742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6477 and ceilf multiarch implementations.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6479 New file.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6481 file.
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6483 multiarch ceil for PowerPC32.
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6485 New file.
6486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6487 file.
6488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6489 multiarch ceilf for PowerPC32.
6490
ae1a4cd9
AZ
64912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6492
6493 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6494 is defined.
6495 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6496 FINITEF is defined.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6498 and finitef multiarch implementations.
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6500 New file.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6502 file.
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6504 multiarch finite for PowerPC32.
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6506 New file.
6507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6508 file: multiarch finitef for PowerPC32.
6509
64fffd65
AZ
65102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6511
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6513 and isinff multiarch implementations.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6515 file.
6516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6517 file.
6518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6519 multiarch isinf for PowerPC32.
6520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6521 New file.
6522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6523 multiarch isinff for PowerPC32.
6524
8e4e7ba2
AZ
65252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526
6527 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6528 alias when __isnan is defined.
6529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6530 and isnanf multiarch implementations.
6531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6532 file.
6533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6534 file.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6536 file.
6537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6538 file.
6539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6540 multiarch isnan for PowerPC32.
6541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6542 New file.
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6544 New file.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6546 multiarch isnanf for PowerPC32.
6547
ddba588e
AZ
65482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6549
6550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6551 and sqrtf multiarch implementations.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6553 file.
6554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6555 file.
6556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6557 multiarch sqrt for PowerPC32.
6558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6559 file.
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6561 file.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6563 multiarch sqrtf for PowerPC32.
6564
0f96a2f0
AZ
65652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566
6567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6568 and llroundf multiarch implementations.
6569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6570 New file.
6571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6572 New file.
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6574 New file.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6576 file: multiarch llround for PowerPC32.
6577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6578 file: multiarch llroundf for PowerPC32.
6579
c9b5d79e
AZ
65802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581
6582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6583 multiarch PowerPC32 fpu implementations.
6584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6585 New file.
6586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6587 New file.
6588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6589 multiarch llrint for PowerPC32.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6591 New file.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6593 New file.
6594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6595 file.
6596
9cbb3aab
AZ
65972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6600
ea5a72f8
AZ
66012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602
6603 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6604 file.
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6610 multiarch wordcopy for PPC32.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6612 wordcopy objects.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6614 (__libc_ifunc_impl_list): Likewise.
6615 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6616 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6617 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6618 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6620 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6621
93be09e7
AZ
66222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6626 file.
6627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6628 file.
6629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6630 file.
6631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6632 multiarch wcscpy for PPC32.
6633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6634 multiarch objects.
6635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6636 (__libc_ifunc_impl_list): Likewise.
6637 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6638 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6639 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6640 sysdeps/powerpc/power6/wcscpy.c.
6641
bb04e529
AZ
66422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643
6644 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6646 file.
6647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6648 file.
6649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6650 file.
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6652 multiarch wcsrchr for PPC32.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6654 multiarch objects.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6656 (__libc_ifunc_impl_list): Likewise.
6657 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6658 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6659 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6660 sysdeps/powerpc/power6/wcsrchr.c.
6661
05b5cd1c
AZ
66622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6665 file.
6666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6667 file.
6668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6670 multiarch wcschr for PPc32.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6672 multiarch objects.
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6674 (__libc_ifunc_impl_list): Likewise.
6675 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6676 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6677 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6678 sysdeps/powerpc/power6/wcschr.c.
6679
ba964147
AZ
66802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6681
6682 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6683 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6684 file.
6685 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6686 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6687 file: multiarch strchr for PPC32.
6688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6689 multiarch objects.
6690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6691 (__libc_ifunc_impl_list): Likewise.
6692
31c81aaa
AZ
66932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694
6695 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6696 name.
6697 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6698 file.
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6700 file.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6702 multiarch strchrnul for PPC32.
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6704 multiarch objects.
6705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6706 (__libc_ifunc_impl_list): Likewise.
6707
0d0607d9
AZ
67082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6709
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6711 file.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6713 multiarch strncasecmp for PPC32.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6715 file.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6717 multiarch strncasecmp_l for PPC32.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6719 strncasecmp multiarch objects.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6721 (__libc_ifunc_impl_list): Likewise.
6722
4dfd5c86
AZ
67232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724
6725 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6726 file.
6727 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6728 multiarch strncasecmp for PPC32.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6730 New file.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6732 multiarch strcasecmp_l for PPC32.
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6734 multiarch objects.
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6736 (__libc_ifunc_impl_list): Likewise.
6737
a19e01a3
AZ
67382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6739
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6741 file.
6742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6743 file.
6744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6745 multiarch strncmp for PPC32.
6746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6747 multiarch objects.
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6749 (__libc_ifunc_impl_list): Likewise.
6750
ae9cf7a2
AZ
67512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6752
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6754 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6755 file.
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6759 multiarch objects.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6761 (__libc_ifunc_impl_list): Likewise.
6762
3148bb7d
AZ
67632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6766 file.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6768 file.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6771 multiarch objects.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6773 (__libc_ifunc_impl_list): Likewise.
6774
7af8b946
AZ
67752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6776
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6778 file.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6780 file.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6782 multiarch rawmemchr for PPC32.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6784 multiarch objects.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6786 (__libc_ifunc_impl_list): Likewise.
6787
03a6aa6a
AZ
67882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6791 file.
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6793 file.
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6795 file: memrchr multiarch for PPC32.
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6797 multiarch objects.
6798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6799 (__libc_ifunc_impl_list): Likewise.
6800
1c62e6d9
AZ
68012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802
6803 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6805 file.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6807 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6808 multiarch memchr for PPC32.
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6810 multiarch objects.
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6812 (__libc_ifunc_impl_list): Likewise.
6813
87da8bdb
AZ
68142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815
6816 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6818 file.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6820 file.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6822 file: multiarch mempcpy for PPC32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6824 multiarch objects.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6826 (__libc_ifunc_impl_list): Likewise.
6827
20ed4714
AZ
68282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6833 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6834 multiarch bzero for PPC32.
6835 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6836 file.
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6838 file.
6839 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6840 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6841 file: multiarch memset for PPC32.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6844 memset multiarch objects.
6845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6846 (__libc_ifunc_impl_list): Likewise.
6847
ab3e3a46
AZ
68482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6851 file.
6852 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6854 memcmp for PPC32.
6855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6857 multiarch objects.
6858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6859 (__libc_ifunc_impl_list): Likewise.
6860
930de6f0
AZ
68612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6862
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6864 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6866 file.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6868 file.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6870 file.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6872 multiarch memcpy for PPC32.
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6874 multiarch objects.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6876 (__libc_ifunc_impl_list): Likewise.
6877
4c628e00
AZ
68782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6879
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6881 support multiarch for POWER/PPC32.
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6883 Likewise.
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6886 Implies file to make multiarch folder appers before the fpu and
6887 default folder for power4 configuration.
6888
f4479220
SP
68892013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6890
6891 * scripts/bench.pl: Append volatile keyword to type.
6892
8517800f
KK
68932013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6894
6895 * sysdeps/sh/sotruss-lib.c: New file.
6896 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6897
180138f1
AZ
68982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6901
bbf37bdc
JM
69022013-12-05 Joseph Myers <joseph@codesourcery.com>
6903
e47cc4e0
JM
6904 [BZ #6810]
6905 * math/w_tgamma.c: Include <errno.h>.
6906 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6907 * math/w_tgammaf.c: Include <errno.h>.
6908 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6909 * math/w_tgammal.c: Include <errno.h>.
6910 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6911 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6912 underflow. Add more tgamma tests.
6913 * math/auto-libm-test-out: Regenerated.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916
bbf37bdc
JM
6917 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6918 sin, sinh, tan, tanh, tgamma, y0 and y1.
6919 * math/auto-libm-test-out: Regenerated.
6920 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6921 (TEST_COND_x86): Likewise.
6922 (M_E2l): Remove macro.
6923 (M_E3l): Likewise.
6924 (M_2_SQRT_PIl): Likewise.
6925 (M_SQRT_PIl): Likewise.
6926 (M_1_DIV_El): Likewise.
6927 (log_test_data): Use AUTO_TESTS_f_f.
6928 (log10_test_data): Likewise.
6929 (log1p_test_data): Likewise.
6930 (log2_test_data): Likewise.
6931 (sin_test_data): Likewise.
6932 (sin_tonearest_test_data): Likewise.
6933 (sin_towardzero_test_data): Likewise.
6934 (sin_downward_test_data): Likewise.
6935 (sin_upward_test_data): Likewise.
6936 (sinh_test_data): Likewise.
6937 (sinh_tonearest_test_data): Likewise.
6938 (sinh_towardzero_test_data): Likewise.
6939 (sinh_downward_test_data): Likewise.
6940 (sinh_upward_test_data): Likewise.
6941 (tan_test_data): Likewise.
6942 (tan_tonearest_test_data): Likewise.
6943 (tan_towardzero_test_data): Likewise.
6944 (tan_downward_test_data): Likewise.
6945 (tan_upward_test_data): Likewise.
6946 (tanh_test_data): Likewise.
6947 (tgamma_test_data): Likewise.
6948 (y0_test_data): Likewise.
6949 (y1_test_data): Likewise.
6950 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6951 (special_real_inputs): Add pi/4.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954
eb5ad6b9
AZ
69552013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956
6957 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6958 "longjmp_target" static probes.
6959 (__longjmp): Rename to __longjmp_symbol.
6960 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6961 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6962 on which longjmp to generate.
6963 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6964 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6965 probe.
6966 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6967 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6968 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6969 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6970 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6971 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6973 __longjmp_symbol based on which __longjmp to generate.
6974 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6975 probe.
6976 (setjmp): Rename to setjmp_symbol.
6977 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6978 (_setjmp): Rename to _setjmp_symbol.
6979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6980 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6981 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6982 which setjmp to generate.
6983 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6984 "longjmp_target" static probes.
6985
d136c6dc
SP
69862013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6987
9298ecba
SP
6988 * benchtests/README: Add note about output arguments.
6989 * benchtests/bench-sincos.c: Remove file.
6990 * benchtests/sincos-inputs: New file.
6991 * scripts/bench.pl: Identify output arguments and define
6992 static variables for them.
6993
232983e9
SP
6994 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6995
d136c6dc
SP
6996 [BZ #15941]
6997 * Makefile (INSTALL): Add install-plain.texi as the primary
6998 dependency.
6999 * manual/install-plain.texi: New file.
7000 * manual/install.texi: Include node directive only for
7001 non-plaintext output.
7002
699ff837
JM
70032013-12-04 Joseph Myers <joseph@codesourcery.com>
7004
ab07cea8
JM
7005 * stdlib/longlong.h: Update from GCC.
7006
699ff837
JM
7007 [BZ #6807]
7008 [BZ #15901]
7009 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7010 * math/w_j0f.c (y0f): Likewise.
7011 * math/w_j0l.c (__y0l): Likewise.
7012 * math/w_j1.c (y1): Likewise.
7013 * math/w_j1f.c (y1f): Likewise.
7014 * math/w_j1l.c (__y1l): Likewise
7015 * math/w_jn.c (yn): Likewise.
7016 * math/w_jnf.c (ynf): Likewise.
7017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7018 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7019 value for Bessel function domain errors outside _SVID_ mode.
7020 Adjust sign of return value for yn (negative integer, 0).
7021 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7022 by zero in return for negative x and set sign appropriately for
7023 negative n.
7024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7025 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7026 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7027 expectations in error cases.
7028 (y1_test_data): Likewise.
7029 (yn_test_data): Likewise.
7030 * sysdeps/i386/fpu/libm-test-ulps: Update.
7031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7032
5b118558
UW
70332013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7034
7035 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7036 "64" to "64-v1". Add "64-v2".
7037 (abi-64-options): Rename to ...
7038 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7039 (abi-64-condition): Rename to ...
7040 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7041 (abi-64-ld-soname): Rename to ...
7042 (abi-64-v1-ld-soname): ... this.
7043 (abi-64-v2-options): Define.
7044 (abi-64-v2-condition): Likewise.
7045 (abi-64-v2-ld-soname): Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7047 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7051
61cd8fe4
UW
70522013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7053 Alan Modra <amodra@gmail.com>
7054
7055 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7056 New versions for use with the ELFv2 ABI.
7057 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7058 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7059 declaration.
7060 (struct La_ppc64v2_retval): Likewise.
7061 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7062 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7063 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7064 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7065 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7066 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7067 Do not save or restore CR.
7068 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7069 (_dl_profile_resolve): Do no save or restore CR. Support extended
7070 return values for ELFv2 ABI. Fix location of FPR return registers.
7071 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7072 updated values for _CALL_ELF == 2.
7073 (La_regs, La_retval, int_retval): Likewise.
7074
8b8a692c
UW
70752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7076
7077 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7078 (FRAME_MIN_SIZE_PARM): Likewise.
7079 (FRAME_BACKCHAIN): Likewise.
7080 (FRAME_CR_SAVE): Likewise.
7081 (FRAME_LR_SAVE): Likewise.
7082 (FRAME_TOC_SAVE): Likewise.
7083 (FRAME_PARM_SAVE): Likewise.
7084 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7085 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7086 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7087 (call_mcount_parm_offset): New macro.
7088 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7089 (PROF): Use symbolic stack frame offsets.
7090 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7092 Redefine in terms of FRAME_MIN_SIZE.
7093 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7094 (_dl_profile_resolve): Likewise. Update comment.
7095 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7096 symbols stack frame offsets.
7097 (__sigsetjmp): Likewise.
7098 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7099 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7100 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7101 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7102
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7104 (FRAME_BACKCHAIN): Remove.
7105 (FRAME_CR_SAVE): Likewise.
7106 (FRAME_LR_SAVE): Likewise.
7107 (FRAME_COMPILER_DW): Likewise.
7108 (FRAME_LINKER_DW): Likewise.
7109 (FRAME_TOC_SAVE): Likewise.
7110 (FRAME_PARM_SAVE): Likewise.
7111 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7112 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7113 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7115 (CHECK_SP): Use symbolic stack frame offsets.
7116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7117 zone" instead of caller's parameter save area for temp storage.
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7119 Likewise. Also, use symbolic stack frame offsets.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7121 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7122 our own stack frame instead of the caller's.
7123 (__socket): Use symbolic stack frame offsets.
7124
122b66de
UW
71252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7126 Alan Modra <amodra@gmail.com>
7127
7128 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7129 Define.
7130 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7131 PPC64_LOCAL_ENTRY_OFFSET): Define.
7132 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7133 New function.
7134 (elf_machine_fixup_plt): Call it.
7135 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7136 reloc arguments.
7137 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7139 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7140 r2 before calling target.
7141
696caf1d
UW
71422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7143 Alan Modra <amodra@gmail.com>
7144
7145 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7146 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7147 versions of macros to support ELFv2 ABI.
7148 (LOCALENTRY): New macro.
7149 (ENTRY, EALIGN): Use it.
7150 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7151 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7152 fall through into ENTRY entry point.
7153 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7154 Only define if _CALL_ELF != 2.
7155
7156 (elf_machine_matches_host): Verify ABI version matches.
7157 (RTLD_START): Use LOCALENTRY.
7158 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7159 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7160 (PLT_ENTRY_WORDS): New macro.
7161 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7162 (elf_machine_runtime_setup): Support ELFv2 ABI.
7163 (elf_machine_fixup_plt): Likewise.
7164 (elf_machine_plt_conflict): Likewise.
7165 (resolve_ifunc): Likewise.
7166 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7168 Likewise.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7170 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7172 (makecontext): Support ELFv2 ABI.
7173 * elf/elf.h (EF_PPC64_ABI): Define.
7174
d31beafa
UW
71752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7176
7177 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7178 New assembler macro.
7179 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7180 [ASSEMBLER] (ENTRY): ... but instead here ...
7181 [ASSEMBLER] (EALIGN): ... and here.
7182 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7183 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7184 [!ASSEMBLER] (ENTRY_2): Use it.
7185 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7186 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7188 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7189 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7191 Use PPC64_LOAD_FUNCPTR.
7192
b525166b
UW
71932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7194
7195 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7196
7ec07d9a
AM
71972013-12-04 Alan Modra <amodra@gmail.com>
7198
7199 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7200 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7201 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7202 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7203
7204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7205 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7206 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7207 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7208 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7209 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7210
5162e7dd
UW
72112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7212
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7214 (__makecontext): Fix incorrect CFI when backtracing out of
7215 context created via makecontext.
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7217 (__setcontext): Fix incorrect CFI during switch to new context.
7218 (__novec_setcontext): Likewise.
7219
19e3372b
OB
72202013-12-04 Ondřej Bílka <neleai@seznam.cz>
7221
7222 [BZ #4772]
7223 * time/strptime_l.c (__strptime_internal): Allow modifiers
7224 in strptime.
7225 * time/tst-strptime.c (day_tests): Add testcase.
7226
7227
ecaf142d
SP
72282013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 * scripts/bench.pl: Skip over blank lines.
7231
fbf964ae
PE
72322013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7233
7234 [BZ #926]
7235 * manual/time.texi (Calendar Time): Clarify what timezone functions
7236 use.
7237
fa60a674
AZ
72382013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7241
d674f0ef
OB
72422013-12-04 Ondřej Bílka <neleai@seznam.cz>
7243
7244 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7245 implementation.
7246 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7247 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7248 * debug/memset_chk.c (__memset_chk): Likewise.
7249 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7250 * debug/strncpy_chk.c: Likewise.
7251
17dea188
JM
72522013-12-03 Joseph Myers <joseph@codesourcery.com>
7253
749008ff
JM
7254 [BZ #15268]
7255 [BZ #15425]
7256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7257 (__ieee754_exp): For possibly underflowing results, check size of
7258 result and force underflow exception if required.
7259 * math/auto-libm-test-in: Add more tests of exp.
7260 * math/auto-libm-test-out: Regenerated.
7261 * sysdeps/i386/fpu/libm-test-ulps: Update.
7262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7263
17dea188
JM
7264 [BZ #16283]
7265 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7266 * math/w_exp2f.c (__exp2f): Likewise.
7267 * math/w_exp2l.c (__exp2l): Likewise.
7268 * math/auto-libm-test-in: Do not allow missing errno on exp2
7269 underflow.
7270 * math/auto-libm-test-out: Regenerated.
7271
b20de2c3
OB
72722013-12-03 Ondřej Bílka <neleai@seznam.cz>
7273
7274 [BZ #16274]
7275 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7276 handle filename validation.
7277 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7278 (do_open): Delete.
7279
d8e2dbe3
JM
72802013-12-03 Joseph Myers <joseph@codesourcery.com>
7281
34e16df5
JM
7282 [BZ #6786]
7283 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7284 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7285 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7286 <float.h>.
7287 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7289 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7291 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7292 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7293 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7294 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7295 Add more erfc tests.
7296 * math/auto-libm-test-out: Regenerated.
7297 * sysdeps/i386/fpu/libm-test-ulps: Update.
7298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299
d8e2dbe3
JM
7300 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7301 exp2, expm1, j0 and j1.
7302 * math/auto-libm-test-out: Regenerated.
7303 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7304 (erfc_test_data): Likewise.
7305 (exp_test_data): Likewise.
7306 (exp_tonearest_test_data): Likewise.
7307 (exp_towardzero_test_data): Likewise.
7308 (exp_downward_test_data): Likewise.
7309 (exp_upward_test_data): Likewise.
7310 (exp10_test_data): Likewise.
7311 (exp2_test_data): Likewise.
7312 (expm1_test_data): Likewise.
7313 (j0_test_data): Likewise.
7314 (j1_test_data): Likewise.
7315 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7316 (input_flag_type): Add flag_xfail_rounding.
7317 (input_flags): Add xfail-rounding.
7318 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7319 (output_for_one_input_case): Handle flag_xfail_rounding.
7320 * sysdeps/i386/fpu/libm-test-ulps: Update.
7321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7322
18d14251
AJ
73232013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7324
3d2e6075 7325 [BZ #16289]
18d14251
AJ
7326 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7327 division by 0.
7328
520d437b
SP
73292013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7330
7331 [BZ #16195]
7332 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7333 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7334 (STAP_PROBE0): New macro.
7335 (STAP_PROBE1): Likewise.
7336 (STAP_PROBE2): Likewise.
7337 (STAP_PROBE3): Likewise.
7338 (STAP_PROBE4): Likewise.
7339
416e0145
OB
73402013-12-02 Ondřej Bílka <neleai@seznam.cz>
7341
7342 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7343
9d17796a
SE
73442013-12-02 Steve Ellcey <sellcey@mips.com>
7345
7346 * benchtests/Makefile (bench): Add sqrt.
7347 (LDLIBS-bench-sqrt): New.
7348 * benchtests/sqrt-input: New.
7349
f524d6a8
PS
73502013-12-02 Pavel Simerda <psimerda@redhat.com>
7351
639a0ef8
PS
7352 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7353 (GAIH_EAI): Likewise.
7354 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7355 (gaih_inet): Likewise.
7356 (getaddrinfo): Don't use GAIH_EAI.
7357
f524d6a8
PS
7358 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7359 (struct gaih): Remove definition.
7360
df3aedaf
SP
73612013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7362
7363 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7364 Use HERRNOP directly.
7365
1ab19dec
AZ
73662013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
b42ad38d 7368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7369
176b0c79
JM
73702013-11-30 Joseph Myers <joseph@codesourcery.com>
7371
7372 * math/gen-auto-libm-tests.c (test_functions): Add more
7373 single-argument functions.
7374 (special_fill_pi_2): New function.
7375 (special_fill_minus_pi_2): Likewise.
7376 (special_fill_pi_6): Likewise.
7377 (special_fill_minus_pi_6): Likewise.
7378 (special_fill_pi_3): Likewise.
7379 (special_fill_2pi_3): Likewise.
7380 (special_fill_e): Likewise.
7381 (special_fill_1_e): Likewise.
7382 (special_fill_e_minus_1): Likewise.
7383 (special_real_inputs): Add more special inputs.
7384 (output_for_one_input_case): Do not require ERANGE on underflow to
7385 zero if round-to-nearest result does not underflow to zero, unless
7386 exact results required.
7387 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7388 atan, atanh, cbrt, cos and cosh.
7389 * math/auto-libm-test-out: Regenerated.
7390 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7391 (acos_tonearest_test_data): Likewise.
7392 (acos_towardzero_test_data): Likewise.
7393 (acos_downward_test_data): Likewise.
7394 (acos_upward_test_data): Likewise.
7395 (acosh_test_data): Likewise.
7396 (asin_test_data): Likewise.
7397 (asin_tonearest_test_data): Likewise.
7398 (asin_towardzero_test_data): Likewise.
7399 (asin_upward_test_data): Likewise.
7400 (asinh_test_data): Likewise.
7401 (atan_test_data): Likewise.
7402 (atanh_test_data): Likewise.
7403 (cbrt_test_data): Likewise.
7404 (cos_test_data): Likewise.
7405 (cos_tonearest_test_data): Likewise.
7406 (cos_towardzero_test_data): Likewise.
7407 (cos_downward_test_data): Likewise.
7408 (cos_upward_test_data): Likewise.
7409 (cosh_test_data): Likewise.
7410 (cosh_tonearest_test_data): Likewise.
7411 (cosh_towardzero_test_data): Likewise.
7412 (cosh_downward_test_data): Likewise.
7413 (cosh_upward_test_data): Likewise.
7414 * sysdeps/i386/fpu/libm-test-ulps: Update.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7416
ffb536d0
JM
74172013-11-29 Joseph Myers <joseph@codesourcery.com>
7418
2a77a467
JM
7419 [BZ #6787]
7420 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7421 * math/w_exp10f.c (__exp10f): Likewise.
7422 * math/w_exp10l.c (__exp10l): Likewise.
7423 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7424 errno settings in existing tests.
7425
ea3bc4e8
JM
7426 [BZ #14032]
7427 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7428 precision control set to double precision.
7429 * sysdeps/i386/fpu/w_sqrt.c: New file.
7430 * math/auto-libm-test-in: Add more tests.
7431 * math/auto-libm-test-out: Update.
7432
0712c9d8
JM
7433 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7434 (sqrt_test_tonearest): New function.
7435 (sqrt_towardzero_test_data): New variable.
7436 (sqrt_test_towardzero): New function.
7437 (sqrt_downward_test_data): New variable.
7438 (sqrt_test_downward): New function.
7439 (sqrt_upward_test_data): New variable.
7440 (sqrt_test_upward): New function.
7441 (main): Call the new functions.
7442
ffb536d0
JM
7443 * math/gen-auto-libm-tests.c: New file.
7444 * math/auto-libm-test-in: Likewise.
7445 * math/auto-libm-test-out: New generated file.
7446 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7447 variables.
7448 (%beautify): Add generated representations of zero.
7449 (top level): Set $auto_input and call parse_auto_input.
7450 (beautify): Remove trailing "f" from hex float constants.
7451 (parse_args): Handle XFAIL_TEST.
7452 (convert_condition): New function.
7453 (or_value): Likewise.
7454 (or_cond_value): Likewise.
7455 (generate_testfile): Handle AUTO_TESTS_* lines.
7456 (parse_auto_input): New function.
7457 * math/libm-test.inc (XFAIL_TEST): New macro.
7458 (ERRNO_UNCHANGED): Update value.
7459 (ERRNO_EDOM): Likewise.
7460 (ERRNO_ERANGE): Likewise.
7461 (IGNORE_RESULT): Likewise.
7462 (TEST_COND_flt_32): New macro.
7463 (TEST_COND_dbl_64): Likewise.
7464 (TEST_COND_ldbl_96_intel): Likewise.
7465 (TEST_COND_ldbl_96_m68k): Likewise.
7466 (TEST_COND_ldbl_128): Likewise.
7467 (TEST_COND_ldbl_128ibm): Likewise.
7468 (TEST_COND_long32): Likewise.
7469 (TEST_COND_long64): Likewise.
7470 (TEST_COND_before_rounding): Likewise.
7471 (TEST_COND_after_rounding): Likewise.
7472 (enable_test): Handle XFAIL_TEST flag.
7473 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7474 with finite results.
7475 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7476 auto-libm-test-out.
7477
acd98a8e
AK
74782013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7479 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7480
7481 [BZ #16214]
7482 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7483 __tls_get_addr_internal instead of __tls_get_offset in order to
7484 avoid GOT pointer dependency. Make rtld export
7485 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7486 __tls_get_addr since we are a __tls_get_offset platform.
7487 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7488 GOT pointer being set up before.
7489 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7490
3c1c46a6
JM
74912013-11-28 Joseph Myers <joseph@codesourcery.com>
7492
7475aef5
JM
7493 * manual/math.texi (Errors in Math Functions): Document accuracy
7494 goals.
7495
8bca7cd8
JM
7496 [BZ #15004]
7497 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7498 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7501 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7503 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7513
91a1f3fe
JM
7514 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7515 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7516 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7517 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7518 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7519 Likewise.
7520 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7521 Likewise.
7522 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7523 Likewise.
7524 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7525 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7526 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7527 atomic-feupdateenv and flt-rounds.
7528 * sysdeps/powerpc/nofpu/Versions (libc): Add
7529 __atomic_feholdexcept, __atomic_feclearexcept,
7530 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7531 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7532 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7533 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7534 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7535 here.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7537 Update.
7538
c5df7609
JM
7539 * manual/arith.texi (FP Exceptions): Document that exceptions may
7540 not be raised when matherr is used.
7541 (Math Error Reporting): Document overflow in directed rounding
7542 modes. Document that errno may not be set when finite values are
7543 returned on overflow. Document intent to set errno on underflow
7544 only for underflow to zero.
7545
3c1c46a6
JM
7546 [BZ #16271]
7547 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7548 round-to-nearest then adjust result for other rounding modes.
7549 * include/fenv.h (fegetround): Use libm_hidden_proto.
7550 * math/fegetround.c (fegetround): Use libm_hidden_def.
7551 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7552 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7553 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7554 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7555 Likewise.
7556 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7557 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7558 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7559 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7560
5a4c6d53
SP
75612013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7562
7563 [BZ #16077]
7564 * nss/Versions (libnss_files): Add
7565 _nss_files_gethostbyname3_r.
7566 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7567 New function.
7568 (HOST_DB_LOOKUP): Remove macro.
7569 (_nss_files_gethostbyname_r): Implement function without the
7570 HOST_DB_LOOKUP macro.
7571 (_nss_files_gethostbyname2_r): Likewise.
7572
897b98ba
OB
75732013-11-28 Ondřej Bílka <neleai@seznam.cz>
7574
7575 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7576
6f476861
UB
75772013-11-26 Uros Bizjak <ubizjak@gmail.com>
7578
7579 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7580 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7581 warning.
7582
bd12ab55
AZ
75832013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7584
7585 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7586 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7587 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7588 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7589 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7590 __fe_nomask_env_priv and attribute_hidden.
7591 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7592 (libc_feupdateenv_test_ppc): Likewise.
7593 (libc_feresetround_ppc): Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7595 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7596 compat_symbol macro.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7598 (__fe_nomask_env): Likewise.
7599 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7600
52bb6543
OB
76012013-11-26 Ondřej Bílka <neleai@seznam.cz>
7602
7603 * string/Makefile: Remove ifunc tests.
7604 * string/test-string.h: Define TEST_IFUNC.
7605 * string/test-bcopy-ifunc.c: Remove.
7606 * string/test-bzero-ifunc.c: Likewise.
7607 * string/test-memccpy-ifunc.c: Likewise.
7608 * string/test-memchr-ifunc.c: Likewise.
7609 * string/test-memcmp-ifunc.c: Likewise.
7610 * string/test-memcpy-ifunc.c: Likewise.
7611 * string/test-memmem-ifunc.c: Likewise.
7612 * string/test-memmove-ifunc.c: Likewise.
7613 * string/test-mempcpy-ifunc.c: Likewise.
7614 * string/test-memrchr-ifunc.c: Likewise.
7615 * string/test-memset-ifunc.c: Likewise.
7616 * string/test-rawmemchr-ifunc.c: Likewise.
7617 * string/test-stpcpy-ifunc.c: Likewise.
7618 * string/test-stpncpy-ifunc.c: Likewise.
7619 * string/test-strcasecmp-ifunc.c: Likewise.
7620 * string/test-strcasestr-ifunc.c: Likewise.
7621 * string/test-strcat-ifunc.c: Likewise.
7622 * string/test-strchr-ifunc.c: Likewise.
7623 * string/test-strchrnul-ifunc.c: Likewise.
7624 * string/test-strcmp-ifunc.c: Likewise.
7625 * string/test-strcpy-ifunc.c: Likewise.
7626 * string/test-strcspn-ifunc.c: Likewise.
7627 * string/test-strlen-ifunc.c: Likewise.
7628 * string/test-strncasecmp-ifunc.c: Likewise.
7629 * string/test-strncat-ifunc.c: Likewise.
7630 * string/test-strncmp-ifunc.c: Likewise.
7631 * string/test-strncpy-ifunc.c: Likewise.
7632 * string/test-strnlen-ifunc.c: Likewise.
7633 * string/test-strpbrk-ifunc.c: Likewise.
7634 * string/test-strrchr-ifunc.c: Likewise.
7635 * string/test-strspn-ifunc.c: Likewise.
7636 * string/test-strstr-ifunc.c: Likewise.
7637
ab260039 76382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7639
7640 * benchtests/Makefile: Remove ifunc tests.
7641 * benchtests/bench-string.h: Define TEST_IFUNC.
7642 * benchtests/bench-bcopy-ifunc.c: Remove.
7643 * benchtests/bench-bzero-ifunc.c: Likewise.
7644 * benchtests/bench-memccpy-ifunc.c: Likewise.
7645 * benchtests/bench-memchr-ifunc.c: Likewise.
7646 * benchtests/bench-memcmp-ifunc.c: Likewise.
7647 * benchtests/bench-memcpy-ifunc.c: Likewise.
7648 * benchtests/bench-memmem-ifunc.c: Likewise.
7649 * benchtests/bench-memmove-ifunc.c: Likewise.
7650 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7651 * benchtests/bench-memrchr-ifunc.c: Likewise.
7652 * benchtests/bench-memset-ifunc.c: Likewise.
7653 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7654 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7655 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7656 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7657 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7658 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7659 * benchtests/bench-strcat-ifunc.c: Likewise.
7660 * benchtests/bench-strchr-ifunc.c: Likewise.
7661 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7662 * benchtests/bench-strcmp-ifunc.c: Likewise.
7663 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7664 * benchtests/bench-strcpy-ifunc.c: Likewise.
7665 * benchtests/bench-strcspn-ifunc.c: Likewise.
7666 * benchtests/bench-strlen-ifunc.c: Likewise.
7667 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7668 * benchtests/bench-strncat-ifunc.c: Likewise.
7669 * benchtests/bench-strncmp-ifunc.c: Likewise.
7670 * benchtests/bench-strncpy-ifunc.c: Likewise.
7671 * benchtests/bench-strnlen-ifunc.c: Likewise.
7672 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7673 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7674 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7675 * benchtests/bench-strspn-ifunc.c: Likewise.
7676 * benchtests/bench-strstr-ifunc.c: Likewise.
7677
76782013-11-26 Ondřej Bílka <neleai@seznam.cz>
7679
ab260039
OB
7680 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7681
d1d9eaf4 76822013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7683
d1d9eaf4
OB
7684 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7685 * rt/aio.h: Likewise.
7686 * sysdeps/gnu/bits/utmp.h: Likewise.
7687 * sysdeps/gnu/bits/utmpx.h: Likewise.
7688 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7689 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7690 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7691 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7692 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7693 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7694 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7695 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7697 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7699 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7700 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7702 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7703 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7704 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7705 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7706 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7707 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7708 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7712 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7715 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7717 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7721 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7722 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7723 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7724 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7725 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7726 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7727 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7728 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7729 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7730
a7624ed9
CD
77312013-11-25 Carlos O'Donell <carlos@redhat.com>
7732
7733 [BZ #16245]
7734 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7735 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7736
63cfe52b
JM
77372013-11-25 Joseph Myers <joseph@codesourcery.com>
7738
7739 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7740 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7741 Likewise.
7742
41e8926a
AZ
77432013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7744
7745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7746 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7747 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7748 (__fesetround): Remove define.
7749 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7750 rounding and exceptions handling.
7751 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7752 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7753 (__fe_nomask_env): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7755 __fegetround instead of fegetround.
7756 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7757 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7758
6851bd4d
RM
77592013-11-21 Roland McGrath <roland@hack.frob.com>
7760
070906ff
RM
7761 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7762 it's there.
7763
6851bd4d
RM
7764 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7765
84ae135d
MI
77662013-11-21 Meador Inge <meadori@codesourcery.com>
7767
7768 [BZ #11157]
7769 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7770 (encrypt_r): Likewise.
7771 * malloc/obstack.h (obstack_free): Likewise.
7772 * posix/unistd.h (encrypt): Likewise.
7773
daf75146
GM
77742013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7775
7776 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7777 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7778 DL_CALL_DT_FINI() that call the functions directly.
7779 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7780 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7781 * elf/dl-fini.c: Likewise.
7782
10ad46bc
OB
77832013-11-20 Ondřej Bílka <neleai@seznam.cz>
7784
7785 * malloc/hooks.c (memalign_check): Add alignment rounding.
7786 * malloc/malloc.c (_mid_memalign): New function.
7787 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7788 Implement by calling _mid_memalign.
7789 * manual/probes.texi (Memory Allocation Probes): Remove
7790 memory_valloc_retry and memory_pvalloc_retry.
7791
f3fd2628
SP
77922013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7793
4712799f
SP
7794 * locale/programs/locarchive.c (open_archive): Add const
7795 qualifier to ARCHIVEFNAME and copy default fname to
7796 DEFAULT_FNAME.
7797
0417b20f
SP
7798 [BZ #15601]
7799 * libio/tst-widetext.input: Rename Oriya to Odia.
7800 * locale/iso-639.def: Likewise.
7801
f3fd2628
SP
7802 * manual/probes.texi (Mathematical Function Probes): Add
7803 documentation for sin, cos, asin and acos probes.
7804 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7805 (__sin32): Add slowasin probe.
7806 (__cos32): Add slowacos probe.
7807 (__mpsin): Add slowsin probe.
7808 (__mpcos): Add slowcos probe.
7809
73c1ce4f
JM
78102013-11-19 Joseph Myers <joseph@codesourcery.com>
7811
7812 [BZ #15483]
7813 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7814 thread-local __sim_exceptions_thread and global
7815 __sim_exceptions_global.
7816 (__sim_disabled_exceptions): Change to thread-local
7817 __sim_disabled_exceptions_thread and global
7818 __sim_disabled_exceptions_global.
7819 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7820 and global __sim_round_mode_global.
7821 (__simulate_exceptions): Use thread-local floating-point state and
7822 set global state from it as needed.
7823 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7824 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7825 __sim_round_mode_thread.
7826 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7827 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7828 and global __sim_exceptions_global.
7829 (__sim_disabled_exceptions): Change to thread-local
7830 __sim_disabled_exceptions_thread and global
7831 __sim_disabled_exceptions_global.
7832 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7833 and global __sim_round_mode_global.
7834 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7835 (SIM_SET_GLOBAL): Likewise.
7836 * sysdeps/powerpc/soft-fp/sfp-machine.h
7837 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7838 __sim_round_mode_thread.
7839 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7840 __sim_disabled_exceptions_thread.
7841 (__sim_exceptions): Change to __sim_exceptions_thread.
7842 (__sim_disabled_exceptions): Change to
7843 __sim_disabled_exceptions_thread.
7844 (__sim_round_mode): Change to __sim_round_mode_thread.
7845 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7846 thread-local floating-point state and set global state from it as
7847 needed.
7848 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7849 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7850 (__sim_disabled_exceptions): Remove extern declaration.
7851 (feenableexcept): Use thread-local floating-point state and set
7852 global state from it as needed.
7853 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7854 extern declaration.
7855 (__sim_disabled_exceptions): Likewise.
7856 (__sim_round_mode): Likewise.
7857 (__fegetenv): Use thread-local floating-point state.
7858 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7859 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7860 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7861 floating-point state and set global state from it as needed.
7862 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7863 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7864 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7865 Likewise.
7866 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7867 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7868 Likewise.
7869 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7870 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7871 Use __sim_round_mode_thread.
7872 * math/test-fenv-tls.c: New file.
7873 * math/Makefile (tests): Add test-fenv-tls.
7874 ($(objpfx)test-fenv-tls): Depend on
7875 $(common-objpfx)nptl/libpthread.so.
7876
b5449b12
AS
78772013-11-19 Andreas Schwab <schwab@suse.de>
7878
7879 * locale/programs/locale.c (show_info): Decode wordarray elements.
7880 * locale/categories.def (LC_MONETARY): Add element for
7881 _NL_MONETARY_CRNCYSTR.
7882 * locale/C-monetary.c (conversion_rate): New variable.
7883 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7884 element.
7885
e186536b
CM
78862013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7887
7888 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7889 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7890
5c349950
PP
78912013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7892
7893 * elf/Makefile (tst-auxv): New test.
7894 * elf/tst-auxv.c: New
7895 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7896
699df45b
JM
78972013-11-18 Joseph Myers <joseph@codesourcery.com>
7898
7899 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7900 (hidden_proto): Caller changed.
7901 (hidden_tls_proto): New macro.
7902 (libc_hidden_tls_proto): Likewise.
7903 (rtld_hidden_tls_proto): Likewise.
7904 (libm_hidden_tls_proto): Likewise.
7905 (libresolv_hidden_tls_proto): Likewise.
7906 (librt_hidden_tls_proto): Likewise.
7907 (libdl_hidden_tls_proto): Likewise.
7908 (libnss_files_hidden_tls_proto): Likewise.
7909 (libnsl_hidden_tls_proto): Likewise.
7910 (libnss_nisplus_hidden_tls_proto): Likewise.
7911 (libutil_hidden_tls_proto): Likewise.
7912
b7589107
OB
79132013-11-18 Ondřej Bílka <neleai@seznam.cz>
7914
7915 [BZ #10253]
7916 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7917 (decompose_rpath): Defer expansion to fillin_rpath.
7918 (_dl_init_paths): Pass linkmap to fillin_rpath.
7919
250c23bd
RS
79202013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7921
7922 * benchtests/Makefile: Add strsep.
7923 * benchtests/bench-strsep.c: New file: strsep benchtest.
7924 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7925
a7931fcf
AS
79262013-11-18 Andreas Schwab <schwab@suse.de>
7927
7928 * locale/programs/locale.c (show_info) [case byte]: Check for
7929 '\377' instead of '\177'.
7930 * locale/C-monetary.c (not_available): Always use "\377".
7931 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7932 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7933 detect unavailable sign_posn locale elements.
7934 * locale/localeconv.c (__localeconv): For grouping and
7935 mon_grouping handle "\177" and "\377" like no grouping.
7936 (INT_ELEM): New macro. Use it to set all numeric members.
7937 * locale/programs/ld-monetary.c (monetary_read)
7938 <tok_mon_grouping>: Normalize single -1 to the empty string.
7939 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7940 Likewise.
7941
728dab0e
OB
79422013-11-07 Ondřej Bílka <neleai@seznam.cz>
7943
7944 [BZ #16055]
7945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7946 when we match (nil).
7947 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7948
66294491
JM
79492013-11-16 Joseph Myers <joseph@codesourcery.com>
7950
ce665817
JM
7951 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7952 (NO_TEST_INLINE): Update value.
7953 (ERRNO_UNCHANGED): Likewise.
7954 (ERRNO_EDOM): Likewise.
7955 (ERRNO_ERANGE): Likewise.
7956 (IGNORE_RESULT): Likewise.
7957 (check_float_internal): Check signs of NaN results if
7958 TEST_NAN_SIGN used.
7959 (check_complex): Pass TEST_NAN_SIGN flag through to second
7960 check_float_internal call.
7961 (copysign_test_data): Add tests with quiet NaNs as second
7962 argument. Use TEST_NAN_SIGN.
7963 (fabs_test_data): Add test of negative quiet NaN argument. Use
7964 TEST_NAN_SIGN.
7965 (signbit_test_data): Add tests of quiet NaN argument.
7966 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7967
ee1466a9
JM
7968 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7969 $ignore_result.
7970 (parse_args): Handle function results specified as IGNORE.
7971 * math/libm-test.inc (IGNORE_RESULT): New macro.
7972 (check_float_internal): Do not check numerical result if flag
7973 IGNORE_RESULT set.
7974 (check_complex): Pass through IGNORE_RESULT to second
7975 check_float_internal call.
7976 (check_int): Do not check numerical result if flag IGNORE_RESULT
7977 set.
7978 (check_long): Likewise.
7979 (check_bool): Likewise.
7980 (check_longlong): Likewise.
7981 (lrint_test_data): Add tests of infinite and NaN arguments.
7982 (lrint_tonearest_test_data): Likewise.
7983 (lrint_towardzero_test_data): Likewise.
7984 (lrint_downward_test_data): Likewise.
7985 (lrint_upward_test_data): Likewise.
7986 (llrint_test_data): Likewise.
7987 (llrint_tonearest_test_data): Likewise.
7988 (llrint_towardzero_test_data): Likewise.
7989 (llrint_downward_test_data): Likewise.
7990 (llrint_upward_test_data): Likewise.
7991 (lround_test_data): Likewise.
7992 (llround_test_data): Likewise.
7993
14407b7e
JM
7994 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7995 (ERRNO_UNCHANGED): Update value.
7996 (ERRNO_EDOM): Likewise.
7997 (ERRNO_ERANGE): Likewise.
7998 (NO_TEST_INLINE_FLOAT): New macro.
7999 (NO_TEST_INLINE_DOUBLE): Likewise.
8000 (enable_test): New function.
8001 (RUN_TEST_f_f): Check enable_test before running test.
8002 (RUN_TEST_2_f): Likewise.
8003 (RUN_TEST_fff_f): Likewise.
8004 (RUN_TEST_c_f): Likewise.
8005 (RUN_TEST_f_f1): Likewise.
8006 (RUN_TEST_fF_f1): Likewise.
8007 (RUN_TEST_fI_f1): Likewise.
8008 (RUN_TEST_ffI_f1): Likewise.
8009 (RUN_TEST_c_c): Likewise.
8010 (RUN_TEST_cc_c): Likewise.
8011 (RUN_TEST_f_i): Likewise.
8012 (RUN_TEST_f_i_tg): Likewise.
8013 (RUN_TEST_ff_i_tg): Likewise.
8014 (RUN_TEST_f_b): Likewise.
8015 (RUN_TEST_f_b_tg): Likewise.
8016 (RUN_TEST_f_l): Likewise.
8017 (RUN_TEST_f_L): Likewise.
8018 (RUN_TEST_fFF_11): Likewise.
8019 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8020 conditionals.
8021 (cosh_test_data): Likewise.
8022 (exp_test_data): Likewise.
8023 (expm1_test_data): Likewise.
8024 (hypot_test_data): Likewise.
8025 (pow_test_data): Likewise.
8026 (sinh_test_data): Likewise.
8027 (tanh_test_data): Likewise.
8028 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8029 flags argument.
8030
ca07f197
JM
8031 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8032 tests with quiet NaN input and output.
8033 (acosh_test_data): Likewise.
8034 (asin_test_data): Likewise.
8035 (asinh_test_data): Likewise.
8036 (atan_test_data): Likewise.
8037 (atanh_test_data): Likewise.
8038 (atan2_test_data): Likewise.
8039 (cbrt_test_data): Likewise.
8040 (cos_test_data): Likewise.
8041 (cosh_test_data): Likewise.
8042 (erf_test_data): Likewise.
8043 (erfc_test_data): Likewise.
8044 (exp_test_data): Likewise.
8045 (exp10_test_data): Likewise.
8046 (exp2_test_data): Likewise.
8047 (expm1_test_data): Likewise.
8048 (hypot_test_data): Likewise.
8049 (j0_test_data): Likewise.
8050 (j1_test_data): Likewise.
8051 (jn_test_data): Likewise.
8052 (lgamma_test_data): Likewise.
8053 (log_test_data): Likewise.
8054 (log10_test_data): Likewise.
8055 (log1p_test_data): Likewise.
8056 (log2_test_data): Likewise.
8057 (pow_test_data): Likewise.
8058 (scalb_test_data): Likewise.
8059 (sin_test_data): Likewise.
8060 (sincos_test_data): Likewise.
8061 (sinh_test_data): Likewise.
8062 (tan_test_data): Likewise.
8063 (tanh_test_data): Likewise.
8064 (tgamma_test_data): Likewise.
8065 (y0_test_data): Likewise.
8066 (y1_test_data): Likewise.
8067 (yn_test_data): Likewise.
8068
66294491
JM
8069 [BZ #16167]
8070 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8071 argument being NaN and avoid computations with second argument in
8072 that case.
8073 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8074 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8075 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8076
1820b143
CL
80772013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8078
8079 * locale/iso-639.def: Add Chitwani Tharu (the).
8080
714bd261
AS
80812013-11-14 Andreas Schwab <schwab@suse.de>
8082
8083 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8084 word instead of empty string.
8085
7ab44563
AZ
80862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8089 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8091 (__fe_nomask_env): Likewise.
8092
e8470ea2
SE
80932013-11-13 Steve Ellcey <sellcey@mips.com>
8094
8095 * benchtests/bench-timing.h: Include time.h.
8096
17c1d9f0
L
80972013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8098
8099 [BZ #15997]
8100 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8101 to 3.4.0 for x32.
8102 * sysdeps/unix/sysv/linux/configure: Regenerated.
8103
9310c284
JM
81042013-11-13 Joseph Myers <joseph@codesourcery.com>
8105
8106 [BZ #16151]
8107 * stdlib/strtod_l.c (round_and_return): Do not consider
8108 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8109 exponent one less than half the least subnormal exponent.
8110 * stdlib/test-strtod-round-data: Add more tests.
8111 * stdlib/tst-strtod-round.c (tests): Regenerated.
8112
7a2ad8cf
AZ
81132013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8114
8115 [BZ #14143]
8116 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8117 (__fe_mask_env): Likewise.
8118 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8119 libm_hidden_proto and add function prototype.
8120 (__fe_mask_env): Add function prototype.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8122 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8124 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8126 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8127
50727aa7
MS
81282013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8129
b2f386c1 8130 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8131 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8132
a615be46
MS
81332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8134
8135 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8136 of htab_find_slot().
8137
7ddace62
DM
81382013-11-11 David S. Miller <davem@davemloft.net>
8139
8140 [BZ #16150]
8141 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8142 symbol in the non-vis3 case in static builds.
8143 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8144 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8145 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8146 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8147
9182aa67
JK
81482013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 [BZ #387]
8151 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8152 it is empty.
8153
450a2e2d
AZ
81542013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8155
b2f386c1
SP
8156 * benchtests/Makefile: Add bench-strtod.
8157 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8158
8ec3f656
AS
81592013-11-11 Andreas Schwab <schwab@suse.de>
8160
8161 [BZ #16153]
8162 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8163 terminating NUL in key length.
8164
76a9b998
AZ
81652013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8166
8167 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8168 Add artificial ODP entry for vDSO symbol for PPC64.
8169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8170 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8171
e4368156
OB
81722013-11-07 Ondřej Bílka <neleai@seznam.cz>
8173
8174 [BZ #15374]
8175 * nss/getent.c (services_keys): Recognize services starting with digit.
8176
8d6bb57c
DM
81772013-11-06 David S. Miller <davem@davemloft.net>
8178
8179 [BZ #15985]
8180 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8181 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8182
e256c421
WN
81832013-11-06 Will Newton <will.newton@linaro.org>
8184
8185 * manual/memory.texi (Malloc Examples): Remove register
8186 keyword from examples.
8187
f6e12daa 81882013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8189
f6e12daa 8190 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8191
9d880655
AS
81922013-11-04 Joseph Myers <joseph@codesourcery.com>
8193
fd2f9486 8194 [BZ #6981]
9d880655
AS
8195 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8196 depending on [__GCC_IEC_559 > 0].
8197 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8198 depending on [__GCC_IEC_559_COMPLEX > 0].
8199
ae129d3c
CL
82002013-11-03 Chris Leonard <cjl@sugarlabs.org>
8201
8202 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8203 to iso-639.def.
8204
4a15c2a4 82052013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8206
8207 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8208
8b35e35d
OB
82092013-11-01 Ondřej Bílka <neleai@seznam.cz>
8210
8211 [BZ #16112]
8212 * malloc/malloc (malloc_info): Do not handle first bin as
8213 special case.
8214
1d70fd6c
CL
82152013-11-01 Chris Leonard <cjl@sugarlabs.org>
8216
8217 * locale/iso-639.def: Add Central Nahuatl (nhn).
8218
8c5c2600
BH
82192013-11-01 Bruno Haible <bruno@clisp.org>
8220
8221 [BZ #7003]
8222 * manual/math.texi (BSD Random): Specify range upper bound as
8223 in POSIX.
8224
da5579c2
CL
82252013-10-31 Chris Leonard <cjl@sugarlabs.org>
8226
8227 * locale/iso-639.def: Add Meadow Mari (mhr).
8228
5d30d853
OB
82292013-10-31 Ondřej Bílka <neleai@seznam.cz>
8230
8231 [BZ #14752], [BZ #15763]
8232 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8233 Validate name.
8234 * rt/tst_shm.c: Add test for escaping directory.
8235
a4966c61
AS
82362013-10-31 Andreas Schwab <schwab@suse.de>
8237
8a43e768 8238 [BZ #15917]
a4966c61
AS
8239 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8240 followed by 'x' as part of digit sequence.
8241 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8242
28d708c4
MAP
82432013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8244
8245 [BZ #16037]
8246 * configure.ac: allow GNU Make 4.0 and greater.
8247 * configure: Regenerated.
8248
a56ee40b
WN
82492013-10-30 Will Newton <will.newton@linaro.org>
8250
8251 [BZ #16038]
8252 * malloc/hooks.c (memalign_check): Limit alignment to the
8253 maximum representable power of two.
8254 * malloc/malloc.c (__libc_memalign): Likewise.
8255 * malloc/tst-memalign.c (do_test): Add test for very
8256 large alignment values.
8257 * malloc/tst-posix_memalign.c (do_test): Likewise.
8258
c6e4925d
OB
82592013-10-30 Ondřej Bílka <neleai@seznam.cz>
8260
8261 [BZ #11087]
8262 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8263 (munmap_chunk): Likewise.
8264 (mremap_chunk): Likewise.
8265
82662013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8267
8a43e768 8268 [BZ #15799]
bbea82f7
OB
8269 * stdlib/div.c (div): Remove obsolete code.
8270 * stdlib/ldiv.c (ldiv): Likewise.
8271 * stdlib/lldiv.c (lldiv): Likewise.
8272
977f4b31
SP
82732013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8274
8275 [BZ #16071]
8276 * nss/nss_files/files-XXX.c (get_contents_ret): New
8277 enumerator.
8278 (get_contents): New function.
8279 (internal_getent): Use it. Expand size of LINEBUFLEN.
8280
cb8a6dbd
MF
82812013-10-30 Mike Frysinger <vapier@gentoo.org>
8282
8283 * configure.in: Moved to ...
8284 * configure.ac: ... here. Change reference to configure.in
8285 to configure.ac.
8286 * sysdeps/arm/preconfigure.ac: ... here.
8287 configure.in to configure.ac.
8288 * sysdeps/gnu/configure.in: Moved to ...
8289 * sysdeps/gnu/configure.ac: ... here.
8290 * sysdeps/i386/configure.in: Moved to ...
8291 * sysdeps/i386/configure.ac: ... here.
8292 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8293 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8294 * sysdeps/mach/configure.in: Moved to ...
8295 * sysdeps/mach/configure.ac: ... here.
8296 * sysdeps/mach/hurd/configure.in: Moved to ...
8297 * sysdeps/mach/hurd/configure.ac: ... here.
8298 * sysdeps/powerpc/configure.in: Moved to ...
8299 * sysdeps/powerpc/configure.ac: ... here.
8300 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8301 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8302 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8303 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8304 * sysdeps/s390/s390-32/configure.in: Moved to ...
8305 * sysdeps/s390/s390-32/configure.ac: ... here.
8306 * sysdeps/s390/s390-64/configure.in: Moved to ...
8307 * sysdeps/s390/s390-64/configure.ac: ... here.
8308 * sysdeps/sh/configure.in: Moved to ...
8309 * sysdeps/sh/configure.ac: ... here.
8310 * sysdeps/sparc/configure.in: Moved to ...
8311 * sysdeps/sparc/configure.ac: ... here.
8312 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8313 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8314 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8315 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8316 * sysdeps/x86_64/configure.in: Moved to ...
8317 * sysdeps/x86_64/configure.ac: ... here.
8318 * sysdeps/x86_64/preconfigure.in: Moved to ...
8319 * sysdeps/x86_64/preconfigure.ac: ... here.
8320 * aclocal.m4: Change reference to configure.in to configure.ac.
8321 * config.h.in: Likewise.
8322 * manual/install.texi: Likewise.
8323 * manual/maint.texi: Likewise.
8324 * Makefile: Likewise.
8325 * malloc/Makefile: Likewise.
8326 * nscd/Makefile: Likewise.
8327 * Makeconfig: Change reference to configure.in and
8328 preconfigure.in to configure.ac and preconfigure.ac
8329 respectively.
8330 * INSTALL: Regenerated.
8331 * configure: Likewise.
8332 * sysdeps/gnu/configure: Likewise.
8333 * sysdeps/i386/configure: Likewise.
8334 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8335 * sysdeps/mach/configure: Likewise.
8336 * sysdeps/mach/hurd/configure: Likewise.
8337 * sysdeps/powerpc/configure: Likewise.
8338 * sysdeps/powerpc/powerpc32/configure: Likewise.
8339 * sysdeps/powerpc/powerpc64/configure: Likewise.
8340 * sysdeps/s390/s390-32/configure: Likewise.
8341 * sysdeps/s390/s390-64/configure: Likewise.
8342 * sysdeps/sh/configure: Likewise.
8343 * sysdeps/sparc/configure: Likewise.
8344 * sysdeps/unix/sysv/linux/configure: Likewise.
8345 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8346 * sysdeps/x86_64/configure: Likewise.
8347 * sysdeps/x86_64/preconfigure: Likewise.
8348
36a4953a
AS
83492013-10-29 Andreas Schwab <schwab@suse.de>
8350
8351 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8352
c79a1204
SP
83532013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8354
dfa1b402
SP
8355 * benchtests/pow-inputs: Add new inputs.
8356
54f73d9c
SP
8357 * benchtests/exp-inputs: Add new inputs.
8358
c79a1204
SP
8359 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8360 conditional check for return value.
8361 (__cos32): Likewise.
8362
67beb545 83632013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8364
8365 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8366 to provide a boost for large inputs with word alignment.
8367 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8368 implementation based on optimized PPC64 strcpy.
8369 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8370 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8371 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8372 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8373
151659f6
OB
83742013-10-25 Ondřej Bílka <neleai@seznam.cz>
8375
482a077e 8376 [BZ #2801]
151659f6
OB
8377 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8378
10b0f26b
OB
83792013-10-25 Ondřej Bílka <neleai@seznam.cz>
8380
8381 [BZ #14876]
8382 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8383 * time/tst-strptime.c (day_tests): Add testcase.
8384
ca42d35e
OB
83852013-10-25 Ondřej Bílka <neleai@seznam.cz>
8386
482a077e 8387 [BZ #14029]
ca42d35e
OB
8388 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8389
52e6d801
FB
83902013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8391
8392 [BZ #16074]
8393 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8394 MAP_FAILED on error.
8395
7cbcdb36
SP
83962013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
8398 [BZ #16072]
8399 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8400 heap for large requests.
8401
894f3f10
AM
84022013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8403
8404 [BZ #9954]
8405 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8406 result if the result has no associated interface.
8407 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8408 interface for all 127.X.Y.Z addresses.
8409
b85545a6
CL
84102013-10-24 Chris Leonard <cjl@sugarlabs.org>
8411
8412 * locale/iso-639.def: Add Ligurian (lij)
8413
d1f23d46
OB
84142013-10-21 Ondřej Bílka <neleai@seznam.cz>
8415
8416 [BZ #15825]
8417 * sunrpc/rpc_main.c: Document rpcgen -5.
8418
4db5b08f
MS
84192013-10-19 Michael Stahl <mstahl@redhat.com>
8420
8421 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8422
a471e96a
OB
84232013-10-19 Ondřej Bílka <neleai@seznam.cz>
8424
d1f23d46 8425 [BZ #10278]
a471e96a
OB
8426 * posix/glob.c: Match only directories when trailing slash is present.
8427 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8428 (main): Add testcase.
8429
45c30c61
OB
84302013-10-19 Ondřej Bílka <neleai@seznam.cz>
8431
8432 [BZ #15670]
8433 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8434
484c12fb
CD
84352013-10-18 Carlos O'Donell <carlos@redhat.com>
8436
3d7dc513
CD
8437 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8438 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8439 AUTH_DES and cindex for FIPS 140-2.
8440 (DES Encryption): Add cindex FIPS 46-3.
8441
484c12fb
CD
8442 * locale/locarchive.h (struct locarhandle): Add fname.
8443 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8444 if an optional argument was specified to --list-archive,
8445 otherwise NULL.
8446 * locale/programs/locarchive.c (show_archive_content): Take new
8447 argument fname and pass it via ah.fname to open_archive.
8448 * locale/programs/localedef.h: Update decl.
8449 (open_archive): If AH->fname is non-null, open that file
8450 rather than the default file name, and don't ignore ENOENT.
8451 (create_archive): Set AH.fname to NULL.
8452 (delete_locales_from_archive): Likewise.
8453 (add_locales_to_archive): Likewise.
8454 * locale/programs/locfile.c (write_all_categories): Likewise.
8455
3c8325fb
JM
84562013-10-18 Joseph Myers <joseph@codesourcery.com>
8457 Aldy Hernandez <aldyh@redhat.com>
8458
8459 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8460 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8461 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8462 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8463 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8467 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8469 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8470 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8471 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8472 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8473 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8474 Likewise.
8475 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8476 Likewise.
8477 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8478 Likewise.
8479 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8480 Likewise.
8481 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8482 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8483 Likewise.
8484 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8485 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8486 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8487 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8488 Likewise.
8489 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8490 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8491 * sysdeps/powerpc/preconfigure: Likewise.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8493 Likewise.
8494 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8495 Replace contents of file by #include of <fenv_libc.h>.
8496 * sysdeps/powerpc/soft-fp/sfp-machine.h
8497 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8498 and <sys/prctl.h>.
8499 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8504 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8512 Allow copysignl PLT reference to be missing.
8513
5abe0682
RS
85142013-10-18 Richard Sandiford <richard@codesourcery.com>
8515 Joseph Myers <joseph@codesourcery.com
8516
8517 [BZ #15948]
8518 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8519 single character.
8520 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8521
c7738d08
SP
85222013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
8524 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8525 * elf/tst-tls1.c: Likewise.
8526 * elf/tst-tls10.h: Likewise.
8527 * elf/tst-tls14.c: Likewise.
8528 * elf/tst-tls2.c: Likewise.
8529 * elf/tst-tls3.c: Likewise.
8530 * elf/tst-tls4.c: Likewise.
8531 * elf/tst-tls5.c: Likewise.
8532 * elf/tst-tls6.c: Likewise.
8533 * elf/tst-tls7.c: Likewise.
8534 * elf/tst-tls8.c: Likewise.
8535 * elf/tst-tls9.c: Likewise.
8536 * elf/tst-tlsmod1.c: Likewise.
8537 * elf/tst-tlsmod13.c: Likewise.
8538 * elf/tst-tlsmod13a.c: Likewise.
8539 * elf/tst-tlsmod14a.c: Likewise.
8540 * elf/tst-tlsmod16a.c: Likewise.
8541 * elf/tst-tlsmod16b.c: Likewise.
8542 * elf/tst-tlsmod2.c: Likewise.
8543 * elf/tst-tlsmod3.c: Likewise.
8544 * elf/tst-tlsmod4.c: Likewise.
8545 * elf/tst-tlsmod5.c: Likewise.
8546 * elf/tst-tlsmod6.c: Likewise.
8547
0bfcf2c7
OB
85482013-10-18 Ondřej Bílka <neleai@seznam.cz>
8549
8550 [BZ #12486]
8551 * malloc/malloc.c: remove checks for statistics.
8552
264aad1e
OB
85532013-10-17 Ondřej Bílka <neleai@seznam.cz>
8554
8555 [BZ #15277]
8556 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8557 * inet/tst-network.c: Add testcase.
8558
b957ced8
AS
85592013-10-17 Andreas Schwab <schwab@suse.de>
8560
8561 [BZ #15218]
8562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8563 to determine canonical name.
8564
c5d5d574
OB
85652013-10-17 Ondřej Bílka <neleai@seznam.cz>
8566
8567 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8568 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8591 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8592 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8625
e5c2c2d0
JM
86262013-10-17 Joseph Myers <joseph@codesourcery.com>
8627
8628 [BZ #16041]
8629 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8630 make result into a quiet NaN.
8631
51ca9e29
JM
86322013-10-16 Joseph Myers <joseph@codesourcery.com>
8633
8634 * soft-fp/adddf3.c: Fix horizontal whitespace.
8635 * soft-fp/addsf3.c: Likewise.
8636 * soft-fp/addtf3.c: Likewise.
8637 * soft-fp/divdf3.c: Likewise.
8638 * soft-fp/divsf3.c: Likewise.
8639 * soft-fp/divtf3.c: Likewise.
8640 * soft-fp/double.h: Likewise.
8641 * soft-fp/eqdf2.c: Likewise.
8642 * soft-fp/eqsf2.c: Likewise.
8643 * soft-fp/eqtf2.c: Likewise.
8644 * soft-fp/extenddftf2.c: Likewise.
8645 * soft-fp/extended.h: Likewise.
8646 * soft-fp/extendsfdf2.c: Likewise.
8647 * soft-fp/extendsftf2.c: Likewise.
8648 * soft-fp/extendxftf2.c: Likewise.
8649 * soft-fp/fixdfdi.c: Likewise.
8650 * soft-fp/fixdfsi.c: Likewise.
8651 * soft-fp/fixdfti.c: Likewise.
8652 * soft-fp/fixsfdi.c: Likewise.
8653 * soft-fp/fixsfsi.c: Likewise.
8654 * soft-fp/fixsfti.c: Likewise.
8655 * soft-fp/fixtfdi.c: Likewise.
8656 * soft-fp/fixtfsi.c: Likewise.
8657 * soft-fp/fixtfti.c: Likewise.
8658 * soft-fp/fixunsdfdi.c: Likewise.
8659 * soft-fp/fixunsdfsi.c: Likewise.
8660 * soft-fp/fixunsdfti.c: Likewise.
8661 * soft-fp/fixunssfdi.c: Likewise.
8662 * soft-fp/fixunssfsi.c: Likewise.
8663 * soft-fp/fixunssfti.c: Likewise.
8664 * soft-fp/fixunstfdi.c: Likewise.
8665 * soft-fp/fixunstfsi.c: Likewise.
8666 * soft-fp/fixunstfti.c: Likewise.
8667 * soft-fp/floatdidf.c: Likewise.
8668 * soft-fp/floatdisf.c: Likewise.
8669 * soft-fp/floatditf.c: Likewise.
8670 * soft-fp/floatsidf.c: Likewise.
8671 * soft-fp/floatsisf.c: Likewise.
8672 * soft-fp/floatsitf.c: Likewise.
8673 * soft-fp/floattidf.c: Likewise.
8674 * soft-fp/floattisf.c: Likewise.
8675 * soft-fp/floattitf.c: Likewise.
8676 * soft-fp/floatundidf.c: Likewise.
8677 * soft-fp/floatundisf.c: Likewise.
8678 * soft-fp/floatunditf.c: Likewise.
8679 * soft-fp/floatunsidf.c: Likewise.
8680 * soft-fp/floatunsisf.c: Likewise.
8681 * soft-fp/floatunsitf.c: Likewise.
8682 * soft-fp/floatuntidf.c: Likewise.
8683 * soft-fp/floatuntisf.c: Likewise.
8684 * soft-fp/floatuntitf.c: Likewise.
8685 * soft-fp/fmadf4.c: Likewise.
8686 * soft-fp/fmasf4.c: Likewise.
8687 * soft-fp/fmatf4.c: Likewise.
8688 * soft-fp/gedf2.c: Likewise.
8689 * soft-fp/gesf2.c: Likewise.
8690 * soft-fp/getf2.c: Likewise.
8691 * soft-fp/ledf2.c: Likewise.
8692 * soft-fp/lesf2.c: Likewise.
8693 * soft-fp/letf2.c: Likewise.
8694 * soft-fp/muldf3.c: Likewise.
8695 * soft-fp/mulsf3.c: Likewise.
8696 * soft-fp/multf3.c: Likewise.
8697 * soft-fp/negdf2.c: Likewise.
8698 * soft-fp/negsf2.c: Likewise.
8699 * soft-fp/negtf2.c: Likewise.
8700 * soft-fp/op-1.h: Likewise.
8701 * soft-fp/op-2.h: Likewise.
8702 * soft-fp/op-4.h: Likewise.
8703 * soft-fp/op-8.h: Likewise.
8704 * soft-fp/op-common.h: Likewise.
8705 * soft-fp/quad.h: Likewise.
8706 * soft-fp/single.h: Likewise.
8707 * soft-fp/soft-fp.h: Likewise.
8708 * soft-fp/sqrtdf2.c: Likewise.
8709 * soft-fp/sqrtsf2.c: Likewise.
8710 * soft-fp/sqrttf2.c: Likewise.
8711 * soft-fp/subdf3.c: Likewise.
8712 * soft-fp/subsf3.c: Likewise.
8713 * soft-fp/subtf3.c: Likewise.
8714 * soft-fp/truncdfsf2.c: Likewise.
8715 * soft-fp/trunctfdf2.c: Likewise.
8716 * soft-fp/trunctfsf2.c: Likewise.
8717 * soft-fp/trunctfxf2.c: Likewise.
8718 * soft-fp/unorddf2.c: Likewise.
8719 * soft-fp/unordsf2.c: Likewise.
8720 * soft-fp/unordtf2.c: Likewise.
8721
9ebb0332
JM
87222013-10-15 Joseph Myers <joseph@codesourcery.com>
8723
8724 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8725 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8726
4b1a6d8b
OB
87272013-10-15 Ondřej Bílka <neleai@seznam.cz>
8728
8729 * elf/dl-libc.c: Clear initfini list after freeing.
8730
1e145589
JM
87312013-10-14 Joseph Myers <joseph@codesourcery.com>
8732
8733 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8734 * soft-fp/addsf3.c: Likewise.
8735 * soft-fp/addtf3.c: Likewise.
8736 * soft-fp/divdf3.c: Likewise.
8737 * soft-fp/divsf3.c: Likewise.
8738 * soft-fp/divtf3.c: Likewise.
8739 * soft-fp/double.h: Likewise.
8740 * soft-fp/eqdf2.c: Likewise.
8741 * soft-fp/eqsf2.c: Likewise.
8742 * soft-fp/eqtf2.c: Likewise.
8743 * soft-fp/extenddftf2.c: Likewise.
8744 * soft-fp/extended.h: Likewise.
8745 * soft-fp/extendsfdf2.c: Likewise.
8746 * soft-fp/extendsftf2.c: Likewise.
8747 * soft-fp/extendxftf2.c: Likewise.
8748 * soft-fp/fixdfdi.c: Likewise.
8749 * soft-fp/fixdfsi.c: Likewise.
8750 * soft-fp/fixdfti.c: Likewise.
8751 * soft-fp/fixsfdi.c: Likewise.
8752 * soft-fp/fixsfsi.c: Likewise.
8753 * soft-fp/fixsfti.c: Likewise.
8754 * soft-fp/fixtfdi.c: Likewise.
8755 * soft-fp/fixtfsi.c: Likewise.
8756 * soft-fp/fixtfti.c: Likewise.
8757 * soft-fp/fixunsdfdi.c: Likewise.
8758 * soft-fp/fixunsdfsi.c: Likewise.
8759 * soft-fp/fixunsdfti.c: Likewise.
8760 * soft-fp/fixunssfdi.c: Likewise.
8761 * soft-fp/fixunssfsi.c: Likewise.
8762 * soft-fp/fixunssfti.c: Likewise.
8763 * soft-fp/fixunstfdi.c: Likewise.
8764 * soft-fp/fixunstfsi.c: Likewise.
8765 * soft-fp/fixunstfti.c: Likewise.
8766 * soft-fp/floatdidf.c: Likewise.
8767 * soft-fp/floatdisf.c: Likewise.
8768 * soft-fp/floatditf.c: Likewise.
8769 * soft-fp/floatsidf.c: Likewise.
8770 * soft-fp/floatsisf.c: Likewise.
8771 * soft-fp/floatsitf.c: Likewise.
8772 * soft-fp/floattidf.c: Likewise.
8773 * soft-fp/floattisf.c: Likewise.
8774 * soft-fp/floattitf.c: Likewise.
8775 * soft-fp/floatundidf.c: Likewise.
8776 * soft-fp/floatundisf.c: Likewise.
8777 * soft-fp/floatunsidf.c: Likewise.
8778 * soft-fp/floatunsisf.c: Likewise.
8779 * soft-fp/floatuntidf.c: Likewise.
8780 * soft-fp/floatuntisf.c: Likewise.
8781 * soft-fp/floatuntitf.c: Likewise.
8782 * soft-fp/fmadf4.c: Likewise.
8783 * soft-fp/fmasf4.c: Likewise.
8784 * soft-fp/fmatf4.c: Likewise.
8785 * soft-fp/gedf2.c: Likewise.
8786 * soft-fp/gesf2.c: Likewise.
8787 * soft-fp/getf2.c: Likewise.
8788 * soft-fp/ledf2.c: Likewise.
8789 * soft-fp/lesf2.c: Likewise.
8790 * soft-fp/letf2.c: Likewise.
8791 * soft-fp/muldf3.c: Likewise.
8792 * soft-fp/mulsf3.c: Likewise.
8793 * soft-fp/multf3.c: Likewise.
8794 * soft-fp/negdf2.c: Likewise.
8795 * soft-fp/negsf2.c: Likewise.
8796 * soft-fp/negtf2.c: Likewise.
8797 * soft-fp/op-1.h: Likewise.
8798 * soft-fp/op-2.h: Likewise.
8799 * soft-fp/op-4.h: Likewise.
8800 * soft-fp/op-8.h: Likewise.
8801 * soft-fp/op-common.h: Likewise.
8802 * soft-fp/quad.h: Likewise.
8803 * soft-fp/single.h: Likewise.
8804 * soft-fp/soft-fp.h: Likewise.
8805 * soft-fp/sqrtdf2.c: Likewise.
8806 * soft-fp/sqrtsf2.c: Likewise.
8807 * soft-fp/sqrttf2.c: Likewise.
8808 * soft-fp/subdf3.c: Likewise.
8809 * soft-fp/subsf3.c: Likewise.
8810 * soft-fp/subtf3.c: Likewise.
8811 * soft-fp/truncdfsf2.c: Likewise.
8812 * soft-fp/trunctfdf2.c: Likewise.
8813 * soft-fp/trunctfsf2.c: Likewise.
8814 * soft-fp/trunctfxf2.c: Likewise.
8815 * soft-fp/unorddf2.c: Likewise.
8816 * soft-fp/unordsf2.c: Likewise.
8817 * soft-fp/unordtf2.c: Likewise.
8818
17c48a60
OB
88192013-10-14 Ondřej Bílka <neleai@seznam.cz>
8820
8821 [BZ #15672]
8822 * misc/error.c (error_tail): Fix possible buffer overflow.
8823
cabba934
OB
88242013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8825
8826 [BZ #13028]
8827 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8828 address.
8829
94bf958a
PM
88302013-10-14 P. J. McDermott <pj@pehjota.net>
8831
8832 [BZ #832]
8833 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8834 testing pipefail option.
8835
71b4dea7
JM
88362013-10-12 Joseph Myers <joseph@codesourcery.com>
8837
8838 * soft-fp/double.h: Indent preprocessor directives inside #if.
8839 * soft-fp/extended.h: Likewise.
8840 * soft-fp/op-2.h: Likewise.
8841 * soft-fp/op-4.h: Likewise.
8842 * soft-fp/op-common.h: Likewise.
8843 * soft-fp/quad.h: Likewise.
8844 * soft-fp/single.h: Likewise.
8845 * soft-fp/soft-fp.h: Likewise.
8846
55602758
YC
88472013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8848
8849 * iconv/iconv_prog.c: Fix typos.
8850 * stdio-common/psiginfo-data.h: Likewise.
8851
9cd83302
RT
88522013-10-12 Reuben Thomas <rrt@sc3d.org>
8853
8854 [BZ #15764]
8855 * locale/setlocale.c: Fix typo.
8856
99fd9f47
JM
88572013-10-12 Joseph Myers <joseph@codesourcery.com>
8858
b7ea74f0
JM
8859 [BZ #16036]
8860 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8861 signaling NaN arguments.
8862 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8863 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8864
8a509447
JM
8865 [BZ #14910]
8866 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8867 unordered operands.
8868 * soft-fp/gesf2.c (__gesf2): Likewise.
8869 * soft-fp/getf2.c (__getf2): Likewise.
8870 * soft-fp/ledf2.c (__ledf2): Likewise.
8871 * soft-fp/lesf2.c (__lesf2): Likewise.
8872 * soft-fp/letf2.c (__letf2): Likewise.
8873
98998e9f
JM
8874 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8875 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8876 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8877 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8878 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8879 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8880 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8881 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8882 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8883 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8884 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8885 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8886 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8887 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8888 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8889 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8890 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8891 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8892 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8893 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8894 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8895 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8896 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8897 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8898 * soft-fp/floattidf.c (__floattidf): Likewise.
8899 * soft-fp/floattisf.c (__floattisf): Likewise.
8900 * soft-fp/floattitf.c (__floattitf): Likewise.
8901 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8902 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8903 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8904 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8905 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8906 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8907 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8908 * soft-fp/gesf2.c (__gesf2): Likewise.
8909 * soft-fp/getf2.c (__getf2): Likewise.
8910 * soft-fp/ledf2.c (__ledf2): Likewise.
8911 * soft-fp/lesf2.c (__lesf2): Likewise.
8912 * soft-fp/letf2.c (__letf2): Likewise.
8913
8edc4a11
JM
8914 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8915 Undefine and redefine.
8916 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8917 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8918 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8919 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8920 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8921 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8922 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8923 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8924 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8925 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8926 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8927 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8928 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8929 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8930 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8931
8399acaf
JM
8932 [BZ #16032]
8933 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8934 without decrementing exponent if mantissa >= that for the
8935 denominator, not >.
8936 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8937 denominator, not >. Decrement exponent in < case instead of
8938 incrementing in >= case.
8939 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8940 without decrementing exponent if mantissa >= that for the
8941 denominator, not >.
8942
99fd9f47
JM
8943 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8944 computing saturated result for unsigned overflow.
8945
10e1cf6b
SP
89462013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8947 Jeff Law <law@redhat.com>
8948
8949 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8950 (atan2Mp): Add systemtap probe marker.
8951 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8952 (__ieee754_log): Add systemtap probe marker.
8953 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8954 (atanMp): Add systemtap probe marker.
8955 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8956 (tanMp): Add systemtap probe marker.
8957 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8958 (__slowexp): Add systemtap probe marker.
8959 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8960 (__slowpow): Add systemtap probe marker.
8961 * manual/probes.texi: Document probes.
8962
3d110c7c
EB
89632013-10-11 Eric Biggers <ebiggers3@gmail.com>
8964
8965 [BZ #15362]
8966 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8967 written.
8968 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8969 written.
8970 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8971 written to buffer but not flushed.
8972 * libio/iofwrite_u.c: Likewise.
8973 * libio/iopadn.c: Return bytes returned even if EOF was
8974 encountered.
8975 * libio/iowpadn.c: Likewise.
8976 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8977 if _IO_padn does not write the whole buffer.
8978 [!COMPILE_WPRINTF] (PAD): Likewise.
8979
75b4202a
DM
89802013-10-10 David S. Miller <davem@davemloft.net>
8981
8982 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8983 directory block.
8984
6c6352e6
JM
89852013-10-10 Joseph Myers <joseph@codesourcery.com>
8986
33b853c3
JM
8987 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8988 instead of FSF address.
8989 * soft-fp/fixdfti.c: Likewise.
8990 * soft-fp/fixsfti.c: Likewise.
8991 * soft-fp/fixtfti.c: Likewise.
8992 * soft-fp/fixunsdfti.c: Likewise.
8993 * soft-fp/fixunssfti.c: Likewise.
8994 * soft-fp/fixunstfti.c: Likewise.
8995 * soft-fp/floattidf.c: Likewise.
8996 * soft-fp/floattisf.c: Likewise.
8997 * soft-fp/floattitf.c: Likewise.
8998 * soft-fp/floatuntidf.c: Likewise.
8999 * soft-fp/floatuntisf.c: Likewise.
9000 * soft-fp/floatuntitf.c: Likewise.
9001 * soft-fp/trunctfxf2.c: Likewise.
9002
6c6352e6
JM
9003 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9004 * soft-fp/fixdfti.c: Likewise.
9005 * soft-fp/fixsfti.c: Likewise.
9006 * soft-fp/fixtfti.c: Likewise.
9007 * soft-fp/fixunsdfti.c: Likewise.
9008 * soft-fp/fixunssfti.c: Likewise.
9009 * soft-fp/fixunstfti.c: Likewise.
9010 * soft-fp/floattidf.c: Likewise.
9011 * soft-fp/floattisf.c: Likewise.
9012 * soft-fp/floattitf.c: Likewise.
9013 * soft-fp/floatuntidf.c: Likewise.
9014 * soft-fp/floatuntisf.c: Likewise.
9015 * soft-fp/floatuntitf.c: Likewise.
9016 * soft-fp/trunctfxf2.c: Likewise.
9017
3bf78b71
DM
90182013-10-10 David S. Miller <davem@davemloft.net>
9019
9020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9021
6f10289e
JM
90222013-10-10 Joseph Myers <joseph@codsourcery.com>
9023
bd878fc0
JM
9024 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9025 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9026 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9031
6f10289e
JM
9032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9033 for NaNs before doing comparisons on argument.
9034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9035 Likewise.
9036
321e2684
WN
90372013-10-10 Will Newton <will.newton@linaro.org>
9038
9039 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9040 passed to _int_memalign does not overflow.
9041
40fefba1
TR
90422013-10-10 Torvald Riegel <triegel@redhat.com>
9043
9044 * scripts/bench.pl: Add include-sources directive.
9045 * benchtests/README: Update documentation.
9046
2ae21ed2
JM
90472013-10-10 Joseph Myers <joseph@codesourcery.com>
9048
dcc2dd3f
JM
9049 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9050 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9051 instead of FP_INIT_ROUNDMODE.
9052 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9053 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9054
2ae21ed2
JM
9055 [BZ #16034]
9056 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9057 copy class of input value.
9058 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9059 not handle exceptions.
9060 * soft-fp/negsf2.c (__negsf2): Likewise.
9061 * soft-fp/negtf2.c (__negtf2): Likewise.
9062 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9063
cb8f9562
JM
90642013-10-09 Joseph Myers <joseph@codesourcery.com>
9065
9066 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9067 semicolon. From Linux kernel.
9068
5b60c59d
AB
90692013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9070
9071 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9072
b86835ca
YC
90732013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9074
9075 [BZ #156]
9076 * manual/socket.texi: Added statement about buffer
9077 for gethostbyname2_r.
9078
e7044ea7
OB
90792013-10-08 Ondřej Bílka <neleai@seznam.cz>
9080
9081 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9082 Use .p2align directive instead, throughout.
9083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9084 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9085 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9088 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9089 * sysdeps/x86_64/strchr.S: Likewise.
9090 * sysdeps/x86_64/strrchr.S: Likewise.
9091
09544cbc
SP
90922013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9093
88576635
SP
9094 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9095
e7b2d1dd
SP
9096 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9097
09544cbc
SP
9098 * sysdeps/generic/math_private.h (__mpsin1): Remove
9099 declaration.
9100 (__mpcos1): Likewise.
9101 (__mpsin): New argument __range_reduce.
9102 (__mpcos): Likewise.
9103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9104 (slow): Use __mpsin and __mpcos.
9105 (slow1): Likewise.
9106 (slow2): Likewise.
9107 (sloww): Likewise.
9108 (sloww1): Likewise.
9109 (sloww2): Likewise.
9110 (bsloww): Likewise.
9111 (bsloww1): Likewise.
9112 (bsloww2): Likewise.
9113 (cslow2): Likewise.
9114 (csloww): Likewise.
9115 (csloww1): Likewise.
9116 (csloww2): Likewise.
9117 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9118 range_reduce. Merge in __mpsin1.
9119 (__mpcos): Likewise.
9120 (__mpsin1): Remove.
9121 (__mpcos1): Likewise.
9122
7602d070
JM
91232013-10-07 Joseph Myers <joseph@codesourcery.com>
9124
9125 * locale/loadlocale.c (_nl_intern_locale_data): Use
9126 LOCFILE_ALIGNED_P.
9127 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9128 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9129 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9130 obstack data is appropriately aligned.
9131 (obstack_int32_grow_fast): Likewise.
9132 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9133 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9134 (add_locale_uint32_array): Likewise.
9135
a357259b
SP
91362013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
9138 * benchtests/Makefile: Remove ARGLIST and RET variables.
9139 ($(objpfx)bench-%.c): Pass only function name to the script.
9140 * benchtests/README: Update documentation.
9141 * benchtests/acos-inputs: Add new directives.
9142 * benchtests/acosh-inputs: Likewise.
9143 * benchtests/asin-inputs: Likewise.
9144 * benchtests/asinh-inputs: Likewise.
9145 * benchtests/atan-inputs: Likewise.
9146 * benchtests/atanh-inputs: Likewise.
9147 * benchtests/cos-inputs: Likewise.
9148 * benchtests/cosh-inputs: Likewise.
9149 * benchtests/exp-inputs: Likewise.
9150 * benchtests/log-inputs: Likewise.
9151 * benchtests/pow-inputs: Likewise.
9152 * benchtests/rint-inputs: Likewise.
9153 * benchtests/sin-inputs: Likewise.
9154 * benchtests/sinh-inputs: Likewise.
9155 * benchtests/tan-inputs: Likewise.
9156 * benchtests/tanh-inputs: Likewise.
9157 * scripts/bench.pl: Add support for new directives.
9158
9ec1b13d
AM
91592013-10-07 Alan Modra <amodra@gmail.com>
9160
9161 * README: Fix careless merge.
9162
8b7d57cd
AM
91632013-10-05 Alan Modra <amodra@gmail.com>
9164
9165 * NEWS: Mention powerpc64le support and bugs fixed.
9166 * README: Both big-endian and little-endian powerpc64 supported.
9167
7b7bab13
ST
91682013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9169
9170 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9171 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9172 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9173 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9174
d39baad1
RA
91752013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9176
9177 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9178 match prototype.
9179
cd78f7e7
JM
91802013-10-04 Joseph Myers <joseph@codesourcery.com>
9181
29d73d86
JM
9182 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9183 Move -mhard-float appending from
9184 ports/sysdeps/powerpc/powerpc32/Makefile.
9185 [$(with-fp) = yes] (ASFLAGS): Likewise.
9186 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9187 * sysdeps/powerpc/nofpu: Move directory from
9188 ports/sysdeps/powerpc/nofpu.
9189 * sysdeps/powerpc/soft-fp: Move directory from
9190 ports/sysdeps/powerpc/soft-fp.
9191 * sysdeps/powerpc/powerpc32/405: Move directory from
9192 ports/sysdeps/powerpc/powerpc32/405.
9193 * sysdeps/powerpc/powerpc32/440: Move directory from
9194 ports/sysdeps/powerpc/powerpc32/440.
9195 * sysdeps/powerpc/powerpc32/464: Move directory from
9196 ports/sysdeps/powerpc/powerpc32/464.
9197 * sysdeps/powerpc/powerpc32/476: Move directory from
9198 ports/sysdeps/powerpc/powerpc32/476.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9200 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9202 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9204 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9206 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9209 * README: Update for powerpc-*-linux-gnu software floating point
9210 support in libc.
9211
e246b347
JM
9212 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9213 case to powerpc/powerpc32*.
9214 * sysdeps/unix/sysv/linux/configure: Regenerated.
9215
89c2003e
JM
9216 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9217 (_FPU_MASK_OM): Define as 0x04.
9218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9220 0x00c10080.
9221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9222 0x0000003c.
9223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9224
cd78f7e7
JM
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9226 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9227 getcontext_e500.
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9229 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9230 setcontext_e500.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9232 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9233 and setcontext_e500.
9234
c755294d
CL
92352013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9236
9237 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9238
e16d221c
SP
92392013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9240
9241 * manual/threads.texi (Default Thread Attributes): Fix typo.
9242
215c7d43
WN
92432013-10-04 Will Newton <will.newton@linaro.org>
9244
9245 * malloc/Makefile: Add tst-memalign.
9246 * malloc/tst-memalign.c: New file.
9247
27d0461b
WN
9248 * malloc/tst-posix_memalign.c: Add comments.
9249 (do_test): Add comments and call free on all potentially
9250 allocated pointers. Add space after cast.
9251
1bc92709
WN
9252 * malloc/tst-pvalloc.c: Add comments.
9253 (do_test): Add comments and call free on all potentially
9254 allocated pointers. Remove duplicate check for NULL pointer.
9255 Add space after cast.
9256
66a9be9d
WN
9257 * malloc/tst-valloc.c: Add comments.
9258 (do_test): Add comments and call free on all potentially
9259 allocated pointers. Remove duplicate check for NULL pointer.
9260 Add space after cast.
9261
4cb81307
AM
92622013-10-04 Alan Modra <amodra@gmail.com>
9263
9264 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9265 Use stdint types in rather than __attribute__((mode())).
9266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9267
f8e3e9f3
AM
92682013-10-04 Alan Modra <amodra@gmail.com>
9269
9270 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9271 Correct handling of unaligned relocs for little-endian.
9272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9273
8f9ebb08
AM
92742013-10-04 Alan Modra <amodra@gmail.com>
9275
9276 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9277 * configure: Regenerate.
9278 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9279 * shlib-versions: Likewise.
9280
0edf96c2
AM
92812013-10-04 Alan Modra <amodra@gmail.com>
9282
9283 * string/tester.c (test_memrchr): Increment reported test cycle.
9284
e0f7a380
AM
92852013-10-04 Alan Modra <amodra@gmail.com>
9286
9287 * string/test-memcpy.c (do_one_test): When reporting errors, print
9288 string address and don't overrun end of string.
9289
466b0393
AM
92902013-10-04 Alan Modra <amodra@gmail.com>
9291
9292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9293 insrdi. Make better use of reg selection to speed exit slightly.
9294 Schedule entry path a little better. Remove useless "are we done"
9295 checks on entry to main loop. Handle wrapping around zero address.
9296 Correct main loop count. Handle single left-over word from main
9297 loop inline rather than by using loop_small. Remove extra word
9298 case in loop_small caused by wrong loop count. Add little-endian
9299 support.
9300 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9302 cache hint.
9303 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9305 support. Avoid rlwimi.
9306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9307
3be87c77
AM
93082013-10-04 Alan Modra <amodra@gmail.com>
9309
9310 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9311 insrdi. Formatting.
3be87c77
AM
9312 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9313 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9314 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9315 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9316 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9317 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9318
759cfef3
AM
93192013-10-04 Alan Modra <amodra@gmail.com>
9320
9321 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9324 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9325 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9327 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9328 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9329 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9330 use of regs. Use power7 mtocrf. Tidy function tails.
9331
fe6e95d7
AM
93322013-10-04 Alan Modra <amodra@gmail.com>
9333
9334 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9335 Formatting. Consistently use rXXX register defines or rN defines.
9336 Use early exit labels that avoid restoring unused non-volatile regs.
9337 Make cr field use more consistent with rWORDn compares. Rename
9338 regs used as shift registers for unaligned loop, using rN defines
9339 for short lifetime/multiple use regs.
9340 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9341 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9342 addi 1,1,64 to pop stack frame. Simplify return value code.
9343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9344
664318c3
AM
93452013-10-04 Alan Modra <amodra@gmail.com>
9346
9347 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9348 support. Correct typos, formatting. Optimize tail. Use insrdi
9349 rather than rlwimi.
9350 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9351 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9352 little-endian support. Correct typos.
9353 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9354 rather than rlwimi.
9355 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9356 in loop and entry code to keep "and." results.
9357 (strchr): Add little-endian support. Comment. Move cntlzd
9358 earlier in tail.
9359 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9360
43b84013
AM
93612013-10-04 Alan Modra <amodra@gmail.com>
9362
9363 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9364 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9366 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9367
8a7413f9
AM
93682013-10-04 Alan Modra <amodra@gmail.com>
9369
9370 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9371 (rTMP): Define as r11.
9372 (strcmp): Add little-endian support. Optimise tail.
9373 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9374 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9377 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9380
33ee81de
AM
93812013-10-04 Alan Modra <amodra@gmail.com>
9382
9383 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9384 little-endian support. Remove unnecessary "are we done" tests.
9385 Handle "s" wrapping around zero and extremely large "size".
9386 Correct main loop count. Handle single left-over word from main
9387 loop inline rather than by using small_loop. Correct comments.
9388 Delete "zero" tail, use "end_max" instead.
9389 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9390
db9b4570
AM
93912013-10-04 Alan Modra <amodra@gmail.com>
9392
9393 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9394 support. Don't branch over align.
9395 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9397 support. Rearrange tmp reg use to suit. Comment.
9398 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9399
f7c399cf
AM
94002013-10-04 Alan Modra <amodra@gmail.com>
9401
9402 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9403
0b2c2ace
AM
94042013-10-04 Alan Modra <amodra@gmail.com>
9405
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9407 conditional form of branch and link when obtaining pc.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9409
02f04a6c
AM
94102013-10-04 Alan Modra <amodra@gmail.com>
9411
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9413 HIWORD/LOWORD.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9416
9b874b2f
AM
94172013-10-04 Alan Modra <amodra@gmail.com>
9418
9419 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9420 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9421 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9424 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9426 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9427 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9428 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9429
be1e5d31
AB
94302013-10-04 Anton Blanchard <anton@au1.ibm.com>
9431 Alistair Popple <alistair@ozlabs.au.ibm.com>
9432 Alan Modra <amodra@gmail.com>
9433
9434 [BZ #15723]
9435 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9437 _dl_hwcap access for little-endian.
9438 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9439 destroy vmx regs when saving unaligned.
9440 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9441 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9442 destroy vmx regs when saving unaligned.
9443
fef13a78
AM
94442013-10-04 Alan Modra <amodra@gmail.com>
9445
9446 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9447 Don't use a union to pack hi/low value.
9448
76a66d51
AB
94492013-10-04 Anton Blanchard <anton@au1.ibm.com>
9450
9451 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9452 for little-endian.
9453 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9458
6a31fe7f
AM
94592013-10-04 Alan Modra <amodra@gmail.com>
9460
9461 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9462 constants to usual value for .cst8 section, and remove redundant
9463 high address load.
9464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9465 constant for 0x1p52. Load little-endian words of double from
9466 correct stack offsets.
9467
7b88401f
AM
94682013-10-04 Alan Modra <amodra@gmail.com>
9469
9470 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9471 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9472 words of double from correct stack offsets.
9473 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9474 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9475 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9479 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9481 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9485 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9487 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9488 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9489 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9490
9c008155
AM
94912013-10-04 Alan Modra <amodra@gmail.com>
9492
9493 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9494 64-bit int/double union.
9495 (_FPU_SETCW): Likewise.
9496 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9497 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9498
da13146d
AM
94992013-10-04 Alan Modra <amodra@gmail.com>
9500
9501 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9502 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9503
603e8410
AM
95042013-10-04 Alan Modra <amodra@gmail.com>
9505
9506 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9507 use vector int constants.
9508 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9509
4a28b3ca
AB
95102013-10-04 Anton Blanchard <anton@au1.ibm.com>
9511
9512 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9513 array with long long.
9514 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9515 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9516 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9517 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9518 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9519 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9520 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9521 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9522 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9523 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9524 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9525 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9526 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9527
2ca85d2b
AB
95282013-10-04 Anton Blanchard <anton@au1.ibm.com>
9529
9530 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9531 (__signbit): Likewise. Correct for little-endian.
9532 (__signbitl): Call __signbit.
9533 (lrint): Correct for little-endian.
9534 (lrintf): Call lrint.
9535
62a728ae
AM
95362013-10-04 Alan Modra <amodra@gmail.com>
9537
9538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9539 union 32-bit int array member with 64-bit int array.
9540 (t515, tm256): Double rather than long double.
9541 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9542
32c301df
AM
95432013-10-04 Alan Modra <amodra@gmail.com>
9544
9545 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9546 Delete.
9547 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9549 version of math_ldbl.h.
9550
650ef4bd
AM
95512013-10-04 Alan Modra <amodra@gmail.com>
9552
9553 [BZ #15734], [BZ #15735]
9554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9555 all uses of ieee875 long double macros and unions. Simplify test
9556 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9557 ldbl_extract_mantissa value for ix,iy exponents. Properly
9558 normalize after ldbl_extract_mantissa, and don't add hidden bit
9559 already handled. Don't treat low word of ieee854 mantissa like
9560 low word of IBM long double and mask off bit when testing for
9561 zero.
9562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9563 all uses of ieee875 long double macros and unions. Simplify tests
9564 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9565 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9566 two1022, instead use their values. Recognise that tests for large
9567 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9568 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9569 Rewrite all uses of ieee875 long double macros and unions. Simplify
9570 test for 0.0L and nan. Correct negation.
9571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9572 ieee875 long double macros and unions. Correct output for large
9573 magnitude x. Correct absolute value calculation.
9574 (__erfcl): Likewise.
9575 * math/libm-test.inc: Add tests for errors discovered in IBM long
9576 double versions of fmodl, remainderl, erfl and erfcl.
9577
765714ca
AM
95782013-10-04 Alan Modra <amodra@gmail.com>
9579
9580 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9581 all uses of ieee854 long double macros and unions. Simplify tests
9582 for long doubles that are fully specified by the high double.
9583 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9584 Likewise.
9585 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9586 Remove dead code too.
9587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9588 (__ieee754_ynl): Likewise.
9589 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9592 Remove dead code too.
9593 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9597 Simplify.
9598 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9599 Simplify.
9600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9603 Comment on variable precision.
9604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9606 Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9611 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9612
4ebd120c
AM
96132013-10-04 Alan Modra <amodra@gmail.com>
9614
9615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9616 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9617 all uses of ieee854 long double macros and unions.
9618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9621 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9622 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9623 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9624 Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9631 Simplify sign and nan test too.
9632 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9636 Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9639 Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9646
1b6adf88
AM
96472013-10-04 Alan Modra <amodra@gmail.com>
9648
9649 * stdio-common/printf_size.c (__printf_size): Don't use
9650 union ieee854_long_double in fpnum union.
9651 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9652 signbit macro to retrieve sign from long double.
9653 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9654 retrieve sign from long double.
9655 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9656 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9658 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9659 * math/test-misc.c (main): Don't use union ieee854_long_double.
9660
4cf69995
AM
96612013-10-04 Alan Modra <amodra@gmail.com>
9662
9663 [BZ #15680]
9664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9665 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9666 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9667 calculation. Remove unnecessary test for denormal exponent.
9668 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9669 Correct handling of denormals. Avoid undefined shift behaviour.
9670 Correct normalisation of low mantissa when low double is denormal.
9671 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9672 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9673 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9674 Correct normalisation of low mantissa. Test for overflow of high
9675 mantissa and normalise.
9676 (ldbl_nearbyint): Use more readable constant for two52.
9677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9678 (__mpn_construct_long_double): Fix test for overflow of high
9679 mantissa and correct normalisation. Avoid undefined shift.
9680
9605ca6c
AM
96812013-10-04 Alan Modra <amodra@gmail.com>
9682
9683 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9684 (union ibm_extended_long_double): Define as an array of ieee754_double.
9685 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9686 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9687 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9688 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9696
975569d0
JM
96972013-10-03 Joseph Myers <joseph@codesourcery.com>
9698
d3d23756
JM
9699 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9700 page size instead of calling getpagesize.
9701
975569d0
JM
9702 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9703 (LOCFILE_ALIGN_MASK): Likewise.
9704 (LOCFILE_ALIGN_UP): Likewise.
9705 (LOCFILE_ALIGNED_P): Likewise.
9706 * locale/programs/ld-collate.c (collate_output): Use the new
9707 macros instead of __alignof__ (int32_t).
9708 * locale/weight.h (findidx): Likewise.
9709
b1fe1f2b
OB
97102013-10-03 Ondřej Bílka <neleai@seznam.cz>
9711
9712 [BZ #431]
9713 * manual/string.texi: Fix strncat and wcsncat.
9714
5f855e35
BM
97152013-10-03 Brooks Moses <bmoses@google.com>
9716
9717 [BZ #15915]
9718 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9719 * Makerules: ...here, and adjust associated comments.
9720
3cef6009
WN
97212013-10-02 Will Newton <will.newton@linaro.org>
9722
9723 * malloc/Makefile: Add tst-pvalloc.
9724 * malloc/tst-pvalloc.c: New file.
9725
7815420b
WN
97262013-10-02 Will Newton <will.newton@linaro.org>
9727
9728 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9729 improve test coverage.
9730
4868b204
WN
97312013-10-02 Will Newton <will.newton@linaro.org>
9732
9733 * malloc/Makefile: Add tst-posix_memalign.
9734 * malloc/tst-posix_memalign.c: New file.
9735
29c793b3
EB
97362013-10-01 Eric Blake <eblake@redhat.com>
9737
9738 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9739 Use __THROWNL rather than __THROW on static functions.
9740
fd967522
PM
97412013-09-30 Petr Machata <pmachata@redhat.com>
9742
9743 * elf/elf.h (R_AARCH64_ABS16): New macro.
9744 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9745 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9746 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9747 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9748 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9749 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9750 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9751 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9752 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9753 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9754 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9755 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9756 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9757 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9758 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9759 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9760 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9761 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9762 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9763 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9764 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9765 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9766 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9767 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9768 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9769 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9770 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9771 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9772 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9773 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9774 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9775 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9776 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9777 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9778 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9779 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9780 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9781 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9782 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9783 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9784 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9785 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9786 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9787 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9788 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9789 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9790 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9791 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9792 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9793 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9794 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9795 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9796 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9797 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9798 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9799 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9800 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9801 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9802 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9803 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9804 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9805 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9806 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9807 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9808 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9809 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9810 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9811 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9812 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9813 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9814 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9815 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9816 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9817 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9818 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9819 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9820 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9821 (R_AARCH64_TLSDESC_LDR): Likewise.
9822 (R_AARCH64_TLSDESC_ADD): Likewise.
9823 (R_AARCH64_TLSDESC_CALL): Likewise.
9824
b2179107
AS
98252013-09-30 Andreas Schwab <schwab@suse.de>
9826
9827 [BZ #15048]
9828 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9829 the nss database lookup.
9830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9832
47f28d0a
MF
98332013-09-28 Mike Frysinger <vapier@gentoo.org>
9834
9835 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9836
98372013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9838
9839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9840 ${Bash-specific parameter/pattern/string} parameter expansion.
9841 * sysdeps/unix/make-syscalls.sh: Likewise.
9842
f4518a17
KK
98432013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9844
9845 * sysdeps/sh/stackguard-macros.h: New file.
9846
dc1a95c7
OB
98472013-09-26 Ondřej Bílka <neleai@seznam.cz>
9848
9849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9851 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9852 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9853 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9854 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9855
5ebbff8f
AZ
98562013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9857
9858 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9859 Fix thread ID register.
9860
4fd2cf9f
JM
98612013-09-25 Joseph Myers <joseph@codesourcery.com>
9862
9863 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9864 [POSIX || UNIX98]: Require rather than permitting all symbols from
9865 <time.h>.
9866 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9867 element of struct sched_param.
9868 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9869 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9870 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9871 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9872 constant.
9873
12c22bc4
OL
98742013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9875
9876 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9877 argument calculation.
9878
a03d8ea7
JM
98792013-09-24 Joseph Myers <joseph@codesourcery.com>
9880
9881 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9882 Expect macro.
9883 [POSIX] (pthread_attr_t): Do not require type.
9884 [POSIX] (pthread_cond_t): Likewise.
9885 [POSIX] (pthread_condattr_t): Likewise.
9886 [POSIX] (pthread_key_t): Likewise.
9887 [POSIX] (pthread_mutex_t): Likewise.
9888 [POSIX] (pthread_mutexattr_t): Likewise.
9889 [POSIX] (pthread_once_t): Likewise.
9890 [POSIX] (pthread_t): Likewise.
9891 [POSIX-based standards] (pthread_atfork): Expect function.
9892
6055173a
JM
98932013-09-24 Joseph Myers <joseph@codesourcery.com>
9894 Richard Sandiford <richard@codesourcery.com>
9895
9896 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9897 (swap_endianness_p): New extern variable.
9898 (set_big_endian): New inline function.
9899 (maybe_swap_uint32): Likewise.
9900 (maybe_swap_uint32_array): Likewise.
9901 (maybe_swap_uint32_obstack): Likewise.
9902 * locale/programs/locfile.c: Include <stdbool.h>.
9903 (swap_endianness_p): New variable.
9904 (add_locale_uint32): Call maybe_swap_uint32.
9905 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9906 (write_locale_data): Call maybe_swap_uint32_array.
9907 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9908 maybe_swap_uint32.
9909 (obstack_int32_grow_fast): Likewise.
9910 (output_weightwc): Call maybe_swap_uint32_obstack.
9911 (collate_output): Likewise.
9912 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9913 (OPT_LITTLE_ENDIAN): Likewise.
9914 (options): Add --little-endian and --big-endian options.
9915 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9916 * locale/programs/locarchive.c: Include "locfile.h".
9917 (GET): New macro.
9918 (SET): Likewise.
9919 (INC): Likewise.
9920 (create_archive): Use the new macros to access fields of
9921 structures directly mapped from or written to locale archives.
9922 (oldlocrecentcmp): Likewise.
9923 (enlarge_archive): Likewise.
9924 (insert_name): Likewise.
9925 (add_alias): Likewise.
9926 (add_locale): Likewise.
9927 (delete_locales_from_archive): Likewise.
9928 (show_archive_content): Likewise.
9929 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9930 locale data.
9931
39bf0bb4
RM
99322013-09-24 Roland McGrath <roland@hack.frob.com>
9933
9934 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9935 http://www.gnu.org/doc/freemanuals.texi.
9936 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9937
f02eed10
WN
99382013-09-24 Will Newton <will.newton@linaro.org>
9939
9940 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9941 macro.
9942
a3a6c312
JM
99432013-09-23 Joseph Myers <joseph@codesourcery.com>
9944
9945 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9946 unsigned char.
9947
107375ac
MR
99482013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9949
9950 * manual/threads.texi (POSIX Threads): Fix a typo.
9951
141f3a77
SP
99522013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9953
303e567a
SP
9954 [BZ #14547]
9955 * string/tst-strcoll-overflow.c: New test case.
9956 * string/Makefile (xtests): Add tst-strcoll-overflow.
9957 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9958 cache if string sizes may cause integer overflow.
9959
141f3a77
SP
9960 [BZ #14547]
9961 * string/strcoll_l.c (coll_seq): New members rule, idx,
9962 save_idx and back_us.
9963 (get_next_seq_nocache): New function.
9964 (do_compare_nocache): New function.
9965 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9966 when malloc fails.
9967
c61b4d41
CD
99682013-09-23 Carlos O'Donell <carlos@redhat.com>
9969
0b1f8e35
CD
9970 [BZ #15754]
9971 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9972 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9973 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9974
c61b4d41
CD
9975 [BZ #15754]
9976 * elf/Makefile (tests): Add tst-ptrguard1.
9977 (tests-static): Add tst-ptrguard1-static.
9978 (tst-ptrguard1-ARGS): Define.
9979 (tst-ptrguard1-static-ARGS): Define.
9980 * elf/tst-ptrguard1.c: New file.
9981 * elf/tst-ptrguard1-static.c: New file.
9982 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9983 * sysdeps/i386/stackguard-macros.h: Likewise.
9984 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9985 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9986 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9987 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9988 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9989 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9990
99912013-09-23 Hector Marco <hecmargi@upv.es>
9992 Ismael Ripoll <iripoll@disca.upv.es>
9993 Carlos O'Donell <carlos@redhat.com>
9994
9995 [BZ #15754]
9996 * sysdeps/generic/stackguard-macros.h: Define
9997 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9998 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9999 Define __pointer_chk_guard_local.
10000 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10001 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10002
f5f4e7b4
VV
100032013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10004
10005 [BZ #15859]
10006 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10007
5bb43a43
AS
100082013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10009
10010 * include/string.h (__ffs): Declare as hidden.
10011 * string/ffs.c (__ffs): Define as hidden.
10012 * sysdeps/i386/ffs.c (__ffs): Likewise.
10013 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10014 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10015 * sysdeps/s390/ffs.c (__ffs): Likewise.
10016 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10017
3ea5be54
AO
100182013-09-20 Alexandre Oliva <aoliva@redhat.com>
10019
ffb89e53
AO
10020 * NEWS: Mention malloc probes.
10021
322dea08
AO
10022 * malloc/arena.c (new_heap): New memory_heap_new probe.
10023 (grow_heap): New memory_heap_more probe.
10024 (shrink_heap): New memory_heap_less probe.
10025 (heap_trim): New memory_heap_free probe.
10026 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10027 (systrim): New memory_sbrk_less probe.
10028 * manual/probes.texi: Document them.
10029
655673f3
AO
10030 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10031 * manual/probes.texi: Document it.
10032
35fed6f1
AO
10033 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10034 (__libc_realloc): Add memory_realloc_retry probe.
10035 (__libc_memalign): Add memory_memalign_retry probe.
10036 (__libc_valloc): Add memory_valloc_retry probe.
10037 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10038 (__libc_calloc): Add memory_calloc_retry probe.
10039 * manual/probes.texi: Document them.
10040
6999d38c
AO
10041 * malloc/arena.c (get_free_list): Add probe
10042 memory_arena_reuse_free_list.
10043 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10044 and memory_arena_reuse.
10045 (arena_get2) [!PER_THREAD]: Likewise.
10046 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10047 memory_arena_reuse_realloc.
10048 * manual/probes.texi: Document them.
10049
0653427f
AO
10050 * malloc/malloc.c (__libc_free): Add
10051 memory_mallopt_free_dyn_thresholds probe.
10052 (__libc_mallopt): Add multiple memory_mallopt probes.
10053 * manual/probes.texi: Document them.
10054
3ea5be54
AO
10055 * malloc/malloc.c: Include stap-probe.h.
10056 (__libc_mallopt): Add memory_mallopt probe.
10057 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10058 * manual/probes.texi: New.
10059 * manual/Makefile (chapters): Add probes.
10060 * manual/threads.texi: Set next node.
10061
e35696c3 100622013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10063
e35696c3
CL
10064 [BZ #15963, #13985]
10065 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10066 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10067 Add `Chinese' to `nan' entry name.
10068
4aafb73c
SP
100692013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
10071 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10072 (POLYNOMIAL): Likewise.
10073 (TAYLOR_SINCOS): Likewise.
10074 (TAYLOR_SLOW): Likewise.
10075 (__sin): Use TAYLOR_SINCOS.
10076 (__cos): Likewise.
10077 (slow): Use TAYLOR_SLOW.
10078 (sloww): Likewise.
10079 (bsloww): Likewise.
10080 (csloww): Likewise.
10081
d84f25c7
LD
100822013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10083
10084 * stdlib/strtod_l.c: Fix buffer overrun.
10085
5eea0404
SP
100862013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10087
7849ff93
SP
10088 * benchtests/Makefile (bench): Add sincos.
10089 * benchtests/bench-sincos.c: New file.
10090
cfa3c886
SP
10091 * math/libm-test.inc (cos_test_data): New test inputs.
10092 (sin_test_data): Likewise.
10093
b348e1e3
SP
10094 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10095 macro.
10096 (__sin): Use it.
10097 (__cos): Likewise.
10098 (slow1): Likewise.
10099 (slow2): Likewise.
10100 (sloww1): Likewise.
10101 (sloww2): Likewise.
10102 (bsloww1): Likewise.
10103 (bsloww2): Likewise.
10104 (cslow2): Likewise.
10105 (csloww1): Likewise.
10106 (csloww2): Likewise.
10107
6cce25f8
SP
10108 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10109 function.
10110 (__sin): Use it.
10111 (__cos): Likewise.
10112
5eea0404
SP
10113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10114 gotos.
10115 (__cos): Likewise.
10116
9c21573c
MR
101172013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10118
10119 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10120 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10121 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10122 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10123 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10124 * elf/cache.c (print_entry): Handle the new cache flags.
10125
24d22e65
JM
101262013-09-18 Joseph Myers <joseph@codesourcery.com>
10127 Aldy Hernandez <aldyh@redhat.com>
10128
10129 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10130 Change condition to [_SOFT_FLOAT].
10131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10143 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10146 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10147 declaration.
10148
d13ef066
JM
101492013-09-18 Joseph Myers <joseph@codesourcery.com>
10150
2e071de0
JM
10151 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10152 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10153 (__longjmp): Use LOAD_GP to load saved GPRs.
10154 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10155 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10156 (__sigsetjmp): Use SAVE_GP to save GPRs.
10157
d13ef066
JM
10158 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10159 Do not append -msoft-float.
10160 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10161
97a0650b
SP
101622013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10163
10164 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10165
11ca09e9
JM
101662013-09-17 Joseph Myers <joseph@codesourcery.com>
10167
10168 [BZ #15966]
10169 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10170 (_FPU_GETCW): Use initial "__" on variable and field names but not
10171 on macro parameter name.
10172 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10173 parentheses around reference to macro parameter.
10174
08ffcf34
RS
101752013-09-13 Richard Sandiford <richard@codesourcery.com>
10176
10177 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10178 prototype.
10179 (ctype_startup): Use uint32_t in cast and sizeof for
10180 ctype->charnames.
10181
ae7080d3
JL
101822013-09-11 Jia Liu <proljc@gmail.com>
10183
10184 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10185 __daddr_t_defined.
10186 [__FreeBSD__]: Likewise.
10187
5905e7b3
OB
101882013-09-11 Ondřej Bílka <neleai@seznam.cz>
10189
10190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10191 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10192 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10193 (strchr): Remove __strchr_sse42 ifunc selection.
10194 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10195 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10196
b987c776
WN
101972013-09-11 Will Newton <will.newton@linaro.org>
10198
10199 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10200 parameter to RES. Remove hardcoded 1000 value.
10201 * benchtests/bench-skeleton.c (main): Pass RES parameter
10202 to TIMING_INIT and multiply result by 1000.
10203
ddf985af
AZ
102042013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10205
10206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10207
ffdd3181
AS
102082013-09-11 Andreas Schwab <schwab@suse.de>
10209
10210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10211 if not defined.
10212 (O_TMPFILE) [__USE_GNU]: Define.
10213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10214 Define.
10215
b73ed247
WN
102162013-09-11 Will Newton <will.newton@linaro.org>
10217
10218 [BZ #15857]
10219 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10220 does not overflow.
10221
55e17aad
WN
102222013-09-11 Will Newton <will.newton@linaro.org>
10223
10224 [BZ #15856]
10225 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10226 does not overflow.
10227
1159a193
WN
102282013-09-11 Will Newton <will.newton@linaro.org>
10229
10230 [BZ #15855]
10231 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10232 does not overflow.
10233
5905e7b3 102342013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10235
10236 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10237 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10241
cdfc721b
AM
102422013-09-10 Allan McRae <allan@archlinux.org>
10243
aa04af00
AM
10244 [BZ #15748]
10245 * manual/arith.texi (Parsing of Floats): Clarify
10246 cross-reference.
10247
cdfc721b
AM
10248 [BZ #15849]
10249 * manual/install.texi (Running make install): Mention
10250 --enable-pt-chown.
10251 * INSTALL: Regenerated.
10252
95e7cf29
MR
102532013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10254
10255 * csu/init-first.c (_init): Remove the !SHARED condition around
10256 FPU control word initialization.
10257 * elf/dl-support.c (_dl_fpu_control): New variable.
10258 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10259 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10260 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10261 * math/test-fpucw-static.c: New file.
10262 * math/test-fpucw-ieee.c: New file.
10263 * math/test-fpucw-ieee-static.c: New file.
10264 * math/Makefile (tests): Add `test-fpucw-ieee' and
10265 `$(tests-static)'.
10266 (tests-static): New variable.
10267 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10268 dependency to...
10269 [($(build-shared),yes)]
10270 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10271 ... this.
10272 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10273 New dependency.
10274
83e43bf0
AM
102752013-09-09 Allan McRae <allan@archlinux.org>
10276
a9f5ce09
AM
10277 [BZ #15939]
10278 * manual/string.texi (Collation Functions): Fix typo in
10279 strcoll example.
10280 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10281
34829bc2
AM
10282 [BZ #15893]
10283 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10284
3932737d
AM
10285 [BZ #15892]
10286 * libio/memstream.c (open_memstream): Fix memory leak.
10287 * libio/wmemstream.c (open_wmemstream): Likewise.
10288
83e43bf0
AM
10289 [BZ #15895]
10290 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10291
0c66b8e9
WN
102922013-09-09 Will Newton <will.newton@linaro.org>
10293
10294 * malloc/Makefile: Add tst-realloc to tests.
10295 * malloc/tst-realloc.c: New file.
10296
f6b00fd1
AM
102972013-09-09 Allan McRae <allan@archlinux.org>
10298
10299 [BZ #15844]
10300 * COPYING: Update from GNU website to fix FSF address.
10301 * COPYING.LIB: Likewise.
10302
eec55e16
DM
103032013-09-06 David S. Miller <davem@davemloft.net>
10304
10305 * po/zh_TW.po: Update Chinese (traditional) translation from
10306 translation project.
10307
1ecbb381
RS
103082013-09-06 Richard Sandiford <richard@codesourcery.com>
10309 Joseph Myers <joseph@codesourcery.com>
10310
10311 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10312 "localeinfo.h".
10313 (obstack_chunk_alloc): New macro.
10314 (obstack_chunk_free): Likewise.
10315 (record_offset): New function.
10316 (init_locale_data): Likewise.
10317 (align_locale_data): Likewise.
10318 (add_locale_empty): Likewise.
10319 (add_locale_raw_data): Likewise.
10320 (add_locale_raw_obstack): Likewise.
10321 (add_locale_string): Likewise.
10322 (add_locale_wstring): Likewise.
10323 (add_locale_uint32): Likewise.
10324 (add_locale_uint32_array): Likewise.
10325 (add_locale_char): Likewise.
10326 (start_locale_structure): Likewise.
10327 (end_locale_structure): Likewise.
10328 (start_locale_prelude): Likewise.
10329 (end_locale_prelude): Likewise.
10330 (write_locale_data): Take locale_file structure rather than an
10331 iovec.
10332 * locale/programs/locfile.h: Include "obstack.h".
10333 (struct locale_file): Change to store locale file contents instead
10334 of header.
10335 (init_locale_data): New prototype.
10336 (align_locale_data): Likewise.
10337 (add_locale_empty): Likewise.
10338 (add_locale_raw_data): Likewise.
10339 (add_locale_raw_obstack): Likewise.
10340 (add_locale_string): Likewise.
10341 (add_locale_wstring): Likewise.
10342 (add_locale_uint32): Likewise.
10343 (add_locale_uint32_array): Likewise.
10344 (add_locale_char): Likewise.
10345 (start_locale_structure): Likewise.
10346 (end_locale_structure): Likewise.
10347 (start_locale_prelude): Likewise.
10348 (end_locale_prelude): Likewise.
10349 (write_locale_data): Update prototype.
10350 * locale/programs/3level.h (struct TABLE): Remove result field.
10351 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10352 Use new locale_file interface.
10353 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10354 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10355 * locale/programs/ld-address.c (address_output): Use new
10356 locale_file interface.
10357 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10358 NO_ADD_LOCALE.
10359 (collate_finish): Don't call collseq_table_finalize.
10360 (collate_output): Use new locale_file interface.
10361 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10362 in file.
10363 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10364 (TABLE): Move defines earlier in file.
10365 (ELEMENT): Likewise.
10366 (DEFAULT): Likewise.
10367 (wctrans_table_add): Move macro and inline function earlier in
10368 file.
10369 (struct wctype_table): Move type earlier in file.
10370 (add_locale_wctype_table): New static prototype.
10371 (struct locale_ctype_t): Use logical types instead of struct iovec
10372 pointers for members.
10373 (ctype_output): Use new locale_file interface.
10374 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10375 new locale_file interface.
10376 (allocate_arrays): Update for use of new locale_file interface.
10377 * locale/programs/ld-identification.c (identification_output): Use
10378 new locale_file interface.
10379 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10380 * locale/programs/ld-messages.c (messages_output): Likewise.
10381 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10382 * locale/programs/ld-name.c (name_output): Likewise.
10383 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10384 * locale/programs/ld-paper.c (paper_output): Likewise.
10385 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10386 * locale/programs/ld-time.c (time_output): Likewise.
10387
e029e2e5
AZ
103882013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10389
10390 * benchtests/Makefile: Add memrchr benchmark.
10391 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10392 benchmark as memrchr.
10393 * benchtests/bench-memrchr-ifunc.c: New file.
10394 * benchtests/bench-memrchr.c: New file.
10395
bbf6e8e4
WN
103962013-09-06 Will Newton <will.newton@linaro.org>
10397
10398 * benchtests/Makefile (string-bench): Add memcpy.
10399
6c82a2f8
CD
104002013-09-05 Carlos O'Donell <carlos@redhat.com>
10401 Cong Wang <amwang@redhat.com>
10402
e732c5f0 10403 [BZ #15850]
6c82a2f8
CD
10404 * sysdeps/unix/sysv/linux/bits/in.h
10405 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10406 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10407 before __USE_KERNEL_IPV6_DEFS uses.
10408 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10409 IPPROTO_BEETPH.
10410 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10411 sockaddr_in6, or ipv6_mreq.
10412
5430fc65
AZ
104132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10414
10415 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10416 memory access for final bytes in some large inputs.
10417 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10418
4660856c
AZ
104192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420
10421 * string/test-memrchr.c: New file.
10422 * string/test-memrchr-ifunc.c: New file.
10423 * string/Makefile: Add new memrchr testcase.
10424
bb8ea713
MF
104252013-09-05 Mike Frysinger <vapier@gentoo.org>
10426
10427 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10428 fanotify_init returns EPERM.
10429
b92a20b5
JM
104302013-09-04 Joseph Myers <joseph@codesourcery.com>
10431
10432 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10433 errors.
10434 (top level): Treat second token from macro or constant entries for
10435 allowed headers as allowed.
10436 * include/complex.h: Condition internal declarations on
10437 [!_ISOMAC].
10438 * include/fenv.h: Condition include of <stdbool.h> and internal
10439 declarations on [!_ISOMAC].
7447ccd9
CL
10440
104412013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10442
3e181dda 10443 [BZ #15923]
7447ccd9
CL
10444 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10445
3f2e46a4
JM
104462013-09-04 Joseph Myers <joseph@codesourcery.com>
10447
10448 * configure.in (--enable-versioning): Remove configure option.
10449 (libc_cv_asm_symver_directive): Remove configure test.
10450 (libc_cv_ld_version_script_option): Likewise.
10451 (VERSIONING): Remove variable and AC_SUBST.
10452 (DO_VERSIONING): Remove AC_DEFINE.
10453 * configure: Regenerated.
10454 * config.h.in (DO_VERSIONING): Remove macro.
10455 * Makerules [$(versioning) = yes]: Change conditionals to
10456 [$(build-shared) = yes].
10457 * config.make.in (versioning): Remove variable.
10458 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10459 [$(build-shared) = yes].
10460 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10461 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10462 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10463 [$(build-shared) = yes].
10464 * extra-lib.mk [$(versioning) = yes]: Likewise.
10465 * hurd/Makefile [$(versioning) = yes]: Likewise.
10466 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10467 [SHARED].
10468 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10469 [SHARED].
10470 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10471 [SHARED && !NO_HIDDEN].
10472 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10473 [SHARED].
10474 [SHARED && DO_VERSIONING]: Likewise..
10475 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10476 [$(build-shared) = yes].
10477 * manual/install.texi (--disable-versioning): Remove
10478 documentation.
10479 * INSTALL: Regenerated.
10480 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10481 to [SHARED].
10482 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10483 [$(build-shared) = yes].
10484 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10485 * sysdeps/i386/i686/multiarch/strstr-c.c
10486 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10487 [SHARED && !NO_HIDDEN].
10488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10489 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10490 * sysdeps/powerpc/powerpc32/dl-machine.c
10491 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10492 * sysdeps/powerpc/powerpc32/sysdep.h
10493 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10494 to [SHARED && PIC && !NO_HIDDEN].
10495 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10496 conditional to [SHARED].
10497
44558701
WN
104982013-09-04 Will Newton <will.newton@linaro.org>
10499
10500 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10501 * benchtests/bench-string.h: Include bench-timing.h instead
10502 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10503 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10504 call to HP_TIMING_DIFF_INIT.
10505 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10506 instead of hp-timing.h macros.
10507 * benchtests/bench-memchr.c: Likewise.
10508 * benchtests/bench-memcmp.c: Likewise.
10509 * benchtests/bench-memcpy.c: Likewise.
10510 * benchtests/bench-memmem.c: Likewise.
10511 * benchtests/bench-memmove.c: Likewise.
10512 * benchtests/bench-memset.c: Likewise.
10513 * benchtests/bench-rawmemchr.c: Likewise.
10514 * benchtests/bench-strcasecmp.c: Likewise.
10515 * benchtests/bench-strcasestr.c: Likewise.
10516 * benchtests/bench-strcat.c: Likewise.
10517 * benchtests/bench-strchr.c: Likewise.
10518 * benchtests/bench-strcmp.c: Likewise.
10519 * benchtests/bench-strcpy.c: Likewise.
10520 * benchtests/bench-strcpy_chk.c: Likewise.
10521 * benchtests/bench-strlen.c: Likewise.
10522 * benchtests/bench-strncasecmp.c: Likewise.
10523 * benchtests/bench-strncat.c: Likewise.
10524 * benchtests/bench-strncmp.c: Likewise.
10525 * benchtests/bench-strncpy.c: Likewise.
10526 * benchtests/bench-strnlen.c: Likewise.
10527 * benchtests/bench-strpbrk.c: Likewise.
10528 * benchtests/bench-strrchr.c: Likewise.
10529 * benchtests/bench-strspn.c: Likewise.
10530 * benchtests/bench-strstr.c: Likewise.
10531
cae16d66
WN
105322013-09-04 Will Newton <will.newton@linaro.org>
10533
10534 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10535
ffa3cd7f
JM
105362013-09-03 Joseph Myers <joseph@codesourcery.com>
10537
10538 [BZ #15427]
10539 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10540 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10541 * math/libm-test.inc (lgamma_test_data): Add more tests.
10542 * sysdeps/i386/fpu/libm-test-ulps: Update.
10543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10544
8f02859f
OB
105452013-09-03 Ondřej Bílka <neleai@seznam.cz>
10546
10547 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10549 Add ifunc.
10550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10551 Add strcmp-sse2-unaligned
10552 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10553
18d43716
MF
105542013-09-02 Mike Frysinger <vapier@gentoo.org>
10555
10556 * Versions.def (libc): Add GLIBC_2.19.
10557
ac444012
MF
105582013-09-02 Mike Frysinger <vapier@gentoo.org>
10559
10560 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10561 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10562
b7835e32
JM
105632013-09-02 Joseph Myers <joseph@codesourcery.com>
10564
10565 [BZ #14155]
10566 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10567 intermediate calculations in recurrence.
10568 (__ieee754_ynf): Likewise.
10569 * math/libm-test.inc (jn_test_data): Do not allow spurious
10570 underflow exception. Add more tests.
10571 (yn_test_data): Add more tests.
10572 * sysdeps/i386/fpu/libm-test-ulps: Update.
10573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574
8220f4f0
OB
105752013-09-02 Ondřej Bílka <neleai@seznam.cz>
10576
10577 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10578
f24a6d08
OB
105792013-08-30 Ondřej Bílka <neleai@seznam.cz>
10580
10581 * csu/init-first.c: Fix then/than typos.
10582 * locale/programs/ld-collate.c: Likewise.
10583 * locale/programs/linereader.h: Likewise.
10584 * manual/charset.texi: Likewise.
10585 * manual/filesys.texi: Likewise.
10586 * manual/stdio.texi: Likewise.
10587 * manual/string.texi: Likewise.
10588 * stdlib/fmtmsg.c: Likewise.
10589 * sysdeps/i386/stpncpy.S: Likewise.
10590 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10591 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10593 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10594
382466e0
OB
105952013-08-30 Ondřej Bílka <neleai@seznam.cz>
10596
10597 * elf/dl-open.c: Fix typos.
10598 * iconvdata/gbbig5.c: Likewise.
10599 * iconvdata/iso-2022-jp.c: Likewise.
10600 * iconv/gconv_int.h: Likewise.
10601 * iconv/loop.c: Likewise.
10602 * nis/rpcsvc/nis.h: Likewise.
10603 * resolv/ns_name.c: Likewise.
10604 * stdio-common/vfscanf.c: Likewise.
10605 * streams/stropts.h: Likewise.
10606 * sunrpc/rpc_thread.c: Likewise.
10607 * sysdeps/i386/strpbrk.S: Likewise.
10608 * sysdeps/ieee754/k_standard.c: Likewise.
10609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10611 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10612 * sysdeps/mach/hurd/profil.c: Likewise.
10613 * sysdeps/s390/dl-procinfo.h: Likewise.
10614 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10615 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10617 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10619
0186c6e9
OB
106202013-08-30 Ondřej Bílka <neleai@seznam.cz>
10621
10622 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10624
d4e16af1
OB
106252013-08-29 Ondřej Bílka <neleai@seznam.cz>
10626
10627 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10628 aix specific files.
10629 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10630 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10632 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10634 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10635 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10636 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10637
88335980
TS
106382013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10639 Roland McGrath <roland@hack.frob.com>
10640
10641 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10642 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10643
ed479b02
ST
106442013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10645
10646 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10647 __executable_start symbol instead of _start.
10648
f1cc4c86
TS
106492013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10650
d821f07c
TS
10651 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10652 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10653 Move macros to...
10654 * sysdeps/gnu/ldsodefs.h: ... this new file.
10655
c54290cf
TS
10656 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10657 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10658 instead of ELFOSABI_LINUX.
10659
0007fc9b 10660 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10661 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10662 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10663 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10664 Likewise.
10665 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10666 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10667 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10668 Likewise.
10669 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10670 (ibm_extended_long_double): Add ieee_nan member.
10671 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10672 (do_test): New function.
10673
f1cc4c86
TS
10674 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10675 TEST_TRUNC.
10676 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10677 functions, renamed from truncdfsf_test, trunctfsf_test,
10678 trunctfdf_test.
10679 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10680 functions.
10681 (do_test): Run all these.
10682
6f65e668
OB
106832013-08-29 Ondřej Bílka <neleai@seznam.cz>
10684
10685 * argp/argp-help.c: Fix typos.
10686 * argp/argp-parse.c: Likewise.
10687 * debug/backtracesyms.c: Likewise.
10688 * elf/elf.h: Likewise.
10689 * malloc/malloc.c: Likewise.
10690 * nis/nis_print.c: Likewise.
10691 * resolv/res_comp.c: Likewise.
10692 * stdlib/stdlib.h: Likewise.
10693 * sunrpc/clnt_tcp.c: Likewise.
10694 * sunrpc/clnt_udp.c: Likewise.
10695 * sunrpc/clnt_unix.c: Likewise.
10696 * sysdeps/unix/bsd/ptsname.c: Likewise.
10697 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10700 Likewise.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10702 Likewise.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10704 Likewise.
6f65e668
OB
10705 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10706
3a309239
SP
107072013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10708
10709 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10711
3b813b29
MF
107122013-08-27 Mike Frysinger <vapier@gentoo.org>
10713
10714 [BZ #15897]
10715 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10716 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10717 ($(objpfx)bug-dl-leaf): New rule.
10718 ($(objpfx)bug-dl-leaf.so): Likewise.
10719 ($(objpfx)bug-dl-leaf.out): Likewise.
10720 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10721 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10722 * dlfcn/bug-dl-leaf.c: New test.
10723 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10724 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10725 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10726 (dlclose): Likewise.
10727 (dlmopen): Likewise.
10728
8cc3269f
RM
107292013-08-27 Roland McGrath <roland@hack.frob.com>
10730
7f9d0034
RM
10731 * include/netdb.h [!_ISOMAC]:
10732 Don't include <tls.h>.
10733 (h_errno, __libc_h_errno): Move declaration and macros out of
10734 [_LIBC_REENTRANT].
10735
fb431262
RM
10736 * include/resolv.h [_RESOLV_H_]:
10737 Don't include <tls.h>.
10738 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10739 * resolv/res_libc.c: Don't include <tls.h>.
10740 (_res): Use __attribute__ ((nocommon)) in place of
10741 __attribute__ ((section (".bss"))).
10742
bd81123a
RM
10743 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10744 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10745
c4e42566
RM
10746 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10747
f890a59b
RM
10748 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10749 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10750
10751 * resolv/res_mkquery.c: Include <sys/time.h>.
10752
5d1f0a09
RM
10753 * inet/ifreq.c: Moved to ...
10754 * sysdeps/unix/ifreq.c: ... here.
10755 * inet/ifreq.c: New file, true stub version.
10756
6fcf28b3
RM
10757 * socket/sa_len.c: New file.
10758 * socket/Makefile (aux): Add it.
10759 * sysdeps/unix/sysv/linux/Makefile
10760 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10761 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10762 and #include <socket/sa_len.c>.
10763 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10764 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10765
e041fb8b
RM
10766 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10767 * bits/socket.h: ... here.
10768
8cc3269f
RM
10769 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10770 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10771 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10772
5d228a43
AS
107732013-08-27 Andreas Schwab <schwab@suse.de>
10774
45b8accc
AS
10775 [BZ #15736]
10776 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10777 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10778 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10779 * string/test-strcasecmp.c (test_main): Run tests in several
10780 locales.
10781 * string/test-strncasecmp.c (test_main): Likewise.
10782
5d228a43
AS
10783 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10784 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10785 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10787 (__strncasecmp_ssse3) [PIC]: Likewise.
10788
59d112a4
RM
107892013-08-26 Roland McGrath <roland@hack.frob.com>
10790
53234cc3
RM
10791 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10792
59d112a4
RM
10793 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10794 instead of explicitly declaring xdecrypt.
10795 * nis/nss_nis/nis-publickey.c: Likewise.
10796
595aba70
SP
107972013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 [BZ #15890]
10800 * nscd/aicache.c: Include res_hconf.h.
10801 (addhstaiX): Initialize res_hconf.
10802
ffabd393
AS
108032013-08-26 Andreas Schwab <schwab@suse.de>
10804
10805 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10806 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10807
e0a69f5c
SP
108082013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
10810 * nscd/aicache.c (addhstaiX): Fix indentation.
10811
8c12f01d
MF
108122013-08-25 Mike Frysinger <vapier@gentoo.org>
10813
10814 * configure.ac: Quote $build_pt_chown test.
10815 * configure: Regenerated.
10816
8fe89494
JM
108172013-08-23 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #15532]
10820 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10821 * math/s_cexpf.c (__cexpf): Likewise.
10822 * math/s_cexpl.c (__cexpl): Likewise.
10823 * math/libm-test.inc (cexp_test_data): Correct expected return
10824 value for NaN + i0. Add another test.
10825
75b181d6
DM
108262013-08-22 David S. Miller <davem@davemloft.net>
10827
10828 * po/ca.po: Update Catalan translation from translation project.
936241e4 10829 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10830
acd06bb1
JM
108312013-08-21 Joseph Myers <joseph@codesourcery.com>
10832
10833 [BZ #15797]
10834 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10835 is infinite, not alongside NaN test.
10836 * math/s_fdimf.c (__fdimf): Likewise.
10837 * math/s_fdiml.c (__fdiml): Likewise.
10838 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10839 errno is unchanged.
10840
c0c3f78a
OB
108412013-08-21 Ondřej Bílka <neleai@seznam.cz>
10842
10843 * argp/argp-help.c: Fix typos.
10844 * crypt/speeds.c: Likewise.
10845 * csu/check_fds.c: Likewise.
10846 * elf/dl-load.c: Likewise.
10847 * elf/dl-open.c: Likewise.
10848 * elf/reldep3.c: Likewise.
10849 * elf/reldep.c: Likewise.
10850 * elf/sprof.c: Likewise.
10851 * iconv/iconv_charmap.c: Likewise.
10852 * iconv/skeleton.c: Likewise.
10853 * iconv/strtab.c: Likewise.
10854 * io/lockf64.c: Likewise.
10855 * libio/libioP.h: Likewise.
10856 * resolv/gai_notify.c: Likewise.
10857 * resolv/ns_name.c: Likewise.
10858 * resolv/ns_samedomain.c: Likewise.
10859 * resolv/res_send.c: Likewise.
10860 * stdlib/random.c: Likewise.
10861 * sunrpc/rpc/xdr.h: Likewise.
10862 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10863 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10864 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10865 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10870 * sysdeps/mach/hurd/check_fds.c: Likewise.
10871 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10872 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10874 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10875 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10876 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10877 * sysdeps/pthread/aio_notify.c: Likewise.
10878 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10879 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10880 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10882 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10883
46ed1038
LD
108842013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10885
10886 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10887 version if bit_Slow_SSE4_2 is set.
10888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10890
d400dcac
AZ
108912013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892
10893 [BZ #15867]
10894 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10895 trampoline stack frame information.
10896 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10898 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10899 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10900 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10901 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10902 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10903 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10904 sa_flags value.
10905 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10906 interrupting a syscall and set with option SA_SIGINFO.
10907
42c8fdd8
JM
109082013-08-20 Joseph Myers <joseph@codesourcery.com>
10909
c980f2f4
JM
10910 [BZ #15531]
10911 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10912 argument is infinite.
10913 * math/s_cprojf.c (__cprojf): Likewise.
10914 * math/s_cprojl.c (__cprojl): Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10916 * math/libm-test.inc (cproj_test_data): Add more tests.
10917
0716c4fc
JM
10918 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10919
42c8fdd8
JM
10920 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10921 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10922 size. Use __ffs to determine corresponding shift.
10923
b31469d0
JM
109242013-08-20 Joseph Myers <joseph@codesourcery.com>
10925 Roland McGrath <roland@hack.frob.com>
10926
10927 * Makefile (INSTALL): Remove trailing blank lines from output of
10928 makeinfo.
10929
4e39af6e
AK
109302013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10931
10932 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10933 Align 32 bit compat elf_greg to 8 bytes.
10934
f315524e
AA
109352013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10936
10937 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10938
1326ba1a
SP
109392013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10940
10941 * string/strcoll_l.c (coll_seq): New structure.
10942 (get_next_seq_cached): New function.
10943 (get_next_seq): New function.
10944 (do_compare): New function.
10945 (STRCOLL): Use GNU style definition. Simplify implementation
10946 by using get_next_seq, get_next_seq_cached and do_compare.
10947
91ce4085
FW
109482013-08-16 Florian Weimer <fweimer@redhat.com>
10949
10950 [BZ #14699]
10951 CVE-2013-4237
10952 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10953 member.
10954 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10955 member.
10956 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10957 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10958 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10959 conditional.
10960 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10961 GETDENTS_64BIT_ALIGNED.
10962 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10963 * manual/filesys.texi (Reading/Closing Directory): Document
10964 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10965 strongly.
10966 * manual/conf.texi (Limits for Files): Add portability note to
10967 NAME_MAX, PATH_MAX.
10968 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10969
ca0a6bc4
AS
109702013-08-13 Andreas Schwab <schwab@suse.de>
10971
10972 [BZ #15749]
10973 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10974 of fabs.
10975 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10976 LDBL_MAX_EXP >= 16384]: Add tests for it.
10977
6c1fd795
DM
109782013-08-12 David S. Miller <davem@davemloft.net>
10979
10980 * version.h (RELEASE): Set to "development".
10981 (VERSION): Set to "2.18.90".
10982 * NEWS: Add 2.19 section.
10983
31ad488d
DM
109842013-08-03 David S. Miller <davem@davemloft.net>
10985
10986 * po/ko.po: Update Korean translation from translation project.
10987
db24e684
DM
109882013-08-01 David S. Miller <davem@davemloft.net>
10989
10990 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10991 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10992 Bilka.
10993
f723285b
DM
109942013-07-30 David S. Miller <davem@davemloft.net>
10995
10996 * po/fr.po: Update French translation from translation project.
10997
3cbc52db
DM
109982013-07-28 David S. Miller <davem@davemloft.net>
10999
30bbc0cc
DM
11000 * po/cs.po: Update Czech translation from translation project.
11001
3cbc52db
DM
11002 * po/sv.po: Update Swedish translation from translation project.
11003
d492e6d0
DM
110042013-07-27 David S. Miller <davem@davemloft.net>
11005
f1a7f492
DM
11006 * po/eo.po: Update Esperanto translation from translation project.
11007
90e62a4a
DM
11008 * po/vi.po: Update Vietnamese translation from translation project.
11009
d492e6d0
DM
11010 * po/de.po: Update German translation from translation project.
11011
d4baa62d
DM
110122013-07-26 David S. Miller <davem@davemloft.net>
11013
641aa7b4
DM
11014 * po/bg.po: Update Bulgarian translation from translation project.
11015
d4baa62d
DM
11016 * po/nl.po: Update Dutch translation from translation project.
11017 * po/pl.po: Update Polish translation from translation project.
11018 * po/ru.po: Update Russian translation from translation project.
11019
61a9dcb9
DM
110202013-07-24 David S. Miller <davem@davemloft.net>
11021
11022 * po/libc.pot: Update.
11023
7b1f8b58
AZ
110242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11025
11026 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11027 variable page size.
11028 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11029 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11030 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11031
a8fc7a03
AK
110322013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11033
11034 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11035
e4608715
CD
110362013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11037 Andreas Schwab <schwab@suse.de>
11038 Roland McGrath <roland@hack.frob.com>
11039 Joseph Myers <joseph@codesourcery.com>
11040 Carlos O'Donell <carlos@redhat.com>
11041
11042 [BZ #15755]
11043 * config.h.in: Define HAVE_PT_CHOWN.
11044 * config.make.in (build-pt-chown): New variable.
11045 * configure.in (--enable-pt_chown): New configure option.
11046 * configure: Regenerate.
11047 * login/Makefile: Include Makeconfig. Build pt_chown only if
11048 build-pt-chown is enabled.
11049 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11050 pt_chown to fix pty ownership.
11051 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11052 CLOSE_ALL_FDS.
11053 * manual/install.texi (Configuring and compiling): Mention
11054 --enable-pt_chown. Add @findex for grantpt.
11055 * INSTALL: Regenerate.
11056
da2d62df
DM
110572013-07-20 David S. Miller <davem@davemloft.net>
11058
11059 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11060 difference between 32-bit and 64-bit.
11061
d7e06450
CD
110622013-07-15 Carlos O'Donell <carlos@redhat.com>
11063
11064 [BZ #15711]
11065 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11066 Avoid system header dependency with -ffreestanding.
11067 ($(objpfx)bits/syscall%d): Likewise.
11068
f959cfd7
DM
110692013-07-13 David S. Miller <davem@davemloft.net>
11070
11071 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11072 underflows from atanl/atan2l due to bug 15319.
11073 (casinh_test_data): Likewise.
11074
c61f8513
DM
110752013-07-07 David S. Miller <davem@davemloft.net>
11076
11077 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11078
72c90ed0
JA
110792013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11080
11081 * sysdeps/i386/fpu/libm-test-ulps: Update.
11082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083
52dfbe13
SP
110842013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11085
11086 * configure.in (--enable-lock-elision): Fix message text.
11087 * INSTALL: Regenerate.
11088 * configure: Regenerate.
11089
3f169543
AZ
110902013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11091
11092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11093
521c6785
AJ
110942013-07-03 Andreas Jaeger <aj@suse.de>
11095
11096 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11097 define.
11098 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11099 (ptrace_peeksiginfo_args): Add.
11100 (__ptrace_peeksiginfo_flags): Add.
11101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11104
d2cc15cb
AM
111052013-07-03 Allan McRae <allan@archlinux.org>
11106
11107 * sysdeps/i386/fpu/libm-test-ulps: Update.
11108
3aaeeca7
DM
111092013-07-02 David S. Miller <davem@davemloft.net>
11110
11111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11112
5314ed1a
MT
111132013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11114
11115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11116
67338156
JM
111172013-07-02 Joseph Myers <joseph@codesourcery.com>
11118
11119 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11121
1717da59
AK
111222013-07-02 Andi Kleen <ak@linux.intel.com>
11123
11124 * config.h.in (ENABLE_LOCK_ELISION): Add.
11125 * configure.in (--enable-lock-elision): Add option.
11126 * manual/install.texi: Document --enable lock elision.
11127 * configure: Regenerate
11128 * INSTALL: Regenerate.
11129
1c81621c
L
111302013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11131
11132 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11133 SSE4.2 strcasecmp for libc.a.
11134 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11135
77f01ab5
JM
111362013-07-02 Joseph Myers <joseph@codesourcery.com>
11137
11138 [BZ #13304]
11139 * soft-fp/op-common.h (_FP_FMA): New macro.
11140 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11141 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11142 (_FP_MUL_MEAT_1_imm): ... here.
11143 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11144 (_FP_MUL_MEAT_1_wide): ... here.
11145 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11146 (_FP_MUL_MEAT_1_hard): ... here.
11147 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11148 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11149 (_FP_MUL_MEAT_2_wide): ... here.
11150 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11151 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11152 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11153 (_FP_MUL_MEAT_2_gmp): ... here.
11154 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11155 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11156 (_FP_MUL_MEAT_4_wide): ... here.
11157 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11158 (_FP_MUL_MEAT_4_gmp): ... here.
11159 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11160 (_FP_WFRACBITS_DW_S): Likewise.
11161 (_FP_WFRACXBITS_DW_S): Likewise.
11162 (_FP_HIGHBIT_DW_S): Likewise.
11163 (FP_FMA_S): Likewise.
11164 (_FP_FRAC_HIGH_DW_S): Likewise.
11165 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11166 (_FP_WFRACBITS_DW_D): Likewise.
11167 (_FP_WFRACXBITS_DW_D): Likewise.
11168 (_FP_HIGHBIT_DW_D): Likewise.
11169 (FP_FMA_D): Likewise.
11170 (_FP_FRAC_HIGH_DW_D): Likewise.
11171 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11172 (_FP_WFRACBITS_DW_E): Likewise.
11173 (_FP_WFRACXBITS_DW_E): Likewise.
11174 (_FP_HIGHBIT_DW_E): Likewise.
11175 (FP_FMA_E): Likewise.
11176 (_FP_FRAC_HIGH_DW_E): Likewise.
11177 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11178 (_FP_WFRACBITS_DW_Q): Likewise.
11179 (_FP_WFRACXBITS_DW_Q): Likewise.
11180 (_FP_HIGHBIT_DW_Q): Likewise.
11181 (FP_FMA_Q): Likewise.
11182 (_FP_FRAC_HIGH_DW_Q): Likewise.
11183 * soft-fp/fmasf4.c: New file.
11184 * soft-fp/fmadf4.c: Likewise.
11185 * soft-fp/fmatf4.c: Likewise.
11186
6308fd9a
LD
111872013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11188
11189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11190 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11191 Silvermont.
11192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11193 macro.
11194 (index_Slow_SSE4_2): Likewise.
11195 (index_Prefer_PMINUB_for_stringop): Likewise.
11196 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11197 bit_Slow_SSE4_2 is set.
11198 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11199 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11200
89cd9569
RA
112012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11202
11203 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11204 rtld_global._dl_hwcap2.
11205 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11206 POWER8.
11207 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11208 POWER8 feature descriptions defined in _dl_hwcap2.
11209 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11210 string handling for POWER8 feature bits.
11211 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11212 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11213 _dl_powerpc_cap_flags.
11214 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11215 * sysdeps/powerpc/rtld-global-offsets.sym
11216 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11217 _dl_hwcap2 in the rtld_global_ro structure.
11218
1ae8bfe0
RA
112192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11220
11221 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11222 hardware capabilities in support of AT_HWCAP2.
11223 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11224 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11225 GLRO(dl_hwcap2).
11226 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11227 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11228 explicitly the unknown a_type display mechanism is used.
11229 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11230 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11231 struct member.
11232 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11233 to macro prototype for AT_HWCAP2 support.
11234 * sysdeps/i386/dl-procinfo.h: Likewise.
11235 * sysdeps/s390/dl-procinfo.h: Likewise.
11236 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11237 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11238 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11239 return -1 for unknown a_type display fallback.
11240 * sysdeps/sparc/dl-procinfo.h: Likewise.
11241 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11242 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11243
8fbec010
JM
112442013-06-28 Joseph Myers <joseph@codesourcery.com>
11245
11246 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11247 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11248
0432680e
PY
112492013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11250
11251 [BZ #12492]
11252 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11253 mprotect making __stack_prot writable.
11254
ce61a2ad
NF
112552013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11256 Joseph Myers <joseph@codesourcery.com>
11257
11258 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11259 as being properly aligned.
11260
f91f1c0f
MR
112612013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11262
3d0f5d0c
MR
11263 * dlfcn/modstatic5.c: New file.
11264 * dlfcn/tststatic5.c: New file.
11265 * dlfcn/Makefile (tests): Add tststatic5.
11266 (tests-static): Likewise.
11267 (modules-names): Add modstatic5.
11268 (tststatic5-ENV): New variable.
11269 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11270
f91f1c0f
MR
11271 [BZ #15022]
11272 * elf/dl-support.c (_dl_main_map): New variable.
11273 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11274 (_dl_nns, _dl_load_adds): Set to 1.
11275 (_dl_initial_searchlist): Refer to _dl_main_map.
11276 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11277 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11278 call to _dl_get_origin.
11279 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11280 around call_map.
11281 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11282 * dlfcn/modstatic3.c: New file.
11283 * dlfcn/tststatic3.c: New file.
11284 * dlfcn/tststatic4.c: New file.
11285 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11286 (tests-static): Likewise.
11287 (modules-names): Add modstatic3.
11288 (tststatic3-ENV, tststatic4-ENV): New variables.
11289 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11290 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11291
cbe7d24b
JM
112922013-06-26 Joseph Myers <joseph@codesourcery.com>
11293
11294 * configure.in (CC): Require GCC version 4.4 or later.
11295 * configure: Regenerated.
11296 * manual/install.texi (Tools for Compilation): Update GCC version
11297 requirement.
11298 * INSTALL: Regenerated.
11299
11b8a0e1
LD
113002013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11301
11302 [BZ #15674]
bb5bb87c
L
11303 * string/test-memcmp.c (check2): New.
11304 (main): Call check2.
11305
11b8a0e1
LD
11306 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11307
b0037103
MR
113082013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11309
11310 [BZ #15022]
11311 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11312 over to...
11313 (dl_open_worker) [!SHARED]: ... here.
11314
c18c701d
RA
113152013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11316
11317 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11318
1d17fa5f
RH
113192013-06-25 Richard Henderson <rth@redhat.com>
11320
11321 * locale/programs/locarchive.c: Include <libc-internal.h>
11322
8fcb833a
JM
113232013-06-25 Joseph Myers <joseph@codesourcery.com>
11324
11325 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11326 trailing whitespace removed.
11327
17db6e8d
MF
113282013-06-24 Mike Frysinger <vapier@gentoo.org>
11329
11330 [BZ #10283]
17db6e8d
MF
11331 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11332 * locale/programs/locarchive.c: Include libc-mmap.h.
11333 (prepare_address_space): Take two new outputs (the mmap base and len).
11334 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11335 values.
11336 (create_archive): Declare new mmap base and len values for
11337 prepare_address_space, and store the result in ah.
11338 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11339 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11340 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11341 Declare new mmap base and len values for
11342 prepare_address_space, and store the result in new_ah.
11343 (open_archive): Declare new mmap base and len values for
11344 prepare_address_space, and store the result in ah.
11345 (close_archive): If ah->mmap_base is not NULL, use that and
11346 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11347 * sysdeps/generic/libc-mmap.h: New file.
11348
d605071e
MF
113492013-06-24 Mike Frysinger <vapier@gentoo.org>
11350
11351 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11352 (ALIGN_UP): Likewise.
11353 (PTR_ALIGN_DOWN): Likewise.
11354 (PTR_ALIGN_UP): Likewise.
11355
2f063a6e
RA
113562013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11357
11358 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11359 entry mapped to PPC_PLATFORM_POWER8.
11360 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11361 POWER8.
11362 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11363 (_dl_string_platform): Add case for exporting platform position for
11364 POWER8.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11366 search path to sysdeps/powerpc/powerpc32/power8 directory.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11368 search path to sysdeps/powerpc/powerpc64/power8 directory.
11369 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11370 power7 directories.
11371 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11372 power7 directories.
11373
a31ee4b3
SP
113742013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11375
a74ca98f
SP
11376 * INSTALL: Regenerate.
11377
a31ee4b3
SP
11378 * nscd/connections.c (nscd_init): Fix comment.
11379
695c378f
JM
113802013-06-22 Joseph Myers <joseph@codesourcery.com>
11381
d8412221
JM
11382 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11383
695c378f
JM
11384 [BZ #15667]
11385 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11386 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11387
d1d54715
MR
113882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11389
11390 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11391 DL_DST_REQ_STATIC.
11392 (DL_DST_REQ_STATIC): Remove macro.
11393
8fdda7af
JM
113942013-06-21 Joseph Myers <joseph@codesourcery.com>
11395
11396 [BZ #7006]
11397 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11398 with a shift of 0 bits.
11399
f3bc5e5a
MR
114002013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11401
11402 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11403 $(tststatic-ENV).
11404
be09e8c9
KK
114052013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11406
11407 [BZ #15655]
11408 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11409
85c2e611
AZ
114102013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11411
11412 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11413 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11414 accepts -fno-tree-loop-distribute-patterns.
11415 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11416 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11417 recursive call.
11418 * string/memset.c (memset): Likewise.
11419 * string/test-memmove.c (simple_memmove): Disable loop transformation
11420 to library calls.
11421 * string/test-memset.c (simple_memset): Likewise.
11422 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11423 * benchtests/bench-memset.c (simple_memset): Likewise.
11424 * configure: Regenerated.
11425
c91e0825
JM
114262013-06-20 Joseph Myers <joseph@codesourcery.com>
11427
b8c792af
JM
11428 * math/test-misc.c (main): Ignore fesetround failure when failures
11429 of subsequent rounding tests would be ignored.
11430
c91e0825
JM
11431 [BZ #15654]
11432 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11433 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11434 * math/fegetenv.c (__fegetenv): Return 0.
11435 * math/fegetexcept.c (fegetexcept): Return 0.
11436 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11437 FE_TONEAREST.
11438 * math/feholdexcpt.c (feholdexcept): Return 0.
11439 * math/fesetenv.c (__fesetenv): Return 0.
11440 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11441 argument FE_TONEAREST.
11442 * math/feupdateenv.c (__feupdateenv): Return 0.
11443 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11444
bfcacbde
RM
114452013-06-18 Roland McGrath <roland@hack.frob.com>
11446
11447 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11448 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11449 ($(objpfx)rtld-%.os rules): Use them.
11450
e55a9b25
AZ
114512013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11454 fields.
11455
346d65b3
RM
114562013-06-17 Roland McGrath <roland@hack.frob.com>
11457
12086fb4
RM
11458 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11459 length of target pattern, then descending length of dependency pattern.
11460 * configure.in (AWK): Require gawk 3.1.2 or newer.
11461 * manual/install.texi (Tools for Compilation): Say that we do.
11462 * configure: Regenerated.
11463
346d65b3
RM
11464 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11465 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11466 * scripts/sysd-rules.awk: ... this new script.
11467 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11468 than a glob-style pattern.
11469
1a846317
JM
114702013-06-17 Joseph Myers <joseph@codesourcery.com>
11471
11472 * math/test-misc.c (main): Do not treat incorrectly rounded
11473 conversions as failure unless ROUNDING_TESTS passes.
11474
8fc75e6f
JM
114752013-06-15 Joseph Myers <joseph@codesourcery.com>
11476
3711a167
JM
11477 [BZ #15631]
11478 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11479 restore exception state around main square root computation, then
11480 check for inexactness explicitly.
11481
8fc75e6f
JM
11482 * math/libm-test.inc (fma_test_data): Add another test.
11483
61dd6208
SP
114842013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11485
adf23d2c
SP
11486 * manual/threads.texi (Non-POSIX Extensions): New document
11487 node. Document pthread_getattr_default_np and
11488 pthread_setattr_default_np.
11489
61dd6208
SP
11490 * Versions.def (libpthread): Add GLIBC_2.18.
11491 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11493 Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11495 Likewise.
11496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11497 Likewise.
11498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11499 Likewise.
11500 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11501 Likewise.
11502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11503 Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11505 Likewise.
11506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11507 Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11509 Likewise.
11510
d086fc7b
LD
115112013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11512
11513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11514 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11515
747ef469
SP
115162013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11517 H.J. Lu <hjl.tools@gmail.com>
11518
11519 [BZ #15627]
11520 * sysdeps/x86_64/rtld-memset.c: Remove file.
11521 * sysdeps/x86_64/rtld-memset.S: New file.
11522
1b2feed2
JM
115232013-06-14 Joseph Myers <joseph@codesourcery.com>
11524
11525 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11526 (test_in_one_mode): Take arguments for whether the rounding mode
11527 is supported for each floating-point type.
11528 (do_test): Pass new arguments to test_in_one_mode using
11529 ROUNDING_TESTS.
11530
a58ad3f8
RM
115312013-06-13 Roland McGrath <roland@hack.frob.com>
11532
11533 * posix/tst-waitid.c (do_test): Distinguish different instances of
11534 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11535 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11536 before entering the kernel for waitpid.
11537
c204ab28
SP
115382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11539
11540 * NEWS: Fix note on clock function precision. Text by Roland
11541 McGrath.
11542
f4a29fba
RM
115432013-06-13 Roland McGrath <roland@hack.frob.com>
11544
11545 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11546 it into place only when and if the sanity check passes.
11547
1f24b9ad
JM
115482013-06-13 Joseph Myers <joseph@codesourcery.com>
11549
11550 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11551 output for whether conversion result is exact. Take argument
11552 indicating whether type is IBM long double.
11553 (round_for_all): Change need_exact field to ibm_ld.
11554 * stdlib/tst-strtod-round.c (struct exactness): New type.
11555 (struct test): Change bool ld_ok field to struct exactness exact.
11556 (TEST): Update all definitions for change to field.
11557 (tests): Regenerate array contents.
11558 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11559 field value. Check for IBM long double here.
11560 (do_test): Update calls to test_in_one_mode.
11561
58206c68
SP
115622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11563
11564 [BZ #12515]
11565 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11566 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11567
2d6f4c5b 115682013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11569
11570 [BZ #15605]
11571 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11572 generated by the compiler on loop optimizations.
11573 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11574 general definitions.
11575
94f2c076
JM
115762013-06-12 Joseph Myers <joseph@codesourcery.com>
11577
11578 * math/bug-nextafter.c: Include <math-tests.h>.
11579 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11580 the relevant type.
11581 * math/bug-nexttoward.c: Include <math-tests.h>.
11582 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11583 the relevant type.
11584 * math/test-misc.c: Include <math-tests.h>.
11585 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11586 the relevant type.
11587
e0e50a0a
AJ
115882013-06-12 Andreas Jaeger <aj@suse.de>
11589
11590 * po/ia.po: Update Interlingua translation from translation
11591 project.
11592
25061094
SP
115932013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11594
11595 * include/fenv.h: Include stdbool.h.
11596 (struct rm_ctx): New structure.
11597 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11598 Define macro.
11599 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11600 (SET_RESTORE_ROUNDF): Likewise.
11601 (SET_RESTORE_ROUNDL): Likewise.
11602 (SET_RESTORE_ROUND_NOEX): Likewise.
11603 (SET_RESTORE_ROUND_NOEXF): Likewise.
11604 (SET_RESTORE_ROUND_NOEXL): Likewise.
11605 (SET_RESTORE_ROUND_53BIT): Likewise.
11606 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11607 (libc_feresetround_noexf_ctx): Likewise.
11608 (libc_feresetround_noexl_ctx): Likewise.
11609 (libc_feholdsetround_53bit_ctx): Likewise.
11610 (libc_feresetround_53bit_ctx): Likewise.
11611 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11612 (libc_feholdexcept_setround_sse_ctx): New function.
11613 (libc_fesetenv_sse_ctx): Likewise.
11614 (libc_feupdateenv_sse_ctx): Likewise.
11615 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11616 (libc_feholdexcept_setround_387_ctx): Likewise.
11617 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11618 (libc_feholdsetround_387_prec_ctx): Likewise.
11619 (libc_feholdsetround_387_ctx): Likewise.
11620 (libc_feholdsetround_387_53bit_ctx): Likewise.
11621 (libc_feholdsetround_sse_ctx): Likewise.
11622 (libc_feresetround_sse_ctx): Likewise.
11623 (libc_feresetround_387_ctx): Likewise.
11624 (libc_feupdateenv_387_ctx): Likewise.
11625 (libc_feholdexcept_setroundf_ctx): Define macro.
11626 (libc_fesetenvf_ctx): Likewise.
11627 (libc_feupdateenvf_ctx): Likewise.
11628 (libc_feholdsetroundf_ctx): Likewise.
11629 (libc_feresetroundf_ctx): Likewise.
11630 (libc_feholdexcept_setround_ctx): Likewise.
11631 (libc_fesetenv_ctx): Likewise.
11632 (libc_feupdateenv_ctx): Likewise.
11633 (libc_feholdsetround_ctx): Likewise.
11634 (libc_feresetround_ctx): Likewise.
11635 (libc_feholdexcept_setroundl_ctx): Likewise.
11636 (libc_feupdateenvl_ctx): Likewise.
11637 (libc_feholdsetroundl_ctx): Likewise.
11638 (libc_feresetroundl_ctx): Likewise.
11639 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11640 (libc_feresetround_53bit_ctx): Likewise.
11641
59b30555
SP
116422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11643
11644 * locale/iso-639.def: Convert to UTF-8.
11645
f1d73d30
JM
116462013-06-11 Joseph Myers <joseph@codesourcery.com>
11647
11648 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11649 (EXCEPTION_TESTS_double): Likewise.
11650 (EXCEPTION_TESTS_long_double): Likewise.
11651 (EXCEPTION_TESTS): Likewise.
11652 * math/libm-test.inc (test_exceptions): Only test exceptions if
11653 EXCEPTION_TESTS (FLOAT).
11654
94aca5e7
SP
116552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11656
11657 * benchtests/Makefile (string-bench): Add strcpy_chk and
11658 stpcpy_chk.
11659 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11660 * benchtests/bench-stpcpy_chk.c: New file.
11661 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11662 * benchtests/bench-strcpy_chk.c: New file.
11663 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11664 code.
11665 (do_test): Likewise.
11666
fac0c5f2
RA
116672013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11668
11669 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11670 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11671 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11672 with tabs where appropriate.
11673 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11674 dl-procinfo.h.
11675 [PPC_PLATFORM_PPC440]: Likewise.
11676 [PPC_PLATFORM_PPC464]: Likewise.
11677 [PPC_PLATFORM_PPC476]: Likewise.
11678 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11679 ppc464, and ppc476 platform strings merging from ports/
11680 dl-procinfo.h.
11681
f22bc486
AS
116822013-06-11 Andreas Schwab <schwab@suse.de>
11683
11684 [BZ #14991]
11685 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11686 (from_ucs4_idx): Regenerate.
11687 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11688 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11689 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11690 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11691 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11692 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11693 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11694 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11695 from FROM_LOOP and TO_LOOP specific macros.
11696 (BODY): Handle combining characters.
11697 * iconvdata/BIG5HKSCS.irreversible: Update.
11698 * iconvdata/BIG5HKSCS.precomposed: New file.
11699 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11700 characters.
11701 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11702
c1f75dc3
SP
117032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11704
4eacded2
SP
11705 * include/sys/time.h: Fix indentation and add copyright header.
11706
fec799f8
SP
11707 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11708 (do_test): Likewise.
11709 * string/test-memchr.c (do_one_test): Likewise.
11710 (do_test): Likewise.
11711 * string/test-memcmp.c (do_one_test): Likewise.
11712 (do_test): Likewise.
11713 * string/test-memcpy.c (do_one_test): Likewise.
11714 (do_test): Likewise.
11715 * string/test-memmem.c (do_one_test): Likewise.
11716 (do_test): Likewise.
11717 (do_random_tests): Likewise.
11718 * string/test-memmove.c (do_one_test): Likewise.
11719 (do_test): Likewise.
11720 * string/test-memset.c (do_one_test): Likewise.
11721 (do_test): Likewise.
11722 * string/test-rawmemchr.c (do_one_test): Likewise.
11723 (do_test): Likewise.
11724 * string/test-strcasecmp.c (do_one_test): Likewise.
11725 (do_test): Likewise.
11726 * string/test-strcasestr.c (do_one_test): Likewise.
11727 (do_test): Likewise.
11728 * string/test-strcat.c (do_one_test): Likewise.
11729 (do_test): Likewise.
11730 * string/test-strchr.c (do_one_test): Likewise.
11731 (do_test): Likewise.
11732 * string/test-strcmp.c (do_one_test): Likewise.
11733 (do_test): Likewise.
11734 * string/test-strcpy.c (do_one_test): Likewise.
11735 (do_test): Likewise.
11736 * string/test-string.h: Likewise.
11737 (test_init): Likewise.
11738 * string/test-strlen.c (do_one_test): Likewise.
11739 (do_test): Likewise.
11740 * string/test-strncasecmp.c (do_one_test): Likewise.
11741 (do_test): Likewise.
11742 * string/test-strncat.c (do_one_test): Likewise.
11743 (do_test): Likewise.
11744 * string/test-strncmp.c (do_one_test): Likewise.
11745 (do_test_limit): Likewise.
11746 (do_test): Likewise.
11747 * string/test-strncpy.c (do_one_test): Likewise.
11748 (do_test): Likewise.
11749 * string/test-strnlen.c (do_one_test): Likewise.
11750 (do_test): Likewise.
11751 * string/test-strpbrk.c (do_one_test): Likewise.
11752 (do_test): Likewise.
11753 * string/test-strrchr.c (do_one_test): Likewise.
11754 (do_test): Likewise.
11755 * string/test-strspn.c (do_one_test): Likewise.
11756 (do_test): Likewise.
11757 * string/test-strstr.c (do_one_test): Likewise.
11758 (do_test): Likewise.
11759
97020474
SP
11760 * benchtests/Makefile (string-bench): Add string benchmarks.
11761 * benchtests/bench-bcopy-ifunc.c: New file.
11762 * benchtests/bench-bcopy.c: New file.
11763 * benchtests/bench-bzero-ifunc.c: New file.
11764 * benchtests/bench-bzero.c: New file.
11765 * benchtests/bench-memccpy-ifunc.c: New file.
11766 * benchtests/bench-memccpy.c: New file.
11767 * benchtests/bench-memchr-ifunc.c: New file.
11768 * benchtests/bench-memchr.c: New file.
11769 * benchtests/bench-memcmp-ifunc.c: New file.
11770 * benchtests/bench-memcmp.c: New file.
11771 * benchtests/bench-memmem-ifunc.c: New file.
11772 * benchtests/bench-memmem.c: New file.
11773 * benchtests/bench-memmove-ifunc.c: New file.
11774 * benchtests/bench-memmove.c: New file.
11775 * benchtests/bench-mempcpy-ifunc.c: New file.
11776 * benchtests/bench-mempcpy.c: New file.
11777 * benchtests/bench-memset-ifunc.c: New file.
11778 * benchtests/bench-memset.c: New file.
11779 * benchtests/bench-rawmemchr-ifunc.c: New file.
11780 * benchtests/bench-rawmemchr.c: New file.
11781 * benchtests/bench-stpcpy-ifunc.c: New file.
11782 * benchtests/bench-stpcpy.c: New file.
11783 * benchtests/bench-stpncpy-ifunc.c: New file.
11784 * benchtests/bench-stpncpy.c: New file.
11785 * benchtests/bench-strcasecmp-ifunc.c: New file.
11786 * benchtests/bench-strcasecmp.c: New file.
11787 * benchtests/bench-strcasestr-ifunc.c: New file.
11788 * benchtests/bench-strcasestr.c: New file.
11789 * benchtests/bench-strcat-ifunc.c: New file.
11790 * benchtests/bench-strcat.c: New file.
11791 * benchtests/bench-strchr-ifunc.c: New file.
11792 * benchtests/bench-strchr.c: New file.
11793 * benchtests/bench-strchrnul-ifunc.c: New file.
11794 * benchtests/bench-strchrnul.c: New file.
11795 * benchtests/bench-strcmp-ifunc.c: New file.
11796 * benchtests/bench-strcmp.c: New file.
11797 * benchtests/bench-strcpy-ifunc.c: New file.
11798 * benchtests/bench-strcpy.c: New file.
11799 * benchtests/bench-strcspn-ifunc.c: New file.
11800 * benchtests/bench-strcspn.c: New file.
11801 * benchtests/bench-strlen-ifunc.c: New file.
11802 * benchtests/bench-strlen.c: New file.
11803 * benchtests/bench-strncasecmp-ifunc.c: New file.
11804 * benchtests/bench-strncasecmp.c: New file.
11805 * benchtests/bench-strncat-ifunc.c: New file.
11806 * benchtests/bench-strncat.c: New file.
11807 * benchtests/bench-strncmp-ifunc.c: New file.
11808 * benchtests/bench-strncmp.c: New file.
11809 * benchtests/bench-strncpy-ifunc.c: New file.
11810 * benchtests/bench-strncpy.c: New file.
11811 * benchtests/bench-strnlen-ifunc.c: New file.
11812 * benchtests/bench-strnlen.c: New file.
11813 * benchtests/bench-strpbrk-ifunc.c: New file.
11814 * benchtests/bench-strpbrk.c: New file.
11815 * benchtests/bench-strrchr-ifunc.c: New file.
11816 * benchtests/bench-strrchr.c: New file.
11817 * benchtests/bench-strspn-ifunc.c: New file.
11818 * benchtests/bench-strspn.c: New file.
11819 * benchtests/bench-strstr-ifunc.c: New file.
11820 * benchtests/bench-strstr.c: New file.
11821
c1f75dc3
SP
11822 * benchtests/Makefile: Disable parallel execution of targets.
11823 (string-bench): Add memcpy.
11824 (benchset): New variable to store a list of benchmark sets.
11825 (bench-func): Renamed from bench.
11826 (bench-set): New target.
11827 (bench): Depend on bench-func and bench-set.
11828 * benchtests/README: Add section on benchmark sets.
11829 * benchtests/bench-memcpy-ifunc.c: New file.
11830 * benchtests/bench-memcpy.c: New file.
11831 * benchtests/bench-string.h: New file.
11832
50fd745b
AS
118332013-06-11 Andreas Schwab <schwab@suse.de>
11834
11835 [BZ #15577]
11836 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11837 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11838 values in the triple.
11839 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11840 terminator in the group key.
11841
3ee7e9fe
AJ
118422013-06-11 Andreas Jaeger <aj@suse.de>
11843
11844 * po/zh_TW.po: Update Chinese (traditional) translation from
11845 translation project.
11846
89fb6835
SP
118472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11848
11849 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11850 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11851 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11853 (clock_getcpuclockid): Likewise.
11854 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11855 Add weak_alias and libc_hidden_def.
11856 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11857 * rt/clock_gettime.c (clock_gettime): Rename to
11858 __clock_gettime. Add weak_alias and libc_hidden_def.
11859 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11860 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11861 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11862 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11863 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11864 Likewise.
11865 * rt/clock_settime.c (clock_settime): Rename to
11866 __clock_settime. Add weak_alias and libc_hidden_def.
11867 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11868
0efa6f8b
JM
118692013-06-10 Joseph Myers <joseph@codesourcery.com>
11870
b8c61b4b
JM
11871 * mach/err_boot.sub: Remove trailing whitespace.
11872 * mach/err_ipc.sub: Likewise.
11873 * mach/err_mach.sub: Likewise.
11874
0efa6f8b
JM
11875 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11876 (ROUNDING_TESTS_double): Likewise.
11877 (ROUNDING_TESTS_long_double): Likewise.
11878 (ROUNDING_TESTS): Likewise.
11879 * math/libm-test.inc: Include <math-tests.h>.
11880 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11881 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11882 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11883 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11884
50b818bf
SP
118852013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11886
11887 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11888 of assigning.
11889
60d2f8f3
JM
118902013-06-08 Joseph Myers <joseph@codesourcery.com>
11891
4902d2c3
JM
11892 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11893 otherwise empty TRANS lines.
11894 * sysdeps/gnu/errlist.c: Regenerated.
11895
60d2f8f3
JM
11896 * catgets/gencat.c (error_print): Use (void) in function
11897 definition.
11898 * crypt/crypt_util.c (__init_des): Likewise.
11899 * crypt/speeds.c (Stop): Likewise.
11900 (main): Likewise.
11901 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11902 * inet/ruserpass.c (token): Likewise.
11903 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11904 * intl/localealias.c (extend_alias_table): Likewise.
11905 * intl/plural-exp.c (init_germanic_plural): Likewise.
11906 * libio/fcloseall.c (__fcloseall): Likewise.
11907 * libio/genops.c (_IO_flush_all): Likewise.
11908 (_IO_flush_all_linebuffered): Likewise.
11909 (_IO_cleanup): Likewise.
11910 (_IO_iter_begin): Likewise.
11911 (_IO_iter_end): Likewise.
11912 (_IO_list_lock): Likewise.
11913 (_IO_list_unlock): Likewise.
11914 (_IO_list_resetlock): Likewise.
11915 * libio/getchar.c (getchar): Likewise.
11916 * libio/getchar_u.c (getchar_unlocked): Likewise.
11917 * libio/getwchar.c (getwchar): Likewise.
11918 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11919 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11920 * login/getpt.c (__getpt): Likewise.
11921 * login/tst-utmp.c (main): Likewise.
11922 * malloc/hooks.c (__malloc_check_init): Likewise.
11923 * malloc/malloc.c (__malloc_stats): Likewise.
11924 * malloc/mtrace.c (tr_break): Likewise.
11925 (mtrace): Likewise.
11926 (muntrace): Likewise.
11927 * misc/fstab.c (endfsent): Likewise.
11928 * misc/getclktck.c (__getclktck): Likewise.
11929 * misc/getdtsz.c (__getdtablesize): Likewise.
11930 * misc/gethostid.c (gethostid): Likewise.
11931 * misc/getpagesize.c (__getpagesize): Likewise.
11932 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11933 (__get_nprocs): Likewise.
11934 (__get_phys_pages): Likewise.
11935 (__get_avphys_pages): Likewise.
11936 * misc/getttyent.c (getttyent): Likewise.
11937 (setttyent): Likewise.
11938 (endttyent): Likewise.
11939 * misc/getusershell.c (getusershell): Likewise.
11940 (endusershell): Likewise.
11941 (setusershell): Likewise.
11942 (initshells): Likewise.
11943 * misc/hsearch.c (__hdestroy): Likewise.
11944 * misc/sync.c (sync): Likewise.
11945 * misc/syslog.c (closelog_internal): Likewise.
11946 (closelog): Likewise.
11947 * misc/ttyslot.c (ttyslot): Likewise.
11948 * misc/vhangup.c (vhangup): Likewise.
11949 * posix/fork.c (__fork): Likewise.
11950 * posix/getegid.c (__getegid): Likewise.
11951 * posix/geteuid.c (__geteuid): Likewise.
11952 * posix/getgid.c (__getgid): Likewise.
11953 * posix/getpid.c (__getpid): Likewise.
11954 * posix/getppid.c (__getppid): Likewise.
11955 * posix/getuid.c (__getuid): Likewise.
11956 * posix/pause.c (pause): Likewise.
11957 * posix/setpgrp.c (setpgrp): Likewise.
11958 * posix/setsid.c (__setsid): Likewise.
11959 * posix/test-vfork.c (noop): Likewise.
11960 * resolv/gethnamaddr.c (_endhtent): Likewise.
11961 (_gethtent): Likewise.
11962 (ht_endhostent): Likewise.
11963 (gethostent): Likewise.
11964 (dns_service): Likewise.
11965 * stdlib/drand48.c (drand48): Likewise.
11966 * stdlib/lrand48.c (lrand48): Likewise.
11967 * stdlib/mrand48.c (mrand48): Likewise.
11968 * stdlib/rand.c (rand): Likewise.
11969 * stdlib/random.c (__random): Likewise.
11970 * stdlib/setenv.c (clearenv): Likewise.
11971 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11972 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11973 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11974 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11975 (__get_nprocs): Likewise.
11976 (__get_phys_pages): Likewise.
11977 (__get_avphys_pages): Likewise.
11978 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11979 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11980 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11981 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11982 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11983 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11984 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11985 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11986 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11987 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11988 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11989 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11990 * sysdeps/posix/clock.c (clock): Likewise.
11991 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11992 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11993 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11994 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11995 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11997 (__get_nprocs_conf): Likewise.
11998 (__get_phys_pages): Likewise.
11999 (__get_avphys_pages): Likewise.
12000 * time/clock.c (clock): Likewise.
12001 * time/tzset.c (__tzname_max): Likewise.
12002
2e09a79a
JM
120032013-06-07 Joseph Myers <joseph@codesourcery.com>
12004
12005 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12006 (__bswap_32): Do not use "register".
12007 * crypt/crypt.c (_ufc_doit_r): Likewise.
12008 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12009 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12010 * gmon/gmon.c (__monstartup): Likewise.
12011 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12012 * hurd/hurdmalloc.c (more_memory): Likewise.
12013 (malloc): Likewise.
12014 (free): Likewise.
12015 (realloc): Likewise.
12016 (malloc_fork_prepare): Likewise.
12017 (malloc_fork_parent): Likewise.
12018 (malloc_fork_child): Likewise.
12019 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12020 (_svcauth_des): Likewise.
12021 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12022 * inet/inet_net.c (inet_network): Likewise.
12023 * inet/inet_netof.c (inet_netof): Likewise.
12024 * inet/rcmd.c (__validuser2_sa): Likewise.
12025 * io/fts.c (fts_open): Likewise.
12026 (fts_load): Likewise.
12027 (fts_close): Likewise.
12028 (fts_read): Likewise.
12029 (fts_children): Likewise.
12030 (fts_build): Likewise.
12031 (fts_stat): Likewise.
12032 (fts_sort): Likewise.
12033 (fts_alloc): Likewise.
12034 (fts_lfree): Likewise.
12035 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12036 (_IO_file_xsgetn): Likewise.
12037 (_IO_file_xsgetn_mmap): Likewise.
12038 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12039 (_IO_cookie_write): Likewise.
12040 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12041 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12042 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12043 * malloc/obstack.c (_obstack_begin): Likewise.
12044 (_obstack_begin_1): Likewise.
12045 (_obstack_newchunk): Likewise.
12046 (_obstack_allocated_p): Likewise.
12047 (obstack_free): Likewise.
12048 (_obstack_memory_used): Likewise.
12049 * misc/getttyent.c (getttynam): Likewise.
12050 (getttyent): Likewise.
12051 (skip): Likewise.
12052 (value): Likewise.
12053 * misc/getusershell.c (initshells): Likewise.
12054 * misc/syslog.c (__vsyslog_chk): Likewise.
12055 * misc/ttyslot.c (ttyslot): Likewise.
12056 * nis/nis_hash.c (__nis_hash): Likewise.
12057 * posix/fnmatch_loop.c (FCT): Likewise.
12058 * posix/getconf.c (print_all): Likewise.
12059 (main): Likewise.
12060 * posix/getopt.c (exchange): Likewise.
12061 * posix/glob.c (globfree): Likewise.
12062 (prefix_array): Likewise.
12063 (__glob_pattern_type): Likewise.
12064 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12065 (NS_GET32): Likewise.
12066 (NS_PUT16): Likewise.
12067 (NS_PUT32): Likewise.
12068 * resolv/gethnamaddr.c (getanswer): Likewise.
12069 (gethostbyname2): Likewise.
12070 (gethostbyaddr): Likewise.
12071 (_gethtent): Likewise.
12072 (_gethtbyname2): Likewise.
12073 (_gethtbyaddr): Likewise.
12074 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12075 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12076 * resolv/res_init.c (__res_vinit): Likewise.
12077 (net_mask): Likewise.
12078 * resolv/res_mkquery.c (outchar): Likewise.
12079 (PRINT): Likewise.
12080 * stdio-common/printf_fp.c (outchar): Likewise.
12081 (PRINT): Likewise.
12082 * stdio-common/printf_fphex.c (outchar): Likewise.
12083 (PRINT): Likewise.
12084 * stdio-common/printf_size.c (outchar): Likewise.
12085 (PRINT): Likewise.
12086 * stdio-common/test_rdwr.c (main): Likewise.
12087 * stdio-common/tfformat.c (matches): Likewise.
12088 * stdio-common/vfprintf.c (outchar): Likewise.
12089 (printf_unknown): Likewise.
12090 (buffered_vfprintf): Likewise.
12091 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12092 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12093 (ReadFile): Likewise.
12094 * stdlib/qsort.c (SWAP): Likewise.
12095 (_quicksort): Likewise.
12096 * stdlib/setenv.c (__add_to_environ): Likewise.
12097 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12098 * stdlib/strtol_l.c (__strtol_l): Likewise.
12099 * stdlib/tst-strtod.c (main): Likewise.
12100 * stdlib/tst-strtol.c (main): Likewise.
12101 * stdlib/tst-strtoll.c (main): Likewise.
12102 * string/bits/string2.h (__strcmp_cc): Likewise.
12103 (__strcmp_cg): Likewise.
12104 (__strcspn_c1): Likewise.
12105 (__strcspn_c2): Likewise.
12106 (__strcspn_c3): Likewise.
12107 (__strspn_c1): Likewise.
12108 (__strspn_c2): Likewise.
12109 (__strspn_c3): Likewise.
12110 (__strsep_1c): Likewise.
12111 (__strsep_2c): Likewise.
12112 (__strsep_3c): Likewise.
12113 * string/memccpy.c (__memccpy): Likewise.
12114 * string/stpcpy.c (__stpcpy): Likewise.
12115 * string/strcmp.c (strcmp): Likewise.
12116 * string/strrchr.c (strrchr): Likewise.
12117 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12118 Likewise.
12119 * sysdeps/mach/hurd/getcwd.c
12120 (_hurd_canonicalize_directory_name_internal): Likewise.
12121 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12122 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12123 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12124 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12125 Likewise, in both definitions.
12126 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12127 definitions.
12128 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12129 64] (__bswap_64): Likewise.
12130 * time/test_time.c (main): Likewise.
12131 * time/tzfile.c (__tzfile_read): Likewise.
12132 (__tzfile_compute): Likewise.
12133 * time/tzset.c (__tzset_parse_tz): Likewise.
12134 (tzset_internal): Likewise.
12135 (compute_change): Likewise.
12136 * wcsmbs/wcscat.c (__wcscat): Likewise.
12137 * wcsmbs/wcschr.c (wcschr): Likewise.
12138 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12139 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12140 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12141 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12142 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12143 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12144 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12145 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12146 * wcsmbs/wmemset.c (wmemset): Likewise.
12147
9e54314b
JM
121482013-06-06 Joseph Myers <joseph@codesourcery.com>
12149
12150 * scripts/config.guess: Update to version 2013-05-16.
12151 * scripts/config.sub: Update to version 2013-04-24.
12152 * scripts/install-sh: Update to version 2011-11-20.07.
12153 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12154 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12155
350635a5
OB
121562013-06-06 Ondřej Bílka <neleai@seznam.cz>
12157
12158 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12159 * elf/sln.c: Likewise.
12160 * hurd/hurd/ioctl.h: Likewise.
12161 * hurd/hurdmalloc.c: Likewise.
12162 * hurd/xattr.c: Likewise.
12163 * include/shlib-compat.h: Likewise.
12164 * inet/ruserpass.c: Likewise.
12165 * libio/iofgets_u.c: Likewise.
12166 * libio/iofgetws_u.c: Likewise.
12167 * locale/programs/ld-identification.c: Likewise.
12168 * locale/programs/ld-time.c: Likewise.
12169 * mach/msg-destroy.c: Likewise.
12170 * nss/nss_files/files-netgrp.c: Likewise.
12171 * resolv/res_data.c: Likewise.
12172 * soft-fp/op-1.h: Likewise.
12173 * soft-fp/op-2.h: Likewise.
12174 * soft-fp/op-4.h: Likewise.
12175 * soft-fp/op-common.h: Likewise.
12176 * stdio-common/printf_fphex.c: Likewise.
12177 * stdlib/strtod_l.c: Likewise.
12178 * sunrpc/rpc/clnt.h: Likewise.
12179 * sysdeps/generic/framestate.c: Likewise.
12180 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12181 * sysdeps/i386/bsd-setjmp.S: Likewise.
12182 * sysdeps/i386/__longjmp.S: Likewise.
12183 * sysdeps/i386/setjmp.S: Likewise.
12184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12185 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12201 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12202 * sysdeps/ieee754/support.c: Likewise.
12203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12204 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12205 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12206 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12207 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12208 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12209 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12210 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12211 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12212 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12213 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12214 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12216 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12217 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12218 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12219 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12221
44a988af
OB
122222013-06-05 Ondřej Bílka <neleai@seznam.cz>
12223
25506f09 12224 * posix/transbug.c: Remove executable mode.
44a988af 12225
9c84384c
JM
122262013-06-05 Joseph Myers <joseph@codesourcery.com>
12227
12228 * crypt/speeds.c: Remove trailing whitespace.
12229 * dlfcn/default.c: Likewise.
12230 * elf/ifuncdep2.c: Likewise.
12231 * elf/ifuncmain1.c: Likewise.
12232 * elf/ifuncmain1vis.c: Likewise.
12233 * elf/testobj.h: Likewise.
12234 * elf/tst-stackguard1.c: Likewise.
12235 * gmon/sys/gmon.h: Likewise.
12236 * hurd/hurdmsg.c: Likewise.
12237 * hurd/new-fd.c: Likewise.
12238 * hurd/ports-get.c: Likewise.
12239 * iconvdata/ibm1008_420.c: Likewise.
12240 * inet/tst-getni1.c: Likewise.
12241 * inet/tst-getni2.c: Likewise.
12242 * libio/ioungetc.c: Likewise.
12243 * libio/wfiledoalloc.c: Likewise.
12244 * manual/libm-err-tab.pl: Likewise.
12245 * math/w_dremf.c: Likewise.
12246 * misc/ftruncate.c: Likewise.
12247 * posix/bug-glob2.c: Likewise.
12248 * posix/tst-pcre.c: Likewise.
12249 * posix/wait4.c: Likewise.
12250 * resolv/README: Likewise.
12251 * resolv/res_debug.h: Likewise.
12252 * resolv/tst-inet_ntop.c: Likewise.
12253 * setjmp/bug269-setjmp.c: Likewise.
12254 * soft-fp/extended.h: Likewise.
12255 * soft-fp/op-1.h: Likewise.
12256 * soft-fp/op-2.h: Likewise.
12257 * soft-fp/op-4.h: Likewise.
12258 * soft-fp/op-8.h: Likewise.
12259 * soft-fp/testit.c: Likewise.
12260 * stdio-common/bug16.c: Likewise.
12261 * stdlib/random.c: Likewise.
12262 * sunrpc/rpcsvc/rquota.x: Likewise.
12263 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12268 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12270 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12271 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12272 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12292 * sysdeps/ieee754/s_lib_version.c: Likewise.
12293 * sysdeps/mach/hurd/check_fds.c: Likewise.
12294 * sysdeps/mach/hurd/getsockname.c: Likewise.
12295 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12296 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12297 * sysdeps/powerpc/bits/link.h: Likewise.
12298 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12299 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12300 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12301 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12302 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12303 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12304 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12305 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12306 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12308 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12310 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12313 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12316 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12318 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12322 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12324 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12326 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12332 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12338 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12339 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12340 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12341 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12342 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12343 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12344 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12345 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12347 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12350 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12351 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12352 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12353 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12354 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12355 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12356 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12359 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12360 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12361 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12362 * sysdeps/powerpc/sysdep.h: Likewise.
12363 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12364 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12365 * sysdeps/sh/dl-trampoline.S: Likewise.
12366 * sysdeps/sh/memset.S: Likewise.
12367 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12368 * sysdeps/sh/strlen.S: Likewise.
12369 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12370 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12371 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12372 * sysdeps/sparc/sparc32/rem.S: Likewise.
12373 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12374 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12375 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12376 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12377 * sysdeps/sparc/sparc32/urem.S: Likewise.
12378 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12379 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12380 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12381 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12382 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12383 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12384 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12385 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12386 * sysdeps/unix/bsd/times.c: Likewise.
12387 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12388 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12392 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12395 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12396 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12397 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12398 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12399 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12400 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12404 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12405 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12407 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12408 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12409 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12411 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12412 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12413 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12415 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12416 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12417 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12418 * sysdeps/x86_64/strcspn.S: Likewise.
12419
869378a5
RA
124202013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12421
12422 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12423 generated file. Regenerate properly from gen-translit.pl.
12424 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12425 locale/C-translit.h.
12426
840e2943
AS
124272013-06-05 Andreas Schwab <schwab@suse.de>
12428
12429 [BZ #15100]
12430 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12431 week as 6 instead of -1.
12432 * time/tst-strptime.c (day_tests): Add test case.
12433
4c60cb0c
SP
124342013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12435
12436 * sysdeps/generic/math_private.h
12437 (libc_feholdexcept_setround_53bit): Replace with
12438 libc_feholdsetround_53bit.
12439 (libc_feupdateenv_53bit): Replace with
12440 libc_feresetround_53bit.
12441 (SET_RESTORE_ROUND_53BIT): Adjust.
12442
d180203e
SP
124432013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12444
96df079a
SP
12445 * string/test-strchrnul.c: Add copyright header.
12446
d180203e
SP
12447 * posix/tst-getaddrinfo4.c: Increase test timeout.
12448
8b0ccb2d
CD
124492013-06-03 Carlos O'Donell <carlos@redhat.com>
12450
12451 [BZ #15536]
12452 * math/libm-test.inc (MAX_EXP): Remove
12453 (MIN_EXP): Define.
12454 (ulp): Use MIN_EXP - MANT_DIG.
12455 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12456
3b3c4d40
CD
124572013-05-31 Carlos O'Donell <carlos@redhat.com>
12458
12459 * po/be.po: Revert last change.
12460 * po/zh_CN.po: Likewise.
12461 * po/header.pot: Likewise.
12462
fab7ce3f
JM
124632013-05-31 Joseph Myers <joseph@codesourcery.com>
12464
12465 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12466 link-libc-deps to empty as target-specific variable.
12467 * Makerules (link-libc-args): New variable.
12468 (libc-for-link): Likewise.
12469 (link-libc-deps): Likewise.
12470 (lib%.so): Depend on $(link-libc-deps). Link with
12471 $(link-libc-args).
12472 (build-module): Link with $(link-libc-args).
12473 (build-module-asneeded): Likewise.
12474 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12475 list of objects.
12476 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12477 target-specific variable.
12478 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12479 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12480 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12481 libc.
12482 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12483 libc and ld.so.
12484 ($(objpfx)libpcprofile.so): Likewise.
12485 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12486 libc_nonshared.a.
12487 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12488 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12489 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12490 $(link-libc-deps).
12491 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12492 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12493 * login/Makefile ($(objpfx)libutil.so): Likewise.
12494 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12495 * math/Makefile ($(objpfx)libm.so): Likewise.
12496 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12497 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12498 variable instead of depending directly on libc.
12499 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12500 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12501 $(link-libc-deps).
12502 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12503 libc.
12504 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12505 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12506 ($(objpfx)libanl.so): Likewise.
12507 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12508 ld.so.
12509 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12510 $(link-libc-deps).
12511 * sysdeps/i386/fpu/Makefile: Remove file.
12512 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12513 ($(objpfx)libm.so): Remove dependency on ld.so.
12514
eca5920c
PF
125152013-05-30 Patsy Franklin <pfrankli@redhat.com>
12516
12517 [BZ # 15553]
12518 * nis/yp_xdr.c (XDRMAXNAME): Define.
12519 (XDRMAXRECORD): Define.
12520 (xdr_domainname): Use XDRMAXNAME.
12521 (xdr_mapname): Likewise.
12522 (xdr_peername): Likewise.
12523 (xdr_keydat): Use XDRMAXRECORD.
12524 (xdr_valdat): Likewise.
12525
125262013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12527
12528 [BZ #14256]
12529 * manual/errno.texi (ESTALE): Update to account for more than
12530 just NFS file systems.
12531 * sysdeps/gnu/errlist.c: Regenerated.
12532
b9375348
SP
125332013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12534
12535 [BZ #15465]
12536 * elf/Makefile (tests): Add tst-null-argv.
12537 (modules-names): Add tst-null-argv-lib.
12538 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12539 (tst-null-argv-ENV): Set environment for tst-null-argv.
12540 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12541 (RTLD_PROGNAME): New macro.
12542 * elf/tst-null-argv.c: New test case.
12543 * elf/tst-null-argv-lib.c: Library for test case.
12544 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12545 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12546 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12547 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12548 * elf/dl-init.c (call_init): Likewise.
12549 (_dl_init): Likewise.
12550 * elf/dl-load.c (print_search_path): Likewise.
12551 (_dl_map_object): Likewise.
12552 * elf/dl-lookup.c (do_lookup_x): Likewise.
12553 (add_dependency): Likewise.
12554 (_dl_lookup_symbol_x): Likewise.
12555 (_dl_debug_bindings): Likewise.
12556 * elf/dl-open.c (_dl_show_scope): Likewise.
12557 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12558 * elf/dl-version.c (match_symbol): Likewise.
12559 (_dl_check_map_versions): Likewise.
12560 * elf/rtld.c (dl_main): Likewise.
12561 (print_unresolved): Use RTLD_PROGNAME.
12562 (print_missing_version): Likewise.
12563 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12564 (elf_machine_rela): Likewise.
12565 * sysdeps/powerpc/powerpc32/dl-machine.c
12566 (__process_machine_rela): Likewise.
12567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12568 Likewise.
12569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12570 Likewise.
12571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12572 Likewise.
12573 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12575 Likewise.
12576 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12577 Likewise.
12578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12579
8a9f20c8
CD
125802013-05-28 Carlos O'Donell <carlos@redhat.com>
12581
12582 * po/be.po: Add descriptive title.
12583 * po/zh_CN.po: Likewise.
12584 * po/header.pot: Likewise.
12585
0e60d68e
MF
125862013-05-28 Mike Frysinger <vapier@gentoo.org>
12587
12588 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12589 error message.
12590 (enlarge_archive): Likewise.
12591
56b672e9
BN
125922013-05-28 Ben North <ben@redfrontdoor.org>
12593
12594 * manual/arith.texi (frexp): It is the magnitude of the return
12595 value which lies in [0.5, 1), not the return value itself.
12596
5e056687
AZ
125972013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12598
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
2b66ef5d
TS
126012013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12602
528c2405
TS
12603 * stdio-common/bug26.c (main): Correct fscanf template.
12604
07b4c13d
TS
12605 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12606 declare _dl_skip_args.
12607
ec9dd97c
TS
12608 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12609 Don't declare.
12610
2b66ef5d
TS
12611 * manual/platform.texi: Add missing @end deftypefun.
12612
4f8dfe27
JM
126132013-05-24 Joseph Myers <joseph@codesourcery.com>
12614
0323d086
JM
12615 [BZ #15529]
12616 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12617 bit of mantissa of 2^16382.
12618 * math/libm-test.inc (hypot_test_data): Add more tests.
12619
dd4259b9
JM
12620 * math/libm-test.inc: Add drem and pow10 to list of tested
12621 functions.
12622 (pow10_test): New function.
12623 (drem_test): Likewise.
12624 (drem_test_tonearest): Likewise.
12625 (drem_test_towardzero): Likewise.
12626 (drem_test_downward): Likewise.
12627 (drem_test_upward): Likewise.
12628 (main): Call the new functions.
12629
4f8dfe27
JM
12630 * math/libm-test.inc (finite_test_data): Remove.
12631 (finite_test): Run tests from isfinite_test_data.
12632 (gamma_test_data): Remove.
12633 (gamma_test): Run tests from lgamma_test_data.
12634 * sysdeps/i386/fpu/libm-test-ulps: Update.
12635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12636
d116b7c4
AZ
126372013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12638
12639 * manual/platform.texi: Add PowerPC PPR function set documentation.
12640 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12641 implementation.
12642
e96e3767
CD
126432013-05-24 Carlos O'Donell <carlos@redhat.com>
12644
12645 * math/libm-test.inc (MAX_EXP): Define.
12646 (ULPDIFF): Define.
12647 (ulp): New function.
12648 (check_float_internal): Use ULPDIFF.
12649 (cpow_test): Disable failing test.
12650 (check_ulp): Test ulp() implemetnation.
12651 (main): Call check_ulp before starting tests.
12652
b679a606
JM
126532013-05-24 Joseph Myers <joseph@codesourcery.com>
12654
e8bdba36
JM
12655 * math/gen-libm-test.pl (generate_testfile): Do not handle
12656 START_DATA and END_DATA.
12657 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12658 END_DATA.
12659 (acos_tonearest_test_data): Likewise.
12660 (acos_towardzero_test_data): Likewise.
12661 (acos_downward_test_data): Likewise.
12662 (acos_upward_test_data): Likewise.
12663 (acosh_test_data): Likewise.
12664 (asin_test_data): Likewise.
12665 (asin_tonearest_test_data): Likewise.
12666 (asin_towardzero_test_data): Likewise.
12667 (asin_downward_test_data): Likewise.
12668 (asin_upward_test_data): Likewise.
12669 (asinh_test_data): Likewise.
12670 (atan_test_data): Likewise.
12671 (atanh_test_data): Likewise.
12672 (atan2_test_data): Likewise.
12673 (cabs_test_data): Likewise.
12674 (cacos_test_data): Likewise.
12675 (cacosh_test_data): Likewise.
12676 (carg_test_data): Likewise.
12677 (casin_test_data): Likewise.
12678 (casinh_test_data): Likewise.
12679 (catan_test_data): Likewise.
12680 (catanh_test_data): Likewise.
12681 (cbrt_test_data): Likewise.
12682 (ccos_test_data): Likewise.
12683 (ccosh_test_data): Likewise.
12684 (ceil_test_data): Likewise.
12685 (cexp_test_data): Likewise.
12686 (cimag_test_data): Likewise.
12687 (clog_test_data): Likewise.
12688 (clog10_test_data): Likewise.
12689 (conj_test_data): Likewise.
12690 (copysign_test_data): Likewise.
12691 (cos_test_data): Likewise.
12692 (cos_tonearest_test_data): Likewise.
12693 (cos_towardzero_test_data): Likewise.
12694 (cos_downward_test_data): Likewise.
12695 (cos_upward_test_data): Likewise.
12696 (cosh_test_data): Likewise.
12697 (cosh_tonearest_test_data): Likewise.
12698 (cosh_towardzero_test_data): Likewise.
12699 (cosh_downward_test_data): Likewise.
12700 (cosh_upward_test_data): Likewise.
12701 (cpow_test_data): Likewise.
12702 (cproj_test_data): Likewise.
12703 (creal_test_data): Likewise.
12704 (csin_test_data): Likewise.
12705 (csinh_test_data): Likewise.
12706 (csqrt_test_data): Likewise.
12707 (ctan_test_data): Likewise.
12708 (ctan_tonearest_test_data): Likewise.
12709 (ctan_towardzero_test_data): Likewise.
12710 (ctan_downward_test_data): Likewise.
12711 (ctan_upward_test_data): Likewise.
12712 (ctanh_test_data): Likewise.
12713 (ctanh_tonearest_test_data): Likewise.
12714 (ctanh_towardzero_test_data): Likewise.
12715 (ctanh_downward_test_data): Likewise.
12716 (ctanh_upward_test_data): Likewise.
12717 (erf_test_data): Likewise.
12718 (erfc_test_data): Likewise.
12719 (exp_test_data): Likewise.
12720 (exp_tonearest_test_data): Likewise.
12721 (exp_towardzero_test_data): Likewise.
12722 (exp_downward_test_data): Likewise.
12723 (exp_upward_test_data): Likewise.
12724 (exp10_test_data): Likewise.
12725 (exp2_test_data): Likewise.
12726 (expm1_test_data): Likewise.
12727 (fabs_test_data): Likewise.
12728 (fdim_test_data): Likewise.
12729 (finite_test_data): Likewise.
12730 (floor_test_data): Likewise.
12731 (fma_test_data): Likewise.
12732 (fma_towardzero_test_data): Likewise.
12733 (fma_downward_test_data): Likewise.
12734 (fma_upward_test_data): Likewise.
12735 (fmax_test_data): Likewise.
12736 (fmin_test_data): Likewise.
12737 (fmod_test_data): Likewise.
12738 (fpclassify_test_data): Likewise.
12739 (frexp_test_data): Likewise.
12740 (gamma_test_data): Likewise.
12741 (hypot_test_data): Likewise.
12742 (ilogb_test_data): Likewise.
12743 (isfinite_test_data): Likewise.
12744 (isgreater_test_data): Likewise.
12745 (isgreaterequal_test_data): Likewise.
12746 (isinf_test_data): Likewise.
12747 (isless_test_data): Likewise.
12748 (islessequal_test_data): Likewise.
12749 (islessgreater_test_data): Likewise.
12750 (isnan_test_data): Likewise.
12751 (isnormal_test_data): Likewise.
12752 (issignaling_test_data): Likewise.
12753 (isunordered_test_data): Likewise.
12754 (j0_test_data): Likewise.
12755 (j1_test_data): Likewise.
12756 (jn_test_data): Likewise.
12757 (ldexp_test_data): Likewise.
12758 (lgamma_test_data): Likewise.
12759 (lrint_test_data): Likewise.
12760 (lrint_tonearest_test_data): Likewise.
12761 (lrint_towardzero_test_data): Likewise.
12762 (lrint_downward_test_data): Likewise.
12763 (lrint_upward_test_data): Likewise.
12764 (llrint_test_data): Likewise.
12765 (llrint_tonearest_test_data): Likewise.
12766 (llrint_towardzero_test_data): Likewise.
12767 (llrint_downward_test_data): Likewise.
12768 (llrint_upward_test_data): Likewise.
12769 (log_test_data): Likewise.
12770 (log10_test_data): Likewise.
12771 (log1p_test_data): Likewise.
12772 (log2_test_data): Likewise.
12773 (logb_test_data): Likewise.
12774 (logb_downward_test_data): Likewise.
12775 (lround_test_data): Likewise.
12776 (llround_test_data): Likewise.
12777 (modf_test_data): Likewise.
12778 (nearbyint_test_data): Likewise.
12779 (nextafter_test_data): Likewise.
12780 (nexttoward_test_data): Likewise.
12781 (pow_test_data): Likewise.
12782 (pow_tonearest_test_data): Likewise.
12783 (pow_towardzero_test_data): Likewise.
12784 (pow_downward_test_data): Likewise.
12785 (pow_upward_test_data): Likewise.
12786 (remainder_test_data): Likewise.
12787 (remainder_tonearest_test_data): Likewise.
12788 (remainder_towardzero_test_data): Likewise.
12789 (remainder_downward_test_data): Likewise.
12790 (remainder_upward_test_data): Likewise.
12791 (remquo_test_data): Likewise.
12792 (rint_test_data): Likewise.
12793 (rint_tonearest_test_data): Likewise.
12794 (rint_towardzero_test_data): Likewise.
12795 (rint_downward_test_data): Likewise.
12796 (rint_upward_test_data): Likewise.
12797 (round_test_data): Likewise.
12798 (scalb_test_data): Likewise.
12799 (scalbn_test_data): Likewise.
12800 (scalbln_test_data): Likewise.
12801 (signbit_test_data): Likewise.
12802 (sin_test_data): Likewise.
12803 (sin_tonearest_test_data): Likewise.
12804 (sin_towardzero_test_data): Likewise.
12805 (sin_downward_test_data): Likewise.
12806 (sin_upward_test_data): Likewise.
12807 (sincos_test_data): Likewise.
12808 (sinh_test_data): Likewise.
12809 (sinh_tonearest_test_data): Likewise.
12810 (sinh_towardzero_test_data): Likewise.
12811 (sinh_downward_test_data): Likewise.
12812 (sinh_upward_test_data): Likewise.
12813 (sqrt_test_data): Likewise.
12814 (tan_test_data): Likewise.
12815 (tan_tonearest_test_data): Likewise.
12816 (tan_towardzero_test_data): Likewise.
12817 (tan_downward_test_data): Likewise.
12818 (tan_upward_test_data): Likewise.
12819 (tanh_test_data): Likewise.
12820 (tgamma_test_data): Likewise.
12821 (trunc_test_data): Likewise.
12822 (y0_test_data): Likewise.
12823 (y1_test_data): Likewise.
12824 (yn_test_data): Likewise.
12825 (significand_test_data): Likewise.
12826
b679a606
JM
12827 * math/gen-libm-test.pl (@functions): Remove variable.
12828 (generate_testfile): Don't handle START and END lines.
12829 * math/libm-test.inc (START): New macro.
12830 (END): Likewise.
12831 (END_COMPLEX): Likewise.
12832 (acos_test): Use END macro without arguments.
12833 (acos_test_tonearest): Likewise.
12834 (acos_test_towardzero): Likewise.
12835 (acos_test_downward): Likewise.
12836 (acos_test_upward): Likewise.
12837 (acosh_test): Likewise.
12838 (asin_test): Likewise.
12839 (asin_test_tonearest): Likewise.
12840 (asin_test_towardzero): Likewise.
12841 (asin_test_downward): Likewise.
12842 (asin_test_upward): Likewise.
12843 (asinh_test): Likewise.
12844 (atan_test): Likewise.
12845 (atanh_test): Likewise.
12846 (atan2_test): Likewise.
12847 (cabs_test): Likewise.
12848 (cacos_test): Use END_COMPLEX macro without arguments.
12849 (cacosh_test): Likewise.
12850 (carg_test): Use END macro without arguments.
12851 (casin_test): Use END_COMPLEX macro without arguments.
12852 (casinh_test): Likewise.
12853 (catan_test): Likewise.
12854 (catanh_test): Likewise.
12855 (cbrt_test): Use END macro without arguments.
12856 (ccos_test): Use END_COMPLEX macro without arguments.
12857 (ccosh_test): Likewise.
12858 (ceil_test): Use END macro without arguments.
12859 (cexp_test): Use END_COMPLEX macro without arguments.
12860 (cimag_test): Use END macro without arguments.
12861 (clog_test): Use END_COMPLEX macro without arguments.
12862 (clog10_test): Likewise.
12863 (conj_test): Likewise.
12864 (copysign_test): Use END macro without arguments.
12865 (cos_test): Likewise.
12866 (cos_test_tonearest): Likewise.
12867 (cos_test_towardzero): Likewise.
12868 (cos_test_downward): Likewise.
12869 (cos_test_upward): Likewise.
12870 (cosh_test): Likewise.
12871 (cosh_test_tonearest): Likewise.
12872 (cosh_test_towardzero): Likewise.
12873 (cosh_test_downward): Likewise.
12874 (cosh_test_upward): Likewise.
12875 (cpow_test): Use END_COMPLEX macro without arguments.
12876 (cproj_test): Likewise.
12877 (creal_test): Use END macro without arguments.
12878 (csin_test): Use END_COMPLEX macro without arguments.
12879 (csinh_test): Likewise.
12880 (csqrt_test): Likewise.
12881 (ctan_test): Likewise.
12882 (ctan_test_tonearest): Likewise.
12883 (ctan_test_towardzero): Likewise.
12884 (ctan_test_downward): Likewise.
12885 (ctan_test_upward): Likewise.
12886 (ctanh_test): Likewise.
12887 (ctanh_test_tonearest): Likewise.
12888 (ctanh_test_towardzero): Likewise.
12889 (ctanh_test_downward): Likewise.
12890 (ctanh_test_upward): Likewise.
12891 (erf_test): Use END macro without arguments.
12892 (erfc_test): Likewise.
12893 (exp_test): Likewise.
12894 (exp_test_tonearest): Likewise.
12895 (exp_test_towardzero): Likewise.
12896 (exp_test_downward): Likewise.
12897 (exp_test_upward): Likewise.
12898 (exp10_test): Likewise.
12899 (exp2_test): Likewise.
12900 (expm1_test): Likewise.
12901 (fabs_test): Likewise.
12902 (fdim_test): Likewise.
12903 (finite_test): Likewise.
12904 (floor_test): Likewise.
12905 (fma_test): Likewise.
12906 (fma_test_towardzero): Likewise.
12907 (fma_test_downward): Likewise.
12908 (fma_test_upward): Likewise.
12909 (fmax_test): Likewise.
12910 (fmin_test): Likewise.
12911 (fmod_test): Likewise.
12912 (fpclassify_test): Likewise.
12913 (frexp_test): Likewise.
12914 (gamma_test): Likewise.
12915 (hypot_test): Likewise.
12916 (ilogb_test): Likewise.
12917 (isfinite_test): Likewise.
12918 (isgreater_test): Likewise.
12919 (isgreaterequal_test): Likewise.
12920 (isinf_test): Likewise.
12921 (isless_test): Likewise.
12922 (islessequal_test): Likewise.
12923 (islessgreater_test): Likewise.
12924 (isnan_test): Likewise.
12925 (isnormal_test): Likewise.
12926 (issignaling_test): Likewise.
12927 (isunordered_test): Likewise.
12928 (j0_test): Likewise.
12929 (j1_test): Likewise.
12930 (jn_test): Likewise.
12931 (ldexp_test): Likewise.
12932 (lgamma_test): Likewise.
12933 (lrint_test): Likewise.
12934 (lrint_test_tonearest): Likewise.
12935 (lrint_test_towardzero): Likewise.
12936 (lrint_test_downward): Likewise.
12937 (lrint_test_upward): Likewise.
12938 (llrint_test): Likewise.
12939 (llrint_test_tonearest): Likewise.
12940 (llrint_test_towardzero): Likewise.
12941 (llrint_test_downward): Likewise.
12942 (llrint_test_upward): Likewise.
12943 (log_test): Likewise.
12944 (log10_test): Likewise.
12945 (log1p_test): Likewise.
12946 (log2_test): Likewise.
12947 (logb_test): Likewise.
12948 (logb_test_downward): Likewise.
12949 (lround_test): Likewise.
12950 (llround_test): Likewise.
12951 (modf_test): Likewise.
12952 (nearbyint_test): Likewise.
12953 (nextafter_test): Likewise.
12954 (nexttoward_test): Likewise.
12955 (pow_test): Likewise.
12956 (pow_test_tonearest): Likewise.
12957 (pow_test_towardzero): Likewise.
12958 (pow_test_downward): Likewise.
12959 (pow_test_upward): Likewise.
12960 (remainder_test): Likewise.
12961 (remainder_test_tonearest): Likewise.
12962 (remainder_test_towardzero): Likewise.
12963 (remainder_test_downward): Likewise.
12964 (remainder_test_upward): Likewise.
12965 (remquo_test): Likewise.
12966 (rint_test): Likewise.
12967 (rint_test_tonearest): Likewise.
12968 (rint_test_towardzero): Likewise.
12969 (rint_test_downward): Likewise.
12970 (rint_test_upward): Likewise.
12971 (round_test): Likewise.
12972 (scalb_test): Likewise.
12973 (scalbn_test): Likewise.
12974 (scalbln_test): Likewise.
12975 (signbit_test): Likewise.
12976 (sin_test): Likewise.
12977 (sin_test_tonearest): Likewise.
12978 (sin_test_towardzero): Likewise.
12979 (sin_test_downward): Likewise.
12980 (sin_test_upward): Likewise.
12981 (sincos_test): Likewise.
12982 (sinh_test): Likewise.
12983 (sinh_test_tonearest): Likewise.
12984 (sinh_test_towardzero): Likewise.
12985 (sinh_test_downward): Likewise.
12986 (sinh_test_upward): Likewise.
12987 (sqrt_test): Likewise.
12988 (tan_test): Likewise.
12989 (tan_test_tonearest): Likewise.
12990 (tan_test_towardzero): Likewise.
12991 (tan_test_downward): Likewise.
12992 (tan_test_upward): Likewise.
12993 (tanh_test): Likewise.
12994 (tgamma_test): Likewise.
12995 (trunc_test): Likewise.
12996 (y0_test): Likewise.
12997 (y1_test): Likewise.
12998 (yn_test): Likewise.
12999 (significand_test): Likewise.
13000
bae143d2
OB
130012013-05-24 Ondřej Bílka <neleai@seznam.cz>
13002
13003 [BZ #15381]
13004 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13005
9323d39b
EM
130062013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13007
d4ea44a0 13008 [BZ #14894]
9323d39b
EM
13009 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13010 __ppc_mdoio and __ppc_mdoom.
13011 * manual/platform.texi: Document new functions __ppc_yield,
13012 __ppc_mdoio and __ppc_mdoom.
13013
13e23af7
CD
130142013-05-22 Carlos O'Donell <carlos@redhat.com>
13015
13016 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13017 (main): Mention "tls" pseudo-hwcap is legacy.
13018 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13019
351fe550
JM
130202013-05-22 Joseph Myers <joseph@codesourcery.com>
13021
13022 * math/gen-libm-test.pl (parse_args): Output only string of
13023 arguments as text for test name, not full call or descriptions of
13024 tests for extra outputs.
13025 (generate_testfile): Do not pass function name to parse_args.
13026 Generate this_func variable from START.
13027 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13028 field to arg_str.
13029 (struct test_ff_f_data): Likewise.
13030 (test_ff_f_data_nexttoward): Likewise.
13031 (struct test_fi_f_data): Likewise.
13032 (struct test_fl_f_data): Likewise.
13033 (struct test_if_f_data): Likewise.
13034 (struct test_fff_f_data): Likewise.
13035 (struct test_c_f_data): Likewise.
13036 (struct test_f_f1_data): Likewise. Remove field extra_name.
13037 (struct test_fF_f1_data): Likewise.
13038 (struct test_ffI_f1_data): Likewise.
13039 (struct test_c_c_data): Rename test_name field to arg_str.
13040 (struct test_cc_c_data): Likewise.
13041 (struct test_f_i_data): Likewise.
13042 (struct test_ff_i_data): Likewise.
13043 (struct test_f_l_data): Likewise.
13044 (struct test_f_L_data): Likewise.
13045 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13046 and extra2_name.
13047 (COMMON_TEST_SETUP): New macro.
13048 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13049 (COMMON_TEST_CLEANUP): Likewise.
13050 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13051 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13052 macros.
13053 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13054 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13055 macros.
13056 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13057 (RUN_TEST_fff_f): Take argument string. Call new setup and
13058 cleanup macros.
13059 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13060 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13061 macros.
13062 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13063 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13064 macros.
13065 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13066 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13067 cleanup macros.
13068 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13069 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13070 cleanup macros.
13071 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13072 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13073 cleanup macros.
13074 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13075 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13076 macros.
13077 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13078 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13079 macros.
13080 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13081 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13082 macros.
13083 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13084 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13085 cleanup macros.
13086 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13087 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13088 cleanup macros.
13089 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13090 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13091 macros.
13092 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13093 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13094 cleanup macros.
13095 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13096 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13097 macros.
13098 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13099 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13100 macros.
13101 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13102 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13103 cleanup macros.
13104 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13105
85118d4d
EBM
131062013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13107
13108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13109 to _sifields.sigfault.
13110 (si_addr_lsb): Define new macro.
13111 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13114
7a44c18f
CD
131152013-05-03 Carlos O'Donell <carlos at redhat.com>
13116
13117 [BZ #15441]
13118 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13119 returns -1.
13120 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13121 null return -1.
13122 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13123 loading the domain.
13124
b50a7181
JM
131252013-05-22 Joseph Myers <joseph@codesourcery.com>
13126
13127 * math/gen-libm-test.pl (parse_args): Do not include expected
13128 result in test name.
13129 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13131 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13132 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13133 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13135
051063c8
SP
131362013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13137
3ce9e010
SP
13138 * benchtests/Makefile: Sort function entries.
13139
051063c8
SP
13140 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13141 tanh, asinh, acosh, atanh.
13142 * benchtests/acos-inputs: New file.
13143 * benchtests/acosh-inputs: New file.
13144 * benchtests/asin-inputs: New file.
13145 * benchtests/asinh-inputs: New file.
13146 * benchtests/atanh-inputs: New file.
13147 * benchtests/cosh-inputs: New file.
13148 * benchtests/log-inputs: New file.
13149 * benchtests/sinh-inputs: New file.
13150 * benchtests/tanh-inputs: New file.
13151
47c22455
DL
131522013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13153
13154 [BZ #15339]
13155 * posix/tst-getaddrinfo4.c: New test.
13156 * posix/Makefile (tests): Add it.
13157
3d04f5db
SP
131582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13159
13160 [BZ #15339]
13161 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13162 when no services were used.
13163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13164 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13165
d5dd6189
AS
131662013-05-21 Andreas Schwab <schwab@suse.de>
13167
13168 [BZ #15014]
13169 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13170 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13171 successful.
13172 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13173 redundant variable declarations and reallocation of buffer when
13174 parsing as IPv6 address. Always set NSS status when called from
13175 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13176 buffer too small. Correct computation of needed size.
13177 * nss/Makefile (tests): Add test-digits-dots.
13178 * nss/test-digits-dots.c: New test.
13179
fef94eab
SP
131802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13181
13182 * benchtests/Makefile: Remove instructions for adding
13183 benchmark tests.
13184 * benchtests/README: New file to explain how to execute and
13185 enhance the benchmark tests.
13186
e39adf43
AS
131872013-05-21 Andreas Schwab <schwab@suse.de>
13188
13189 [BZ #15493]
13190 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13191 * setjmp/tst-sigsetjmp.c: New test.
13192
b2b671b6
OB
131932013-05-20 Ondřej Bílka <neleai@seznam.cz>
13194
13195 * sysdeps/x86_64/memset.S (memset): New implementation.
13196 (__bzero): Likewise.
13197 (__memset_tail): New function.
13198
2d48b41c
OB
131992013-05-20 Ondřej Bílka <neleai@seznam.cz>
13200
13201 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13202 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13203 __memcpy_sse2_unaligned ifunc selection.
13204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13205 Add memcpy-sse2-unaligned.S.
13206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13207 Add: __memcpy_sse2_unaligned.
13208
f16cc3eb
JM
132092013-05-19 Joseph Myers <joseph@codesourcery.com>
13210
3e694268
JM
13211 [BZ #15490]
13212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13213 math_force_eval before restoring floating-point envrionment.
13214 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13215 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13216 Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13218 <math_private.h>.
13219 (__nearbyintl): Use math_force_eval before restoring
13220 floating-point environment.
13221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13222
db62a907
JM
13223 * math/gen-libm-test.pl (special_functions): Remove.
13224 (parse_args): Don't handle TEST_extra. Handle functions with no
13225 return value.
13226 * math/libm-test.inc (struct test_sincos_data): Replace with
13227 struct test_fFF_11_data.
13228 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13229 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13230 (sincos_test_data): Change element type to struct
13231 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13232 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13233 RUN_TEST_LOOP_sincos.
13234 * math/README.libm-test: Don't mention special handling of
13235 individual functions.
13236 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13237 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13238 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13240 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13242
f16cc3eb
JM
13243 * math/gen-libm-test.pl (get_variable): Remove function.
13244 (parse_args): Don't show pointer parameters to call in test
13245 names. Use "extra output N" in test names for extra outputs
13246 rather than naming variables.
13247
3779b5b6
JM
132482013-05-18 Joseph Myers <joseph@codesourcery.com>
13249
2ee094ff
JM
13250 [BZ #15488]
13251 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13252 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13253 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13254 double tests.
13255 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13256 disable.
13257 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13258 check_long_double.
13259
3779b5b6
JM
13260 * math/gen-libm-test.pl (@tests): Remove variable.
13261 ($count): Likewise.
13262 (new_test): Remove function.
13263 (show_exceptions): New function.
13264 (special_functions): Use show_exceptions instead of new_test.
13265 (parse_args): Likewise.
13266 (generate_testfile): Pass only function name in generated call to
13267 print_max_error or print_complex_max_error.
13268 (get_ulps): Do not handle complex tests specially.
13269 (output_test): Rename to ...
13270 (get_all_ulps_for_test): ... this. Return a string rather than
13271 printing to a file. Require ulps to be present.
13272 (output_ulps): Generate arrays rather than #defines.
13273 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13274 (struct ulp_data): New type.
13275 (BUILD_COMPLEX_ULP): Remove macro.
13276 (compare_ulp_data): New function.
13277 (find_ulps): Likewise.
13278 (find_test_ulps): Likewise.
13279 (find_function_ulps): Likewise.
13280 (find_complex_function_ulps): Likewise.
13281 (print_max_error): Determine allowed ulps using
13282 find_function_ulps.
13283 (print_complex_max_error): Determine allowed ulps using
13284 find_complex_function_ulps.
13285 (check_float_internal): Determine max ulps using find_test_ulps.
13286 (check_float): Do not take max_ulp parameter. Update call to
13287 check_float_internal.
13288 (check_complex): Likewise.
13289 (check_int): Do not take max_ulp parameter.
13290 (check_long): Likewise.
13291 (check_bool): Likewise.
13292 (check_longlong): Likewise.
13293 (struct test_f_f_data): Remove max_ulp field.
13294 (struct test_ff_f_data): Likewise.
13295 (struct test_ff_f_data_nexttoward): Likewise.
13296 (struct test_fi_f_data): Likewise.
13297 (struct test_fl_f_data): Likewise.
13298 (struct test_if_f_data): Likewise.
13299 (struct test_fff_f_data): Likewise.
13300 (struct test_c_f_data): Likewise.
13301 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13302 (struct test_fF_f1_data): Likewise.
13303 (struct test_ffI_f1_data): Likewise.
13304 (struct test_c_c_data): Remove max_ulp field.
13305 (struct test_cc_c_data): Likewise.
13306 (struct test_f_i_data): Likewise.
13307 (struct test_ff_i_data): Likewise.
13308 (struct test_f_l_data): Likewise.
13309 (struct test_f_L_data): Likewise.
13310 (struct test_sincos_data): Likewise.
13311 (RUN_TEST_f_f): Do not handle ulps.
13312 (RUN_TEST_LOOP_f_f): Likewise.
13313 (RUN_TEST_2_f): Likewise.
13314 (RUN_TEST_LOOP_2_f): Likewise.
13315 (RUN_TEST_fff_f): Likewise.
13316 (RUN_TEST_LOOP_fff_f): Likewise.
13317 (RUN_TEST_c_f): Likewise.
13318 (RUN_TEST_LOOP_c_f): Likewise.
13319 (RUN_TEST_f_f1): Likewise.
13320 (RUN_TEST_LOOP_f_f1): Likewise.
13321 (RUN_TEST_fF_f1): Likewise.
13322 (RUN_TEST_LOOP_fF_f1): Likewise.
13323 (RUN_TEST_fI_f1): Likewise.
13324 (RUN_TEST_LOOP_fI_f1): Likewise.
13325 (RUN_TEST_ffI_f1): Likewise.
13326 (RUN_TEST_LOOP_ffI_f1): Likewise.
13327 (RUN_TEST_c_c): Likewise.
13328 (RUN_TEST_LOOP_c_c): Likewise.
13329 (RUN_TEST_cc_c): Likewise.
13330 (RUN_TEST_LOOP_cc_c): Likewise.
13331 (RUN_TEST_f_i): Likewise.
13332 (RUN_TEST_LOOP_f_i): Likewise.
13333 (RUN_TEST_f_i_tg): Likewise.
13334 (RUN_TEST_LOOP_f_i_tg): Likewise.
13335 (RUN_TEST_ff_i_tg): Likewise.
13336 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13337 (RUN_TEST_f_b): Likewise.
13338 (RUN_TEST_LOOP_f_b): Likewise.
13339 (RUN_TEST_f_b_tg): Likewise.
13340 (RUN_TEST_LOOP_f_b_tg): Likewise.
13341 (RUN_TEST_f_l): Likewise.
13342 (RUN_TEST_LOOP_f_l): Likewise.
13343 (RUN_TEST_f_L): Likewise.
13344 (RUN_TEST_LOOP_f_L): Likewise.
13345 (RUN_TEST_sincos): Likewise.
13346 (RUN_TEST_LOOP_sincos): Likewise.
13347
8269107f
JM
133482013-05-17 Joseph Myers <joseph@codesourcery.com>
13349
bb38759d
JM
13350 [BZ #15480]
13351 [BZ #15485]
13352 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13353 main case of finite arguments, set rounding mode to FE_TONEAREST
13354 and discard exceptions.
13355 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13356 exceptions.
13357 (remainder_tonearest_test_data): New variable.
13358 (remainder_test_tonearest): New function.
13359 (remainder_towardzero_test_data): New variable.
13360 (remainder_test_towardzero): New function.
13361 (remainder_downward_test_data): New variable.
13362 (remainder_test_downward): New function.
13363 (remainder_upward_test_data): New variable.
13364 (remainder_test_upward): New function.
13365 (main): Call the new test functions.
13366
a00bdcf0
JM
13367 * math/libm-test.inc (struct test_f_f1_data): Remove field
13368 extra_init.
13369 (struct test_fF_f1_data): Likewise.
13370 (struct test_ffI_f1_data): Likewise.
13371 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13372 based on value of EXTRA_EXPECTED.
13373 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13374 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13375 EXTRA_VAR based on value of EXTRA_EXPECTED.
13376 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13377 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13378 EXTRA_VAR based on value of EXTRA_EXPECTED.
13379 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13380 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13381 EXTRA_VAR based on value of EXTRA_EXPECTED.
13382 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13383 * math/gen-libm-test.pl (parse_args): Don't output initializers
13384 for extra output values.
13385
de407f79
JM
13386 * math/libm-test.inc (check_int): Expect result to be exactly
13387 equal to expected value and do not handle ulps.
13388 (check_long): Likewise.
13389 (check_longlong): Likewise.
13390
8269107f
JM
13391 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13392 exceptions.
13393 (cimag_test_data): Likewise.
13394 (conj_test_data): Likewise.
13395 (copysign_test_data): Likewise.
13396 (cproj_test_data): Likewise.
13397 (creal_test_data): Likewise.
13398 (fabs_test_data): Likewise.
13399 (fdim_test_data): Likewise.
13400 (finite_test_data): Likewise.
13401 (floor_test_data): Likewise.
13402 (fmax_test_data): Likewise.
13403 (fmin_test_data): Likewise.
13404 (fmod_test_data): Likewise.
13405 (fpclassify_test_data): Likewise.
13406 (frexp_test_data): Likewise.
13407 (ilogb_test_data): Likewise.
13408 (isfinite_test_data): Likewise.
13409 (isgreater_test_data): Likewise.
13410 (isgreaterequal_test_data): Likewise.
13411 (isinf_test_data): Likewise.
13412 (isless_test_data): Likewise.
13413 (islessequal_test_data): Likewise.
13414 (islessgreater_test_data): Likewise.
13415 (isnan_test_data): Likewise.
13416 (isnormal_test_data): Likewise.
13417 (issignaling_test_data): Likewise.
13418 (isunordered_test_data): Likewise.
13419 (ldexp_test_data): Likewise.
13420 (lrint_test_data): Likewise.
13421 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13422 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13423 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13424 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13425 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13426 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13427 test input.
13428 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13429 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13430 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13431 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13432 that test input.
13433 (lrint_downward_test_data): Test for "inexact" exceptions.
13434 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13435 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13436 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13437 test input.
13438 (lrint_upward_test_data): Test for "inexact" exceptions.
13439 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13440 test input.
13441 (llrint_test_data): Test for "inexact" exceptions.
13442 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13443 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13444 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13445 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13446 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13447 (llrint_downward_test_data): Test for "inexact" exceptions.
13448 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13449 (llrint_upward_test_data): Test for "inexact" exceptions.
13450 (logb_test_data): Likewise.
13451 (logb_downward_test_data): Likewise.
13452 (nextafter_test_data): Likewise.
13453 (nexttoward_test_data): Likewise.
13454 (remainder_test_data): Likewise.
13455 (remquo_test_data): Likewise.
13456 (scalbn_test_data): Likewise.
13457 (scalbln_test_data): Likewise.
13458 (signbit_test_data): Likewise.
13459 (sqrt_test_data): Likewise.
13460 (significand_test_data): Likewise.
13461
48a18de1
SP
134622013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13463
13464 [BZ #15424]
13465 * benchtests/bench-modf.c (struct args): Mark arg0 as
13466 volatile.
13467 * scripts/bench.pl: Mark members of struct args as volatile.
13468
13d3b41a
AZ
134692013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13470
68191c1d 13471 [BZ # 15497]
13d3b41a
AZ
13472 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13473 negative infinity on POWER6 or lower.
13474 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13475
2848b105
MR
134762013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13477
13478 [BZ #15442]
13479 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13480 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13481 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13482 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13483 (_FP_SETQNAN): New macro.
13484 (_FP_SETQNAN_SEMIRAW): Likewise.
13485 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13486 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13487 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13488 (FP_EXTEND): Use _FP_FRAC_SNANP.
13489 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13490 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13491 into account.
13492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13493 New macro.
13494 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13495 Likewise.
13496
323e5cb7
JM
134972013-05-16 Joseph Myers <joseph@codesourcery.com>
13498
c58b274f
JM
13499 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13500 with DIVIDE_BY_ZERO_EXCEPTION.
13501 (gamma_test_data): Likewise.
13502 (lgamma_test_data): Likewise.
13503 (log_test_data): Likewise.
13504 (log10_test_data): Likewise.
13505 (log2_test_data): Likewise.
13506 (tgamma_test_data): Likewise.
13507
0ab34904
JM
13508 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13509 (acos_test_tonearest): Likewise.
13510 (acos_test_towardzero): Likewise.
13511 (acos_test_downward): Likewise.
13512 (acos_test_upward): Likewise.
13513 (acosh_test): Likewise.
13514 (asin_test): Likewise.
13515 (asin_test_tonearest): Likewise.
13516 (asin_test_towardzero): Likewise.
13517 (asin_test_downward): Likewise.
13518 (asin_test_upward): Likewise.
13519 (asinh_test): Likewise.
13520 (atan_test): Likewise.
13521 (atanh_test): Likewise.
13522 (atan2_test): Likewise.
13523 (cabs_test): Likewise.
13524 (cacos_test): Likewise.
13525 (cacosh_test): Likewise.
13526 (casin_test): Likewise.
13527 (casinh_test): Likewise.
13528 (catan_test): Likewise.
13529 (catanh_test): Likewise.
13530 (cbrt_test): Likewise.
13531 (ccos_test): Likewise.
13532 (ccosh_test): Likewise.
13533 (cexp_test): Likewise.
13534 (clog_test): Likewise.
13535 (clog10_test): Likewise.
13536 (cos_test): Likewise.
13537 (cos_test_tonearest): Likewise.
13538 (cos_test_towardzero): Likewise.
13539 (cos_test_downward): Likewise.
13540 (cos_test_upward): Likewise.
13541 (cosh_test): Likewise.
13542 (cosh_test_tonearest): Likewise.
13543 (cosh_test_towardzero): Likewise.
13544 (cosh_test_downward): Likewise.
13545 (cosh_test_upward): Likewise.
13546 (cpow_test): Likewise.
13547 (csin_test): Likewise.
13548 (csinh_test): Likewise.
13549 (csqrt_test): Likewise.
13550 (ctan_test): Likewise.
13551 (ctan_test_tonearest): Likewise.
13552 (ctan_test_towardzero): Likewise.
13553 (ctan_test_downward): Likewise.
13554 (ctan_test_upward): Likewise.
13555 (ctanh_test): Likewise.
13556 (ctanh_test_tonearest): Likewise.
13557 (ctanh_test_towardzero): Likewise.
13558 (ctanh_test_downward): Likewise.
13559 (ctanh_test_upward): Likewise.
13560 (erf_test): Likewise.
13561 (erfc_test): Likewise.
13562 (exp_test): Likewise.
13563 (exp_test_tonearest): Likewise.
13564 (exp_test_towardzero): Likewise.
13565 (exp_test_downward): Likewise.
13566 (exp_test_upward): Likewise.
13567 (exp10_test): Likewise.
13568 (exp2_test): Likewise.
13569 (expm1_test): Likewise.
13570 (fmod_test): Likewise.
13571 (gamma_test): Likewise.
13572 (hypot_test): Likewise.
13573 (j0_test): Likewise.
13574 (j1_test): Likewise.
13575 (jn_test): Likewise.
13576 (lgamma_test): Likewise.
13577 (log_test): Likewise.
13578 (log10_test): Likewise.
13579 (log1p_test): Likewise.
13580 (log2_test): Likewise.
13581 (logb_test_downward): Likewise.
13582 (pow_test): Likewise.
13583 (pow_test_tonearest): Likewise.
13584 (pow_test_towardzero): Likewise.
13585 (pow_test_downward): Likewise.
13586 (pow_test_upward): Likewise.
13587 (remainder_test): Likewise.
13588 (remquo_test): Likewise.
13589 (sin_test): Likewise.
13590 (sin_test_tonearest): Likewise.
13591 (sin_test_towardzero): Likewise.
13592 (sin_test_downward): Likewise.
13593 (sin_test_upward): Likewise.
13594 (sincos_test): Likewise.
13595 (sinh_test): Likewise.
13596 (sinh_test_tonearest): Likewise.
13597 (sinh_test_towardzero): Likewise.
13598 (sinh_test_downward): Likewise.
13599 (sinh_test_upward): Likewise.
13600 (sqrt_test): Likewise.
13601 (tan_test): Likewise.
13602 (tan_test_tonearest): Likewise.
13603 (tan_test_towardzero): Likewise.
13604 (tan_test_downward): Likewise.
13605 (tan_test_upward): Likewise.
13606 (tanh_test): Likewise.
13607 (tgamma_test): Likewise.
13608 (y0_test): Likewise.
13609 (y1_test): Likewise.
13610 (yn_test): Likewise.
13611
323e5cb7
JM
13612 * math/gen-libm-test.pl (adjust_arg): Remove function.
13613 (special_function): Remove argument $in_func. Only handle
13614 generating output for tables of tests, not inside functions.
13615 (parse_args): Likewise.
13616 (generate_testfile): Remove variable $in_func. Update call to
13617 parse_args.
13618 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13619 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13620 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13621 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13622 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13623 (MAX_VALUE_INIT): Rename macro to max_value.
13624 (MIN_VALUE_INIT): Rename macro to min_value.
13625 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13626 (plus_zero): Remove variable.
13627 (minus_zero): Likewise.
13628 (plus_infty): Likewise.
13629 (minus_infty): Likewise.
13630 (qnan_value): Likewise.
13631 (max_value): Likewise.
13632 (min_value): Likewise.
13633 (min_subnorm_value): Likewise.
13634
e054f494
RA
136352013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13636
13637 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13638 uint64_t or uint32_t usage.
13639 * crypt/sha256-block.c: Likewise.
13640 * crypt/sha256-crypt.c: Likewise.
13641 * crypt/sha256.c: Likewise.
13642 * crypt/sha512-block.c: Likewise.
13643 * crypt/sha512-crypt.c: Likewise.
13644 * crypt/sha512.c: Likewise.
13645 * debug/backtrace-tst.c: Likewise.
13646 * debug/pcprofiledump.c: Likewise.
13647 * elf/cache.c: Likewise.
13648 * elf/dl-cache.c: Likewise.
13649 * elf/dl-misc.c: Likewise.
13650 * elf/dl-profile.c: Likewise.
13651 * elf/dl-support.c: Likewise.
13652 * elf/ldconfig.c: Likewise.
13653 * elf/sprof.c: Likewise.
13654 * iconv/dummy-repertoire.c: Likewise.
13655 * iconv/iconv_charmap.c: Likewise.
13656 * iconv/skeleton.c: Likewise.
13657 * iconvdata/8bit-generic.c: Likewise.
13658 * iconvdata/cp737.h: Likewise.
13659 * iconvdata/cp775.h: Likewise.
13660 * iconvdata/ibm1008.h: Likewise.
13661 * iconvdata/ibm1025.h: Likewise.
13662 * iconvdata/ibm1046.h: Likewise.
13663 * iconvdata/ibm1097.h: Likewise.
13664 * iconvdata/ibm1112.h: Likewise.
13665 * iconvdata/ibm1122.h: Likewise.
13666 * iconvdata/ibm1123.h: Likewise.
13667 * iconvdata/ibm1124.h: Likewise.
13668 * iconvdata/ibm1129.h: Likewise.
13669 * iconvdata/ibm1130.h: Likewise.
13670 * iconvdata/ibm1132.h: Likewise.
13671 * iconvdata/ibm1133.h: Likewise.
13672 * iconvdata/ibm1137.h: Likewise.
13673 * iconvdata/ibm1140.h: Likewise.
13674 * iconvdata/ibm1141.h: Likewise.
13675 * iconvdata/ibm1142.h: Likewise.
13676 * iconvdata/ibm1143.h: Likewise.
13677 * iconvdata/ibm1144.h: Likewise.
13678 * iconvdata/ibm1145.h: Likewise.
13679 * iconvdata/ibm1146.h: Likewise.
13680 * iconvdata/ibm1147.h: Likewise.
13681 * iconvdata/ibm1148.h: Likewise.
13682 * iconvdata/ibm1149.h: Likewise.
13683 * iconvdata/ibm1153.h: Likewise.
13684 * iconvdata/ibm1154.h: Likewise.
13685 * iconvdata/ibm1155.h: Likewise.
13686 * iconvdata/ibm1156.h: Likewise.
13687 * iconvdata/ibm1157.h: Likewise.
13688 * iconvdata/ibm1158.h: Likewise.
13689 * iconvdata/ibm1160.h: Likewise.
13690 * iconvdata/ibm1161.h: Likewise.
13691 * iconvdata/ibm1162.h: Likewise.
13692 * iconvdata/ibm1163.h: Likewise.
13693 * iconvdata/ibm1164.h: Likewise.
13694 * iconvdata/ibm1166.h: Likewise.
13695 * iconvdata/ibm1167.h: Likewise.
13696 * iconvdata/ibm12712.h: Likewise.
13697 * iconvdata/ibm1390.h: Likewise.
13698 * iconvdata/ibm1399.h: Likewise.
13699 * iconvdata/ibm16804.h: Likewise.
13700 * iconvdata/ibm4517.h: Likewise.
13701 * iconvdata/ibm4899.h: Likewise.
13702 * iconvdata/ibm4909.h: Likewise.
13703 * iconvdata/ibm4971.h: Likewise.
13704 * iconvdata/ibm5347.h: Likewise.
13705 * iconvdata/ibm803.h: Likewise.
13706 * iconvdata/ibm856.h: Likewise.
13707 * iconvdata/ibm901.h: Likewise.
13708 * iconvdata/ibm902.h: Likewise.
13709 * iconvdata/ibm9030.h: Likewise.
13710 * iconvdata/ibm9066.h: Likewise.
13711 * iconvdata/ibm921.h: Likewise.
13712 * iconvdata/ibm922.h: Likewise.
13713 * iconvdata/ibm9448.h: Likewise.
13714 * iconvdata/isiri-3342.h: Likewise.
13715 * iconvdata/jis0201.h: Likewise.
13716 * include/link.h: Likewise.
13717 * include/netdb.h: Likewise.
13718 * inet/check_native.c: Likewise.
13719 * inet/check_pf.c: Likewise.
13720 * inet/getipv4sourcefilter.c: Likewise.
13721 * inet/getnameinfo.c: Likewise.
13722 * inet/getsourcefilter.c: Likewise.
13723 * inet/htonl.c: Likewise.
13724 * inet/setipv4sourcefilter.c: Likewise.
13725 * inet/setsourcefilter.c: Likewise.
13726 * inet/test-inet6_opt.c: Likewise.
13727 * inet/tst-network.c: Likewise.
13728 * locale/C-collate.c: Likewise.
13729 * locale/C-ctype.c: Likewise.
13730 * locale/C-time.c: Likewise.
13731 * locale/C-translit.h: Likewise.
13732 * locale/loadarchive.c: Likewise.
13733 * locale/programs/3level.h: Likewise.
13734 * locale/programs/charmap.c: Likewise.
13735 * locale/programs/charmap.h: Likewise.
13736 * locale/programs/ld-address.c: Likewise.
13737 * locale/programs/ld-collate.c: Likewise.
13738 * locale/programs/ld-ctype.c: Likewise.
13739 * locale/programs/ld-identification.c: Likewise.
13740 * locale/programs/ld-measurement.c: Likewise.
13741 * locale/programs/ld-messages.c: Likewise.
13742 * locale/programs/ld-monetary.c: Likewise.
13743 * locale/programs/ld-name.c: Likewise.
13744 * locale/programs/ld-numeric.c: Likewise.
13745 * locale/programs/ld-paper.c: Likewise.
13746 * locale/programs/ld-telephone.c: Likewise.
13747 * locale/programs/ld-time.c: Likewise.
13748 * locale/programs/linereader.c: Likewise.
13749 * locale/programs/locale.c: Likewise.
13750 * locale/programs/locarchive.c: Likewise.
13751 * locale/programs/locfile.h: Likewise.
13752 * locale/programs/repertoire.c: Likewise.
13753 * locale/programs/simple-hash.c: Likewise.
13754 * locale/programs/simple-hash.h: Likewise.
13755 * malloc/memusage.c: Likewise.
13756 * malloc/memusagestat.c: Likewise.
13757 * nis/nis_defaults.c: Likewise.
13758 * nis/nis_hash.c: Likewise.
13759 * nis/nis_print.c: Likewise.
13760 * nis/nis_xdr.c: Likewise.
13761 * nscd/connections.c: Likewise.
13762 * nscd/hstcache.c: Likewise.
13763 * nscd/nscd_gethst_r.c: Likewise.
13764 * nscd/nscd_getserv_r.c: Likewise.
13765 * nscd/nscd_helper.c: Likewise.
13766 * nscd/servicescache.c: Likewise.
13767 * nss/makedb.c: Likewise.
13768 * nss/nss_db/db-XXX.c: Likewise.
13769 * nss/nss_db/db-initgroups.c: Likewise.
13770 * nss/nss_db/db-netgrp.c: Likewise.
13771 * nss/nss_files/files-network.c: Likewise.
13772 * nss/nss_files/files-parse.c: Likewise.
13773 * posix/bug-regex5.c: Likewise.
13774 * posix/fnmatch_loop.c: Likewise.
13775 * posix/regcomp.c: Likewise.
13776 * posix/regexec.c: Likewise.
13777 * posix/tst-rfc3484-2.c: Likewise.
13778 * posix/tst-rfc3484-3.c: Likewise.
13779 * posix/tst-rfc3484.c: Likewise.
13780 * resolv/nss_dns/dns-canon.c: Likewise.
13781 * resolv/nss_dns/dns-network.c: Likewise.
13782 * resolv/res_init.c: Likewise.
13783 * resolv/res_mkquery.c: Likewise.
13784 * resolv/tst-aton.c: Likewise.
13785 * stdlib/cxa_atexit.c: Likewise.
13786 * stdlib/cxa_finalize.c: Likewise.
13787 * stdlib/gen-fpioconst.c: Likewise.
13788 * stdlib/strtol_l.c: Likewise.
13789 * string/tst-endian.c: Likewise.
13790 * sunrpc/auth_des.c: Likewise.
13791 * sunrpc/clnt_udp.c: Likewise.
13792 * sunrpc/rtime.c: Likewise.
13793 * sunrpc/svcauth_des.c: Likewise.
13794 * sunrpc/xdr.c: Likewise.
13795 * sunrpc/xdr_intXX_t.c: Likewise.
13796 * sunrpc/xdr_rec.c: Likewise.
13797 * sysdeps/generic/ldconfig.h: Likewise.
13798 * sysdeps/generic/ldsodefs.h: Likewise.
13799 * sysdeps/generic/memusage.h: Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13801 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13803 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13810 * sysdeps/posix/getaddrinfo.c: Likewise.
13811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13815 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13816 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13817 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13818 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13819 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13820 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13822 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13823 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13824 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13825 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13826 * sysdeps/x86_64/dl-tls.h: Likewise.
13827 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13828 * time/alt_digit.c: Likewise.
13829 * time/era.c: Likewise.
13830 * wcsmbs/tst-c16c32-1.c: Likewise.
13831
8c75f674
JM
138322013-05-16 Joseph Myers <joseph@codesourcery.com>
13833
13834 * math/libm-test.inc (struct test_sincos_data): New type.
13835 (RUN_TEST_LOOP_sincos): New macro.
13836 (sincos_test_data): New variable.
13837 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13838
e6e49e59
RH
138392013-05-16 Richard Henderson <rth@redhat.com>
13840
13841 * math/atest-exp2.c (LIMB64): New macro.
13842 (CONSTSZ): New macro.
13843 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13844 (hexdig): Move ...
13845 (print_mpn_fp): ... to function scope.
13846 (read_mpn_hex): Remove.
13847 (get_log2): Remove.
13848 (exp2_mpn): Use mp_log2.
13849 (main): Use mp_exp1.
13850
15c7c18d
JM
138512013-05-16 Joseph Myers <joseph@codesourcery.com>
13852
105a07df
JM
13853 * math/libm-test.inc: Remove comment about not testing "inexact"
13854 exceptions.
13855 (INEXACT_EXCEPTION): New macro.
13856 (NO_INEXACT_EXCEPTION): Likewise.
13857 (INVALID_EXCEPTION_OK): Update value.
13858 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13859 (OVERFLOW_EXCEPTION_OK): Likewise.
13860 (UNDERFLOW_EXCEPTION_OK): Likewise.
13861 (IGNORE_ZERO_INF_SIGN): Likewise.
13862 (ERRNO_UNCHANGED): Likewise.
13863 (ERRNO_EDOM): Likewise.
13864 (ERRNO_ERANGE): Likewise.
13865 (test_exceptions): Handle testing "inexact" exceptions.
13866 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13867 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13868 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13869 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13870 INEXACT_EXCEPTION.
13871 (rint_towardzero_test_data): Likewise.
13872 (rint_downward_test_data): Likewise.
13873 (rint_upward_test_data): Likewise.
13874
e9eee333
JM
13875 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13876 with OVERFLOW_EXCEPTION.
13877 (exp10_test_data): Likewise.
13878 (exp2_test_data): Likewise.
13879 (expm1_test_data): Likewise.
13880 (lgamma_test_data): Likewise.
13881 (pow_test_data): Likewise.
13882 (tgamma_test_data): Likewise.
13883 (yn_test_data): Remove duplicate test of overflow.
13884
1c38ff73
JM
13885 * math/libm-test.inc (struct test_cc_c_data): New type.
13886 (RUN_TEST_LOOP_cc_c): New macro.
13887 (cpow_test_data): New variable.
13888 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13889
15c7c18d
JM
13890 * math/libm-test.inc (struct test_f_L_data): New type.
13891 (RUN_TEST_LOOP_f_L): New macro.
13892 (llrint_test_data): New variable.
13893 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13894 (llrint_tonearest_test_data): New variable.
13895 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13896 (llrint_towardzero_test_data): New variable.
13897 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13898 (llrint_downward_test_data): New variable.
13899 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13900 (llrint_upward_test_data): New variable.
13901 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13902 (llround_test_data): New variable.
13903 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13904
f137ff13
PC
139052013-05-13 Peter Collingbourne <pcc@google.com>
13906
13907 * math/atest-exp2.c (get_log2): Remove const attribute.
13908
3608cb24
JM
139092013-05-15 Joseph Myers <joseph@codesourcery.com>
13910
13911 * math/libm-test.inc (struct test_f_l_data): New type.
13912 (RUN_TEST_LOOP_f_l): New macro.
13913 (lrint_test_data): New variable.
13914 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13915 (lrint_tonearest_test_data): New variable.
13916 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13917 (lrint_towardzero_test_data): New variable.
13918 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13919 (lrint_downward_test_data): New variable.
13920 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13921 (lrint_upward_test_data): New variable.
13922 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13923 (lround_test_data): New variable.
13924 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13925
39b1f617
PC
139262013-05-15 Peter Collingbourne <pcc@google.com>
13927
1deff3dc
PC
13928 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13929 (EXTRACT_WORDS64) Use where appropriate.
13930 (INSERT_WORDS64) Likewise.
13931
791f3ba0
PC
13932 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13933 constraints with x constraints.
13934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13935
39b1f617
PC
13936 * malloc/obstack.c (_obstack_compat): Add initializer.
13937
12fba011
EM
139382013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13939
13940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13941 si_trapno and add si_addr_lsb to _sifields.sigfault.
13942 (si_trapno): Remove macro.
13943 (si_addr_lsb): Define new macro.
13944 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13945
d369f531
JM
139462013-05-15 Joseph Myers <joseph@codesourcery.com>
13947
b861c6c4
JM
13948 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13949 instead of TEST_f_l.
13950 (llrint_test_tonearest): Likewise.
13951 (llrint_test_towardzero): Likewise.
13952 (llrint_test_downward): Likewise.
13953 (llrint_test_upward): Likewise.
13954 (llround_test): Likewise.
13955
7abeee12
JM
13956 * math/libm-test.inc (struct test_f_i_data): Add comment.
13957 (RUN_TEST_LOOP_f_b): New macro.
13958 (RUN_TEST_LOOP_f_b_tg): Likewise.
13959 (finite_test_data): New variable.
13960 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13961 (isfinite_test_data): New variable.
13962 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13963 (isinf_test_data): New variable.
13964 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13965 (isnan_test_data): New variable.
13966 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13967 (isnormal_test_data): New variable.
13968 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13969 (issignaling_test_data): New variable.
13970 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13971 (signbit_test_data): New variable.
13972 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13973
cbe8c4d3
JM
13974 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13975 with INVALID_EXCEPTION.
13976 (acosh_test_data): Likewise.
13977 (asin_test_data): Likewise.
13978 (atanh_test_data): Likewise.
13979 (fmod_test_data): Likewise.
13980 (log_test_data): Likewise.
13981 (log10_test_data): Likewise.
13982 (log2_test_data): Likewise.
13983 (pow_test_data): Likewise.
13984 (sqrt_test_data): Likewise.
13985 (y0_test_data): Likewise.
13986 (y1_test_data): Likewise.
13987 (yn_test_data): Likewise.
13988
5575c0e5
JM
13989 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13990 function contents.
13991
d369f531
JM
13992 * math/libm-test.inc (struct test_ff_i_data): New type.
13993 (RUN_TEST_LOOP_ff_i_tg): New macro.
13994 (isgreater_test_data): New variable.
13995 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13996 (isgreaterequal_test_data): New variable.
13997 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13998 (isless_test_data): New variable.
13999 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14000 (islessequal_test_data): New variable.
14001 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14002 (islessgreater_test_data): New variable.
14003 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14004 (isunordered_test_data): New variable.
14005 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14006
781fd748
DM
140072013-05-14 David S. Miller <davem@davemloft.net>
14008
14009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14010
87aa21df
JM
140112013-05-14 Joseph Myers <joseph@codesourcery.com>
14012
5e908270
JM
14013 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14014
f71172e5
JM
14015 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14016 extra_test to int.
14017 (struct test_f_i_data): Change type of max_ulp to int.
14018
8cfa635a
JM
14019 * math/libm-test.inc (test_ffI_f1_data): New type.
14020 (RUN_TEST_LOOP_ffI_f1): New macro.
14021 (remquo_test_data): New variable.
14022 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14023
2bcb36b2
JM
14024 * setjmp/tst-setjmp-fp.c: New file.
14025 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14026 (link-libm): New variable.
14027 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14028
acbd839a
JM
14029 * math/libm-test.inc (struct test_f_i_data): New type.
14030 (RUN_TEST_LOOP_f_i): New macro.
14031 (RUN_TEST_LOOP_f_i_tg): Likewise.
14032 (fpclassify_test_data): New variable.
14033 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14034 (ilogb_test_data): New variable.
14035 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14036
e414d745
JM
14037 * math/libm-test.inc (scalbln_test): Correct function name in END
14038 call.
14039
d9c2a0fd
JM
14040 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14041 (RUN_TEST_LOOP_fI_f1): New macro.
14042 (frexp_test_data): New variable.
14043 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14044
9dc9095d
JM
14045 * math/libm-test.inc (struct test_fF_f1_data): New type.
14046 (RUN_TEST_LOOP_fF_f1): New macro.
14047 (modf_test_data): New variable.
14048 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14049
87aa21df
JM
14050 * math/libm-test.inc (struct test_f_f1_data): New type.
14051 (RUN_TEST_LOOP_f_f1): New macro.
14052 (gamma_test_data): New variable.
14053 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14054 (lgamma_test_data): New variable.
14055 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14056
141af660
CD
140572013-05-13 Carlos O'Donell <carlos@redhat.com>
14058
14059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14060 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14061 (main): Comment "tls" pseudo-hwcap.
14062
6d33265c
JM
140632013-05-13 Joseph Myers <joseph@codesourcery.com>
14064
68fc074c
JM
14065 * math/libm-test.inc (struct test_fl_f_data): New type.
14066 (RUN_TEST_LOOP_fl_f): New variable.
14067 (scalbln_test_data): New variable.
14068 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14069
243216e1
JM
14070 * math/libm-test.inc (struct test_fi_f_data): New type.
14071 (RUN_TEST_LOOP_fi_f): New macro.
14072 (ldexp_test_data): New variable.
14073 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14074 (scalbn_test_data): New variable.
14075 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14076
6a1992e2
JM
14077 * math/libm-test.inc (struct test_c_f_data): New type.
14078 (RUN_TEST_LOOP_c_f): New macro.
14079 (cabs_test_data): New variable.
14080 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14081 (carg_test_data): New variable.
14082 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14083 (cimag_test_data): New variable.
14084 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14085 (creal_test_data): New variable.
14086 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14087
0e400df5
JM
14088 * math/libm-test.inc (struct test_if_f_data): New type.
14089 (RUN_TEST_LOOP_if_f): New macro.
14090 (jn_test_data): New variable.
14091 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14092 (yn_test_data): New variable.
14093 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14094
6d33265c
JM
14095 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14096
f98ece5f
AZ
140972013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14098
14099 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14100 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14101
0f7d347b
SP
141022013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14103
43fe811b
SP
14104 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14105 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14106 (bench-deps): Add bench-timing.h.
14107 * benchtests-bench-skeleton.c: Include bench-timing.h.
14108 (main): Use TIMING_* macros instead of clock_gettime.
14109 * benchtests/bench-timing.h: New file.
14110
0f7d347b
SP
14111 [BZ #14582]
14112 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14113 Renamed from _LIB_VERSION.
14114 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14115
601a3a5f
JM
141162013-05-12 Joseph Myers <joseph@codesourcery.com>
14117
4f184d30
JM
14118 * math/libm-test.inc (struct test_fff_f_data): New type.
14119 (RUN_TEST_LOOP_fff_f): New macro.
14120 (fma_test_data): New variable.
14121 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14122 (fma_towardzero_test_data): New variable.
14123 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14124 (fma_downward_test_data): New variable.
14125 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14126 (fma_upward_test_data): New variable.
14127 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14128
08198877
JM
14129 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14130 (struct test_c_c_data): New type.
14131 (RUN_TEST_LOOP_c_c): New macro.
14132 (cacos_test_data): New variable.
14133 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14134 (cacosh_test_data): New variable.
14135 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14136 (casin_test_data): New variable.
14137 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14138 (casinh_test_data): New variable.
14139 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14140 (catan_test_data): New variable.
14141 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14142 (catanh_test_data): New variable.
14143 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14144 (ccos_test_data): New variable.
14145 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14146 (ccosh_test_data): New variable.
14147 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14148 (cexp_test_data): New variable.
14149 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14150 (clog_test_data): New variable.
14151 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14152 (clog10_test_data): New variable.
14153 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14154 (conj_test_data): New variable.
14155 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14156 (cproj_test_data): New variable.
14157 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14158 (csin_test_data): New variable.
14159 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14160 (csinh_test_data): New variable.
14161 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14162 (csqrt_test_data): New variable.
14163 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14164 (ctan_test_data): New variable.
14165 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14166 (ctan_tonearest_test_data): New variable.
14167 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14168 (ctan_towardzero_test_data): New variable.
14169 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14170 (ctan_downward_test_data): New variable.
14171 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14172 (ctan_upward_test_data): New variable.
14173 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14174 (ctanh_test_data): New variable.
14175 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14176 (ctanh_tonearest_test_data): New variable.
14177 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14178 (ctanh_towardzero_test_data): New variable.
14179 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14180 (ctanh_downward_test_data): New variable.
14181 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14182 (ctanh_upward_test_data): New variable.
14183 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14184 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14185 of BUILD_COMPLEX.
14186
601a3a5f
JM
14187 * math/libm-test.inc (struct test_ff_f_data): New type.
14188 (struct test_ff_f_data_nexttoward): Likewise.
14189 (RUN_TEST_LOOP_2_f): New macro.
14190 (RUN_TEST_LOOP_ff_f): Likewise.
14191 (atan2_test_data): New variable.
14192 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14193 (copysign_test_data): New variable.
14194 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14195 (fdim_test_data): New variable.
14196 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14197 (fmax_test_data): New variable.
14198 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14199 (fmin_test_data): New variable.
14200 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14201 (fmod_test_data): New variable.
14202 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14203 (hypot_test_data): New variable.
14204 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14205 (nextafter_test_data): New variable.
14206 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14207 (nexttoward_test_data): New variable.
14208 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14209 (pow_test_data): New variable.
14210 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14211 (pow_tonearest_test_data): New variable.
14212 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14213 (pow_towardzero_test_data): New variable.
14214 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14215 (pow_downward_test_data): New variable.
14216 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14217 (pow_upward_test_data): New variable.
14218 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14219 (remainder_test_data): New variable.
14220 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14221 (scalb_test_data): New variable.
14222 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14223 * sysdeps/i386/fpu/libm-test-ulps: Update.
14224
74c57478
JM
142252013-05-11 Joseph Myers <joseph@codesourcery.com>
14226
8329e4da
JM
14227 * math/libm-test.inc (fma_test): Use max_value instead of local
14228 variable fltmax.
14229 (nextafter_test): Likewise.
14230
74c57478
JM
14231 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14232 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14233 (acos_downward_test_data): New variable.
14234 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14235 (acos_upward_test_data): New variable.
14236 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14237 (acosh_test_data): New variable.
14238 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14239 (asin_test_data): New variable.
14240 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14241 (asin_tonearest_test_data): New variable.
14242 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14243 (asin_towardzero_test_data): New variable.
14244 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14245 (asin_downward_test_data): New variable.
14246 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14247 (asin_upward_test_data): New variable.
14248 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14249 (asinh_test_data): New variable.
14250 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14251 (atan_test_data): New variable.
14252 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14253 (atanh_test_data): New variable.
14254 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14255 (cbrt_test_data): New variable.
14256 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14257 (ceil_test_data): New variable.
14258 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14259 (cos_test_data): New variable.
14260 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14261 (cos_tonearest_test_data): New variable.
14262 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14263 (cos_towardzero_test_data): New variable.
14264 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14265 (cos_downward_test_data): New variable.
14266 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14267 (cos_upward_test_data): New variable.
14268 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14269 (cosh_test_data): New variable.
14270 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14271 (cosh_tonearest_test_data): New variable.
14272 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14273 (cosh_towardzero_test_data): New variable.
14274 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14275 (cosh_downward_test_data): New variable.
14276 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14277 (cosh_upward_test_data): New variable.
14278 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14279 (erf_test_data): New variable.
14280 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14281 (erfc_test_data): New variable.
14282 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14283 (exp_test_data): New variable.
14284 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14285 (exp_tonearest_test_data): New variable.
14286 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14287 (exp_towardzero_test_data): New variable.
14288 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14289 (exp_downward_test_data): New variable.
14290 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14291 (exp_upward_test_data): New variable.
14292 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14293 (exp10_test_data): New variable.
14294 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14295 (exp2_test_data): New variable.
14296 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14297 (expm1_test_data): New variable.
14298 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14299 (fabs_test_data): New variable.
14300 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14301 (floor_test_data): New variable.
14302 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14303 (j0_test_data): New variable.
14304 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14305 (j1_test_data): New variable.
14306 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14307 (log_test_data): New variable.
14308 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14309 (log10_test_data): New variable.
14310 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14311 (log1p_test_data): New variable.
14312 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14313 (log2_test_data): New variable.
14314 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14315 (logb_test_data): New variable.
14316 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14317 (logb_downward_test_data): New variable.
14318 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14319 (nearbyint_test_data): New variable.
14320 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14321 (rint_test_data): New variable.
14322 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14323 (rint_tonearest_test_data): New variable.
14324 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14325 (rint_towardzero_test_data): New variable.
14326 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14327 (rint_downward_test_data): New variable.
14328 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14329 (rint_upward_test_data): New variable.
14330 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14331 (round_test_data): New variable.
14332 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14333 (sin_test_data): New variable.
14334 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14335 (sin_tonearest_test_data): New variable.
14336 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14337 (sin_towardzero_test_data): New variable.
14338 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14339 (sin_downward_test_data): New variable.
14340 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14341 (sin_upward_test_data): New variable.
14342 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14343 (sinh_test_data): New variable.
14344 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14345 (sinh_tonearest_test_data): New variable.
14346 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14347 (sinh_towardzero_test_data): New variable.
14348 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14349 (sinh_downward_test_data): New variable.
14350 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14351 (sinh_upward_test_data): New variable.
14352 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14353 (sqrt_test_data): New variable.
14354 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14355 (tan_test_data): New variable.
14356 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14357 (tan_tonearest_test_data): New variable.
14358 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14359 (tan_towardzero_test_data): New variable.
14360 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14361 (tan_downward_test_data): New variable.
14362 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14363 (tan_upward_test_data): New variable.
14364 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14365 (tanh_test_data): New variable.
14366 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14367 (tgamma_test_data): New variable.
14368 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14369 (trunc_test_data): New variable.
14370 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14371 (y0_test_data): New variable.
14372 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14373 (y1_test_data): New variable.
14374 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14375 (significand_test_data): New variable.
14376 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14377
7187d844
CG
143782013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14379
14380 [BZ #12387]
14381 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14382
f63fae73
PT
143832013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14384
14385 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14386
8a67a4b3
AJ
143872013-05-10 Andreas Jaeger <aj@suse.de>
14388
14389 [BZ #15448]
14390 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14391 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14392
51df539d
JM
143932013-05-10 Joseph Myers <joseph@codesourcery.com>
14394
14395 * math/gen-libm-test.pl (adjust_arg): New function.
14396 (special_functions): Handle generating output in both functions
14397 and arrays.
14398 (parse_args): Likewise.
14399 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14400 $in_func argument to parse_args.
14401 * math/libm-test.inc (struct test_f_f_data): New type.
14402 (IF_ROUND_INIT_): New macro.
14403 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14404 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14405 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14406 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14407 (ROUND_RESTORE_): Likewise.
14408 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14409 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14410 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14411 (ROUND_RESTORE_FE_UPWARD): Likewise.
14412 (RUN_TEST_LOOP_f_f): New macro.
14413 (acos_test_data): New variable.
14414 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14415 (acos_tonearest_test_data): New variable.
14416 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14417
5c637fe5
SP
144182013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14419
14420 * benchtests/bench-skeleton.c (startup): Fix coding style.
14421
ab2b9461
JM
144222013-05-10 Joseph Myers <joseph@codesourcery.com>
14423
14424 [BZ #6809]
14425 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14426 negative infinity argument.
14427 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14428 negative infinity argument.
14429 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14430 negative infinity argument.
14431 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14432 domain errors.
14433
4c0fe6fe
FW
144342013-05-10 Florian Weimer <fweimer@redhat.com>
14435
14436 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14437 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14438 * iconv/iconv_prog.c (main): Likewise.
14439 * locale/programs/charmap-dir.c (charmap_readdir)
14440 (fopen_uncompressed): Likewise.
14441 * locale/programs/locfile.c (siblings_uncached)
14442 (write_locale_data): Use lstat64 instead of lstat.
14443 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14444 stat.
14445
a3375d29
AJ
144462013-05-10 Andreas Jaeger <aj@suse.de>
14447
14448 [BZ #15395]
14449 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14450 localization.
14451 Include <locale.h>.
14452
36129722
CD
144532013-05-09 Carlos O'Donell <carlos@redhat.com>
14454
14455 * elf/dl-close.c (_dl_close_worker): Add comments.
14456
faa7f811
JM
144572013-05-09 Joseph Myers <joseph@codesourcery.com>
14458
ed41ffef
JM
14459 [BZ #15359]
14460 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14461 high part of pi/2.
14462 (__ieee754_rem_pio2l): Update comments.
14463
d0213cd0
JM
14464 [BZ #15429]
14465 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14466 high part of pi/2.
14467 (__ieee754_rem_pio2l): Update comments.
14468
0d3e777a
JM
14469 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14470 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14471
24f56066
JM
14472 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14473 M_PI_4l.
14474
faa7f811
JM
14475 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14476 (M_PI_34_LOG10El): Likewise.
14477 (M_PI2_LOG10El): Likewise.
14478 (M_PI4_LOG10El): Likewise.
14479 (M_PI_LOG10El): Likewise.
14480
e9a5e0fd
AZ
144812013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14482
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14484
d8cd06db
JM
144852013-05-08 Joseph Myers <joseph@codesourcery.com>
14486
a0d9f9d7
JM
14487 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14488 (MINUS_ZERO_INIT): Likewise.
14489 (PLUS_INFTY_INIT): Likewise.
14490 (MINUS_INFTY_INIT): Likewise.
14491 (QNAN_VALUE_INIT): Likewise.
14492 (MAX_VALUE_INIT): Likewise.
14493 (MIN_VALUE_INIT): Likewise.
14494 (MIN_SUBNORM_VALUE_INIT): Likewise.
14495 (plus_zero): Initialize with PLUS_ZERO_INIT.
14496 (minus_zero): Initialize with MINUS_ZERO_INIT.
14497 (plus_infty): Initialize with PLUS_INFTY_INIT.
14498 (minus_infty): Initialize with MINUS_INFTY_INIT.
14499 (qnan_value): Initialize with QNAN_VALUE_INIT.
14500 (max_value): Initialize with MAX_VALUE_INIT.
14501 (min_value): Initialize with MIN_VALUE_INIT.
14502 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14503
ae08db3b
JM
14504 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14505 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14506 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14507 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14508
f44bf14a
JM
14509 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14510 (RUN_TEST_2_f): Likewise.
14511 (RUN_TEST_ff_f): Likewise.
14512 (RUN_TEST_fi_f): Likewise.
14513 (RUN_TEST_fl_f): Likewise.
14514 (RUN_TEST_fff_f): Likewise.
14515 (RUN_TEST_c_f): Likewise.
14516 (RUN_TEST_f_f1): Likewise.
14517 (RUN_TEST_fF_f1): Likewise.
14518 (RUN_TEST_fI_f1): Likewise.
14519 (RUN_TEST_ffI_f1): Likewise.
14520 (RUN_TEST_c_c): Likewise.
14521 (RUN_TEST_cc_c): Likewise.
14522 (RUN_TEST_f_i): Likewise.
14523 (RUN_TEST_f_i_tg): Likewise.
14524 (RUN_TEST_ff_i_tg): Likewise.
14525 (RUN_TEST_f_b): Likewise.
14526 (RUN_TEST_f_b_tg): Likewise.
14527 (RUN_TEST_f_l): Likewise.
14528 (RUN_TEST_f_L): Likewise.
14529 (RUN_TEST_sincos): Likewise.
14530 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14531 whether to show exceptions. Do not include ");\n" in return
14532 value.
14533 (special_functions): Output call to RUN_TEST_sincos instead of
14534 check_float calls. Update calls to new_test.
14535 (parse_args): Output call to single RUN_TEST_* macro instead of
14536 check_* calls and other assignments. Update calls to new_test.
14537
d8cd06db
JM
14538 [BZ #2546]
14539 [BZ #2560]
14540 [BZ #5159]
14541 [BZ #15426]
14542 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14543 input to result for tgamma overflow.
14544 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14545 (gamma_coeff): New variable.
14546 (NCOEFF): New macro.
14547 (gamma_positive): New function.
14548 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14549 underflow here. Use gamma_positive instead of exp (lgamma) for
14550 other arguments.
14551 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14552 (gamma_coeff): New variable.
14553 (NCOEFF): New macro.
14554 (gammaf_positive): New function.
14555 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14556 underflow here. Use gamma_positive instead of exp (lgamma) for
14557 other arguments.
14558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14559 (gamma_coeff): New variable.
14560 (NCOEFF): New macro.
14561 (gammal_positive): New function.
14562 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14563 underflow here. Use gamma_positive instead of exp (lgamma) for
14564 other arguments.
14565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14566 (gamma_coeff): New variable.
14567 (NCOEFF): New macro.
14568 (gammal_positive): New function.
14569 (__ieee754_gammal_r): Handle positive infinity, overflow and
14570 underflow here. Handle NaN the same as positive infinity. Remove
14571 check x < 0xffffffff for negative integers. Use gamma_positive
14572 instead of exp (lgamma) for other arguments.
14573 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14574 (gamma_coeff): New variable.
14575 (NCOEFF): New macro.
14576 (gammal_positive): New function.
14577 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14578 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14579 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14582 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14583 * sysdeps/generic/math_private.h (__gamma_productf): New
14584 prototype.
14585 (__gamma_product): Likewise.
14586 (__gamma_productl): Likewise.
14587 * math/Makefile (libm-calls): Add gamma_product.
14588 * math/libm-test.inc (tgamma_test): Add more tests.
14589 * sysdeps/i386/fpu/libm-test-ulps: Update.
14590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14591
bb7cf681
OB
145922013-05-08 Ondřej Bílka <neleai@seznam.cz>
14593
14594 * benchtests/bench-skeleton.c (main): Preheat CPU.
14595
ba853947
AJ
145962013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14597
14598 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14599
8347c74c
RM
146002013-05-07 Roland McGrath <roland@hack.frob.com>
14601
14602 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14603 and _dl_skip_args_internal.
14604
e8dd4791
CD
146052013-05-07 Carlos O'Donell <carlos@redhat.com>
14606
14607 * manual/message.texi (Message Translation): Talk about users.
14608 Message to key mapping impacts design.
14609
c7405830
RM
146102013-05-06 Roland McGrath <roland@hack.frob.com>
14611
a9173057
RM
14612 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14613
976e2f03
RM
14614 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14615
9723ffc5
RM
14616 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14617 * sysdeps/wordsize-64/glob64.c: ... here.
14618
962e6658
RM
14619 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14620 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14621 New macros.
14622
ee586a6d
RM
14623 * debug/getlogin_r_chk.c: Moved to ...
14624 * login/getlogin_r_chk.c: ... here.
14625 * debug/Makefile (routines): Move getlogin_r_chk to ...
14626 * login/Makefile (routines): ... here.
14627 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14628 * login/Versions (libc: GLIBC_2.4): ... here.
14629
355f9165
RM
14630 * io/poll.c (__poll): Renamed from poll.
14631 Add libc_hidden_def.
14632 (poll): Define as weak alias.
14633
bd9ffde6
RM
14634 * debug/ptsname_r_chk.c: Moved to ...
14635 * login/ptsname_r_chk.c: ... here.
14636 * debug/Makefile (routines): Move ptsname_r_chk to ...
14637 * login/Makefile (routines): ... here.
14638 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14639 * login/Versions (libc: GLIBC_2.4): ... here.
14640
8fb16a04
RM
14641 * posix/getlogin.c: Moved to ...
14642 * login/getlogin.c: ... here.
14643 * posix/getlogin_r.c: Moved to ...
14644 * login/getlogin_r.c: ... here.
14645 * posix/getlogin_r.c: Moved to ...
14646 * login/getlogin_r.c: ... here.
14647 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14648 * login/Makefile (routines): ... here.
14649 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14650 * login/Versions (libc: GLIBC_2.0): ... here.
14651
b99b892f
RM
14652 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14653 (setrlimit): Define as weak alias.
14654
c7405830
RM
14655 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14656 Call __ names for open, ftruncate, and close.
14657 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14658 (truncate): Define as weak alias.
14659
5bf96de5
JM
146602013-05-06 Joseph Myers <joseph@codesourcery.com>
14661
9ea3513c
JM
14662 * math/gen-libm-test.pl (parse_args): Initialize x before each
14663 test of frexp, modf and remquo.
14664
5bf96de5
JM
14665 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14666 test signgam value.
14667
16e616a7
AZ
146682013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14669
14670 [BZ #15418]
14671 [BZ #15419]
14672 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14673 internal tests.
14674 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14675
d5e82754
RM
146762013-05-06 Roland McGrath <roland@hack.frob.com>
14677
14678 * elf/dl-writev.h: New file.
14679 * elf/dl-misc.c: Include it.
14680 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14681 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14682
a7548d41
JM
146832013-05-04 Joseph Myers <joseph@codesourcery.com>
14684
b7dab1e4
JM
14685 * math/libm-test.inc (noXFails): Remove variable.
14686 (noXPasses): Likewise.
14687 (BUILD_COMPLEX_INT): Remove macro.
14688 (print_screen): Remove xfail argument.
14689 (print_screen_max_error): Likewise.
14690 (update_stats): Likewise.
14691 (print_max_error): Likewise. Update calls to other affected
14692 functions.
14693 (print_complex_max_error): Likewise.
14694 (test_single_exception): Update calls to print_screen.
14695 (test_single_errno): Likewise.
14696 (check_float_internal): Remove xfail argument. Update calls to
14697 other affected functions.
14698 (check_float): Likewise.
14699 (check_complex): Likewise.
14700 (check_int): Likewise.
14701 (check_long): Likewise.
14702 (check_bool): Likewise.
14703 (check_longlong): Likewise.
14704 (main): Don't print noXFails and noXPasses.
14705 * math/gen-libm-test.pl (top level): Don't mention expected
14706 failure handling in comment.
14707 (new_test): Don't handle expected failures.
14708 (parse_args): Don't mention expected failure handling in comment.
14709 (generate_testfile): Don't handle expected failures.
14710 (parse_ulps): Likewise.
14711 (print_ulps_file): Likewise.
14712 (get_failure): Remove function.
14713 (output_test): Don't handle expected failures.
14714 * make/README.libm-test: Don't mention expected failure handling.
14715
a7548d41
JM
14716 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14717 (minus_zero): Likewise.
14718 (plus_infty): Likewise.
14719 (minus_infty): Likewise.
14720 (qnan_value): Likewise.
14721 (max_value): Likewise.
14722 (min_value): Likewise.
14723 (min_subnorm_value): Likewise.
14724 (initialize): Do not initialize those variables dynamically.
14725
60bfd54c
RM
147262013-05-03 Roland McGrath <roland@hack.frob.com>
14727
cc0e6ed8
RM
14728 * io/open.c (__open_2): Moved to ...
14729 * io/open_2.c: ... this new file.
14730 * io/open64.c (__open64_2): Moved to ...
14731 * io/open64_2.c: ... this new file.
14732 * io/openat.c (__openat_2): Moved to ...
14733 * io/openat_2.c: ... this new file.
14734 * io/openat64.c (__openat64_2): Moved to ...
14735 * io/openat64_2.c: ... this new file.
14736 * io/Makefile (routines): Add them.
14737 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14738 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14739 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14740 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14741 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14742 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14743 (__openat64): Add hidden_ver.
14744 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14745 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14746
60bfd54c
RM
14747 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14748 Separately conditionalize setting of GLRO(dl_sysinfo) so
14749 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14750 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14751
83e7640f
AZ
147522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14753
14754 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14755 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14756 definition.
14757 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14758 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14759 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14760 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14761 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14762
d5dc2af3
JM
147632013-05-03 Joseph Myers <joseph@codesourcery.com>
14764
c31a5b1e
JM
14765 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14766 test signgam value.
14767
d5dc2af3
JM
14768 * math/libm-test.inc (hypot_test): Do not use
14769 IGNORE_ZERO_INF_SIGN.
14770
164fd39d
AJ
147712013-05-03 Andreas Jaeger <aj@suse.de>
14772
14773 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14774 Linux 3.9.
14775 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14776 (PF_MAX): Adjust for VSOCK change.
14777
8237f48c
AZ
147782013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14779
14780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14781
9df02941
CD
147822013-05-02 Carlos O'Donell <carlos@redhat.com>
14783
14784 [BZ #15264]
14785 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14786 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14787 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14788
d422395e
DM
147892013-05-02 David S. Miller <davem@davemloft.net>
14790
14791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14792
a07c5731
OB
147932013-05-01 Ondřej Bílka <neleai@seznam.cz>
14794
14795 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14796
1324e37f
RM
147972013-05-01 Roland McGrath <roland@hack.frob.com>
14798
14799 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14800
0695940b
RS
148012013-05-01 Richard Smith <richard@metafoo.co.uk>
14802
bb5f27ad 14803 [BZ #14952]
0695940b
RS
14804 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14805 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14806 Use __attribute__ ((__gnu_inline__)).
14807 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14808 Don't use __attribute__ ((__gnu_inline__)).
14809
10de07f5
JM
148102013-05-01 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #15423]
14813 * math/s_catan.c (__catan): Handle small real or imaginary part of
14814 input specially to avoid spurious underflow.
14815 * math/s_catanf.c (__catanf): Likewise.
14816 * math/s_catanh.c (__catanh): Likewise.
14817 * math/s_catanhf.c (__catanhf): Likewise.
14818 * math/s_catanhl.c (__catanhl): Likewise.
14819 * math/s_catanl.c (__catanl): Likewise.
14820 * math/libm-test.inc (catan_test): Add more tests.
14821 (catanh_test): Likewise.
14822 * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14824
cb4d5414
AZ
148252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14826
14827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14828
caf84319
JM
148292013-04-30 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #15416]
14832 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14833 accurately for denominator in atan2.
14834 * math/s_catanf.c (__catanf): Likewise.
14835 * math/s_catanh.c (__catanh): Likewise.
14836 * math/s_catanhf.c (__catanhf): Likewise.
14837 * math/s_catanhl.c (__catanhl): Likewise.
14838 * math/s_catanl.c (__catanl): Likewise.
14839 * math/libm-test.inc (catan_test): Add more tests.
14840 (catanh_test): Likewise.
14841 * sysdeps/i386/fpu/libm-test-ulps: Update.
14842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14843
d569c6ee
SP
148442013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14845
6dbe713d
SP
14846 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14847
f0ee064b
SP
14848 * benchtests/Makefile (bench): Remove slow benchmarks.
14849 * benchtests/atan-inputs: Add slow benchmark inputs.
14850 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14851 (BENCH_FUNC): Accept variant offset.
14852 (VARIANT): Define.
14853 * benchtests/bench-skeleton.c (main): Run benchmark for each
14854 variant.
14855 * benchtests/cos-inputs: Add slow benchmark inputs.
14856 * benchtests/exp-inputs: Likewise.
14857 * benchtests/pow-inputs: Likewise.
14858 * benchtests/sin-inputs: Likewise.
14859 * benchtests/slowatan-inputs: Remove.
14860 * benchtests/slowatan.c: Remove.
14861 * benchtests/slowcos-inputs: Remove.
14862 * benchtests/slowcos.c: Remove.
14863 * benchtests/slowexp-inputs: Remove.
14864 * benchtests/slowexp.c: Remove.
14865 * benchtests/slowpow-inputs: Remove.
14866 * benchtests/slowpow.c: Remove.
14867 * benchtests/slowsin-inputs: Remove.
14868 * benchtests/slowsin.c: Remove.
14869 * benchtests/slowtan-inputs: Remove.
14870 * benchtests/slowtan.c: Remove.
14871 * benchtests/tan-inputs: Add slow benchmark inputs.
14872 * scripts/bench.pl: Parse comments and directives.
14873
d569c6ee
SP
14874 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14875 in CPPFLAGS.
14876 ($(objpfx)bench-%.c): Remove *-ITER.
14877 * benchtests/bench-modf.c: Remove definition of ITER.
14878 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14879 (main): Loop for DURATION seconds instead of fixed number of
14880 iterations.
14881 * scripts/bench.pl: Don't expect iterations in parameters.
14882
a6a242fe
RM
148832013-04-29 Roland McGrath <roland@hack.frob.com>
14884
14885 * io/fchdir.c (__fchdir): Renamed from fchdir.
14886 (fchdir): Define as weak alias.
14887
f2da7793
JM
148882013-04-29 Joseph Myers <joseph@codesourcery.com>
14889
14890 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14891 (ERRNO_EDOM): Likewise.
14892 (ERRNO_ERANGE): Likewise.
14893 (noErrnoTests): New variable.
14894 (init_max_error): Set errno to 0.
14895 (test_single_errno): New function.
14896 (test_errno): Likewise.
14897 (check_float_internal): Call test_errno. Set errno to 0.
14898 (check_complex): Refer to errno tests in comment.
14899 (check_int): Call test_errno. Set errno to 0.
14900 (check_long): Likewise.
14901 (check_bool): Likewise.
14902 (check_longlong): Likewise.
14903 (cos_test): Use ERRNO_* flags for errno tests instead of
14904 check_int.
14905 (expm1_test): Likewise.
14906 (fmod_test): Likewise.
14907 (ilogb_test): Likewise.
14908 (lgamma_test): Likewise.
14909 (pow_test): Likewise.
14910 (remainder_test): Likewise.
14911 (sin_test): Likewise.
14912 (tan_test): Likewise.
14913 (yn_test): Likewise.
14914 (initialize): Set errno to 0.
14915 (main): Print number of errno tests.
14916 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14917
b1a36ceb
AJ
149182013-04-29 Andreas Jaeger <aj@suse.de>
14919
c3ed8088
AJ
14920 [BZ #15084]
14921 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14922 and RES_USEVC.
14923
f1a24198
AJ
14924 [BZ #15085]
14925 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14926 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14927 unimplemented.
14928
9ce3b2cb
AJ
14929 [BZ #15380]
14930 * stdlib/random.c (__initstate): Return NULL if
14931 __initstate fails.
14932
f1a24198 14933 [BZ #15086]
b1a36ceb
AJ
14934 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14935 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14936 RES_SNGLKUPREOP.
14937
7e7b6f36
AZ
149382013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14939
14940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14941
4d14f449
JM
149422013-04-29 Joseph Myers <joseph@codesourcery.com>
14943
14944 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14945 of individual tests.
14946 (casin_test): Likewise.
14947 (casinh_test): Likewise.
14948
5b4217d7
JM
149492013-04-27 Joseph Myers <joseph@codesourcery.com>
14950
14951 [BZ #15409]
14952 * math/s_catan.c (__catan): Handle arguments with large real or
14953 imaginary part separately without squaring.
14954 * math/s_catanf.c (__catanf): Likewise.
14955 * math/s_catanh.c (__catanh): Likewise.
14956 * math/s_catanhf.c (__catanhf): Likewise.
14957 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14958 and redefine.
14959 (__catanhl): Handle arguments with large real or imaginary part
14960 separately without squaring.
14961 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14962 and redefine.
14963 (__catanl): Handle arguments with large real or imaginary part
14964 separately without squaring.
14965 * math/libm-test.inc (catan_test): Add more tests.
14966 (catanh_test): Likewise.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969
4220c3ef
AJ
149702013-04-27 Andreas Jaeger <aj@suse.de>
14971
14972 [BZ #15007]
14973 * stdlib/stdlib.h: Update guards for qecvt.
14974 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14975 <stdlib.h>.
14976
4721b2d1
AM
149772013-04-27 Allan McRae <allan@archlinux.org>
14978
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980
f0302940
JM
149812013-04-26 Joseph Myers <joseph@codesourcery.com>
14982
9457fd95
JM
14983 [BZ #15406]
14984 * math/s_catan.c: Include <float.h>.
14985 (__catan): Ensure underflow exception occurs for underflowed
14986 result.
14987 * math/s_catanf.c: Include <float.h>.
14988 (__catanf): Ensure underflow exception occurs for underflowed
14989 result.
14990 * math/s_catanh.c: Include <float.h>.
14991 (__catanh): Ensure underflow exception occurs for underflowed
14992 result.
14993 * math/s_catanhf.c: Include <float.h>.
14994 (__catanhf): Ensure underflow exception occurs for underflowed
14995 result.
14996 * math/s_catanhl.c: Include <float.h>.
14997 (__catanhl): Ensure underflow exception occurs for underflowed
14998 result.
14999 * math/s_catanl.c: Include <float.h>.
15000 (__catanl): Ensure underflow exception occurs for underflowed
15001 result.
15002 * math/libm-test.inc (catan_test): Add more tests.
15003 (catanh_test): Likewise.
15004
f0302940
JM
15005 [BZ #15405]
15006 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15007 underflowed result.
15008 * math/s_ccoshf.c (__ccoshf): Likewise.
15009 * math/s_ccoshl.c (__ccoshl): Likewise.
15010 * math/s_csin.c (__csin): Likewise.
15011 * math/s_csinf.c (__csinf): Likewise.
15012 * math/s_csinh.c (__csinh): Likewise.
15013 * math/s_csinhf.c (__csinhf): Likewise.
15014 * math/s_csinhl.c (__csinhl): Likewise.
15015 * math/s_csinl.c (__csinl): Likewise.
15016 * math/libm-test.inc (ccos_test): Add more tests.
15017 (ccosh_test): Likewise.
15018 (csin_test): Likewise.
15019 (csinh_test): Likewise.
15020
aa630f59
AZ
150212013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022
15023 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15024 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15025 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15026 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15027 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15028 powerpc/power5+/fpu folders.
15029 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15030
15031
1b835983
MT
150322013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15033
15034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15035
73709b26
JM
150362013-04-25 Joseph Myers <joseph@codesourcery.com>
15037
15038 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15039 additions to variable.
15040 [$(config-machine) = x86_64] (modules-names): Likewise.
15041 ($(objpfx)tst-audit3): Remove dependency.
15042 ($(objpfx)tst-audit3.out): Likewise.
15043 ($(objpfx)tst-audit4): Likewise.
15044 ($(objpfx)tst-audit4.out): Likewise.
15045 ($(objpfx)tst-audit5): Likewise.
15046 ($(objpfx)tst-audit5.out): Likewise.
15047 ($(objpfx)tst-audit6): Likewise.
15048 ($(objpfx)tst-audit6.out): Likewise.
15049 ($(objpfx)tst-audit7): Likewise.
15050 ($(objpfx)tst-audit7.out): Likewise.
15051 (tst-audit3-ENV): Remove variable.
15052 (tst-audit4-ENV): Likewise.
15053 (tst-audit5-ENV): Likewise.
15054 (tst-audit6-ENV): Likewise.
15055 (tst-audit7-ENV): Likewise.
15056 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15057 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15058 addition to variable.
15059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15062 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15063 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15064 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15065 tst-audit3, tst-audit4 and tst-audit5.
15066 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15067 tst-audit6 and tst-audit7.
15068 [$(subdir) = elf] (modules-names): Add audit modules for those
15069 tests.
15070 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15071 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15072 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15073 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15074 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15075 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15076 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15077 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15078 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15079 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15080 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15081 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15082 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15083 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15084 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15085 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15086 Likewise.
15087 [$(subdir) = elf && $(config-cflags-avx) = yes]
15088 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15089 [$(subdir) = elf && $(config-cflags-avx) = yes]
15090 (CFLAGS-tst-auditmod4a.c): Likewise.
15091 [$(subdir) = elf && $(config-cflags-avx) = yes]
15092 (CFLAGS-tst-auditmod4b.c): Likewise.
15093 [$(subdir) = elf && $(config-cflags-avx) = yes]
15094 (CFLAGS-tst-auditmod6b.c): Likewise.
15095 [$(subdir) = elf && $(config-cflags-avx) = yes]
15096 (CFLAGS-tst-auditmod6c.c): Likewise.
15097 [$(subdir) = elf && $(config-cflags-avx) = yes]
15098 (CFLAGS-tst-auditmod7b.c): Likewise.
15099 * elf/tst-audit3.c: Move to ...
15100 * sysdeps/x86_64/tst-audit3.c: ... here.
15101 * elf/tst-audit4.c: Move to ...
15102 * sysdeps/x86_64/tst-audit4.c: ... here.
15103 * elf/tst-audit5.c: Move to ...
15104 * sysdeps/x86_64/tst-audit5.c: ... here.
15105 * elf/tst-audit6.c: Move to ...
15106 * sysdeps/x86_64/tst-audit6.c: ... here.
15107 * elf/tst-audit7.c: Move to ...
15108 * sysdeps/x86_64/tst-audit7.c: ... here.
15109 * elf/tst-auditmod3a.c: Move to ...
15110 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15111 * elf/tst-auditmod3b.c: Move to ...
15112 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15113 * elf/tst-auditmod4a.c: Move to ...
15114 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15115 * elf/tst-auditmod4b.c: Move to ...
15116 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15117 * elf/tst-auditmod5a.c: Move to ...
15118 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15119 * elf/tst-auditmod5b.c: Move to ...
15120 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15121 * elf/tst-auditmod6a.c: Move to ...
15122 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15123 * elf/tst-auditmod6b.c: Move to ...
15124 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15125 * elf/tst-auditmod6c.c: Move to ...
15126 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15127 * elf/tst-auditmod7a.c: Move to ...
15128 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15129 * elf/tst-auditmod7b.c: Move to ...
15130 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15131
1ef74943
PP
151322013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15133
15134 [BZ #15366]
15135 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15136 define unconditionally.
15137 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15138 define unconditionally.
15139 (INT8_C, INT16_C, etc.): Likewise.
15140
93fd48c5
MR
151412013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15142
ae9552cf
MR
15143 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15144 __ehdr_start with hidden visibility.
15145
93fd48c5
MR
15146 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15147
418601aa
CD
151482013-04-24 Carlos O'Donell <carlos@redhat.com>
15149
15150 * math/libm-test.inc (cos_test): Use accurate hex constants.
15151 (sincost_test): Likewise.
15152
2f38fbfe
JM
151532013-04-24 Joseph Myers <joseph@codesourcery.com>
15154
5e221800
JM
15155 * math/libm-test.inc (catan_test): Add more tests.
15156 (catanh_test): Likewise.
15157
77f143fd
JM
15158 * math/s_catanf.c (__catanf): Use suffixed floating-point
15159 constants.
15160 * math/s_catanhf.c (__catanhf): Likewise.
15161 * math/s_catanhl.c (__catanhl): Likewise.
15162 * math/s_catanl.c (__catanl): Likewise.
15163
2f38fbfe
JM
15164 [BZ #15394]
15165 * math/s_catan.c (__catan): Calculate imaginary part of result
15166 with log1p not log unless computing log of number close to 0.
15167 * math/s_catanf.c (__catanf): Likewise.
15168 * math/s_catanl.c (__catanl): Likewise.
15169 * math/s_catanh.c (__catanh): Calculate real part of result with
15170 log1p not log unless computing log of number close to 0.
15171 * math/s_catanhf.c (__catanhf): Likewise.
15172 * math/s_catanhl.c (__catanhl): Likewise.
15173 * math/libm-test.inc (catan_test): Add more tests.
15174 (catanh_test): Likewise.
15175 * sysdeps/i386/fpu/libm-test-ulps: Update.
15176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15177
45d69176
SP
151782013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15179
15180 * benchtests/Makefile: Mention files in which fast and slow
15181 paths of math functions are implemented.
15182
87f51853
RM
151832013-04-23 Roland McGrath <roland@hack.frob.com>
15184
15185 * sysdeps/posix/timespec_get.c: New file.
15186
3c026539
AZ
151872013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15188
15189 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15190 POWER.
15191 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15192 for POWER.
15193 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15194 powerpc/power5/fpu folders.
15195 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15196 * benchtests/Makefile: Add modf testcase.
15197 * benchtests/bench-modf.c: New file: Benchmark test for mo
15198
ff491d14
SP
151992013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15200
15201 [BZ #14888]
15202 * time/Makefile (tests): Add tst-strptime-whitespace.
15203 * time/strptime_l.c (get_number): Use ISSPACE.
15204 (__strptime_internal): Likewise.
15205 * time/tst-strptime-whitespace.c: New test case.
15206
7ed3f4e8
AS
152072013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15208
15209 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15210 member.
15211 (_nss_files_init): Set it here.
15212
5c95f7b6
HC
152132013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15214
15215 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15216 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15217 unsigned.
15218
d34c9158
JBG
152192013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15220
15221 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15222
2169712d
SP
152232013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15224
15225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15226 size just once.
15227
29c5de99
DM
152282013-04-21 David S. Miller <davem@davemloft.net>
15229
15230 * po/ru.po: Update Russion translation from translation project.
15231
ccdad15d
AC
152322013-04-17 Adam Conrad <adconrad@0c3.net>
15233
15234 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15235 and setfsgid.
15236
0f122b8d
CD
152372013-04-17 Carlos O'Donell <carlos@redhat.com>
15238
5c5b07da 15239 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15240 * configure: Regenerate.
5c5b07da 15241 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15242 Add example to error message.
15243 * sysdeps/i386/configure: Regenerate.
15244
037714dd
SP
152452013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
15247 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15248 slowtan.
15249 * benchtests/cos-inputs: New file.
15250 * benchtests/slowcos-inputs: New file.
15251 * benchtests/slowcos.c: New file.
15252 * benchtests/slowtan-inputs: New file.
15253 * benchtests/slowtan.c: New file.
15254 * benchtests/tan-inputs: New file.
15255
e913141d
RM
152562013-04-16 Roland McGrath <roland@hack.frob.com>
15257
15258 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15259 considered kosher.
15260
a2964074
SP
152612013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15262
4856bcd2
SP
15263 * benchtests/Makefile: Include cppflags-iterator.mk to add
15264 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15265
a2964074
SP
15266 * Makefile.in (bench-clean): New target.
15267 * benchtests/Makefile (bench-clean): Likewise.
15268
9fbf9aca
DH
152692013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15270
15271 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15272
207d1e2a
TS
152732013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15274
15275 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15276
306dfba9
AS
152772013-04-15 Andreas Schwab <schwab@suse.de>
15278
15279 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15281 * nscd/pwdcache.c (cache_addpw): Likewise.
15282 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15283 more than recsize.
15284
206a6699
SP
152852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15286
15287 * benchtests/Makefile (bench): Write all output to
15288 bench-out.tmp together.
15289
0582f6b3
AS
152902013-04-15 Andreas Schwab <schwab@suse.de>
15291
15292 * nscd/nscd.c (main): Don't fork again after closing files.
15293
acb4325f
SP
152942013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15295
5cb26d0a
SP
15296 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15297
acb4325f
SP
15298 * benchtests/Rules (bench-deps): Collect dependencies into a
15299 single variable. Add Makefile to dependencies.
15300 ($(objpfx)bench-%.c): Depend on bench-deps.
15301
47792506
RM
153022013-04-12 Roland McGrath <roland@hack.frob.com>
15303 Xavier Roche <roche+kml2@exalead.com>
15304
15305 [BZ #15361]
15306 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15307 just that it's a file descriptor.
15308 * manual/llio.texi (Synchronizing AIO Operations): Update description
15309 for EBADF error from aio_fsync.
15310
8fc1bee5
SP
153112013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15312
15313 * Rules (bench): Move target definition...
15314 * benchtests/Makefile: ... here.
15315
aba5e333
CD
153162013-04-11 Carlos O'Donell <carlos@redhat.com>
15317
15318 * math/libm-test.inc (cos_test): Fix PI/2 test.
15319 (sincos_test): Likewise.
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15321 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15322
273cdee8
AS
153232013-04-11 Andreas Schwab <schwab@suse.de>
15324
6ecec3b6
AS
15325 [BZ #13988]
15326 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15327 accept exponent character only when digits were seen.
15328 * stdio-common/Makefile (tests): Add bug26.
15329 * stdio-common/bug26.c: New file.
15330
273cdee8
AS
15331 [BZ #14293]
15332 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15333 non-freeable.
15334
8da491f5
SP
153352013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15336
01dc6df9
SP
15337 * Makeconfig (rtld-prefix): Define built linker prefix.
15338 * Rules (run-bench): Use it.
15339 * math/Makefile (run-regen-ulps): Likewise.
15340
8da491f5
SP
15341 * Rules (bench): Remove eval.
15342
abe7f530
SP
153432013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15344 Roland McGrath <roland@hack.frob.com>
15345 Ondrej Bilka <neleai@seznam.cz>
15346
15347 [BZ #15346]
15348 * time/getdate.c: Include ctype.h and alloca.h.
15349 (__getdate_r): Trim leading and trailing spaces of input.
15350 * time/tst-getdate.c (tests): Add tests with leading and
15351 trailing spaces.
15352
61c23e62
RM
153532013-04-08 Roland McGrath <roland@hack.frob.com>
15354
15355 [BZ #14280]
15356 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15357 when computing value.
15358
7208a313
CD
153592013-04-06 Carlos O'Donell <carlos@redhat.com>
15360
085b2d41
CD
15361 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15362 Use testrun.sh to run libm tests.
15363
7208a313
CD
15364 [BZ #15309]
15365 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15366
872c0acd
MM
153672013-04-06 Marko Myllynen <myllynen@redhat.com>
15368
15369 [BZ #15264]
15370 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15371
26510bdd
CD
153722013-04-06 Carlos O'Donell <carlos@redhat.com>
15373
15374 * Makefile.in (regen-ulps): New target.
15375 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15376 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15377 [ifneq (no,$(PERL)] (regen-ulps): New target.
15378 [ifeq (no,$(PERL)] (regen-ulps): New target.
15379 * math/libm-test.inc (ulps_file_name): Define.
15380 (output_dir): New variable.
15381 (options): Add "output-dir" option.
15382 (parse_opt): Handle 'o' case.
15383 (main): If output_dir is non-NULL use it as a prefix
15384 otherwise use "".
15385 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15386
a01f19c8
CD
153872013-04-06 Carlos O'Donell <carlos@redhat.com>
15388
15389 [BZ #10060, #10062]
15390 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15391 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15392 fail configure if __sync_val_compare_and_swap is not inlined.
15393 * sysdeps/i386/configure: Regenerate.
15394 * configure.in: Build for i686 when configured for i386.
15395 * configure: Regenerate.
15396 * README: Remove i386 reference.
15397
b7a329a5
CD
153982013-04-06 Carlos O'Donell <carlos@redhat.com>
15399
15400 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15402
bf0f50df
TS
154032013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15404
ee091edf
TS
15405 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15406 (lmsnanval): New variables.
15407 (F): Add conversion tests.
15408 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15409 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15410
a8b792d6
TS
15411 * stdio-common/tstdiomisc.c (F): Properly collect individual
15412 tests' results.
15413
a1cbf437
TS
15414 [BZ #14686, #15336]
15415 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15416 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15417 Instead, use input NaN values or generate a qNaN by arithmetic
15418 operation. Also fix bugs to comply with the standard.
15419 * math/libm-test.inc (remainder_test): Add more tests.
15420
8b43a0c9
TS
15421 [BZ #15335, #15342]
15422 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15424 input NaN values or generate a qNaN by arithmetic operation.
15425
d91da4ce
TS
15426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15427 unreachable code.
15428
bf0f50df
TS
15429 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15430 definitions.
15431
05e166c8
JM
154322013-04-03 Joseph Myers <joseph@codesourcery.com>
15433
15434 [BZ #14478]
15435 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15436 underflowed result.
15437 * math/s_cexpf.c (__cexpf): Likewise.
15438 * math/s_cexpl.c (__cexpl): Likewise.
15439 * math/libm-test.inc (cexp_test): Add more tests.
15440
1cef1b19
AS
154412013-04-03 Andreas Schwab <schwab@suse.de>
15442
15443 [BZ #15330]
15444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15445 order arrays from heap if bigger than alloca cutoff.
15446
74d87055
TS
154472013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15448
15449 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15450 (SNAN_TESTS_double): Refer to GCC PR56831.
15451 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15452 GCC PR56828.
15453
d755bba4
SP
154542013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15455
90d5d5bb
SP
15456 * Rules (bench): Move bench.out after the run is complete.
15457
73e0cd5d
SP
15458 * Rules (bench): Echo currently running benchmark.
15459
64aabd4b
SP
15460 * benchtests/Makefile (bench): Add atan and slowatan.
15461 * benchtests/atan-inputs: New file.
15462 * benchtests/slowatan-inputs: New file.
15463 * benchtests/slowatan.c: New file.
15464
c871eccd
SP
15465 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15466 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15467 its value.
15468
d755bba4
SP
15469 [BZ #15305]
15470 * sysdeps/unix/sysv/linux/kernel-features.h
15471 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15472 __ASSUME_XFS_RESTRICTED_CHOWN.
15473 * sysdeps/unix/sysv/linux/pathconf.c
15474 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15475 Save and restore errno.
15476
52ce4860
JM
154772013-04-02 Joseph Myers <joseph@codesourcery.com>
15478
15479 [BZ #15327]
15480 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15481 arguments using __kernel_casinh.
15482 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15483 arguments using __kernel_casinhf.
15484 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15485 arguments using __kernel_casinhl.
15486 * math/libm-test.inc (cacosh_test): Add more tests.
15487 * sysdeps/i386/fpu/libm-test-ulps: Update.
15488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15489
81f311c2
SP
154902013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15491
e7906a47
SP
15492 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15494
92e3664b
SP
15495 * bench/Makefile (bench): Add sin and slowsin.
15496 * benchtests/sin-inputs: New file.
15497 * benchtests/slowsin-inputs: New file.
15498 * benchtests/slowsin.c: New file.
15499
81f311c2
SP
15500 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15501 (bench): Add slowexp and slowpow.
15502 (exp-ITER): Increase iterations.
15503 (pow-ITER): Likewise.
15504 * benchtests/exp-inputs: Change input.
15505 * benchtests/pow-inputs: Likewise.
15506 * benchtests/slowexp-inputs: New file.
15507 * benchtests/slowexp.c: New file.
15508 * benchtests/slowpow-inputs: New file.
15509 * benchtests/slowpow.c: New file.
15510
ab0f1aa9
AZ
155112013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15512
15513 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15514 instructions.
15515 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15516 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15517 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15518 * benchtests/Makefile: Add rint benchtest.
15519 * benchtests/rint-inputs: Input for rint benchtest.
15520
57267616
TS
155212013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15522
15523 * Versions.def (libm): Add GLIBC_2.18.
15524 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15525 hidden libm prototypes.
15526 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15527 * math/Makefile (libm-calls): Add s_issignaling.
15528 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15529 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15530 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15531 declaration.
15532 * math/math.h [__USE_GNU] (issignaling): New macro.
15533 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15534 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15536 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15539 * manual/arith.texi (issignaling): New section.
15540 * manual/libm-err-tab.pl (@all_functions): Update comment.
15541 * math/gen-libm-test.pl (parse_args): Apply special handling for
15542 issignaling.
15543 * math/libm-test.inc (print_float, issignaling_test): New
15544 functions.
15545 (check_float_internal): Add issignaling checks.
15546 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15547 default definition.
15548 * sysdeps/powerpc/math-tests.h: New file.
15549 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15550 tests.
15551 * math/test-snan.c (TEST_FUNC): Likewise.
15552
6142896d
DM
155532013-03-30 David S. Miller <davem@davemloft.net>
15554
15555 * po/de.po: Update from translation team.
15556
ccc8cadf
JM
155572013-03-30 Joseph Myers <joseph@codesourcery.com>
15558
15559 [BZ #10357]
15560 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15561 imaginary part less than 1.0 and real part less than 0.5
15562 specially.
15563 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15564 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15565 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15566 (cacos_test): Add more tests.
15567 (casin_test): Likewise.
15568 (casinh_test): Likewise.
15569 * sysdeps/i386/fpu/libm-test-ulps: Update.
15570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571
0f6a8d4b
SP
155722013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15573
0d1029de
SP
15574 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15575 ONE with its value.
15576
c2d94018
SP
15577 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15578 (__pow_mp): Replace ONE and MONE with their values.
15579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15581 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15582 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15583 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15584 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15585
27ec37f1
SP
15586 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15587
a64d7e0e
SP
15588 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15589 (__pow_mp): Replace ZERO and MZERO with their values.
15590 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15594 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15595 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15596 (__sqr): Likewise.
15597
d26dd3eb
SP
15598 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15599
0f6a8d4b
SP
15600 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15601
e57b0c61
RM
156022013-03-28 Roland McGrath <roland@hack.frob.com>
15603
15604 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15605 Declare with __attribute__ ((weak)).
15606 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15607 Call __call_tls_dtors only if it's not NULL.
15608
356b3480
RM
156092013-03-28 Roland McGrath <roland@hack.frob.com>
15610
288f7d79
RM
15611 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15612 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15613 magic __ehdr_start linker symbol if it's defined.
15614 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15615 them up here if it was already done.
15616
dc0a0263
RM
15617 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15618 (_dl_aux_init): Use const in cast when setting it.
15619 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15620 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15621 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15622
3d3436ae
RM
15623 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15624 Declare them here.
15625 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15626 * csu/libc-tls.c: Nor here.
15627 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15628
356b3480
RM
15629 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15630 (__libc_message): Never call vsyslog.
15631
b0f1246a
AM
156322013-03-28 Alan Modra <amodra@gmail.com>
15633
15634 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15635 Define as empty.
15636 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15637 Likewise.
15638
fbbe2b9a
AZ
156392013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15640
15641 [BZ #15214]
15642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15643 underflow.
15644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15645
1728ab37
SP
156462013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15647
7a86be6e
SP
15648 [BZ #15304]
15649 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15650 Don't add gid passed as argument.
15651
1728ab37
SP
15652 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15653
3a7182a1
JM
156542013-03-27 Joseph Myers <joseph@codesourcery.com>
15655
15656 [BZ #15307]
15657 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15658 imaginary part between 1.0 and 1.5 and real part less than 0.5
15659 specially.
15660 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15661 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15662 * math/libm-test.inc (cacos_test): Add more tests.
15663 (casin_test): Likewise.
15664 (casinh_test): Likewise.
15665 * sysdeps/i386/fpu/libm-test-ulps: Update.
15666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15667
6f2e90e7
SP
156682013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15669
5739f705
SP
15670 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15671 constants.
15672 (norm): Likewise.
15673 (denorm): Likewise.
15674 (__dbl_mp): Likewise.
15675 (add_magnitudes): Likewise.
15676 (sub_magnitudes): Likewise.
15677 (__add): Likewise.
15678 (__sub): Likewise.
15679 (__mul): Likewise.
15680 (__sqr): Likewise.
15681 (__inv): Likewise.
15682 (__dvd): Likewise.
15683
e375e83d
SP
15684 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15685 commented code.
15686 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15687 (__dubcos): Likewise.
15688 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15689 (__ieee754_acos): Likewise.
15690 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15691 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15692 (__exp1): Likewise.
15693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15695 (log1): Likewise.
15696 (my_log2): Likewise.
15697 (checkint): Likewise.
15698 * sysdeps/ieee754/dbl-64/e_remainder.c
15699 (__ieee754_remainder): Likewise.
15700 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15702 (bsloww): Likewise.
15703 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15704
6f2e90e7
SP
15705 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15706 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15707 MANTISSA_STORE_T to store computations on mantissa. Use
15708 macros for rounding and division.
15709 (denorm): Likewise.
15710 (__dbl_mp): Likewise.
15711 (add_magnitudes): Likewise.
15712 (sub_magnitudes): Likewise.
15713 (__mul): Likewise.
15714 (__sqr): Likewise.
15715 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15716 powers of two in terms of TWOPOW macro.
15717 (mp_no): Make type of mantissa as MANTISSA_T.
15718 [!RADIXI]: Define RADIXI.
15719 [!TWO52]: Define TWO52.
15720 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15721
fce14d4e
AZ
157222013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15723
15724 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15725 llroundl symbol when building for PPC32.
15726
9ad027fb
MW
157272013-03-24 Mark H Weaver <mhw@netris.org>
15728
15729 * manual/arith.texi (Normalization Functions): Fix prototypes for
15730 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15731
e42a38dd
AZ
157322013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15733
15734 [BZ #13889]
15735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15736 high value to check if expl overflow.
15737 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15738 to check for underflow and overflow.
15739 * math/libm-test.inc: Add exp test.
15740
2e0fb521
DL
157412013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15742
15743 [BZ #11120]
15744 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15745 with NOT_IN_libc.
15746
b5784d95
AZ
157472013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15748
15749 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15750 symbol.
15751
5aa4a1a1
TS
157522013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15753
bdef0be7
TS
15754 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15755 wrap blocks consisting of several statements.
15756
5aa4a1a1
TS
15757 * sysdeps/generic/math-tests.h: New file.
15758 * sysdeps/i386/fpu/math-tests.h: Likewise.
15759 * math/test-snan.c: Include it.
15760 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15761
98c48fe5
JM
157622013-03-21 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #15285]
15765 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15766 (__ieee754_j0l): Do not improve calculations using cos of twice
15767 input for inputs above LDBL_MAX / 2.0L.
15768 (__ieee754_y0l): Likewise.
15769 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15770 (__ieee754_j1l): Do not improve calculations using cos of twice
15771 input for inputs above LDBL_MAX / 2.0L.
15772 (__ieee754_y1l): Likewise.
15773 * math/libm-test.inc (j0_test): Add another test.
15774 (j1_test): Likewise.
15775 (y0_test): Likewise.
15776 (y1_test): Likewise.
15777 * sysdeps/i386/fpu/libm-test-ulps: Update.
15778
3775a8bc
SP
157792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15780
15781 * Rules ($(objpfx)bench-%.c): Include code from a C source
15782 file.
15783
0a1b2ae6
JM
157842013-03-21 Joseph Myers <joseph@codesourcery.com>
15785
15786 [BZ #15287]
15787 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15788 imaginary part 1.0 and real part less than 0.5 specially.
15789 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15790 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15791 * math/libm-test.inc (cacos_test): Add more tests.
15792 (casin_test): Likewise.
15793 (casinh_test): Likewise.
15794 * sysdeps/i386/fpu/libm-test-ulps: Update.
15795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15796
b33d4ce4
SP
157972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15798
15799 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15800 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15801
bef0b507
JM
158022013-03-20 Joseph Myers <joseph@codesourcery.com>
15803
15804 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15805 * config.make.in (config-cflags-sse4): Remove variable.
15806 (config-cflags-avx): Likewise.
15807 (config-cflags-sse2avx): Likewise.
15808 (config-cflags-novzeroupper): Likewise.
15809 (config-asflags-i686): Likewise.
15810 (have-mfma4): Likewise.
15811 (have-as-vis3): Likewise.
15812 (MIG): Likewise.
15813 * configure.in (MIG): Do not AC_SUBST.
15814 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15815 (libc_cv_cc_sse4): Do not AC_SUBST.
15816 (libc_cv_cc_avx): Likewise.
15817 (libc_cv_cc_sse2avx): Likewise.
15818 (libc_cv_cc_novzeroupper): Likewise.
15819 (libc_cv_cc_fma4): Likewise.
15820 (libc_cv_as_i686): Likewise.
15821 (libc_cv_sparc_as_vis3): Likewise.
15822 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15823 LIBC_CONFIG_VAR.
15824 (config-asflags-i686): Likewise.
15825 (config-cflags-avx): Likewise.
15826 (config-cflags-sse2avx): Likewise.
15827 (have-mfma4): Likewise.
15828 (config-cflags-novzeroupper): Likewise.
15829 * sysdeps/mach/configure.in (MIG): Likewise.
15830 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15831 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15832 LIBC_CONFIG_VAR.
15833 (config-cflags-avx): Likewise.
15834 (config-cflags-sse2avx): Likewise.
15835 (have-mfma4): Likewise.
15836 (config-cflags-novzeroupper): Likewise.
15837 * configure: Regenerated.
15838 * sysdeps/i386/configure: Likewise.
15839 * sysdeps/mach/configure: Likewise.
15840 * sysdeps/sparc/configure: Likewise.
15841 * sysdeps/x86_64/configure: Likewise.
15842
912cc4b3
RM
158432013-03-20 Roland McGrath <roland@hack.frob.com>
15844
15845 [BZ #14812]
15846 * locale/programs/localedef.c (options): Put N_ translation marker
15847 on argument names, not just descriptions.
15848
04eed2b0
MS
158492013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15850
15851 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15852
a065ceff
OB
158532013-03-20 Ondřej Bílka <neleai@seznam.cz>
15854
9bb2a810 15855 [BZ #14176]
a065ceff
OB
15856 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15857
a600e5ce
RM
158582013-03-19 Roland McGrath <roland@hack.frob.com>
15859
15860 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15861 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15862 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15863 [!BEFORE_ABORT] (before_abort): New function.
15864 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15865 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15866 (writev_for_fatal): New function.
15867 (WRITEV_FOR_FATAL): New macro; call that.
15868 (backtrace_and_maps): New function.
15869 (BEFORE_ABORT): New macro; call that.
15870 (struct str_list): Type removed.
15871 (__libc_message, __libc_fatal): Functions removed.
15872 Include <sysdeps/posix/libc_fatal.c> instead.
15873
6b18bea6
JM
158742013-03-19 Joseph Myers <joseph@codesourcery.com>
15875
15876 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15877 constants.
15878 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15879 double constants.
15880
aaa8cb4b
AS
158812013-03-19 Andreas Schwab <schwab@suse.de>
15882
44673770
AS
15883 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15884 * sysdeps/gnu/configure: Regenerate.
15885
aaa8cb4b
AS
15886 * configure.in: Substitute libc_cv_rtlddir.
15887 * configure: Regenerate.
15888 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15889 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15890 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15891 * elf/Makefile (install-others, CFLAGS-interp.c)
15892 (ldso_install, common-ldd-rewrite): Likewise.
15893 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15894 $(inst_slibdir)/$(rtld-installed-name).
15895 * scripts/rellns-sh: Add -p option.
15896 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15897 for source.
15898
d3cfc668
SP
158992013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15900
15901 * manual/nptl.texi: Renamed to ...
15902 * manual/threads.texi: ... this.
15903 * manual/Makefile (chapters): Update.
15904
0e2b9cdd
RM
159052013-03-18 Roland McGrath <roland@hack.frob.com>
15906
15907 [BZ #14812]
15908 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15909 on argument names, not just descriptions.
0e2b9cdd
RM
15910 * malloc/memusagestat.c (options): Likewise.
15911 * nss/getent.c (options): Likewise.
63270c24
RM
15912
159132013-03-18 Benno Schulenberg <bensberg@justemail.net>
15914
15915 [BZ #14812]
15916 * iconv/iconv_prog.c (options): Put N_ translation marker
15917 on argument names, not just descriptions.
15918 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15919
b2e1393c
OB
159202013-03-18 Ondrej Bilka <neleai@seznam.cz>
15921
15922 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15923 implementation which is faster on all x86_64 architectures.
15924 Tested on AMD, Intel Nehalem, SNB, IVB.
15925 * sysdeps/x86_64/strnlen.S: Likewise.
15926
15927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15928 Remove all multiarch strlen and strnlen versions.
15929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15930 Remove strlen and strnlen related parts.
15931
15932 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15933 Inline strlen part.
15934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15935
15936 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15938 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15939 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15940 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15941 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15942
ec4ff04d
CD
159432013-03-17 Carlos O'Donell <carlos@redhat.com>
15944
15945 * manual/memory.texi (Malloc Tunable Parameters):
15946 Sort parameters alphabetically. Add comments for missing entries.
15947
cd18e90a
DM
159482013-03-17 David S. Miller <davem@davemloft.net>
15949
15950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15951
2a185d32
JM
159522013-03-16 Joseph Myers <joseph@codesourcery.com>
15953
d2f9799e
JM
15954 [BZ #15283]
15955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15956 for arguments at most half maximum finite value.
15957 * math/libm-test.inc (j0_test): Add more tests.
15958 (j1_test): Likewise.
15959 (y0_test): Likewise.
15960 (y1_test): Likewise.
15961 * sysdeps/i386/fpu/libm-test-ulps: Update.
15962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15963
2a185d32
JM
15964 [BZ #14155]
15965 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15966 1 / x and functions P and Q for arguments above 0x1p256L.
15967 (__ieee754_y0l): Likewise.
15968 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15969 (__ieee754_y1l): Likewise.
15970 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15971 (j1_test): Likewise.
15972 (y0_test): Likewise.
15973 (y1_test): Likewise.
15974
6cbec759
TS
159752013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15976
15977 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15978 variable.
15979
bc16e260
RM
159802013-03-15 Roland McGrath <roland@hack.frob.com>
15981
aefc9b8c
RM
15982 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15983 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15984 zero since it's initialized to EXEC_PAGESIZE.
15985
bc16e260
RM
15986 * sysdeps/unix/sysv/linux/ldsodefs.h
15987 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15988 * sysdeps/generic/ldsodefs.h: ... here.
15989
a57da955
TS
159902013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15991
af00a34d
TS
15992 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15993
495ded2c
TS
15994 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15995 math/test-snan.c.
15996 * math/test-snan.c: Renamed from
15997 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15998 * math/Makefile (tests): Add test-snan.
15999 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16000 test-powerpc-snan.
16001
777b0332
TS
16002 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16003 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16004 functions.
16005 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16006 __builtin_nan family of functions.
16007 * math/libm-test.inc (initialize): Initialize qnan_value with
16008 __builtin_nan family of functions.
16009 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16010 Remove variables.
16011 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16012 Remove functions.
16013 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16014 storage class. Initialize qNaN_var and sNaN_var with
16015 __builtin_nan and __builtin_nans families of functions,
16016 respectively.
16017
64d063b8
TS
16018 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16019 (sqrt_test): Remove duplicate test with qNaN input.
16020 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16021 (round_test, signbit_test, significand_test): Note missing +/-Inf
16022 as well as qNaN tests.
16023
67e971f1
TS
16024 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16025 qNaN_var. Fix a few strings, too.
16026 * math/libm-test.inc (nan_value): Rename to qnan_value.
16027 * math/gen-libm-test.pl (%beautify): Adjust to that.
16028 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16029 * math/test-misc.c (main): Likewise.
16030 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16031 to __qnan_bytes, and __qnan_union, respectively.
16032 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16033 Likewise.
16034 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16035 and lqnanval, respectively.
16036 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16037 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16038 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16039 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16040
64487e12
TS
16041 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16042 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16043 doubles.
16044
e015e27b
TS
16045 * math/test-misc.c (main): Fix copy'n'pastos.
16046 * misc/tst-efgcvt.c (special): Likewise.
16047
a57da955
TS
16048 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16049 Remove declarations.
16050
1e380345
SP
160512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16054 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16055 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16056 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16057
ef26eece
AZ
160582013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16059
16060 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16061 macro to return vdso values correctly in IFUNC implementations.
16062 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16063 Optimization by using IFUNC.
16064
8cfdb7e0
SP
160652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16066 Richard Henderson <rth@redhat.com>
16067 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16068
16069 * Makefile.in (bench): New target.
16070 * NEWS: Mention the benchmark framework.
16071 * Rules (bench): Likewise.
16072 (binaries-bench): Generate binaries for functions to
16073 benchmark.
16074 * benchtests/Makefile: New makefile for benchmark tests.
16075 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16076 programs.
16077 * benchtests/exp-inputs: New input file for EXP function.
16078 * benchtests/pow-inputs: New input file for POW function.
16079 * scripts/bench.pl: New script to generate source files for
16080 benchmark programs.
16081
bcda9880
SP
160822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16083
d22ca8cd
SP
16084 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16085 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16086 computations on mantissa. Use macros for rounding and
16087 division.
16088 (denorm): Likewise.
16089 (__dbl_mp): Likewise.
16090 (add_magnitudes): Likewise.
16091 (sub_magnitudes): Likewise.
16092 (__mul): Likewise.
16093 (__sqr): Likewise.
16094 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16095 powers of two in terms of TWOPOW macro.
16096 (mp_no): Make type of mantissa as MANTISSA_T.
16097 [!RADIXI]: Define RADIXI.
16098 [!TWO52]: Define TWO52.
16099 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16100
bcda9880
SP
16101 * manual/nptl.texi (cindex): Modify threads to pthreads.
16102
06d5adfb
JM
161032013-03-15 Joseph Myers <joseph@codesourcery.com>
16104
16105 * sysdeps/x86_64/preconfigure: Regenerated.
16106
41c7328e
JM
161072013-03-14 Joseph Myers <joseph@codesourcery.com>
16108
16109 [BZ #14155]
16110 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16111 0x1p28 and above.
16112 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16113 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16114 0x1p28 and above.
16115 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16116 * math/libm-test.inc (j0_test): Do not allow one spurious
16117 underflow exception.
16118 (y1_test): Likewise.
16119
e25cfa60
SP
161202013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16121
0409959c
SP
16122 * manual/Makefile (chapters): Add nptl.
16123 * manual/debug.texi (Debugging Support): Add link to Threads
16124 chapter.
16125 * manual/nptl.texi: New file.
16126
e25cfa60
SP
16127 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16128
58a1335e
PB
161292013-03-14 Petr Baudis <pasky@ucw.cz>
16130
16131 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16132 for non-NULL pointer before the memory validity test. Pointed
16133 out by Holger Brunck <holger.brunck@keymile.com>.
16134
9dc7c64f
AS
161352013-03-13 Andreas Schwab <schwab@suse.de>
16136
16137 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16138 instead of .os.
16139
54206aa6
JM
161402013-03-13 Joseph Myers <joseph@codesourcery.com>
16141
16142 * timezone/zic.c: Update from tzcode 2013b.
16143
e98cdb38
CD
161442013-03-12 Carlos O'Donell <carlos@redhat.com>
16145
16146 * manual/install.texi (Configuring and compiling):
16147 Mention i686 and i586.
16148 * INSTALL: Regenerate.
16149
9967e003
RM
161502013-03-12 Roland McGrath <roland@hack.frob.com>
16151
16152 * sysdeps/init_array/elf-init.c: New file.
16153 * csu/elf-init.c
16154 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16155 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16156
16157 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16158 __gmon_start__ as global, but as static with a .preinit_array pointer.
16159 * sysdeps/init_array/gmon-start.c: New file. Use that.
16160 * sysdeps/init_array/crti.S: New file, empty except for comments.
16161 * sysdeps/init_array/crtn.S: Likewise.
16162
e6b5a293 161632013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16164
16165 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16166 definining bcopy.
80f844c9
OB
16167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16168 Remove Prefer_SSE_for_memop.
16169 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16170 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16171 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16173 memset-x86-64.
80f844c9 16174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16175 Remove bzero, memset ifunc support.
80f844c9
OB
16176 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16177 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16178 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16179 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16180
fb6b0fcb
AS
161812013-03-11 Andreas Schwab <schwab@suse.de>
16182
16183 [BZ #15234]
16184 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16185 by SHLIB_COMPAT.
16186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16187 (GLIBC_2.16): Remove pthread_atfork.
16188
3e6bd4b1
PP
161892013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16190
16191 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16192 (ptestcases.h): Likewise.
16193
222d7f00
RM
161942013-03-08 Roland McGrath <roland@hack.frob.com>
16195
16196 * Makeconfig ($(common-objpfx)config.status): Depend on
16197 sysdeps/*/preconfigure{,.in} too.
16198
1ba4f030
JM
161992013-03-08 Joseph Myers <joseph@codesourcery.com>
16200
a222d91a
JM
16201 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16202 (__free_hook): Use void * instead of __malloc_ptr_t.
16203 (__malloc_hook): Likewise.
16204 (__realloc_hook): Likewise.
16205 (__memalign_hook): Likewise.
16206 (__after_morecore_hook): Likewise.
16207 * malloc/arena.c (save_malloc_hook): Likewise.
16208 (save_free_hook): Likewise.
16209 * malloc/hooks.c (malloc_hook_ini): Likewise.
16210 (realloc_hook_ini): Likewise.
16211 (memalign_hook_ini): Likewise.
16212 * malloc/malloc.c (malloc_hook_ini): Likewise.
16213 (realloc_hook_ini): Likewise.
16214 (memalign_hook_ini): Likewise.
16215 (__free_hook): Likewise.
16216 (__malloc_hook): Likewise.
16217 (__realloc_hook): Likewise.
16218 (__memalign_hook): Likewise.
16219 (__libc_malloc): Likewise.
16220 (__libc_free): Likewise.
16221 (__libc_realloc): Likewise.
16222 (__libc_memalign): Likewise.
16223 (__libc_valloc): Likewise.
16224 (__libc_pvalloc): Likewise.
16225 (__libc_calloc): Likewise.
16226 (__posix_memalign): Likewise.
16227 * malloc/morecore.c (__sbrk): Likewise.
16228 (__default_morecore): Likewise.
16229
5cc45e10
JM
16230 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16231
dd54b864
JM
16232 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16233 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16234 __malloc_ptrdiff_t.
16235
1ba4f030
JM
16236 * malloc/malloc.h (__malloc_size_t): Remove macro.
16237 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16238 __malloc_size_t.
16239 (old_memalign_hook): Likewise.
16240 (old_realloc_hook): Likewise.
16241 (struct hdr): Likewise.
16242 (flood): Likewise.
16243 (mallochook): Likewise.
16244 (memalignhook): Likewise.
16245 (reallochook): Likewise.
16246 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16247 (tr_old_realloc_hook): Likewise.
16248 (tr_old_memalign_hook): Likewise.
16249 (tr_mallochook): Likewise.
16250 (tr_reallochook): Likewise.
16251 (tr_memalignhook): Likewise.
16252
edf66e57
AZ
162532013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16254
16255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16256 default_ldbl_pack and using as default implementation.
16257 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16258 implementation.
16259 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16260 redundant definition.
16261 (ldbl_insert_mantissa): Likewise.
16262 (ldbl_canonicalize): Likewise.
16263 (ldbl_nearbyint): Likewise.
16264 (ldbl_pack): Rename to ldbl_pack_ppc.
16265 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16266 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16267 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16268
6d9145d8
SP
162692013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16270
16271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16272 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16273 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16274 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16276 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16277 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16278 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16279
4dd4e157
AJ
162802013-03-07 Andreas Jaeger <aj@suse.de>
16281
16282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16283 bits/mman-linux.h.
16284
adbb8027
SP
162852013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16286
ce544b5b
SP
16287 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16288 Include mpa.h and declare __MPEXP.
16289 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16290 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16291 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16292 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16293 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16294 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16295 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16296
4cc149fd
SP
16297 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16298 (__slowpow): Use long double EXPL and LOGL functions to
16299 compute POW.
16300 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16301 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16302 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16303 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16304 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16306
e6ebd4a7
SP
16307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16308 intermediate variable to calculate exponent.
16309 (__sqr): Likewise.
16310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16311 Likewise.
16312 (__sqr): Likewise.
16313
82a9811d
SP
16314 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16315 [!NO__SQR]: Define __sqr.
16316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16317 and NO__SQR. Remove all code except __mul and __sqr. Include
16318 sysdeps/ieee754/dbl-64/mpa.c.
16319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16320
adbb8027
SP
16321 [BZ #12723]
16322 * posix/Makefile (tests): Add tst-pathconf.
16323 * posix/tst-pathconf.c: New test case.
16324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16325 _PC_PIPE_BUF.
16326 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16327
39120df9
PF
163282013-03-06 Patsy Franklin <pfrankli@redhat.com>
16329
16330 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16331
67525cb8
AJ
163322013-03-06 Andreas Jaeger <aj@suse.de>
16333
664a9ce4
AJ
16334 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16335 definition via __MAP_ANONYMOUS.
16336
8e39047d
AJ
16337 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16338 it's not part of Linux headers.
16339
67525cb8
AJ
16340 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16341 (MAP_HUGE_MASK): Define.
16342
16343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16344 Define.
16345 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16347 Define.
16348 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16349 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16350 Define.
16351 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16353 Define.
16354 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16355
16356 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16357 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16358 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16359 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16360 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16362
16363 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16364 Handle f2fs.
16365
16366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16367 Handle f2fs and efivarfs.
16368
16369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16370 f2fs.
16371
16372 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16373 (EFIVARFS_MAGIC): Add.
16374 (F2FS_LINK_MAX): Add.
16375
e1b42695
PP
163762013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16377
16378 * stdio-common/vfprintf.c: Replace __builtin_expect with
16379 __glibc_unlikely.
16380
2d67d91a
JM
163812013-03-06 Joseph Myers <joseph@codesourcery.com>
16382
16383 [BZ #13550]
16384 * sysdeps/generic/bp-sym.h: Remove file.
16385 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16386 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16387 <bp-sym.h> and <bp-asm.h>.
16388 (__longjmp): Don't use BP_SYM.
16389 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16390 and <bp-asm.h>.
16391 (memcpy): Don't use BP_SYM.
16392 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16393 <bp-sym.h> and <bp-asm.h>.
16394 (memcpy): Don't use BP_SYM.
16395 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16396 <bp-asm.h>.
16397 (memcpy): Don't use BP_SYM.
16398 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16399 <bp-asm.h>.
16400 (memset): Don't use BP_SYM.
16401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16403 (__bzero): Don't use BP_SYM.
16404 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16405 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16406 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16407 <bp-sym.h> and <bp-asm.h>.
16408 (memcmp): Don't use BP_SYM. Remove comment about bounded
16409 pointers.
16410 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16411 <bp-sym.h> and <bp-asm.h>.
16412 (memcpy): Don't use BP_SYM.
16413 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16414 <bp-sym.h> and <bp-asm.h>.
16415 (memset): Don't use BP_SYM.
16416 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16417 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16418 (__bzero): Don't use BP_SYM.
16419 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16420 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16422 <bp-sym.h> and <bp-asm.h>.
16423 (strncmp): Don't use BP_SYM. Remove comment about bounded
16424 pointers.
16425 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16426 <bp-sym.h> and <bp-asm.h>.
16427 (memcpy): Don't use BP_SYM.
16428 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16429 <bp-sym.h> and <bp-asm.h>.
16430 (memset): Don't use BP_SYM.
16431 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16432 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16433 (__bzero): Don't use BP_SYM.
16434 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16435 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16436 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16437 <bp-sym.h> and <bp-asm.h>.
16438 (__memchr): Don't use BP_SYM.
16439 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16440 <bp-sym.h> and <bp-asm.h>.
16441 (memcmp): Don't use BP_SYM. Remove comment about bounded
16442 pointers.
16443 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16444 <bp-sym.h> and <bp-asm.h>.
16445 (memcpy): Don't use BP_SYM.
16446 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16447 <bp-sym.h> and <bp-asm.h>.
16448 (__mempcpy): Don't use BP_SYM.
16449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16450 <bp-sym.h> and <bp-asm.h>.
16451 (__memrchr): Don't use BP_SYM.
16452 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16453 <bp-sym.h> and <bp-asm.h>.
16454 (memset): Don't use BP_SYM.
16455 (__bzero): Likewise.
16456 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16457 <bp-sym.h> and <bp-asm.h>.
16458 (__rawmemchr): Don't use BP_SYM.
16459 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16460 <bp-sym.h> and <bp-asm.h>.
16461 (__STRCMP): Don't use BP_SYM.
16462 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16463 <bp-sym.h> and <bp-asm.h>.
16464 (strchr): Don't use BP_SYM.
16465 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16466 <bp-sym.h> and <bp-asm.h>.
16467 (__strchrnul): Don't use BP_SYM.
16468 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16469 <bp-sym.h> and <bp-asm.h>.
16470 (strlen): Don't use BP_SYM.
16471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16472 <bp-sym.h> and <bp-asm.h>.
16473 (strncmp): Don't use BP_SYM. Remove comment about bounded
16474 pointers.
16475 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16476 <bp-sym.h> and <bp-asm.h>.
16477 (__strnlen): Don't use BP_SYM.
16478 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16479 <bp-sym.h> and <bp-asm.h>.
16480 (__GI__setjmp): Don't use BP_SYM.
16481 (_setjmp): Likewise.
16482 (__sigsetjmp): Likewise.
16483 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16484 (L(start_addresses)): Don't use BP_SYM.
16485 (_start): Likewise.
16486 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16487 <bp-asm.h>.
16488 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16489 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16490 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16491 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16492 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16493 <bp-asm.h>.
16494 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16495 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16496 about bounded pointers.
16497 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16498 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16499 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16500 <bp-asm.h>.
16501 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16502 about bounded pointers. Remove GKM FIXME comments.
16503 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16504 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16505 <bp-asm.h>.
16506 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16507 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16508 Remove GKM FIXME comments.
16509 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16510 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16511 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16512 <bp-asm.h>.
16513 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16514 about bounded pointers. Remove GKM FIXME comment.
16515 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16516 and <bp-asm.h>.
16517 (strncmp): Don't use BP_SYM. Remove comment about bounded
16518 pointers.
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16520 <bp-sym.h> and <bp-asm.h>.
16521 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16525 comment.
16526
cdcf361f
PP
165272013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16528
16529 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16530 call free(NULL).
16531
3c4a2b15
DM
165322013-03-05 David S. Miller <davem@davemloft.net>
16533
16534 * po/es.po: Update from translation team.
16535
cdcf361f 165362013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16537
16538 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16539 <bits/mman-linux.h>.
16540 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16541 is fine.
16542 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16543 <bits/mman-linux.h> to end of file.
16544 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16545 is fine.
16546 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16547 <bits/mman-linux.h> to end of file.
16548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16549 is fine.
16550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16551 <bits/mman-linux.h> to end of file.
16552
16553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16554 (MCL_CURRENT, MCL_FUTURE): Define here.
16555
5f67c04f
AK
165562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16557
8a4473cc 16558 [BZ #15232]
5f67c04f
AK
16559 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16560 attribute_hidden.
16561 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16562
c3e94a95
AK
165632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16564
16565 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16566 fourth parameter needed for rt_sigprocmask syscall.
16567 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16568 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16569 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16570 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16571 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16572 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16573
cfb6382a
JM
165742013-03-04 Joseph Myers <joseph@codesourcery.com>
16575
16576 [BZ #13550]
16577 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16578 comment about bounded pointers.
16579 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16580 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16581
539d8e01
AJ
165822013-03-04 Andreas Jaeger <aj@suse.de>
16583
16584 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16585 common definitions.
16586
16587 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16588 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16589 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16593
2e167a70 165942013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16595
16596 [BZ #15055]
16597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16598 __ieee754_sqrl instead of __sqrl.
16599
68508633
JM
166002013-03-01 Joseph Myers <joseph@codesourcery.com>
16601
16602 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16603 * sysdeps/powerpc/fpu_control.h: ... here.
16604 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16605 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16606 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16607 * sysdeps/powerpc/bits/mathinline.h: ... here.
16608
7775448e
RM
166092013-03-01 Roland McGrath <roland@hack.frob.com>
16610
16611 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16612 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16613 to just [NEED_DL_SYSINFO_DSO].
16614 * elf/dl-support.c: Likewise.
16615 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16616 * elf/rtld.c (dl_main): Likewise.
16617 * elf/setup-vdso.h (setup_vdso): Likewise.
16618 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16619 * sysdeps/unix/sysv/linux/dl-sysdep.c
16620 (_dl_discover_osversion): Likewise.
16621
4e9b5995
CD
166222013-03-01 Carlos O'Donell <carlos@redhat.com>
16623
16624 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16625 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16626
e23872c8
SP
166272013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16628
e5c74c63
SP
16629 * NEWS: Mention libm performance improvements and non-x86 PI
16630 futex support.
16631
e23872c8
SP
16632 * csu/libc-start.c (__pthread_initialize_minimal): Change
16633 function arguments.
16634 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16635
b5510883
JM
166362013-02-28 Joseph Myers <joseph@codesourcery.com>
16637
16638 [BZ #13550]
16639 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16640 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16643 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16644 and <bp-asm.h>.
16645 (memcpy): Don't use BP_SYM.
16646 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16647 <bp-asm.h>.
16648 (__mpn_add_n): Don't use BP_SYM.
16649 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16650 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16651 and <bp-asm.h>.
16652 (__mpn_addmul_1): Don't use BP_SYM.
16653 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16654 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16655 <bp-sym.h>.
16656 (_setjmp): Don't use BP_SYM.
16657 (__novmx_setjmp): Likewise.
16658 (__GI__setjmp): Likewise.
16659 (__vmx_setjmp): Likewise.
16660 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16661 <bp-sym.h>.
16662 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16663 (__bzero): Don't use BP_SYM.
16664 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16665 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16666 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16667 <bp-sym.h> and <bp-asm.h>.
16668 (memcpy): Don't use BP_SYM.
16669 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16670 <bp-sym.h> and <bp-asm.h>.
16671 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16672 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16673 <bp-sym.h> and <bp-asm.h>.
16674 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16675 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16676 <bp-asm.h>.
16677 (__mpn_lshift): Don't use BP_SYM.
16678 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16679 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16680 <bp-asm.h>.
16681 (memset): Don't use BP_SYM.
16682 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16683 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16684 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16685 <bp-asm.h>.
16686 (__mpn_mul_1): Don't use BP_SYM.
16687 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16689 <bp-sym.h> and <bp-asm.h>.
16690 (memcmp): Don't use BP_SYM.
16691 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16692 <bp-sym.h> and <bp-asm.h>.
16693 (memcpy): Don't use BP_SYM.
16694 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16695 <bp-sym.h> and <bp-asm.h>.
16696 (memset): Don't use BP_SYM.
16697 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16698 <bp-sym.h> and <bp-asm.h>.
16699 (strncmp): Don't use BP_SYM.
16700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16701 <bp-sym.h> and <bp-asm.h>.
16702 (memcpy): Don't use BP_SYM.
16703 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16704 <bp-sym.h> and <bp-asm.h>.
16705 (memset): Don't use BP_SYM.
16706 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16707 <bp-sym.h> and <bp-asm.h>.
16708 (__memchr): Don't use BP_SYM.
16709 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16710 <bp-sym.h> and <bp-asm.h>.
16711 (memcmp): Don't use BP_SYM.
16712 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (memcpy): Don't use BP_SYM.
16715 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16716 <bp-sym.h> and <bp-asm.h>.
16717 (__mempcpy): Don't use BP_SYM.
16718 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16719 <bp-sym.h> and <bp-asm.h>.
16720 (__memrchr): Don't use BP_SYM.
16721 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16722 <bp-sym.h> and <bp-asm.h>.
16723 (memset): Don't use BP_SYM.
16724 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (__rawmemchr): Don't use BP_SYM.
16727 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16728 <bp-sym.h> and <bp-asm.h>.
16729 (__STRCMP): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16731 <bp-sym.h> and <bp-asm.h>.
16732 (strchr): Don't use BP_SYM.
16733 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16734 <bp-sym.h> and <bp-asm.h>.
16735 (__strchrnul): Don't use BP_SYM.
16736 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16737 <bp-sym.h> and <bp-asm.h>.
16738 (strlen): Don't use BP_SYM.
16739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16740 <bp-sym.h> and <bp-asm.h>.
16741 (strncmp): Don't use BP_SYM.
16742 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16743 <bp-sym.h> and <bp-asm.h>.
16744 (__strnlen): Don't use BP_SYM.
16745 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16746 <bp-asm.h>.
16747 (__mpn_rshift): Don't use BP_SYM.
16748 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16749 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (__sigsetjmp): Don't use BP_SYM.
16752 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16753 (L(start_addresses)): Don't use BP_SYM.
16754 (_start): Likewise.
16755 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16756 <bp-asm.h>.
16757 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16758 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16759 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16760 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16761 <bp-asm.h>.
16762 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16763 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16764 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16765 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16766 <bp-asm.h>.
16767 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16768 comments.
16769 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16770 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16771 <bp-asm.h>.
16772 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16773 FIXME comments.
16774 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16775 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16776 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16777 <bp-asm.h>.
16778 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16779 comment.
16780 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16781 and <bp-asm.h>.
16782 (strncmp): Don't use BP_SYM,
16783 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16784 <bp-asm.h>.
16785 (__mpn_sub_n): Don't use BP_SYM.
16786 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16787 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16788 and <bp-asm.h>.
16789 (__mpn_submul_1): Don't use BP_SYM.
16790 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16795 <bp-sym.h> and <bp-asm.h>.
16796 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16797 comment.
16798
8d19fe64
SP
167992013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16800
16801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16802 Use ZK to minimize writes to Z.
16803 (sub_magnitudes): Simplify code a bit.
16804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16805 Use ZK to minimize writes to Z.
16806 (sub_magnitudes): Simplify code a bit.
16807
85bd816a
RM
168082013-02-27 Roland McGrath <roland@hack.frob.com>
16809
16810 * csu/gmon-start.c: Add special exception to license text.
16811
b5977bf2
RH
168122013-02-27 Richard Henderson <rth@redhat.com>
16813
16814 * scripts/config.guess: Update from config.git.
16815 * scripts/config.sub: Likewise.
16816
11d6e2f2
SP
168172013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16818
09c14ed2
SP
16819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16820
a688864e
SP
16821 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16822
6295157a
SP
16823 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16824
b8de2202
SP
16825 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16826
11d6e2f2
SP
16827 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16828
7e80ddb8
RM
168292013-02-26 Roland McGrath <roland@hack.frob.com>
16830
16831 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16832 [$(build-shared = yes].
7e80ddb8 16833
7da6d9ed
SP
168342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16835
45f05884
SP
16836 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16837 (__mul): Reduce iterations for calculating mantissa.
16838
2236d359
SP
16839 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16840 MPTWO.
16841 (__mpranred): Likewise.
16842
7da6d9ed
SP
16843 [BZ #15160]
16844 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16845 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16846
b7688c42
PE
168472013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16848
16849 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16850 Define __attribute__.
16851
53a5c423
SP
168522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16853
16854 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16855 unused.
16856 * posix/regex_internal.h (__attribute): Remove.
16857 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16858 (re_string_context_at): Likewise.
16859 (bitset_not): Use __attribute__ and mark function as possibly
16860 unused.
16861 (bitset_merge): Likewise.
16862 (bitset_mask): Likewise.
16863 (re_string_char_size_at): Likewise.
16864 (re_string_wchar_at): Likewise.
16865 (re_string_elem_size_at): Likewise.
16866
60f5a8b5
SP
168672013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16868
2a983a2e
SP
16869 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16870 code.
16871 (cc32): Likewise.
16872
e69804d1
SP
16873 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16874 (__acr): Likewise.
16875 (__cpy): Likewise.
16876 (norm): Likewise.
16877 (denorm): Likewise.
16878 (__dbl_mp): Likewise.
16879 (add_magnitudes): Likewise.
16880 (sub_magnitudes): Likewise.
16881 (__mul): Likewise.
16882 (__inv): Likewise.
16883
2f22a1e8
SP
16884 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16885 style.
16886
8930ddc7
SP
16887 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16888 style.
16889
dc60cb11
SP
16890 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16891 code.
16892
60f5a8b5
SP
16893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16894 up changes with default code.
16895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16896 Likewise.
16897
b4d1fd33
AM
168982013-02-24 Allan McRae <allan@archlinux.org>
16899
faf6f8bc
AM
16900 * manual/socket.texi (The Internet Namespace): Order menu items
16901 to match that in the file.
16902
b4d1fd33
AM
16903 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16904 node listing of the info page menu.
16905
2366713d
JM
169062013-02-21 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #13550]
16909 * sysdeps/i386/bp-asm.h: Remove file.
16910 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16911 (PARMS): Do not use macros from bp-asm.h.
16912 (S1): Likewise.
16913 (S2): Likewise.
16914 (SIZE): Likewise.
16915 (__mpn_add_n): Do not use BP_SYM
16916 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16917 "bp-asm.h".
16918 (PARMS): Do not use macros from bp-asm.h.
16919 (S1): Likewise.
16920 (SIZE): Likewise.
16921 (__mpn_addmul_1): Do not use BP_SYM
16922 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16923 "bp-asm.h".
16924 (PARMS): Do not use macros from bp-asm.h.
16925 (SIGMSK): Likewise.
16926 (_setjmp): Likewise. Do not use BP_SYM.
16927 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16928 "bp-asm.h".
16929 (PARMS): Do not use macros from bp-asm.h.
16930 (SIGMSK): Likewise.
16931 (setjmp): Likewise. Do not use BP_SYM.
16932 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16933 "bp-asm.h".
16934 (PARMS): Do not use macros from bp-asm.h.
16935 (__frexp): Do not use BP_SYM.
16936 (frexp): Likewise.
16937 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16938 "bp-asm.h".
16939 (PARMS): Do not use macros from bp-asm.h.
16940 (__frexpf): Do not use BP_SYM.
16941 (frexpf): Likewise.
16942 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16943 "bp-asm.h".
16944 (PARMS): Do not use macros from bp-asm.h.
16945 (__frexpl): Do not use BP_SYM.
16946 (frexpl): Likewise.
16947 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16948 "bp-asm.h".
16949 (PARMS): Do not use macros from bp-asm.h.
16950 (__remquo): Do not use BP_SYM.
16951 (remquo): Likewise.
16952 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16953 "bp-asm.h".
16954 (PARMS): Do not use macros from bp-asm.h.
16955 (__remquof): Do not use BP_SYM.
16956 (remquof): Likewise.
16957 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16958 "bp-asm.h".
16959 (PARMS): Do not use macros from bp-asm.h.
16960 (__remquol): Do not use BP_SYM.
16961 (remquol): Likewise.
16962 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16963 "bp-asm.h".
16964 (PARMS): Do not use macros from bp-asm.h.
16965 (DEST): Likewise.
16966 (SRC): Likewise.
16967 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16968 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16969 "bp-asm.h".
16970 (PARMS): Do not use macros from bp-asm.h.
16971 (strlen): Do not use BP_SYM.
16972 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16973 "bp-asm.h".
16974 (PARMS): Do not use macros from bp-asm.h.
16975 (S1): Likewise.
16976 (S2): Likewise.
16977 (SIZE): Likewise.
16978 (__mpn_add_n): Do not use BP_SYM.
16979 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16980 "bp-asm.h".
16981 (PARMS): Do not use macros from bp-asm.h.
16982 (S1): Likewise.
16983 (SIZE): Likewise.
16984 (__mpn_addmul_1): Do not use BP_SYM.
16985 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16986 weak_alias.
16987 (bzero): Likewise.
16988 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16989 "bp-asm.h".
16990 (PARMS): Do not use macros from bp-asm.h.
16991 (S): Likewise.
16992 (SIZE): Likewise.
16993 (__mpn_lshift): Do not use BP_SYM.
16994 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16995 "bp-asm.h".
16996 (PARMS): Do not use macros from bp-asm.h.
16997 (DEST): Likewise.
16998 (SRC): Likewise.
16999 (LEN): Likewise.
17000 (memcpy): Likewise. Do not use BP_SYM.
17001 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17002 libc_hidden_def and weak_alias.
17003 (mempcpy): Do not use BP_SYM in weak_alias.
17004 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17005 "bp-asm.h".
17006 (PARMS): Do not use macros from bp-asm.h.
17007 (DEST): Likewise.
17008 (LEN): Likewise.
17009 [!BZERO_P] (CHR): Likewise.
17010 (memset): Likewise. Do not use BP_SYM.
17011 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17012 "bp-asm.h".
17013 (PARMS): Do not use macros from bp-asm.h.
17014 (S1): Likewise.
17015 (SIZE): Likewise.
17016 (__mpn_mul_1): Do not use BP_SYM.
17017 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17018 "bp-asm.h".
17019 (PARMS): Do not use macros from bp-asm.h.
17020 (S): Likewise.
17021 (SIZE): Likewise.
17022 (__mpn_rshift): Do not use BP_SYM.
17023 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17024 "bp-asm.h".
17025 (PARMS): Do not use macros from bp-asm.h.
17026 (STR): Likewise.
17027 (CHR): Likewise.
17028 (strchr): Likewise. Do not use BP_SYM.
17029 (index): Do not use BP_SYM in weak_alias.
17030 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17031 "bp-asm.h".
17032 (PARMS): Do not use macros from bp-asm.h.
17033 (DEST): Likewise.
17034 (SRC): Likewise.
17035 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17036 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17037 "bp-asm.h".
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (strlen): Do not use BP_SYM.
17040 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17041 "bp-asm.h".
17042 (PARMS): Do not use macros from bp-asm.h.
17043 (S1): Likewise.
17044 (S2): Likewise.
17045 (SIZE): Likewise.
17046 (__mpn_sub_n): Do not use BP_SYM.
17047 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17048 "bp-asm.h".
17049 (PARMS): Do not use macros from bp-asm.h.
17050 (S1): Likewise.
17051 (SIZE): Likewise.
17052 (__mpn_submul_1): Do not use BP_SYM.
17053 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17054 "bp-asm.h".
17055 (PARMS): Do not use macros from bp-asm.h.
17056 (S1): Likewise.
17057 (S2): Likewise.
17058 (SIZE): Likewise.
17059 (__mpn_add_n): Do not use BP_SYM.
17060 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17061 weak_alias.
17062 (bzero): Likewise.
17063 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (BLK2): Likewise.
17067 (LEN): Likewise.
17068 (memcmp): Do not use BP_SYM.
17069 (bcmp): Do not use BP_SYM in weak_alias.
17070 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17071 "bp-asm.h".
17072 (PARMS): Do not use macros from bp-asm.h.
17073 (DEST): Likewise.
17074 (SRC): Likewise.
17075 (LEN): Likewise.
17076 (memcpy): Likewise. Do not use BP_SYM.
17077 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17078 "bp-asm.h".
17079 (PARMS): Do not use macros from bp-asm.h.
17080 (DEST): Likewise.
17081 (SRC): Likewise.
17082 (LEN): Likewise.
17083 (memmove): Likewise. Do not use BP_SYM.
17084 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17085 "bp-asm.h".
17086 (PARMS): Do not use macros from bp-asm.h.
17087 (DEST): Likewise.
17088 (SRC): Likewise.
17089 (LEN): Likewise.
17090 (__mempcpy): Likewise. Do not use BP_SYM.
17091 (mempcpy): Do not use BP_SYM in weak_alias.
17092 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17093 "bp-asm.h".
17094 (PARMS): Do not use macros from bp-asm.h.
17095 (DEST): Likewise.
17096 (LEN): Likewise.
17097 [!BZERO_P] (CHR): Likewise.
17098 (memset): Likewise. Do not use BP_SYM.
17099 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17100 "bp-asm.h".
17101 (PARMS): Do not use macros from bp-asm.h.
17102 (STR2): Likewise.
17103 (strcmp): Do not use BP_SYM.
17104 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17105 "bp-asm.h".
17106 (PARMS): Do not use macros from bp-asm.h.
17107 (STR): Likewise.
17108 (DELIM): Likewise.
17109 [USE_AS_STRTOK_R] (SAVE): Likewise.
17110 (FUNCTION): Likewise. Do not use BP_SYM.
17111 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17112 aliases.
17113 (strtok_r): Likewise.
17114 (__GI___strtok_r): Likewise.
17115 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17116 (PARMS): Do not use macros from bp-asm.h.
17117 (S): Likewise.
17118 (SIZE): Likewise.
17119 (__mpn_lshift): Do not use BP_SYM.
17120 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17121 (PARMS): Do not use macros from bp-asm.h.
17122 (STR): Likewise.
17123 (CHR): Likewise.
17124 (__memchr): Do not use BP_SYM.
17125 (memchr): Do not use BP_SYM in weak_alias.
17126 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17127 (PARMS): Do not use macros from bp-asm.h.
17128 (BLK2): Likewise.
17129 (LEN): Likewise.
17130 (memcmp): Do not use BP_SYM.
17131 (bcmp): Do not use BP_SYM in weak_alias.
17132 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17133 (PARMS): Do not use macros from bp-asm.h.
17134 (S1): Likewise.
17135 (SIZE): Likewise.
17136 (__mpn_mul_1): Do not use BP_SYM.
17137 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17138 "bp-asm.h".
17139 (PARMS): Do not use macros from bp-asm.h.
17140 (STR): Likewise.
17141 (CHR): Likewise.
17142 (__rawmemchr): Do not use BP_SYM.
17143 (rawmemchr): Do not use BP_SYM in weak_alias.
17144 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17145 (PARMS): Do not use macros from bp-asm.h.
17146 (S): Likewise.
17147 (SIZE): Likewise.
17148 (__mpn_rshift): Do not use BP_SYM.
17149 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17150 (PARMS): Do not use macros from bp-asm.h.
17151 (SIGMSK): Likewise.
17152 (__sigsetjmp): Likewise. Do not use BP_SYM.
17153 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17154 (_start): Do not use BP_SYM.
17155 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17156 (PARMS): Do not use macros from bp-asm.h.
17157 (DEST): Likewise.
17158 (SRC): Likewise.
17159 (__stpcpy): Likewise. Do not use BP_SYM.
17160 (stpcpy): Do not use BP_SYM in weak_alias.
17161 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17162 "bp-asm.h".
17163 (PARMS): Do not use macros from bp-asm.h.
17164 (DEST): Likewise.
17165 (SRC): Likewise.
17166 (LEN): Likewise.
17167 (__stpncpy): Likewise. Do not use BP_SYM.
17168 (stpncpy): Do not use BP_SYM in weak_alias.
17169 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17170 (PARMS): Do not use macros from bp-asm.h.
17171 (STR): Likewise.
17172 (CHR): Likewise.
17173 (strchr): Likewise. Do not use BP_SYM.
17174 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17175 "bp-asm.h".
17176 (PARMS): Do not use macros from bp-asm.h.
17177 (STR): Likewise.
17178 (CHR): Likewise.
17179 (__strchrnul): Likewise. Do not use BP_SYM.
17180 (strchrnul): Do not use BP_SYM in weak_alias.
17181 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17182 "bp-asm.h".
17183 (PARMS): Do not use macros from bp-asm.h.
17184 (STOP): Likewise.
17185 (strcspn): Do not use BP_SYM.
17186 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17187 "bp-asm.h".
17188 (PARMS): Do not use macros from bp-asm.h.
17189 (STR): Likewise.
17190 (STOP): Likewise.
17191 (strpbrk): Likewise. Do not use BP_SYM.
17192 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17193 "bp-asm.h".
17194 (PARMS): Do not use macros from bp-asm.h.
17195 (STR): Likewise.
17196 (CHR): Likewise.
17197 (strrchr): Likewise. Do not use BP_SYM.
17198 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17199 (PARMS): Do not use macros from bp-asm.h.
17200 (SKIP): Likewise.
17201 (strspn): Do not use BP_SYM.
17202 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17203 (PARMS): Do not use macros from bp-asm.h.
17204 (STR): Likewise.
17205 (DELIM): Likewise.
17206 (SAVE): Likewise.
17207 (FUNCTION): Likewise. Do not use BP_SYM.
17208 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17209 aliases.
17210 (strtok_r): Likewise.
17211 (__GI___strtok_r): Likewise.
17212 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17213 (PARMS): Do not use macros from bp-asm.h.
17214 (S1): Likewise.
17215 (S2): Likewise.
17216 (SIZE): Likewise.
17217 (__mpn_sub_n): Do not use BP_SYM.
17218 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17219 "bp-asm.h".
17220 (PARMS): Do not use macros from bp-asm.h.
17221 (S1): Likewise.
17222 (SIZE): Likewise.
17223 (__mpn_submul_1): Do not use BP_SYM.
17224 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17225 <bp-sym.h>.
17226 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17227 and <bp-asm.h>.
17228 (PARMS): Do not use macros from bp-asm.h.
17229 (FLAGS): Likewise.
17230 (PTID): Likewise.
17231 (TLS): Likewise.
17232 (CTID): Likewise.
17233 (__clone): Do not use BP_SYM.
17234 (clone): Do not use BP_SYM in weak_alias.
17235 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17236 and <bp-asm.h>.
17237 (PARMS): Do not use macros from bp-asm.h.
17238 (LEN): Likewise.
17239 (__mmap64): Do not use BP_SYM.
17240 (mmap64): Do not use BP_SYM in weak_alias.
17241 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17242 <bp-sym.h> and <bp-asm.h>.
17243 (PARMS): Do not use macros from bp-asm.h.
17244 (__posix_fadvise64_l64): Do not use BP_SYM.
17245 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17246 (PARMS): Do not use macros from bp-asm.h.
17247 (NSOPS): Likewise.
17248 (semtimedop): Do not use BP_SYM.
17249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17250 and <bp-asm.h>.
17251
582a3cff
AM
172522013-02-21 Allan McRae <allan@archlinux.org>
17253
17254 * manual/message.texi (Charset conversion in gettext):
17255 Move @end statement to beginning of line.
17256
bab8a695
SP
172572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17258
80945231
SP
17259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17260 static.
17261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17262 Likewise.
17263
bab8a695
SP
17264 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17265 (denorm): Likewise.
17266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17268
e21d7aa7
AK
172692013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17270
17271 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17272 tail-call to the resolved function if pltexit isn't needed.
17273
4c7a4263
SP
172742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17275
17276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17277 or Y being zero as being unlikely.
17278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17279 Likewise.
17280
41f49342
CD
172812013-02-20 Carlos O'Donell <carlos@redhat.com>
17282
17283 * manual/nss.texi (System Databases and Name Service Switch):
17284 Remove frobnicate @pxref.
17285
50022a93
TS
172862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17287
17288 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17289 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17290
08cbd996
PM
172912013-02-20 Petr Machata <pmachata@redhat.com>
17292
17293 * elf/elf.h (R_ARM_TARGET1): New macro.
17294 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17295 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17296 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17297 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17298 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17299 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17300 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17301 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17302 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17303 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17304 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17305 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17306 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17307 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17308 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17309 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17310 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17311 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17312 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17313 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17314 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17315 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17316 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17317 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17318 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17319 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17320 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17321 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17322 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17323 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17324 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17325 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17326 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17327 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17328 (R_ARM_THM_GOT_BREL12): Likewise.
17329 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17330 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17331 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17332 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17333 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17334 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17335 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17336 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17337 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17338
c7b275d6
TS
173392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17340
17341 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17342 __attribute_used__ to __attribute__ ((unused)).
17343
20cd7fb3
SP
173442013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17345
17346 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17347 powerpc mpa.c.
17348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17349 comment formatting.
17350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17351
92945b52
JM
173522013-02-19 Joseph Myers <joseph@codesourcery.com>
17353
17354 [BZ #13550]
17355 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17356 Remove macro.
17357 (ENTER): Remove both macro definitions.
17358 (LEAVE): Likewise.
17359 (CHECK_BOUNDS_LOW): Likewise.
17360 (CHECK_BOUNDS_HIGH): Likewise.
17361 (CHECK_BOUNDS_BOTH): Likewise.
17362 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17363 (RETURN_BOUNDED_POINTER): Likewise.
17364 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17365 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17366 (POP_ERRNO_LOCATION_RETURN): Likewise.
17367 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17368 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17369 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17370 macros.
17371 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17372 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17373 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17374 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17375 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17376 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17377 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17378 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17379 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17380 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17381 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17382 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17383 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17384 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17385 removed macros.
17386 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17387 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17388 macros.
17389 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17390 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17391 * sysdeps/i386/i586/memset.S (memset): Likewise.
17392 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17393 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17394 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17395 macros.
17396 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17397 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17398 Change uses of L(2) to L(out).
17399 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17400 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17401 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17402 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17403 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17404 removed macros.
17405 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17406 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17407 macros.
17408 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17409 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17410 (RETURN): Do not use macro LEAVE.
17411 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17412 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17413 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17414 * sysdeps/i386/i686/memset.S (memset): Likewise.
17415 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17416 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17417 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17418 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17419 Likewise.
17420 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17421 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17422 L(1_2) and L(1_3) into L(1).
17423 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17424 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17425 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17426 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17427 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17428 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17429 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17430 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17431 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17432 macros.
17433 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17434 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17435 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17436 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17437 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17438 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17439 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17440 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17441 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17442 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17443 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17444 * sysdeps/i386/strspn.S (strspn): Likewise.
17445 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17446 conditional code.
17447 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17448 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17449 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17450 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17451 L(1_3) into L(1_1).
17452 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17453 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17454 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17455 macros.
17456 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17457
2389741a
JJ
174582013-02-19 Jakub Jelinek <jakub@redhat.com>
17459
17460 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17461 macro.
17462
2016b3cd
SP
174632013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17464
e4f22324
SP
17465 * math/atest-exp.c (exp_mpn): Remove ROUND.
17466 * math/atest-exp2.c (exp_mpn): Likewise.
17467 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17468
2016b3cd
SP
17469 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17470 * stdlib/tst-tls-atexit-lib.c: Likewise.
17471 * stdlib/tst-tls-atexit.c: Likewise.
17472
4be9b544
MF
174732013-02-18 Mike Frysinger <vapier@gentoo.org>
17474
17475 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17476 and __attribute_alloc_size__.
17477
2f62b9ee
MF
174782013-02-18 Mike Frysinger <vapier@gentoo.org>
17479
17480 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17481 __attribute_alloc_size__.
17482 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17483 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17484
6ff444c4
MF
174852013-02-18 Mike Frysinger <vapier@gentoo.org>
17486
17487 * include/programs/xmalloc.h: New file.
17488 * catgets/gencat.c: Include it.
17489 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17490 * elf/pldd.c: Likewise.
17491 * iconv/iconv_charmap.c: Likewise.
17492 * iconv/iconvconfig.c: Likewise.
17493 * iconv/strtab.c: Likewise.
17494 * locale/programs/locale.c: Likewise.
17495 * locale/programs/localedef.h: Likewise.
17496 * locale/programs/simple-hash.c: Likewise.
17497 * nscd/nscd.h: Likewise.
17498 * nss/makedb.c: Likewise.
17499 * sysdeps/generic/ldconfig.h: Likewise.
17500
be179c8a
SP
175012013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17502
ba384f6e
SP
17503 * Versions.def: Add GLIBC_2.18.
17504 * include/link.h (struct link_map): New member l_tls_dtor_count.
17505 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17506 (__call_tls_dtors): Likewise.
17507 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17508 __cxa_thread_atexit_impl.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17510 Likewise.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17512 Likewise.
17513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17514 Likewise.
17515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17516 Likewise.
17517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17519 Likewise.
17520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17521 Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17524 Likewise.
17525 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17526 (tests): Add test case tst-tls-atexit.
17527 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17528 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17529 (GLIBC_PRIVATE): Add __call_tls_dtors.
17530 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17531 for libstdc++.
17532 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17533 * stdlib/tst-tls-atexit.c: New test case.
17534 * stdlib/tst-tls-atexit-lib.c: New test case.
17535
ffaa74cf 17536 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17537
be179c8a
SP
17538 * elf/Versions (ld): Add _dl_find_dso_for_object.
17539 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17540 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17541 (dl_open_worker): Use _dl_find_dso_for_object.
17542 * elf/dl-sym.c (do_sym): Likewise.
17543 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17544
f78b5caa
AK
175452013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17546
17547 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17548 Syntactic changes only.
17549 (_dl_runtime_profile): Do a tail-call to the resolved function.
17550
29691210
JM
175512013-02-17 Joseph Myers <joseph@codesourcery.com>
17552
17553 [BZ #13550]
17554 * sysdeps/x86_64/bp-asm.h: Remove file.
17555 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17556 <bp-sym.h> and <bp-asm.h>.
17557 (__clone): Do not use BP_SYM.
17558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17559 <bp-sym.h> and <bp-asm.h>.
17560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17561 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17562 "bp-asm.h".
17563 (_setjmp): Do not use BP_SYM.
17564 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17565 "bp-asm.h".
17566 (setjmp): Do not use BP_SYM.
17567 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17568 libc_hidden_def.
17569 (mempcpy): Do not use BP_SYM in weak_alias.
17570 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17571 "bp-asm.h".
17572 (strchr): Do not use BP_SYM.
17573 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17574 "bp-asm.h".
17575 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17576 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17577 (_start): Do not use BP_SYM.
17578 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17579 "bp-asm.h".
17580 (strcat): Do not use BP_SYM.
17581 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17582 "bp-asm.h".
17583 (STRCMP): Do not use BP_SYM.
17584 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17585 "bp-asm.h".
17586 (STRCPY): Do not use BP_SYM.
17587 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17588 "bp-asm.h".
17589 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17590 "bp-asm.h".
17591 (FUNCTION): Do not use BP_SYM.
17592 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17593 weak_alias.
17594 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17595
f238fd19
AJ
175962013-02-17 Andreas Jaeger <aj@suse.de>
17597
17598 * time/Versions: Sort entries.
17599 * string/Versions: Likewise.
17600 * resolv/Versions: Likewise.
17601 * posix/Versions: Likewise.
17602 * iconv/Versions: Likewise.
17603 * elf/Versions: Likewise.
17604 * wcsmbs/Versions: Likewise.
17605
bd07f23c 176062013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17607
22af19f9
SP
17608 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17609 loop termination condition.
17610
4709fe76
SP
17611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17612 variable to calculate EZ.
17613 (__sqr): Likewise.
2d0e0f29
SP
17614
17615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17616 the lower precision input.
17617
daaa7713
JM
176182013-02-15 Joseph Myers <joseph@codesourcery.com>
17619
17620 [BZ #13550]
17621 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17622 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17623 (run-via-rtld-prefix): Do not handle %-bp tests.
17624 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17625 (all-object-suffixes): Remove .ob.
17626 (bppfx): Remove variable.
17627 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17628 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17629 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17630 [$(build-bounded) = yes] (libtype.ob): Likewise.
17631 * Makerules (elide-routines.ob): Remove variable.
17632 (do-tests-clean): Do not handle *-bp.out.
17633 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17634 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17635 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17636 (tests): Do not include $(tests-bp.out).
17637 (xtests): Do not include $(xtests-bp.out).
17638 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17639 [$(build-bounded) = yes] ($(addprefix
17640 $(objpfx),$(binaries-bounded))): Remove rule.
17641 ($(objpfx)%-bp.out): Remove rule.
17642 * config.make.in (build-bounded): Remove variable.
17643 * crypt/Makefile [$(build-bounded) = yes]
17644 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17645 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17646 append to variable.
17647 [$(build-bounded) = yes] (install-lib): Likewise.
17648 [$(build-bounded) = yes] (generated): Likewise.
17649 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17650 Remove rule.
17651 * intl/Makefile [$(build-bounded) = yes]
17652 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17653 * math/Makefile [$(build-bounded) = yes]
17654 ($(tests:%=$(objpfx)%-bp): Likewise.
17655 * misc/Makefile [$(build-bounded) = yes]
17656 ($(objpfx)tst-tsearch-bp): Likewise.
17657 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17658 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17659 Remove dependency.
17660 * string/Makefile (o-objects.ob): Remove variable.
17661 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17662 (CFLAGS-.ob): Remove variable.
17663 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17664 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17665 both definitions of variable.
17666 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17667 (ASFLAGS-.ob): Remove variable.
17668
e97ed6dd
JM
176692013-02-14 Joseph Myers <joseph@codesourcery.com>
17670
2bdd4ca6
JM
17671 [BZ #13550]
17672 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17673 Remove __BOUNDED_POINTERS__ from condition.
17674 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17675 * string/bits/string2.h [!__NO_STRING_INLINES &&
17676 !__BOUNDED_POINTERS__]: Likewise.
17677 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17678 Likewise.
17679 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17680 Remove conditional code.
17681 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17682 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17683 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17684 condition.
17685
e97ed6dd
JM
17686 [BZ #13550]
17687 * csu/libc-start.c: Do not include <bp-sym.h>.
17688 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17689 * elf/dl-open.c: Do not include <bp-sym.h>.
17690 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17691 * math/fegetenv.c: Do not include <bp-sym.h>.
17692 (fegetenv): Do not use BP_SYM in versioned symbols.
17693 * nptl/sysdeps/pthread/bits/libc-lockP.h
17694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17695 <bp-sym.h>.
17696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17697 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17699 (__pthread_mutex_destroy): Likewise.
17700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17701 (__pthread_mutex_lock): Likewise.
17702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17703 (__pthread_mutex_trylock): Likewise.
17704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17705 (__pthread_mutex_unlock): Likewise.
17706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17707 (__pthread_mutexattr_init): Likewise.
17708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17709 (__pthread_mutexattr_destroy): Likewise.
17710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17711 (__pthread_mutexattr_settype): Likewise.
17712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17713 (__pthread_rwlock_init): Likewise.
17714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17715 (__pthread_rwlock_destroy): Likewise.
17716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17717 (__pthread_rwlock_rdlock): Likewise.
17718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17719 (__pthread_rwlock_tryrdlock): Likewise.
17720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17721 (__pthread_rwlock_wrlock): Likewise.
17722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17723 (__pthread_rwlock_trywrlock): Likewise.
17724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17725 (__pthread_rwlock_unlock): Likewise.
17726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17727 (__pthread_key_create): Likewise.
17728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17729 (__pthread_setspecific): Likewise.
17730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17731 (__pthread_getspecific): Likewise.
17732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17733 Likewise.
17734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17735 (_pthread_cleanup_push_defer): Likewise.
17736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17737 (_pthread_cleanup_pop_restore): Likewise.
17738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17739 (pthread_setcancelstate): Likewise.
17740 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17741 <bp-sym.h>.
17742 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17743 (memchr): Do not use BP_SYM in weak_alias.
17744 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17745 (fegetenv): Do not use BP_SYM in versioned symbols.
17746 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17747 (fesetenv): Do not use BP_SYM in versioned symbols.
17748 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17749 (feupdateenv): Do not use BP_SYM in versioned symbols.
17750 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17751 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17752 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17753 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17754 (open64): Do not use BP_SYM in weak_alias.
17755 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17756 (fegetenv): Do not use BP_SYM in versioned symbols.
17757 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17758 (fesetenv): Do not use BP_SYM in versioned symbols.
17759 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17760 (feupdateenv): Do not use BP_SYM in versioned symbols.
17761 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17762 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17763 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17764 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17765 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17766 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17767 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17768 <bp-sym.h>.
17769 (__libc_start_main): Do not use BP_SYM.
17770
d6752ccd
SP
177712013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17772
cb57ce60
SP
17773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17774 redundant return line.
17775 (norm): Likewise.
17776 (denorm): Likewise.
17777 (dbl_mp): Likewise.
17778 (sub_magnitudes): Likewise.
17779 (__add): Likewise.
17780 (__sub): Likewise.
17781 (__mul): Likewise.
17782 (__inv): Likewise.
17783 (__dvd): Likewise.
17784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17785 (norm): Likewise.
17786 (denorm): Likewise.
17787 (dbl_mp): Likewise.
17788 (sub_magnitudes): Likewise.
17789 (__add): Likewise.
17790 (__sub): Likewise.
17791 (__mul): Likewise.
17792 (__inv): Likewise.
17793 (__dvd): Likewise.
17794
f414520d
SP
17795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17796 instead of __mul.
17797 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17798 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17799 (cc32): Likewise.
17800
d6752ccd
SP
17801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17802 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17804 of __mul for squares.
17805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17806 function
17807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17808 Likewise.
17809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17811
70d9946a
JM
178122013-02-13 Joseph Myers <joseph@codesourcery.com>
17813
17814 [BZ #13550]
17815 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17816 code.
17817 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17818 prototype or function definition. Rename ubp_* variables and
17819 parameters. Remove argv definitions conditional on
17820 [__BOUNDED_POINTERS__].
17821 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17822 * elf/dl-runtime.c (_dl_fixup): Likewise.
17823 * include/set-hooks.h (RUN_HOOK): Likewise.
17824 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17825 definition.
17826 * string/strcpy.c (strcpy): Do not use __unbounded.
17827 * sysdeps/generic/frame.h (struct layout): Likewise.
17828 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17829 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17830 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17831 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17832 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17833 (__backtrace): Likewise.
17834 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17835 use __ptrvalue.
17836 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17837 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17838 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17839 Likewise.
17840 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17841 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17842 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17843 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17844 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17845 Do not use __unbounded.
17846 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17847 Rename __unboundedrlimits parameter to rlimits in prototype.
17848 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17849 Do not use __unbounded.
17850 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17851 not use __ptrvalue.
17852 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17853 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17854 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17855 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17856 __ptrvalue or __unbounded.
17857 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17858 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17859 use __unbounded.
17860 (__new_msgctl): Do not use __ptrvalue.
17861 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17862 __unbounded.
17863 (__libc_msgrcv): Do not use __ptrvalue.
17864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17865 startup_info): Do not use __unbounded.
17866 (__libc_start_main): Likewise. Rename ubp_* variables and
17867 parameters. Remove argv definitions conditional on
17868 [__BOUNDED_POINTERS__].
17869 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17870 __ptrvalue.
17871 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17872 use __unbounded.
17873 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17874 or __ptrvalue.
17875 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17876 use __unbounded.
17877 (__new_shmctl): Do not use __ptrvalue.
17878 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17879 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17880 Likewise.
17881 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17883 (__libc_sigaction): Likewise.
17884 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17885 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17886 Likewise.
17887 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17888
cc7834d6
OB
178892013-02-13 Ondřej Bílka <neleai@seznam.cz>
17890
ffb1ec7b 17891 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17892
17893 * string/mempcpy.c: Implement by calling memcpy.
17894
bdf02814
SP
178952013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17896
c2af38aa
SP
17897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17898
4e92d59e
SP
17899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17900 evaluation.
17901
909279a5
SP
17902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17903 values in the mantissa.
17904
bdf02814
SP
17905 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17906 minimize writes to Z.
17907 (sub_magnitudes): Simplify code a bit.
17908
cd525923
RM
179092013-02-12 Roland McGrath <roland@hack.frob.com>
17910
17911 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17912 from the message. The linker prefixes all warnings with that already.
17913
7e2f0d2d
AS
179142013-02-12 Andreas Schwab <schwab@suse.de>
17915
a445af0b
AS
17916 [BZ #15078]
17917 * posix/regexec.c (extend_buffers): Add parameter min_len.
17918 (check_matching): Pass minimum needed length.
17919 (clean_state_log_if_needed): Likewise.
17920 (get_subexp): Likewise.
17921 * posix/Makefile (tests): Add bug-regex34.
17922 (bug-regex34-ENV): Define.
17923 * posix/bug-regex34.c: New file.
17924
7e2f0d2d
AS
17925 [BZ #11561]
17926 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17927 elements compare against the byte sequence of it, not its name.
17928 * posix/Makefile (tests): Add bug-regex35.
17929 (bug-regex35-ENV): Define.
17930 * posix/bug-regex35.c: New file.
17931
a175b684
TV
179322013-02-11 Tom de Vries <tom@codesourcery.com>
17933
17934 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17935 comment.
17936 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17937 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17938 (CHECK_EOL): Add undef.
17939
310998fe 179402013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17941
17942 * bits/stdlib-bsearch.h: New file.
17943 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17944 * stdlib/stdlib.h: Likewise.
41eda41d 17945
8ded91fb
RM
179462013-02-11 Roland McGrath <roland@hack.frob.com>
17947
17948 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17949 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17950 declaration.
17951 * manual/search.texi (Array Search Function): Add missing const in
17952 lfind prototype.
17953 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17954 declaration to use rlim_t.
17955 (Basic Scheduling Functions): Remove erroneous const from
17956 sched_getparam prototype. Remove erroneous * from
17957 sched_get_priority_max and sched_get_priority_min prototypes.
17958 (Resource Usage): Fix summary @comment on vtimes to refer to
17959 sys/vtimes.h rather than vtimes.h.
17960 Add missing *s in vtimes prototype.
17961 (Limits on Resources): Fix ulimit prototype to return long int.
17962 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17963 prototypes to use long int rather than double.
17964 (BSD Random): Fix initstate and setstate to use char *, not void *.
17965 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17966 prototype to make second argument 'struct aiocb64 *const[]'.
17967 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17968 (Status of AIO Operations): Remove erroneous const in aio_return and
17969 aio_return64 prototypes.
17970 (Synchronizing I/O): Fix sync prototype to return void.
17971 * manual/startup.texi (Suboptions): Remove an erroneous const in
17972 getsubopt prototype.
17973 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17974 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17975 use size_t rather than int.
17976 (Scanning All Users): Likewise for getpwent_r.
17977 (Setting Groups): Add missing const to setgroups prototype.
17978 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17979 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17980 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17981 'const void *' rather than 'const char *'.
17982 (Host Address Functions): Likewise for inet_ntop.
17983 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17984 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17985 ssize_t for return value.
17986 (Sending Data): Likewise for send, sendto, sendmsg.
17987 (Socket Option Functions): Add a missing const in setsockopt prototype.
17988 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17989 use wchar_t for the argument.
17990 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17991 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17992 take no arguments.
17993 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17994 double/float/long double for second argument.
17995 Fix return types of significand, significandf, significandl.
17996 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17997 argument in fchmod prototype.
17998 (File Owner): Use uid_t and gid_t in fchown prototype.
17999 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18000 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18001 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18002 use 'const struct dirent **' as argument types to CMP function pointer
18003 argument.
18004 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18005 (File Times): Fix summary magic @comment for struct utimbuf and utime
18006 to refer to utime.h, not time.h.
18007 * manual/string.texi (Argz Functions): Add missing const in
18008 argz_extract and argz_next prototypes.
18009 (Finding Tokens in a String): Likewise for basename.
18010 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18011 (Copying and Concatenation): Fix typo in wmemmove prototype.
18012 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18013 (Signal Stack): Remove erroneous const in sigstack prototype.
18014 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18015 prototype.
18016 (Simple Calendar Time): Likewise for stime.
18017 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18018 prototype.
18019 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18020 say sys/sysctl.h instead.
18021 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18022 and vsyslog prototypes.
18023
fe77fe6d
TV
180242013-02-11 Tom de Vries <tom@codesourcery.com>
18025
18026 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18027 Remove.
18028
3a09b620
RM
180292013-02-11 Roland McGrath <roland@hack.frob.com>
18030
18031 * misc/sys/mman.h: Fix typo in mremap comment.
18032
550a0b89
RM
180332013-02-08 Roland McGrath <roland@hack.frob.com>
18034
18035 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18036 the '\0' terminator.
18037
a2da1673
JM
180382013-02-08 Joseph Myers <joseph@codesourcery.com>
18039
18040 [BZ #13550]
18041 * debug/segfault.c: Don't include <bp-checks.h>.
18042 * sysdeps/generic/bp-checks.h: Remove file.
18043 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18044 (__GETDENTS): Don't use CHECK_N.
18045 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18046 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18047 (__getgroups): Don't use CHECK_N.
18048 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18049 (setgroups): Don't use CHECK_N.
18050 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18051 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18052 (__libc_msgrcv): Don't use CHECK_N.
18053 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18054 (__libc_msgsnd): Don't use CHECK_N.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18056 <bp-checks.h>.
18057 (__libc_pread): Don't use CHECK_N.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18059 include <bp-checks.h>.
18060 (__libc_pread64): Don't use CHECK_N.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18062 include <bp-checks.h>.
18063 (__libc_pwrite): Don't use CHECK_N.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18065 include <bp-checks.h>.
18066 (__libc_pwrite64): Don't use CHECK_N.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18068 <bp-checks.h>.
18069 (__libc_pread): Don't use CHECK_N.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18071 include <bp-checks.h>.
18072 (__libc_pread64): Don't use CHECK_N.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18074 include <bp-checks.h>.
18075 (__libc_pwrite): Don't use CHECK_N.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18077 include <bp-checks.h>.
18078 (__libc_pwrite64): Don't use CHECK_N.
18079 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18080 (do_pread): Don't use CHECK_N.
18081 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18082 (do_pread64): Don't use CHECK_N.
18083 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18084 (do_pwrite): Don't use CHECK_N.
18085 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18086 (do_pwrite64): Don't use CHECK_N.
18087 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18088 (__libc_readv): Don't use CHECK_N.
18089 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18090 (semop): Don't use CHECK_N.
18091 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18092 <bp-checks.h>.
18093 (semtimedop): Don't use CHECK_N.
18094 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18095 (__libc_pread): Don't use CHECK_N.
18096 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18097 <bp-checks.h>.
18098 (__libc_pread64): Don't use CHECK_N.
18099 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18100 <bp-checks.h>.
18101 (__libc_pwrite): Don't use CHECK_N.
18102 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18103 <bp-checks.h>.
18104 (__libc_pwrite64): Don't use CHECK_N.
18105 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18106 <bp-checks.h>.
18107 (__libc_msgrcv): Don't use CHECK_N.
18108 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18109 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18110 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18111 (__libc_writev): Don't use CHECK_N.
18112
b84660a8
RM
181132013-02-08 Roland McGrath <roland@hack.frob.com>
18114
7f3e75f8
RM
18115 * string/strcpy.c: Removed unused variable.
18116
b84660a8
RM
18117 * Makeconfig (+sysdep-includes): Define with := rather than =.
18118 Use an existing include/ subdir of each sysdeps dir before it.
18119
471514d3
CD
181202013-02-08 Carlos O'Donell <carlos@redhat.com>
18121
18122 * nscd/connection.c (register_traced_file): Comment function.
18123 [HAVE_INOTIFY] (union __inev): Define.
18124 [HAVE_INOTIFY] (inotify_check_files): New function.
18125 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18126 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18127 clear_db_cache.
18128 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18129
b2d3c3be
CD
181302013-02-08 Carlos O'Donell <carlos@redhat.com>
18131
18132 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18133 loaded if not already and that a failure is permanent.
18134
b39949d2
CD
181352013-02-08 Carlos O'Donell <carlos@redhat.com>
18136
ddacd1db 18137 [BZ #15006]
b39949d2
CD
18138 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18139 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18140
b2c9eff4
JM
181412013-02-08 Joseph Myers <joseph@codesourcery.com>
18142
f3aae3f3
JM
18143 [BZ #13550]
18144 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18145 (CHECK_1_NULL_OK): Likewise.
18146 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18147 (__fxstat): Do not use CHECK_1.
18148 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18149 <bp-checks.h>.
18150 (___fxstat64): Do not use CHECK_1.
18151 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18152 <bp-checks.h>.
18153 (__fxstatat): Do not use CHECK_1.
18154 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18155 <bp-checks.h>.
18156 (__fxstatat64): Do not use CHECK_1.
18157 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18158 <bp-checks.h>.
18159 (__fxstat): Do not use CHECK_1.
18160 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18161 <bp-checks.h>.
18162 (__fxstatat): Do not use CHECK_1.
18163 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18164 <bp-checks.h>.
18165 (__getresgid): Do not use CHECK_1.
18166 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18167 <bp-checks.h>.
18168 (__getresuid): Do not use CHECK_1.
18169 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18170 <bp-checks.h>.
18171 (__lxstat): Do not use CHECK_1.
18172 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18173 <bp-checks.h>.
18174 (__old_msgctl): Do not use CHECK_1.
18175 (__new_msgctl): Likewise.
18176 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18177 <bp-checks.h>.
18178 (__new_setrlimit): Do not use CHECK_1.
18179 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18180 <bp-checks.h>.
18181 (__old_shmctl): Do not use CHECK_1.
18182 (__new_shmctl): Likewise.
18183 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18184 <bp-checks.h>.
18185 (__xstat): Do not use CHECK_1.
18186 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18187 (__lxstat): Do not use CHECK_1.
18188 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18189 <bp-checks.h>.
18190 (___lxstat64): Do not use CHECK_1.
18191 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18192 (__old_msgctl): Do not use CHECK_1.
18193 (__new_msgctl): Likewise.
18194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18195 <bp-checks.h>.
18196 (__gettimeofday): Do not use CHECK_1.
18197 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18198 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18199 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18200 <bp-checks.h>.
18201 (__gettimeofday): Do not use CHECK_1.
18202 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18203 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18204 (__new_shmctl): Do not use CHECK_1.
18205 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18206 <bp-checks.h>.
18207 (do_sigtimedwait): Do not use CHECK_1.
18208 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18209 <bp-checks.h>.
18210 (do_sigwaitinfo): Do not use CHECK_1.
18211 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18212 <bp-checks.h>.
18213 (msgctl): Do not use CHECK_1.
18214 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18215 <bp-checks.h>.
18216 (shmctl): Do not use CHECK_1.
18217 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18218 (ustat): Do not use CHECK_1.
18219 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18220 <bp-checks.h>.
18221 (__fxstat): Do not use CHECK_1.
18222 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18223 <bp-checks.h>.
18224 (__fxstatat): Do not use CHECK_1.
18225 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18226 <bp-checks.h>.
18227 (__lxstat): Do not use CHECK_1.
18228 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18229 <bp-checks.h>.
18230 (__xstat): Do not use CHECK_1.
18231 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18232 (__xstat): Do not use CHECK_1.
18233 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18234 (___xstat64): Do not use CHECK_1.
18235
b2c9eff4
JM
18236 [BZ #13550]
18237 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18238 definitions.
18239 (CHECK_BOUNDS_HIGH): Likewise.
18240 * string/strcpy.c: Do not include <bp-checks.h>.
18241 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18242
f1d70dad
RM
182432013-02-07 Roland McGrath <roland@hack.frob.com>
18244
18245 * nscd/nscd-client.h (__nscd_drop_map_ref):
18246 Add __attribute__ ((unused)).
18247 * nis/nss-nisplus.h (niserr2nss): Likewise.
18248
18249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18250 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18251
18252 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18253 Remove inline keyword.
18254 * include/rounding-mode.h (round_away): Likewise.
18255 * libio/wfileops.c (adjust_wide_data): Likewise.
18256 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18257 (__m128i_strloadu_tolower): Likewise.
18258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18259 (__m128i_strloadu_tolower): Likewise.
18260 * time/mktime.c (ydhms_diff): Likewise.
18261 * locale/elem-hash.h (elem_hash): Likewise.
18262 * locale/setlocale.c (setdata): Likewise.
18263 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18264 (re_string_wchar_at): Likewise.
18265 (bitset_not, bitset_merge, bitset_mask): Likewise.
18266 [!(__GNUC__ > 3)] (inline): Remove macro.
18267 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18268 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18269 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18270 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18271 * string/memcmp.c (memcmp_bytes): Likewise.
18272 * locale/programs/locarchive.c (compute_hashval): Likewise.
18273 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18274 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18275 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18276 * nss/getent.c (print_rpc, print_protocols): Likewise.
18277 (print_passwd, print_group, print_aliases): Likewise.
18278 * nis/nss-nisplus.h (niserr2nss): Likewise.
18279 * nscd/connections.c (restart_p): Likewise.
18280 Change return type to bool.
18281
eab55bfb
RM
182822013-02-05 Roland McGrath <roland@hack.frob.com>
18283
7bd642f5
RM
18284 * Makeconfig (all-Depend-files): Add existing
18285 $(sorted-subdirs:=/Depend) files.
18286 (all-subdirs): Remove nss.
18287 * sysdeps/unix/inet/Subdirs: Add it here instead.
18288 * hesiod/Depend: New file.
18289
573c29b2
RM
18290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18291 instead of calling alloca.
18292
b2e25af0
RM
18293 * io/lseek.c (__lseek): Rename to __libc_lseek.
18294 Define __lseek as an alias.
18295
eab55bfb
RM
18296 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18297
9a0d1941
CD
182982013-02-04 Carlos O'Donell <carlos@redhat.com>
18299
18300 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18301 else clause and remove check for non-standard endianness.
18302
b83bbec4
DM
183032013-02-04 David S. Miller <davem@davemloft.net>
18304
18305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18306
6277fdab
JM
183072013-02-04 Joseph Myers <joseph@codesourcery.com>
18308
18309 [BZ #13550]
18310 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18311 (__ubp_memchr): Remove prototype.
18312 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18313 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18314 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18315 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18316 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18317 Remove alias.
18318 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18319 (__ubp_memchr): Likewise.
18320 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18321 (__ubp_memchr): Likewise.
18322 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18323 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18324 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18326 CHECK_STRING.
18327 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18328 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18329 (__getcwd): Do not use CHECK_STRING.
18330 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18331 <bp-checks.h>.
18332 (__real_chown): Do not use CHECK_STRING.
18333 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18334 <bp-checks.h>.
18335 (fchownat): Do not use CHECK_STRING.
18336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18337 CHECK_STRING.
18338 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18339 <bp-checks.h>.
18340 (__lchown): Do not use CHECK_STRING.
18341 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18342 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18343 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18344 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18346 include <bp-checks.h>.
18347 (truncate64): Do not use CHECK_STRING.
18348 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18349 <bp-checks.h>.
18350 (__real_chown): Do not use CHECK_STRING.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18352 <bp-checks.h>.
18353 (__lchown): Do not use CHECK_STRING.
18354 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18355 <bp-checks.h>.
18356 (__chown): Do not use CHECK_STRING.
18357 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18358 <bp-checks.h>.
18359 (truncate64): Do not use CHECK_STRING.
18360 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18361 Likewise.
18362 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18363 (__xmknod): Do not use CHECK_STRING.
18364 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18365 <bp-checks.h>.
18366 (__xmknodat): Do not use CHECK_STRING.
18367 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18368 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18369
903ae060
AS
183702013-02-04 Andreas Schwab <schwab@suse.de>
18371
18372 [BZ #14142]
18373 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18374 * include/netdb.h: Likewise for h_errno.
18375 * elf/tst-stackguard1.c: Include <tls.h>.
18376
542f9466
JK
183772013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18378
18379 * elf/link.h (struct link_map): Extend the l_addr comment.
18380 * include/link.h (struct link_map): Likewise.
18381
e782a927
JM
183822013-02-01 Joseph Myers <joseph@codesourcery.com>
18383
18384 [BZ #13550]
18385 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18386 (BOUNDED_1): Remove macro.
18387 * debug/backtrace.c: Don't include <bp-checks.h>.
18388 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18389 (__backtrace): Likewise.
18390 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18391 <bp-checks.h>.
18392 (__backtrace): Don't use BOUNDED_1.
18393 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18394 <bp-checks.h>.
18395 (__backtrace): Don't use BOUNDED_1.
18396 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18397 (__backtrace): Don't use BOUNDED_1.
18398 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18399 (shmat): Don't use BOUNDED_N.
18400
8cf28c5e
JM
184012013-01-31 Joseph Myers <joseph@codesourcery.com>
18402
3a7ac8a0
JM
18403 [BZ #13550]
18404 * sysdeps/generic/bp-start.h: Remove file.
18405 * csu/libc-start.c: Don't include <bp-start.h>.
18406 (LIBC_START_MAIN): Set up __environ directly instead of using
18407 INIT_ARGV_and_ENVIRON.
18408 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18409 <bp-start.h>.
18410
f3499f95
JM
18411 [BZ #13550]
18412 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18413 definitions.
18414 (CHECK_FCNTL): Likewise.
18415 (CHECK_N_PAGES): Likewise.
18416
32a45bea
JM
18417 [BZ #13550]
18418 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18419 definitions.
18420 (CHECK_SIGSET_NULL_OK): Likewise.
18421 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18422 <bp-checks.h>.
18423 (sigpending): Don't use CHECK_SIGSET.
18424 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18425 <bp-checks.h>.
18426 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18427 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18428 <bp-checks.h>.
18429 (do_sigsuspend): Don't use CHECK_SIGSET.
18430 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18431 use CHECK_SIGSET.
18432 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18433 (do_sigwait): Don't use CHECK_SIGSET.
18434 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18435 use CHECK_SIGSET.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18437 include <bp-checks.h>.
18438 (sigpending): Don't use CHECK_SIGSET.
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18440 include <bp-checks.h>.
18441 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18442 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18443 <bp-checks.h>.
18444 (sigpending): Don't use CHECK_SIGSET.
18445 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18446 <bp-checks.h>.
18447 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18448
2e8a5c8c
JM
18449 [BZ #13550]
18450 * sysdeps/generic/bp-semctl.h: Remove file.
18451 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18452 <bp-checks.h> and <bp-semctl.h>.
18453 (__old_semctl): Don't use CHECK_SEMCTL.
18454 (__new_semctl): Likewise.
18455 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18456 and <bp-semctl.h>.
18457 (__old_semctl): Don't use CHECK_SEMCTL.
18458 (__new_semctl): Likewise.
18459 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18460 <bp-checks.h> and <bp-semctl.h>.
18461 (__old_semctl): Don't use CHECK_SEMCTL.
18462 (__new_semctl): Likewise.
18463 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18464 <bp-checks.h> and <bp-semctl.h>.
18465 (semctl): Don't use CHECK_SEMCTL.
18466
c2d54929
JM
18467 [BZ #13550]
18468 * Makerules (elide-bp-thunks): Remove variable.
18469 (elide-routines.oS): Don't use $(elide-bp-thunks).
18470 (elide-routines.os): Likewise.
18471 (elide-routines.o): Likewise.
18472 (elide-routines.op): Likewise.
18473 (elide-routines.og): Likewise.
18474 (objects): Don't use $(bp-thunks).
18475 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18476 include.
18477 (common-generated): Do not add s-proto-bp.d.
18478 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18479 (int): Likewise.
18480 (typ): Likewise.
18481 Do not generate makefile rules for bounded-pointer thunks.
18482 * sysdeps/generic/bp-thunks.h: Remove file.
18483 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18484 * sysdeps/unix/s-proto-bp.S: Likewise.
18485
8cf28c5e
JM
18486 [BZ #15062]
18487 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18488 parts of result separately when argument is not close to line from
18489 -i to i and one part of argument is small.
18490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18492 * math/libm-test.inc (cacos_test): Add more tests.
18493 (casin_test): Likewise.
18494 (casinh_test): Likewise.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update.
18496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497
c4e33b8d
DM
184982013-01-31 David S. Miller <davem@davemloft.net>
18499
18500 * po/de.po: Update from translation team.
18501
3b60b421
MK
185022013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18503
18504 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18505
bb931195
TS
185062013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18507
b5a5da23
TS
18508 * configure.in (_AC_PROG_CC_C89): New definition.
18509 * configure: Regenerate.
18510
bb931195
TS
18511 * configure.in (AC_PROG_CPP): New definition.
18512 * configure: Regenerate.
18513
8c53a12c
JM
185142013-01-23 Joseph Myers <joseph@codesourcery.com>
18515
18516 * debug/tst-backtrace.h: New file.
18517 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18518 (ret): Remove variable.
18519 (x): Likewise.
18520 (FAIL): Remove macro.
18521 (NO_INLINE): Likewise.
18522 (fn1): Use match function instead of strstr.
18523 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18524 (ret): Remove variable.
18525 (x): Likewise.
18526 (FAIL): Remove macro.
18527 (NO_INLINE): Likewise.
18528 (fn): Use match function instead of strstr.
18529 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18530 (ret): Remove variable.
18531 (x): Likewise.
18532 (FAIL): Remove macro.
18533 (NO_INLINE): Likewise.
18534 (handle_signal): Use match function instead of strstr.
18535 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18536 (ret): Remove variable.
18537 (x): Likewise.
18538 (FAIL): Remove macro.
18539 (NO_INLINE): Likewise.
18540 (handle_signal): Use match function instead of strstr.
18541
4858fa2a
RM
185422013-01-23 Roland McGrath <roland@hack.frob.com>
18543
18544 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18545
bae8e7f5
DM
185462013-01-23 David S. Miller <davem@davemloft.net>
18547
18548 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18549 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18550 argument of CAS if possible.
18551 * sysdeps/sparc/sparc64/bits/atomic.h
18552 (__arch_compare_and_exchange_val_32_acq): Likewise.
18553 (__arch_compare_and_exchange_val_64_acq): Likewise.
18554
9cbbc4ae
PT
185552013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18556
18557 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18558 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18559 Include <limits.h>.
67b3f58c 18560 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18561
5655a0b5
AC
185622013-01-23 Adam Conrad <adconrad@0c3.net>
18563
18564 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18565 (LDFLAGS-tst-array5): Likewise.
18566
052aff95
JM
185672013-01-23 Joseph Myers <joseph@codesourcery.com>
18568
18569 [BZ #15036]
18570 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18571 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18572 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18573 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18574
7c1e01aa
DM
185752013-01-21 David S. Miller <davem@davemloft.net>
18576
18577 * sysdeps/sparc/backtrace.c: New file.
18578 * sysdeps/sparc/sparc32/backtrace.h: New file.
18579 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18580 * sysdeps/sparc/sparc64/backtrace.h: New file.
18581 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18582 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18583 -funwind-tables.
18584
ab087e0a
AS
185852013-01-21 Andreas Schwab <schwab@suse.de>
18586
18587 [BZ #15020]
18588 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18589 closed its stdout.
18590
ed689c2f
AS
185912013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18592
18593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18594 "mpa2.h".
18595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18596
31d470ac
JM
185972013-01-18 Joseph Myers <joseph@codesourcery.com>
18598 Mark Mitchell <mark@codesourcery.com>
18599 Tom de Vries <tom@codesourcery.com>
18600 Paul Pluzhnikov <ppluzhnikov@google.com>
18601
18602 * debug/tst-backtrace2.c: New file.
18603 * debug/tst-backtrace3.c: Likewise.
18604 * debug/tst-backtrace4.c: Likewise.
18605 * debug/tst-backtrace5.c: Likewise.
18606 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18607 (CFLAGS-tst-backtrace3.c): Likewise.
18608 (CFLAGS-tst-backtrace4.c): Likewise.
18609 (CFLAGS-tst-backtrace5.c): Likewise.
18610 (LDFLAGS-tst-backtrace2): Likewise.
18611 (LDFLAGS-tst-backtrace3): Likewise.
18612 (LDFLAGS-tst-backtrace4): Likewise.
18613 (LDFLAGS-tst-backtrace5): Likewise.
18614 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18615 tst-backtrace4 and tst-backtrace5.
18616
90567f30 186172013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18618 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18619
18620 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18621 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18622 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18623 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18625 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18626 "+r" and remove output regs list as redundant. Add explicit inline
18627 asm to specify register of return val to work around compiler codegen
18628 bug. Remove (int) cast on return value. Add return type parameter to
18629 use in macro so that this macro does not truncate return value for
18630 64-bit values.
18631 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18632 pass to INTERNAL_VSYSCALL_NCS.
18633 (INLINE_VSYSCALL): Add 'long int' as return type to
18634 INTERNAL_VSYSCALL_NCS macro invocation.
18635 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18636 INTERNAL_VSYSCALL_NCS macro invocation.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18638
d3b9ea61
SP
186392013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18640
0b57daeb
SP
18641 [BZ #14496]
18642 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18643 Fix application of SIMD FP exception mask.
18644
caa99d06
SP
18645 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18646 mp_no from a power of two.
18647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18648 __mpexp_twomm1. Use __pow_mp.
18649
d3b9ea61
SP
18650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18651 multiplication.
18652
1dbaee3c
DM
186532013-01-17 David S. Miller <davem@davemloft.net>
18654
18655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18656
728d7b43
JM
186572013-01-17 Joseph Myers <joseph@codesourcery.com>
18658
18659 [BZ #15023]
18660 * include/complex.h: Condition contents on [!_COMPLEX_H].
18661 (__kernel_casinhf): New prototype.
18662 (__kernel_casinh): Likewise.
18663 (__kernel_casinhl): Likewise.
18664 * math/Makefile (libm_calls): Add k_casinh.
18665 * math/k_casinh.c: New file.
18666 * math/k_casinhf.c: Likewise.
18667 * math/k_casinhl.c: Likewise.
18668 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18669 finite nonzero arguments.
18670 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18671 finite nonzero arguments.
18672 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18673 finite nonzero arguments.
18674 * math/s_casinh.c: Do not include <float.h>.
18675 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18676 * math/s_casinhf.c: Do not include <float.h>.
18677 (__casinhf): Move code for finite nonzero arguments to
18678 k_casinhf.c.
18679 * math/s_casinhl.c: Do not include <float.h>.
18680 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18681 redefine.
18682 (__casinhl): Move code for finite nonzero arguments to
18683 k_casinhl.c.
18684 * math/libm-test.inc (cacos_test): Add more tests.
18685 * sysdeps/i386/fpu/libm-test-ulps: Update.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687
2a26ef3a
PT
186882013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18689
18690 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18691 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18692 [!HAVE_MREMAP]: Remove [defined linux] case.
18693 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18694
a897655d
SP
186952013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18696
18697 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18698
881ebe89 186992013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18700
18701 * elf/elf.h (R_386_SIZE32): New relocation.
18702 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18703 R_386_SIZE32.
18704 (elf_machine_rela): Likewise.
18705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18706 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18707
59981e9b
JM
187082013-01-17 Joseph Myers <joseph@codesourcery.com>
18709
18710 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18711 (FP_FAST_FMA): Do not define.
18712 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18713 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18714 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18715 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18716 !_SOFT_FLOAT]: Likewise.
18717 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18718 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18719 value.
18720 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18721 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18723 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18724 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18725 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18726 file.
18727
cfa8054f
AS
187282013-01-16 Andreas Schwab <schwab@suse.de>
18729
18730 [BZ #14327]
18731 * include/stdlib.h (__mktemp): Add declaration.
18732 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18733 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18734
dd930cc5
SP
187352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18736
881ebe89
SP
18737 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18738 definitions.
18739 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18740 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18741 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18742 definitions here.
18743 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18744 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18745 definitions.
18746 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18747 and ONE.
18748 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18749 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18750 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18751 definitions.
18752 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18753 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18754 definitions.
18755 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18756
dd930cc5
SP
18757 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18758
c19a9f89
DM
187592013-01-15 David S. Miller <davem@davemloft.net>
18760
1aa61767
DM
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18762 trunc{,f} to libm-sysdep_routes.
18763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18765 file.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18768 file.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18770 file.
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18779
c42d5e98
DM
18780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18781 nearbyint{,f} to libm-sysdep_routes.
18782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18784 New file.
18785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18786 file.
18787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18788 New file.
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18790 file.
18791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18793 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18794 file.
18795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18796 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18797 file.
18798 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18799 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18800 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18801
c19a9f89
DM
18802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18803 libc_feholdexcept and libc_fesetenv.
18804
357679d2
MF
188052013-01-15 Mike Frysinger <vapier@gentoo.org>
18806
18807 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18808
65a82e3d
DM
188092013-01-14 David S. Miller <davem@davemloft.net>
18810
8b954ab9
DM
18811 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18812 (SPARC_ASM_VIS2_IFUNC): Likewise.
18813 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18815 use of 'siam' instruction.
18816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18817 Likewise.
18818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18819 Likewise.
18820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18821 Likewise.
18822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18827 file.
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18829 file.
18830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18831 file.
18832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18833 file.
18834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18839 new VIS2 routines.
18840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18843 Likewise.
18844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18849 routines to libm-sysdep_routines.
18850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18851
65a82e3d
DM
18852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18853 fdim/fdimf to libm-sysdep_routines.
18854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18855 file.
18856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18858 file.
18859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18862 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18863 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18864 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18865 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18866
e34ab705
SP
188672013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18868
2a91b573
SP
18869 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18870 to optimize copies.
18871
1066a534
SP
18872 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18875
e34ab705
SP
18876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18877 local variable MPTWO.
18878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18879 Likewise.
18880
aba5e596
MF
188812013-01-13 Mike Frysinger <vapier@gentoo.org>
18882
18883 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18884 GLOB_NOESCAPE.
18885
e557e9e5
MF
188862013-01-13 Mike Frysinger <vapier@gentoo.org>
18887
18888 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18889
0428cec9
MF
188902013-01-13 Mike Frysinger <vapier@gentoo.org>
18891
18892 * manual/pattern.texi (glob_t): Document gl_flags.
18893 (glob64_t): Likewise.
18894
8794a964
DM
188952013-01-11 David S. Miller <davem@davemloft.net>
18896
66438c3f
RM
18897 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18898 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18899 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18900 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18901 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18902 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18903 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18904 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18905 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18906 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18907 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18908 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18909 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18910
4ae4244d
DM
18911 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18912 sparc V9 rather than using V8 code.
18913 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18914 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18915
8794a964
DM
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18917 Move to...
18918 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18919 Here.
18920
6270516e
RM
189212013-01-11 Roland McGrath <roland@hack.frob.com>
18922
18923 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18924 not in the main loop.
18925 * configure: Regenerated.
18926
6a57d931
JM
189272013-01-11 Joseph Myers <joseph@codesourcery.com>
18928
18929 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18930 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18931 to just #else.
18932 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18933 [!__GLIBC_HAVE_LONG_LONG] case.
18934 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18935 condition to just #else.
18936 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18937 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18938 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18939 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18940 unconditional.
18941 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18942 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18943 #elif condition to just #else.
18944 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18945 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18946 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18947 #elif condition to just #else.
18948
0e8529e9
SE
189492013-01-11 Steve Ellcey <sellcey@mips.com>
18950
18951 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18952 (EF_MIPS_ARCH_64): Fix value.
18953 (EF_MIPS_ARCH_32R2): New.
18954 (EF_MIPS_ARCH_64R2): New.
18955
740b3dbe
L
189562013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18957
18958 * Makeconfig (+link-pie-before-libc): New.
18959 (+link-pie-after-libc): Likewise.
18960 (+link-pie-tests): Likewise.
18961 (+link-pie): Rewritten.
18962 (link-before-libc): Remove $(config-LDFLAGS).
18963 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18964 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18965 (config-LDFLAGS): Renamed to ...
18966 (rtld-LDFLAGS): This.
18967 (rtld-tests-LDFLAGS): New macro.
18968 (link-libc-rpath-link): Likewise.
18969 (link-libc-tests-rpath-link): Likewise.
18970 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18971 (link-libc): Prepand $(link-libc-rpath-link).
18972 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18973 (test-program-prefix): New macro.
18974 (test-via-rtld-prefix): Likewise.
18975 (test-program-cmd): Likewise.
18976 (host-test-program-cmd): Likewise.
18977 * Makefile ($(common-objpfx)testrun.sh): Replace
18978 $(run-program-prefix) with $(test-program-prefix).
18979 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18980 $(rtld-LDFLAGS).
18981 ($(common-objpfx)shlib.lds): Likewise.
18982 (build-module-helper): Likewise.
18983 ($(common-objpfx)format.lds): Likewise.
18984 * Rules (binaries-pie-tests): New.
18985 (binaries-pie-notests): Likewise.
18986 (binaries-pie): Rewritten.
18987 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18988 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18989 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18990 (make-test-out): Replace $(host-built-program-cmd) with
18991 $(host-test-program-cmd).
18992 * config.make.in (build-hardcoded-path-in-tests): New variable.
18993 * configure.in (--enable-hardcoded-path-in-tests): New configure
18994 option.
18995 (hardcoded_path_in_tests): New AC_SUBST.
18996 * configure: Regenerated.
18997 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18998 $(built-program-cmd) with $(test-program-cmd).
18999 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19000 (test_program_cmd): This.
19001 * elf/Makefile ($(objpfx)order.out): Run test with
19002 $(test-program-prefix).
19003 ($(objpfx)order2.out): Likewise.
19004 ($(objpfx)tst-initorder.out): Likewise.
19005 ($(objpfx)tst-initorder2.out): Likewise.
19006 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19007 $(test-program-cmd).
19008 ($(objpfx)tst-array1-static.out): Likewise.
19009 ($(objpfx)tst-array2.out): Likewise.
19010 ($(objpfx)tst-array3.out): Likewise.
19011 ($(objpfx)tst-array4.out): Likewise.
19012 ($(objpfx)tst-array5.out): Likewise.
19013 ($(objpfx)tst-array5-static.out): Likewise.
19014 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19015 $(test-program-cmd).
19016 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19017 $(run-program-prefix) with $(test-program-prefix).
19018 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19019 (test_program_prefix): This.
19020 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19021 $(run-program-prefix) with $(test-program-prefix).
19022 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19023 (test_program_prefix): This.
19024 * iconvdata/tst-tables.sh: Likewise.
19025 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19026 $(run-program-prefix) with $(test-program-prefix).
19027 ($(objpfx)tst-translit.out): Likewise.
19028 ($(objpfx)tst-gettext2.out): Likewise.
19029 ($(objpfx)tst-gettext4.out): Likewise.
19030 ($(objpfx)tst-gettext6.out): Likewise.
19031 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19032 (test_program_prefix): This.
19033 * intl/tst-gettext2.sh: Likewise.
19034 * intl/tst-gettext4.sh Likewise.
19035 * intl/tst-gettext6.sh: Likewise.
19036 * intl/tst-translit.sh: Likewise.
19037 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19038 with $(test-program-cmd).
19039 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19040 $(run-program-prefix) with $(test-program-prefix).
19041 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19042 (test_program_prefix): This.
19043 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19044 $(run-program-prefix) with $(test-program-prefix).
19045 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19046 (test_program_prefix): This.
19047 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19048 * posix/Makefile ($(objpfx)globtest.out): Replace
19049 $(run-via-rtld-prefix) and $(test-wrapper) with
19050 $(test-program-prefix) and $(test-via-rtld-prefix).
19051 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19052 $(test-program-prefix).
19053 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19054 $(host-test-program-cmd).
19055 (tst-spawn-ARGS): Likewise.
19056 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19057 $(test-program-prefix).
19058 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19059 (test_via_rtld_prefix): This.
19060 (test_wrapper): Renamed to ...
19061 (test_program_prefix): This.
19062 (run_program_prefix): Replaced by test_program_prefix.
19063 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19064 (test_program_prefix): This.
19065 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19066 with $(host-test-program-cmd).
19067 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19068 $(run-program-prefix) with $(test-program-prefix).
19069 ($(objpfx)tst-printf.out): Likewise.
19070 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19071 $(test-program-cmd).
19072 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19073 (test_program_prefix): This.
19074 * stdio-common/tst-unbputc.sh: Likewise.
19075 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19076 $(run-program-prefix) with $(test-program-prefix).
19077 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19078 (test_program_prefix): This.
19079 * string/Makefile ($(objpfx)tst-svc.out): Replace
19080 $(built-program-cmd) with $(test-program-cmd).
19081
c6fe55cf
AJ
190822013-01-11 Andreas Jaeger <aj@suse.de>
19083
19084 [BZ #15003]
19085 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19086 value. Sync with Linux 3.7.
19087
9e6919c8
DM
190882013-01-10 David S. Miller <davem@davemloft.net>
19089
19090 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19093
1c9f1a02
RM
190942013-01-10 Roland McGrath <roland@hack.frob.com>
19095
19096 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19097 never set.
19098 * configure: Regenerated.
19099
b9de2dde
DM
191002013-01-10 David S. Miller <davem@davemloft.net>
19101
19102 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19103 sparc V9 rather than using V8 code.
19104 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19105 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19106
e7f68ef4
RM
191072013-01-10 Roland McGrath <roland@hack.frob.com>
19108
19109 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19110 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19111 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19112 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19113 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19114 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19115 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19116 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19117 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19118 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19119 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19120 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19121 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19122 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19123 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19124 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19125 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19126 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19127 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19128 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19129 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19130 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19131 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19132 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19133 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19134 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19135 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19136
5a47cc9c
DM
191372013-01-10 David S. Miller <davem@davemloft.net>
19138
19139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19140
4cf8f209
L
191412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 * posix/Makefile (tests-static): New variable.
19144 (tests): Add $(tests-static).
19145 (tst-exec-static-ARGS): New variable.
19146 (tst-spawn-static-ARGS): Likewise.
19147 * posix/tst-exec-static.c: New file.
19148 * posix/tst-spawn-static.c: Likewise.
19149 * posix/tst-exec.c: Support run directly.
19150 * posix/tst-spawn.c: Likewise.
19151
fed0faa1
JM
191522013-01-10 Joseph Myers <joseph@codesourcery.com>
19153
828beb13
JM
19154 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19155 long.
19156 * math/bits/mathcalls.h (llrint): Likewise.
19157 (llround): Likewise.
19158 * stdlib/stdlib.h (struct drand48_data): Likewise.
19159 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19160 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19162 Likewise.
19163 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19164 Likewise.
19165 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19166 (elf_greg_t): Likewise.
19167 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19168 (__jmp_buf): Likewise.
19169 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19170 definitions.
19171 (llrint): Likewise, for all definitions.
19172 (llrintl): Likewise.
19173
fed0faa1
JM
19174 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19175 Remove [__GNUC__] condition.
19176 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19177 condition to just [__USE_ISOC99].
19178 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19179
1a20cb20
L
191802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19181
19182 [BZ #14200]
19183 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19184 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19185 defined.
19186 (_POSIX_V6_ILP32_OFF32): Likewise.
19187 (_XBS5_ILP32_OFF32): Likewise.
19188 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19189 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19190
751b85f7
SP
191912013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19192
7490eb81
SP
19193 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19194
751b85f7
SP
19195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19196 doubles __mpexp_twomm1. Adjust usage.
19197 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19198 Remove.
19199
988197f0
AS
192002013-01-10 Andreas Schwab <schwab@suse.de>
19201
19202 [BZ #14964]
19203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19204 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19205
e83d7298
DM
192062013-01-09 David S. Miller <davem@davemloft.net>
19207
034ed64b 19208 [BZ #15003]
e83d7298
DM
19209 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19210 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19211 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19212 TCP_FASTOPEN): Define.
19213 (tcp_repair_opt): New structure.
19214 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19215 enum values.
19216 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19217 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19218 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19219 (tcp_cookie_transactions): New structure.
19220
d5e0b9bd
AB
192212013-01-09 Anton Blanchard <anton@samba.org>
19222
19223 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19224 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19225 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19226 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19227
0c07e3ea
JM
192282013-01-09 Joseph Myers <joseph@codesourcery.com>
19229
19230 * include/features.h (__USE_ANSI): Remove.
19231
232f7002
RM
192322013-01-09 Roland McGrath <roland@hack.frob.com>
19233
ad98e30c
RM
19234 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19235
232f7002
RM
19236 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19237
950c99ca
SP
192382013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19239
b5792741
SP
19240 * sysdeps/s390/fpu/libm-test-ulps: Update.
19241
47cf2278
SP
19242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19243
950c99ca
SP
19244 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19245 (__acr): Likewise.
19246 (__cpy): Likewise.
19247 (norm): Likewise.
19248 (denorm): Likewise.
19249 (__mp_dbl): Likewise.
19250 (__dbl_mp): Likewise.
19251 (add_magnitudes): Likewise.
19252 (sub_magnitudes): Likewise.
19253 (__add): Likewise.
19254 (__sub): Likewise.
19255 (__mul): Likewise.
19256 (__inv): Likewise.
19257 (__dvd): Likewise.
19258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19259 (__acr): Likewise.
19260 (__cpy): Likewise.
19261 (norm): Likewise.
19262 (denorm): Likewise.
19263 (__mp_dbl): Likewise.
19264 (__dbl_mp): Likewise.
19265 (add_magnitudes): Likewise.
19266 (sub_magnitudes): Likewise.
19267 (__add): Likewise.
19268 (__sub): Likewise.
19269 (__mul): Likewise.
19270 (__inv): Likewise.
19271 (__dvd): Likewise.
19272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19273 (__acr): Likewise.
19274 (__cpy): Likewise.
19275 (norm): Likewise.
19276 (denorm): Likewise.
19277 (__mp_dbl): Likewise.
19278 (__dbl_mp): Likewise.
19279 (add_magnitudes): Likewise.
19280 (sub_magnitudes): Likewise.
19281 (__add): Likewise.
19282 (__sub): Likewise.
19283 (__mul): Likewise.
19284 (__inv): Likewise.
19285 (__dvd): Likewise.
19286
eede9df9
JM
192872013-01-08 Joseph Myers <joseph@codesourcery.com>
19288
19289 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19290 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19291 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19292 2 && __USE_EXTERN_INLINES]: Likewise.
19293
c40ea3d9
AJ
192942013-01-08 Andreas Jaeger <aj@suse.de>
19295
19296 [BZ# 14985]
19297 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19298 Remove.
19299 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19300 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19301
2ccdea26
AB
193022013-01-07 Anton Blanchard <anton@samba.org>
19303
19304 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19305 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19306 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19307 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19309 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19310 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19311 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19315 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19316 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19320 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19322 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19323 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19327 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19328 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19330 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19331 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19333 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19334 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19336 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19337 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19338 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19339 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19341 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19343 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19344 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19345 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19346 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19347
a9708fed
JM
193482013-01-07 Joseph Myers <joseph@codesourcery.com>
19349
375607b9
JM
19350 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19351 (__MALLOC_PMT): Likewise.
19352 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19353 [__GNUC__], only on [_LIBC].
19354 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19355 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19356 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19357 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19358 forward declaration.
19359 (realloc_hook_ini): Likewise.
19360 (memalign_hook_ini): Likewise.
19361 (__libc_memalign): Do not use __MALLOC_PMT in variable
19362 declaration.
19363 (__libc_valloc): Likewise.
19364 (__libc_pvalloc): Likewise.
19365 (__libc_calloc): Likewise.
19366 (__posix_memalign): Likewise.
19367
a9708fed
JM
19368 [BZ #14996]
19369 * math/s_casinh.c: Include <float.h>.
19370 (__casinh): Do not do computation with squaring and square root
19371 for large arguments.
19372 * math/s_casinhf.c: Include <float.h>.
19373 (__casinhf): Do not do computation with squaring and square root
19374 for large arguments.
19375 * math/s_casinhl.c: Include <float.h>.
19376 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19377 (__casinhl): Do not do computation with squaring and square root
19378 for large arguments.
19379 * math/libm-test.inc (casin_test): Add more tests.
19380 (casinh_test): Likewise.
19381 * sysdeps/i386/fpu/libm-test-ulps: Update.
19382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19383
afec409a
L
193842013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19387 (__x86_64_raw_data_cache_size): Likewise.
19388 (__x86_64_data_cache_size_half): Likewise.
19389 (__x86_64_raw_data_cache_size_half): Likewise.
19390 (__x86_64_shared_cache_size): Likewise.
19391 (__x86_64_raw_shared_cache_size): Likewise.
19392 (__x86_64_shared_cache_size_half): Likewise.
19393 (__x86_64_raw_shared_cache_size_half): Likewise.
19394 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19395 to ...
19396 (__x86_data_cache_size): This.
19397 (__x86_64_raw_data_cache_size): Renamed to ...
19398 (__x86_raw_data_cache_size): This.
19399 (__x86_64_data_cache_size_half): Renamed to ...
19400 (__x86_data_cache_size_half): This.
19401 (__x86_64_raw_data_cache_size_half): Renamed to ...
19402 (__x86_raw_data_cache_size_half): This.
19403 (__x86_64_shared_cache_size): Renamed to ...
19404 (__x86_shared_cache_size): This.
19405 (__x86_64_raw_shared_cache_size): Renamed to ...
19406 (__x86_raw_shared_cache_size): This.
19407 (__x86_64_shared_cache_size_half): Renamed to ...
19408 (__x86_shared_cache_size_half): This.
19409 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19410 (__x86_raw_shared_cache_size_half): This.
19411 * sysdeps/x86_64/memcpy.S: Updated.
19412 * sysdeps/x86_64/memset.S: Likewise.
19413 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19414 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19415 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19416
0b3986d0
DM
194172013-01-04 David S. Miller <davem@davemloft.net>
19418
19419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19420
e47686e9
AS
194212013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19422
d643bac1
AS
19423 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19424 1 to avoid redefinition warning.
19425 (__USE_GNU): Don't define.
19426 (init_signaling_nan): Protoize.
19427
e47686e9
AS
19428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19429
b18decba
SP
194302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19431
fffb407f
SP
19432 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19434 (__cpymn): Likewise.
19435 (norm): Remove commented code.
19436 (denorm): Likewise.
19437 (__mp_dbl): Likewise.
19438 (__inv): Likewise.
19439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19440 (__cpymn): Likewise.
19441 (norm): Remove commented code.
19442 (denorm): Likewise.
19443 (__mp_dbl): Likewise.
19444 (__inv): Likewise.
19445
b18decba
SP
19446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19447 mp_no value for 1.0 and 2.0.
19448 (norm): Use RADIXI instead of radixi.d.
19449 (denorm): Likewise.
19450 (__mul): Use 0.0 instead of zero.d.
19451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19452 mp_no value for 1.0 and 2.0.
19453 (norm): Use RADIXI instead of radixi.d.
19454 (denorm): Likewise.
19455 (__mul): Use 0.0 instead of zero.d.
19456
cdc1c96f
JM
194572013-01-04 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #14994]
19460 * math/s_casinh.c (__casinh): Reduce finite argument to first
19461 quadrant then set signs of results at the end.
19462 * math/s_casinhf.c (__casinhf): Likewise.
19463 * math/s_casinhl.c (__casinhl): Likewise.
19464 * math/libm-test.inc (casin_test): Add more tests.
19465 (casinh_test): Likewise.
19466 * sysdeps/i386/fpu/libm-test-ulps: Update.
19467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468
302913e1
SP
194692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19470
6420d207
SP
19471 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19472
a9e48ab4
SP
19473 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19474
b7837264
SP
19475 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19476 declarations.
19477 (denorm): Likewise.
19478 (__mp_dbl): Likewise.
19479 (__inv): Likewise.
19480
f8af25d2
SP
19481 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19482 and adjust the header comment.
19483
302913e1
SP
19484 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19485 variable name from declaration.
19486
5d7dd1ca
L
194872013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19490 Initialize COMMON_CPUID_INDEX_7 element.
19491 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19492 (CPUID_RTM): Likewise.
19493 (HAS_RTM): Likewise.
19494 (COMMON_CPUID_INDEX_7): New enum.
19495
2f5f40f4
AS
194962013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19497
19498 [BZ #14981]
19499 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19500 size is zero, record memory as freed.
19501
4056f4a0
AJ
195022013-01-03 Andreas Jaeger <aj@suse.de>
19503
19504 * po/ia.po: Add new Interlingua translation.
19505
ab15736f 195062012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19507
19508 * locale/programs/localedef.c: Fix description of '--posix' flag.
19509
568035b7
JM
195102013-01-02 Joseph Myers <joseph@codesourcery.com>
19511
e6898b8d
JM
19512 * NEWS: Update dates in second copyright notice.
19513 * README: Update copyright dates in example.
19514 * manual/libc.texinfo: Update copyright dates.
19515 * scripts/test-installation.pl: Update copyright date in --version
19516 output.
19517
0e2f9562
JM
19518 * hurd/ctty-input.c: Fix copyright notice formatting.
19519 * hurd/ctty-output.c: Likewise.
19520 * hurd/dtable.c: Likewise.
19521 * hurd/hurd-raise.c: Likewise.
19522 * hurd/hurdprio.c: Likewise.
19523 * hurd/msgportdemux.c: Likewise.
19524 * misc/sys/file.h: Likewise.
19525 * misc/sys/ioctl.h: Likewise.
19526 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19527 * sysdeps/mach/hurd/chdir.c: Likewise.
19528 * sysdeps/mach/hurd/fchdir.c: Likewise.
19529 * sysdeps/mach/hurd/rename.c: Likewise.
19530 * sysdeps/mach/hurd/rmdir.c: Likewise.
19531 * sysdeps/mach/hurd/seekdir.c: Likewise.
19532 * sysdeps/mach/hurd/setsid.c: Likewise.
19533 * sysdeps/posix/wait3.c: Likewise.
19534
568035b7
JM
19535 * All files with FSF copyright notices: Update copyright dates
19536 using scripts/update-copyrights.
19537 * intl/plural.c: Regenerated.
19538 * locale/programs/charmap-kw.h: Likewise.
19539 * locale/programs/locfile-kw.h: Likewise.
19540
da08f647
SP
195412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19542
0f5477af
SP
19543 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19544 four values.
19545
44e0d4c2
SP
19546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19547 calculation loop and add branch prediction.
19548
4d55b4e5
SP
19549 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19550 check access beyond bounds of m1np.
19551
da08f647
SP
19552 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19553 MPTWO.
19554 (__inv): Remove local variable MPTWO to use the global
19555 constant.
19556 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19558 variable MPTWO.
19559 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19560 MP3HALFS static const.
19561
8e051029
DM
195622013-01-01 David S. Miller <davem@davemloft.net>
19563
19564 * po/ca.po: Update from translation team.
19565
f4cf5f2d
JM
195662013-01-01 Joseph Myers <joseph@codesourcery.com>
19567
19568 * scripts/update-copyrights: New file.
19569 * Makeconfig: Reformat copyright notice.
19570 * ctype/ctype.h: Likewise.
19571 * debug/swprintf_chk.c: Likewise.
19572 * elf/dl-cache.c: Likewise.
19573 * elf/dl-debug.c: Likewise.
19574 * elf/dl-object.c: Likewise.
19575 * grp/initgroups.c: Likewise.
19576 * hurd/Makefile: Likewise.
19577 * hurd/hurd/signal.h: Likewise.
19578 * hurd/hurdfault.c: Likewise.
19579 * hurd/hurdioctl.c: Likewise.
19580 * hurd/hurdlookup.c: Likewise.
19581 * hurd/intr-msg.c: Likewise.
19582 * iconv/gconv_open.c: Likewise.
19583 * libio/swprintf.c: Likewise.
19584 * locale/lc-ctype.c: Likewise.
19585 * locale/nl_langinfo.c: Likewise.
19586 * mach/Machrules: Likewise.
19587 * mach/Makefile: Likewise.
19588 * malloc/obstack.h: Likewise.
19589 * manual/Makefile: Likewise.
19590 * manual/tsort.awk: Likewise.
19591 * misc/bits/stab.def: Likewise.
19592 * nis/nis_print_group_entry.c: Likewise.
19593 * nis/nis_table.c: Likewise.
19594 * nis/nss_compat/compat-pwd.c: Likewise.
19595 * nis/nss_compat/compat-spwd.c: Likewise.
19596 * po/Makefile: Likewise.
19597 * posix/fnmatch.c: Likewise.
19598 * posix/regex.h: Likewise.
19599 * resolv/Makefile: Likewise.
19600 * resolv/nss_dns/dns-network.c: Likewise.
19601 * resolv/res_hconf.c: Likewise.
19602 * scripts/gen-sorted.awk: Likewise.
19603 * soft-fp/soft-fp.h: Likewise.
19604 * stdio-common/printf.h: Likewise.
19605 * stdlib/monetary.h: Likewise.
19606 * stdlib/random.c: Likewise.
19607 * stdlib/random_r.c: Likewise.
19608 * sysdeps/generic/Makefile: Likewise.
19609 * sysdeps/gnu/Makefile: Likewise.
19610 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19633 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19638 * sysdeps/mach/hurd/errnos.awk: Likewise.
19639 * sysdeps/mach/hurd/fork.c: Likewise.
19640 * sysdeps/mach/hurd/getcwd.c: Likewise.
19641 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19642 * sysdeps/mach/hurd/mmap.c: Likewise.
19643 * sysdeps/mach/hurd/utimes.c: Likewise.
19644 * sysdeps/mach/hurd/xmknod.c: Likewise.
19645 * sysdeps/posix/profil.c: Likewise.
19646 * sysdeps/posix/readdir_r.c: Likewise.
19647 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19648 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19649 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19650 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19652 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19654 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19656 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19657 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19658 * sysdeps/pthread/lio_listio.c: Likewise.
19659 * sysdeps/sparc/dl-procinfo.h: Likewise.
19660 * sysdeps/unix/i386/sysdep.S: Likewise.
19661 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19662 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19663 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19664 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19666 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19667 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19668 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19669 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19670 * sysdeps/wordsize-32/divdi3.c: Likewise.
19671 * time/sys/time.h: Likewise.
19672 * wcsmbs/Makefile: Likewise.
19673
0549fbba
DM
196742013-01-01 David S. Miller <davem@davemloft.net>
19675
a141f1a7
DM
19676 * po/fr.po: Update from translation team.
19677
0549fbba
DM
19678 * catgets/gencat.c: Update copyright year.
19679 * csu/version.c: Likewise.
19680 * debug/catchsegv.sh: Likewise.
19681 * debug/pcprofiledump.c: Likewise.
19682 * debug/xtrace.sh: Likewise.
19683 * elf/ldconfig.c: Likewise.
19684 * elf/ldd.bash.in: Likewise.
19685 * elf/pldd.c: Likewise.
19686 * elf/sotruss.ksh: Likewise.
19687 * elf/sprof.c: Likewise.
19688 * iconv/iconv_prog.c: Likewise.
19689 * iconv/iconvconfig.c: Likewise.
19690 * locale/programs/locale.c: Likewise.
19691 * locale/programs/localedef.c: Likewise.
19692 * login/programs/pt_chown.c: Likewise.
19693 * malloc/memusage.sh: Likewise.
19694 * malloc/memusagestat.c: Likewise.
19695 * malloc/mtrace.pl: Likewise.
19696 * nscd/nscd.c: Likewise.
19697 * nss/getent.c: Likewise.
19698 * nss/makedb.c: Likewise.
19699 * posix/getconf.c: Likewise.
19700
18ea052c
SP
197012012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19702
19703 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19704 numbers.
19705
9c89fca6
MF
197062012-12-30 Mike Frysinger <vapier@gentoo.org>
19707
19708 * math/bits/mathcalls.h (modf): Use __nonnull.
19709
085ec079
SP
197102012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19711
19712 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19713 (split): Use macro CN instead of the bare value.
19714 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19715 could be used.
19716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19717 instead of the bare value.
19718 (power1): Likewise.
19719
6d9f97e1
SP
197202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19721
d63f73be
SP
19722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19723 __ATAN_TWOM.
19724 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19725
6d9f97e1
SP
19726 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19727 their values.
19728 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19729 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19730 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19731 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19732
4c4febf5
AJ
197332012-12-28 Andreas Jaeger <aj@suse.de>
19734
af5843ef
AJ
19735 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19736 values are from Linux 3.7.
19737
4c4febf5
AJ
19738 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19739 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19740
99136f82
SP
197412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19742
2f216c3c 19743 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19744 TRUE case.
19745
99136f82
SP
19746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19747 (norm): Likewise.
19748 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19749 variables with preprocessor constants.
19750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19751 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19752 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19753
7fffbdff
BH
197542012-12-27 Bruno Haible <bruno@clisp.org>
19755
19756 [BZ #14317]
19757 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19758 only if needed.
19759
b76eb5f0
SP
197602012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19761
31a7fe5c
SP
19762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19763 and use variable directly.
19764 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19765
b76eb5f0
SP
19766 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19767 MPONE.
19768 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19770 variable MPONE.
19771 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19773 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19774 include directive. Remove local variable MPONE.
19775 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19776 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19777 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19778
2c8bfe7d
DM
197792012-12-25 David S. Miller <davem@davemloft.net>
19780
19781 * version.h (RELEASE): Set to "development".
19782 (VERSION): Set to "2.17.90".
19783 * NEWS: Add 2.18 section.
19784
147d03b0
DM
197852012-12-21 David S. Miller <davem@davemloft.net>
19786
19787 * po/hr.po: Update from translation team.
19788
a8ebb2b9
AK
197892012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19790
19791 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19792
95b4f1b6
SE
197932012-12-19 Steve Ellcey <sellcey@mips.com>
19794
b2d94007 19795 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19796
cedb2a90
MS
197972012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19798
19799 * manual/contrib.texi (Contributors): Spelling correction.
19800
bbf527d6
DM
198012012-12-15 David S. Miller <davem@davemloft.net>
19802
19803 * po/ru.po: Update from translation team.
19804
bc38c906
DM
198052012-12-13 David S. Miller <davem@davemloft.net>
19806
85429b1a
DM
19807 * NEWS: Mention IFUNC testsuite enhancements.
19808
d283e353
DM
19809 * po/pl.po: Update from translation team.
19810 * po/bg.po: Likewise.
19811
bc38c906
DM
19812 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19813 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19814
a181b0d7
DM
198152012-12-11 David S. Miller <davem@davemloft.net>
19816
4641d57e
DM
19817 * po/sv.po: Update from translation team.
19818
f7bc6495
DM
19819 * po/vi.po: Update from translation team.
19820
6fc9048f
DM
19821 * po/cs.po: Update from translation team.
19822
a181b0d7
DM
19823 * po/de.po: Update from translation team.
19824 * po/eo.po: Likewise.
19825 * po/nl.po: Likewise.
19826
f70bfe80
SP
198272012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19828
3c8b4190
SP
19829 [BZ #14246]
19830 * manual/argp.texi (Argp Helper Functions): Move node to follow
19831 Argp Parsing State.
19832
f70bfe80
SP
19833 [BZ #14872]
19834 * manual/conf.texi (Limits on File System Capacity): Mention if
19835 terminating null is included in the max size.
19836
188f0adf
AJ
198372012-12-10 Andreas Jaeger <aj@suse.de>
19838
19839 * po/cs.po: Update from translation team.
19840
56e7d3ad
SP
198412012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19842
19843 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19844 void pointer and cast to uintptr_t.
19845 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19846 path.
19847 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19848 * sysdeps/s390/s390-64/memset.S: Likewise.
19849
76f2d2ea 198502012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19851
19852 [BZ #14833]
19853 * menual/message.texi (Message Translation): Fix typos.
19854 (Helper programs for gettext): Likewise.
19855
67cbf9a2
AS
198562012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19857
19858 [BZ #14898]
19859 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19860 Change to -1.
19861
682d0e9a
DM
198622012-12-07 David S. Miller <davem@davemloft.net>
19863
19864 * po/libc.pot: Update.
19865
573cd484
RH
198662012-12-07 Richard Henderson <rth@redhat.com>
19867
7e9da188 19868 [BZ #10114]
573cd484
RH
19869 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19870 normal/normal case to before the switch.
19871 (_FP_DIV): Likewise.
19872
e933a943
MF
198732012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19874 Mike Frysinger <vapier@gentoo.org>
19875
19876 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19877 check for __NR_fadvise64_64.
19878
82123268
CM
198792012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19880
19881 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19882 0, not just to plain "0" as a statement.
19883 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19884 with cw.
19885
d9814526
JM
198862012-12-06 Joseph Myers <joseph@codesourcery.com>
19887
19888 * NEWS: Use sourceware.org in Bugzilla URL.
19889
7728c574
SP
198902012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19891
f16946dd
SP
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19893 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19894
5704bbcb
SP
19895 * stdio-common/tst-put-error.c (do_test): Add newline to the
19896 padded test to ensure flush.
19897
17aa0516
JL
198982012-12-05 Jeff Law <law@redhat.com>
19899
19900 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19901
363313b5
JM
199022012-12-05 Joseph Myers <joseph@codesourcery.com>
19903
effbd42a
JM
19904 * README: Don't refer to ports add-on as distributed separately.
19905 Mention AArch64 in list of systems supported in the ports add-on.
19906
87600365
JM
19907 * LICENSES: Add more non-FSF copyright and license notices.
19908
a0d7066a
JM
19909 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19910 ((unused)).
19911
66ca5a5b
JM
19912 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19913
363313b5
JM
19914 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19915 10000 as width of padded output.
19916
b37984ad
JM
199172012-12-04 Joseph Myers <joseph@codesourcery.com>
19918
9003570a
JM
19919 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19920
b37984ad
JM
19921 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19922 variable LX with __attribute__ ((unused)).
19923 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19924 Likewise.
19925 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19927 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19928 with __attribute__ ((unused)).
19929
c8df52ec
DM
199302012-12-04 David S. Miller <davem@abraco.davemloft.net>
19931
19932 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19933
b3b099af
JM
199342012-12-04 Joseph Myers <joseph@codesourcery.com>
19935
c33aa6e3
JM
19936 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19937 (CFLAGS-nldbl-acos.c): New variable.
19938 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19939 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19940 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19941 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19942 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19943 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19944 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19945 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19946 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19947 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19948 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19949 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19950 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19951 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19952 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19953 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19954 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19955 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19956 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19957 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19958 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19959 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19960 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19961 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19962 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19963 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19964 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19965 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19966 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19967 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19968 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19969 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19970 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19971 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19972 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19973 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19974 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19975 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19976 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19977 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19978 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19979 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19980 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19981 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19982 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19983 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19984 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19985 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19986 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19987 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19988 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19989 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19990 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19991 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19992 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19993 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19994 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19995 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19996 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19997 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19998 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19999 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20000 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20001 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20002 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20003 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20004 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20005 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20006 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20007 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20008 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20009 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20010 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20011 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20012 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20013 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20014 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20015 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20016 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20017 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20018 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20019 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20020 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20021 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20022 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20023 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20024 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20025 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20026 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20027 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20028 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20029 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20030 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20031 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20032 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20033 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20034 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20035
20f0018d
JM
20036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20037 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20038
b3b099af
JM
20039 [BZ #14914]
20040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20041 whole low double instead of just low 47 bits when splitting values
20042 into two parts.
20043
029264d1
AM
200442012-12-03 Allan McRae <allan@archlinux.org>
20045
20046 * manual/stdio.texi (Predefined Printf Handlers): Remove
20047 @hsep and @vsep usage.
20048
c9d6789e
MF
200492012-12-03 Mike Frysinger <vapier@gentoo.org>
20050
20051 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20052 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20053
4b7634a5
JL
200542012-12-03 Jeff Law <law@redhat.com>
20055
20056 * time/sys/time.h (settimeofday): Do not mark TV argument
20057 as __nonnull.
20058
eb6cbd24
MF
200592012-12-01 Mike Frysinger <vapier@gentoo.org>
20060
20061 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20062 when currently writing and seek to current position when not.
20063 * libio/Makefile (tests): Remove bug-fclose1.
20064 * libio/bug-fclose1.c: Delete.
20065
f638872a
JM
200662012-12-01 Joseph Myers <joseph@codesourcery.com>
20067
20068 * manual/arith.texi (feenableexcept): Fix typo.
20069 (fedisableexcept): Likewise.
20070
48085d14
RM
200712012-11-30 Roland McGrath <roland@hack.frob.com>
20072
20073 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20074 second, differently-typed declaration, rather than a cast.
20075
1a538b9f
SP
200762012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20077
20078 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20079 * include/rpc/svc.h: ... here.
20080
d07f2ff1 200812012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20082
20083 [BZ #13013]
20084 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20085 depending n and resplen2 to catch cases where answer
20086 equals answerp2.
20087
c93ec1f0
CD
200882012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20089
20090 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20091 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20092
37db69de
MF
200932012-11-29 Mike Frysinger <vapier@gentoo.org>
20094
20095 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20096
e10c4e4f
RM
200972012-11-29 Roland McGrath <roland@hack.frob.com>
20098
20099 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20100
2af1b328
JL
201012012-11-28 Jeff Law <law@redhat.com>
20102
20103 [BZ #13761]
20104 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20105 dataset_temporary. Track alloca usage into alloca_used.
20106 If dataset is large allocate and release it via malloc/free.
20107
111db5b1
FW
201082012-06-04 Florian Weimer <fweimer@redhat.com>
20109
f06cc227 20110 [BZ #14197]
111db5b1
FW
20111 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20112
dd694abd
DM
201132012-11-28 David S. Miller <davem@davemloft.net>
20114
20115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20116
9984dd01
JM
201172012-11-28 Joseph Myers <joseph@codesourcery.com>
20118
20119 [BZ #14803]
20120 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20121 of pi/2 rounded to nearest to 64 bits.
20122 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20123 nearest to 64 bits.
20124 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20125 bits.
20126
14bc93a9
JL
201272012-11-28 Jeff Law <law@redhat.com>
20128 Martin Osvald <mosvald@redhat.com>
20129
20130 [BZ #14889]
20131 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20132 * sunrpc/svc.c: Include time.h.
20133 (__svc_accept_failed): New function.
20134 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20135 any reason other than EINTR, call __svc_accept_failed.
20136 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20137 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20138
e3c6aa3a
AS
201392012-11-28 Andreas Schwab <schwab@suse.de>
20140
20141 * scripts/abilist.awk: Also handle indirect functions in .opd
20142 section.
20143
1bead169
JM
201442012-11-28 Joseph Myers <joseph@codesourcery.com>
20145
20146 [BZ #13881]
20147 * sysdeps/x86/fpu/powl_helper.c: New file.
20148 * sysdeps/x86/fpu/Makefile: Likewise.
20149 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20150 (p3): New object.
20151 (__ieee754_powl): Use __powl_helper for finite arguments except
20152 integer exponents below 8.
20153 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20154 (p3): New object.
20155 (__ieee754_powl): Use __powl_helper for finite arguments except
20156 integer exponents below 8.
20157 * math/libm-test.inc (pow_test): Add more tests and enable some
20158 previously disabled tests.
20159 * sysdeps/i386/fpu/libm-test-ulps: Update.
20160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20161
0817d63d
SP
201622012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20163 Carlos O'Donell <carlos_odonell@mentor.com>
20164
20165 * nss/makedb.c (is_prime): Assert that input is odd and greater
20166 than 4. Note that fact in a comment too.
20167 (next_prime): Add 4 to input.
20168
de2fd463
SP
201692012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20170
20171 [BZ #11741]
20172 * libio/Makefile (tests): Add test case tst-fwrite-error.
20173 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20174 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20175 * libio/tst-fwrite-error.c: New test case.
20176
c515fb51
L
201772012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20178
20179 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20180 before casting to void *.
20181 * include/libc-internal.h (__pointer_type): New macro.
20182 (__integer_if_pointer_type_sub): Likewise.
20183 (__integer_if_pointer_type): Likewise.
20184 (cast_to_integer): Likewise.
20185 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20186 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20187 before casting to atomic64_t.
20188 (atomic_exchange_acq): Likewise.
20189 (__arch_exchange_and_add_body): Likewise.
20190 (__arch_add_body): Likewise.
20191 (atomic_add_negative): Likewise.
20192 (atomic_add_zero): Likewise.
20193
4cf77aa9
JM
201942012-11-26 Joseph Myers <joseph@codesourcery.com>
20195
20196 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20197 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20198 (add_fdes): Likewise.
20199 (linear_search_fdes): Likewise.
20200 (binary_search_unencoded_fdes): Likewise.
20201
d260b3b4
AS
202022012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20203
20204 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20205
67060746
AC
202062012-11-24 Adam Conrad <adconrad@0c3.net>
20207
20208 * configure.in: Autodetect C++ header directories.
20209 * configure: Regenerated.
20210
800938a1
MF
202112012-11-23 Mike Frysinger <vapier@gentoo.org>
20212
20213 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20214
4e6e34e6
AS
202152012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20216
20217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20218
7c7feb47
JM
202192012-11-22 Joseph Myers <joseph@codesourcery.com>
20220
7184dcdf
JM
20221 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20222 LDBL_MANT_DIG == 106]: Disable some tests.
20223 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20224 Likewise.
20225 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20226 Likewise.
20227
0a42601f
JM
20228 [BZ #14871]
20229 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20230 input for small inputs. Return +/- pi/2 for large inputs.
20231 * math/libm-test.inc (atan_test): Add more tests.
20232
79c9b9fe
JM
20233 * sysdeps/generic/unwind-dw2-fde-glibc.c
20234 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20235 __attribute__ ((unused)).
20236
c60d3bf2
JM
20237 [BZ #14645]
20238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20239 x * y if x and y are nonzero and z is zero.
20240
ef1e0867
JM
20241 [BZ #14811]
20242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20243 nonzero exponents with absolute value below 0x1p-117 to +/-
20244 0x1p-117.
20245
1468ded3
JM
20246 [BZ #14869]
20247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20248 up arguments below 2**-450, not just those below 2**-500.
20249 * math/libm-test.inc (hypot_test): Add another test.
20250
8e27e3cc
JM
20251 [BZ #14868]
20252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20253 Return a+b for ratio over 2**120, not 2**60.
20254 * math/libm-test.inc (hypot_test): Add another test.
20255
c9c0279b
JM
20256 * math/libm-test.inc (clog_test): Use
20257 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20258 (clog10_test): Likewise.
20259
7c7feb47
JM
20260 [BZ #6778]
20261 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20262
fff1530e
AS
202632012-11-22 Andreas Schwab <schwab@suse.de>
20264
20265 * sysdeps/i386/fpu/libm-test-ulps: Update.
20266
94558d30
PT
202672012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20268
20269 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20270 printf output with newline.
20271
7e1be741
L
202722012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20273
6bfea974
L
20274 [BZ #14865]
20275 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20276 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20277 -z nodlopen, -z initfirst and -z execstack support.
20278 * configure: Regenerated.
20279
7e1be741
L
20280 * elf/elf.h (DF_1_NODIRECT): New macro.
20281 (DF_1_IGNMULDEF): Likewise.
20282 (DF_1_NOKSYMS): Likewise.
20283 (DF_1_NOHDR): Likewise.
20284 (DF_1_EDITED): Likewise.
20285 (DF_1_NORELOC): Likewise.
20286 (DF_1_SYMINTPOSE): Likewise.
20287 (DF_1_GLOBAUDIT): Likewise.
20288 (DF_1_SINGLETON): Likewise.
20289 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20290 DT_1_SUPPORTED_MASK bits.
20291 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20292
105ce2ce
CD
202932012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20294
20295 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20296
123be9de
TS
202972012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20298
d072f3f7
TS
20299 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20300 macro.
20301
123be9de
TS
20302 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20303 (sendmmsg): Move declarations...
20304 * socket/sys/socket.h: ... here.
20305 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20306 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20307 include it from...
20308 * socket/recvmmsg.c: ... this new file.
20309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20310 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20311 definition of __sendmmsg hidden.
20312 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20313 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20314 Move ENOSYS stub into and include it from...
20315 * socket/sendmmsg.c: ... this new file.
20316 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20317 (sysdep_routines): Move recvmmsg and sendmmsg...
20318 * socket/Makefile (routines): ... here.
20319 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20320 (GLIBC_PRIVATE): Add __sendmmsg.
20321 * include/sys/socket.h (__sendmmsg): Add declarations.
20322 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20323 sendmmsg.
20324
cf9a5d18
JM
203252012-11-20 Joseph Myers <joseph@codesourcery.com>
20326
20327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20328 variable I1 with __attribute__ ((unused)).
20329 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20330
ecd4caf9
JM
203312012-11-19 Joseph Myers <joseph@codesourcery.com>
20332
be14d48f
JM
20333 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20334 DUMMY variables with __attribute__ ((unused)).
20335
ecd4caf9
JM
20336 * bits/byteswap.h: Include <bits/types.h>.
20337 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20338
986cab95
PT
203392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20340
20341 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20342 string_t. Do not manually set errno.
20343 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20344 length with __strnlen. Make sure to both set errno and return it on
20345 failure.
20346
6d33cc9d
DM
203472012-11-19 David S. Miller <davem@davemloft.net>
20348
20349 With help from Joseph Myers.
20350 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20351 very large arguments properly.
20352 * math/libm-test.inc (atan_test): New tests.
20353 (atan2_test): New tests.
20354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20356
ee663277
JM
203572012-11-19 Joseph Myers <joseph@codesourcery.com>
20358
877f2d8e
JM
20359 [BZ #14856]
20360 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20361 Define to 3.
20362
116fc08a
JM
20363 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20364 [POSIX] (EADDRNOTAVAIL): Likewise.
20365 [POSIX] (EAFNOSUPPORT): Likewise.
20366 [POSIX] (EALREADY): Likewise.
20367 [POSIX] (ECONNABORTED): Likewise.
20368 [POSIX] (ECONNREFUSED): Likewise.
20369 [POSIX] (ECONNRESET): Likewise.
20370 [POSIX] (EDESTADDRREQ): Likewise.
20371 [POSIX] (EDQUOT): Likewise.
20372 [POSIX] (EHOSTUNREACH): Likewise.
20373 [POSIX] (EIDRM): Likewise.
20374 [POSIX] (EISCONN): Likewise.
20375 [POSIX] (ELOOP): Likewise.
20376 [POSIX] (EMULTIHOP): Likewise.
20377 [POSIX] (ENETDOWN): Likewise.
20378 [POSIX] (ENETUNREACH): Likewise.
20379 [POSIX] (ENOBUFS): Likewise.
20380 [POSIX] (ENODATA): Likewise.
20381 [POSIX] (ENOLINK): Likewise.
20382 [POSIX] (ENOMSG): Likewise.
20383 [POSIX] (ENOPROTOOPT): Likewise.
20384 [POSIX] (ENOSR): Likewise.
20385 [POSIX] (ENOSTR): Likewise.
20386 [POSIX] (ENOTCONN): Likewise.
20387 [POSIX] (ENOTSOCK): Likewise.
20388 [POSIX] (EOPNOTSUPP): Likewise.
20389 [POSIX] (EOVERFLOW): Likewise.
20390 [POSIX] (EPROTO): Likewise.
20391 [POSIX] (EPROTONOSUPPORT): Likewise.
20392 [POSIX] (EPROTOTYPE): Likewise.
20393 [POSIX] (ESTALE): Likewise.
20394 [POSIX] (ETIME): Likewise.
20395 [POSIX] (ETXTBSY): Likewise.
20396 [POSIX] (EWOULDBLOCK): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20398 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20399 [POSIX] (SEEK_CUR): Likewise.
20400 [POSIX] (SEEK_END): Likewise.
20401 [POSIX || UNIX98] (mode_t): Do not require.
20402 [POSIX] (off_t): Likewise.
20403 [POSIX] (pid_t): Likewise.
20404 [POSIX] (sys/stat.h): Do not allow header.
20405 [POSIX] (unistd.h): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20407 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20409 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20410 require.
20411 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20412 sigevent): Specify elements.
20413 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20414 entry.
20415 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20416 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20417
a483863f
JM
20418 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20419 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20420 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20421 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20422 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20423 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20424 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20425 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20426 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20427 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20428 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20429 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20430 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20432 Likewise.
20433 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20434 Likewise.
20435 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20436 Likewise.
20437 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20438 Likewise.
20439 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20441 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20442 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20443 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20444 Specify lower bound on value.
20445 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20446 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20447 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20448 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20449 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20450 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20451 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20452 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20453 value.
20454 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20455 as optional.
20456 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20457 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20458 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20459 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20460 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20461 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20462 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20463 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20464 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20465 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20466 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20467 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20468 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20469 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20470 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20471 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20472 entry.
20473 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20474 optional.
20475 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20476 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20477 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20478 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20479 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20480 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20481 Likewise.
20482 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20483 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20484 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20485 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20486 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20487 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20488 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20489 as optional.
20490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20491 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20493 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20494 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20495 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20496 specify as optional.
20497 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20498 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20499 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20500 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20501 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20502 [XPG3] (NL_LANGMAX): Likewise.
20503 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20504 [POSIX || XPG3] (NL_NMAX): Likewise.
20505 [POSIX || XPG3] (NL_SETMAX): Likewise.
20506 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20507 [XPG3] (NZERO): Likewise.
20508 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20509 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20510 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20511 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20512 (REG_ERANGE): Expect.
20513 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20514 optional-constant.
20515 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20516 Use (void) in prototype.
20517 [POSIX] (*_t): Allow.
20518 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20519 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20520 (WRDE_BADVAL): Expect.
20521
5ba924e3
JM
20522 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20523 expect.
20524 [XPG3 || XPG4] (O_RSYNC): Likewise.
20525 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20526 Likewise.
20527 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20528 [XPG3 || XPG4] (sigqueue): Likewise.
20529 [XPG3 || XPG4] (sigtimedwait): Likewise.
20530 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20531 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20532 [XPG3 || XPG4] (vsnprintf): Likewise.
20533 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20534 Likewise.
20535 [XPG3 || XPG4] (blksize_t): Likewise.
20536 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20537 Likewise.
20538 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20539 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20540 [XPG3 || XPG4] (struct itimerspec): Likewise.
20541 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20542 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20543 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20544 [XPG3 || XPG4] (clockid_t): Likewise.
20545 [XPG3 || XPG4] (timer_t): Likewise.
20546 [XPG3 || XPG4] (clock_getres): Likewise.
20547 [XPG3 || XPG4] (clock_gettime): Likewise.
20548 [XPG3 || XPG4] (clock_settime): Likewise.
20549 [XPG3 || XPG4] (nanosleep): Likewise.
20550 [XPG3 || XPG4] (timer_create): Likewise.
20551 [XPG3 || XPG4] (timer_delete): Likewise.
20552 [XPG3 || XPG4] (timer_gettime): Likewise.
20553 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20554 [XPG3 || XPG4] (timer_settime): Likewise.
20555 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20556 [XPG3 || XPG4] (getlogin_r): Likewise.
20557 [XPG3 || XPG4] (pread): Likewise.
20558 [XPG3 || XPG4] (pthread_atfork): Likewise.
20559 [XPG3 || XPG4] (pwrite): Likewise.
20560
ee663277
JM
20561 [BZ #14835]
20562 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20563 <bits/siginfo.h>.
20564
942caa16
PT
205652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20566
e19af380
PT
20567 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20568 finalizing MALLSTREAM.
20569
942caa16
PT
20570 * sysdeps/mach/hurd/syncfs.c: New file.
20571
cfde9b46
SP
205722012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20573
20574 [BZ #14719]
20575 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20576 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20577 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20578 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20579 (_nss_dns_gethostbyname4_r): Likewise.
20580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20581 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20582
f6da27e5
PH
205832012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20584
20585 [BZ #13763]
20586 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20587
6665d4a2
SM
205882012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20589
1f51ee92
SM
20590 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20591 * elf/cache.c (print_entry): Print ",AArch64" for
20592 FLAG_AARCH64_LIB64
20593
6665d4a2
SM
20594 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20595 * elf/cache.c (print_entry): Print ",hard-float" for
20596 FLAG_ARM_LIBHF.
20597
05b227bd
DM
205982012-11-18 David S. Miller <davem@davemloft.net>
20599
20600 With help from Joseph Myers.
20601 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20602 cutoff to 2**-13.
20603 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20604 cutoff to 2**-25.
20605 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20606 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20607 small.
20608 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20609 * math/libm-test.inc (y0_test): New tests.
20610 (y1_test): New tests.
20611 * sysdeps/i386/fpu/libm-test-ulps: Update.
20612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20614
786b0b67
AS
206152012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20616
20617 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20618 64-bit targets.
20619 * configure: Regenerated.
20620
8e18b86d
DM
206212012-11-17 David S. Miller <davem@davemloft.net>
20622
20623 [BZ #14811]
20624 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20625 nonzero exponents with absolute value below 0x1p-128 to +/-
20626 0x1p-128.
20627
531f1ae0
JM
206282012-11-17 Joseph Myers <joseph@codesourcery.com>
20629
12df29e2
JM
20630 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20631
150dc1a0
JM
20632 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20633
531f1ae0
JM
20634 * posix/getconf-speclist.c: New file.
20635 * posix/posix-envs.def: Likewise.
20636 * posix/confstr.c (START_ENV_GROUP): New macro.
20637 (END_ENV_GROUP): Likewise.
20638 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20639 (KNOWN_PRESENT_ENV_STRING): Likewise.
20640 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20641 (UNKNOWN_ENVIRONMENT): Likewise.
20642 (confstr): Include posix-envs.def instead of handling
20643 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20644 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20645 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20646 (END_ENV_GROUP): Likewise.
20647 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20648 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20649 (UNKNOWN_ENVIRONMENT): Likewise.
20650 (__sysconf): Include posix-envs.def instead of handling associated
20651 cases directly here.
20652 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20653 preprocessing getconf-speclist.c rather than running getconf or
20654 generating empty file.
20655
a93f9cbc
PT
206562012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20657
20658 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20659
d64d9f87
AL
206602012-11-16 Andrej Lajovic <natrij@gmail.com>
20661
20662 [BZ #14672]
20663 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20664
447885eb
DM
206652012-11-16 David S. Miller <davem@davemloft.net>
20666
20667 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20668 smaller than LDBL_EPSILON/2.0L, just return xm1.
20669
bcbf9830
L
206702012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20671
20672 * elf/tst-array1.c (init): Set constructor priority to 1000.
20673 (fini): Set destructor priority to 1000.
20674 * elf/tst-array2dep.c: Likewise.
20675
2b766585
SP
206762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20677
20678 [BZ #11741]
20679 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20680 (_IO_new_file_xsputn): Also return EOF if none of the input
20681 data was written when overflow failed.
20682 * libio/iopadn.c (_IO_padn): Likewise.
20683 * libio/iowpadn.c (_IO_wpadn): Likewise.
20684 * stdio-common/tst-put-error.c: Add copyright notice.
20685 (do_test): Add case for printing padded string.
20686 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20687 _IO_padn returned error.
20688 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20689 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20690 return EOF.
20691
b1848fde
SP
206922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20693
20694 * libio/libioP.h: Add comment note that the references to C++
20695 bits are now obsolete.
20696
2fd89785
MS
206972012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20698
20699 * math/libm-test.inc (check_complex): Use asprintf.
20700
e3ea5409
JM
207012012-11-14 Joseph Myers <joseph@codesourcery.com>
20702
20703 * debug/pcprofiledump.c (print_version): Update copyright year.
20704 * malloc/memusagestat.c (print_version): Likewise.
20705
2e64d265
L
207062012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20707
20708 [BZ #14831]
20709 * elf/Makefile (tests): Add tst-audit8.
20710 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20711 ($(objpfx)tst-audit8.out): New target.
20712 (tst-audit8-ENV): New variable.
20713 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20714 audit if l_reloc_result is NULL.
20715 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20716 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20717 * elf/tst-audit8.c: New file.
20718
c485e4d2
MS
207192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20720
20721 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20722 * misc/Makefile (CFLAGS-select.c): Define.
20723 * posix/Makefile (CFLAGS-pause.c): Define.
20724
3a0d900a
DM
207252012-11-13 David S. Miller <davem@davemloft.net>
20726
20727 * crypt/Makefile: Move test targets after toplevel Rules
20728 inclusion. Grab any necessary sysdep routines when linking.
20729 * crypt/md5.c (md5_process_block): Remove define, we will always
20730 name it __md5_process_block.
20731 (md5_finish_ctx): Update md5_process_block call.
20732 (md5_stream): Likewise.
20733 (md5_process_bytes): Likewise.
20734 (md5_process_block): Rename to __md5_process_block and move to ...
20735 * crypt/md5-block.c: ... here.
20736 * crypt/sha256.c (sha256_process_block): Move to ...
20737 * crypt/sha256-block.c: ... here.
20738 * crypt/sha512.c (sha512_process_block): Move to ...
20739 * crypt/sha512-block.c: ... here.
20740 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20741 path.
20742 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20743 * sysdeps/sparc/sparc64/multiarch/Makefile
20744 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20745 crypt subdir.
20746 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20747 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20748 multiarch changes.
20749 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20750 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20751 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20752 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20753 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20754 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20755 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20756 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20757 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20758 file.
20759 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20760 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20761 file.
20762 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20763
8ca89318
JM
207642012-11-13 Joseph Myers <joseph@codesourcery.com>
20765
e27d476a
JM
20766 * timezone/tzselect.ksh: Update from tzcode git revision
20767 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20768 * timezone/zdump.c: Likewise.
20769 * timezone/zic.c: Likewise.
20770 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20771 in TZVERSION setting, not $(PKGVERSION).
20772 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20773 REPORT_BUGS_TO settings.
20774
8ca89318
JM
20775 [BZ #14838]
20776 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20777 macro.
20778
47594329
MS
207792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20780
20781 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20782 detection to immediately after _FP_ROUND().
20783 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20784 bits are 0.
20785
640ac3f1
DM
207862012-11-11 David S. Miller <davem@davemloft.net>
20787
20788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20789 inttypes.h
20790 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20791 __close rather than their public counterparts.
20792
3d2577bb
JM
207932012-11-10 Joseph Myers <joseph@codesourcery.com>
20794
20795 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20796 file.
20797 [UNIX98] (sem_timedwait): Do not expect.
20798 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20799 [XPG4 || UNIX98] (sockatmark): Do not expect.
20800 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20801 (clock_getcpuclockid): Do not expect.
20802 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20803 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20804 Do not expect.
20805 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20806 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20807 [UNIX98] (vwscanf): Likewise.
20808 [UNIX98] (vswscanf): Likewise.
20809
fb1ae1ee
JM
208102012-11-09 Joseph Myers <joseph@codesourcery.com>
20811
9ec6f8bd
JM
20812 * timezone/version.h: Remove file.
20813 * timezone/README: Do not refer to version.h.
20814 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20815 $(objpfx)version.h.
20816 ($(objpfx)zdump.o): Likewise.
c3f81911 20817 ($(objpfx)version.h): New target.
9ec6f8bd 20818
0aa8f8a1
JM
20819 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20820 2012i.
20821 * timezone/README: Don't mention modification to tzselect.ksh.
20822 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20823 work on unmodified tzselect.ksh. Substitute version numbers in
20824 tzselect.ksh.
20825
4e87147f
JM
20826 * Makefile (format-me): Remove.
20827 (INSTALL): Adjust indentation. Use commands directly instead of
20828 using $(format-me).
20829
8b748aed
JM
20830 * aclocal.m4 (ACX_PKGVERSION): New macro.
20831 (ACX_BUGURL): Likewise.
20832 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20833 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20834 (REPORT_BUGS_TO): Likewise.
20835 * configure: Regenerated.
20836 * config.h.in (PKGVERSION): New macro.
20837 (REPORT_BUGS_TO): Likewise.
20838 * config.make.in (PKGVERSION): New variable.
20839 (PKGVERSION_TEXI): Likewise.
20840 (REPORT_BUGS_TO): Likewise.
20841 (REPORT_BUGS_TEXI): Likewise.
20842 * Makefile (format-me): Use -I$(common-objpfx)manual.
20843 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20844 ($(common-objpfx)manual/%): New target.
20845 (manual/%): Remove target.
20846 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20847 (print_version): Use PKGVERSION.
20848 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20849 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20850 and REPORT_BUGS_TO.
20851 ($(objpfx)xtrace): Likewise.
20852 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20853 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20854 (print_version): Use PKGVERSION.
20855 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20856 (do_version): Use PKGVERSION.
20857 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20858 REPORT_BUGS_TO.
20859 (common-ldd-rewrite): Likewise.
20860 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20861 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20862 (print_version): Use PKGVERSION.
20863 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20864 * elf/pldd.c (argp_program_bug_address): Remove variable.
20865 (more_help): New function.
20866 (argp): Use more_help.
20867 (print_version): Use PKGVERSION.
20868 * elf/sln.c (main): Use PKGVERSION.
20869 (usage): Use REPORT_BUGS_TO.
20870 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20871 (top level): Use PKGVERSION.
20872 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20873 (print_version): Use PKGVERSION.
20874 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20875 (print_version): Use PKGVERSION.
20876 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20877 (print_version): Use PKGVERSION.
20878 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20879 (print_version): Use PKGVERSION.
20880 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20881 (print_version): Use PKGVERSION.
20882 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20883 (print_version): Use PKGVERSION.
20884 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20885 and BUGURL.
20886 ($(objpfx)memusage): Likewise.
20887 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20888 (do_version): Use PKGVERSION.
20889 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20890 (print_version): Use PKGVERSION.
20891 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20892 ($PKGVERSION): New variable.
20893 ($REPORT_BUGS_TO): Likewise.
20894 (usage): Use $REPORT_BUGS_TO.
20895 (top level): Use $PKGVERSION.
20896 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20897 ($(objpfx)pkgvers.texi): New rule.
20898 ($(objpfx)stamp-pkgvers): Likewise.
20899 * manual/install.texi: Include pkgvers.texi.
20900 (--with-pkgversion): Document new configure option.
20901 (--with-bugurl): Likewise.
20902 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20903 than necessarily for this particular distribution. Use
20904 REPORT_BUGS_TO for where to report bugs.
20905 * INSTALL: Regenerated.
20906 * manual/libc.texinfo: Include pkgvers.texi.
20907 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20908 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20909 (print_version): Use PKGVERSION.
20910 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20911 (print_version): Use PKGVERSION.
20912 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20913 (print_version): Use PKGVERSION.
20914 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20915 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20916 macro.
20917 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20918 (print_version): Use PKGVERSION.
20919 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20920 (print_version): Use PKGVERSION.
20921 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20922 and PKGVERSION.
20923
92e4b6a9
JM
20924 * timezone/checktab.awk: Update from tzcode 2012i.
20925 * timezone/ialloc.c: Likewise.
20926 * timezone/private.h: Likewise.
20927 * timezone/scheck.c: Likewise.
20928 * timezone/tzfile.h: Likewise.
20929 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20930 (TZVERSION): Hardcode tzcode version number.
20931 * timezone/zdump.c: Update from tzcode 2012i.
20932 * timezone/zic.c: Likewise.
20933 * timezone/version.h: New file.
20934 * timezone/README: Describe version.h. Update upstream location.
20935
9bde902c
JM
20936 [BZ #14824]
20937 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20938 (mktemp): Enable declaration.
20939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20943 Likewise.
20944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20945 Likewise.
20946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20947 Likewise.
20948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20949 Likewise.
20950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20951 Likewise.
20952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20953 Likewise.
20954
fb1ae1ee
JM
20955 [BZ #14821]
20956 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20957 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20958 for copies of such integer values.
20959 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20960 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20961
2c1adbcb
AJ
209622012-11-09 Andreas Jaeger <aj@suse.de>
20963
20964 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20965 definitions and declarations that are provided by
20966 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20967
d0f8457e
AK
209682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20969
3a235abb 20970 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20971 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20972 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20973 definition.
20974
57241e26
MS
209752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20976
20977 * elf/elf.h: Update comment before AArch64 relocations.
20978
60e8270d
DM
209792012-11-07 David S. Miller <davem@davemloft.net>
20980
20981 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20982 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20983 (__start_context): Declare.
20984 (__makecontext_ret): Delete.
20985 (__makecontext): Hook up __start_context instead of
20986 __makecontext_ret.
20987 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20988 (sysdep_routines): Add __start_context when in stdlib.
20989
0fbb0fbc
JM
209902012-11-07 Joseph Myers <joseph@codesourcery.com>
20991
20992 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20993 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20994 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20995 hardcoded "nm".
20996 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20997 (READELF): New variable. Use it instead of hardcoded "readelf".
20998
eb48db7e
L
209992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21002 * sysdeps/x86/Makefile: Here.
21003 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21004 * sysdeps/x86/tst-xmmymm.sh: This.
21005
05bcf62a
JM
210062012-11-07 Joseph Myers <joseph@codesourcery.com>
21007
c4b6cf53
JM
21008 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21009 expectations.
21010 [UNIX98] (pthread_barrier_t): Do not expect.
21011 [UNIX98] (pthread_barrierattr_t): Likewise.
21012 [UNIX98] (pthread_spinlock_t): Likewise.
21013 [UNIX98] (pthread_barrier_destroy): Likewise.
21014 [UNIX98] (pthread_barrier_init): Likewise.
21015 [UNIX98] (pthread_barrier_wait): Likewise.
21016 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21017 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21018 [UNIX98] (pthread_barrierattr_init): Likewise.
21019 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21020 [UNIX98] (pthread_getcpuclockid): Likewise.
21021 [UNIX98] (pthread_mutex_timedlock): Likewise.
21022 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21023 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21024 [UNIX98] (pthread_sigmask): Likewise.
21025 [UNIX98] (pthread_spin_destroy): Likewise.
21026 [UNIX98] (pthread_spin_init): Likewise.
21027 [UNIX98] (pthread_spin_lock): Likewise.
21028 [UNIX98] (pthread_spin_trylock): Likewise.
21029 [UNIX98] (pthread_spin_unlock): Likewise.
21030 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21031 Do not expect.
21032 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21034 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21035 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21036 [XPG3 || XPG4] (pthread_key_t): Likewise.
21037 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21038 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21039 [XPG3 || XPG4] (pthread_once_t): Likewise.
21040 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21041 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21043 [XPG3 || XPG4] (pthread_t): Likewise.
21044
cbe6e120
JM
21045 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21046 not expect.
21047 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21048
1b126443
JM
21049 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21050 Change function return type to int.
21051
b961a573
JM
21052 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21053 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21054 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21055 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21056 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21057 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21058 [!POSIX] (posix_madvise): Likewise.
21059 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21060 && !UNIX98].
21061 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21062 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21063 (mode_t): Likewise.
21064 (posix_mem_offset): Likewise.
21065 (posix_typed_mem_get_info): Likewise.
21066 (posix_typed_mem_open): Likewise.
21067
9e188909
JM
21068 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21069 Change condition to [XOPEN2K8].
21070
05bcf62a
JM
21071 * conform/conformtest.pl: Preprocess allow-header data with -x c
21072 instead of from stdin.
21073 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21074 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21075 [C99-based standards] (cerfc): Likewise.
21076 [C99-based standards] (cexp2): Likewise.
21077 [C99-based standards] (cexpm1): Likewise.
21078 [C99-based standards] (clog10): Likewise.
21079 [C99-based standards] (clog1p): Likewise.
21080 [C99-based standards] (clog2): Likewise.
21081 [C99-based standards] (clgamma): Likewise.
21082 [C99-based standards] (ctgamma): Likewise.
21083 [C99-based standards] (cerff): Likewise.
21084 [C99-based standards] (cerfcf): Likewise.
21085 [C99-based standards] (cexp2f): Likewise.
21086 [C99-based standards] (cexpm1f): Likewise.
21087 [C99-based standards] (clog10f): Likewise.
21088 [C99-based standards] (clog1pf): Likewise.
21089 [C99-based standards] (clog2f): Likewise.
21090 [C99-based standards] (clgammaf): Likewise.
21091 [C99-based standards] (ctgammaf): Likewise.
21092 [C99-based standards] (cerfl): Likewise.
21093 [C99-based standards] (cerfcl): Likewise.
21094 [C99-based standards] (cexp2l): Likewise.
21095 [C99-based standards] (cexpm1l): Likewise.
21096 [C99-based standards] (clog10l): Likewise.
21097 [C99-based standards] (clog1pl): Likewise.
21098 [C99-based standards] (clog2l): Likewise.
21099 [C99-based standards] (clgammal): Likewise.
21100 [C99-based standards] (ctgammal): Likewise.
21101 * conform/data/inttypes.h-data [C99-based standards]: Include
21102 stdint.h-data. Remove all expectations for stdint.h contents.
21103 [C99-based standards] (PRI*): Do not allow.
21104 [C99-based standards] (SCN*): Likewise.
21105 [C99-based standards] (*_t): Likewise.
21106 [C99-based-standards] (PRId8): Expect macro.
21107 [C99-based-standards] (PRIi8): Likewise.
21108 [C99-based-standards] (PRIo8): Likewise.
21109 [C99-based-standards] (PRIu8): Likewise.
21110 [C99-based-standards] (PRIx8): Likewise.
21111 [C99-based-standards] (PRIX8): Likewise.
21112 [C99-based-standards] (SCNd8): Likewise.
21113 [C99-based-standards] (SCNi8): Likewise.
21114 [C99-based-standards] (SCNo8): Likewise.
21115 [C99-based-standards] (SCNu8): Likewise.
21116 [C99-based-standards] (SCNx8): Likewise.
21117 [C99-based-standards] (PRIdLEAST8): Likewise.
21118 [C99-based-standards] (PRIiLEAST8): Likewise.
21119 [C99-based-standards] (PRIoLEAST8): Likewise.
21120 [C99-based-standards] (PRIuLEAST8): Likewise.
21121 [C99-based-standards] (PRIxLEAST8): Likewise.
21122 [C99-based-standards] (PRIXLEAST8): Likewise.
21123 [C99-based-standards] (SCNdLEAST8): Likewise.
21124 [C99-based-standards] (SCNiLEAST8): Likewise.
21125 [C99-based-standards] (SCNoLEAST8): Likewise.
21126 [C99-based-standards] (SCNuLEAST8): Likewise.
21127 [C99-based-standards] (SCNxLEAST8): Likewise.
21128 [C99-based-standards] (PRIdFAST8): Likewise.
21129 [C99-based-standards] (PRIiFAST8): Likewise.
21130 [C99-based-standards] (PRIoFAST8): Likewise.
21131 [C99-based-standards] (PRIuFAST8): Likewise.
21132 [C99-based-standards] (PRIxFAST8): Likewise.
21133 [C99-based-standards] (PRIXFAST8): Likewise.
21134 [C99-based-standards] (SCNdFAST8): Likewise.
21135 [C99-based-standards] (SCNiFAST8): Likewise.
21136 [C99-based-standards] (SCNoFAST8): Likewise.
21137 [C99-based-standards] (SCNuFAST8): Likewise.
21138 [C99-based-standards] (SCNxFAST8): Likewise.
21139 [C99-based-standards] (PRId16): Likewise.
21140 [C99-based-standards] (PRIi16): Likewise.
21141 [C99-based-standards] (PRIo16): Likewise.
21142 [C99-based-standards] (PRIu16): Likewise.
21143 [C99-based-standards] (PRIx16): Likewise.
21144 [C99-based-standards] (PRIX16): Likewise.
21145 [C99-based-standards] (SCNd16): Likewise.
21146 [C99-based-standards] (SCNi16): Likewise.
21147 [C99-based-standards] (SCNo16): Likewise.
21148 [C99-based-standards] (SCNu16): Likewise.
21149 [C99-based-standards] (SCNx16): Likewise.
21150 [C99-based-standards] (PRIdLEAST16): Likewise.
21151 [C99-based-standards] (PRIiLEAST16): Likewise.
21152 [C99-based-standards] (PRIoLEAST16): Likewise.
21153 [C99-based-standards] (PRIuLEAST16): Likewise.
21154 [C99-based-standards] (PRIxLEAST16): Likewise.
21155 [C99-based-standards] (PRIXLEAST16): Likewise.
21156 [C99-based-standards] (SCNdLEAST16): Likewise.
21157 [C99-based-standards] (SCNiLEAST16): Likewise.
21158 [C99-based-standards] (SCNoLEAST16): Likewise.
21159 [C99-based-standards] (SCNuLEAST16): Likewise.
21160 [C99-based-standards] (SCNxLEAST16): Likewise.
21161 [C99-based-standards] (PRIdFAST16): Likewise.
21162 [C99-based-standards] (PRIiFAST16): Likewise.
21163 [C99-based-standards] (PRIoFAST16): Likewise.
21164 [C99-based-standards] (PRIuFAST16): Likewise.
21165 [C99-based-standards] (PRIxFAST16): Likewise.
21166 [C99-based-standards] (PRIXFAST16): Likewise.
21167 [C99-based-standards] (SCNdFAST16): Likewise.
21168 [C99-based-standards] (SCNiFAST16): Likewise.
21169 [C99-based-standards] (SCNoFAST16): Likewise.
21170 [C99-based-standards] (SCNuFAST16): Likewise.
21171 [C99-based-standards] (SCNxFAST16): Likewise.
21172 [C99-based-standards] (PRId32): Likewise.
21173 [C99-based-standards] (PRIi32): Likewise.
21174 [C99-based-standards] (PRIo32): Likewise.
21175 [C99-based-standards] (PRIu32): Likewise.
21176 [C99-based-standards] (PRIx32): Likewise.
21177 [C99-based-standards] (PRIX32): Likewise.
21178 [C99-based-standards] (SCNd32): Likewise.
21179 [C99-based-standards] (SCNi32): Likewise.
21180 [C99-based-standards] (SCNo32): Likewise.
21181 [C99-based-standards] (SCNu32): Likewise.
21182 [C99-based-standards] (SCNx32): Likewise.
21183 [C99-based-standards] (PRIdLEAST32): Likewise.
21184 [C99-based-standards] (PRIiLEAST32): Likewise.
21185 [C99-based-standards] (PRIoLEAST32): Likewise.
21186 [C99-based-standards] (PRIuLEAST32): Likewise.
21187 [C99-based-standards] (PRIxLEAST32): Likewise.
21188 [C99-based-standards] (PRIXLEAST32): Likewise.
21189 [C99-based-standards] (SCNdLEAST32): Likewise.
21190 [C99-based-standards] (SCNiLEAST32): Likewise.
21191 [C99-based-standards] (SCNoLEAST32): Likewise.
21192 [C99-based-standards] (SCNuLEAST32): Likewise.
21193 [C99-based-standards] (SCNxLEAST32): Likewise.
21194 [C99-based-standards] (PRIdFAST32): Likewise.
21195 [C99-based-standards] (PRIiFAST32): Likewise.
21196 [C99-based-standards] (PRIoFAST32): Likewise.
21197 [C99-based-standards] (PRIuFAST32): Likewise.
21198 [C99-based-standards] (PRIxFAST32): Likewise.
21199 [C99-based-standards] (PRIXFAST32): Likewise.
21200 [C99-based-standards] (SCNdFAST32): Likewise.
21201 [C99-based-standards] (SCNiFAST32): Likewise.
21202 [C99-based-standards] (SCNoFAST32): Likewise.
21203 [C99-based-standards] (SCNuFAST32): Likewise.
21204 [C99-based-standards] (SCNxFAST32): Likewise.
21205 [C99-based-standards] (PRId64): Likewise.
21206 [C99-based-standards] (PRIi64): Likewise.
21207 [C99-based-standards] (PRIo64): Likewise.
21208 [C99-based-standards] (PRIu64): Likewise.
21209 [C99-based-standards] (PRIx64): Likewise.
21210 [C99-based-standards] (PRIX64): Likewise.
21211 [C99-based-standards] (SCNd64): Likewise.
21212 [C99-based-standards] (SCNi64): Likewise.
21213 [C99-based-standards] (SCNo64): Likewise.
21214 [C99-based-standards] (SCNu64): Likewise.
21215 [C99-based-standards] (SCNx64): Likewise.
21216 [C99-based-standards] (PRIdLEAST64): Likewise.
21217 [C99-based-standards] (PRIiLEAST64): Likewise.
21218 [C99-based-standards] (PRIoLEAST64): Likewise.
21219 [C99-based-standards] (PRIuLEAST64): Likewise.
21220 [C99-based-standards] (PRIxLEAST64): Likewise.
21221 [C99-based-standards] (PRIXLEAST64): Likewise.
21222 [C99-based-standards] (SCNdLEAST64): Likewise.
21223 [C99-based-standards] (SCNiLEAST64): Likewise.
21224 [C99-based-standards] (SCNoLEAST64): Likewise.
21225 [C99-based-standards] (SCNuLEAST64): Likewise.
21226 [C99-based-standards] (SCNxLEAST64): Likewise.
21227 [C99-based-standards] (PRIdFAST64): Likewise.
21228 [C99-based-standards] (PRIiFAST64): Likewise.
21229 [C99-based-standards] (PRIoFAST64): Likewise.
21230 [C99-based-standards] (PRIuFAST64): Likewise.
21231 [C99-based-standards] (PRIxFAST64): Likewise.
21232 [C99-based-standards] (PRIXFAST64): Likewise.
21233 [C99-based-standards] (SCNdFAST64): Likewise.
21234 [C99-based-standards] (SCNiFAST64): Likewise.
21235 [C99-based-standards] (SCNoFAST64): Likewise.
21236 [C99-based-standards] (SCNuFAST64): Likewise.
21237 [C99-based-standards] (SCNxFAST64): Likewise.
21238 [C99-based-standards] (PRIdMAX): Likewise.
21239 [C99-based-standards] (PRIiMAX): Likewise.
21240 [C99-based-standards] (PRIoMAX): Likewise.
21241 [C99-based-standards] (PRIuMAX): Likewise.
21242 [C99-based-standards] (PRIxMAX): Likewise.
21243 [C99-based-standards] (PRIXMAX): Likewise.
21244 [C99-based-standards] (SCNdMAX): Likewise.
21245 [C99-based-standards] (SCNiMAX): Likewise.
21246 [C99-based-standards] (SCNoMAX): Likewise.
21247 [C99-based-standards] (SCNuMAX): Likewise.
21248 [C99-based-standards] (SCNxMAX): Likewise.
21249 [C99-based-standards] (PRIdPTR): Likewise.
21250 [C99-based-standards] (PRIiPTR): Likewise.
21251 [C99-based-standards] (PRIoPTR): Likewise.
21252 [C99-based-standards] (PRIuPTR): Likewise.
21253 [C99-based-standards] (PRIxPTR): Likewise.
21254 [C99-based-standards] (PRIXPTR): Likewise.
21255 [C99-based-standards] (SCNdPTR): Likewise.
21256 [C99-based-standards] (SCNiPTR): Likewise.
21257 [C99-based-standards] (SCNoPTR): Likewise.
21258 [C99-based-standards] (SCNuPTR): Likewise.
21259 [C99-based-standards] (SCNxPTR): Likewise.
21260 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21261 allow.
21262 * conform/data/stdint.h-data: Update comments to clarify
21263 requirements.
21264 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21265 type.
21266 [C99-based standards] (INT8_MAX): Likewise.
21267 [C99-based standards] (INT16_MIN): Likewise.
21268 [C99-based standards] (INT16_MAX): Likewise.
21269 [C99-based standards] (INT32_MIN): Likewise.
21270 [C99-based standards] (INT32_MAX): Likewise.
21271 [C99-based standards] (INT64_MIN): Likewise.
21272 [C99-based standards] (INT64_MAX): Likewise.
21273 [C99-based standards] (UINT8_MAX): Likewise.
21274 [C99-based standards] (UINT16_MAX): Likewise.
21275 [C99-based standards] (UINT32_MAX): Likewise.
21276 [C99-based standards] (UINT64_MAX): Likewise.
21277 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21278 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21279 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21280 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21281 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21282 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21283 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21284 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21285 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21286 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21287 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21288 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21289 [C99-based standards] (INT_FAST8_MIN): Likewise.
21290 [C99-based standards] (INT_FAST8_MAX): Likewise.
21291 [C99-based standards] (INT_FAST16_MIN): Likewise.
21292 [C99-based standards] (INT_FAST16_MAX): Likewise.
21293 [C99-based standards] (INT_FAST32_MIN): Likewise.
21294 [C99-based standards] (INT_FAST32_MAX): Likewise.
21295 [C99-based standards] (INT_FAST64_MIN): Likewise.
21296 [C99-based standards] (INT_FAST64_MAX): Likewise.
21297 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21298 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21299 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21300 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21301 [C99-based standards] (INTPTR_MIN): Likewise.
21302 [C99-based standards] (INTPTR_MAX): Likewise.
21303 [C99-based standards] (UINTPTR_MAX): Likewise.
21304 [C99-based standards] (INTMAX_MIN): Likewise.
21305 [C99-based standards] (INTMAX_MAX): Likewise.
21306 [C99-based standards] (UINTMAX_MAX): Likewise.
21307 [C99-based standards] (PTRDIFF_MIN): Likewise.
21308 [C99-based standards] (PTRDIFF_MAX): Likewise.
21309 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21310 [C99-based standards] (SIZE_MAX): Likewise.
21311 [C99-based standards] (WCHAR_MAX): Likewise.
21312 [C99-based standards] (WINT_MAX): Likewise.
21313 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21314 constraint on value.
21315 [C99-based standards] (WCHAR_MIN): Likewise.
21316 [C99-based standards] (WINT_MIN): Likewise.
21317 [C99-based standards] (*_t): Allow.
21318 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21319 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21320 Include math.h-data and complex.h-data. Remove all expectations
21321 of math.h and complex.h contents.
21322 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21323 at end of line.
21324 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21325 (struct tm): Expect tag.
21326 [C99-based-standards] (wcstof): Expect function.
21327 [C99-based-standards] (wcstold): Likewise.
21328 [C99-based-standards] (wcstoll): Likewise.
21329 [C99-based-standards] (wcstoull): Likewise.
21330 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21331 macro-int-constant. Specify type.
21332 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21333 constraint on value.
21334 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21335 Specify type.
21336 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21337 Specify value.
21338 [ISO C standards]: Do not allow headers.
21339 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21340 wcs[abcdefghijklmnopqrstuvwxyz]*.
21341 [ISO C standards] (*_t): Do not allow.
21342 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21343 Expect function.
21344 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21345 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21346 Specify type.
21347 [ISO C standards]: Do not allow headers.
21348 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21349 is[abcdefghijklmnopqrstuvwxyz]*.
21350 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21351 to[abcdefghijklmnopqrstuvwxyz]*.
21352 [ISO C standards] (*_t): Do not allow.
21353 * conform/data/stdalign.h-data: New file.
21354 * conform/data/stdbool.h-data: Likewise.
21355 * conform/data/stdnoreturn.h-data: Likewise.
21356
7514feb8
RM
213572012-11-07 Roland McGrath <roland@hack.frob.com>
21358
21359 [BZ #14815]
21360 * manual/filesys.texi (Directory Entries): Typo fix.
21361 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21362
19b2ecfc
MS
213632012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21364
21365 * elf/elf.h (EM_AARCH64): New macro.
21366 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21367 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21368 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21369 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21370 (R_AARCH64_TLSDESC): Likewise.
21371 (NT_ARM_TLS): Likewise.
21372 (NT_ARM_HW_BREAK): Likewise.
21373 (NT_ARM_HW_WATCH): Likewise.
21374
60e235ee
JM
213752012-11-07 Joseph Myers <joseph@codesourcery.com>
21376
21377 [BZ #14811]
21378 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21379 (__ieee754_powl): Saturate nonzero exponents with absolute value
21380 below 0x1p-79 to +/- 0x1p-79.
21381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21382 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21383 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21384 nonzero exponents with absolute value below 0x1p-32 to +/-
21385 0x1p-32.
21386 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21387 (__ieee754_powl): Saturate nonzero exponents with absolute value
21388 below 0x1p-79 to +/- 0x1p-79.
21389 * math/libm-test.inc (pow_test): Add more tests.
21390
0ab234b7
AK
213912012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21392
21393 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21394 _dl_s390_cap_flags with kernel. Increase string length.
21395 (_dl_s390_platforms): Add z196 and zEC12.
21396
45832f74
JM
213972012-11-07 Joseph Myers <joseph@codesourcery.com>
21398
21399 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21400 Change XOPEN21K to XOPEN2K.
21401
19218757
MK
214022012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21403
21404 * string/memmove.c: Use memcpy when possible.
21405
c5f45721
AJ
214062012-11-06 Andreas Jaeger <aj@suse.de>
21407
21408 * po/eo.po: Update from translation team.
21409
82477c28
JM
214102012-11-06 Joseph Myers <joseph@codesourcery.com>
21411
21412 [BZ #14793]
21413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21414 exponent and small x and y exponents, scale x or y up. Increase
21415 by 2 the exponent used in scaling up.
21416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21418 * math/libm-test.inc (fma_test): Add more tests.
21419 (fma_test_towardzero): Likewise.
21420 (fma_test_downward): Likewise.
21421 (fma_test_upward): Likewise.
21422
99252c8c
JM
214232012-11-05 Joseph Myers <joseph@codesourcery.com>
21424
acfa885f
JM
21425 [BZ #14805]
21426 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21427 fenv_t *.
21428
99252c8c
JM
21429 [BZ #14801]
21430 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21431 namespace for names of struct fields.
21432 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21433 fenv_t fields.
21434 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21435 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21436
d6d98dea
ST
214372012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21438
21439 [BZ #3665]
21440 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21441
e10bb107
TS
214422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21443
21444 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21445 PTR_DEMANGLE.
21446
21447 [BZ #5246]
21448 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21449 PTR_DEMANGLE.
21450
a0c2940d
JM
214512012-11-04 Joseph Myers <joseph@codesourcery.com>
21452
21453 [BZ #14797]
21454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21455 definitely overflow as x * y not x * y + z.
21456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21458 * math/libm-test.inc (fma_test): Add more tests.
21459 (fma_test_towardzero): Likewise.
21460 (fma_test_downward): Likewise.
21461 (fma_test_upward): Likewise.
21462
b830319d
TS
214632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21464
21465 [BZ #157]
21466
21467 * include/stub-tag.h: Remove file.
21468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21469 '#include' of it.
21470 * manual/maint.texi (Porting): Don't reference it.
21471 * Makerules ($(objpfx)stubs): Likewise.
21472 * dirent/closedir.c: Don't include <stub-tag.h>.
21473 * dirent/dirfd.c: Likewise.
21474 * dirent/fdopendir.c: Likewise.
21475 * dirent/getdents.c: Likewise.
21476 * dirent/getdents64.c: Likewise.
21477 * dirent/opendir.c: Likewise.
21478 * dirent/readdir.c: Likewise.
21479 * dirent/readdir64.c: Likewise.
21480 * dirent/readdir64_r.c: Likewise.
21481 * dirent/readdir_r.c: Likewise.
21482 * dirent/rewinddir.c: Likewise.
21483 * dirent/seekdir.c: Likewise.
21484 * dirent/telldir.c: Likewise.
21485 * gmon/profil.c: Likewise.
21486 * grp/setgroups.c: Likewise.
21487 * inet/if_index.c: Likewise.
21488 * io/access.c: Likewise.
21489 * io/chdir.c: Likewise.
21490 * io/chmod.c: Likewise.
21491 * io/chown.c: Likewise.
21492 * io/close.c: Likewise.
21493 * io/dup.c: Likewise.
21494 * io/dup2.c: Likewise.
21495 * io/dup3.c: Likewise.
21496 * io/euidaccess.c: Likewise.
21497 * io/faccessat.c: Likewise.
21498 * io/fchdir.c: Likewise.
21499 * io/fchmod.c: Likewise.
21500 * io/fchmodat.c: Likewise.
21501 * io/fchown.c: Likewise.
21502 * io/fchownat.c: Likewise.
21503 * io/fcntl.c: Likewise.
21504 * io/flock.c: Likewise.
21505 * io/fstatfs.c: Likewise.
21506 * io/fstatfs64.c: Likewise.
21507 * io/fstatvfs.c: Likewise.
21508 * io/fstatvfs64.c: Likewise.
21509 * io/futimens.c: Likewise.
21510 * io/fxstat.c: Likewise.
21511 * io/fxstat64.c: Likewise.
21512 * io/fxstatat.c: Likewise.
21513 * io/fxstatat64.c: Likewise.
21514 * io/getcwd.c: Likewise.
21515 * io/isatty.c: Likewise.
21516 * io/lchmod.c: Likewise.
21517 * io/lchown.c: Likewise.
21518 * io/link.c: Likewise.
21519 * io/linkat.c: Likewise.
21520 * io/lseek.c: Likewise.
21521 * io/lseek64.c: Likewise.
21522 * io/lxstat64.c: Likewise.
21523 * io/mkdir.c: Likewise.
21524 * io/mkdirat.c: Likewise.
21525 * io/mkfifo.c: Likewise.
21526 * io/mkfifoat.c: Likewise.
21527 * io/open.c: Likewise.
21528 * io/open64.c: Likewise.
21529 * io/openat.c: Likewise.
21530 * io/openat64.c: Likewise.
21531 * io/pipe.c: Likewise.
21532 * io/pipe2.c: Likewise.
21533 * io/poll.c: Likewise.
21534 * io/posix_fadvise.c: Likewise.
21535 * io/posix_fadvise64.c: Likewise.
21536 * io/posix_fallocate.c: Likewise.
21537 * io/posix_fallocate64.c: Likewise.
21538 * io/read.c: Likewise.
21539 * io/readlink.c: Likewise.
21540 * io/readlinkat.c: Likewise.
21541 * io/rmdir.c: Likewise.
21542 * io/sendfile.c: Likewise.
21543 * io/sendfile64.c: Likewise.
21544 * io/statfs.c: Likewise.
21545 * io/statfs64.c: Likewise.
21546 * io/statvfs.c: Likewise.
21547 * io/statvfs64.c: Likewise.
21548 * io/symlink.c: Likewise.
21549 * io/symlinkat.c: Likewise.
21550 * io/ttyname.c: Likewise.
21551 * io/ttyname_r.c: Likewise.
21552 * io/umask.c: Likewise.
21553 * io/unlink.c: Likewise.
21554 * io/unlinkat.c: Likewise.
21555 * io/utime.c: Likewise.
21556 * io/utimensat.c: Likewise.
21557 * io/write.c: Likewise.
21558 * io/xmknod.c: Likewise.
21559 * io/xmknodat.c: Likewise.
21560 * io/xstat.c: Likewise.
21561 * io/xstat64.c: Likewise.
21562 * login/getpt.c: Likewise.
21563 * login/grantpt.c: Likewise.
21564 * login/unlockpt.c: Likewise.
21565 * math/e_acoshl.c: Likewise.
21566 * math/e_acosl.c: Likewise.
21567 * math/e_asinl.c: Likewise.
21568 * math/e_atan2l.c: Likewise.
21569 * math/e_atanhl.c: Likewise.
21570 * math/e_coshl.c: Likewise.
21571 * math/e_expl.c: Likewise.
21572 * math/e_fmodl.c: Likewise.
21573 * math/e_gammal_r.c: Likewise.
21574 * math/e_hypotl.c: Likewise.
21575 * math/e_j0l.c: Likewise.
21576 * math/e_j1l.c: Likewise.
21577 * math/e_jnl.c: Likewise.
21578 * math/e_lgammal_r.c: Likewise.
21579 * math/e_log10l.c: Likewise.
21580 * math/e_log2l.c: Likewise.
21581 * math/e_logl.c: Likewise.
21582 * math/e_powl.c: Likewise.
21583 * math/e_rem_pio2l.c: Likewise.
21584 * math/e_sinhl.c: Likewise.
21585 * math/e_sqrtl.c: Likewise.
21586 * math/fclrexcpt.c: Likewise.
21587 * math/fedisblxcpt.c: Likewise.
21588 * math/feenablxcpt.c: Likewise.
21589 * math/fegetenv.c: Likewise.
21590 * math/fegetexcept.c: Likewise.
21591 * math/fegetround.c: Likewise.
21592 * math/feholdexcpt.c: Likewise.
21593 * math/fesetenv.c: Likewise.
21594 * math/fesetround.c: Likewise.
21595 * math/feupdateenv.c: Likewise.
21596 * math/fgetexcptflg.c: Likewise.
21597 * math/fraiseexcpt.c: Likewise.
21598 * math/fsetexcptflg.c: Likewise.
21599 * math/ftestexcept.c: Likewise.
21600 * math/k_cosl.c: Likewise.
21601 * math/k_rem_pio2l.c: Likewise.
21602 * math/k_sinl.c: Likewise.
21603 * math/k_tanl.c: Likewise.
21604 * math/s_asinhl.c: Likewise.
21605 * math/s_atanl.c: Likewise.
21606 * math/s_cbrtl.c: Likewise.
21607 * math/s_erfl.c: Likewise.
21608 * math/s_expm1l.c: Likewise.
21609 * math/s_log1pl.c: Likewise.
21610 * math/s_tanhl.c: Likewise.
21611 * misc/acct.c: Likewise.
21612 * misc/brk.c: Likewise.
21613 * misc/chflags.c: Likewise.
21614 * misc/chroot.c: Likewise.
21615 * misc/fchflags.c: Likewise.
21616 * misc/fgetxattr.c: Likewise.
21617 * misc/flistxattr.c: Likewise.
21618 * misc/fremovexattr.c: Likewise.
21619 * misc/fsetxattr.c: Likewise.
21620 * misc/fsync.c: Likewise.
21621 * misc/ftruncate.c: Likewise.
21622 * misc/futimes.c: Likewise.
21623 * misc/futimesat.c: Likewise.
21624 * misc/getdomain.c: Likewise.
21625 * misc/getdtsz.c: Likewise.
21626 * misc/gethostid.c: Likewise.
21627 * misc/gethostname.c: Likewise.
21628 * misc/getloadavg.c: Likewise.
21629 * misc/getpagesize.c: Likewise.
21630 * misc/getsysstats.c: Likewise.
21631 * misc/getxattr.c: Likewise.
21632 * misc/gtty.c: Likewise.
21633 * misc/ioctl.c: Likewise.
21634 * misc/lgetxattr.c: Likewise.
21635 * misc/listxattr.c: Likewise.
21636 * misc/llistxattr.c: Likewise.
21637 * misc/lremovexattr.c: Likewise.
21638 * misc/lsetxattr.c: Likewise.
21639 * misc/lutimes.c: Likewise.
21640 * misc/madvise.c: Likewise.
21641 * misc/mincore.c: Likewise.
21642 * misc/mlock.c: Likewise.
21643 * misc/mlockall.c: Likewise.
21644 * misc/mmap.c: Likewise.
21645 * misc/mprotect.c: Likewise.
21646 * misc/msync.c: Likewise.
21647 * misc/munlock.c: Likewise.
21648 * misc/munlockall.c: Likewise.
21649 * misc/munmap.c: Likewise.
21650 * misc/preadv.c: Likewise.
21651 * misc/preadv64.c: Likewise.
21652 * misc/ptrace.c: Likewise.
21653 * misc/pwritev.c: Likewise.
21654 * misc/pwritev64.c: Likewise.
21655 * misc/readv.c: Likewise.
21656 * misc/reboot.c: Likewise.
21657 * misc/remap_file_pages.c: Likewise.
21658 * misc/removexattr.c: Likewise.
21659 * misc/revoke.c: Likewise.
21660 * misc/select.c: Likewise.
21661 * misc/setdomain.c: Likewise.
21662 * misc/setegid.c: Likewise.
21663 * misc/seteuid.c: Likewise.
21664 * misc/sethostid.c: Likewise.
21665 * misc/sethostname.c: Likewise.
21666 * misc/setregid.c: Likewise.
21667 * misc/setreuid.c: Likewise.
21668 * misc/setxattr.c: Likewise.
21669 * misc/sstk.c: Likewise.
21670 * misc/stty.c: Likewise.
21671 * misc/swapoff.c: Likewise.
21672 * misc/swapon.c: Likewise.
21673 * misc/sync.c: Likewise.
21674 * misc/syncfs.c: Likewise.
21675 * misc/syscall.c: Likewise.
21676 * misc/truncate.c: Likewise.
21677 * misc/ualarm.c: Likewise.
21678 * misc/usleep.c: Likewise.
21679 * misc/ustat.c: Likewise.
21680 * misc/utimes.c: Likewise.
21681 * misc/vhangup.c: Likewise.
21682 * misc/writev.c: Likewise.
21683 * posix/_exit.c: Likewise.
21684 * posix/alarm.c: Likewise.
21685 * posix/execve.c: Likewise.
21686 * posix/fexecve.c: Likewise.
21687 * posix/fork.c: Likewise.
21688 * posix/fpathconf.c: Likewise.
21689 * posix/getaddrinfo.c: Likewise.
21690 * posix/getegid.c: Likewise.
21691 * posix/geteuid.c: Likewise.
21692 * posix/getgid.c: Likewise.
21693 * posix/getgroups.c: Likewise.
21694 * posix/getlogin.c: Likewise.
21695 * posix/getlogin_r.c: Likewise.
21696 * posix/getpgid.c: Likewise.
21697 * posix/getpid.c: Likewise.
21698 * posix/getppid.c: Likewise.
21699 * posix/getresgid.c: Likewise.
21700 * posix/getresuid.c: Likewise.
21701 * posix/getsid.c: Likewise.
21702 * posix/getuid.c: Likewise.
21703 * posix/glob64.c: Likewise.
21704 * posix/nanosleep.c: Likewise.
21705 * posix/pathconf.c: Likewise.
21706 * posix/pause.c: Likewise.
21707 * posix/posix_madvise.c: Likewise.
21708 * posix/pread.c: Likewise.
21709 * posix/pread64.c: Likewise.
21710 * posix/pwrite.c: Likewise.
21711 * posix/pwrite64.c: Likewise.
21712 * posix/sched_getaffinity.c: Likewise.
21713 * posix/sched_getp.c: Likewise.
21714 * posix/sched_gets.c: Likewise.
21715 * posix/sched_primax.c: Likewise.
21716 * posix/sched_primin.c: Likewise.
21717 * posix/sched_rr_gi.c: Likewise.
21718 * posix/sched_setaffinity.c: Likewise.
21719 * posix/sched_setp.c: Likewise.
21720 * posix/sched_sets.c: Likewise.
21721 * posix/sched_yield.c: Likewise.
21722 * posix/setgid.c: Likewise.
21723 * posix/setlogin.c: Likewise.
21724 * posix/setpgid.c: Likewise.
21725 * posix/setresgid.c: Likewise.
21726 * posix/setresuid.c: Likewise.
21727 * posix/setsid.c: Likewise.
21728 * posix/setuid.c: Likewise.
21729 * posix/sleep.c: Likewise.
21730 * posix/spawni.c: Likewise.
21731 * posix/sysconf.c: Likewise.
21732 * posix/times.c: Likewise.
21733 * posix/wait.c: Likewise.
21734 * posix/wait3.c: Likewise.
21735 * posix/wait4.c: Likewise.
21736 * posix/waitpid.c: Likewise.
21737 * resolv/gai_sigqueue.c: Likewise.
21738 * resource/getpriority.c: Likewise.
21739 * resource/getrlimit.c: Likewise.
21740 * resource/getrusage.c: Likewise.
21741 * resource/nice.c: Likewise.
21742 * resource/setpriority.c: Likewise.
21743 * resource/setrlimit.c: Likewise.
21744 * resource/ulimit.c: Likewise.
21745 * rt/aio_cancel.c: Likewise.
21746 * rt/aio_fsync.c: Likewise.
21747 * rt/aio_read.c: Likewise.
21748 * rt/aio_sigqueue.c: Likewise.
21749 * rt/aio_suspend.c: Likewise.
21750 * rt/aio_write.c: Likewise.
21751 * rt/clock_getres.c: Likewise.
21752 * rt/clock_gettime.c: Likewise.
21753 * rt/clock_nanosleep.c: Likewise.
21754 * rt/clock_settime.c: Likewise.
21755 * rt/lio_listio.c: Likewise.
21756 * rt/mq_close.c: Likewise.
21757 * rt/mq_getattr.c: Likewise.
21758 * rt/mq_notify.c: Likewise.
21759 * rt/mq_open.c: Likewise.
21760 * rt/mq_receive.c: Likewise.
21761 * rt/mq_send.c: Likewise.
21762 * rt/mq_setattr.c: Likewise.
21763 * rt/mq_timedreceive.c: Likewise.
21764 * rt/mq_timedsend.c: Likewise.
21765 * rt/mq_unlink.c: Likewise.
21766 * rt/shm_open.c: Likewise.
21767 * rt/shm_unlink.c: Likewise.
21768 * rt/timer_create.c: Likewise.
21769 * rt/timer_delete.c: Likewise.
21770 * rt/timer_getoverr.c: Likewise.
21771 * rt/timer_gettime.c: Likewise.
21772 * rt/timer_settime.c: Likewise.
21773 * setjmp/__longjmp.c: Likewise.
21774 * setjmp/setjmp.c: Likewise.
21775 * signal/kill.c: Likewise.
21776 * signal/killpg.c: Likewise.
21777 * signal/raise.c: Likewise.
21778 * signal/sigaction.c: Likewise.
21779 * signal/sigaltstack.c: Likewise.
21780 * signal/sigblock.c: Likewise.
21781 * signal/sigignore.c: Likewise.
21782 * signal/sigintr.c: Likewise.
21783 * signal/signal.c: Likewise.
21784 * signal/sigpause.c: Likewise.
21785 * signal/sigpending.c: Likewise.
21786 * signal/sigqueue.c: Likewise.
21787 * signal/sigreturn.c: Likewise.
21788 * signal/sigset.c: Likewise.
21789 * signal/sigsetmask.c: Likewise.
21790 * signal/sigstack.c: Likewise.
21791 * signal/sigsuspend.c: Likewise.
21792 * signal/sigtimedwait.c: Likewise.
21793 * signal/sigvec.c: Likewise.
21794 * signal/sigwait.c: Likewise.
21795 * signal/sigwaitinfo.c: Likewise.
21796 * signal/sysv_signal.c: Likewise.
21797 * socket/accept.c: Likewise.
21798 * socket/accept4.c: Likewise.
21799 * socket/bind.c: Likewise.
21800 * socket/connect.c: Likewise.
21801 * socket/getpeername.c: Likewise.
21802 * socket/getsockname.c: Likewise.
21803 * socket/getsockopt.c: Likewise.
21804 * socket/isfdtype.c: Likewise.
21805 * socket/listen.c: Likewise.
21806 * socket/recv.c: Likewise.
21807 * socket/recvfrom.c: Likewise.
21808 * socket/recvmsg.c: Likewise.
21809 * socket/send.c: Likewise.
21810 * socket/sendmsg.c: Likewise.
21811 * socket/sendto.c: Likewise.
21812 * socket/setsockopt.c: Likewise.
21813 * socket/shutdown.c: Likewise.
21814 * socket/sockatmark.c: Likewise.
21815 * socket/socket.c: Likewise.
21816 * socket/socketpair.c: Likewise.
21817 * stdio-common/ctermid.c: Likewise.
21818 * stdio-common/cuserid.c: Likewise.
21819 * stdio-common/remove.c: Likewise.
21820 * stdio-common/rename.c: Likewise.
21821 * stdio-common/renameat.c: Likewise.
21822 * stdio-common/tempname.c: Likewise.
21823 * stdlib/getcontext.c: Likewise.
21824 * stdlib/makecontext.c: Likewise.
21825 * stdlib/setcontext.c: Likewise.
21826 * stdlib/swapcontext.c: Likewise.
21827 * stdlib/system.c: Likewise.
21828 * streams/fattach.c: Likewise.
21829 * streams/fdetach.c: Likewise.
21830 * streams/getmsg.c: Likewise.
21831 * streams/getpmsg.c: Likewise.
21832 * streams/putmsg.c: Likewise.
21833 * streams/putpmsg.c: Likewise.
21834 * sysdeps/unix/bsd/getpt.c: Likewise.
21835 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21836 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21837 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21839 Likewise.
21840 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21841 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21842 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21843 * sysvipc/msgctl.c: Likewise.
21844 * sysvipc/msgget.c: Likewise.
21845 * sysvipc/msgrcv.c: Likewise.
21846 * sysvipc/msgsnd.c: Likewise.
21847 * sysvipc/semctl.c: Likewise.
21848 * sysvipc/semget.c: Likewise.
21849 * sysvipc/semop.c: Likewise.
21850 * sysvipc/semtimedop.c: Likewise.
21851 * sysvipc/shmat.c: Likewise.
21852 * sysvipc/shmctl.c: Likewise.
21853 * sysvipc/shmdt.c: Likewise.
21854 * sysvipc/shmget.c: Likewise.
21855 * termios/tcdrain.c: Likewise.
21856 * termios/tcflow.c: Likewise.
21857 * termios/tcflush.c: Likewise.
21858 * termios/tcgetattr.c: Likewise.
21859 * termios/tcgetpgrp.c: Likewise.
21860 * termios/tcsendbrk.c: Likewise.
21861 * termios/tcsetattr.c: Likewise.
21862 * termios/tcsetpgrp.c: Likewise.
21863 * time/adjtime.c: Likewise.
21864 * time/clock.c: Likewise.
21865 * time/getitimer.c: Likewise.
21866 * time/gettimeofday.c: Likewise.
21867 * time/setitimer.c: Likewise.
21868 * time/settimeofday.c: Likewise.
21869 * time/stime.c: Likewise.
21870 * time/time.c: Likewise.
21871
218722012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21873
a20492cf
PT
21874 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21875 /usr/old/bin.
21876
72e182e3
PT
21877 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21878 instead of spaces.
21879 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21880
fbeafede
JM
218812012-11-03 Joseph Myers <joseph@codesourcery.com>
21882
5b5b04d6
JM
21883 [BZ #14796]
21884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21885 FE_TONEAREST before applying Dekker multiplication and Knuth
21886 addition. Clear inexact exceptions and check for exact zero
21887 results afterwards.
21888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21889 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21891 * math/libm-test.inc (fma_test): Add more tests.
21892 (fma_test_towardzero): Likewise.
21893 (fma_test_downward): Likewise.
21894 (fma_test_upward): Likewise.
21895 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21896 function.
21897 (libc_fesetround): New macro.
21898 (libc_fesetroundf): Likewise.
21899 (libc_fesetroundl): Likewise.
21900 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21901 function.
21902 (libc_fesetround_387): Likewise.
21903 (libc_fesetroundf): New macro.
21904 (libc_fesetround): Likewise.
21905 (libc_fesetroundl): Likewise.
21906 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21907 function.
21908 (libc_fesetroundf): New macro.
21909 (libc_fesetround): Likewise.
21910 (libc_fesetroundl): Likewise.
21911 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21912 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21913 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21914 libm_hidden_ver.
21915 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21916 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21917 libm_hidden_def.
21918 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21919 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21920 libm_hidden_ver.
21921 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21922 libm_hidden_def.
21923
fbeafede
JM
21924 [BZ #3439]
21925 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21926 integer constant usable in #if and use that to give value to enum
21927 constant.
21928 (FE_DIVBYZERO): Likewise.
21929 (FE_UNDERFLOW): Likewise.
21930 (FE_OVERFLOW): Likewise.
21931 (FE_INVALID): Likewise.
21932 (FE_INVALID_SNAN): Likewise.
21933 (FE_INVALID_ISI): Likewise.
21934 (FE_INVALID_IDI): Likewise.
21935 (FE_INVALID_ZDZ): Likewise.
21936 (FE_INVALID_IMZ): Likewise.
21937 (FE_INVALID_COMPARE): Likewise.
21938 (FE_INVALID_SOFTWARE): Likewise.
21939 (FE_INVALID_SQRT): Likewise.
21940 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21941 (FE_TONEAREST): Likewise.
21942 (FE_TOWARDZERO): Likewise.
21943 (FE_UPWARD): Likewise.
21944 (FE_DOWNWARD): Likewise.
21945 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21946 (FE_DIVBYZERO): Likewise.
21947 (FE_OVERFLOW): Likewise.
21948 (FE_UNDERFLOW): Likewise.
21949 (FE_INEXACT): Likewise.
21950 (FE_TONEAREST): Likewise.
21951 (FE_DOWNWARD): Likewise.
21952 (FE_UPWARD): Likewise.
21953 (FE_TOWARDZERO): Likewise.
21954 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21955 (FE_UNDERFLOW): Likewise.
21956 (FE_OVERFLOW): Likewise.
21957 (FE_DIVBYZERO): Likewise.
21958 (FE_INVALID): Likewise.
21959 (FE_TONEAREST): Likewise.
21960 (FE_TOWARDZERO): Likewise.
21961 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21962 (FE_OVERFLOW): Likewise.
21963 (FE_UNDERFLOW): Likewise.
21964 (FE_DIVBYZERO): Likewise.
21965 (FE_INEXACT): Likewise.
21966 (FE_TONEAREST): Likewise.
21967 (FE_TOWARDZERO): Likewise.
21968 (FE_UPWARD): Likewise.
21969 (FE_DOWNWARD): Likewise.
21970 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21971 (FE_DIVBYZERO): Likewise.
21972 (FE_OVERFLOW): Likewise.
21973 (FE_UNDERFLOW): Likewise.
21974 (FE_INEXACT): Likewise.
21975 (FE_TONEAREST): Likewise.
21976 (FE_DOWNWARD): Likewise.
21977 (FE_UPWARD): Likewise.
21978 (FE_TOWARDZERO): Likewise.
21979
105ca950
CM
219802012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21981
21982 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21983
a542b389
AS
219842012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21985
21986 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21987 commands. Quote $PWD.
21988 (blacklist_exports): Don't use remove_newlines. Replace "declare
21989 -x" by "export".
21990 (remove_newlines): Remove.
21991
f62c8abc
L
219922012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21993
21994 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21995 * stdlib/stdlib.h (atof): Moved to ...
21996 * include/bits/stdlib-float.h: Here. New file.
21997 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21998 * stdlib/bits/stdlib-float.h: New file.
21999 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22000 -mno-sse -mno-mmx.
22001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22002 <xmmintrin.h>.
22003
0155d5b2
JM
220042012-11-02 Joseph Myers <joseph@codesourcery.com>
22005
a68d0680
JM
22006 * conform/conformtest.pl (@headers): Add fenv.h.
22007 * conform/data/fenv.h-data: New file.
22008 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22009 include of <math/fenv.h>.
22010
caf7f573
JM
22011 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22012 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22013 && !UNIX98]. Enables tests for XOPEN2K8.
22014 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22015 POSIX2008]: Likewise.
22016
6c073ad6
JM
22017 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22018 (struct rusage): Do not expect type or its members.
22019
0155d5b2
JM
22020 [BZ #3439]
22021 * math/math.h (FP_NAN): Define macro to integer constant usable in
22022 #if and use that to give value to enum constant.
22023 (FP_INFINITE): Likewise.
22024 (FP_ZERO): Likewise.
22025 (FP_SUBNORMAL): Likewise.
22026 (FP_NORMAL): Likewise.
22027
b5dcacb4
AS
220282012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22029
22030 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22031 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22032 arguments.
22033
f7934be8
RM
220342012-11-02 Roland McGrath <roland@hack.frob.com>
22035
22036 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22037 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22038 autoconf-time if not.
22039 * configure.in: Remove AC_PREREQ.
22040
d7d08bde
TMQMF
220412012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22042
22043 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22044 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22045 of the internal implementation.
22046
dcdae19a
JM
220472012-11-02 Joseph Myers <joseph@codesourcery.com>
22048
22049 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22050 except include of <misc/sys/syslog.h>.
22051
d6cffd3e
AS
220522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22053
22054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22055 function returns with a NULL context exit with zero.
22056
b3563932
TMQMF
220572012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22058
22059 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22060
b288a93d
L
220612012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22062
22063 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22064 (run_program_cmd): This.
22065 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22066 (tst_langinfo): New variable. Use it.
22067
a2421a68
SAS
220682012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22069
22070 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22071 floating point opcodes.
22072
6f796e1b
TS
220732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22074
7402596b
TS
22075 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22076 variable.
22077
d0d4f868
TS
22078 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22079
6f796e1b
TS
22080 * sysdeps/mach/hurd/powerpc: Remove directory.
22081 * sysdeps/mach/powerpc: Likewise.
22082
4da224a2
AS
220832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22084
22085 * scripts/check-local-headers.sh: Ignore c++ headers.
22086
341dd673
TS
220872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22088
22089 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22090 __libc_cleanup_region_start argument.
22091
473611b2
JM
220922012-11-01 Joseph Myers <joseph@codesourcery.com>
22093
22094 [BZ #14784]
22095 [BZ #14785]
22096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22097 x * y using scaling, not as x * y + z.
22098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22100 * math/libm-test.inc (fma_test): Add more tests.
22101 (fma_test_towardzero): Likewise.
22102 (fma_test_downward): Likewise.
22103 (fma_test_upward): Likewise.
22104
4078da3d
TS
221052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22106
22107 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22108
903252aa
JM
221092012-10-31 Joseph Myers <joseph@codesourcery.com>
22110
22111 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22112 New variable.
22113
cbc818d0
TS
221142012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22115
22116 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22117
5a03cb1e
AS
221182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22119
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22121 Fix sort order.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22123 Likewise.
22124
90aff2ff
TMQMF
221252012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22126
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22128 Fix the order of the list for glibc 2.17.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22130 Likewise.
22131
1818fcb7
AS
221322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22133
22134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22135
ef82f4da
JM
221362012-10-31 Joseph Myers <joseph@codesourcery.com>
22137
16a0e2ec
JM
22138 [BZ #14610]
22139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22140 for low part of x being zero before using __atanl (y).
22141 * math/libm-test.inc (atan2_test): Add another test.
22142
0eb69512
JM
22143 * manual/install.texi (Configuring and compiling): Document
22144 general use of test-wrapper and test-wrapper-env.
22145 * INSTALL: Regenerated.
22146
ef82f4da
JM
22147 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22148 (__fma): Do not extract and scale down low bits on after-rounding
22149 systems when result rounded to normal precision would have normal
22150 exponent.
22151 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22152 (__fmal): Do not extract and scale down low bits on after-rounding
22153 systems when result rounded to normal precision would have normal
22154 exponent.
22155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22156 (__fmal): Do not extract and scale down low bits on after-rounding
22157 systems when result rounded to normal precision would have normal
22158 exponent.
22159 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22160 macro.
22161 (fma_test): Add more tests.
22162 (fma_test_towardzero): Likewise.
22163 (fma_test_downward): Likewise.
22164 (fma_test_upward): Likewise.
22165
954ef0d9
L
221662012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22167
22168 * sysdeps/i386/tininess.h: Renamed to ...
22169 * sysdeps/x86/tininess.h: This.
22170 * sysdeps/x86_64/tininess.h: Removed.
22171
df61ffb2
JM
221722012-10-30 Joseph Myers <joseph@codesourcery.com>
22173
22174 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22175 input. Use $(build-program-cmd).
22176 ($(objpfx)tst-array1-static.out): Likewise.
22177 ($(objpfx)tst-array2.out): Likewise.
22178 ($(objpfx)tst-array3.out): Likewise.
22179 ($(objpfx)tst-array4.out): Likewise.
22180 ($(objpfx)tst-array5.out): Likewise.
22181 ($(objpfx)tst-array5-static.out): Likewise.
22182
01767843
CM
221832012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22184
47cc1490
CM
22185 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22186 if defined.
22187
01767843
CM
22188 * nss/nsswitch.h (nss_interface_function): Provide new
22189 macro for use with NSS functions.
22190 * grp/initgroups.c: Use new macro.
22191 * nss/getXXbyYY.c: Likewise.
22192 * nss/getXXbyYY_r.c: Likewise.
22193 * nss/getXXent.c: Likewise.
22194 * nss/getXXent_r.c: Likewise.
22195 * sysdeps/posix/getaddrinfo.c: Likewise.
22196
8321aa97
AJ
221972012-10-30 Andreas Jaeger <aj@suse.de>
22198
22199 * po/ru.po: Update Russion translation from translation project.
22200
2a27fd6d
JM
222012012-10-30 Joseph Myers <joseph@codesourcery.com>
22202
8627a232
JM
22203 [BZ #14152]
22204 [BZ #14783]
22205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22206 result and shift together with sticky bit instead of replicating
22207 round-to-nearest rounding.
22208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22210 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22211 missing underflow exceptions.
22212 (fma_test_towardzero): Add more tests.
22213 (fma_test_downward): Likewise.
22214 (fma_test_upward): Likewise.
22215
2a27fd6d
JM
22216 [BZ #14047]
22217 * sysdeps/generic/tininess.h: New file.
22218 * sysdeps/i386/tininess.h: Likewise.
22219 * sysdeps/sh/tininess.h: Likewise.
22220 * sysdeps/x86_64/tininess.h: Likewise.
22221 * stdlib/tst-strtod-underflow.c: Likewise.
22222 * stdlib/tst-tininess.c: Likewise.
22223 * stdlib/strtod_l.c: Include <tininess.h>.
22224 (round_and_return): Do not set errno for exact underflow cases.
22225 Force an underflow exception when setting errno for underflow.
22226 Determine underflow based on rounding to normal precision if
22227 TININESS_AFTER_ROUNDING.
22228 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22229 ERANGE for exact underflow cases.
22230 * stdlib/Makefile (tests): Add tst-tininess and
22231 tst-strtod-underflow.
22232 ($(objpfx)tst-tininess): Use $(link-libm).
22233 ($(objpfx)tst-strtod-underflow): Likewise.
22234
e7170363
AJ
222352012-10-30 Andreas Jaeger <aj@suse.de>
22236
e5088dc6
AJ
22237 [BZ#14767]
22238 * elf/Makefile (tests): Remove conditional for have-initfini-array
22239 since this is now always required and the variable does not exist
22240 anymore.
22241 (tests-static): Likewise.
22242 (modules-names): Likewise.
22243
e7170363 22244 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22245
22246 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22247 merged with constructor/destructor.
22248 (init_array): Likewise.
22249 * elf/tst-array2dep.c (fini_array): Likewise.
22250 (init_array): Likewise.
22251
60457d8a
MF
222522012-10-29 Mike Frysinger <vapier@gentoo.org>
22253
22254 * manual/message.texi: Delete @cartouche tags.
22255
8bece752
PT
222562012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22257
94ce799f
PT
22258 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22259 EOPNOTSUPP.
22260 * sysdeps/mach/hurd/fsync.c: Likewise.
22261
8bece752
PT
22262 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22263 [_POSIX_REALTIME_SIGNALS]: Change condition to
22264 [_POSIX_REALTIME_SIGNALS > 0].
22265
86ebe6b1
AJ
222662012-10-27 Andreas Jaeger <aj@suse.de>
22267
22268 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22269 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22271 [__WORDSIZE != 64]: Likewise.
22272
54399c08
L
222732012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 * iconvdata/tst-table.sh: Remove ${SHELL}.
22276 * iconvdata/tst-tables.sh: Likewise.
22277
e2211bed
DM
222782012-10-25 David S. Miller <davem@davemloft.net>
22279
22280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22281 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22282 of strtoull.
22283
f303f97c
DM
22284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22285 ifunc-impl-list.c
22286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22287 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22289 file.
22290
1e9d84cd
RM
222912012-10-25 Roland McGrath <roland@hack.frob.com>
22292
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22294 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22295 __getdirentries.
22296
df381762
JM
222972012-10-25 Joseph Myers <joseph@codesourcery.com>
22298 Jim Blandy <jimb@codesourcery.com>
22299
22300 * scripts/cross-test-ssh.sh: New file.
22301 * manual/install.texi (Configuring and compiling): Document use of
22302 cross-test-ssh.sh.
22303 * INSTALL: Regenerated.
22304
bff64913
PT
223052012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22306
22307 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22308 EOPNOTSUPP.
22309
25fe8932
JM
223102012-10-25 Joseph Myers <joseph@codesourcery.com>
22311
22312 * Makeconfig (run-program-prefix): Fix comment.
22313
cc1290d0
JM
223142012-10-24 Joseph Myers <joseph@codesourcery.com>
22315 Jim Blandy <jimb@codesourcery.com>
22316
22317 * Makeconfig (test-wrapper): New variable,
22318 (test-wrapper-env): Likewise.
22319 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22320 (run-built-tests): Define to yes.
22321 (run-program-prefix): Use $(test-wrapper).
22322 (built-program-cmd): Likewise.
22323 * Rules (make-test-out): Use $(test-wrapper-env) and
22324 $(host-built-program-cmd).
22325 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22326 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22327 tst-pathopt.sh.
22328 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22329 $(test-wrapper-env) to tst-rtld-load-self.sh.
22330 ($(objpfx)order2.out): Use $(test-wrapper).
22331 ($(objpfx)tst-initorder.out): Likewise.
22332 ($(objpfx)tst-initorder2.out): Likewise.
22333 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22334 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22335 (test_wrapper_env): New variable. Use it to run ld.so.
22336 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22337 Use it to run ld.so.
22338 (test_wrapper_env): Likewise.
22339 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22340 $(test-wrapper) to run-iconv-test.sh.
22341 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22342 (ICONV): Use $test_wrapper.
22343 * posix/Makefile ($(objpfx)globtest.out): Pass
22344 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22345 globtest.sh, not $(run-program-prefix).
22346 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22347 (test_wrapper): Likewise.
22348 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22349 set together with run_via_rtld_prefix.
22350 (run_program_prefix): Define in terms of test_wrapper and
22351 run_via_rtld_prefix.
22352
6e6249d0
RM
223532012-10-24 Roland McGrath <roland@hack.frob.com>
22354
22355 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22356 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22357 Targets removed.
22358
22359 [BZ #14743]
22360 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22361 Declare __clock_getres, __clock_gettime, __clock_settime,
22362 __clock_nanosleep, and __clock_getcpuclockid.
22363 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22364 Remove librt_hidden_def (clock_gettime).
22365 * sysdeps/unix/clock_gettime.c: Likewise.
22366 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22368 * rt/clock_getres.c: Define __clock_getres as an alias.
22369 * sysdeps/posix/clock_getres.c: Likewise.
22370 * rt/clock_settime.c: Define __clock_settime as an alias.
22371 * sysdeps/unix/clock_settime.c: Likewise.
22372 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22373 * sysdeps/unix/clock_nanosleep.c: Likewise.
22374 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22375 * rt/clock-compat.c: New file.
22376 * rt/Makefile (librt-routines): Add clock-compat and move
22377 $(clock-routines) to ...
22378 (routines): ... here, new variable.
22379 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22380 Don't add get_clockfreq here.
22381 * rt/Versions (libc: GLIBC_2.17): New version set.
22382 Add clock_* symbols here.
22383 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22385 (GLIBC_2.17): Add clock_* symbols.
22386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22390 Likewise.
22391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22392 Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22397 * NEWS: Mention the move.
22398
22399 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22400 Use __open, __read, __close rather than their public counterparts.
22401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22402 (__get_clockfreq_via_cpuinfo): Likewise.
22403 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22404 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22405
22406 * config.h.in (HAVE_IFUNC): New #undef.
22407 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22408 was successful.
22409 * configure: Regenerated.
22410
0cae3f4b
MF
224112012-10-24 Mike Frysinger <vapier@gentoo.org>
22412
22413 * configure.in: Move READELF check to start of file.
22414 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22415 libc_cv_asm_gnu_indirect_function in the process.
22416 * configure: Regenerated.
22417
8175a253
MF
224182012-10-24 Mike Frysinger <vapier@gentoo.org>
22419
22420 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22421 send the output to /dev/null.
22422 (libc_cv_cc_with_libunwind): Likewise.
22423 (libc_cv_as_noexecstack): Likewise.
22424 * configure: Regenerate.
22425
0708a7d1
JM
224262012-10-24 Joseph Myers <joseph@codesourcery.com>
22427
10b40d85
JM
22428 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22429
0708a7d1
JM
22430 * posix/globtest.sh (TMPDIR): Do not set.
22431 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22432 (testout): Likewise.
22433
9fddec1a
AJ
224342012-10-24 Andreas Jaeger <aj@suse.de>
22435
3a8db22f
AJ
22436 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22437 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22438 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22439 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22440 posix_fadvise64, posix_fallocate64.
22441
9fddec1a
AJ
22442 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22443 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22444 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22445 Likewise.
22446 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22447 Likewise.
22448 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22449
22450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22451 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22452 <bits/fcntl-linux.h>.
22453 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22454
22455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22456 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22457 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22458 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22459 [__WORDSIZE != 64]: Likewise.
22460
ebfd1bbd
JM
224612012-10-23 Joseph Myers <joseph@codesourcery.com>
22462
03ac099f
JM
22463 * Makeconfig (run-built-tests): New variable.
22464 * Rules [$(cross-compiling) = yes]: Change condition to
22465 [$(run-built-tests) = no].
22466 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22467 to [$(run-built-tests) = yes].
22468 * elf/Makefile [$(cross-compiling) = no]: Likewise
22469 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22470 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22471 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22472 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22473 * io/Makefile [$(cross-compiling) = no]: Likewise.
22474 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22475 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22476 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22477 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22478 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22479 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22480 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22481 * string/Makefile [$(cross-compiling) = no]: Likewise.
22482
ebfd1bbd
JM
22483 * posix/Makefile ($(objpfx)globtest.out): Pass
22484 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22485 $(rtld-installed-name).
22486 * posix/globtest.sh (elf_objpfx): Remove variable.
22487 (rtld_installed_name): Likewise.
22488 (library_path): Likewise.
22489 (run_program_prefix): New variable. Use for running globtest
22490 binary.
22491
166bca24
JB
224922012-10-23 Jim Blandy <jimb@codesourcery.com>
22493 Joseph Myers <joseph@codesourcery.com>
22494
22495 * Makeconfig (host-built-program-cmd): New variable.
22496 * elf/Makefile (tst-stackguard1-ARGS): Use
22497 $(host-built-program-cmd).
22498 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22499 (tst-spawn-ARGS): Likewise.
22500 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22501
88866099
JM
225022012-10-23 Joseph Myers <joseph@codesourcery.com>
22503 Jim Blandy <jimb@codesourcery.com>
22504
22505 * Makeconfig (run-via-rtld-prefix): New variable.
22506 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22507 (built-program-cmd): Likewise.
22508
b4b4c296
AJ
225092012-10-22 Andreas Jaeger <aj@suse.de>
22510
22511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22512 __O_RSYNC if it exists, otherwise to O_SYNC.
22513
6fb54a22
JB
225142012-10-22 Jim Blandy <jimb@codesourcery.com>
22515 Joseph Myers <joseph@codesourcery.com>
22516
22517 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22518 /dev/null.
22519 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22520 from /dev/null
22521 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22522 /dev/null.
22523
481b90b9
AJ
225242012-10-22 Andreas Jaeger <aj@suse.de>
22525
2a0e2669
AJ
22526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22527 Define always.
22528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22529
76e38f9a
AJ
22530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22531 bits/fcntl-linux.h.
22532
7cd37b43
AJ
22533 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22534 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22535
481b90b9
AJ
22536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22537 to __O_LARGEFILE.
22538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22539 to __O_LARGEFILE.
22540
aba75984
JB
225412012-10-21 Jim Blandy <jimb@codesourcery.com>
22542 Joseph Myers <joseph@codesourcery.com>
22543
22544 * config.make.in (NM): New variable.
22545
88d4247f
AJ
225462012-10-21 Andreas Jaeger <aj@suse.de>
22547
22548 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22549 definitions and declarations that are provided by
22550 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22551
f2eed205
L
225522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22553
22554 [BZ #14683]
22555 * elf/Makefile (tests-static): Add tst-leaks1-static.
22556 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22557 ($(objpfx)tst-leaks1-static): New rule.
22558 ($(objpfx)tst-leaks1-static-mem): Likewise.
22559 (tst-leaks1-static-ENV): New macro.
22560 * elf/dl-open.c (dl_open_worker): Check the main application
22561 only if SHARED is defined.
22562 * elf/tst-leaks1-static.c: New file.
22563
335e6931
AJ
225642012-10-20 Andreas Jaeger <aj@suse.de>
22565
22566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22567 generic values for Linux.
22568 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22569 and declarations that are provided by <bits/fcntl-linux.h> and
22570 include <bits/fcntl-linux.h>.
22571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22573
ac5c94d3
RM
225742012-10-20 Roland McGrath <roland@hack.frob.com>
22575
22576 * io/fcntl.h: Move include of <bits/types.h> to the top and
22577 include it unconditionally.
22578
de54b33a
L
225792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22580
228cfb01
L
22581 * wcsmbs/Makefile (tests-ifunc): New variable.
22582 (tests): Add $(tests-ifunc).
22583 * wcsmbs/test-wcschr-ifunc.c: New file.
22584 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22585 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22586 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22587 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22588 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22589
69f07e5f
L
22590 * string/Makefile (tests-ifunc): New variable.
22591 (tests): Add $(tests-ifunc).
22592 * string/test-memccpy.c (TEST_NAME): New macro.
22593 * string/test-memchr.c (TEST_NAME): Likewise.
22594 * string/test-memcmp.c (TEST_NAME): Likewise.
22595 * string/test-memcpy.c (TEST_NAME): Likewise.
22596 * string/test-memmem.c (TEST_NAME): Likewise.
22597 * string/test-memmove.c (TEST_NAME): Likewise.
22598 * string/test-memset.c (TEST_NAME): Likewise.
22599 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22600 * string/test-stpcpy.c (TEST_NAME): Likewise.
22601 * string/test-stpncpy.c (TEST_NAME): Likewise.
22602 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22603 * string/test-strcasestr.c (TEST_NAME): Likewise.
22604 * string/test-strcat.c (TEST_NAME): Likewise.
22605 * string/test-strchr.c (TEST_NAME): Likewise.
22606 * string/test-strcmp.c(TEST_NAME): Likewise.
22607 * string/test-strcpy.c (TEST_NAME): Likewise.
22608 * string/test-strcspn.c (TEST_NAME): Likewise.
22609 * string/test-strlen.c (TEST_NAME): Likewise.
22610 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22611 * string/test-strncmp.c (TEST_NAME): Likewise.
22612 * string/test-strncpy.c (TEST_NAME): Likewise.
22613 * string/test-strnlen.c (TEST_NAME): Likewise.
22614 * string/test-strpbrk.c (TEST_NAME): Likewise.
22615 * string/test-strrchr.c (TEST_NAME): Likewise.
22616 * string/test-strspn.c (TEST_NAME): Likewise.
22617 * string/test-strstr.c (TEST_NAME): Likewise.
22618 * string/test-bcopy-ifunc.c: New file.
22619 * string/test-bzero-ifunc.c: Likewise.
22620 * string/test-memccpy-ifunc.c: Likewise.
22621 * string/test-memchr-ifunc.c: Likewise.
22622 * string/test-memcmp-ifunc.c: Likewise.
22623 * string/test-memcpy-ifunc.c: Likewise.
22624 * string/test-memmem-ifunc.c: Likewise.
22625 * string/test-memmove-ifunc.c: Likewise.
22626 * string/test-mempcpy-ifunc.c: Likewise.
22627 * string/test-memset-ifunc.c: Likewise.
22628 * string/test-rawmemchr-ifunc.c: Likewise.
22629 * string/test-stpcpy-ifunc.c: Likewise.
22630 * string/test-stpncpy-ifunc.c: Likewise.
22631 * string/test-strcasecmp-ifunc.c: Likewise.
22632 * string/test-strcasestr-ifunc.c: Likewise.
22633 * string/test-strcat-ifunc.c: Likewise.
22634 * string/test-strchr-ifunc.c: Likewise.
22635 * string/test-strchrnul-ifunc.c: Likewise.
22636 * string/test-strcmp-ifunc.c: Likewise.
22637 * string/test-strcpy-ifunc.c: Likewise.
22638 * string/test-strcspn-ifunc.c: Likewise.
22639 * string/test-strlen-ifunc.c: Likewise.
22640 * string/test-strncasecmp-ifunc.c: Likewise.
22641 * string/test-strncat-ifunc.c: Likewise.
22642 * string/test-strncmp-ifunc.c: Likewise.
22643 * string/test-strncpy-ifunc.c: Likewise.
22644 * string/test-strnlen-ifunc.c: Likewise.
22645 * string/test-strpbrk-ifunc.c: Likewise.
22646 * string/test-strrchr-ifunc.c: Likewise.
22647 * string/test-strspn-ifunc.c: Likewise.
22648 * string/test-strstr-ifunc.c: Likewise.
22649
de54b33a
L
22650 * debug/Makefile (tests-ifunc): New variable.
22651 (tests): Add $(tests-ifunc).
22652 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22653 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22654 * debug/test-stpcpy_chk-ifunc.c: New file.
22655 * debug/test-strcpy_chk-ifunc.c: Likewise.
22656
88481c16
SP
226572012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22658
22659 [BZ #13601]
22660 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22661 header is not read in.
22662
135948bd
JM
226632012-10-19 Joseph Myers <joseph@codesourcery.com>
22664
89f1c388
JM
22665 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22666 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22667 directly. Pass built executable to script as
22668 $(built-program-cmd).
22669 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22670 $testprogram without using LD_LIBRARY_PATH and $ldso.
22671
e40a0d21
JM
22672 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22673 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22674 $(rtld-installed-name).
22675 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22676 (rtld_installed_name): Likewise.
22677 (library_path): Likewise.
22678 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22679 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22680 $(run-program-prefix) to tst-tables.sh.
22681 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22682 it to run tst-table-from and tst-table-to.
22683 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22684 Pass it to tst-table.sh.
22685 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22686 $(run-program-prefix) to tst-gettext.sh.
22687 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22688 tst-translit.sh.
22689 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22690 tst-gettext2.sh.
22691 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22692 to run tst-gettext.
22693 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22694 to run tst-gettext2.
22695 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22696 to run tst-translit.
22697 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22698 $(run-program-prefix) to tst-mtrace.sh.
22699 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22700 to run tst-mtrace.
22701 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22702 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22703 $(rtld-installed-name).
22704 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22705 (rtld_installed_name): Likewise.
22706 (run_program_prefix): New variable. Use it to run wordexp-test.
22707
728e272a
JM
22708 * Makeconfig (ARCH): Remove all definitions.
22709 (machine): Likewise.
22710 [ARCH]: Remove conditional code.
22711 [!objdir]: Give error.
22712 [!objdir] (objpfx): Remove.
22713 [!objdir] (common-objpfx): Likewise.
22714 [!objdir] (common-objdir): Likewise.
22715 * configure.in (config_makefile): Remove. Hardcode Makefile in
22716 AC_CONFIG_FILES call.
22717 * configure: Regenerated.
22718
d528cdcf
JM
22719 [BZ #13888]
22720 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22721 or TMPDIR.
22722 (testout): Likewise.
22723
135948bd
JM
22724 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22725 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22726 $(rtld-installed-name).
22727 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22728 (rtld_installed_name): Likwise.
22729 (runit): Remove function.
22730 (run_getconf): New variable, Use it for running getconf binary.
22731
38c78296
L
227322012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22733
22734 [BZ #14716]
22735 * string/test-memmem.c (check_result): New function.
22736 (do_one_test): Use it.
22737 (check1): New function.
22738 (test_main): Use it.
22739
d077f65f
MT
227402012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22741
22742 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22743
ced52c71
JM
227442012-10-18 Joseph Myers <joseph@codesourcery.com>
22745
22746 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22747 (_G_LSEEK64): Likewise.
22748 (_G_MMAP64): Likewise.
22749 (_G_FSTAT64): Likewise.
22750 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22751 (_G_LSEEK64): Likewise.
22752 (_G_MMAP64): Likewise.
22753 (_G_FSTAT64): Likewise.
22754 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22755 unconditional. Call __mmap64 directly.
22756 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22757 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22758 __lseek64 directly.
22759 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22760 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22761 __mmap64 directly.
22762 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22763 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22764 __lseek64 directly.
22765 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22766 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22767 __lseek64 directly.
22768 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22769 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22770 __lseek64 directly.
22771 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22772 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22773 __fxstat64 directly.
22774 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22775 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22776 unconditional.
22777 (freopen64) [!_G_OPEN64]: Remove conditional code.
22778 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22779 unconditional.
22780 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22781 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22782 unconditional.
22783 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22784 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22785 unconditional.
22786 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22787 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22788 unconditional.
22789 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22790 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22791 unconditional.
22792 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22793 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22794 unconditional.
22795 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22796 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22797 unconditional.
22798 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22799
b741de23
SP
228002012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22801
22802 [BZ #12140]
22803 * manual/memory.texi (Malloc Tunable Parameters): Add note
22804 about free list pointers overwriting some perturb bytes.
22805 Wording suggested by Roland McGrath.
22806
f9b9d9c9
JM
228072012-10-17 Joseph Myers <joseph@codesourcery.com>
22808
22809 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22810 (lgamma_test): Likewise.
22811 (tgamma_test): Likewise.
22812
172a631a
FW
228132012-10-16 Florian Weimer <fweimer@redhat.com>
22814
22815 [BZ #14700]
22816 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22817 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22818
e9f37252
MK
228192012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22820
22821 * NEWS: Mention BZ #14716.
22822 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22823 when removing AVAILABLE1_USES_J macro.
22824
d394eb74
L
228252012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22826
22827 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22828 (__bswap_64): __uint64_t for unsigned 64-bit int.
22829
ca38dc17
AS
228302012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22831
22832 * include/string.h (memmem): Declare libc hidden alias.
22833 * string/memmem.c (memmem): Define libc hidden alias.
22834 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22835 __read, __close instead of open, read, close.
22836
9a387d1f
L
228372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22838
ac49ecaf
L
22839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22840 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22841 global and hidden.
22842 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22843 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22844 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22845 Likewise.
22846 (__rawmemchr_sse2): Likewise.
22847 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22848 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22849 (__strchr_sse2): Likewise.
22850 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22851 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22852 (__strcasecmp_sse2): Likewise.
22853 (__strncasecmp_sse2): Likewise.
22854 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22855 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22856 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22857 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22858 (__strrchr_sse2): Likewise.
22859 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22860 ifunc-impl-list.c.
22861 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22862 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22863 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22864 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22865 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22866 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22867 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22868 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22869 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22870 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22871 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22872 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22873 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22874 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22875 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22876 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22877 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22878 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22879 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22880 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22881 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22882 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22883 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22884 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22885 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22887 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22888 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22889 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22890 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22891
b090e8ea
L
22892 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22893 global and hidden.
22894 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22895 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22896 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22897 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22898 Likewise.
22899 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22900 Likewise.
22901 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22902 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22903 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22904 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22905 ifunc-impl-list.c.
22906 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22907 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22908 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22909 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22910 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22911 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22912 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22913 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22914 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22915 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22916 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22917 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22918 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22919 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22920 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22922 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22923 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22924 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22925 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22927 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22928 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22929 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22930 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22931 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22932 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22933 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22934 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22935 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22936 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22937 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22938 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22939 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22940 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22941 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22942 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22943 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22944 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22945 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22946 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22947
11dd4af6
L
22948 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22949 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22950 * include/ifunc-impl-list.h: New file.
22951 * misc/ifunc-impl-list.c: Likewise.
22952 * misc/Makefile (routines): Add ifunc-impl-list.
22953 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22954 * string/test-string.h: Include <ifunc-impl-list.h>.
22955 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22956 impl_array): New variables.
22957 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22958 are defined.
22959 (test_init): Call __libc_ifunc_impl_list to initialize
22960 func_list if TEST_IFUNC and TEST_NAME are defined.
22961
9a387d1f
L
22962 * string/Makefile (strop-tests): Add bcopy and bzero.
22963 * string/test-bcopy.c: New file.
22964 * string/test-bzero.c: Likewise.
22965 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22966 defined.
22967 * string/test-memset.c: Support bzero test if TEST_BZERO is
22968 defined.
22969 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22970 __libc_memmove.
22971 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22972 __libc_memset.
22973 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22974 of memset.
22975
472371b9
JM
229762012-10-10 Joseph Myers <joseph@codesourcery.com>
22977
1e4a9536
JM
22978 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22979 * configure: Regenerated.
22980
d173d12e
JM
22981 * Makeconfig (+link-static-before-libc): Don't include
22982 $(link-static-libc).
22983
472371b9
JM
22984 * libio/libio.h (_IO_pos_t): Remove.
22985
89a3ad0b
AO
229862012-10-10 Alexandre Oliva <aoliva@redhat.com>
22987
22988 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22989 McGrath.
22990
e7451425
AO
229912012-10-10 Alexandre Oliva <aoliva@redhat.com>
22992
22993 * crypt/crypt-entry.c: Include fips-private.h.
22994 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22995 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22996 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22997 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22998
4ba74a35
AO
229992012-10-10 Alexandre Oliva <aoliva@redhat.com>
23000
23001 * crypt/crypt-private.h: Include stdbool.h.
23002 (_ufc_setup_salt_r): Return bool.
23003 * crypt/crypt-entry.c: Include errno.h.
23004 (__crypt_r): Return NULL with EINVAL for bad salt.
23005 * crypt/crypt_util.c (bad_for_salt): New.
23006 (_ufc_setup_salt_r): Check that salt is long enough and within
23007 the specified alphabet.
23008 * crypt/badsalttest.c: New file.
23009 * crypt/Makefile (tests): Add it.
23010 ($(objpfx)badsalttest): New.
23011
f96f1242
MK
230122012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23013
23014 * NEWS: Add entry for BZ #14602.
23015
0e8e0c1c
JM
230162012-10-09 Joseph Myers <joseph@codesourcery.com>
23017
23018 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23019 type-generic.
23020 * math/libm-test.inc: Update comment listing what functions and
23021 macros are tested.
23022 (isgreater_test): New function.
23023 (isgreaterequal_test): Likewise.
23024 (isless_test): Likewise.
23025 (islessequal_test): Likewise.
23026 (islessgreater_test): Likewise.
23027 (isunordered_test): Likewise.
23028 (main): Call the new functions.
23029
273edc5e
RM
230302012-10-09 Roland McGrath <roland@hack.frob.com>
23031
b8493de0
RM
23032 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23033 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23034 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23035 * sysdeps/i386/configure: Regenerated.
23036 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23037 * sysdeps/mach/configure: Regenerated.
23038 * sysdeps/mach/hurd/configure: Regenerated.
23039 * sysdeps/powerpc/configure: Regenerated.
23040 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23041 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23042 * sysdeps/s390/s390-32/configure: Regenerated.
23043 * sysdeps/s390/s390-64/configure: Regenerated.
23044 * sysdeps/sh/configure: Regenerated.
23045 * sysdeps/sparc/configure: Regenerated.
23046 * sysdeps/unix/sysv/linux/configure: Regenerated.
23047 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23048 * sysdeps/x86_64/configure: Regenerated.
23049
273edc5e
RM
23050 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23051 defined. Don't check if MAP is NULL.
23052
c8450f70
JM
230532012-10-09 Joseph Myers <joseph@codesourcery.com>
23054
23055 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23056 (_G_stat64): Likewise.
23057 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23058 (_G_stat64): Likewise.
23059 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23060 instead of struct _G_stat64.
23061 * libio/fileops.c (mmap_remap_check): Likewise.
23062 (decide_maybe_mmap): Likewise.
23063 (_IO_new_file_seekoff): Likewise.
23064 (_IO_file_stat): Likewise.
23065 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23066 _G_off64_t.
23067 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23068 instead of struct _G_stat64.
23069 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23070
57e605ba
MK
230712012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23072
23073 [BZ #14602]
23074 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23075 Replace with ...
23076 (CHECK_EOL): New macro.
23077 (two_way_short_needle): Check beginning of haystack for EOL. Use
23078 CHECK_EOL.
23079 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23080 Replace with CHECK_EOL.
23081 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23082 Replace with CHECK_EOL.
23083
ef1bb361
JM
230842012-10-08 Joseph Myers <joseph@codesourcery.com>
23085
23086 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23087 type-generic.
23088 * math/libm-test.inc: Update comment listing what functions and
23089 macros are tested.
23090 (finite_test): New function.
23091 (isinf_test): Likewise.
23092 (isnan_test): Likewise.
23093 (fpclassify_test): Test subnormal input.
23094 (isfinite_test): Likewise.
23095 (isnormal_test): Likewise.
23096 (main): Call the new functions.
23097
55f11534
JN
230982012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23099
23100 [BZ #14660]
23101 * Makerules (%.dynsym): Force C locale when running
23102 $(OBJDUMP) --dynamic-syms.
23103
1ab29350
AS
231042012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23105
23106 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23107 <stdint.h>.
23108
f1ecb7ef
DM
231092012-10-06 David S. Miller <davem@davemloft.net>
23110
23111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23112 upper 32-bits of the length value in %o2 since we use branch-on-register
23113 tests which consider the entire 64-bit register.
23114
5d41d91a
L
231152012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * string/test-strstr.c (check2): Add a test for page boundary.
23118
3baddb72
DM
231192012-10-05 David S. Miller <davem@davemloft.net>
23120
23121 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23122 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23123 file.
23124 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23125 sysdep_routines.
23126 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23127 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23128 and bzero when HWCAP_SPARC_CRYPTO is present.
23129
9cee5585
L
231302012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23131
d7e0dab9
L
23132 [BZ #14602]
23133 * string/test-strstr.c (check2): New function.
23134 (test_main): Call check2.
23135
03759f47
L
23136 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23137 and bug-strchr1.
23138 * string/bug-strcasestr1.c (do_test): Moved to ...
23139 * string/test-strcasestr.c (check1): Here. New function.
23140 (do_one_test): Break out result checking code into ...
23141 (check_result): This. New function.
23142 (do_one_test): Call check_result.
23143 (test_main): Call check1.
23144 * string/bug-strchr1.c (do_test): Moved to ...
23145 * string/test-strchr.c (check1): Here. New function.
23146 (do_one_test): Break out result checking code into ...
23147 (check_result): This. New function.
23148 (do_one_test): Call check_result.
23149 (test_main): Call check1.
23150 * string/bug-strstr1.c (main): Moved to ...
046f153e 23151 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23152 (do_one_test): Break out result checking code into ...
23153 (check_result): This. New function.
23154 (do_one_test): Call check_result.
23155 (test_main): Call check1.
23156 * string/bug-strcasestr1.c: Removed.
23157 * string/bug-strchr1.c: Likewise.
23158 * string/bug-strstr1.c: Likewise.
23159
53cea63e
L
23160 * elf/Makefile (dl-routines): Add hwcaps.
23161 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23162 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23163 (_dl_important_hwcaps): Moved to ...
23164 * elf/dl-hwcaps.c: Here. New file.
23165 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23166
9cee5585 23167 [BZ #14557]
bb859b06
L
23168 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23169 if IS_IN_rtld isn't defined.
23170
9cee5585
L
23171 * elf/dl-support.c (_dl_sysinfo_map): New.
23172 Include "get-dynamic-info.h" and "setup-vdso.h".
23173 (_dl_non_dynamic_init): Call setup_vdso.
23174 * elf/dynamic-link.h: Don't include <assert.h>.
23175 (elf_get_dynamic_info): Moved to ...
23176 * elf/get-dynamic-info.h: Here. New file.
23177 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23178 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23179 * elf/setup-vdso.h: Here. New file.
23180 * elf/rtld.c: Include "setup-vdso.h".
23181 (dl_main): Call setup_vdso.
23182
23c31b76
JM
231832012-10-05 Joseph Myers <joseph@codesourcery.com>
23184
28234b07
JM
23185 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23186 creal in comment listing functions tested. List finite, isinf,
23187 isnan, isless, islessequal, isgreater, isgreaterequal,
23188 islessgreater, isunordered, lgamma_r and pow10 as functions and
23189 macros not tested. Mention which functions not tested are aliases
23190 for other functions. Fix typo. Note that signs of NaNs are not
23191 tested.
23192
23c31b76
JM
23193 * scripts/config.guess: Update from config.git.
23194 * scripts/config.sub: Likewise.
23195
9043e228
RM
231962012-10-04 Roland McGrath <roland@hack.frob.com>
23197
23198 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23199 * misc/madvise.c (madvise): Renamed to __madvise.
23200 Make madvise a weak alias.
23201 * include/sys/mman.h: Declare __madvise.
23202 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23203 * sysdeps/unix/syscalls.list
23204 (madvise): Make __madvise the strong name, and madvise a weak alias.
23205 * sysdeps/unix/sysv/linux/syscalls.list
23206 (madvise, mmap): Remove redundant entries.
23207 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23208 * malloc/malloc.c (mtrim): Likewise.
23209 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23210
f57f8055
RM
232112012-10-03 Roland McGrath <roland@hack.frob.com>
23212
23213 * sysdeps/mach/hurd/dl-cache.c: File removed.
23214 * config.h.in (USE_LDCONFIG): New #undef.
23215 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23216 * configure: Regenerated.
23217 * elf/Makefile (dl-routines): Add dl-cache only under
23218 [$(use-ldconfig) = yes].
23219 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23220 cache on [USE_LDCONFIG].
23221 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23222 [USE_LDCONFIG].
23223 * elf/rtld.c (dl_main): Likewise.
23224
5bb0c10a
PT
232252012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23226
23227 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23228 _SC_LEVEL4_CACHE_LINESIZE.
23229
010188c6
RM
232302012-10-03 Roland McGrath <roland@hack.frob.com>
23231
23232 * sysdeps/unix/bsd/confstr.h: File removed.
23233
b6c5ec07
AO
232342012-10-02 Alexandre Oliva <aoliva@redhat.com>
23235
23236 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23237 sys/sdt-config.h.
23238
408223d4
RM
232392012-10-02 Roland McGrath <roland@hack.frob.com>
23240
23241 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23242 Make 'mapoff' field ElfW(Off) rather than off_t.
23243
bb9510dc
DL
232442012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23245
fc997c6e
DL
23246 * nscd/Makefile: Remove nscd-cflags and all its users.
23247 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23248 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23249
bb9510dc
DL
23250 [BZ #10631]
23251 * malloc.c (malloc_printerr): Clarify error message.
23252
05699367
L
232532012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23254
23255 [BZ #14648]
23256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23257 Set bit_FMA_Usable if FMA is supported.
23258 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23259 macro.
23260 (bit_FMA4_Usable): Updated.
23261 (index_FMA_Usable): New macro.
23262 (CPUID_FMA): Likewise
23263 (HAS_FMA): Defined with bit_FMA_Usable.
23264
51367701
RM
232652012-10-01 Roland McGrath <roland@hack.frob.com>
23266
23267 * bits/types.h (__swblk_t): Type removed.
23268 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23269 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23271 (__SWBLK_T_TYPE): Likewise.
23272 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23273 (__SWBLK_T_TYPE): Likewise.
23274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23275 (__SWBLK_T_TYPE): Likewise.
23276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23277 (__SWBLK_T_TYPE): Likewise.
23278
4d57bf63 232792012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23280 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23281
23282 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23283 (xdr_mapname): Use YPMAXMAP as maxsize.
23284 (xdr_peername): Use YPMAXPEER as maxsize.
23285 (xdr_keydat): Use YPAXRECORD as maxsize.
23286 (xdr_valdat): Use YPMAXRECORD as maxsize.
23287
93c65d43
RM
232882012-10-01 Roland McGrath <roland@hack.frob.com>
23289
497a03d6
RM
23290 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23291
93c65d43
RM
23292 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23293 * csu/init-first.c: ... here.
23294 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23295 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23296 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23297 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23298 * sysdeps/i386/init-first.c: File removed.
23299 * sysdeps/sh/init-first.c: File removed.
23300
bec749fd
JM
233012012-10-01 Joseph Myers <joseph@codesourcery.com>
23302
23303 [BZ #14645]
23304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23305 if x * y might underflow to zero and z is zero.
23306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23308 * math/libm-test.inc (min_subnorm_value): New variable.
23309 (fma_test): Add more tests.
23310 (fma_test_towardzero): Likewise.
23311 (fma_test_downward): Likewise
23312 (fma_test_upward): Likewise.
23313 (initialize): Set min_subnorm_value.
23314
8ec5b013
JM
233152012-09-29 Joseph Myers <joseph@codesourcery.com>
23316
23317 [BZ #14638]
23318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23319 0 + 0.
23320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23321 mode for addition resulting in exact zero.
23322 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23324 exact 0 + 0.
23325 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23327 * math/libm-test.inc (fma_test): Add more tests.
23328 (fma_test_towardzero): New function.
23329 (fma_test_downward): Likewise.
23330 (fma_test_upward): Likewise.
23331 (main): Call the new functions.
23332
b1fa802e
DM
233332012-09-28 David S. Miller <davem@davemloft.net>
23334
23335 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23336
d3b9fd9e
RM
233372012-09-28 Roland McGrath <roland@hack.frob.com>
23338
ea4d37b3
RM
23339 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23340 instead of SIGALRM.
23341
ac51c949
RM
23342 * sysdeps/gnu/_G_config.h: Moved to ...
23343 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23344 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23345 * sysdeps/generic/_G_config.h: ... here.
23346
28c195f7
RM
23347 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23348
848917f9
RM
23349 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23350
6bacf05b
RM
23351 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23352 Conditionalize target on [libnss_test1.so-version].
23353
91363dbb
RM
23354 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23355
cc87f7d8
RM
23356 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23357 (elfobjdir): Move out of conditionals.
23358
b1c608fe
RM
23359 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23360 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23361 (__nss_lookup_function): Conditionalize label remove_from_tree on
23362 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23363
1d9a6d96
DM
233642012-09-28 David S. Miller <davem@davemloft.net>
23365
23366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23367 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23368 file.
23369 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23370 sysdep_routines.
23371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23373 when HWCAP_SPARC_CRYPTO is present.
23374
72581615
PT
233752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23376
23377 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23378
715a900c
JL
233792012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23380
23381 [BZ #6530]
23382 * stdio-common/vfprintf.c (process_string_arg): Revert
23383 2000-07-22 change.
23384
233852011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23386
23387 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23388 for testcase.
23389 * stdio-common/tst-sprintf.c: Include <locale.h>
23390 (main): Test sprintf's handling of incomplete multibyte
23391 characters.
23392
9bac1d86
L
233932012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23394
23395 * elf/dl-runtime.c (VERSYMIDX): Removed.
23396 * elf/dl-version.c (VERSYMIDX): Likewise.
23397 * elf/do-rel.h (VERSYMIDX): Likewise.
23398 (VALIDX): Likewise.
23399 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23400 * elf/rtld.c (VALIDX): Likewise.
23401 (ADDRIDX): Likewise.
9bac1d86
L
23402 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23403 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23404 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23405 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23406 (VALIDX): Likewise.
23407 (ADDRIDX): Likewise.
9bac1d86 23408
b31606c0
PT
234092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23410
23411 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23412
11541177
JL
234132012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23414
23415 [BZ #11438]
23416 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23417 to global scope.
23418 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23419 addresses are in the same scope as 192.0.2/24.
23420 * posix/gai.conf: Document new scope table defaults.
23421
adb26fae
SP
234222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23423
23424 [BZ #5298]
23425 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23426 for ftell. Compute offsets from write pointers instead.
23427 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23428
4573c6b0
SP
234292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23430
23431 [BZ #14543]
23432 * libio/Makefile (tests): New test case tst-fseek.
23433 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23434 combination works in wide mode.
23435 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23436 state when the external buffer state changes.
23437
aa9bbfe6
DM
234382012-09-27 David S. Miller <davem@davemloft.net>
23439
23440 [BZ #14376]
23441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23442 pass reloc->r_addend in as the 'high' argument to
23443 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23444
784421e7
DM
23445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23446
c39bc8b8
PT
234472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23448
23449 * rt/tst-aio2.c: Include <pthread.h>.
23450 * rt/tst-aio3.c: Likewise.
23451
1ccc2399
SE
234522012-09-27 Steve Ellcey <sellcey@mips.com>
23453
23454 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23455
31ed4153
L
234562012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23457
25f5f885
L
23458 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23459 contents on [SHARED].
31ed4153 23460
b7bfe116
MP
234612012-09-26 Marek Polacek <polacek@redhat.com>
23462
23463 [BZ #14530]
23464 [BZ #13741]
23465 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23466 for C++ and GCC <4.3 as well as for non GCC compilers.
23467
43c4edba
MT
234682012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23469
23470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23471
6a1bf82f
RM
234722012-09-25 Roland McGrath <roland@hack.frob.com>
23473
23474 * Makefile.in (all, install): Declare with .PHONY.
23475 Reported by Michael Hope <michael.hope@linaro.org>.
23476
8ad11b9a
TMQMF
234772012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23478
23479 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23480 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23481 system header.
23482 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23483 Likewise.
23484 (sydep_routines): Add the new and the internal functions.
23485 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23486 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23488 (GLIBC_2.17): Add the new function.
23489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23490 (GLIBC_2.17): Likewise.
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23492 (GLIBC_2.17): Likewise.
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23494 (GLIBC_2.17): Likewise.
23495 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23496
7e2fca8d
AM
234972012-09-25 Alan Modra <amodra@gmail.com>
23498
23499 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23500 Add release barrier before setting once_control to say
23501 initialisation is done. Add hints on lwarx. Use macro in
23502 place of isync.
23503 (clear_once_control): Add release barrier.
23504
b87c4b24
JM
235052012-09-25 Joseph Myers <joseph@codesourcery.com>
23506
d032e0d2
JM
23507 [BZ #13629]
23508 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23509 specially.
23510 * math/s_clog10.c (__clog10): Likewise.
23511 * math/s_clog10f.c (__clog10f): Likewise.
23512 * math/s_clog10l.c (__clog10l): Likewise.
23513 * math/s_clogf.c (__clogf): Likewise.
23514 * math/s_clogl.c (__clogl): Likewise.
23515 * math/Makefile (libm-calls): Add x2y2m1.
23516 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23517 (__x2y2m1): Likewise.
23518 (__x2y2m1l): Likewise.
23519 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23520 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23523 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23524 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23525 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23526 * sysdeps/i386/fpu/libm-test-ulps: Update.
23527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23528
b87c4b24
JM
23529 [BZ #14621]
23530 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23531 int as type of variable DEPTH.
23532 (glob): Use size_t instead of int as type of variables NEWCOUNT
23533 and OLD_PATHC.
23534
6d3bf199
LD
235352012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23536
22bf5c17
LD
23537 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23538 Add s_sincosf-sse2.
23539 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23540 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23541 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23542 macros for using routine as __sincosf_ia32.
23543 Use macro for function declaration and weak_alias.
23544 * sysdeps/i386/fpu/libm-test-ulps: Update.
23545
23546 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23548
23549 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23550 subnormal argument.
23551 * math/s_cexpf.c (__cexpf): Likewise.
23552 * math/s_csinf.c (__csinf): Likewise.
23553 * math/s_csinhf.c (__csinhf): Likewise.
23554 * math/s_ctanf.c (__ctanf): Likewise.
23555 * math/s_ctanhf.c (__ctanhf): Likewise.
23556 * math/s_ccosh.c (__ccoshf): Likewise.
23557 * math/s_cexp.c (__cexpl): Likewise.
23558 * math/s_csin.c (__csin): Likewise.
23559 * math/s_csinh.c (__csinh): Likewise.
23560 * math/s_ctan.c (__ctan): Likewise.
23561 * math/s_ctanh.c (ctanh): Likewise.
23562 * math/s_ccoshl.c (__ccoshl): Likewise.
23563 * math/s_cexpl.c (__cexpl): Likewise.
23564 * math/s_csinl.c (__csinl): Likewise.
23565 * math/s_csinhl.c (__csinhl): Likewise.
23566 * math/s_ctanl.c (__ctanl): Likewise.
23567 * math/s_ctanhl.c (__ctanhl): Likewise.
23568
203e5603
JM
235692012-09-25 Joseph Myers <joseph@codesourcery.com>
23570
23571 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23572 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23573 (_IO_off_t): Define to __off_t, not _G_off_t.
23574 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23575 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23576 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23577 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23578 type of __dummy and __dummy2 fields.
23579 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23580 (_G_ssize_t): Likewise.
23581 (_G_off_t): Likewise.
23582 (_G_pid_t): Likewise.
23583 (_G_uid_t): Likewise.
23584 (_G_wchar_t): Likewise.
23585 (_G_wint_t): Likewise.
23586 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23587 (_G_ssize_t): Likewise.
23588 (_G_off_t): Likewise.
23589 (_G_pid_t): Likewise.
23590 (_G_uid_t): Likewise.
23591 (_G_wchar_t): Likewise.
23592 (_G_wint_t): Likewise.
23593 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23594 (_G_ssize_t): Likewise.
23595 (_G_off_t): Likewise.
23596 (_G_pid_t): Likewise.
23597 (_G_uid_t): Likewise.
23598 (_G_wchar_t): Likewise.
23599 (_G_wint_t): Likewise.
23600
9fab36eb
SP
236012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23602
23603 * malloc/arena.c: Include malloc-sysdep.h.
23604 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23605 is sufficient to shrink the heap or an unmap is needed.
23606 * sysdeps/generic/malloc-sysdep.h: New file. Define
23607 new function check_may_shrink_heap.
23608 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23609 new function check_may_shrink_heap.
23610
2b4f00d1
SP
236112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23612
23613 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23614 comments.
23615
9a9028b1
DL
236162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23617
57c69bef
DL
23618 * catgets/test-gencat.sh: Add "set -e".
23619 * elf/tst-pathopt.sh: Likewise.
23620 * grp/tst_fgetgrent.sh: Likewise.
23621 * iconvdata/run-iconv-test.sh: Likewise.
23622 * intl/tst-gettext.sh: Likewise.
23623 * intl/tst-gettext2.sh: Likewise.
23624 * intl/tst-gettext4.sh: Likewise.
23625 * intl/tst-gettext6.sh: Likewise.
23626 * intl/tst-translit.sh: Likewise.
23627 * io/ftwtest-sh: Likewise.
23628 * libio/test-freopen.sh: Likewise.
23629 * malloc/tst-mtrace.sh: Likewise.
23630 * posix/globtest.sh: Likewise.
23631 * posix/tst-getconf.sh: Likewise.
23632 * posix/wordexp-tst.sh: Likewise.
23633 * stdio-common/tst-printf.sh: Likewise.
23634 * stdio-common/tst-unbputc.sh: Likewise.
23635 * stdlib/tst-fmtmsg.sh: Likewise.
23636 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23637 * catgets/Makefile: Do not specify -e option when running
23638 testsuite shell scripts.
23639 * elf/Makefile: Likewise.
23640 * grp/Makefile: Likewise.
23641 * iconvdata/Makefile: Likewise.
23642 * intl/Makefile: Likewise.
23643 * io/Makefile: Likewise.
23644 * libio/Makefile: Likewise.
23645 * malloc/Makefile: Likewise.
23646 * posix/Makefile: Likewise.
23647 * stdio-common/Makefile: Likewise.
23648 * stdlib/Makefile: Likewise.
23649 * sysdeps/x86_64/Makefile: Likewise.
23650
9a9028b1
DL
23651 * io/ftwtest-sh: Add copyright header.
23652 * posix/globtest.sh: Likewise.
23653 * posix/tst-getconf.sh: Likewise.
23654 * posix/wordexp-tst.sh: Likewise.
23655 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23656
ced6f16e
L
236572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23658
94b32c39
L
23659 [BZ #13679]
23660 * Makeconfig (+link): Defined as $(+link-static) if
23661 $(build-shared) isn't yes.
23662 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23663 isn't yes.
23664 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23665
189e935b
L
23666 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23667
ced6f16e
L
23668 [BZ #14562]
23669 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23670 new chunk size with MALLOC_ALIGN_MASK.
23671
a9f8e53a
JM
236722012-09-24 Joseph Myers <joseph@codesourcery.com>
23673
23674 [BZ #5044]
23675 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23676 <rounding-mode.h>.
23677 (__printf_fphex): Determine rounding using get_rounding_mode and
23678 round_away.
23679 * stdio-common/tst-printf-round.c (struct hex_test): New
23680 structure.
23681 (hex_tests): New variable.
23682 (test_hex_in_one_mode): New function.
23683 (do_test): Also run tests for hex float output.
23684
43153109
JM
236852012-09-21 Joseph Myers <joseph@codesourcery.com>
23686
23687 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23688 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23689 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23690 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23691 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23692 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23693 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23694 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23695
8a26625d
JM
236962012-09-20 Joseph Myers <joseph@codesourcery.com>
23697
23698 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23699 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23700 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23701 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23702
f3fd569c
DL
237032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23704
23705 [BZ #14579]
23706 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23707 mode only.
23708 * elf/tst-rtld-load-self.sh: New test.
23709 * elf/Makefile: Run it.
23710
63bbedd4
JM
237112012-09-18 Joseph Myers <joseph@codesourcery.com>
23712
23713 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23714 (tst-writev-ENV): Remove.
23715 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23716
626f8b6a
CM
237172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23718
23719 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23720
b7aaa4d6
JM
237212012-09-17 Joseph Myers <joseph@codesourcery.com>
23722
23723 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23724 unconditional.
23725 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23726 Likewise.
23727 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23728 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23729 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23730 Likewise.
23731
65513990
L
237322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 [BZ #14587]
23735 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23736 * config.make.in (have-cpp-asm-debuginfo): Removed.
23737 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23738 * configure: Regenerated.
23739
784761be
JM
237402012-09-14 Joseph Myers <joseph@codesourcery.com>
23741
23742 [BZ #5044]
23743 * stdio-common/printf_fp.c: Include <stdbool.h> and
23744 <rounding-mode.h>.
23745 (___printf_fp): Determine rounding using get_rounding_mode and
23746 round_away.
23747 * stdio-common/tst-printf-round.c: New file.
23748 * stdio-common/Makefile (tests): Add tst-printf-round.
23749 (link-libm): New variable.
23750 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23751
9503345f
L
237522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23753
23754 [BZ #14576]
23755 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23756 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23757 Likewise.
23758 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23759 Likewise.
23760
ad35fc00
JM
237612012-09-13 Joseph Myers <joseph@codesourcery.com>
23762
23763 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23764 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23765 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23766 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23767
6c9b0f68
JM
237682012-09-12 Joseph Myers <joseph@codesourcery.com>
23769
23770 [BZ #14518]
23771 * include/rounding-mode.h: New file.
23772 * sysdeps/generic/get-rounding-mode.h: Likewise.
23773 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23774 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23775 (MAX_VALUE): New macro.
23776 (MIN_VALUE): Likewise.
23777 (overflow_value): New function.
23778 (underflow_value): Likewise.
23779 (round_and_return): Use overflow_value and underflow_value to
23780 determine return values in overflow and underflow cases. Use
23781 round_away to determine rounding depending on rounding mode.
23782 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23783 determine return values in overflow and underflow cases.
23784 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23785 (struct test_results): New structure.
23786 (struct test): Use struct test_results to store expected results
23787 for all rounding modes.
23788 (TEST): Include expected results for all rounding modes.
23789 (test_in_one_mode): New function.
23790 (do_test): Use test_in_one_mode to compute and check results.
23791 Check results for all rounding modes.
23792 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23793 $(link-libm).
23794
19fcedd5
AM
237952012-12-09 Allan McRae <allan@archlinux.org>
23796
1e9d84cd 23797 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23798
8bbfd2f1
JM
237992012-09-11 Joseph Myers <joseph@codesourcery.com>
23800
23801 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23802 (_G_int32_t): Likewise.
23803 (_G_uint16_t): Likewise.
23804 (_G_uint32_t): Likewise.
23805 (_G_HAVE_BOOL): Likewise.
23806 (_G_HAVE_ATEXIT): Likewise.
23807 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23808 (_G_HAVE_IO_FILE_OPEN): Likewise.
23809 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23810 (_G_int32_t): Likewise.
23811 (_G_uint16_t): Likewise.
23812 (_G_uint32_t): Likewise.
23813 (_G_HAVE_BOOL): Likewise.
23814 (_G_HAVE_ATEXIT): Likewise.
23815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23816 (_G_HAVE_IO_FILE_OPEN): Likewise.
23817 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23818 (_G_int32_t): Likewise.
23819 (_G_uint16_t): Likewise.
23820 (_G_uint32_t): Likewise.
23821 (_G_HAVE_BOOL): Likewise.
23822 (_G_HAVE_ATEXIT): Likewise.
23823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23824 (_G_HAVE_IO_FILE_OPEN): Likewise.
23825
b1dc5912
L
238262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23827
23828 * csu/libc-tls.c: Update copyright years.
23829
0e886ef9
JM
238302012-09-10 Joseph Myers <joseph@codesourcery.com>
23831
28361c5e
JM
23832 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23833 [!_G_USING_THUNKS]: Remove conditional code.
23834 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23835 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23836
0e886ef9
JM
23837 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23838 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23839 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23840 (_G_VTABLE_LABEL_PREFIX): Likewise.
23841 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23842 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23843 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23844 (_G_VTABLE_LABEL_PREFIX): Likewise.
23845 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23846 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23847 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23848 (_G_VTABLE_LABEL_PREFIX): Likewise.
23849 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23850
bcba7aa2
L
238512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 * libio/Makefile: Include ../Makeconfig before tests.
23854 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23855 only if $(build-shared) is yes.
23856
06585ee8
L
23857 * iconv/gconv_db.c: Update copyright years.
23858
80ccd52c
LD
238592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23860
23861 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23862 unwind info if defined PIC. Fix special cases description.
23863 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23864
23865 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23866 DP_HI_MASK entry.
23867 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23868
691bc9c1
L
238692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23870
3d9b46b3
L
23871 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23872
de2139a9
L
23873 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23874 is NULL.
23875
5ca78dd0
L
23876 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23877 (LDLIBS-tst-chk4): This.
23878 (LDFLAGS-tst-chk5): Renamed to ...
23879 (LDLIBS-tst-chk5): This.
23880 (LDFLAGS-tst-chk6): Renamed to ...
23881 (LDLIBS-tst-chk6): This.
23882 (LDFLAGS-tst-lfschk4): Renamed to ...
23883 (LDLIBS-tst-lfschk4): This.
23884 (LDFLAGS-tst-lfschk5): Renamed to ...
23885 (LDLIBS-tst-lfschk5): This.
23886 (LDFLAGS-tst-lfschk6): Renamed to ...
23887 (LDLIBS-tst-lfschk6): This.
23888
691bc9c1
L
23889 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23890 on $(common-objpfx)soversions.mk.
23891
65cafb1c
JM
238922012-09-07 Joseph Myers <joseph@codesourcery.com>
23893
23894 [BZ #10014]
23895 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23896 example host name.
23897
c78ab094
SP
238982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23899
23900 * malloc/arena.c (arena_get_retry): New function that gets
23901 another arena for the caller to try its request on.
23902 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23903 current arena cannot fulfill the request.
23904 (__libc_memalign): Likewise.
23905 (__libc_memalign): Likewise.
23906 (__libc_pvalloc): Likewise.
23907 (__libc_calloc): Likewise.
23908
01f49f59
JT
239092012-09-05 John Tobey <john.tobey@gmail.com>
23910
23911 [BZ #13542]
23912 * manual/arith.texi (Operations on Complex): Fix description
23913 of carg branch cut.
23914
4c23fed5
JM
239152012-09-06 Joseph Myers <joseph@codesourcery.com>
23916
1d3c8572
JM
23917 [BZ #10014]
23918 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23919 host name.
23920
4c23fed5
JM
23921 [BZ #10038]
23922 * manual/memory.texi (Memory): Make order of menu items match
23923 order of sections.
23924
04570aaa
L
239252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23928 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23929 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23930
b80af2f4
L
239312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23932
23933 * csu/libc-tls.c (static_dtv): Renamed to ...
23934 (_dl_static_dtv): This. Make it global.
23935 (_dl_initial_dtv): Removed.
23936 (__libc_setup_tls): Updated.
23937 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23938 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23939 DL_INITIAL_DTV.
23940
2abe9f15
PM
239412012-09-06 Petr Machata <pmachata@redhat.com>
23942
23943 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23944 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23945 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23946 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23947
0948c3af
L
239482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 [BZ #14545]
23951 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23952 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23953 freeing dtv[-1].
23954
a5055ad1
L
239552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23956
23957 [BZ #14544]
23958 * Makeconfig (link-static-before-libc): Replace $(+prector)
23959 with $(+prectorT).
23960 (link-static-after-libc): Replace $(+postctor) with
23961 $(+postctorT).
23962 (link-bounded): Replace $(+prector)/$(+postctor) with
23963 $(+prectorT)/$(+postctorT).
23964 (+prectorT): New macro.
23965 (+postctorT): Likewise.
23966
ed8c2ecd
JM
239672012-09-06 Joseph Myers <joseph@codesourcery.com>
23968
23969 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23970 (round_str): Handle values above the maximum for IBM long double
23971 as inexact.
23972 * stdlib/tst-strtod-round.c (tests): Regenerated.
23973
14c996c8
AK
239742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23975
23976 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23977 assembler flag.
23978 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23979 zarch_nohighgprs around the zarch optimized routines.
23980 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23981 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23982 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23983 for zarch.
23984
430d6ce6
DM
239852012-09-05 David S. Miller <davem@davemloft.net>
23986
23987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23988
ff04dda4
DM
23989 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23990 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23991 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23992 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23993 entries.
23994
24d4e01b
AO
239952012-09-05 Alexandre Oliva <aoliva@redhat.com>
23996
23997 * malloc/arena.c: Fold copyright years.
23998 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23999
61d58174
AO
240002012-09-05 Alexandre Oliva <aoliva@redhat.com>
24001
24002 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24003
20196a5e
AO
240042012-09-05 Alexandre Oliva <aoliva@redhat.com>
24005
24006 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24007
5c447383
AO
240082012-09-05 Alexandre Oliva <aoliva@redhat.com>
24009
24010 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24011 change internal state upon failure.
24012
fad64255
AO
240132012-09-05 Alexandre Oliva <aoliva@redhat.com>
24014
24015 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24016 * malloc/memusage.c (mmap): Likewise.
24017 (mmap64, mremap): Likewise. Adjust name in comment.
24018
1ffb8c90
SP
240192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24020
24021 * libio/fileops.c: Fix typos in comments.
24022 * libio/oldfileops.c: Likewise.
24023 * libio/wfileops.c: Likewise.
24024
6ef9cc37
SP
240252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24026
24027 [BZ #1349]
24028 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24029 (tst-malloc-usable-ENV): Set environment for test case.
24030 * malloc/hooks.c (malloc_check_get_size): New function to get
24031 requested size.
24032 * malloc/malloc.c (musable): Use malloc_check_get_size.
24033 * malloc/tst-malloc-usable.c: New test case.
24034
4d038ae3
AS
240352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24036
24037 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24038
c4e85184
AM
240392012-09-05 Allan McRae <allan@archlinux.org>
24040
b9dafc56 24041 [BZ #13966]
c4e85184
AM
24042 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24043 determine header location.
24044 * configure: Regenerated.
24045
e1343020
AS
240462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24047
24048 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24049 float format.
24050 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24051 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24052 format.
e1343020
AS
24053 (test): Regenerate.
24054
0a9f1987
DM
240552012-09-04 David S. Miller <davem@davemloft.net>
24056
24057 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24058 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24060
29237804
FW
240612012-09-04 Florian Weimer <fweimer@redhat.com>
24062
24063 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24064 failures.
24065
edb3cb88
FW
24066 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24067
60160d83
JM
240682012-09-04 Joseph Myers <joseph@codesourcery.com>
24069
24070 [BZ #9914]
24071 * libio/iogetdelim.c: Include <limits.h>.
24072 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24073 + len + 1 would overflow.
24074
bcd6c8dc
AJ
240752012-09-03 Andreas Jaeger <aj@suse.de>
24076
24077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24078 * sysdeps/i386/fpu/libm-test-ulps: Update.
24079
4ffffbd2
LD
240802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24081
24082 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24083 Add s_sinf-sse2, s_conf-sse2.
24084
24085 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24086 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24087 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24088 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24089
24090 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24091 for using routine as __sinf_ia32.
24092 Use macro for function declaration and weak_alias.
24093 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24094 for using routine as __cosf_ia32.
24095 Use macro for function declaration and weak_alias.
24096
24097 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24098 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24099
24100 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24101 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24103
24104 * math/libm-test.inc (cos_test): Add more test cases.
24105 (sin_test): Likewise.
24106 (sincos_test): Likewise.
24107
511fa286
AK
241082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24109
24110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24111 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24112 hidden.
24113 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24114
5f30cfec
L
241152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 [BZ #14538]
24118 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24119 first element of the GOT.
24120 (elf_machine_load_address): Return the difference between
24121 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24122
0786794f
AM
241232012-09-01 Allan McRae <allan@archlinux.org>
24124
5f30cfec
L
24125 [BZ #13412]
24126 * configure.in (AWK): Require gawk version 3.0 or later.
24127 * configure: Regenerated.
0786794f 24128
26889eac
JM
241292012-09-01 Joseph Myers <joseph@codesourcery.com>
24130
24131 * sysdeps/unix/sysv/linux/kernel-features.h
24132 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24133 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24134 [__NR_clock_getres]: Make code unconditional.
24135 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24136 (clock_getcpuclockid): Remove code left unreachable by removal of
24137 conditionals.
24138 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24139 code unconditional.
24140 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24141 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24142 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24143 Make code unconditional.
24144 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24145 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24146 * sysdeps/unix/sysv/linux/clock_settime.c
24147 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24148 conditional code.
24149 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24150 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24151
d22e28b0
L
241522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24153
24154 [BZ #14476]
24155 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24156 scripts/test-installation.pl.
24157
24158 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24159 and $ld_so_version if it is set.
24160
050af9c4
SP
241612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24162
24163 [BZ #14516]
24164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24165 failure if reading from procfs failed.
24166 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24167
ad845c0b
JM
241682012-08-27 Joseph Myers <joseph@codesourcery.com>
24169
24170 * sysdeps/unix/sysv/linux/kernel-features.h
24171 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24172 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24173 Remove conditional code.
24174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24175 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24176 Remove conditional code.
24177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24178 * sysdeps/unix/sysv/linux/i386/fxstat.c
24179 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24181 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24182 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24184 * sysdeps/unix/sysv/linux/i386/lxstat.c
24185 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24187 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24188 Remove conditional code.
24189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24190 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24191 Remove conditional code.
24192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24193 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24194 <kernel-features.h>.
24195 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24196 Remove.
24197 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24198 Remove conditional code.
24199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24200 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24201 Remove conditional.
24202
5dbf56af
MF
242032012-08-27 Mike Frysinger <vapier@gentoo.org>
24204
24205 [BZ #5400]
24206 * NEWS: Add fixed bug number.
24207
d6e70f43
JM
242082012-08-27 Joseph Myers <joseph@codesourcery.com>
24209
7efb4737
JM
24210 [BZ #14519]
24211 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24212 underflowing exponent in case of negative sign.
24213 * stdlib/tst-strtod-round-data: Add more tests.
24214 * stdlib/tst-strtod-round.c (tests): Regenerated.
24215
af92131a
JM
24216 [BZ #3479]
24217 * stdlib/strtod_l.c (NDIG): Remove.
24218 (HEXNDIG): Likewise.
24219 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24220 smallest representable value.
24221 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24222 lie within an exact representation of 1/2 ulp of the result.
24223 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24224 unconditionally.
24225 (TENS_P9_IDX): Define unconditionally.
24226 (TENS_P9_SIZE): Likewise.
24227 (TENS_P10_IDX): Likewise.
24228 (TENS_P10_SIZE): Likewise.
24229 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24230 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24231 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24232 entries for 10^2^13 and 10^2^14.
24233 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24234 (TENS_P13_IDX): Define.
24235 (TENS_P13_SIZE): Likewise.
24236 (TENS_P14_IDX): Likewise.
24237 (TENS_P14_SIZE): Likewise.
24238 (_fpioconst_pow10): Change array size to
24239 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24240 unconditional.
24241 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24242 1024]: Add entries for 10^2^13 and 10^2^14.
24243 [LAST_POW10 > _LAST_POW10]: Remove #error.
24244 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24245 (_fpioconst_pow10): Change array size to
24246 FPIOCONST_POW10_ARRAY_SIZE.
24247 * stdlib/gen-fpioconst.c: New file.
24248 * stdlib/gen-tst-strtod-round.c: Likewise.
24249 * stdlib/tst-strtod-round-data: Likewise.
24250 * stdlib/tst-strtod-round.c: Likewise.
24251 * stdlib/Makefile (tests): Add tst-strtod-round.
24252
d6e70f43
JM
24253 [BZ #14459]
24254 * stdlib/strtod_l.c: Include <stdint.h>.
24255 (NDEBUG): Do not define.
24256 (round_and_return): Change EXPONENT parameter to type intmax_t.
24257 Rearrange calculations to avoid internal overflow possibilities.
24258 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24259 Rearrange calculations to avoid internal overflow possibilities.
24260 Assert that number fits inside MPNSIZE limbs.
24261 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24262 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24263 calculations and add assertions to avoid internal overflow
24264 possibilities. Add casts to avoid signed/unsigned operations.
24265 * stdlib/tst-strtod-overflow.c: New file.
24266 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24267
1f529f7d
MP
242682012-08-25 Marek Polacek <polacek@redhat.com>
24269
24270 * time/time.h: Fix some typos in comments.
24271
59a629f1
RM
242722012-08-23 Roland McGrath <roland@hack.frob.com>
24273
24274 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24275 * posix/tst-rfc3484-2.c: Likewise.
24276 * posix/tst-rfc3484-3.c: Likewise.
24277
d3bafbc9
SM
242782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24279
24280 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24281 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24282
4efcc022
JM
242832012-08-23 Joseph Myers <joseph@codesourcery.com>
24284
24285 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24286 #include of fxstatat64.c.
24287
3cc3ef96
RM
242882012-08-22 Roland McGrath <roland@hack.frob.com>
24289
f04e2132
RM
24290 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24291 * shadow/getspent_r.c: Likewise.
24292 * shadow/getspnam.c: Likewise.
24293 * shadow/getspnam_r.c: Likewise.
24294 * gshadow/getsgent.c: Likewise.
24295 * gshadow/getsgent_r.c: Likewise.
24296 * gshadow/getsgnam.c: Likewise.
24297 * gshadow/getsgnam_r.c: Likewise.
24298 * inet/getnetbyad.c: Likewise.
24299 * inet/getnetbyad_r.c: Likewise.
24300 * inet/getnetbynm.c: Likewise.
24301 * inet/getnetbynm_r.c: Likewise.
24302 * inet/getnetent.c: Likewise.
24303 * inet/getnetent_r.c: Likewise.
24304 * inet/getproto.c: Likewise.
24305 * inet/getproto_r.c: Likewise.
24306 * inet/getprtent.c: Likewise.
24307 * inet/getprtent_r.c: Likewise.
24308 * inet/getprtname.c: Likewise.
24309 * inet/getprtname_r.c: Likewise.
24310 * inet/getrpcbyname.c: Likewise.
24311 * inet/getrpcbyname_r.c: Likewise.
24312 * inet/getrpcbynumber.c: Likewise.
24313 * inet/getrpcbynumber_r.c: Likewise.
24314 * inet/getrpcent.c: Likewise.
24315 * inet/getrpcent_r.c: Likewise.
24316 * inet/getaliasent.c: Likewise.
24317 * inet/getaliasent_r.c: Likewise.
24318 * inet/getaliasname.c: Likewise.
24319 * inet/getaliasname_r.c: Likewise.
24320 * nscd/getgrgid_r.c: Likewise.
24321 * nscd/getgrnam_r.c: Likewise.
24322 * nscd/gethstbyad_r.c: Likewise.
24323 * nscd/gethstbynm3_r.c: Likewise.
24324 * nscd/getpwnam_r.c: Likewise.
24325 * nscd/getpwuid_r.c: Likewise.
24326 * nscd/getsrvbynm_r.c: Likewise.
24327 * nscd/getsrvbypt_r.c: Likewise.
24328 * nscd/gai.c: Likewise.
24329
c53d909c
RM
24330 * configure.in (build_nscd): New substituted variable, set
24331 by --disable-build-nscd and defaults to $use_nscd.
24332 * configure: Regenerated.
24333 * config.make.in (build-nscd): New substituted variable.
24334 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24335 Change conditional to require [$(build-nscd) = yes] as well.
24336 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24337
3cc3ef96
RM
24338 [BZ# 13696]
24339 * configure.in (use_nscd): New substituted variable, set by
24340 --disable-nscd. If enabled, define USE_NSCD.
24341 * configure: Regenerated.
24342 * config.h.in: Add USE_NSCD.
24343 * config.make.in (use-nscd): New substituted variable.
24344 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24345 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24346 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24347 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24348 (CFLAGS-getgrnam_r.c): Likewise.
24349 (CFLAGS-initgroups.c): Likewise.
24350 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24351 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24352 Variables removed.
24353 * inet/getnetgrent_r.c
24354 (nscd_setnetgrent): New function, broken out of ...
24355 (setnetgrent): ... here. Call it.
24356 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24357 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24358 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24359 * nscd/Makefile (routines, aux): Move definitions after include of
24360 Makeconfig. Conditionalize on [$(use-nscd) != no].
24361 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24362 Conditionalize on [USE_NSCD].
24363 (is_nscd, nscd_init_cb): Likewise.
24364 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24365 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24366 * nss/nss_db/db-init.c: Likewise.
24367 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24368 [USE_NSCD].
24369 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24370 (make_request): Use it.
24371 (cache_valid_p): New function.
24372 (__check_pf): Use it.
24373 * NEWS: Add item for --disable-nscd.
24374
07e51550
DL
243752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24376
24377 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24378 to support sed >= 4.2.1-20-ga9bf076.
24379 * configure: Regenerated.
24380
35a5b08b
RM
243812012-08-22 Roland McGrath <roland@hack.frob.com>
24382
24383 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24384 Conditionalize whole body on [IREL].
24385
8479f23a
JL
243862012-08-22 Jeff Law <law@redhat.com>
24387
24388 [BZ #14505]
24389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24390 if the family is PF_UNSPEC.
24391
48da0b21
MF
243922012-08-22 Mike Frysinger <vapier@gentoo.org>
24393
24394 * Makerules (lib-version): Rename from V.
24395 (install-lib-nosubdir): Change V to lib-version.
24396
15d0da8c
WS
243972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24398
24399 [BZ #14252]
24400 * powerpc32/power6/wcschr.c: New file.
24401 * powerpc32/power6/wcscpy.c: New file.
24402 * powerpc32/power6/wcsrchr.c: New file.
24403 * powerpc64/power6/wcschr.c: New file.
24404 * powerpc64/power6/wcscpy.c: New file.
24405 * powerpc64/power6/wcsrchr.c: New file.
24406
bcca0895
MK
244072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24408
24409 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24410 (two_way_short_needle): Use it.
5a4aaa33
RM
24411 * string/strstr.c (AVAILABLE1_USES_J): Define.
24412 * string/strcasestr.c: Likewise.
99677e57
MK
24413
24414 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24415 array references.
24416 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24417
400726de
MK
24418 [BZ #11607]
24419 * NEWS: Add an entry.
24420 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24421 define their defaults.
24422 (two_way_short_needle): Detect end-of-string on-the-fly.
24423 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24424 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24425 * string/bug-strcasestr1.c: New test.
24426 * string/Makefile: Run it.
24427
20a71f2c
MK
244282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24429
24430 [BZ #11607]
24431 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24432 the first character.
24433
21ad0558
RM
244342012-08-21 Roland McGrath <roland@hack.frob.com>
24435
24436 * csu/elf-init.c (__libc_csu_irel): Function removed.
24437 * csu/libc-start.c (apply_irel): New function.
24438 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24439
0e1d9911
JM
244402012-08-21 Joseph Myers <joseph@codesourcery.com>
24441
24442 * sysdeps/unix/sysv/linux/kernel-features.h
24443 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24444 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24445 <kernel-features.h>.
24446 [__NR_fadvise64_64]: Make code unconditional.
24447 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24448 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24449 !__NR_fadvise64_64)]: Likewise.
24450 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24451 !__NR_fadvise64_64))]: Likewise.
24452 [__NR_fadvise64]: Make code unconditional.
24453 [!__NR_fadvise64]: Remove conditional code.
24454 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24455 <kernel-features.h>.
24456 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24457 unconditional.
24458 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24459 conditional code.
24460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24461 not include <kernel-features.h>.
24462 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24463 unconditional.
24464 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24465 conditional code.
24466 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24467 include <kernel-features.h>.
24468 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24469 unconditional.
24470 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24471 conditional code.
24472
14a50c9d
WS
244732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24474
24475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24476 slight instruction rearrangements per scrollpipe analysis.
24477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24478
c0f4faf0
RM
244792012-08-20 Roland McGrath <roland@hack.frob.com>
24480
696da859
RM
24481 * manual/syslog.texi (syslog; vsyslog, closelog):
24482 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24483 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24484
c0f4faf0
RM
24485 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24486 DSOCAPS to match condition on defining it.
24487
348363b2
JM
244882012-08-20 Joseph Myers <joseph@codesourcery.com>
24489
a35cbf28
JM
24490 * sysdeps/unix/sysv/linux/kernel-features.h
24491 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24493 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24494 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24496 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24497 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24499 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24500 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24501
445f7ecd
JM
24502 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24503 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24504
348363b2
JM
24505 * sysdeps/unix/sysv/linux/kernel-features.h
24506 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24507 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24508 unconditional.
24509 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24510 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24511 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24512 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24513 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24514 Make code unconditional.
24515 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24516 (__mmap64) [!__NR_mmap2]: Likewise.
24517 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24518 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24519 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24520 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24521 [__NR_mmap2]: Make code unconditional.
24522 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24523 (__mmap64) [!__NR_mmap2]: Likewise.
24524
bc5bc0e5
AK
245252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24526
24527 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24528
88d506de
AJ
245292012-08-18 Andreas Jaeger <aj@suse.de>
24530
24531 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24532
493387d2
MF
245332012-08-18 Mike Frysinger <vapier@gentoo.org>
24534
24535 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24536 * include/unistd.h (__have_sock_cloexec): Likewise.
24537 (__have_pipe2): Likewise.
24538 (__have_dup3): Likewise.
24539
a277af22
MF
245402012-08-18 Mike Frysinger <vapier@gentoo.org>
24541
24542 [BZ #9685]
24543 * include/unistd.h (__have_pipe2): Change define into an extern int.
24544 (__have_dup3): Likewise.
24545 * socket/have_sock_cloexec.c: Include fcntl.h.
24546 (__have_pipe2): New variable.
24547 (__have_dup3): Likewise.
24548
fdab8fd3
MF
245492012-08-17 Mike Frysinger <vapier@gentoo.org>
24550
24551 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24552
31035e80
MP
245532012-08-17 Marek Polacek <polacek@redhat.com>
24554
24555 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24556 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24557
3bd9e993
RM
245582012-08-17 Roland McGrath <roland@hack.frob.com>
24559
c91c505f
RM
24560 * configure.in: Add AC_SUBST for sysheaders.
24561 * configure: Regenerated.
24562 * config.make.in (sysheaders): New substituted variable.
24563
7c6f9d53
RM
24564 * sysdeps/unix/mkfifo.c: Moved ...
24565 * sysdeps/posix/mkfifo.c: ... here.
24566 * sysdeps/unix/mkfifoat.c: Moved ...
24567 * sysdeps/posix/mkfifoat.c: ... here.
24568
24569 * sysdeps/unix/utime.c: Moved ...
24570 * sysdeps/posix/utime.c: ... here.
24571
24572 * sysdeps/unix/time.c: Moved ...
24573 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24574 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24575 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24576
24577 * sysdeps/unix/nice.c: Moved ...
24578 * sysdeps/posix/nice.c: ... here.
24579
24580 * sysdeps/unix/alarm.c: Moved ...
24581 * sysdeps/posix/alarm.c: ... here.
24582
3bd9e993
RM
24583 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24584
d1f09384
JL
245852012-08-17 Jeff Law <law@redhat.com>
24586
24587 * intl/Makefile (codeset_mo): New variable.
24588 ($(codeset_mo)): New target.
24589 (tst-codeset.out): Depend on that. Remove explicit rule.
24590 (tst-gettext3.out, tst-gettext5.out): Likewise.
24591 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24592 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24593 * intl/tst-codeset.sh: Remove.
24594 * intl/tst-gettext3.sh: Likewise.
24595 * intl/tst-gettext5.sh: Likewise.
24596
2ae1ae5c
RM
245972012-08-17 Roland McGrath <roland@hack.frob.com>
24598
c31fdb83
RM
24599 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24600 * sysdeps/unix/syscalls.list: ... here.
24601
a0844057
RM
24602 * sysdeps/posix/getaddrinfo.c
24603 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24604 (gaiconf_init, gaiconf_reload): Use them.
24605 [!_STATBUF_ST_NSEC]
24606 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24607 Define using time_t rather than struct timespec.
24608
750c1f2a
RM
24609 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24610 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24611 Macros removed.
24612 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24613 [!NO_THREADS].
24614 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24615 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24616 Likewise.
24617
2ae1ae5c
RM
24618 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24619 __libc_cleanup_push argument.
24620
e66a42f5
RM
24621 * bits/param.h: New file.
24622 * misc/sys/param.h: New file.
24623 * include/sys/param.h: New file.
24624 * misc/Makefile (headers): Add bits/param.h.
24625 * sysdeps/generic/sys/param.h: File removed.
24626 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24627 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24628 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24629 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24630
b7c08a66
RM
24631 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24632 last change.
24633
b2e1c562
RM
24634 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24635 [_IO_MTSAFE_IO].
24636 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24637 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24638 New macros.
24639
c75ccd4c
RM
24640 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24641 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24642 rather than -D_IO_MTSAFE_IO conditionally.
24643 * stdio-common/Makefile (CPPFLAGS): Likewise.
24644 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24645 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24646 Use $(libio-mtsafe).
24647 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24648 of -D_IO_MTSAFE_IO.
24649 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24650 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24651 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24652 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24653 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24654 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24655 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24656 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24657 (CFLAGS-fread_u_chk.c): Likewise.
24658 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24659 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24660 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24661 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24662 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24663 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24664 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24665 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24666 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24667
24668 * libio/Makefile: Test [$(libc-reentrant) = yes]
24669 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24670
24671 * Makeconfig
24672 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24673 * sysdeps/pthread/configure: File removed.
24674 * sysdeps/pthread/Makeconfig: New file.
24675 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24676 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24677
d9195db8
GB
246782012-08-16 Gary Benson <gbenson@redhat.com>
24679
24680 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24681 unmapping the first object in a namespace.
24682
86466cd9
RM
246832012-08-16 Roland McGrath <roland@hack.frob.com>
24684
24685 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24686 (__internal_setnetgrent): ... this. Add internal_function to
24687 definition. Add libc_hidden_def.
24688 (setnetgrent): Update caller.
24689 (internal_endnetgrent): Renamed to ...
24690 (__internal_endnetgrent): ... this. Add internal_function to
24691 definition. Add libc_hidden_def.
24692 (endnetgrent): Update caller.
24693 (internal_getnetgrent_r): Renamed to ...
24694 (__internal_getnetgrent_r): ... this. Add internal_function to
24695 definition. Add libc_hidden_def.
24696 (__getnetgrent_r): Update caller.
24697 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24698
c3c8283c
JM
246992012-08-16 Joseph Myers <joseph@codesourcery.com>
24700
24701 * stdlib/longlong.h: Update from GCC.
24702
db1ee0a8
RM
247032012-08-16 Roland McGrath <roland@hack.frob.com>
24704
24705 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24706 on _QL, which is set by umul_ppmm but never used.
24707 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24708 variables, which are set by GMP macros but never used.
24709 * stdio-common/_itowa.c (_itowa): Likewise.
24710 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24711 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24712
30f69637
CD
247132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24714
24715 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24716 struct La_sh_regs is not constant.
24717 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24718 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24719 and struct La_sparc64_regs are not constant.
24720
93a78ac4
JM
247212012-08-16 Joseph Myers <joseph@codesourcery.com>
24722
24723 * sysdeps/unix/sysv/linux/kernel-features.h
24724 (__ASSUME_POSIX_TIMERS): Remove.
24725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24726 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24727 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24728 Make code unconditional.
24729 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24730 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24731 Make code unconditional.
24732 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24733 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24734 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24735 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24736 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24737 Make code unconditional.
24738 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24739 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24740 (__libc_missing_posix_timers): Remove.
24741
dd924cd7
RM
247422012-08-15 Roland McGrath <roland@hack.frob.com>
24743
4b4f2771
RM
24744 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24745 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24746
601c888b
RM
24747 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24748
176790a7
RM
24749 * elf/dl-sym.c: Include <stdlib.h>.
24750
329bc018
RM
24751 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24752 constants, which avoids warnings in 32-bit builds.
24753
e04e272d
RM
24754 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24755 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24756
952bf94a
RM
24757 * misc/lseek.c: File moved to ...
24758 * io/lseek.c: ... here.
24759
7c99b50a
RM
24760 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24761
dd924cd7
RM
24762 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24763 shifting LEN more than 31 bits at once.
24764
b3f479a8
LD
247652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24766
24767 [BZ #14195]
8c4ae0d4
RM
24768 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24769 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24770 * string/test-strncasecmp.c (check1): Renamed to...
24771 (bz12205): ...this.
24772 (bz14195): Add new testcase for two empty input strings and N > 0.
24773 (test_main): Call new testcase, adapt for renamed function.
24774
9c55864e
AJ
247752012-08-15 Andreas Jaeger <aj@suse.de>
24776
24777 [BZ #14090]
24778 * crypt/md5test2.c: New test, based on test supplied by Serge
24779 Belyshev <belyshev@depni.sinp.msu.ru>.
24780 * crypt/Makefile (xtests): Add md5test-giant..
24781 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24782
02dcb6c5
PE
247832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24784
24785 [BZ #14090]
24786 * crypt/md5.c (md5_process_block): Don't assume the buffer
24787 length is less than 2**32.
24788 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24789 length is less than 2**64.
24790
a3f95dcc
RM
247912012-08-15 Roland McGrath <roland@hack.frob.com>
24792
be75d758
RM
24793 * string/str-two-way.h: Include <sys/param.h>.
24794 (MAX): Macro removed.
24795
7312ca90
RM
24796 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24797 Move #define and #undef of memmove to just before and after
24798 including <string.h>.
24799
9a0a5486
RM
24800 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24801 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24802 and after including <string.h>. Move declarations of
24803 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24804 to before #include "string/memmove.c".
24805
67cc348d
RM
24806 * include/dirent.h: Declare __getdirentries.
24807
a3f95dcc
RM
24808 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24809 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24810
ca98e171
MF
248112012-08-14 Mike Frysinger <vapier@gentoo.org>
24812
24813 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24814 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24815 * sysdeps/i386/configure: Regenerated.
24816 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24817 STABS_CURRENT_FILE, and STABS_FUN.
24818 (END): Remove call to STABS_FUN_END.
24819 (STABS_CURRENT_FILE1): Delete.
24820 (STABS_CURRENT_FILE): Likewise.
24821 (STABS_FUN): Likewise.
24822 (STABS_FUN_END): Likewise.
24823 (STABS_FUN2): Likewise.
24824 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24825 * sysdeps/x86_64/configure: Regenerated.
24826
5908bf46
RM
248272012-08-14 Roland McGrath <roland@hack.frob.com>
24828
24829 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24830 * elf/dl-lookup.c: Likewise.
5908bf46 24831
f2c05b9e
JM
248322012-08-14 Joseph Myers <joseph@codesourcery.com>
24833
24834 * sysdeps/unix/sysv/linux/kernel-features.h
24835 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24836 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24837 unconditionally.
24838 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24839 unconditionally.
24840 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24841 condition on __ASSUME_CLONE_THREAD_FLAGS.
24842
e11f5155
AJ
248432012-08-14 Andreas Jaeger <aj@suse.de>
24844
24845 * sysdeps/i386/fpu/libm-test-ulps: Update.
24846
51a9ba86
MK
248472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24848
2fdd4f78
AJ
24849 * include/atomic.h (atomic_exchange_and_add): Split into ...
24850 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24851 New atomic macros.
51a9ba86 24852
ba6cba9e
MT
248532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24854
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24856
42443a47
JL
248572012-08-13 Jeff Law <law@redhat.com>
24858
24859 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24860 null byte in the output string.
24861
121dce05
JM
248622012-08-10 Joseph Myers <joseph@codesourcery.com>
24863
24864 * sysdeps/unix/sysv/linux/kernel-features.h
24865 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24866 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24867 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24868 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24869 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24870 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24871 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24872
bf51f568
JL
248732012-08-09 Jeff Law <law@redhat.com>
24874
24875 [BZ #13939]
24876 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24877 When avoid_arena is set, don't retry in the that arena. Pick the
24878 next one, whatever it might be.
24879 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24880 (arena_lock): Pass in new parameter to arena_get2.
24881 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24882 arena_get2.
24883 (__libc_malloc): Unify retrying after main arena failure with
24884 __libc_memalign version.
24885 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24886
f85fa270
L
248872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 [BZ #14166]
24890 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24891 to __redirect_strstr.
24892 (__strstr_sse42): Use typeof __redirect_strstr.
24893 (__strstr_ia32): Likewise.
24894 (__libc_strstr): New prototype.
24895 (strstr): Renamed to ...
24896 (__libc_strstr): This.
24897 (strstr): New strong alias of __libc_strstr.
24898 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24899 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24900 __redirect_time.
24901 Include <time.h>.
24902 (__libc_time): New prototype.
24903 (time_ifunc): Replace time with __libc_time.
24904 (time): New strong alias and hidden definition of __libc_time.
24905 (__GI_time): Remove strong alias.
24906 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24907 Include <stddef.h>.
24908 (memmove): Redefined to __redirect_memmove.
24909 (__memmove_sse2): Use typeof __redirect_memmove.
24910 (__memmove_ssse3): Likewise.
24911 (__memmove_ssse3_back): Likewise.
24912 (__libc_memmove): New prototype.
24913 (memmove): Renamed to ...
24914 (__libc_memmove): This.
24915 (memmove): New strong alias of __libc_memmove.
24916
33b4a91e
MS
249172012-08-08 Mark Salter <msalter@redhat.com>
24918
24919 * elf/elf.h
24920 (R_MN10300_TLS_GD): Define.
24921 (R_MN10300_TLS_LD): Likewise.
24922 (R_MN10300_TLS_LDO): Likewise.
24923 (R_MN10300_TLS_GOTIE): Likewise.
24924 (R_MN10300_TLS_IE): Likewise.
24925 (R_MN10300_TLS_LE): Likewise.
24926 (R_MN10300_TLS_DTPMOD): Likewise.
24927 (R_MN10300_TLS_DTPOFF): Likewise.
24928 (R_MN10300_TLS_TPOFF): Likewise.
24929 (R_MN10300_SYM_DIFF): Likewise.
24930 (R_MN10300_ALIGN): Likewise.
24931 (R_MN10300_NUM): Update.
24932
b36137f1
JM
249332012-08-08 Joseph Myers <joseph@codesourcery.com>
24934
24935 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24936 Remove.
24937
cdd915fd
RM
249382012-08-08 Roland McGrath <roland@hack.frob.com>
24939
a2433aac
RM
24940 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24941
cdd915fd
RM
24942 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24943 sysdeps/unix -> sysdeps/posix move.
24944 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24945
bf9b740a
AM
249462012-08-07 Allan McRae <allan@archlinux.org>
24947
24948 [BZ #14303]
24949 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24950 (SUNOS_CPP): Likewise.
24951 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24952 not found.
24953 (open_input): Call CPP using execvp.
24954
93df14ee
JM
249552012-08-07 Joseph Myers <joseph@codesourcery.com>
24956
24957 * sysdeps/unix/sysv/linux/kernel-features.h
24958 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24959 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24960 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24961 (__ASSUME_WAITID_SYSCALL): Likewise.
24962 * sysdeps/unix/sysv/linux/dl-execstack.c
24963 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24964 code unconditional.
24965 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24966 conditional code.
24967 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24968 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24969 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24970 code.
24971 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24972 unconditional.
24973 [__ASSUME_WAITID_SYSCALL]: Likewise.
24974 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24975
d34689de
RM
249762012-08-07 Roland McGrath <roland@hack.frob.com>
24977
a281decc
RM
24978 * sysdeps/unix/closedir.c: Renamed to ...
24979 * sysdeps/posix/closedir.c: ... here.
24980 * sysdeps/unix/dirfd.c: Renamed to ...
24981 * sysdeps/posix/dirfd.c: ... here.
24982 * sysdeps/unix/dirstream.h: Renamed to ...
24983 * sysdeps/posix/dirstream.h: ... here.
24984 * sysdeps/unix/fdopendir.c: Renamed to ...
24985 * sysdeps/posix/fdopendir.c: ... here.
24986 * sysdeps/unix/opendir.c: Renamed to ...
24987 * sysdeps/posix/opendir.c: ... here.
24988 * sysdeps/unix/readdir.c: Renamed to ...
24989 * sysdeps/posix/readdir.c: ... here.
24990 * sysdeps/unix/readdir_r.c: Renamed to ...
24991 * sysdeps/posix/readdir_r.c: ... here.
24992 * sysdeps/unix/rewinddir.c: Renamed to ...
24993 * sysdeps/posix/rewinddir.c: ... here.
24994 * sysdeps/unix/seekdir.c: Renamed to ...
24995 * sysdeps/posix/seekdir.c: ... here.
24996 * sysdeps/unix/telldir.c: Renamed to ...
24997 * sysdeps/posix/telldir.c: ... here.
24998 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24999 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25000 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25001 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25002
22895b47
RM
25003 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25004 * bits/fcntl.h: ... here.
25005
707a53b6
RM
25006 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25007 not 0.
25008 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25009 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25010 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25011 (struct flock): Move l_start, l_len to the beginning.
25012 Use __pid_t for l_pid.
25013 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25014 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25015 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25016 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25017 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25018 [__USE_LARGEFILE64] (struct flock64): New type.
25019 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25020
f0bd3e25
RM
25021 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25022 * bits/dirent.h: ... here.
25023
d34689de
RM
25024 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25025 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25026
6dad2c06
JM
250272012-08-07 Joseph Myers <joseph@codesourcery.com>
25028
25029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25030 Change from 2.6.0 to 2.6.16.
25031 * sysdeps/unix/sysv/linux/configure: Regenerated.
25032 * sysdeps/unix/sysv/linux/kernel-features.h
25033 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25034 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25035 version.
25036 (__ASSUME_UTIMES): Likewise.
25037 (__ASSUME_CLONE_STOPPED): Remove.
25038 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25039 architectures, not kernel version.
25040 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25041 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25042 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25043 (__ASSUME_WAITID_SYSCALL): Likewise.
25044 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25045 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25046 * README: State 2.6.16 as minimum Linux kernel version. Do not
25047 refer to older versions.
25048
03af9520
RM
250492012-08-06 Roland McGrath <roland@hack.frob.com>
25050
8e49df1d
RM
25051 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25052 Define alphasort64 as an alias.
25053 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25054 Define versionsort64 as an alias.
25055 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25056 Define scandir64 as an alias.
25057 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25058 Define scandirat64 as an alias.
25059 * dirent/alphasort64.c (alphasort64):
25060 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25061 * dirent/versionsort64.c: Likewise.
25062 * dirent/scandir64.c: Likewise.
25063 * dirent/scandirat64.c: Likewise.
25064 * sysdeps/wordsize-64/alphasort.c: File removed.
25065 * sysdeps/wordsize-64/alphasort64.c: File removed.
25066 * sysdeps/wordsize-64/scandir.c: File removed.
25067 * sysdeps/wordsize-64/scandir64.c: File removed.
25068 * sysdeps/wordsize-64/scandirat.c: File removed.
25069 * sysdeps/wordsize-64/scandirat64.c: File removed.
25070 * sysdeps/wordsize-64/versionsort.c: File removed.
25071 * sysdeps/wordsize-64/versionsort64.c: File removed.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25073 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25075 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25077 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25080
25081 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25083 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25085 [defined __arch64__ || defined __sparcv9]
25086 (__INO_T_MATCHES_INO64_T): New macro.
25087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25088 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25089 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25090 * sysdeps/unix/sysv/linux/bits/dirent.h
25091 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25092 (_DIRENT_MATCHES_DIRENT64): New macro.
25093
03af9520
RM
25094 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25095 Define lockf64 as an alias.
25096 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25097 Define fseeko64 as an alias.
25098 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25099 Define ftello64 as an alias.
25100 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25101 Define _IO_fgetpos64 and fgetpos64 as aliases.
25102 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25103 Define _IO_fsetpos64 and fsetpos64 as aliases.
25104 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25105 Conditionalize body on this.
25106 * libio/fseeko64.c: Likewise.
25107 * libio/ftello64.c: Likewise.
25108 * libio/iofgetpos64.c: Likewise.
25109 * libio/iofsetpos64.c: Likewise.
25110 * sysdeps/wordsize-64/lockf.c: File removed.
25111 * sysdeps/wordsize-64/lockf64.c: File removed.
25112 * sysdeps/wordsize-64/fseeko.c: File removed.
25113 * sysdeps/wordsize-64/fseeko64.c: File removed.
25114 * sysdeps/wordsize-64/ftello.c: File removed.
25115 * sysdeps/wordsize-64/ftello64.c: File removed.
25116 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25117 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25118 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25119 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25121 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25123 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25125 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25127 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25129 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25130
25131 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25133 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25135 [defined __arch64__ || defined __sparcv9]
25136 (__OFF_T_MATCHES_OFF64_T): New macro.
25137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25138 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25140 (__OFF_T_MATCHES_OFF64_T): New macro.
25141
c5757acd
L
251422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25143
25144 * stdlib/secure-getenv.c (__secure_getenv): Replace
25145 GLIBC_2_16 with GLIBC_2_17.
25146
3a31811e
L
251472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25148
25149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25150 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25151
faa2bccb
DM
251522012-08-03 David S. Miller <davem@davemloft.net>
25153
25154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25155
85fe1997
JM
251562012-08-03 Joseph Myers <joseph@codesourcery.com>
25157
25158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25159 Remove.
25160 (__ASSUME_CORRECT_SI_PID): Likewise.
25161 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25162 (__ASSUME_TMPFS_NAME): Likewise.
25163 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25164 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25165 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25166 (HAVE_AUX_SECURE): Make definition unconditional.
25167 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25168 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25169
4f75b7a0
RM
251702012-08-03 Roland McGrath <roland@hack.frob.com>
25171
25172 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25173 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25174 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25175 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25176 __eloop_threshold instead of SYMLOOP_MAX.
25177
25178 * sysdeps/generic/eloop-threshold.h: New file.
25179 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25180 of MAXSYMLINKS.
25181 * elf/chroot_canon.c (chroot_canon): Likewise.
25182
7aab07e4
JM
251832012-08-03 Joseph Myers <joseph@codesourcery.com>
25184
25185 [BZ #13717]
25186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25187 Change to 2.6.0 everywhere.
25188 * sysdeps/unix/sysv/linux/configure: Regenerated.
25189 * sysdeps/unix/sysv/linux/kernel-features.h
25190 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25191 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25192 kernel versions.
25193 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25194 (__ASSUME_FUTEX_REQUEUE): Remove.
25195 (__ASSUME_STATFS64): Define unconditionally.
25196 (__ASSUME_AT_SECURE): Likewise.
25197 (__ASSUME_CORRECT_SI_PID): Likewise.
25198 (__ASSUME_TGKILL): Define without depending on kernel version for
25199 i386.
25200 (__ASSUME_UTIMES): Likewise.
25201 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25202 kernel version.
25203 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25204 (__ASSUME_TMPFS_NAME): Likewise.
25205 * README: Update reference to Linux kernel versions.
25206
b67e9372
MP
252072012-08-02 Marek Polacek <polacek@redhat.com>
25208
1f529f7d 25209 [BZ# 14150]
b67e9372
MP
25210 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25211 libc_cv_asm_type_prefix with %.
25212 * configure: Regenerated.
d2441631
RM
25213 * include/libc-symbols.h: Remove comment about
25214 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25215 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25216 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25217 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25218 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25219 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25220 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25221 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25222 * elf/tst-unique2mod1.c: Likewise.
25223 * elf/tst-unique1mod2.c: Likewise.
25224 * elf/tst-unique1mod1.c: Likewise.
25225 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25226 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25227 Replace ASM_TYPE_DIRECTIVE with .type.
25228 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25229 * sysdeps/i386/sysdep.h: Likewise.
25230 * sysdeps/x86_64/sysdep.h: Likewise.
25231 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25233 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25234 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25235 * sysdeps/powerpc/powerpc32/sysdep.h:
25236 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25237 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25238 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25239 * sysdeps/i386/fpu/e_powf.S: Likewise.
25240 * sysdeps/i386/fpu/e_expl.S: Likewise.
25241 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25242 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25243 * sysdeps/i386/fpu/e_pow.S: Likewise.
25244 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25245 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25246 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25247 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25248 * sysdeps/i386/fpu/e_log2.S: Likewise.
25249 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25250 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25251 * sysdeps/i386/fpu/e_powl.S: Likewise.
25252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25253 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25254 * sysdeps/i386/fpu/e_logl.S: Likewise.
25255 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25256 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25257 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25258 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25260 * sysdeps/i386/fpu/e_log.S: Likewise.
25261 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25262 * sysdeps/i386/fpu/e_logf.S: Likewise.
25263 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25264 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25265 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25266 * sysdeps/i386/fpu/e_log10.S: Likewise.
25267 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25268 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25269 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25270 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25271 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25273 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25274 * sysdeps/i386/i686/strtok.S: Likewise.
25275 * sysdeps/i386/i386-mcount.S: Likewise.
25276 * sysdeps/i386/strtok.S: Likewise.
25277 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25281 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25282 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25283 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25284 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25285 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25286 * sysdeps/x86_64/_mcount.S: Likewise.
25287 * sysdeps/x86_64/strtok.S: Likewise.
25288 * sysdeps/sh/_mcount.S: Likewise.
25289
2747bf9a
RM
252902012-08-01 Roland McGrath <roland@hack.frob.com>
25291
25292 * libio/iofopen.c: Include <fcntl.h>.
25293 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25294 (_IO_fopen64, fopen64): Define as aliases.
25295 * libio/iofopen64.c: Include <fcntl.h>.
25296 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25297 Conditionalize body on this.
25298 * sysdeps/wordsize-64/iofopen.c: File removed.
25299 * sysdeps/wordsize-64/iofopen64.c: File removed.
25300
3fb791b8
MP
253012012-08-01 Marek Polacek <polacek@redhat.com>
25302
25303 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25304 Use dlfcn directly instead of a variable.
25305 (binfmt-subdir): Do not define.
25306 (dlfcn): Likewise.
25307
a9f1039f
JM
253082012-08-01 Joseph Myers <joseph@codesourcery.com>
25309
23bddc06
JM
25310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25311 Remove all definitions.
25312 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25313 <kernel-features.h>.
25314 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25315 (miss_F_GETOWN_EX): Remove all definitions.
25316 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25317 macro definition.
25318 [!__ASSUME_FCNTL64]: Remove conditional code.
25319 [__ASSUME_FCNTL64]: Make code unconditional.
25320 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25321 <kernel-features.h>.
25322 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25323 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25324 (lockf64) [__NR_fcntl64]: Make code unconditional.
25325 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25326
a9f1039f
JM
25327 * sysdeps/unix/sysv/linux/kernel-features.h
25328 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25329 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25330 Make code unconditional.
25331 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25332 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25334 [__NR_vfork]: Make code unconditional.
25335 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25336 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25338 [__NR_vfork]: Make code unconditional.
25339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25341
09c0ee5f
RM
253422012-08-01 Roland McGrath <roland@hack.frob.com>
25343
48aec5b9
RM
25344 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25345 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25346
cd97c966
RM
25347 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25348 Define mkstemp64 as an alias.
3f55550c
RM
25349 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25350 Define mkstemps64 as an alias.
cd97c966
RM
25351 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25352 Define mkostemp64 as an alias.
b8625cfc
RM
25353 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25354 Define mkostemps64 as an alias.
cd97c966
RM
25355 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25356 Conditionalize body on this.
25357 * misc/mkostemp64.c: Likewise.
b8625cfc 25358 * misc/mkostemps64.c: Likewise.
3f55550c 25359 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25360 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25361 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25362 * sysdeps/wordsize-64/mkostemp.c: File removed.
25363 * sysdeps/wordsize-64/mkstemp.c: File removed.
25364 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25367 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25368
09c0ee5f
RM
25369 [BZ #14138]
25370 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25371 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25372 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25373 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25374
25375 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25376 compat_symbol macros from <shlib-compat.h> rather than the underlying
25377 default_symbol_version and symbol_version macros, so that DEFAULT
25378 lines in shlib-versions are respected.
25379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25380
7e66ee51
FW
253812012-08-01 Florian Weimer <fweimer@redhat.com>
25382
25383 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25384 Declare with warn_unused_result.
25385 (setgid, setregid, setegid, setresgid): Likewise.
25386 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25387 Likewise.
25388 * WUR-REPORT: Remove set*id functions.
25389
d2a54255
PT
253902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25391
25392 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25393
7ecdb005
RM
253942012-07-31 Roland McGrath <roland@hack.frob.com>
25395
b4180a5e 25396 [BZ #10191]
789bd351
RM
25397 * include/sys/socket.h (__libc_accept, __libc_accept4):
25398 Add attribute_hidden.
25399 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25400
40ce302d
RM
25401 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25402 use of PTR_MANGLE.
25403 * inet/getnetgrent_r.c (setup): Likewise.
25404
7ecdb005
RM
25405 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25406
e2eabb2c
DM
254072012-07-31 David S. Miller <davem@davemloft.net>
25408
25409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25410
d0419dbf
JM
254112012-07-31 Joseph Myers <joseph@codesourcery.com>
25412
25413 [BZ #13629]
25414 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25415 value between 1.0 and 2.0 and smaller part has absolute value less
25416 than 1.0.
25417 * math/s_clog10.c (__clog10): Likewise.
25418 * math/s_clog10f.c (__clog10f): Likewise.
25419 * math/s_clog10l.c (__clog10l): Likewise.
25420 * math/s_clogf.c (__clogf): Likewise.
25421 * math/s_clogl.c (__clogl): Likewise.
25422 * math/libm-test.inc (clog_test): Add more tests.
25423 (clog10_test): Likewise.
25424 * sysdeps/i386/fpu/libm-test-ulps: Update.
25425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25426
2bc13872
FW
254272012-07-31 Florian Weimer <fweimer@redhat.com>
25428
25429 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25430 Exit with zero in case no suitable GID is found, and write a
25431 message to standard error.
25432
bea9b193
RM
254332012-07-30 Roland McGrath <roland@hack.frob.com>
25434
25435 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25436 rather than to 1.
25437 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25438 (MAXPATHLEN): Removed.
25439 (NOGROUP, NODEV): New macros.
25440 (setbit, clrbit, isset, isclr): New macros.
25441 (howmany, roundup, powerof2): New macros.
25442 (DEV_BSIZE): New macro.
25443
25444 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25445 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25446
25447 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25448 definition on [!__NO_LONG_DOUBLE_MATH].
25449
25450 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25451 PTR_MANGLE and PTR_DEMANGLE.
25452
25453 * socket/accept4.c (accept4): Rename to __libc_accept4.
25454 Define accept4 as a weak alias.
25455
25456 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25457 on [_DIRENT_HAVE_D_TYPE].
25458 * io/ftw.c (ftw_dir): Likewise.
25459
25460 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25461
25462 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25463
25464 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25465 Use the BSD numbers rather than the arbitrary ones we had.
25466 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25467 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25468 (SIGXCPU, SIGXFSZ): New macros.
25469 (_NSIG): Now 32.
25470
25471 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25472 initializer on [_LIBC_REENTRANT].
25473
25474 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25475 definitions inside [_POSIX_MAPPED_FILES].
25476
25477 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25478
25479 * dirent/opendir.c: Include <fcntl.h>.
25480
25481 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25482 (__libc_getspecific): Likewise.
25483 (__libc_key_create): Likewise.
25484
25485 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25486 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25487 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25488 (tmpfile64): Define as alias.
25489 * sysdeps/wordsize-64/tmpfile.c: File removed.
25490 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25492 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25493
25494 * stdio-common/vfscanf.c: Include <stdbool.h>.
25495 * nss/makedb.c: Likewise.
25496 * stdio-common/_i18n_number.h: Likewise.
25497 * argp/argp-help.c: Likewise.
25498 * posix/wordexp.c: Likewise.
25499 * sysdeps/posix/spawni.c: Likewise.
25500 * nss/nss_files/files-initgroups.c: Likewise.
25501 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25502 * nss/nss_files/files-initgroups.c: Likewise.
25503 * nss/nss_db/db-netgrp.c: Likewise.
25504 * nss/nss_db/db-initgroups.c: Likewise.
25505 * io/fchmodat.c: Include <sys/stat.h>.
25506
25507 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25508 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25509
25510 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25511 [HAVE_MMAP].
25512
25513 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25514 Add multiple inclusion protection.
25515
e5abc686
DM
255162012-07-27 David S. Miller <davem@davemloft.net>
25517
25518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25519
815e6fa3
GB
255202012-07-27 Gary Benson <gbenson@redhat.com>
25521
25522 [BZ #14298]
25523 * elf/rtld.c: Include <stap-probe.h>.
25524 (dl_main): Added static probes "init_start" and "init_complete".
25525 * elf/dl-load.c: Include <stap-probe.h>.
25526 (lose): Take new parameter "nsid".
25527 Added static probe "map_failed".
25528 (_dl_map_object_from_fd): Pass namespace id to lose.
25529 Added static probe "map_start".
25530 (open_verify): Pass namespace id to lose.
25531 * elf/dl-open.c: Include <stap-probe.h>.
25532 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25533 and "reloc_complete".
25534 * elf/dl-close.c: Include <stap-probe.h>.
25535 (_dl_close_worker): Added static probes "unmap_start" and
25536 "unmap_complete".
25537 * elf/rtld-debugger-interface.txt: New file documenting the above.
25538
9f98c16c
RM
255392012-07-26 Roland McGrath <roland@hack.frob.com>
25540
25541 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25542 rather than a string variable.
25543 * sunrpc/rpc_main.c (h_output): Likewise.
25544 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25545
f3c22df3
PT
255462012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25547
25548 * inet/check_native.c: New file.
25549
3129cfc6
JM
255502012-07-26 Joseph Myers <joseph@codesourcery.com>
25551
da865e95
JM
25552 [BZ #13629]
25553 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25554 if larger part has absolute value 1.0.
25555 * math/s_clog10.c (__clog10): Likewise.
25556 * math/s_clog10f.c (__clog10f): Likewise.
25557 * math/s_clog10l.c (__clog10l): Likewise.
25558 * math/s_clogf.c (__clogf): Likewise.
25559 * math/s_clogl.c (__clogl): Likewise.
25560 * math/libm-test.inc (clog_test): Add more tests.
25561 (clog10_test): Likewise.
25562 * sysdeps/i386/fpu/libm-test-ulps: Update.
25563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25564
3129cfc6
JM
25565 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25566 (pltexit): Likewise.
25567 (La_regs): Likewise.
25568 (La_retval): Likewise.
25569 (int_retval): Likewise.
25570 Update #error for removed macros to refer only to definitions in
25571 tst-audit.h.
25572 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25573 macro.
25574 (pltexit): Likewise.
25575 (La_regs): Likewise.
25576 (La_retval): Likewise.
25577 (int_retval): Likewise.
25578 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25579 macro.
25580 (pltexit): Likewise.
25581 (La_regs): Likewise.
25582 (La_retval): Likewise.
25583 (int_retval): Likewise.
25584 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25585 macro.
25586 (pltexit): Likewise.
25587 (La_regs): Likewise.
25588 (La_retval): Likewise.
25589 (int_retval): Likewise.
25590 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25591 macro.
25592 (pltexit): Likewise.
25593 (La_regs): Likewise.
25594 (La_retval): Likewise.
25595 (int_retval): Likewise.
25596 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25597 macro.
25598 (pltexit): Likewise.
25599 (La_regs): Likewise.
25600 (La_retval): Likewise.
25601 (int_retval): Likewise.
25602 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25603 macro.
25604 (pltexit): Likewise.
25605 (La_regs): Likewise.
25606 (La_retval): Likewise.
25607 (int_retval): Likewise.
25608 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25609 macro definitions in tst-audit.h.
25610 * sysdeps/i386/tst-audit.h: New file.
25611 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25612 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25613 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25614 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25615 * sysdeps/sh/tst-audit.h: Likewise.
25616 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25617 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25618 * sysdeps/x86_64/tst-audit.h: Likewise.
25619
bfc07087
AJ
256202012-07-26 Andreas Jaeger <aj@suse.de>
25621
b1b2aaf8
AJ
25622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25623 ptrace.
25624
25625 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25626 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25627 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25628 PTRACE_O_MASK.
25629 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25630 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25631 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25632
bfc07087
AJ
25633 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25634 value.
25635
25636 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25637 _sigsys.
25638 (si_call_addr, si_syscall, si_arch): Define new macro.
25639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25640 _sigsys.
25641 (si_call_addr, si_syscall, si_arch): Define new marcro.
25642 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25643 _sigsys.
25644 (si_call_addr, si_syscall, si_arch): Define new macro.
25645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25646 _sigsys.
25647 (si_call_addr, si_syscall, si_arch): Define new macro.
25648
89b4b02f
JM
256492012-07-25 Joseph Myers <joseph@codesourcery.com>
25650
25651 [BZ #13717]
25652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25653 Change to 2.4.21 where previously 2.4.1.
25654 * sysdeps/unix/sysv/linux/configure: Regenerated.
25655 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25656 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25657 Linux kernel version.
25658 (__ASSUME_STD_AUXV): Remove.
25659 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25660 kernel version.
25661 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25662 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25663 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25664 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25665 (__ASSUME_NETLINK_SUPPORT): Likewise.
25666 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25667 (__no_netlink_support): Remove conditional definition.
25668 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25669 Remove.
25670 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25671 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25672 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25673 (if_nameindex_ioctl): Remove.
25674 (if_nameindex_netlink): Do not handle __no_netlink_support.
25675 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25676 code.
25677 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25678 Remove conditional code.
25679 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25680 code.
25681 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25682 unconditional.
25683 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25684 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25685 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25686 Remove.
25687 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25688 [!__ASSUME_STD_AUXV]: Remove conditional code.
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25690 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25691 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25693 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25694 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25695 code.
25696 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25698 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25699 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25700 conditional code.
25701 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25703 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25704 code.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25706 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25707 conditional code.
25708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25709 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25710 code unconditional.
25711 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25712 conditional code.
25713 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25714 unconditional.
25715 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25716 conditional code.
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25718 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25719 unconditional.
25720 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25721 conditional code.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25723 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25724 code unconditional.
25725 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25726 conditional code.
25727 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25728 unconditional.
25729 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25730 conditional code.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25732 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25733 code unconditional.
25734 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25735 conditional code.
25736 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25737 unconditional.
25738 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25739 conditional code.
25740
842a39cd
AS
257412012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25742
25743 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25744 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25745 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25746 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25747 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25748 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25749 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25750 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25751 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25752 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25753 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25754 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25755 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25756 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25757 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25758 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25759 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25761 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25763 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25764 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25766
84b3fd84
FW
257672012-07-25 Florian Weimer <fweimer@redhat.com>
25768
25769 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25770 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25771 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25772 Introduce __libc_secure_getenv.
0c7936d5
FW
25773 * stdlib/Versions (2.17): Add secure_getenv
25774 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25775 * stdlib/secure-getenv.c: Rename __secure_getenv to
25776 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25777 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25778 * stdlib/tst-secure-getenv.c: New.
25779 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25780 * manual/startup.texi (Environment Access): Document
25781 secure_getenv.
84b3fd84
FW
25782 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25783 __libc_secure_getenv.
25784 * inet/ruserpass.c (ruserpass): Likewise.
25785 * malloc/mtrace.c (mtrace): Likewise.
25786 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25787 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25788 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25789 * sysdeps/posix/tempname.c: Likewise. Evaluate
25790 HAVE_SECURE_GETENV.
25791 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25792 __secure_getenv to __libc_secure_getenv.
84b3fd84 25793 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25795 Likewise.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25797 Likewise.
25798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25805
56e49b71
JM
258062012-07-25 Joseph Myers <joseph@codesourcery.com>
25807
25808 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25809 (struct La_i86_retval): Likewise.
25810 (struct La_x86_64_regs): Likewise.
25811 (struct La_x86_64_retval): Likewise.
25812 (struct La_x32_regs): Likewise.
25813 (struct La_x32_retval): Likewise.
25814 (struct La_ppc32_regs): Likewise.
25815 (struct La_ppc32_retval): Likewise.
25816 (struct La_ppc64_regs): Likewise.
25817 (struct La_ppc64_retval): Likewise.
25818 (struct La_sh_regs): Likewise.
25819 (struct La_sh_retval): Likewise.
25820 (struct La_s390_32_regs): Likewise.
25821 (struct La_s390_32_retval): Likewise.
25822 (struct La_s390_64_regs): Likewise.
25823 (struct La_s390_64_retval): Likewise.
25824 (struct La_sparc32_regs): Likewise.
25825 (struct La_sparc32_retval): Likewise.
25826 (struct La_sparc64_regs): Likewise.
25827 (struct La_sparc64_retval): Likewise.
25828 (struct audit_ifaces): Remove architecture-specific pltenter and
25829 pltexit members.
25830 * sysdeps/i386/ldsodefs.h: New file.
25831 * sysdeps/powerpc/ldsodefs.h: Likewise.
25832 * sysdeps/s390/ldsodefs.h: Likewise.
25833 * sysdeps/sh/ldsodefs.h: Likewise.
25834 * sysdeps/sparc/ldsodefs.h: Likewise.
25835 * sysdeps/x86_64/ldsodefs.h: Likewise.
25836
354691b7
MP
258372012-07-25 Marek Polacek <polacek@redhat.com>
25838
25839 [BZ #6808]
25840 * math/libm-test.inc (yn_test): Add another test.
25841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25842 to ERANGE when the result is +-Inf.
25843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25844 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25845 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25846 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25847
bf9e2071
JM
258482012-07-24 Joseph Myers <joseph@codesourcery.com>
25849
25850 * conform/data/time.h-data (NULL): Use macro-constant. Require
25851 equal to 0.
25852 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25853 clock_t.
25854 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25855
57633811
TS
258562012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25857
25858 * configure.in <sysdeps resolving>: Correct printing
25859 Implies_before.
25860 * configure: Regenerate.
25861
c23c33b0
TS
258622012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25863
25864 * math/w_ilogb.c: Include <limits.h>.
25865 * math/w_ilogbl.c: Likewise.
25866
b5982523
JM
258672012-07-20 Joseph Myers <joseph@codesourcery.com>
25868
25869 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25870 va_copy. Document allowing for unavailable va_copy only as
25871 pre-C99 compatibility.
25872 * manual/string.texi (Copying and Concatenation): Use va_copy
25873 instead of __va_copy in concat example.
25874
ac4ea442
PT
258752012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25876
25877 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25878 (__sendto): Use create_address_port. Initialize APORT and deallocate
25879 it if not null.
25880
f98eafbd
PT
25881 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25882 with O_NOLINK passed to __file_name_lookup.
25883
898c7aab
PT
25884 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25885 with O_NOLINK passed to __file_name_lookup.
25886
0ced335a
PT
25887 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25888 negative N or less than NGIDS.
25889
b3404dbd
PT
25890 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25891 type to string_t. Set ERANGE as errno and return it if NAME is not big
25892 enough. Use memcpy instead of strncpy.
25893
0f48659e
JM
258942012-07-20 Joseph Myers <joseph@codesourcery.com>
25895
25896 * elf/Makefile (check-data): Remove.
25897 (localplt.data): New vpath directive.
25898 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25899 instead of $(check-data).
25900 * scripts/data/localplt-generic.data: Move to ...
25901 * sysdeps/generic/localplt.data: ... here.
25902 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25903 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25904 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25906 ... here.
25907 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25909 ... here.
25910 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25912 ... here.
25913 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25915 ... here.
25916 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25918 ... here.
25919 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25921 ... here.
25922
d37cbdaa
AZ
259232012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25924
25925 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25926 PPC32 and PPC64 files.
25927 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25928 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25929
46f85fc2
AK
259302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25931
25932 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25933 __makecontext_ret to ...
25934 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25935 ... here and call exit if uc_link is NULL. New file.
25936 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25937 __makecontext_ret.S.
25938 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25939 __makecontext_ret to ...
25940 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25941 ... here and call exit if uc_link is NULL. New file.
25942 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25943 __makecontext_ret.S.
25944
08f43f9b
AK
259452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25946
25947 * elf/elf.h (R_390_IRELATIVE): New definition.
25948 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25949 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25950 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25951 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25952 (elf_machine_lazy_rel): Likewise.
25953 * sysdeps/s390/dl-irel.h: New file.
25954 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25955 * sysdeps/s390/s390-64/memset.S: New asm code.
25956 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25957 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25958 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25959 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25960 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25961 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25962 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25963 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25964 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25965 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25966 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25967 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25968 * sysdeps/s390/s390-32/memset.S: New asm code.
25969 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25970
3b05db33
MP
259712012-07-17 Marek Polacek <polacek@redhat.com>
25972
25973 [BZ #14349]
25974 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25975 * sysdeps/s390/s390-64/configure.in: Likewise.
25976 * sysdeps/sparc/configure.in: Likewise.
25977 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25978 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25979 * sysdeps/i386/configure.in: Likewise.
25980 * sysdeps/x86_64/configure.in: Likewise.
25981 * sysdeps/sh/configure.in: Likewise.
25982 * sysdeps/s390/s390-32/configure: Regenerated.
25983 * sysdeps/s390/s390-64/configure: Likewise.
25984 * sysdeps/x86_64/configure: Likewise.
25985 * sysdeps/sh/configure: Likewise.
25986 * sysdeps/powerpc/powerpc64/configure: Likewise.
25987 * sysdeps/powerpc/powerpc32/configure: Likewise.
25988 * sysdeps/sparc/configure: Likwise.
25989 * sysdeps/i386/configure: Likewise.
25990
a66877c6
MP
25991 * elf/dl-open.c: Comment fixes.
25992
cfc82fd8
JM
259932012-07-17 Joseph Myers <joseph@codesourcery.com>
25994
bd29910a
JM
25995 * Makefile [CXX] (check-data): Remove.
25996 [CXX] (c++-types.data): New vpath directive.
25997 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25998 vpath. Do not allow for C++ type data being missing.
25999 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26000 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26001 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26002 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26003 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26004 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26005 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26007 ... here.
26008 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26010 ... here.
26011 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26013 ... here.
26014 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26016 ... here.
26017 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26019 ... here.
26020 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26022 ... here.
26023 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26025 ... here.
26026 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26028
cfc82fd8
JM
26029 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26030 definitions to architecture-specific files.
26031 (TLS_IE): Likewise.
26032 (TLS_LD): Likewise.
26033 (TLS_GD): Likewise.
26034 * sysdeps/i386/tls-macros.h: New file.
26035 * sysdeps/powerpc/tls-macros.h: Likewise.
26036 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26037 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26038 * sysdeps/sh/tls-macros.h: Likewise.
26039 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26040 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26041 * sysdeps/x86_64/tls-macros.h: Likewise.
26042
f7db3170
TS
260432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26044
07cbfc23
TS
26045 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26046 zero value for regular exit case.
26047
f7db3170
TS
26048 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26049 (__start_context): Preserve zero value for regular exit case.
26050
dc97c227
TS
260512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26052 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26053
26054 * manual/setjmp.texi (setcontext): Clarify normal process
26055 termination when uc_link is the null pointer.
26056 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26057 exit call.
26058
d0cd7d02
AS
260592012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26060
26061 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26062 preprocessor. Test for each exception mask separately.
26063
dd318934
AJ
260642012-07-16 Andreas Jaeger <aj@suse.de>
26065
26066 * po/ru.po: Update from translation team.
26067
8048311a
JM
260682012-07-15 Joseph Myers <joseph@codesourcery.com>
26069
26070 * conform/data/string.h-data (NULL): Use macro-constant. Require
26071 equal to 0.
26072 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26073 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26074 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26075 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26077
b637d46e
AJ
260782012-07-13 Andreas Jaeger <aj@suse.de>
26079
26080 * po/fr.po: Update from translation team.
26081
541428fe
MP
260822012-07-12 Marek Polacek <polacek@redhat.com>
26083
26084 [BZ #14173]
26085 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26087 loop condition.
26088
ec332e94
JM
260892012-07-12 Joseph Myers <joseph@codesourcery.com>
26090
26091 [BZ #13717]
26092 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26093 Change to 2.4.1 where previously 2.4.0.
26094 * sysdeps/unix/sysv/linux/configure: Regenerated.
26095 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26096 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26097 version.
26098 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26099 (__ASSUME_AT_CLKTCK): Remove.
26100 (__ASSUME_AT_PAGESIZE): Likewise.
26101 (__ASSUME_AT_XID): Likewise.
26102 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26103 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26104 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26105 unconditionally.
26106 (HAVE_AUX_PAGESIZE): Likewise.
26107 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26108 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26109 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26110
7b6e99be
JB
261112012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26112
26113 [BZ #14307]
26114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26115 the temporary buffer used to invoke __gethostbyname2_r,
26116 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26117 host_data / struct gaih_addrtuple.
26118 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26119 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26120 header file nss/nsswitch.h.
26121 * nss/nsswitch.h (global scope): Add definition of implementation
26122 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26123 resolv/nss_dns/dns-host.c).
26124
608404eb
AJ
261252012-07-11 Andreas Jaeger <aj@suse.de>
26126
26127 * po/fr.po: Update from translation team.
26128
71220aca
AJ
26129 * po/sv.po: Update from translation team
26130 * po/fr.po: Another update from translation team.
26131
28cfe843
AZ
261322012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26133
26134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26135 for subnormals or multiply small sinh result by itself.
26136 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26138
6b90f981
DM
261392012-07-11 David S. Miller <davem@davemloft.net>
26140
26141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26142
c6825772
AS
261432012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26144
26145 [BZ #14347]
26146 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26147 (INTERNAL_MARK): Shift it here.
26148
7b8e0d49
MP
261492012-07-10 Marek Polacek <polacek@redhat.com>
26150
26151 [BZ #14151]
26152 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26153 libc_cv_asm_global_directive with .globl.
26154 * configure: Regenerated.
26155 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26156 with .globl.
26157 * sysdeps/i386/configure: Regenerated.
26158 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26159 with .globl.
26160 * sysdeps/x86_64/configure: Regenerated.
26161 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26162 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26163 * elf/tst-unique2mod2.c: Likewise.
26164 * elf/tst-unique2mod1.c: Likewise.
26165 * elf/tst-unique1mod2.c: Likewise.
26166 * elf/tst-unique1mod1.c: Likewise.
26167 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26168 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26169 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26170 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26171 * sysdeps/mach/sysdep.h: Likewise.
26172 * sysdeps/i386/sysdep.h: Likewise.
26173 * sysdeps/i386/i386-mcount.S: Likewise.
26174 * sysdeps/x86_64/_mcount.S: Likewise.
26175 * sysdeps/x86_64/sysdep.h: Likewise.
26176 * sysdeps/sh/_mcount.S: Likewise.
26177 * sysdeps/sh/sysdep.h: Likewise.
26178 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26179 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26180 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26182 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26183 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26184 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26185 * locale/localeinfo.h: Likewise.
26186 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26187 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26188
6c55cda3
RM
261892012-07-09 Roland McGrath <roland@hack.frob.com>
26190
26191 [BZ #14336]
26192 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26193 system".
26194 * manual/message.texi (The Uniforum approach): Likewise.
26195 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26196 (glibc iconv Implementation): Likewise.
26197
638a572e
JM
261982012-07-09 Joseph Myers <joseph@codesourcery.com>
26199
26200 [BZ #14337]
26201 * math/s_clog.c (__clog): Avoid scaling a value down where that
26202 could result in underflow.
26203 * math/s_clog10.c (__clog10): Likewise.
26204 * math/s_clog10f.c (__clog10f): Likewise.
26205 * math/s_clog10l.c (__clog10l): Likewise.
26206 * math/s_clogf.c (__clogf): Likewise.
26207 * math/s_clogl.c (__clogl): Likewise.
26208 * math/libm-test.inc (clog_test): Add more tests.
26209 (clog10_test): Likewise.
26210 * sysdeps/i386/fpu/libm-test-ulps: Update.
26211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26212
261f4859
AS
262132012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26214
0abaf3e4
AS
26215 [BZ #14283]
26216 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26217 by 7 not 8 to examine high bit of fractional part.
26218
261f4859
AS
26219 [BZ #14042]
26220 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26221 for call to __mcount_internal.
26222 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26223 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26224 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26225
f17ac40d
JM
262262012-07-06 Joseph Myers <joseph@codesourcery.com>
26227
9ad63c23
JM
26228 [BZ #14154]
26229 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26230 approximation for values within 0x1p-13f of an odd multiple of
26231 pi/4.
26232 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26233 exception. Add more tests.
26234 * sysdeps/i386/fpu/libm-test-ulps: Update.
26235
f17ac40d
JM
26236 [BZ #6778]
26237 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26238 inputs and return -1 for them. Do not check for +Inf in case not
26239 reachable for +Inf.
26240 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26241 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26242 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26243 and return -1 for them. Do not check for +Inf in case not
26244 reachable for +Inf.
26245 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26246 define.
26247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26248 and return -1 for them. Do not check for +Inf in case not
26249 reachable for +Inf.
26250 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26251 spurious underflow.
26252 * sysdeps/i386/fpu/libm-test-ulps: Update.
26253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26254
fb21f89b
MF
262552012-07-06 Mike Frysinger <vapier@gentoo.org>
26256
26257 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26258
cdfe2c5e
JM
262592012-07-05 Joseph Myers <joseph@codesourcery.com>
26260
26261 [BZ #14157]
26262 [BZ #14331]
26263 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26264 could result in spurious underflow. Scale down values above
26265 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26266 * math/s_csqrtf.c (__csqrtf): Likewise.
26267 * math/s_csqrtl.c (__csqrtl): Likewise.
26268 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26269 spurious underflow.
26270 * sysdeps/i386/fpu/libm-test-ulps: Update.
26271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26272
70d35b67
AS
262732012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26274
704bc459
AS
26275 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26276 xopen-msg.sed.
26277 * catgets/xopen-msg.awk: New file.
26278 * catgets/xopen-msg.sed: Removed.
26279
70d35b67
AS
26280 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26281 po2text.sed.
26282 * intl/po2test.awk: New file.
26283 * intl/po2test.sed: Removed.
26284
ca61cf32
JM
262852012-07-04 Joseph Myers <joseph@codesourcery.com>
26286
26287 [BZ #14328]
26288 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26289 or multiply small sinh result by itself.
26290 * math/s_ctanf.c (__ctanf): Likewise.
26291 * math/s_ctanh.c (__ctanh): Likewise.
26292 * math/s_ctanhf.c (__ctanhf): Likewise.
26293 * math/s_ctanhl.c (__ctanhl): Likewise.
26294 * math/s_ctanl.c (__ctanl): Likewise.
26295 * math/libm-test.inc (ctan_test_tonearest): New function.
26296 (ctan_test_towardzero): Likewise.
26297 (ctan_test_downward): Likewise.
26298 (ctan_test_upward): Likewise.
26299 (ctanh_test_tonearest): Likewise.
26300 (ctanh_test_towardzero): Likewise.
26301 (ctanh_test_downward): Likewise.
26302 (ctanh_test_upward): Likewise.
26303 (main): Call these new functions.
26304 * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26306
ca48a46a
MF
263072012-07-03 Mike Frysinger <vapier@gentoo.org>
26308
26309 * .gitignore: Delete /ports entry.
26310
9d63d37d
AJ
263112012-07-03 Andreas Jaeger <aj@suse.de>
26312
26313 * po/bg.po: Update from translation team.
26314 * po/cs.po: Likewise.
26315 * po/de.po: Likewise.
26316 * po/hr.po: Likewise.
26317 * po/nl.pl: Likewise.
26318 * po/pl.po: Likewise.
26319 * po/vi.po: Likewise.
26320
370ca3d2
JM
263212012-07-03 Joseph Myers <joseph@codesourcery.com>
26322
95f5a9a8
JM
26323 * Makeconfig [!+link] (+link-before-libc): New variable.
26324 [!+link] (+link-after-libc): Likewise.
26325 [!+link] (+link-tests): Likewise.
26326 [!+link] (+link): Define in terms of $(+link-before-libc) and
26327 $(+link-after-libc).
26328 [!+link-static] (+link-static-before-libc): New variable.
26329 [!+link-static] (+link-static-after-libc): Likewise.
26330 [!+link-static] (+link-static-tests): Likewise.
26331 [!+link-static] (+link-static): Define in terms of
26332 $(+link-static-before-libc) and $(+link-static-after-libc).
26333 [build-shared] (link-libc-before-gnulib): New variable.
26334 [build-shared] (link-libc-tests): Likewise.
26335 [build-shared] (link-libc): Define in terms of
26336 $(link-libc-before-gnulib).
26337 [!build-shared] (link-libc-tests): New variable.
26338 (link-libc-static-tests): New variable.
26339 [!gnulib] (gnulib-arch): New variable.
26340 [!gnulib] (gnulib-tests): Likewise.
26341 [!gnulib] (static-gnulib-arch): Likewise.
26342 [!gnulib] (static-gnulib-tests): Likewise.
26343 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26344 Define with "=" instead of ":=".
26345 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26346 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26347 * Rules (binaries-all-notests): New variable.
26348 (binaries-all-tests): Likewise.
26349 (binaries-static-notests): Likewise.
26350 (binaries-static-tests): Likewise.
26351 (binaries-all): Define using $(binaries-all-notests) and
26352 $(binaries-all-tests).
26353 (binaries-static): Define using $(binaries-static-notests) and
26354 $(binaries-static-tests).
26355 (binaries-shared-tests): New variable.
26356 (binaries-shared-notests): Likewise.
26357 (binaries-shared): Remove variable.
26358 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26359 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26360 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26361 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26362 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26363 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26364 * elf/Makefile (sln-modules): New variable.
26365 (extra-objs): Add $(sln-modules:=.o).
26366 (ldconfig-modules): Add static-stubs.
26367 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26368 * elf/static-stubs.c: New file.
26369
7a845b2c
JM
26370 [BZ #14283]
26371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26372 by 7 not 8 to examine high bit of fractional part. Use volatile
26373 variables when splitting into final array of floats if
26374 __FLT_EVAL_METHOD__ != 0.
26375 * math/libm-test.inc (cos_test): Add another test.
26376 (sin_test): Likewise.
26377 * sysdeps/i386/fpu/libm-test-ulps: Update.
26378
e2283f38
JM
26379 [BZ #14273]
26380 * math/libm-test.inc (cosh_test): Add more tests.
26381
370ca3d2
JM
26382 * version.h (RELEASE): Set to "development".
26383 (VERSION): Set to "2.16.90".
26384
ee9247c3
CD
263852012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26386
26387 * NEWS: Update copyright. Remove last-updated date.
26388 Mention math library bug fixes and timezone data changes.
26389 * README: Mention GNU/Hurd, x32, and HPPA support status.
26390
4648c381
TS
263912012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26392
26393 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26394
aac78a43
AJ
263952012-06-27 Andreas Jaeger <aj@suse.de>
26396
26397 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26398
ed3dbfad
AJ
263992012-06-25 Andreas Jaeger <aj@suse.de>
26400
26401 * sysdeps/s390/fpu/libm-test-ulps: Update.
26402
4d0ee855
AS
264032012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26404 Thomas Schwinge <thomas@codesourcery.com>
26405
26406 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26407 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26409 fanotify_mark.
26410
af1bce34
TS
264112012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26412
a9fa33ba
TS
26413 * sysdeps/mach/start.c: Remove file.
26414 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26415 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26416 * sysdeps/sh/init-first.c: Likewise.
26417
58f902b8
TS
26418 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26419 registers for frame unwinding purposes, add CFI directives.
26420 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26422 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26423 Likewise.
26424
1518f58b
TS
26425 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26426 __fortify_fail returning.
26427 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26428
db9b5059
TS
26429 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26430 sysdeps/sh/____longjmp_chk.S.
26431 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26432 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26433 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26434 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26435
967705fe
TS
26436 * sysdeps/sh/abort-instr.h: New file.
26437 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26438 process in case exit returns.
26439
a9def8c4
TS
26440 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26441 initialize the GOT register before use.
26442
2a649725
TS
26443 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26444 calculation of ARGC > 4.
26445
af1bce34
TS
26446 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26447 meaningful names to some local labels.
26448
d230f50a
KK
264492012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26450 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26451
26452 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26453 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26454 (__arch_compare_and_exchange_val_16_acq): Likewise.
26455 (__arch_compare_and_exchange_val_32_acq): Likewise.
26456 (atomic_exchange_and_add): Fix gUSA sequence.
26457 (atomic_add): Likewise.
26458 (atomic_add_negative): Likewise.
26459 (atomic_add_zero): Likewise.
26460 (atomic_bit_test_set): Likewise.
26461
0479b305
AS
264622012-06-22 Andreas Schwab <schwab@redhat.com>
26463
26464 [BZ #13579]
26465 * include/link.h (struct link_map): Add l_free_initfini.
26466 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26467 l_initfini.
26468 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26469 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26470 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26471 set.
26472
0e3933b9
CD
264732012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26474
26475 * configure.in: Use AC_LANG_SOURCE.
26476 * configure: Regenerate.
26477
4248b1b1
RM
264782012-06-22 Roland McGrath <roland@hack.frob.com>
26479
26480 * configure.in (libc_cv_localstatedir): New substituted variable.
26481 * configure: Regenerated.
26482 * config.make.in (localstatedir): New variable, substituted from
26483 libc_cv_localstatedir.
26484 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26485 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26486 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26487 * sysdeps/gnu/configure: Regenerated.
26488
006dd861
JL
264892012-06-21 Jeff Law <law@redhat.com>
26490
26491 [BZ #14277]
26492 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26493 free. Simplify list management for _LIBC case.
26494
79662d42
JM
264952012-06-21 Joseph Myers <joseph@codesourcery.com>
26496
b7abb4bf
JM
26497 [BZ #14273]
26498 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26499 Clear sign bit of 64-bit integer value before comparing against
26500 overflow value.
26501
79662d42
JM
26502 * sysdeps/mach/configure: Regenerated.
26503
1f150908
L
265042012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26505
26506 [BZ #14278]
26507 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26508
28363bbf
JL
265092012-06-21 Jeff Law <law@redhat.com>
26510
26511 [BZ #13882]
26512 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26513 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26514 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26515 * elf/dl-open.c (dl_open_worker): Likewise.
26516
09615db4
CD
265172012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26518
26519 * scripts/list-sources.sh: Scan PORTS for translations.
26520 * po/libc.pot: Regenerated.
26521
2174c6dd
AJ
265222012-06-21 Andreas Jaeger <aj@suse.de>
26523
26524 [BZ #12194]
26525 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26526 warning.
26527 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26528 * bits/byteswap-16.h (__bswap_16): Likewise.
26529 * bits/byteswap.h (__bswap_constant_16): Likewise.
26530
3ee947b1
L
265312012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26532
26533 [BZ #14117]
a2f34833
L
26534 * sysdeps/i386/fpu_control.h: Removed.
26535 * sysdeps/x86_64/fpu_control.h: Moved to ...
26536 * sysdeps/x86/fpu_control.h: Here.
26537
3ee947b1
L
26538 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26539 (_FPU_SETCW): Likewise.
26540
ed1825f8
L
265412012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26542
25f1282a
L
26543 [BZ #14117]
26544 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26545 * sysdeps/x86/fpu/bits/mathinline.h: This.
26546 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26547
ed1825f8
L
26548 [BZ #14050]
26549 [BZ #14117]
26550 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26551 functions if __x86_64__ is defined.
26552
36d54b74
CLT
265532012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26554
26555 * string/endian.h: Add !__ASSEMBLER__ condition for including
26556 conversion interfaces.
26557
10285c21
JM
265582012-06-15 Joseph Myers <joseph@codesourcery.com>
26559
26560 [BZ #14241]
26561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26562 of ABS(x) in calculating zero to negative powers other than odd
26563 integers.
26564 * math/libm-test.inc (pow_test): Add more tests.
26565
06c5abbd
AJ
265662012-06-15 Andreas Jaeger <aj@suse.de>
26567
26568 * manual/contrib.texi (Contributors): Update entry of Liubov
26569 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26570 Machado Filho.
26571
a3aeac40
CH
265722012-06-15 Cyril Hrubis <metan@ucw.cz>
26573
26574 * string/string.h: Add __wur to GNU version of strerror_r.
26575
49bdf4c1
L
265762012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26577
26578 [BZ #14229]
26579 * string/Makefile (tests): Add tst-strtok_r.
26580 * string/tst-strtok_r.c: New file.
26581 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26582 RAX_LP/RDX_LP on SAVE_PTR.
26583
834f9b8d
RM
265842012-06-14 Roland McGrath <roland@hack.frob.com>
26585
26586 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26587
75fa1921
JM
265882012-06-14 Joseph Myers <joseph@codesourcery.com>
26589
26590 * libm_test.inc (csqrt_test): Allow more spurious underflow
26591 exceptions.
26592 (j0_test): Likewise.
26593 (j1_test): Likewise.
26594 (y0_test): Likewise.
26595 (y1_test): Likewise.
26596
771766df
CD
265972012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26598
26599 * po/Makefile (libc.pot): Use UTF-8 charset.
26600
ceb9e56b
PP
266012012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26602
26603 [BZ #14210]
26604 Suppress sign-conversion warning from FD_SET.
26605 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26606 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26607 not unsigned long int.
26608 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26609
ddb28975
L
266102012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26611
26612 [BZ #14050]
26613 [BZ #14117]
26614 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26615 __extern_always_inline instead of __extern_inline.
26616 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26617 (__signbit): Likewise.
26618 (__signbitl): Support C++ namespace.
26619 (lrintf): New inline function.
26620 (lrint): Likewise.
26621 (llrintf): Likewise.
26622 (llrint): Likewise.
26623 (fmaxf): Likewise.
26624 (fmax): Likewise.
26625 (fminf): Likewise.
26626 (fmin): Likewise.
26627 (rint): Likewise.
26628 (rintf): Likewise.
26629 (ceil): Likewise.
26630 (ceilf): Likewise.
26631 (floor): Likewise.
26632 (floorf): Likewise.
26633 (nearbyint): Likewise.
26634 (nearbyintf): Likewise.
26635
d7b4fb26
TS
266362012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26637
26638 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26639 non-default versions.
26640
eb55f5c2
RM
266412012-06-11 Roland McGrath <roland@hack.frob.com>
26642
26643 [BZ #14218]
26644 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26645
366af02c
TS
266462012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26647
99ff6e5c
TS
26648 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26649 (FE_UPWARD, FE_DOWNWARD): Don't define.
26650 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26651 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26652
366af02c
TS
26653 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26654 reading it.
26655 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26656 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26657
793ea851
KK
266582012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26659
26660 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26662 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26663 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26664
a728a38f
L
266652012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26666
26667 [BZ #14117]
c08010c7
L
26668 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26669 * sysdeps/i386/fpu/Implies: New file.
26670 * sysdeps/x86_64/fpu/Implies: Likewise.
26671 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26672 * sysdeps/x86/fpu/bits/fenv.h: This.
26673
a728a38f
L
26674 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26675 __SSE_MATH__.
26676
6e230d11
SP
266772012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26678
26679 [BZ #14134]
26680 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26681 character 0xffff that matches the last element of the
26682 conversion table.
26683
1b671feb
AZ
266842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26685
26686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26687 fmodl commit.
26688
6043738b
AZ
266892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26690
26691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26692 values higher than 25.6283.
26693
34ae0b32
AZ
266942012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26695
26696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26697 subnormal exponent extraction and add some __builtin_expect.
26698 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26699 Fix for subnormal mantissa calculation.
26700
1214ec8f
MF
267012012-06-04 Mike Frysinger <vapier@gentoo.org>
26702
26703 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26704 cpu2 is -1 and errno is not ENOSYS.
26705
f3d1f93c
L
267062012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 [BZ #14117]
0e4a3cd7
L
26709 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26710 * sysdeps/x86/bits/string.h: This.
26711 * sysdeps/x86_64/bits/string.h: Removed.
26712
6704c645
L
26713 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26714 if not compiling for x86-64, but compiling for >= i486.
26715
48495318
L
26716 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26717 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26718
14adcbfc
L
26719 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26720 New macro from Linux kernel 3.4.0.
26721 (FP_XSTATE_MAGIC2): Likewise.
26722 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26723 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26724 (struct _fpx_sw_bytes): New struct.
26725 (struct _xsave_hdr): Likewise.
26726 (struct _ymmh_state): Likewise.
26727 (struct _xstate): Likewise.
26728
68e408ab
L
26729 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26730 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26732 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26733 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26734 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26735
f3d1f93c
L
26736 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26737 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26738 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26739 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26740 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26741 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26742
d9dc34cd
TMQMF
267432012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26744
26745 [BZ #13743]
26746 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26747 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26748 (sysdep_headers): Include sys/platform/ppc.h.
26749 * sysdeps/powerpc/test-gettimebase.c: Test for
26750 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26751 * manual/Makefile (appendices): Include platform.texi.
26752 * manual/contrib.texi (Contributors): Update @node pointers.
26753 * manual/maint.texi (Maintenance): Likewise.
26754 (Platform): New node.
26755 * manual/platform.texi: New file. Document the new features.
26756
4af3879c
SP
267572012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26758 Jakub Jelinek <jakub@redhat.com>
26759
26760 [BZ #14188]
26761 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26762 where __builtin_expect is unavailable.
26763
2fd6ff13
DM
267642012-06-03 David S. Miller <davem@davemloft.net>
26765
26766 * stdlib/longlong.h: Updated from GCC.
26767
173f7220
AS
267682012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26769
26770 [BZ #14042]
26771 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26772 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26773 __mcount_internal.
26774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26775 (GLIBC_2.16): Likewise.
26776
f34a1c6f
L
267772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26778
26779 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26780
88a4576f
JM
267812012-06-01 Joseph Myers <joseph@codesourcery.com>
26782
ea32bcdd
JM
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26784 (default-abi): New variable.
26785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26786 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26787 variable.
26788 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26789 Likewise.
26790 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26791 Likewise.
26792 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26793 Likewise.
26794
88a4576f
JM
26795 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26796 definition. Document in comment.
26797
402fe938
DM
267982012-06-01 David S. Miller <davem@davemloft.net>
26799
26800 * stdlib/longlong.h: Updated from GCC.
26801
3553723f
L
268022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26803
26804 [BZ #14117]
3bd872c4
L
26805 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26806 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26807 sys/debugreg.h sys/io.h here.
26808 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26809 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26810 sys/io.h.
26811 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26812 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26813 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26814 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26815 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26816 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26817
3553723f
L
26818 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26819 Define only if __x86_64__ is defined.
26820
4842e4fe
JM
268212012-06-01 Joseph Myers <joseph@codesourcery.com>
26822
c5bfe3d5
JM
26823 [BZ #14048]
26824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26825 Use int64_t for variable i.
26826 * math/libm-test.inc (fmod_test): Add more tests.
26827
4842e4fe
JM
26828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26829 z computation is not scheduled after fetestexcept.
26830 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26831 Use math_force_eval instead of asm to ensure calculation scheduled
26832 before exception test.
26833 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26834 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26835
efb73488
AJ
268362012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26837
26838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26839 computation is not scheduled after fetestexcept.
26840
29bcce7c
L
268412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26842
26843 [BZ #14117]
26844 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26845 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26846
73a68f94
AZ
268472012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26848
26849 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26851
67b6df78
L
268522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26853
edf2933a 26854 [BZ #14117]
ebc64a18
L
26855 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26856 <bits/wordsize.h>.
26857 (__WCHAR_MIN): Support __WORDSIZE == 64.
26858 (__WCHAR_MAX): Likewise.
26859
edf2933a
L
26860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26862
57c6cf40
L
26863 [BZ #14183]
26864 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26865 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26866
67b6df78 26867 [BZ #14117]
8eb6281e
L
26868 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26869 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26870
aac639f4
L
26871 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26872 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26873
67b6df78
L
26874 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26875 Defined to 1 if __x86_64__ isn't defined.
26876 (_STAT_VER_LINUX_OLD): New.
26877 (st_atime): Remove duplicate.
26878 (st_mtime): Likewise.
26879 (st_ctime): Likewise.
26880
1c2cfe81
DM
268812012-05-31 David S. Miller <davem@davemloft.net>
26882
26883 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26884 entries.
26885
5be8418c
AS
268862012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26887
e7725326
AS
26888 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26889 gen-libm-test.pl.
26890
5be8418c
AS
26891 [BZ #14132]
26892 * elf/dl-reloc.c: Include <_itoa.h>.
26893 (_dl_reloc_bad_type): Remove use of INTUSE.
26894 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26895 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26896 * stdio-common/psiginfo.c (psiginfo): Likewise.
26897 * stdio-common/psignal.c (psignal): Likewise.
26898 * string/strsignal.c (strsignal): Likewise.
26899 * include/signal.h (_sys_siglist): Declare hidden proto.
26900 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26901 INTVARDEF with libc_hidden_data_def.
26902 * stdio-common/itoa-udigits.c: Likewise.
26903 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26904 (_itoa_lower_digits_internal): Remove declaration.
26905 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26906 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26907 (_sys_sigabbrev_internal): Remove aliases.
26908 (_sys_siglist): Define hidden alias.
26909
507352f1
MT
269102012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26911
26912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26913 bits/sysctl.h.
26914
42bbb1c3
L
269152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26916
26917 [BZ #14117]
6bd784b6
L
26918 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26919 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26920
8bca20f0
L
26921 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26922 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26923 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26924 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26926 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26927
f9e890a9
L
26928 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26929 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26930 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26931
471101a1
L
26932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26933 with __addr.
26934 (insw): Likewise.
26935 (insl): Likewise.
26936 (outsb): Likewise.
26937 (outsw): Likewise.
26938 (outsl): Likewise.
26939
6451c862
L
26940 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26942 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26943
a254b8c9
L
26944 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26945 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26946 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26947 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26948 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26949 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26950
b8dfdd92
L
26951 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26952 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26953
578cd270
L
26954 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26955 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26956
de662f5f
L
26957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26959 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26960
25653439
L
26961 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26962 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26963 to ...
26964 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26965
6bad24a0
L
26966 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26967 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26968 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26969
42bbb1c3
L
26970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26971 for x86-64.
26972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26973
2d10d547
JM
269742012-05-31 Joseph Myers <joseph@codesourcery.com>
26975
26976 * math/math.h (M_El): Use two more decimal places.
26977 (M_LOG2El): Likewise.
26978 (M_LOG10El): Likewise.
26979 (M_LN2l): Likewise.
26980 (M_LN10l): Likewise.
26981 (M_PIl): Likewise.
26982 (M_PI_2l): Likewise.
26983 (M_PI_4l): Likewise.
26984 (M_1_PIl): Likewise.
26985 (M_2_PIl): Likewise.
26986 (M_2_SQRTPIl): Likewise.
26987 (M_SQRT2l): Likewise.
26988 (M_SQRT1_2l): Likewise.
26989
f230c29b
DM
269902012-05-31 David S. Miller <davem@davemloft.net>
26991
26992 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26993 values between float registers.
26994 * sysdeps/sparc/sparc64/memset.S: Likewise.
26995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26996
fed806c3
MF
269972012-05-31 Mike Frysinger <vapier@gentoo.org>
26998
26999 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27000 -D_FORTIFY_SOURCE=1.
27001 (CPPFLAGS-tst-longjmp_chk.c): Define.
27002 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27003 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27004 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27005 CFLAGS-tst-wchar-h.c.
27006
30917259
MP
270072012-05-31 Marek Polacek <polacek@redhat.com>
27008
27009 [BZ #14132]
27010 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27011 __endmntent_internal): Remove declaration.
27012 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27013 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27014 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27015
1c58d5dc
DM
270162012-05-30 David S. Miller <davem@davemloft.net>
27017
27018 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27019 (___Q_simulate_exceptions): Use real FP ops rather than writing
27020 into the %fsr.
27021 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27022 Likewise.
27023
7dc00e0d
L
270242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27025
27026 [BZ #14117]
0bd53985
L
27027 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27028 * sysdeps/x86/bits/xtitypes.h: This.
27029
3a257e66
L
27030 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27031 * sysdeps/x86/bits/wordsize.h: This.
27032
62f62904
L
27033 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27034 * sysdeps/x86/bits/huge_vall.h: This.
27035
404fe9d9
L
27036 * sysdeps/i386/bits/select.h: Removed.
27037 * sysdeps/x86_64/bits/select.h: Renamed to ...
27038 * sysdeps/x86/bits/select.h: This.
27039
d48d0446
L
27040 * sysdeps/i386/bits/setjmp.h: Removed.
27041 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27042 * sysdeps/x86/bits/setjmp.h: This.
27043
7dc00e0d
L
27044 * sysdeps/i386/bits/mathdef.h: Removed.
27045 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27046 * sysdeps/x86/bits/mathdef.h: This.
27047
03277f8f
AS
270482012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27049
27050 [BZ #14132]
27051 * include/sys/socket.h (__connect_internal)
27052 (__libc_sa_len_internal): Remove declaration.
27053 (__connect, __libc_sa_len): Declare hidden_proto.
27054 (SA_LEN): Remove use of INTUSE.
27055 * socket/connect.c: Add libc_hidden_def.
27056 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27057 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27058 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27059 alias.
27060 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27061 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27062 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27063 of adding _internal alias.
27064
13764867
L
270652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27066
27067 [BZ #14117]
6bd97696
L
27068 * sysdeps/i386/bits/link.h: Removed.
27069 * sysdeps/i386/bits/linkmap.h: Likewise.
27070 * sysdeps/x86_64/bits/link.h: Renamed to ...
27071 * sysdeps/x86/bits/link.h: This.
27072 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27073 * sysdeps/x86/bits/linkmap.h: This.
27074
f726f0bb
L
27075 * sysdeps/i386/bits/endian.h: Removed.
27076 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27077 * sysdeps/x86/bits/endian.h: This.
27078
13764867
L
27079 * sysdeps/i386/bits/byteswap.h: Removed.
27080 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27081 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27082 * sysdeps/x86/bits/byteswap.h: This.
27083 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27084 * sysdeps/x86/bits/byteswap-16.h: This.
27085 * sysdeps/i386/Implies: Add x86.
27086 * sysdeps/x86_64/Implies: Likewise.
27087
ae251b0b
DM
270882012-05-30 David S. Miller <davem@davemloft.net>
27089
27090 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27091 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27092 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27093 (FP_TRAPPING_EXCEPTIONS): Define.
27094 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27095 (FP_TRAPPING_EXCEPTIONS): Define.
27096 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27097 subnormals only when inexact has been signalled or underflow
27098 exceptions are enabled.
27099 (_FP_PACK_CANONICAL): Likewise.
27100
d5c90867
L
271012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27102
27103 [BZ #14183]
27104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27105 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27106
63f1549e
RH
271072012-05-30 Richard Henderson <rth@twiddle.net>
27108
8d8f2279
RH
27109 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27110 with #ifndef NOT_IN_libc.
27111
63f1549e
RH
27112 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27113 marked to avoid plt entry.
27114
0ab0291b
L
271152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 [BZ #14112]
27118 * Makeconfig (default-abi): New macro.
27119 (abi-includes): Likewise.
27120 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27121 $(abi-$(default-abi)-lib-soname) for soname if defined.
27122 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27123 abi-variants.
27124 * Makefile (installed-stubs): Likewise.
27125 * include/stubs-biarch.h: Removed.
27126 * scripts/lib-names.awk: Only handle one library at a time.
27127 * scripts/soversions.awk: Remove WORDSIZE support.
27128 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27129 entries.
27130 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27131 Removed.
27132 (syscall-list-default-condition): Likewise.
27133 (syscall-list-default-condition): Likewise.
27134 (syscall-list-includes): Likewise.
27135 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27136 syscall-list-* with abi-*. Handle undefined abi-variants.
27137 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27138 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27139 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27140 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27141 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27142 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27143 Removed.
27144 (syscall-list-32-options): Likewise.
27145 (syscall-list-32-condition): Likewise.
27146 (syscall-list-64-options): Likewise.
27147 (syscall-list-64-condition): Likewise.
27148 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27149 macro.
27150 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27151 Renamed to ...
27152 (abi-*): This.
27153 (abi-64-ld-soname): New macro.
27154 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27155 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27156 Renamed to ...
27157 (abi-*): This.
27158 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27159 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27160
4da0431d
JM
271612012-05-30 Joseph Myers <joseph@codesourcery.com>
27162
3a85279c
JM
27163 * sysdeps/unix/sysv/linux/kernel-features.h
27164 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27165 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27166 include <kernel-features.h>.
27167 [!__NR_ftruncate64]: Remove conditional code.
27168 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27169 [__NR_ftruncate64]: Make code unconditional.
27170 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27171 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27172 include <kernel-features.h>.
27173 [!__NR_ftruncate64]: Remove conditional code.
27174 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27175 [__NR_ftruncate64]: Make code unconditional.
27176 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27178 include <kernel-features.h>.
27179 [!__NR_ftruncate64]: Remove conditional code.
27180 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27181 [__NR_ftruncate64]: Make code unconditional.
27182 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27184 include <kernel-features.h>.
27185 [!__NR_ftruncate64]: Remove conditional code.
27186 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27187 [__NR_ftruncate64]: Make code unconditional.
27188 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27189
4da0431d
JM
27190 * configure.in (libc_cv_fpie): Weaken to a compile test using
27191 LIBC_TRY_CC_OPTION.
27192 * configure: Regenerated.
27193
11ef492c
AK
271942012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27195
27196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27200 Refreshed.
27201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27207 Refreshed.
27208
d66ef399
DM
272092012-05-27 David S. Miller <davem@davemloft.net>
27210
27211 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27212 (___Q_zero): New.
27213 (__Q_simulate_exceptions): Return void. Change to simulate
27214 exceptions by writing into the %fsr.
27215 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27216 (__Qp_handle_exceptions): Likewise.
27217 (numbers): Delete.
27218 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27219 __Qp_handle_exceptions.
27220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27221 __Qp_handle_exceptions.
27222 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27223 as unused and give dummy FP_RND_NEAREST initializer.
27224 (FP_INHIBIT_RESULTS): Define.
27225 (___Q_simulate_exceptions): Update declaration.
27226 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27227 formatting.
27228 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27229 as unused and give dummy FP_RND_NEAREST initializer.
27230 (__Qp_handle_exceptions): Update declaration.
27231 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27232 formatting.
27233
04fb54b5
TS
272342012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27235
27236 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27237 the temporary FPU control word.
27238 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27239 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27240 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27241 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27242 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27243 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27244 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27246 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27247 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27248 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27249
3f99608f
KK
272502012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27251
27252 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27253 fields.
27254
65a4de4e
CLT
272552012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27256
27257 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27258 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27259 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27260 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27261 Likewise.
27262 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27263 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27264 Likewise.
27265
15749d40
UD
272662012-05-27 Ulrich Drepper <drepper@gmail.com>
27267
27268 * po/h.po: Update from translation team.
27269
25dbcb27
AS
272702012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27271
3d3f8e55
AS
27272 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27273
25dbcb27
AS
27274 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27275 handling of denormals.
27276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27277 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27278 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27279 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27280 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27282 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27283 Likewise.
27284
7ad47a80 272852012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27286
27287 [BZ #14152]
27288 * math/libm-test.inc (fma_test): Don't always expect underflow
27289 exception.
27290
9c6ea9fa
SP
272912012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27292
27293 [BZ #12416]
27294 * elf/tst-execstack.c: Include stackinfo.h.
27295 (do_test): Adjust test case to ensure that pthread_getattr_np
27296 behaviour remains the same after marking stack executable.
27297
a8239222
JM
272982012-05-25 Joseph Myers <joseph@codesourcery.com>
27299
27300 * sysdeps/unix/sysv/linux/kernel-features.h
27301 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27302 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27303 kernel-features.h.
27304 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27305 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27306 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27307 kernel-features.h.
27308 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27309 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27310
918b5606
L
273112012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 * configure.in: Define the default includes to being none.
27314 * configure: Regenerated.
27315
3a097cc7
RM
273162012-05-25 Roland McGrath <roland@hack.frob.com>
27317
8422c9a5
RM
27318 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27319 * sysdeps/x86_64/setjmp.S: Likewise.
27320 * sysdeps/i386/bsd-setjmp.S: Likewise.
27321 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27322 * sysdeps/i386/setjmp.S: Likewise.
27323 * sysdeps/i386/__longjmp.S: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27325 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27326
3a097cc7
RM
27327 * include/stap-probe.h: New file.
27328 * configure.in: Handle --enable-systemtap.
27329 * configure: Regenerated.
27330 * config.h.in (USE_STAP_PROBE): New #undef.
27331 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27332 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27333 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27334
21708942
JM
273352012-05-25 Joseph Myers <joseph@codesourcery.com>
27336
27337 [BZ #13717]
27338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27339 to 2.4.0 where earlier.
27340 * sysdeps/unix/sysv/linux/configure: Regenerated.
27341 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27342 <kernel-features.h>.
27343 [__ASSUME_32BITUIDS]: Make code unconditional.
27344 [!__ASSUME_32BITUIDS]: Remove conditional code.
27345 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27346 <kernel-features.h>.
27347 [__ASSUME_32BITUIDS]: Make code unconditional.
27348 [!__ASSUME_32BITUIDS]: Remove conditional code.
27349 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27350 [__ASSUME_32BITUIDS]: Make code unconditional.
27351 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27352 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27353 <kernel-features.h>.
27354 [__ASSUME_32BITUIDS]: Make code unconditional.
27355 [!__ASSUME_32BITUIDS]: Remove conditional code.
27356 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27357 <kernel-features.h>.
27358 [__ASSUME_32BITUIDS]: Make code unconditional.
27359 [!__ASSUME_32BITUIDS]: Remove conditional code.
27360 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27361 <kernel-features.h>.
27362 [__ASSUME_32BITUIDS]: Make code unconditional.
27363 [!__ASSUME_32BITUIDS]: Remove conditional code.
27364 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27365 <kernel-features.h>.
27366 [__ASSUME_32BITUIDS]: Make code unconditional.
27367 [!__ASSUME_32BITUIDS]: Remove conditional code.
27368 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27369 <kernel-features.h>.
27370 [__ASSUME_32BITUIDS]: Make code unconditional.
27371 [!__ASSUME_32BITUIDS]: Remove conditional code.
27372 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27373 <kernel-features.h>.
27374 [__ASSUME_32BITUIDS]: Make code unconditional.
27375 [!__ASSUME_32BITUIDS]: Remove conditional code.
27376 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27377 <kernel-features.h>.
27378 [__ASSUME_32BITUIDS]: Make code unconditional.
27379 [!__ASSUME_32BITUIDS]: Remove conditional code.
27380 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27381 <kernel-features.h>.
27382 [__ASSUME_32BITUIDS]: Make code unconditional.
27383 [!__ASSUME_32BITUIDS]: Remove conditional code.
27384 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27385 <kernel-features.h>.
27386 [__ASSUME_32BITUIDS]: Make code unconditional.
27387 [!__ASSUME_32BITUIDS]: Remove conditional code.
27388 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27389 <kernel-features.h>.
27390 [__ASSUME_32BITUIDS]: Make code unconditional.
27391 [!__ASSUME_32BITUIDS]: Remove conditional code.
27392 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27393 <kernel-features.h>.
27394 [__NR_setresgid] (__setresgid): Do not declare.
27395 [__ASSUME_32BITUIDS]: Make code unconditional.
27396 [!__ASSUME_32BITUIDS]: Remove conditional code.
27397 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27398 <kernel-features.h>.
27399 [__NR_setresuid] (__setresuid): Do not declare.
27400 [__ASSUME_32BITUIDS]: Make code unconditional.
27401 [!__ASSUME_32BITUIDS]: Remove conditional code.
27402 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27403 <kernel-features.h>.
27404 [__ASSUME_32BITUIDS]: Make code unconditional.
27405 [!__ASSUME_32BITUIDS]: Remove conditional code.
27406 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27407 <kernel-features.h>.
27408 [__ASSUME_32BITUIDS]: Make code unconditional.
27409 [!__ASSUME_32BITUIDS]: Remove conditional code.
27410 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27411 <kernel-features.h>.
27412 [__ASSUME_32BITUIDS]: Make code unconditional.
27413 [!__ASSUME_32BITUIDS]: Remove conditional code.
27414 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27415 <kernel-features.h>.
27416 [__ASSUME_32BITUIDS]: Make code unconditional.
27417 [!__ASSUME_32BITUIDS]: Remove conditional code.
27418 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27419 <kernel-features.h>.
27420 [__ASSUME_32BITUIDS]: Make code unconditional.
27421 [!__ASSUME_32BITUIDS]: Remove conditional code.
27422 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27423 <kernel-features.h>.
27424 [__ASSUME_32BITUIDS]: Make code unconditional.
27425 [!__ASSUME_32BITUIDS]: Remove conditional code.
27426 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27427 <kernel-features.h>.
27428 [__ASSUME_32BITUIDS]: Make code unconditional.
27429 [!__ASSUME_32BITUIDS]: Remove conditional code.
27430 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27431 <kernel-features.h>.
27432 [__ASSUME_32BITUIDS]: Make code unconditional.
27433 [!__ASSUME_32BITUIDS]: Remove conditional code.
27434 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27435 <kernel-features.h>.
27436 [__ASSUME_32BITUIDS]: Make code unconditional.
27437 [!__ASSUME_32BITUIDS]: Remove conditional code.
27438 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27439 <kernel-features.h>.
27440 [__ASSUME_32BITUIDS]: Make code unconditional.
27441 [!__ASSUME_32BITUIDS]: Remove conditional code.
27442 * sysdeps/unix/sysv/linux/kernel-features.h
27443 (__ASSUME_SETRESUID_SYSCALL): Remove.
27444 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27445 (__ASSUME_32BITUIDS): Likewise.
27446 (__ASSUME_LDT_WORKS): Likewise.
27447 (__ASSUME_O_DIRECTORY): Likewise.
27448 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27449 architecture but not kernel version.
27450 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27451 (__ASSUME_MMAP2_SYSCALL): Likewise.
27452 (__ASSUME_STAT64_SYSCALL): Likewise.
27453 (__ASSUME_IPC64): Likewise.
27454 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27455 <kernel-features.h>.
27456 [__ASSUME_32BITUIDS]: Make code unconditional.
27457 [!__ASSUME_32BITUIDS]: Remove conditional code.
27458 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27459 <kernel-features.h>.
27460 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27461 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27462 132096]: Remove conditional code.
27463 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27464 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27465 <kernel-features.h>.
27466 [__ASSUME_32BITUIDS]: Make code unconditional.
27467 [!__ASSUME_32BITUIDS]: Remove conditional code.
27468 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27469 <kernel-features.h>.
27470 [__ASSUME_32BITUIDS]: Make code unconditional.
27471 [!__ASSUME_32BITUIDS]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27473 <kernel-features.h>.
27474 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27475 unconditional.
27476 (__setresgid): Do not declare.
27477 [__ASSUME_32BITUIDS]: Make code unconditional.
27478 [!__ASSUME_32BITUIDS]: Remove conditional code.
27479 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27480 <kernel-features.h>.
27481 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27482 unconditional.
27483 (__setresuid): Do not declare.
27484 [__ASSUME_32BITUIDS]: Make code unconditional.
27485 [!__ASSUME_32BITUIDS]: Remove conditional code.
27486 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27487 <kernel-features.h>.
27488 [__ASSUME_32BITUIDS]: Make code unconditional.
27489 [!__ASSUME_32BITUIDS]: Remove conditional code.
27490 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27491 <kernel-features.h>.
27492 [__ASSUME_32BITUIDS]: Make code unconditional.
27493 [!__ASSUME_32BITUIDS]: Remove conditional code.
27494
a386f1cc
RH
274952012-05-25 Richard Henderson <rth@twiddle.net>
27496
27497 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27498 dl_hwcap to ifunc resolver.
27499 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27500 elf_ifunc_invoke.
27501 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27502 dl_hwcap to ifunc resolver.
27503 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27504
b6550497
JM
275052012-05-24 Joseph Myers <joseph@codesourcery.com>
27506
27507 [BZ #14153]
27508 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27509 for |x| <= 2**-26, not 2**-57.
27510 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27511 exception.
27512
b0bc23a1
JL
275132012-05-24 Jeff Law <law@redhat.com>
27514
27515 * stdio-common/Makefile (tests): Add bug25.
27516 * stdio-common/bug25.c: New test.
27517
347c92e9
L
275182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 [BZ #13576]
27521 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27522 multiple of MALLOC_ALIGNMENT in size.
27523 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27524
6bcc8b3f
JM
275252012-05-24 Joseph Myers <joseph@codesourcery.com>
27526
27527 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27528 Require >= 256.
27529 (FILENAME_MAX): Use macro-int-constant.
27530 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27531 (_IOFBF): Use macro-int-constant.
27532 (_IOLBF): Likewise.
27533 (_IONBF): Likewise.
27534 (SEEK_CUR): Likewise.
27535 (SEEK_END): Likewise.
27536 (SEEK_SET): Likewise.
27537 (TMP_MAX): Likewise.
27538 (EOF): Use macro-int-constant. Require < 0.
27539 (NULL): Use macro-constant. Require == 0.
27540 (stdin): Require type to be FILE *.
27541 (stdout): Likewise.
27542 (stderr): Likewise.
27543 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27544 macro-int-constant.
27545 (EXIT_SUCCESS): Likewise.
27546 (NULL): Use macro-constant. Require == 0.
27547 (RAND_MAX): Use macro-int-constant.
27548 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27549 [C99-based standards] (strtof): Require function.
27550 [C99-based standards] (strtold): Likewise.
27551 [C99-based standards] (strtoll): Likewise.
27552 [C99-based standards] (strtoull): Likewise.
27553 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27554 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27555 [ISO || ISO99 || ISO11] (math.h): Likewise.
27556 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27557 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27559
d18ea0c5
AS
275602012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27561
27562 [BZ #14132]
56d25bb8
AS
27563 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27564 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27565 * intl/dgettext.c (DCGETTEXT): Likewise.
27566 * intl/gettext.c (DCGETTEXT): Likewise.
27567 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27568 * posix/regex_internal.h (gettext): Likewise.
27569 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27570 Remove declaration.
27571 * include/argz.h (__argz_count_internal)
27572 (__argz_stringify_internal): Remove declaration.
27573 (__argz_count, __argz_stringify): Declare hidden proto.
27574 * intl/dcgettext.c: Remove use of INTDEF.
27575 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27576 * string/argz-stringify.c: Likewise.
27577 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27578 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27579 Declare hidden proto.
d18ea0c5
AS
27580 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27581 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27582 Declare hidden proto.
27583 * include/stdio.h (__asprintf_internal): Don't declare.
27584 (__asprintf): Don't define as macro. Declare hidden proto.
27585 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27586 (__fsetlocking): Declare hidden proto.
27587 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27588 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27589 hidden proto.
27590 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27591 (_IO_setlinebuf): Remove use of INTUSE.
27592 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27593 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27594 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27595 Remove declaration.
27596 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27597 (_IO_do_flush): Remove use of INTUSE.
27598 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27599 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27600 (_IO_adjust_column, _IO_least_wmarker)
27601 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27602 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27603 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27604 (_IO_default_doallocate, _IO_wdefault_doallocate)
27605 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27606 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27607 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27608 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27609 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27610 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27611 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27612 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27613 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27614 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27615 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27616 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27617 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27618 proto.
27619 (_IO_flush_all_internal, _IO_adjust_column_internal)
27620 (_IO_default_uflow_internal, _IO_default_finish_internal)
27621 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27622 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27623 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27624 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27625 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27626 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27627 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27628 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27629 (_IO_file_close_internal, _IO_file_close_it_internal)
27630 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27631 (_IO_file_init_internal, _IO_file_attach_internal)
27632 (_IO_file_fopen_internal, _IO_file_read_internal)
27633 (_IO_file_sync_internal, _IO_file_seek_internal)
27634 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27635 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27636 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27637 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27638 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27639 (_IO_list_all_internal, _IO_link_in_internal)
27640 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27641 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27642 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27643 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27644 (_IO_do_write_internal, _IO_padn_internal)
27645 (_IO_getline_info_internal, _IO_getline_internal)
27646 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27647 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27648 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27649 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27650 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27651 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27652 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27653 with libc_hidden_ver, remove use of INTUSE.
27654 * libio/genops.c: Likewise.
27655 * libio/freopen.c: Likewise.
27656 * libio/freopen64.c: Likewise.
27657 * libio/iofclose.c: Likewise.
27658 * libio/iofdopen.c: Likewise.
27659 * libio/iofflush.c: Likewise.
27660 * libio/iofflush_u.c: Likewise.
27661 * libio/iofgets.c: Likewise.
27662 * libio/iofgets_u.c: Likewise.
27663 * libio/iofopen.c: Likewise.
27664 * libio/iofopncook.c: Likewise.
27665 * libio/iofread.c: Likewise.
27666 * libio/iofread_u.c: Likewise.
27667 * libio/ioftell.c: Likewise.
27668 * libio/iofwrite.c: Likewise.
27669 * libio/iogetline.c: Likewise.
27670 * libio/iogets.c: Likewise.
27671 * libio/iogetwline.c: Likewise.
27672 * libio/iopadn.c: Likewise.
27673 * libio/iopopen.c: Likewise.
27674 * libio/ioseekoff.c: Likewise.
27675 * libio/ioseekpos.c: Likewise.
27676 * libio/iosetbuffer.c: Likewise.
27677 * libio/iosetvbuf.c: Likewise.
27678 * libio/ioungetc.c: Likewise.
27679 * libio/ioungetwc.c: Likewise.
27680 * libio/iovdprintf.c: Likewise.
27681 * libio/iovsprintf.c: Likewise.
27682 * libio/iovsscanf.c: Likewise.
27683 * libio/memstream.c: Likewise.
27684 * libio/obprintf.c: Likewise.
27685 * libio/oldfileops.c: Likewise.
27686 * libio/oldiofclose.c: Likewise.
27687 * libio/oldiofdopen.c: Likewise.
27688 * libio/oldiofopen.c: Likewise.
27689 * libio/oldiopopen.c: Likewise.
27690 * libio/oldstdfiles.c: Likewise.
27691 * libio/putc.c: Likewise.
27692 * libio/setbuf.c: Likewise.
27693 * libio/setlinebuf.c: Likewise.
27694 * libio/stdfiles.c: Likewise.
27695 * libio/strops.c: Likewise.
27696 * libio/vasprintf.c: Likewise.
27697 * libio/vscanf.c: Likewise.
27698 * libio/vsnprintf.c: Likewise.
27699 * libio/vswprintf.c: Likewise.
27700 * libio/wfiledoalloc.c: Likewise.
27701 * libio/wfileops.c: Likewise.
27702 * libio/wgenops.c: Likewise.
27703 * libio/wmemstream.c: Likewise.
27704 * libio/wstrops.c: Likewise.
27705 * libio/__fpurge.c: Likewise.
27706 * libio/__fsetlocking.c: Likewise.
27707 * assert/assert.c: Likewise.
27708 * debug/fgets_chk.c: Likewise.
27709 * debug/fgets_u_chk.c: Likewise.
27710 * debug/fread_chk.c: Likewise.
27711 * debug/fread_u_chk.c: Likewise.
27712 * debug/gets_chk.c: Likewise.
27713 * debug/obprintf_chk.c: Likewise.
27714 * debug/vasprintf_chk.c: Likewise.
27715 * debug/vdprintf_chk.c: Likewise.
27716 * debug/vsnprintf_chk.c: Likewise.
27717 * debug/vsprintf_chk.c: Likewise.
27718 * malloc/mtrace.c: Likewise.
27719 * misc/error.c: Likewise.
27720 * misc/syslog.c: Likewise.
27721 * stdio-common/asprintf.c: Likewise.
27722 * stdio-common/fxprintf.c: Likewise.
27723 * stdio-common/getw.c: Likewise.
27724 * stdio-common/isoc99_fscanf.c: Likewise.
27725 * stdio-common/isoc99_scanf.c: Likewise.
27726 * stdio-common/isoc99_vfscanf.c: Likewise.
27727 * stdio-common/isoc99_vscanf.c: Likewise.
27728 * stdio-common/isoc99_vsscanf.c: Likewise.
27729 * stdio-common/printf-prs.c: Likewise.
27730 * stdio-common/printf_fp.c: Likewise.
27731 * stdio-common/printf_fphex.c: Likewise.
27732 * stdio-common/printf_size.c: Likewise.
27733 * stdio-common/putw.c: Likewise.
27734 * stdio-common/scanf.c: Likewise.
27735 * stdio-common/sprintf.c: Likewise.
27736 * stdio-common/tmpfile.c: Likewise.
27737 * stdio-common/vfprintf.c: Likewise.
27738 * stdio-common/vfscanf.c: Likewise.
27739 * stdlib/strfmon_l.c: Likewise.
27740 * sunrpc/openchild.c: Likewise.
27741 * sunrpc/xdr_stdio.c: Likewise.
27742 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27743 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27744
d6c33fda
RM
277452012-05-24 Roland McGrath <roland@hack.frob.com>
27746
c1487492
RM
27747 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27748
27749 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27750 in the third column, to generate for the shared library an IFUNC
27751 that uses _dl_vdso_vsym.
27752 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27753 * Makeconfig (object-suffixes-noshared): New variable.
27754
27755 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27756 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27757 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27758 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27759
d6c33fda
RM
27760 [BZ #14132]
27761 * include/sys/time.h (__gettimeofday): Remove macro.
27762 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27763 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27764 Remove INTDEF.
27765 (__gettimeofday): Add libc_hidden_def.
27766 (gettimeofday): Add libc_hidden_weak.
27767 * sysdeps/mach/gettimeofday.c: Likewise.
27768 * sysdeps/posix/gettimeofday.c: Likewise.
27769 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27770 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27772 (__gettimeofday_internal): Remove strong_alias.
27773 (__gettimeofday): Add libc_hidden_def.
27774 (gettimeofday): Add libc_hidden_weak.
27775 * sysdeps/unix/syscalls.list (gettimeofday):
27776 Remove __gettimeofday_internal alias.
27777
b5a2bbe6
L
277782012-05-24 Daniel Jacobowitz <drow@false.org>
27779 H.J. Lu <hongjiu.lu@intel.com>
27780
27781 [BZ #12495]
27782 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27783 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27784 (largebin_index_32_big): New.
27785 (largebin_index): Use it for 16-byte alignment.
27786 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27787 correction with front_misalign.
27788
cfba4fda
L
277892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27790
7f907421
L
27791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27793 Likewise.
27794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27795 Likewise.
27796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27797 Likewise.
27798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27799 Likewise.
27800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27801 Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27803 Likewise.
27804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27805 Likewise.
27806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27807 Likewise.
27808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27809 Likewise.
27810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27811 Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27813 Likewise.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27815 Likewise.
27816
cfba4fda
L
27817 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27818 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27819
80bad0cc
JM
278202012-05-24 Joseph Myers <joseph@codesourcery.com>
27821
7a25eb06
JM
27822 [BZ #10846]
27823 [BZ #14036]
27824 * math/libm-test.inc (exp_test): Add test from bug 14036.
27825 (pow_test): Add test from bug 10846.
27826
795405f9
JM
27827 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27828 and other flags.
27829 (special_function): Do not include flags in test name.
27830 (parse_args): Likewise.
27831 * sysdeps/i386/fpu/libm-test-ulps: Update.
27832 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27833 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27834 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27836
80bad0cc
JM
27837 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27838 exceptions.
27839 * math/libm-test.inc ("Philosophy"): Update comment about
27840 exception testing.
27841 (UNDERFLOW_EXCEPTION): New macro.
27842 (UNDERFLOW_EXCEPTION_OK): Likewise.
27843 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27844 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27845 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27846 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27847 (INVALID_EXCEPTION_OK): Update value.
27848 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27849 (OVERFLOW_EXCEPTION_OK): Likewise.
27850 (IGNORE_ZERO_INF_SIGN): Likewise.
27851 (test_exceptions): Handle underflow exceptions.
27852 (acos_test): Update for underflow exception expectations.
27853 (cexp_test): Likewise.
27854 (clog_test): Likewise.
27855 (clog10_test): Likewise.
27856 (csqrt_test): Likewise.
27857 (ctan_test): Likewise.
27858 (ctanh_test): Likewise.
27859 (exp_test): Likewise.
27860 (exp10_test): Likewise.
27861 (exp2_test): Likewise.
27862 (expm1_test): Likewise.
27863 (fma_test): Likewise.
27864 (j0_test): Likewise.
27865 (jn_test): Likewise.
27866 (nexttoward_test): Likewise.
27867 (pow_test): Likewise.
27868 (scalbn_test): Likewise.
27869 (scalbln_test): Likewise.
27870 (tan_test): Likewise.
27871 (y1_test): Likewise.
27872 * sysdeps/i386/fpu/libm-test-ulps: Update.
27873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27874
9e0e3d0b
DM
278752012-05-23 David S. Miller <davem@davemloft.net>
27876
27877 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27878 (__libc_sigaction): Remove unused local variables.
27879
ccd0a08f
L
278802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27883
62bdf9a6
PE
278842012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27885
f8591f80
PE
27886 mktime: avoid signed integer overflow
27887 * time/mktime.c (__mktime_internal): Do not mishandle the case
27888 where diff == INT_MIN.
27889
94c7d826
PE
27890 mktime: simplify computation of average
27891 * time/mktime.c (ranged_convert): Use new time_t_avg function
27892 instead of rolling our own (probably-slower) code.
27893
ce73d683
PE
27894 mktime: do not assume signed right shift propagates sign bit
27895 * time/mktime.c (isdst_differ): New static function.
27896 (__mktime_internal): No need to normalize tm_isdst now.
27897 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27898 tm_isdst values.
27899
72a22e59
PE
27900 mktime: merge another wrapv change from gnulib
27901 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27902 from some compilers.
27903
68605433
PE
27904 mktime: remove incorrect attempt at unusual arithmetics
27905 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27906 The code didn't really work on such machines anyway.
27907 (TYPE_MINIMUM): Assume two's complement.
27908 (twos_complement_arithmetic): Verify that long_int and time_t
27909 are two's complement (or unsigned, in the latter case).
27910
03cf7fe3
PE
27911 mktime: check signed shifts on long_int and time_t, too
27912 * time/mktime.c (SHR): Check that shifts work as desired
27913 on the types long_int and time_t too, as SHR is used on
27914 such types.
27915
f04dfbc2
PE
27916 mktime: do not assume 'long' is wide enough
27917 * time/mktime.c (verify): Move decl up.
27918 (long_int): New type.
27919 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27920 to remove assumption in the code that 'long' is wide enough to
27921 store year values. This assumption is not true on x32 and on
27922 some non-glibc platforms.
27923
62bdf9a6
PE
27924 mktime: merge wrapv change from gnulib
27925 * time/mktime.c (WRAPV): New macro.
27926 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27927 (guess_time_tm, __mktime_internal): Do not assume that signed
27928 integer overflow wraps around; modern compilers generate code
27929 where this assumption is no longer valid.
27930
5e292e4f
L
279312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27934 Replace "jmp L(pseudo_end)" with "ret".
27935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27936 Likewise.
27937
8caf8c87
AJ
279382012-05-23 Andreas Jaeger <aj@suse.de>
27939
27940 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27941 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27942
1a09dc56
AJ
279432012-05-23 Andreas Jaeger <aj@suse.de>
27944 Maximilian Attems <max@stro.at>
27945
27946 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27947 New macros.
27948
1c87aba0
L
279492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27950
27951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27952 code so that pseudo_end is just ret and the stack pointer is
27953 correct also for static library in error case.
27954
40e45bd5
JM
279552012-05-23 Joseph Myers <joseph@codesourcery.com>
27956
c2670533
JM
27957 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27958 move to syscalls.list.
27959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27963
40e45bd5
JM
27964 * manual/install.texi (Running make install): Do not mention Linux
27965 kernel version for which pt_chown is not needed.
27966 (Linux): Do not mention problems with nscd with 2.0 kernels.
27967 * INSTALL: Regenerated.
27968
be08eda5
AJ
279692012-05-23 Andreas Jaeger <aj@suse.de>
27970
27971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27972 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27973 macro.
27974 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27976 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27978 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27981 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27984 * sysdeps/unix/sysv/linux/bits/in.h
27985 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27986
a6a056bb
RM
279872012-05-22 Roland McGrath <roland@hack.frob.com>
27988
27989 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27990 (PREPARE_VERSION): Just use assert instead, it will be elided
27991 under [NDEBUG] anyway.
27992
c9009328
L
279932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27994
27995 * sysdeps/unix/sysv/linux/Makefile: Include
27996 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27997 (sysdep_routines): Remove sysctl.
c9009328
L
27998 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27999 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28000 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28002 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28003
73338355
AJ
280042012-05-22 Andreas Jaeger <aj@suse.de>
28005
28006 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28007 that pseudo_end is just ret and the stack pointer is correct also
28008 for static library in error case.
28009
d44638b0
PP
280102012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28011
28012 [BZ #14122]
28013 * nss/nsswitch.c (defconfig_entries): New variable.
28014 (__nss_database_lookup): Don't leak defconfig entries.
28015 (nss_parse_service_list): Don't leak on error paths.
28016 (free_database_entries): New function.
28017 (free_defconfig): New function.
28018 (free_mem): Move common code to free_database_entries.
28019
31a39bd8
L
280202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28021
da0331a8
L
28022 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28023 Add arch_prctl.
28024 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28025
31a39bd8
L
28026 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28027 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28029 New macro.
28030 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28031 (INTERNAL_SYSCALL_TYPES): Likewise.
28032 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28033 (LOAD_REGS_TYPES_[1-6]): Likewise.
28034 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28035 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28036
45470df3
AZ
280372012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28038
28039 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28040 copysignl for GLIBC_2_0.
28041 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28042 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28044 logbl for GLIBC_2_0.
28045 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28046 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28047
98a61bcb
L
280482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28049
a4f6e481
L
28050 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28052
f63d5db6
L
28053 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28054 Use "neg %eax".
28055
98a61bcb
L
28056 * time/mktime.c: Update copyright years.
28057
95770f14
PE
280582012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28059
6226efbd
PE
28060 mktime: merge comment-quoting-style change from gnulib
28061 * time/mktime.c: Quote 'like this' in comments.
28062 The GNU coding standards suggest that we no longer quote `like this',
28063 as "`" and "'" are typically rendered asymmetrically nowadays.
28064 The typical gnulib style is to quote 'like this' when quoting
28065 code, and "like this" when quoting English.
28066
b99e4f78
PE
28067 * time/mktime.c (compile-command): Add "-I.".
28068
643e01e6
PE
28069 mktime: merge mktime-internal.h change from gnulib
28070 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28071
2554247d
PE
28072 mktime: merge time_r change from gnulib
28073 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28074
826dd0ab
PE
28075 mktime: merge DEBUG change from gnulib
28076 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28077 case system <time.h> has a #define.
28078
bd83aabe
PE
28079 mktime: merge <sys/types.h> change from gnulib
28080 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28081 since <time.t> is now guaranteed to define time_t.
28082
95770f14
PE
28083 mktime: merge HAVE_CONFIG_H change from gnulib
28084 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28085
5e1a27a9
L
280862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28087
0e44a77e
L
28088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28089 Use "neg %eax".
28090
5e1a27a9
L
28091 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28092 __rlim_t cast.
28093 (struct rusage): Use anonymous union to pad each field to
28094 __syscall_slong_t.
28095
46259bec
DM
280962012-05-21 David S. Miller <davem@davemloft.net>
28097
28098 * Makefules (o-iterator): Remove .s cases.
28099 (compile-command.s): Delete.
28100 (COMPILE.s): Delete.
28101 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28102
59f0c22e
JM
281032012-05-21 Joseph Myers <joseph@codesourcery.com>
28104
28105 * configure.in (libc_cv_predef_stack_protector): Only consider
28106 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28107 * configure: Regenerated.
28108
20c07380
L
281092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28110
bbb3154b
L
28111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28112 New macro. Use R*LP on int and pointer.
28113 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28114 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28115 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28116 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28117
20c07380
L
28118 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28119 [__WORDSIZE_TIME64_COMPAT32] instead of
28120 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28121 (struct utmp): Likewise.
28122 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28123 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28124 Renamed to ...
28125 (__WORDSIZE_TIME64_COMPAT32): This.
28126 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28127 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28128 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28129 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28130 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28131 (__WORDSIZE_TIME64_COMPAT32): New macro.
28132
d8d1017e
AJ
281332012-05-21 Andreas Jaeger <aj@suse.de>
28134
28135 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28136 only if [SHARED]. Add prototype for __wcschr_ia32.
28137
6c7fb145
RM
281382012-05-21 Roland McGrath <roland@hack.frob.com>
28139
28140 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28141 of %rbp unmolested in the jmp_buf while mangling the low bits.
28142 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28143 unmolested high bits of %rbp while demangling the low bits.
28144 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28145
66274218
AJ
281462012-05-21 Andreas Jaeger <aj@suse.de>
28147
07c58f8f
AJ
28148 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28149 * sunrpc/svc_simple.c: Use it for registerrpc.
28150 * sunrpc/xcrypt.c: Use it for passwd2des.
28151
66274218
AJ
28152 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28153
61f65140
L
281542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28157 Don't define if [__SYSCALL_WORDSIZE != 32].
28158 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28159 New macro.
28160
5fefb436
AJ
281612012-05-21 Bruno Haible <bruno@clisp.org>
28162 Andreas Jaeger <aj@suse.de>
28163
28164 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28165 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28166 inptr and inend for must_buffer_ch.
28167 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28168 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28169 * stdio-common/Makefile (tests): Remove bug15.
28170 (bug15-ENV): Remove macro.
28171 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28172 anymore.
28173
d8e272ab
AJ
281742012-05-19 Andreas Jaeger <aj@suse.de>
28175 Roland McGrath <roland@hack.frob.com>
28176
28177 * manual/contrib.texi: Completely rewritten. It contains now an
28178 alphabetical list of contributors and their contributions.
28179
4a56a162
RH
281802012-05-21 Richard Henderson <rth@twiddle.net>
28181
28182 * misc/getauxval.c (__getauxval): Use unsigned long int.
28183 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28184 (getauxval): Use unsigned long int.
28185
d024d23c
L
281862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28189
cbc00a03
RM
281902012-05-21 Roland McGrath <roland@hack.frob.com>
28191
28192 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28193 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28194 __alignof__ (long double).
28195
478143fa
AZ
281962012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28197
28198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28199
c7683a6d
RH
282002012-05-20 Richard Henderson <rth@twiddle.net>
28201
28202 * misc/getauxval.c: New file.
28203 * misc/sys/auxv.h: New file.
28204 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28205 (routines): Add getauxval.
28206 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28207 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28208 * elf/dl-sysdep.c (_dl_auxv): Remove.
28209 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28210 * elf/dl-support.c (_dl_auxv): New variable.
28211 (_dl_aux_init): Initialize it.
28212 * manual/startup.texi (Auxiliary Vector): New node.
28213 * sysdeps/generic/bits/hwcap.h: New file.
28214 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28215 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28216 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28217 * sysdeps/sparc/sysdep.h: ... here. Include it.
28218 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28219 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28221 Update.
c7683a6d
RH
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28230
a6f1845d
AZ
282312012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28232
28233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28234
cbcbe830
DM
282352012-05-19 David S. Miller <davem@davemloft.net>
28236
28237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28238
e0b16cc2
JM
282392012-05-19 Joseph Myers <joseph@codesourcery.com>
28240
28241 [BZ #14123]
28242 * math/s_ccosh.c: Include <float.h>
28243 (__ccosh): Avoid internal overflow calculating sinh and cosh
28244 values before multiplying by sin and cos values.
28245 * math/s_ccoshf.c: Likewise.
28246 * math/s_ccoshl.c: Likewise.
28247 * math/s_csin.c: Likewise.
28248 * math/s_csinf.c: Likewise.
28249 * math/s_csinl.c: Likewise.
28250 * math/s_csinh.c: Likewise.
28251 * math/s_csinhf.c: Likewise.
28252 * math/s_csinhl.c: Likewise.
28253 * math/libm-test.inc (ccos_test): Add more tests.
28254 (ccosh_test): Likewise.
28255 (csin_test): Likewise.
28256 (csinh_test): Likewise.
28257 * sysdeps/i386/fpu/libm-test-ulps: Update.
28258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28259
6ad13e08
L
282602012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28261
f66f0ce8
L
28262 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28263 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28264
6ad13e08
L
28265 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28266
b1d072a7
JM
282672012-05-19 Joseph Myers <joseph@codesourcery.com>
28268
28269 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28270 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28271 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28272 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28273 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28274 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28275 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28276 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28277 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28278 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28279 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28280 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28281 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28282 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28283 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28284 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28285 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28286 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28287 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28288 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28289 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28290 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28291 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28292 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28293 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28294 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28295 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28296 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28297 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28298 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28299 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28300
9eae47cb
AJ
283012012-05-18 Andreas Jaeger <aj@suse.de>
28302
28303 * csu/.gitignore: Delete.
28304
bb07f69f
L
283052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28306
28307 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28308 (timex): Use __syscall_slong_t.
28309
e6bdb741
AJ
283102012-05-18 Andreas Jaeger <aj@suse.de>
28311 Carlos O'Donell <carlos_odonell@mentor.com>
28312
28313 * manual/install.texi (Configuring and compiling): Update
28314 description about files modified in the source directory.
d6c33fda 28315 * INSTALL: Regenerated.
e6bdb741 28316
1b74487e
L
283172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28320 value. Use "or" to set return value to -1.
28321 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28322 negate return value.
28323
a88b64b9
TMQMF
283242012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28325
28326 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28327 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28328 failure if the compiler has Graphite support disabled.
28329 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28330 Likewise.
28331 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28332 CFLAGS-memmove.c): Likewise.
28333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28334 Likewise.
28335
3707636e
L
283362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28337
610b8622
L
28338 * sysdeps/x86_64/x32/_itoa.h: New file.
28339
7cd195df
L
28340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28341 getdents system call only if kernel and user dirents have the
28342 same d_ino and d_off.
28343
94b07d20
L
28344 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28345 LLONG_MAX != LONG_MAX.
28346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28347 (_fitoa_word): Likewise.
28348
18298070
L
28349 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28350 years.
28351 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28352 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28353 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28354
553c7ea4
L
28355 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28356 include <bits/wordsize.h>. Check __x86_64__ instead of
28357 __WORDSIZE.
28358 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28359 if __x86_64__ is defined. Use anonymous union on fpstate.
28360
3707636e
L
28361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28362 anonymous union.
28363
b53ef01a
AS
283642012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28365
37fb1dc0
AS
28366 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28367 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28368 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28369 Refer to _rtld_local_ro instead of _rtld_global_ro.
28370 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28371 Likewise.
28372 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28373 Likewise.
28374 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28375 Likewise.
28376 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28377 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28378 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28379
b53ef01a
AS
28380 * sysdeps/powerpc/powerpc32/dl-machine.c
28381 (__elf_machine_runtime_setup) [PROF]: Don't reference
28382 _dl_prof_resolve.
28383
7a185db2
AJ
283842012-05-18 Andreas Jaeger <aj@suse.de>
28385
28386 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28387 function only available for GCCs before 3.4 since GCC 3.4
28388 introduced a builtin.
28389 (lrint): Likewise.
28390 (llrintf): Likewise.
28391 (llrint): Likewise.
28392 (fmaxf): Likewise.
28393 (fmax): Likewise.
28394 (fminf): Likewise.
28395 (fmin): Likewise.
28396 (rint): Likewise.
28397 (rintf): Likewise.
28398 (nearbyint): Likewise.
28399 (nearbyintf): Likewise.
28400 (ceil): Likewise.
28401 (ceilf): Likewise.
28402 (floor): Likewise.
28403 (floorf): Likewise.
28404
3e5aef87
L
284052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28406
428bd707
L
28407 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28408 on both fields and cast pointer to __syscall_ulong_t.
28409
3e5aef87
L
28410 * bits/types.h (__fsword_t): New type.
28411 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28412 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28414 (__FSWORD_T_TYPE): Likewise.
28415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28416 (__FSWORD_T_TYPE): Likewise.
28417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28418 (__FSWORD_T_TYPE): Likewise.
28419 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28420 (__FSWORD_T_TYPE): Likewise.
28421 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28422 __SWORD_TYPE with __fsword_t.
28423 (statfs64): Likewise.
28424
1ba7c3dc
DM
284252012-05-17 David S. Miller <davem@davemloft.net>
28426
28427 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28428
59910343
AJ
284292012-05-17 Andreas Jaeger <aj@suse.de>
28430
28431 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28432 warning.
28433
2e4c1e9e
L
284342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28437
de7f5ce7
AJ
284382012-05-17 Andreas Jaeger <aj@suse.de>
28439
28440 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28441 when it is used.
28442
286abc3d
CM
284432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28444
28445 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28446
477cc68e
L
284472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28450 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28451
1a0994f5
CD
284522012-05-17 Andreas Jaeger <aj@suse.de>
28453 Carlos O'Donell <carlos_odonell@mentor.com>
28454
28455 [BZ #14059]
28456 * sysdeps/x86_64/multiarch/init-arch.h
28457 (bit_YMM_Usable): Rename to...
28458 (bit_AVX_Usable): ... this.
28459 (bit_FMA4_Usable): New macro.
28460 (bit_XMM_state): New macro.
28461 (bit_YMM_state): New macro.
28462 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28463 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28464 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28465 (CPUID_OSXSAVE): New macro.
28466 (CPUID_AVX): New macro.
28467 (CPUID_FMA4): New macro.
28468 (index_YMM_Usable): Rename to...
28469 (index_AVX_Usable): ... this.
28470 (HAS_AVX): Use HAS_ARCH_FEATURE.
28471 (HAS_FMA4): Likewise.
28472 (HAS_YMM_USABLE): Remove.
28473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28474 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28475 are present.
28476 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28477 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28478 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28479 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28480 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28481
0af797de
CM
284822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28483
28484 * math/libm-test.c: Support platforms without multiple rounding modes.
28485 * math/bug-nextafter.c: Support platforms without FP exceptions.
28486 * math/bug-nexttoward.c: Likewise.
28487 * math/test-fenv.c: Likewise.
28488 * math/test-misc.c: Likewise.
28489 * stdlib/bug-getcontext.c: Likewise.
28490
e39745ff
AJ
284912012-05-17 Andreas Jaeger <aj@suse.de>
28492
28493 * manual/examples/search.c (critter_cmp): Change signature to
28494 avoid warnings.
28495 * manual/string.texi (Collation Functions): Likewise.
28496
48970aba
L
284972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28498
28499 * bits/types.h: Fold copyright years.
28500 * bits/typesizes.h: Likewise.
28501 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28505 * time/time.h: Likewise.
28506
bedee953
PP
285072012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28508
28509 [BZ #208]
28510 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28511 in instead of returning them. Return void.
28512 (__libc_mallinfo): Accumulate over all arenas.
28513 (__malloc_stats): Adjust for change in int_mallinfo interface.
28514
61653dfb
RM
285152012-05-16 Roland McGrath <roland@hack.frob.com>
28516
30b99d79
RM
28517 [BZ #10375]
28518 * configure.in (NM): Add AC_CHECK_TOOL for it.
28519 (libc_extra_cflags): New substituted variable.
28520 Check for -fstack-protector being used implicitly.
28521 * configure: Regenerated.
28522 * config.make.in (config-extra-cflags): New variable,
28523 gets @libc_extra_cflags@.
28524 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28525
61653dfb
RM
28526 [BZ #10375]
28527 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28528 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28529 * configure: Regenerated.
28530 * config.make.in (CPPUNDEFS): New substituted variable.
28531 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28532 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28533 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28534
661768bb
L
285352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28538 (mq_attr): Use __syscall_slong_t.
28539
d4261567
L
285402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28543 Check __x86_64__ instead of __WORDSIZE.
28544 (_STAT_VER_LINUX): Likewise.
28545 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28546 __syscall_ulong_t and __syscall_slong_t.
28547 (stat64): Likewise.
28548
cf3ff365
L
285492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28552
76cf3e4d
L
285532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28554
28555 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28556
a637753a
L
285572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28558
28559 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28560 __syscall_ulong_t.
28561
d5e05119
L
28562 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28563 include <bits/wordsize.h>. Check __x86_64__ instead of
28564 __WORDSIZE.
28565 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28566 defined.
28567 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28568
f62ee380
L
28569 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28570 include <bits/wordsize.h>. Check __x86_64__ instead of
28571 __WORDSIZE.
28572 (user_regs_struct): Use "__extension__ unsigned long long"
28573 instead of "unsigned long" if __x86_64__ is defined.
28574 (user): Likewise. Pad after pointer field if __ILP32__ is
28575 defined.
28576
4e124ced
JM
285772012-05-16 Joseph Myers <joseph@codesourcery.com>
28578
6a3951a0
JM
28579 * configure.in (makeinfo): Require version 4.5 or later. Allow
28580 versions 5 to 9.
28581 * configure: Regenerated.
28582 * manual/install.texi (texinfo): Increase version requirement to
28583 4.5 or later.
28584 * INSTALL: Regenerated.
28585
4e124ced
JM
28586 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28587
953ca31a
L
285882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28589
28590 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28591
617aca05
L
28592 * sysdeps/x86_64/x32/ffs.c: New file.
28593
5762f7ae
L
28594 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28595 __syscall_ulong_t.
28596 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28597 defined. Use __syscall_ulong_t.
28598 (shminfo): Use __syscall_ulong_t.
28599 (shm_info): Likewise.
28600
a26b6856
L
28601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28602 __syscall_ulong_t.
28603
cb2b9ef7
L
28604 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28605 <bits/wordsize.h>.
28606 (msgqnum_t): Use __syscall_ulong_t.
28607 (msglen_t): Likewise.
28608 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28609 __syscall_ulong_t.
28610
34683bb0
L
28611 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28613
84a68786
L
28614 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28615
48baa5f1
L
28616 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28617 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28618
180be88b
L
28619 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28620 __syscall_slong_t.
28621
5e90c8ad
L
28622 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28623 include <bits/wordsize.h>. Check __x86_64__ instead of
28624 __WORDSIZE.
28625
23dfb58b
L
28626 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28627 "unsigned long long int" if __x86_64__ is defined.
28628 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28629
ce5d54b0
L
28630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28631 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28632 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28633
13dc9eac
L
28634 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28635 <stdint.h>.
28636 (GET_PC): Cast to uintptr_t first.
28637 (GET_FRAME): Likewise.
28638 (GET_STACK): Likewise.
28639
a7895d15
L
28640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28641 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28643 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28646 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28647 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28648 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28650 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28652 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28654 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28658 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28660 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28662 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28666 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28669
656416c9
AS
286702012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28671
5bd66283
AS
28672 * Makerules (+depfiles): Also collect depfiles from .oS in
28673 $(extra-objs).
28674 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28675 .oS, $(libnldbl-routines)).
28676
656416c9
AS
28677 * Makerules (native-compile-mkdep-flags): Define.
28678 * sunrpc/Makefile (extra-objs): Add $(addprefix
28679 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28680 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28681 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28682 calling $(make-target-directory).
28683
a46f2169
L
286842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28685
28686 * bits/types.h (__snseconds_t): Removed.
28687 * time/time.h (struct timespec): Replace __snseconds_t with
28688 __syscall_slong_t.
28689 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28690 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28691 Likewise.
28692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28693 (__SNSECONDS_T_TYPE): Likewise.
28694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28695 (__SNSECONDS_T_TYPE): Likewise.
28696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28697 (__SNSECONDS_T_TYPE): Likewise.
28698
6af6528b
L
286992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * sysdeps/mach/hurd/bits/typesizes.h
28702 (__SYSCALL_SLONG_TYPE): New macro.
28703 (__SYSCALL_ULONG_TYPE): Likewise.
28704
de986b56
L
287052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * bits/types.h (__syscall_slong_t): New type.
28708 (__syscall_ulong_t): Likewise.
28709
28710 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28711 (__SYSCALL_ULONG_TYPE): Likewise.
28712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28713 (__SYSCALL_SLONG_TYPE): Likewise.
28714 (__SYSCALL_ULONG_TYPE): Likewise.
28715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28716 (__SYSCALL_SLONG_TYPE): Likewise.
28717 (__SYSCALL_ULONG_TYPE): Likewise.
28718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28719 (__SYSCALL_SLONG_TYPE): Likewise.
28720 (__SYSCALL_ULONG_TYPE): Likewise.
28721
85736dc7
L
287222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28725 Add sigaltstack-offsets.sym.
28726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28727 <sigaltstack-offsets.h>.
28728 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28729 longjmp_msg pointer.
28730 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28731 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28732 signal stack.
28733 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28734
cc03b296
JM
287352012-05-15 Joseph Myers <joseph@codesourcery.com>
28736
a9538892
JM
28737 * elf/stackguard-macros.h: Remove file.
28738 * sysdeps/generic/stackguard-macros.h: New file.
28739 * sysdeps/i386/stackguard-macros.h: Likewise.
28740 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28741 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28742 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28743 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28744 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28745 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28746 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28747 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28748 <elf/stackguard-macros.h>.
28749
cc03b296
JM
28750 [BZ #14109]
28751 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28752 __aligned__ in attribute.
28753 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28754 (gregset_t): Likewise.
28755
93171016
L
287562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28759 * sysdeps/x86_64/64/Implies-after: Here. New file.
28760 * sysdeps/x86_64/x32/Implies-after: New file.
28761
d86813a0
L
287622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28765 and access return value for _dl_profile_fixup. Use R10_LP to
28766 load frame size.
28767
2953ec75
L
287682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28771
3b550e9e
L
287722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28775 * sysdeps/x86_64/x32/sysdep.h: New file.
28776
eda41706
L
287772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28778
28779 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28780 * sysdeps/x86_64/setjmp.S: Likewise.
28781
9ea01d93
AZ
287822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28783
28784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28785 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28786 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28788 remove unused global constant.
28789
02a91938
CM
287902012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28791
28792 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28793 include of <not-cancel.h>.
28794
6540185f
RM
287952012-05-15 Roland McGrath <roland@hack.frob.com>
28796
28797 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28798
509072a0
AJ
287992012-05-15 Jeff Law <law@redhat.com>
28800 Andreas Jaeger <aj@suse.de>
28801
28802 [BZ #13594]
28803 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28804 out from...
28805 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28806 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28807 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28808 code changing __hst_map_handle.map.
28809
ba75122d
RM
288102012-05-15 Roland McGrath <roland@hack.frob.com>
28811
28812 * configure.in (sysnames): Look for Implies-before and Implies-after
28813 files.
28814 * configure: Regenerated.
28815
890d8bd8
L
288162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28819 8-byte data alignment with LP_SIZE alignment.
28820
f6ee6623
L
288212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28824 into R10_LP.
28825
ea2626f6
L
288262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28829
085f715e
L
288302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28831
28832 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28835 Likewise.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28837
be8498fc
L
288382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28839
28840 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28841 (stackinfo_sub_sp): Likewise.
28842
70bc83b9
L
288432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28844
28845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28846 RAX_LP.
28847
9bc0b730
L
288482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28851 into R*_LP.
28852
6d2850e7
L
288532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28856 sizes into R*_LP.
28857
3cb84561
L
288582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28859
28860 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28861
54e2ed81
L
288622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28865 into R11_LP and load __x86_64_shared_cache_size_half into
28866 R8_LP.
28867
8a17f349
L
288682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28871 R8_LP.
28872
777b1eea
AZ
288732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28874
28875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28876 logb for POWER7.
28877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28878 logbf for POWER7.
28879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28880 logbl for POWER7.
28881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28882 powerpc32/power7/fpu/s_logb.c via #include.
28883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28884 powerpc32/power7/fpu/s_logbf.c via #include.
28885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28886 powerpc32/power7/fpu/s_logbl.c via #include.
28887
d20d4ac2
JM
288882012-05-15 Joseph Myers <joseph@codesourcery.com>
28889
28890 * README.libm: Remove file.
28891
6cdef1ab
L
288922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28893
28894 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28895 count for x32. Use R*_LP and omit operand-size suffix.
28896
0b254d8f
L
288972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28900 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28901 * sysdeps/x86_64/x32/shlib-versions: New file.
28902
ceb809dc
RM
289032012-05-14 Roland McGrath <roland@hack.frob.com>
28904
28905 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28906 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28907 Use _dl_fatal_printf instead.
28908
37f1abd4
JM
289092012-05-14 Joseph Myers <joseph@codesourcery.com>
28910
28911 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28912 set if not set by the user. Do not allow for being unset.
28913 * sysdeps/unix/sysv/linux/configure: Regenerated.
28914
11de3a33
L
289152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28916
28917 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28918 the `q' suffix from lea and replace .quad with ASM_ADDR.
28919
e02f153a
L
289202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28921
28922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28923 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28924 instead of $17.
28925 (PTR_DEMANGLE): Likewise.
28926
520ae0fd
L
289272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28928
28929 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28930 (LP_OP): Likewise.
28931 (ASM_ADDR): Likewise.
28932 (RAX_LP): Likewise.
28933 (RBP_LP): Likewise.
28934 (RBX_LP): Likewise.
28935 (RCX_LP): Likewise.
28936 (RDI_LP): Likewise.
28937 (RSI_LP): Likewise.
28938 (RSP_LP): Likewise.
28939 (R8_LP): Likewise.
28940 (R9_LP): Likewise.
28941 (R10_LP): Likewise.
28942 (R10_LP): Likewise.
28943 (R11_LP): Likewise.
28944 (R12_LP): Likewise.
28945 (R13_LP): Likewise.
28946 (R14_LP): Likewise.
28947 (R15_LP): Likewise.
28948
b985be81
L
289492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28950
28951 * sysdeps/x86_64/x32/dl-machine.h: New file.
28952
6a4888ff
AJ
289532012-05-14 Andreas Jaeger <aj@suse.de>
28954
28955 * manual/Makefile (subdir): Remove export of subdir.
28956 (all): Remove target.
28957 (.PHONY): Remove all from list.
28958 (mkinstalldirs): Remove.
28959 (.PHONY): Remove installdirs from list.
28960 ($(inst_infodir)/libc.info): Use make-target-directory.
28961 (installdirs): Remove.
28962 (subdir_%): Remove.
28963 (glibc-targets): Remove.
28964 (lib): Remove.
28965 (stubs): Remove.
28966 ($(objpfx)stubs ../po/manual.pot): Remove.
28967 ($(objpfx)stamp%): Remove.
28968 (make-target-directory): Remove.
28969 (subdir_install): Remove.
28970 (routines): Remove.
28971 (aux): Remove.
28972 (sources): Remove.
28973 (objects): Remove.
28974 (headers): Remove.
28975
28976 [BZ #13750]
28977 * manual/.gitignore: Remove, it's not needed anymore.
28978 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28979 all files in it.
28980 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28981 directory.
28982 (texis): Renamed to $(objpfx)texis.
28983 (texis-path): New, contains path to generated files.
28984 (chapters.%): Use texis-path for complete path, add extra argument
28985 libc-texinfo.sh.
28986 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28987 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28988 (summary,texi, stamp-summary): Use complete path of
28989 files. Generate files in build dir.
28990 (dir-add.texi): Build in build dir.
28991 (libm-err.texi,stamp-libm-err): Likewise.
28992 (version.texi, stamp-version): Likewise.
28993 (.%c.texi): Likewise.
28994 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28995 (mostlyclean): Remove target.
28996 (realclean): Remove target.
28997 (generated): Add new variable with contents from mostlyclean and
28998 realclean, remove entries duplicated in common-mostlyclean, add
28999 stamp-libm-err and stamp-version.
29000 (generated-dirs): Add libc directory.
29001 ($(inst_infodir)/libc.info): Install files from build dir.
29002
29003 * manual/install.texi (Configuring and compiling): Adjust since
29004 the info files are not part of the tar ball anymore.
29005
7ac77294
AJ
290062012-05-14 Andreas Jaeger <aj@suse.de>
29007
29008 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29009 variable.
29010
ffb7875d
JM
290112012-05-14 Joseph Myers <joseph@codesourcery.com>
29012
29013 [BZ #13717]
29014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29015 to 2.2.0 where earlier.
29016 * sysdeps/unix/sysv/linux/configure: Regenerated.
29017 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29018 Remove conditional code.
29019 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29020 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29021 Remove conditional code.
29022 [!__NR_lchown]: Likewise.
29023 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29024 [__NR_lchown]: Likewise.
29025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29026 comment referencing __ASSUME_LCHOWN_SYSCALL.
29027 * sysdeps/unix/sysv/linux/i386/sigaction.c
29028 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29029 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29030 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29031 Remove conditional code.
29032 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29033 (__protocol_available): Remove #if 0 code.
29034 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29035 conditional code.
29036 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29037 * sysdeps/unix/sysv/linux/kernel-features.h
29038 (__ASSUME_GETCWD_SYSCALL): Don't define.
29039 (__ASSUME_REALTIME_SIGNALS): Likewise.
29040 (__ASSUME_PREAD_SYSCALL): Likewise.
29041 (__ASSUME_PWRITE_SYSCALL): Likewise.
29042 (__ASSUME_POLL_SYSCALL): Likewise.
29043 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29044 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29045 non-SPARC.
29046 (__ASSUME_SIOCGIFNAME): Don't define.
29047 (__ASSUME_MSG_NOSIGNAL): Likewise.
29048 (__ASSUME_SENDFILE): Define unconditionally.
29049 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29050 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29051 conditional code.
29052 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29053 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29054 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29055 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29056 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29057 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29058 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29063 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29069 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29072 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29075 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29078 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29081 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29083 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29084 Remove conditional code.
29085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29086 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29087 Remove conditional code.
29088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29089 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29090 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29091 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29092 Remove conditional code.
29093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29094 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29095 Remove conditional code.
29096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29097 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29098 Remove conditional code.
29099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29100 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29101 Remove conditional code.
29102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29103 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29104 Remove conditional code.
29105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29106 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29109 * sysdeps/unix/sysv/linux/sigaction.c
29110 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29111 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29112 * sysdeps/unix/sysv/linux/sigpending.c
29113 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29114 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29115 * sysdeps/unix/sysv/linux/sigprocmask.c
29116 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29117 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29118 * sysdeps/unix/sysv/linux/sigsuspend.c
29119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29121 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29122 (__libc_missing_rt_sigs): Remove.
29123 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29124 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29125 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29126 Remove conditional code.
29127 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29128 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29129 return 1.
29130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29131 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29132 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29133 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29134
1bfb7291
AJ
291352012-05-14 Andreas Jaeger <aj@suse.de>
29136
caae5a81
AJ
29137 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29138 it's not used in glibc.
29139 (__coshm1): Likewise.
29140 (__acosh1p): Likewise.
29141 (__sgn): Likewise.
29142
1bfb7291
AJ
29143 * manual/string.texi (Copying and Concatenation): Add missing
29144 variable in concat example.
29145 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29146
c044d724
L
291472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29148
144c5467 29149 [BZ #14103]
c044d724
L
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29151 __builtin_clzl with __builtin_clzll.
29152
2523c62b
L
291532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 [BZ #14104]
29156 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29157 libc_freeres_ptr.
29158
d7bb4c42
LD
291592012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29160
29161 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29162 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29163 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29165
9dc4e1fb
MF
291662012-05-14 Mike Frysinger <vapier@gentoo.org>
29167
29168 * NEWS: Update ia64 info.
29169
c7df0112
AS
291702012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29171
29172 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29173 used as bcopy.
29174
dc70356c
TS
291752012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29176
29177 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29178 * sysdeps/unix/syscalls.list (dup3): Likewise.
29179 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29180 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29181
9fb1a21f
L
291822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29183
29184 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29185 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29186
4822a2a5
L
291872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29188
29189 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29190 thread pointer.
29191 (TLS_IE): Use mov/add instead of movq/addq to load thread
29192 pointer.
29193 (TLS_GD_PREFIX): New.
29194 (TLS_GD): Use it.
29195
842b81d6
DM
291962012-05-11 David S. Miller <davem@davemloft.net>
29197
29198 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29199 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29200 (_FPU_SETCW): Likewise.
29201
1cf463cd
L
292022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29205 is 32-byte aligned.
29206
60cc4a18
AS
292072012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29208
29209 [BZ #11837]
29210 * iconvdata/gb18030.c: Update tables.
29211 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29212 characters specially.
29213 (BODY for TO_LOOP): Add encoding of missing ranges.
29214
febb44a4
TS
292152012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29216
29217 [BZ #13673]
29218 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29219 * sysdeps/mach/hurd/dup3.c: Likewise.
29220 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29221 * sysdeps/powerpc/memmove.c:: Likewise.
29222
0a10fb9e
L
292232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29226 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29227
df8a552f
L
292282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * elf/elf.h (R_X86_64_RELATIVE64): New.
29231 (R_X86_64_NUM): Updated.
29232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29233 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29234 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29235 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29236 tst-quad1pie tst-quad2pie
29237 (modules-names): Add tst-quadmod1 tst-quadmod2.
29238 ($(objpfx)tst-quad1): New dependency.
29239 ($(objpfx)tst-quad2): Likewise.
29240 ($(objpfx)tst-quad1pie): Likewise.
29241 ($(objpfx)tst-quad2pie): Likewise.
29242 * sysdeps/x86_64/tst-quad1.c: New file.
29243 * sysdeps/x86_64/tst-quad1pie.c: New file.
29244 * sysdeps/x86_64/tst-quad2.c: Likewise.
29245 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29246 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29247 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29248 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29249 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29250
f34d6f84
ST
292512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29252
f42d41d1
ST
29253 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29254 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29255 * streams/stropts.h (t_scalar_t): Define type.
29256
3c3571fc
ST
29257 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29258 (_PATH_PRESERVE): Set to "/var/lib".
29259 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29260
61f06bd3
ST
29261 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29262 instead of int.
29263
918d4d71
ST
29264 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29265 if __dir_mkfile succeeded.
29266
f34d6f84
ST
29267 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29268 checking for _hurd_dtablesize. Unlock it right after having
29269 finished _hurd_dtable allocation.
29270
10589b4a
TS
292712012-05-10 Thomas Schwinge <thomas@schwinge.name>
29272
674cdbc7
TS
29273 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29274 * sysdeps/mach/hurd/configure: Regenerated.
29275 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29276 special-casing to...
29277 * sysdeps/gnu/configure.in: ... this new file.
29278 * sysdeps/unix/sysv/linux/configure: Regenerated.
29279 * sysdeps/gnu/configure: New generated file.
29280
8e41b99f
TS
29281 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29282 for Linux: use nsec instead of usec, as well as:
29283 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29284 members of type struct timespec.
29285 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29286 New macros.
29287 (struct stat64): Likewise.
29288 (_STATBUF_ST_NSEC): New macro.
29289 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29290
10589b4a
TS
29291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29292 __strtoul_internal rather than strtoul.
29293
63643c85
PT
292942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29295
29296 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29297 and reject them.
29298
3faebe6a
ST
292992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29300
29301 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29302 which preserves existing values.
29303 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29304
c6474b07
PT
293052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29306
29307 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29308 TIMEOUT values. Return EINVAL for NFDS values either negative or
29309 greater than FD_SETSIZE.
29310
1043890b
ST
293112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29312
29313 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29314 allocated, call __vm_protect to finish enabling the existing space, and
29315 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29316 allocate the remainder.
29317
37ed8b9b
PT
293182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29319
29320 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29321 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29322
db653660
ST
293232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29324
37ed8b9b
PT
29325 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29326 sysdeps/mach/hurd/readlink.c.
b29d4053 29327
db653660
ST
29328 * posix/tst-sysconf.c (posix_options): Only use
29329 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29330 _POSIX_SYNCHRONIZED_IO when they are defined
29331 * sysdeps/mach/hurd/bits/posix_opt.h:
29332 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29333 (_XOPEN_REALTIME): Undefine macro.
29334 (_XOPEN_REALTIME_THREADS): Undefine macro.
29335 (_XOPEN_SHM): Undefine macro.
29336 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29337 macro to -1.
29338 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29339 macro to -1.
29340 (_POSIX_ASYNC_IO): Undefine macro.
29341 (_POSIX_PRIORITIZED_IO): Undefine macro.
29342 (_POSIX_SPIN_LOCKS): Define macro to -1.
29343
ee16e894
ST
29344 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29345 SA_NODEFER, SA_RESETHAND.
29346 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29347 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29348 F_DUPFD_CLOEXEC.
29349
6103ae3b
TS
293502012-05-10 Thomas Schwinge <thomas@schwinge.name>
29351
29352 * elf/Makefile (pldd-modules): Define unconditionally.
29353
80b4e5f3
TS
293542012-05-10 Thomas Schwinge <thomas@schwinge.name>
29355
29356 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29357
edadcbd6
ST
293582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29359
29360 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29361 Return ENOENT when name is empty.
29362 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29363
80694780
TS
293642012-05-10 Thomas Schwinge <thomas@schwinge.name>
29365
1792c087
TS
29366 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29367
80694780
TS
29368 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29369
6b645f0d
ST
293702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29371
80694780
TS
29372 Fix mlock in all cases except non-readable pages.
29373 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29374 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29375
6b645f0d
ST
29376 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29377 (__mkdir): When path is `/', just fail with EEXIST.
29378 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29379
e468f8a3
TS
293802012-05-10 Thomas Schwinge <thomas@schwinge.name>
29381
29382 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29383 <sys/uio.h> (for writev).
29384 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29385 and <sys/param.h> (for MIN).
29386
a4186cff
PT
293872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29388
29389 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29390 REQUESTED_TIME. Properly set the remaining time and return EINTR
29391 if interrupted.
29392
510bbf14
TS
293932012-05-10 Thomas Schwinge <thomas@schwinge.name>
29394
29395 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29396 Depend on against $(link-rpcuserlibs).
29397
5d5722e8
ST
293982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29399
a4186cff
PT
29400 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29401 (__libc_stack_end): Do not use attribute_relro.
29402 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29403 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29404 to libthread-provided value.
a4186cff
PT
29405 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29406 attribute_relro.
5d5722e8 29407
37233df9
TS
294082012-05-10 Thomas Schwinge <thomas@schwinge.name>
29409
be971a2b
TS
29410 [BZ #3748]
29411 * bits/libc-lock.h (__libc_once_get): New macro.
29412 * sysdeps/mach/bits/libc-lock.h: Likewise.
29413 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29415 instead of using implementation details.
29416
37233df9
TS
29417 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29418 * libio/freopen.c: Likewise.
29419 * libio/freopen64.c: Likewise.
29420 * misc/syslog.c: Likewise.
29421 * nscd/connections.c: Likewise.
29422 * nscd/netgroupcache.c: Likewise.
29423 * sysdeps/posix/getcwd.c: Likewise.
29424
38de94a5
RM
294252012-05-10 Roland McGrath <roland@hack.frob.com>
29426
29427 * math/w_ilogbf.c: Add #include <limits.h>.
29428
67530489
ST
294292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29430
a4186cff 29431 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29432 path instead of returning without unlocking.
29433
67530489
ST
29434 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29435 immediate-write ioctls.
29436 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29437
5aa3a74a
TS
294382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29439
18bad2ae
TS
29440 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29441 __builtin_frame_address instead of making assumptions about the
29442 location of the return address relative to DATA. Force early load of
29443 the return address.
29444 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29445 __builtin_frame_address.
29446
5aa3a74a
TS
29447 dup3 for GNU Hurd.
29448 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29449 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29450 implement dup3 and do some further code clean-ups.
29451 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29452 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29453
ecd0de9a
ST
294542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29455
cd9fa985
ST
29456 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29457
a4186cff
PT
29458 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29459 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29460 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29461 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29462 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29463 d->port.lock.
802ca5a5 29464
a4186cff
PT
29465 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29466 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29467 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29468
bcf55240
TS
294692012-05-10 Thomas Schwinge <thomas@schwinge.name>
29470
6960eb42
TS
29471 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29472 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29473 definitions.
29474
eb43375f
TS
29475 accept4 for GNU Hurd.
29476 * include/sys/socket.h (__libc_accept4): New prototype.
29477 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29478 to implement __libc_accept4.
29479 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29480 __libc_accept4.
29481 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29482
bcf55240
TS
29483 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29484 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29485 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29486 signal-defines.sym.
29487
6178c55b
ST
294882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29489
a4186cff 29490 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29491
6f080c2f
TS
294922012-05-10 Thomas Schwinge <thomas@schwinge.name>
29493
29494 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29495 assertion on O_CLOEXEC flag.
29496 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29497 * hurd/intern-fd.c: Likewise.
29498 * hurd/port2fd.c: Likewise.
29499
bcfe3a54
ST
295002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29501
29502 [BZ #3906]
29503 * bits/in.h (IPV6_PKTINFO): Define new macro.
29504 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29505
89c9aa49
AZ
295062012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29507
29508 [BZ #13954]
29509 [BZ #13955]
29510 [BZ #13956]
29511 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29513 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29514 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29516 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29517 * math/libm-test.inc (logb_test) : Additional logb tests.
29518
021db4be
AJ
295192012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29520 Andreas Jaeger <aj@suse.de>
29521
29522 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29523 * configure: Regenerated.
29524 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29525 * config.make.in (link-obsolete-rpc): New substituted variable.
29526 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29527 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29528 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29529 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29530 so that libc.a contains the symbols.
29531 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29532 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29533 * sunrpc/auth_none.c: Likewise.
29534 * sunrpc/auth_unix.c: Likewise.
29535 * sunrpc/authdes_prot.c: Likewise.
29536 * sunrpc/authuxprot.c: Likewise.
29537 * sunrpc/clnt_gen.c: Likewise.
29538 * sunrpc/clnt_perr.c: Likewise.
29539 * sunrpc/clnt_raw.c: Likewise.
29540 * sunrpc/clnt_simp.c: Likewise.
29541 * sunrpc/clnt_tcp.c: Likewise.
29542 * sunrpc/clnt_udp.c: Likewise.
29543 * sunrpc/clnt_unix.c: Likewise.
29544 * sunrpc/des_crypt.c: Likewise.
29545 * sunrpc/des_soft.c: Likewise.
29546 * sunrpc/get_myaddr.c: Likewise.
29547 * sunrpc/key_call.c: Likewise.
29548 * sunrpc/key_prot.c: Likewise.
29549 * sunrpc/netname.c: Likewise.
29550 * sunrpc/pm_getmaps.c: Likewise.
29551 * sunrpc/pm_getport.c: Likewise.
29552 * sunrpc/pmap_clnt.c: Likewise.
29553 * sunrpc/pmap_prot.c: Likewise.
29554 * sunrpc/pmap_prot2.c: Likewise.
29555 * sunrpc/pmap_rmt.c: Likewise.
29556 * sunrpc/publickey.c: Likewise.
29557 * sunrpc/rpc_cmsg.c: Likewise.
29558 * sunrpc/rpc_common.c: Likewise.
29559 * sunrpc/rpc_dtable.c: Likewise.
29560 * sunrpc/rpc_prot.c: Likewise.
29561 * sunrpc/rpc_thread.c: Likewise.
29562 * sunrpc/rtime.c: Likewise.
29563 * sunrpc/svc.c: Likewise.
29564 * sunrpc/svc_auth.c: Likewise.
29565 * sunrpc/svc_raw.c: Likewise.
29566 * sunrpc/svc_run.c: Likewise.
29567 * sunrpc/svc_tcp.c: Likewise.
29568 * sunrpc/svc_udp.c: Likewise.
29569 * sunrpc/svc_unix.c: Likewise.
29570 * sunrpc/svcauth_des.c: Likewise.
29571 * sunrpc/xcrypt.c: Likewise.
29572 * sunrpc/xdr.c: Likewise.
29573 * sunrpc/xdr_array.c: Likewise.
29574 * sunrpc/xdr_float.c: Likewise.
29575 * sunrpc/xdr_intXX_t.c: Likewise.
29576 * sunrpc/xdr_mem.c: Likewise.
29577 * sunrpc/xdr_rec.c: Likewise.
29578 * sunrpc/xdr_ref.c: Likewise.
29579 * sunrpc/xdr_sizeof.c: Likewise.
29580 * sunrpc/xdr_stdio.c: Likewise.
29581
b5c086a2
RM
295822012-05-10 Roland McGrath <roland@hack.frob.com>
29583
29584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29585 change. Update copyright years.
29586
6d74dd09
JM
295872012-05-10 Joseph Myers <joseph@codesourcery.com>
29588
29589 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29590
28e72501
MK
295912012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29592 Joseph Myers <joseph@codesourcery.com>
29593 Paul Pluzhnikov <ppluzhnikov@google.com>
29594
29595 [BZ #14012]
29596 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29597 requiring rpcgen.
29598 [cross-compiling] (extra-libs): Likewise.
29599 [cross-compiling] (extra-libs-others): Likewise.
29600 [cross-compiling] (librpcsvc-routines): Likewise.
29601 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29602 [cross-compiling] (omit-deps): Likewise.
29603 (sunrpc-CPPFLAGS): New variable.
29604 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29605 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29606 (cross-rpcgen-objs): New variable.
29607 (extra-objs): Append $(cross-rpcgen-objs).
29608 ($(cross-rpcgen-objs)): New rule.
29609 ($(objpfx)cross-rpcgen): Likewise.
29610 (rpcgen-cmd): Define to use $(built-program-file). Expand
29611 comment.
29612 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29613 ($(objpfx)x%.stmp): Likewise.
29614 * sunrpc/proto.h [IS_IN_build] (_): Define.
29615 [IS_IN_build] (_libc_intl_domainname): Likewise.
29616
c8c59454
L
296172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29618
29619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29620 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29621 and R_X86_64_TPOFF64.
29622
6f27cd16
JM
296232012-05-10 Joseph Myers <joseph@codesourcery.com>
29624
29625 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29626 sysdeps/unix/sysv/syscalls.list.
29627 (stime): Likewise.
29628 (utime): Likewise.
29629 * sysdeps/unix/sysv/syscalls.list: Remove file.
29630
02467e1c
PE
296312012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29632
29633 [BZ #3440]
29634 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29635 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29636 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29637 (__LC_IDENTIFICATION): Make these macros useful in #if
29638 expressions, as required by C99.
29639
da392631
AS
296402012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29641
29642 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29643 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29644 after this.
29645
8115f29b
L
296462012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29647
29648 * stdlib/longlong.h: Updated from GCC.
29649
bdd74070
AJ
296502012-05-09 Andreas Jaeger <aj@suse.de>
29651
edfe0dbe
AJ
29652 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29653 default is first entry.
29654 (run_mode): Set type.
29655 (main): Remove informal message about syslog.
29656 (options): Fix typo.
29657
bcfe3a54
ST
29658 [BZ #14053]
29659 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29660 to asm.
bcfe3a54
ST
29661 (lrint): Likewise.
29662 (llrintf): Likewise.
29663 (llrint): Likewise.
29664 (rint): Likewise.
29665 (rintf): Likewise.
29666 (nearbyint): Likewise.
29667 (nearbyintf): Likewise.
bdd74070 29668
91d8d69e
AJ
296692012-05-09 Andreas Jaeger <aj@suse.de>
29670 Pedro Alves <palves@redhat.com>
29671
29672 * nscd/nscd.c (run_mode): Use enum.
29673 (main): Cleanup coding style issue.
29674
bb90b80b
AJ
296752012-05-09 Alexandre Oliva <aoliva@redhat.com>
29676 Andreas Jaeger <aj@suse.de>
29677
bcfe3a54
ST
29678 * nscd/nscd.c (go_background): Replaced with...
29679 (run_mode): ... this.
bb90b80b 29680 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29681 (options): Add -F --foreground.
29682 (main): Implement it.
29683 (parse_opt): Parse it.
bb90b80b 29684
1a4b75a1
AJ
296852012-05-09 Andreas Jaeger <aj@suse.de>
29686
29687 [BZ #14083]
29688 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29689 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29690 -Wconversion warning.
29691 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29692 Likewise.
29693
b1cc2472
JM
296942012-05-09 Joseph Myers <joseph@codesourcery.com>
29695
29696 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29697 == 0.
29698 (LC_ALL): Use macro-int-constant.
29699 (LC_COLLATE): Likewise.
29700 (LC_CTYPE): Likewise.
29701 (LC_MESSAGES): Likewise.
29702 (LC_MONETARY): Likewise.
29703 (LC_NUMERIC): Likewise.
29704 (LC_TIME): Likewise.
29705 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29706 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29708 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29709 Specify type.
29710 [C99-based standards] (float_t): Expect type.
29711 [C99-based standards] (double_t): Expect type.
29712 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29713 type.
29714 [C99-based standards] (HUGE_VALL): Likewise.
29715 [C99-based standards] (INFINITY): Likewise.
29716 [C99-based standards] (NAN): Likewise.
29717 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29718 [C99-based standards] (FP_NAN): Likewise.
29719 [C99-based standards] (FP_NORMAL): Likewise.
29720 [C99-based standards] (FP_SUBNORMAL): Likewise.
29721 [C99-based standards] (FP_ZERO): Likewise.
29722 [C99-based standards] (FP_FAST_FMA): Use
29723 optional-macro-int-constant. Specify type. Require == 1.
29724 [C99-based standards] (FP_FAST_FMAF): Likewise.
29725 [C99-based standards] (FP_FAST_FMAL): Likewise.
29726 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29727 [C99-based standards] (FP_ILOGBNAN): Likewise.
29728 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29729 Specify type.
29730 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29731 [C99-based standards] (math_errhandling): Specify type.
29732 [ISO99 || ISO11] (signgam): Do not allow.
29733 [non-C99-based standards] (copysignf): Do not allow.
29734 [non-C99-based standards] (exp2f): Likewise.
29735 [non-C99-based standards] (log2f): Likewise.
29736 [non-C99-based standards] (modff): Allow.
29737 [non-C99-based standards] (erff): Do not allow.
29738 [non-C99-based standards] (erfcf): Likewise.
29739 [non-C99-based standards] (gammaf): Likewise.
29740 [non-C99-based standards] (hypotf): Likewise.
29741 [non-C99-based standards] (j0f): Likewise.
29742 [non-C99-based standards] (j1f): Likewise.
29743 [non-C99-based standards] (jnf): Likewise.
29744 [non-C99-based standards] (lgammaf): Likewise.
29745 [non-C99-based standards] (tgammaf): Likewise.
29746 [non-C99-based standards] (y0f): Likewise.
29747 [non-C99-based standards] (y1f): Likewise.
29748 [non-C99-based standards] (ynf): Likewise.
29749 [non-C99-based standards] (isnanf): Likewise.
29750 [non-C99-based standards] (acoshf): Likewise.
29751 [non-C99-based standards] (asinhf): Likewise.
29752 [non-C99-based standards] (atanhf): Likewise.
29753 [non-C99-based standards] (cbrtf): Likewise.
29754 [non-C99-based standards] (expm1f): Likewise.
29755 [non-C99-based standards] (ilogbf): Likewise.
29756 [non-C99-based standards] (log1pf): Likewise.
29757 [non-C99-based standards] (logbf): Likewise.
29758 [non-C99-based standards] (nextafterf): Likewise.
29759 [non-C99-based standards] (remainderf): Likewise.
29760 [non-C99-based standards] (rintf): Likewise.
29761 [non-C99-based standards] (scalbf): Likewise.
29762 [non-C99-based standards] (copysignl): Likewise.
29763 [non-C99-based standards] (exp2l): Likewise.
29764 [non-C99-based standards] (log2l): Likewise.
29765 [non-C99-based standards] (modfl): Allow.
29766 [non-C99-based standards] (erfl): Do not allow.
29767 [non-C99-based standards] (erfcl): Likewise.
29768 [non-C99-based standards] (gammal): Likewise.
29769 [non-C99-based standards] (hypotl): Likewise.
29770 [non-C99-based standards] (j0l): Likewise.
29771 [non-C99-based standards] (j1l): Likewise.
29772 [non-C99-based standards] (jnl): Likewise.
29773 [non-C99-based standards] (lgammal): Likewise.
29774 [non-C99-based standards] (tgammal): Likewise.
29775 [non-C99-based standards] (y0l): Likewise.
29776 [non-C99-based standards] (y1l): Likewise.
29777 [non-C99-based standards] (ynl): Likewise.
29778 [non-C99-based standards] (isnanl): Likewise.
29779 [non-C99-based standards] (acoshl): Likewise.
29780 [non-C99-based standards] (asinhl): Likewise.
29781 [non-C99-based standards] (atanhl): Likewise.
29782 [non-C99-based standards] (cbrtl): Likewise.
29783 [non-C99-based standards] (expm1l): Likewise.
29784 [non-C99-based standards] (ilogbl): Likewise.
29785 [non-C99-based standards] (log1pl): Likewise.
29786 [non-C99-based standards] (logbl): Likewise.
29787 [non-C99-based standards] (nextafterl): Likewise.
29788 [non-C99-based standards] (remainderl): Likewise.
29789 [non-C99-based standards] (rintl): Likewise.
29790 [non-C99-based standards] (scalbl): Likewise.
29791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29792 [non-C99-based standards] (FP_*): Do not allow.
29793 [C99-based standards] (FP_*): Change to
29794 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29795 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29796 allow.
29797 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29798 (SIG_ERR): Likewise.
29799 [X/Open-based standards] (SIG_HOLD): Likewise.
29800 (SIG_IGN): Likewise.
29801 (SIGABRT): Use macro-int-constant. Specify type. Require
29802 positive value.
29803 (SIGFPE): Likewise.
29804 (SIGILL): Likewise.
29805 (SIGINT): Likewise.
29806 (SIGSEGV): Likewise.
29807 (SIGTER): Likewise.
29808 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29809 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29810 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29820 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29821 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29822 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29823 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29826 [X/Open-based standards] (SIGTRAP): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29829 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29831 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29832 allow.
29833
b9f1922d
IW
298342012-05-08 Ian Wienand <ianw@vmware.com>
29835
29836 [BZ #14080]
29837 * time/tzset.c (__tzset_parse_tz): Update default rules for
29838 daylight time changes in the Energy Policy Act of 2005.
29839
1db86e88
AJ
298402012-05-09 Andreas Jaeger <aj@suse.de>
29841
29842 [BZ #13983]
29843 * elf/ldconfig.c (parse_conf): Change string to make clear that
29844 ldconfig only issued a warning if ld.so.conf does not exist.
29845
dee4a4e3
DM
298462012-05-08 David S. Miller <davem@davemloft.net>
29847
ee0db190
DM
29848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29849 movxtod instead of popping the value on the stack.
29850
dee4a4e3
DM
29851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29852
6a43ec98
CD
298532012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29854
29855 * config.h.in: Add HAVE_ARM_PCS_VFP.
29856
05c2c961
RMG
298572012-05-08 Roland Mc Grath <roland@hack.frob.com>
29858
bcfe3a54
ST
29859 [BZ #13979]
29860 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29861 checking but the checks are disabled for any reason.
05c2c961 29862
4b30f61a
L
298632012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29866 and ELF64_R_TYPE with ELFW(R_TYPE).
29867
eee2bc67
JM
298682012-05-08 Joseph Myers <joseph@codesourcery.com>
29869
7ea5391a
JM
29870 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29871 (ulimit): Likewise.
29872
eee2bc67
JM
29873 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29874 (settimeofday): Likewise.
29875
abb66a67
MF
298762012-05-08 Mike Frysinger <vapier@gentoo.org>
29877
29878 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29879 a struct th_u2 inside the union, and move tu_block/tu_code into
29880 a new th_u3 union of tu_block/tu_code inside of that. Move
29881 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29882 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29883 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29884 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29885 (th_stuff): Change to th_u1.tu_stuff.
29886 (th_data): Define.
29887 (th_msg): Change to th_u1.th_u2.tu_data.
29888
7f18b530
DM
298892012-05-07 David S. Miller <davem@davemloft.net>
29890
05760585
DM
29891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29892
7f18b530
DM
29893 [BZ #14074]
29894 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29895 (SETUP_PIC_REG): Use it.
29896 (SETUP_PIC_REG_LEAF): Use it.
29897
495fd99f
JM
298982012-05-07 Joseph Myers <joseph@codesourcery.com>
29899
29900 [BZ #13885]
29901 [BZ #13923]
29902 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29903 USE_AS_EXPM1L.
29904 (EXPL_FINITE): Likewise.
29905 (FLDLOG): Likewise.
29906 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29907 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29908 e_expl.S.
29909 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29910 USE_AS_EXPM1L.
29911 (EXPL_FINITE): Likewise.
29912 (FLDLOG): Likewise.
29913 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29914 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29915 e_expl.S.
29916 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29917 test of -max_value argument for long double.
29918 * sysdeps/i386/fpu/libm-test-ulps: Update.
29919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29920
6693d694
DM
299212012-05-06 David S. Miller <davem@davemloft.net>
29922
29923 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29924 quad soft-float symbols whose references which are compiler
29925 generated.
29926 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29927
6c23e11c
JM
299282012-05-06 Joseph Myers <joseph@codesourcery.com>
29929
d8b82cad
JM
29930 [BZ #13884]
29931 [BZ #13914]
29932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29933 USE_AS_EXP10L.
29934 (EXPL_FINITE): Likewise.
29935 (FLDLOG): Likewise.
29936 (c0): Likewise.
29937 (c1): Likewise.
29938 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29939 Adjust comments for base varying.
29940 (__expl_finite): Change alias to EXPL_FINITE.
29941 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29942 e_expl.S.
29943 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29944 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29946 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29947 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29948 USE_AS_EXP10L.
29949 (EXPL_FINITE): Likewise.
29950 (FLDLOG): Likewise.
29951 (c0): Likewise.
29952 (c1): Likewise.
29953 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29954 Adjust comments for base varying.
29955 (__expl_finite): Change alias to EXPL_FINITE.
29956 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29957 tests for bugs.
29958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29959
6c23e11c
JM
29960 [BZ #14064]
29961 * math/libm-test.inc (check_float_internal): Correct ulp
29962 calculation for subnormal expected results.
29963
29ba805c
AJ
299642012-05-06 Andreas Jaeger <aj@suse.de>
29965
29966 * Makeconfig (+math-flags): New, set to -frounding-math.
29967 (+cflags): Add +math-flags so that all of glibc gets compiled with
29968 it.
29969
29970 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29971
7b17aeda
JM
299722012-05-05 Joseph Myers <joseph@codesourcery.com>
29973
5779f134
JM
29974 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29975 Disable one test.
29976
41498f4d
JM
29977 [BZ #13787]
29978 [BZ #13922]
29979 [BZ #14036]
29980 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29981 (__ieee754_expl): Allow for and saturate large arguments.
29982 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29983 (u_threshold): Likewise.
29984 (__exp): Call __ieee754_exp before checking for overflow and
29985 underflow.
29986 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29987 (u_threshold): Likewise.
29988 (__expf): Call __ieee754_expf before checking for overflow and
29989 underflow.
29990 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29991 (u_threshold): Likewise.
29992 (__expl): Call __ieee754_expl before checking for overflow and
29993 underflow.
29994 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29995 (__ieee754_expl): Allow for and saturate large arguments.
29996 * math/libm-test.inc (exp_test): Add another test. Do not allow
29997 missing overflow exception on overflow.
29998 (expm1_test): Do not allow missing overflow exception on overflow.
29999
6698b8bf
JM
30000 * sysdeps/i386/fpu/e_expl.c: Move to ...
30001 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30002 rather than using inline asm.
30003 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30004 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30005 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30006
7b17aeda
JM
30007 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30008 (nice): Likewise.
30009 (poll): Likewise.
30010 (signal): Likewise.
30011 (time): Likewise.
30012 (times): Likewise.
30013
f7c85819
JM
300142012-05-04 Joseph Myers <joseph@codesourcery.com>
30015
30016 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30017 sysdeps/unix/common/syscalls.list.
30018 (fchmod): Likewise.
30019 (fchown): Likewise.
30020 (ftruncate): Likewise.
30021 (getrusage): Likewise.
30022 (gettimeofday): Likewise.
30023 (setpgid): Likewise.
30024 (setregid): Likewise.
30025 (setreuid): Likewise.
30026 (sigaction): Likewise.
30027 (truncate): Likewise.
30028 (vhangup): Likewise.
30029 * sysdeps/unix/common/syscalls.list: Remove file.
30030 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30031 * sysdeps/unix/sysv/linux/Implies: Likewise.
30032
336270d0
L
300332012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30037 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30038 Moved to ...
30039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30040 Here.
30041 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30042 to ...
30043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30044 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30045 to ...
30046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30047 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30048 to ...
30049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30050 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30051 to ...
30052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30053 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30054 to ...
30055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30056 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30057 to ...
30058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30059 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30060 to ...
30061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30062 Here.
30063 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30064 to ...
30065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30066 Here.
30067 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30068 to ...
30069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30070 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30071 Moved to ...
30072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30073 Here.
30074 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30075 to ...
30076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30077
d128e450
JM
300782012-05-04 Joseph Myers <joseph@codesourcery.com>
30079
fa8ee516
JM
30080 * sysdeps/unix/common/bits/dirent.h: Remove file.
30081 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30082
d128e450
JM
30083 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30084 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30085 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30086 * sysdeps/unix/bsd/isatty.c: Likewise.
30087 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30088 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30089 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30090
ff8faaf0 300912012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30092
62881be4 30093 [BZ #13563]
31dc8730
AZ
30094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30095 long double comparison inaccuracies.
30096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30098
6fef930c
AS
300992012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30100
30101 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30103
8f203e6c
JM
301042012-05-04 Joseph Myers <joseph@codesourcery.com>
30105
30106 [BZ #14049]
30107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30108 nonzero digits before rounding a hex value.
30109 * stdlib/tst-strtod.c (tests): Add another test.
30110
5197d9c2
AK
301112012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30112
30113 * sysdeps/s390/fpu/libm-test-ulps: Update.
30114
f0c1dedf
AJ
301152012-05-03 Andreas Jaeger <aj@suse.de>
30116
30117 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30118 does not get optimized out.
30119 (malloc_opt_barrier): New.
30120
a65ef2ae 301212012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30122 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30123
2b942cb7 30124 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30125 intermediate file deletion.
2b942cb7 30126 (generated): Add .symlist files.
a65ef2ae 30127
54b71e02
JM
301282012-05-03 Joseph Myers <joseph@codesourcery.com>
30129
30130 [BZ #13775]
30131 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30132 Redirect under this condition.
30133 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30134 [__USE_GNU] (__dprintf_chk): Not under this condition.
30135 [__USE_GNU] (__vdprintf_chk): Likewise.
30136 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30137 under this condition.
30138 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30139 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30140 [__USE_XOPEN2K8] (vdprintf): Likewise.
30141 [__USE_GNU] (__dprintf_chk): Not under this condition.
30142 [__USE_GNU] (__vdprintf_chk): Likewise.
30143 [__USE_GNU] (dprintf): Likewise.
30144 [__USE_GNU] (vdprintf): Likewise.
30145
d3dfcc41
RM
301462012-05-03 Roland McGrath <roland@hack.frob.com>
30147
30148 * elf/Makefile (common-generated): Set this instead of generated for
30149 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30150 $(all-built-dso)-derived lists.
30151
7ac30cc5
AJ
301522012-05-03 Andreas Jaeger <aj@suse.de>
30153
0c51e550
AJ
30154 * sysdeps/i386/fpu/libm-test-ulps: Update.
30155
7ac30cc5
AJ
30156 * FAQ: Removed.
30157 * FAQ.in: Likewise.
30158 * scripts/gen-FAQ.pl: Likewise.
30159 * manual/install.texi (Installation): Point to online location of
30160 FAQ.
30161 * Makefile (files-for-dist): Remove FAQ.
30162 (FAQ): Remove.
30163
d4c2917f
AM
301642012-05-02 Allan McRae <allan@archlinux.org>
30165
30166 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30167 (LDFLAGS-reldepmod5.so): Likewise.
30168 (LDFLAGS-reldep6mod1.so): Likewise.
30169 (LDFLAGS-reldep6mod4.so): Likewise.
30170 (LDFLAGS-reldep8mod3.so): Likewise.
30171 (LDFLAGS-unload4mod1.so): Likewise.
30172 (LDFLAGS-unload4mod2.so): Likewise.
30173 (LDFLAGS-tst-initorder): Likewise.
30174 (LDFLAGS-tst-initordera2.so): Likewise.
30175 (LDFLAGS-tst-initordera3.so): Likewise.
30176 (LDFLAGS-tst-initordera4.so): Likewise.
30177 (LDFLAGS-tst-initorderb2.so): Likewise.
30178 (LDFLAGS-noload): Likewise.
30179 (LDFLAGS-next): Likewise.
30180 (LDFLAGS-order2mod1.so): Likewise.
30181 (LDFLAGS-order2mod2.so): Likewise.
30182 (LDFLAGS-tst-initorder2): Likewise.
30183 (LDFLAGS-tst-initorder2a.so): Likewise.
30184 (LDFLAGS-tst-initorder2b.so): Likewise.
30185 (LDFLAGS-tst-initorder2c.so): Likewise.
30186 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30187
d77f993f
DM
301882012-05-02 David S. Miller <davem@davemloft.net>
30189
30190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30191
171a70b4
PP
301922012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30193
30194 [BZ #14055]
30195 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30196
0be196ad
AJ
301972012-05-02 Andreas Jaeger <aj@suse.de>
30198
30199 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30200 since we manipulate rounding mode.
30201 (CPPFLAGS-test-idouble.c): Likewise.
30202 (CPPFLAGS-test-ifloat.c): Likewise.
30203 (CFLAGS-test-ldouble.c): Likewise.
30204 (CFLAGS-test-double.c): Likewise.
30205 (CFLAGS-test-float.c): Likewise.
30206 (CFLAGS-test-misc.c): Likewise.
30207 (CFLAGS-test-test-fenv.c): Likewise.
30208
4f9d04aa
AZ
302092012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30210
2b942cb7
RM
30211 [BZ #2550]
30212 [BZ #2570]
30213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30214 comparisons to determine direction to adjust input.
4f9d04aa 30215
82a79e7d
RM
302162012-05-01 Roland McGrath <roland@hack.frob.com>
30217
f5a01ca9
RM
30218 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30219 output to the target.
30220
90fe4186
RM
30221 * scripts/localplt.awk: New file.
30222 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30223 (check-localplt-CFLAGS): Variable removed.
30224 ($(all-built-dso:=.jmprel)): New static pattern rule.
30225 (generated): Add those targets.
30226 (localplt-built-dso): New variable.
30227 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30228
30229 * elf/check-localplt.c: File removed.
30230
82397ed6
RM
30231 * scripts/check-execstack.awk: New file.
30232 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30233 (check-execstack-CFLAGS): Variable removed.
30234 ($(objpfx)check-execstack.h): Target removed.
30235 ($(objpfx)execstack-default): New target.
30236 (generated): Add that instead of check-execstack.h.
30237 ($(all-built-dso:=.phdr)): New static pattern rule.
30238 (generated): Add those targets.
30239 * elf/check-execstack.c: File removed.
30240
82a79e7d
RM
30241 * scripts/check-textrel.awk: New file.
30242 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30243 (check-textrel-CFLAGS): Variable removed.
30244 (all-built-dso): Use := to define.o
30245 ($(all-built-dso:=.dyn)): New static pattern rule.
30246 (generated): Add those targets.
30247 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30248 * config.make.in (READELF): New substituted variable.
30249 * elf/check-textrel.c: File removed.
30250
62fde54f 302512012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30252
615605c9
JM
30253 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30254 allow.
30255 * conform/data/ctype.h-data [C99-based standards] (isblank):
30256 Expect function.
30257 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30258 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30260 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30261 Specify type. Require positive value.
30262 (EILSEQ): Likewise.
30263 (ERANGE): Likewise.
30264 [ISO || POSIX] (EILSEQ): Do not expect.
30265 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30266 Specify type. Require positive value.
30267 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30268 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30269 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30270 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30271 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30272 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30273 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30274 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30275 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30276 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30277 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30278 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30279 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30280 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30281 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30282 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30283 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30284 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30285 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30286 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30287 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30288 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30289 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30290 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30291 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30292 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30293 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30294 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30295 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30296 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30297 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30298 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30299 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30300 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30301 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30302 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30303 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30304 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30305 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30306 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30307 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30308 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30309 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30310 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30311 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30312 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30313 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30314 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30315 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30316 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30317 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30318 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30319 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30320 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30321 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30322 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30323 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30324 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30325 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30326 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30327 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30328 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30329 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30330 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30331 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30332 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30333 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30334 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30335 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30336 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30337 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30338 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30339 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30340 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30341 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30342 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30343 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30344 Require >= 2.
30345 (FLT_ROUNDS): Expect as macro, not constant.
30346 (FLT_MANT_DIG): Use macro-int-constant.
30347 (DBL_MANT_DIG): Likewise.
30348 (LDBL_MANT_DIG): Likewise.
30349 (FLT_DIG): Likewise.
30350 (DBL_DIG): Likewise.
30351 (LDBL_DIG): Likewise.
30352 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30353 (DBL_MIN_EXP): Likewise.
30354 (LDBL_MIN_EXP): Likewise.
30355 (FLT_MAX_EXP): Use macro-int-constant.
30356 (DBL_MAX_EXP): Likewise.
30357 (LDBL_MAX_EXP): Likewise.
30358 (FLT_MAX_10_EXP): Likewise.
30359 (DBL_MAX_10_EXP): Likewise.
30360 (LDBL_MAX_10_EXP): Likewise.
30361 (FLT_MAX): Use macro-constant.
30362 (DBL_MAX): Likewise.
30363 (LDBL_MAX): Likewise.
30364 (FLT_EPSILON): Use macro-constant. Give upper bound.
30365 (DBL_EPSILON): Likewise.
30366 (LDBL_EPSILON): Likewise.
30367 (FLT_MIN): Likewise.
30368 (DBL_MIN): Likewise.
30369 (LDBL_MIN): Likewise.
30370 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30371 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30372 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30373 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30374 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30375 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30376 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30377 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30378 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30379 [ISO11] (FLT_TRUE_MIN): Likewise.
30380 [ISO11] (LDBL_TRUE_MIN): Likewise.
30381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30382 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30383 (SCHAR_MIN): Use macro-int-constant. Specify type.
30384 (SCHAR_MAX): Likewise.
30385 (UCHAR_MAX): Likewise.
30386 (CHAR_MIN): Likewise.
30387 (CHAR_MAX): Likewise.
30388 (MB_LEN_MAX): Use macro-int-constant.
30389 (SHRT_MIN): Use macro-int-constant. Specify type.
30390 (SHRT_MAX): Likewise.
30391 (USHRT_MAX): Likewise.
30392 (INT_MAX): Likewise.
30393 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30394 bound negative.
30395 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30396 bound with "U".
30397 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30398 bound with "L".
30399 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30400 bound negative. Suffix upper bound with "L".
30401 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30402 bound with "UL".
30403 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30404 Specify type.
30405 [C99-based standards] (LLONG_MAX): Likewise.
30406 [C99-based standards] (ULLONG_MAX): Likewise.
30407 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30408 == 0.
30409 [ISO11] (max_align_t): Require type.
30410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30411
c9140a62
JM
30412 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30413 from $CFLAGS, without defining away __attribute__ calls.
30414 (checknamespace): Use $CFLAGS_namespace.
30415
9af0bf29
JM
30416 * conform/conformtest.pl (@keywords): Only include C99 keywords
30417 for standards based on C99 or C11.
30418
343222a2
JM
30419 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30420 Disable tests.
30421 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30422 UNIX98]: Likewise.
30423
661f8cf0
JM
30424 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30425 usability of symbols in #if.
30426
ee74b9cb
JM
30427 * conform/conformtest.pl: If macro or constant types start
30428 "promoted:", expect the symbol to be of the following type
30429 promoted by the integer promotions.
62fde54f 30430
aafc49b3
JM
30431 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30432 in one place. Also handle "macro-constant".
30433
fefdf574
JM
30434 * conform/conformtest.pl: Only accept expected macro values with
30435 "==". Parse all "macro" lines in one place.
30436 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30437
f2d922fe
JM
30438 * conform/conformtest.pl: Handle braced types on "constant" lines
30439 instead of handling "typed-constant".
30440 * conform/data/signal.h-data: Use "constant" instead of
30441 "typed-constant".
30442
d22956c9
JM
30443 * conform/conformtest.pl: Handle "optional-" at start of lines in
30444 one place rather than duplicating several cases. Handle each
30445 format of "macro" line with initial "optional-".
30446
028e2e38
JM
30447 * conform/conformtest.pl: Only accept expected constant or
30448 optional-constant values with "==". Parse all "constant" lines in
30449 one place. Parse all "optional-constant" lines in one place.
30450 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30451 * conform/data/fmtmsg.h-data: Likewise.
30452 * conform/data/netinet/in.h-data: Likewise.
30453 * conform/data/tar.h-data: Likewise.
30454 * conform/data/limits.h-data: Use "==" form on "constant" and
30455 "optional-constant" lines.
30456
1b8f2850
JM
30457 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30458 Use -std=c99 for XOPEN2K.
30459 (@knownproblems): Remove.
30460 (newtoken): Don't check %isknown.
30461
a05a144b
JM
30462 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30463 Do not expect macro.
30464 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30476 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30477 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30494 [XPG3] (acosh): Likewise.
30495 [XPG3] (asinh): Likewise.
30496 [XPG3] (atanh): Likewise.
30497 [XPG3] (cbrt): Likewise.
30498 [XPG3] (expm1): Likewise.
30499 [XPG3] (ilogb): Likewise.
30500 [XPG3] (log1p): Likewise.
30501 [XPG3] (logb): Likewise.
30502 [XPG3] (nextafter): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30505 [XPG3] (remainder): Likewise.
30506 [XPG3] (rint): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30514 [UNIX98 || XOPEN2K] (scalb): Expect.
30515 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30516 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30522 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30523 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30540 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30541 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30542 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30543 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30544 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30545 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30546 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30547 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30560 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30561 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30581 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30582 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30599 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30600 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30652
73c5ebe3
JM
30653 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30654 _XOPEN_SOURCE_EXTENDED for XPG4.
30655
39c33b6c
JM
30656 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30657
62fde54f
JM
30658 * Makeconfig (localtime): Remove variable.
30659 (inst_localtime-file): Likewise.
30660
0741d64c
AS
306612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30662
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30664 Update.
30665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30666 Update.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30668 Update.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30670 Update.
30671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30672 Update.
30673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30674 Update.
30675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30676 Update.
30677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30678 Update.
30679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30680 Update.
30681
7cb029ee
JM
306822012-05-01 Joseph Myers <joseph@codesourcery.com>
30683
30684 [BZ #2550]
30685 [BZ #2570]
30686 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30687 comparisons to determine direction to adjust input.
30688 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30689 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30690 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30691 Likewise.
30692 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30693 Likewise.
30694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30695 Likewise.
30696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30698 Likewise.
30699 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30700 Likewise.
30701 * math/libm-test.inc (nexttoward_test): Add more tests.
30702
412bd966
AS
307032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30704
30705 [BZ #14040]
30706 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30707 in version GLIBC_2.1, not GLIBC_2.0.
30708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30709 Likewise.
30710
9568c0c2
JM
307112012-04-30 Joseph Myers <joseph@codesourcery.com>
30712
adfbc8ac
JM
30713 [BZ #13942]
30714 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30715 (1 - x) * (1 + x).
30716 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30717 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30718 * math/libm-test.inc (acos_test): Add more tests.
30719 (asin_test): Likewise.
30720 * sysdeps/i386/fpu/libm-test-ulps: Update.
30721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30722
5ba3cc69
JM
30723 [BZ #14034]
30724 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30725 of square root.
30726 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30727 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30728 * math/libm-test.inc (acos_test_tonearest): New function.
30729 (acos_test_towardzero): Likewise.
30730 (acos_test_downward): Likewise.
30731 (acos_test_upward): Likewise.
30732 (asin_test_tonearest): Likewise.
30733 (asin_test_towardzero): Likewise.
30734 (asin_test_downward): Likewise.
30735 (asin_test_upward): Likewise.
30736 (main): Call the new functions.
30737 * sysdeps/i386/fpu/libm-test-ulps: Update.
30738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30739
9568c0c2
JM
30740 [BZ #13884]
30741 [BZ #13924]
30742 * math/e_exp10.c: Include <float.h>.
30743 (__ieee754_exp10): Handle underflow here rather than multiplying
30744 large negative argument by M_LN10.
30745 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30746 of __ieee754_expf.
30747 * math/e_exp10l.c: Include <float.h>.
30748 (__ieee754_exp10l): Handle underflow here rather than multiplying
30749 large negative argument by M_LN10l.
30750 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30751 spurious overflow exception on underflow.
30752
5ac3ea17
MP
307532012-04-29 Marek Polacek <polacek@redhat.com>
30754
30755 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30756 (__fortify_function): New macro.
30757 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30758 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30759 __extern_always_inline.
30760 * libio/bits/stdio2.h: Likewise.
30761 * libio/bits/stdio.h: Likewise.
30762 * string/string.h: Likewise.
30763 * string/bits/string3.h: Likewise.
30764 * include/stdio.h: Likewise.
30765 * stdlib/bits/stdlib.h: Likewise.
30766 * stdlib/stdlib.h: Likewise.
30767 * rt/bits/mqueue2.h: Likewise.
30768 * rt/mqueue.h: Likewise.
30769 * posix/bits/unistd.h: Likewise.
30770 * posix/unistd.h: Likewise.
30771 * io/bits/poll2.h: Likewise.
30772 * io/bits/fcntl2.h: Likewise.
30773 * io/fcntl.h: Likewise.
30774 * io/sys/poll.h: Likewise.
30775 * misc/bits/syslog.h: Likewise.
30776 * misc/bits/syslog-ldbl.h: Likewise.
30777 * misc/sys/syslog.h: Likewise.
30778 * socket/bits/socket2.h: Likewise.
30779 * socket/sys/socket.h: Likewise.
30780 * debug/tst-chk1.c: Likewise.
30781 * wcsmbs/bits/wchar2.h: Likewise.
30782 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30783 * wcsmbs/wchar.h: Likewise.
30784
ecf0ebfb
AJ
307852012-04-29 Andreas Jaeger <aj@suse.de>
30786
30787 * Makerules (tests): Remove enable-check-abi protection.
30788 (check-abi-warn): Remove.
30789 (check-abi-%): Remove check-abi-warn usage.
30790
30791 * configure.in: Remove check-abi configure option.
30792 * configure: Regenerated.
30793 * config.make.in (enable-check-abi): Remove.
30794
6d5c57fa
AS
307952012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30796
24c5d07e 30797 [BZ #14033]
ded5180a
AS
30798 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30799 double functions to double *_finite functions.
30800
7e0d315d
AS
30801 [BZ #13941]
30802 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30803 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30804 LDBL_MIN_EXP.
30805 * stdio-common/Makefile (tests): Add tst-sprintf3.
30806 * stdio-common/tst-sprintf3.c: New file.
30807
6d5c57fa
AS
30808 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30809 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30810
0749ff8b
JM
308112012-04-28 Joseph Myers <joseph@codesourcery.com>
30812
30813 * conform/conformtest.pl: Remove duplicate typed-constant
30814 handling.
30815
8dbd5d7b
DM
308162012-04-28 David S. Miller <davem@davemloft.net>
30817
30818 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30819 (check-abi-%): Remove AWK script prerequisite and explicit
30820 abilist directory.
30821 (check-abi): Rewrite to just diff the symlist with the abilist.
30822 (config-tls, config-abi-config): Delete, no longer used.
30823 (update-abi-%): Remove AWK script and explicit abilist directory.
30824 (update-abi): Rewrite to simply compare and conditionally copy the
30825 symlist and the sysdep abilist file. Remove update-abi-config
30826 checks.
30827 * abilist/ld.abilist: Remove.
30828 * abilist/libBrokenLocale.abilist: Remove.
30829 * abilist/libanl.abilist: Remove.
30830 * abilist/libcrypt.abilist: Remove.
30831 * abilist/libdl.abilist: Remove.
30832 * abilist/librt.abilist: Remove.
30833 * abilist/libthread_db.abilist: Remove.
30834 * abilist/libutil.abilist: Remove.
30835 * scripts/extract-abilist.awk: Remove.
30836 * scripts/merge-abilist.awk: Remove.
30837 * sysdeps/generic/libcidn.abilist: New file.
30838 * sysdeps/generic/libnss_compat.abilist: New file.
30839 * sysdeps/generic/libnss_db.abilist: New file.
30840 * sysdeps/generic/libnss_dns.abilist: New file.
30841 * sysdeps/generic/libnss_files.abilist: New file.
30842 * sysdeps/generic/libnss_hesiod.abilist: New file.
30843 * sysdeps/generic/libnss_nis.abilist: New file.
30844 * sysdeps/generic/libnss_nisplus.abilist: New file.
30845 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30846 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30847 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30848 file.
30849 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30850 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30851 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30852 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30853 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30854 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30855 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30856 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30857 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30858 file.
30859 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30860 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30861 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30862 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30863 file.
30864 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30865 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30866 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30867 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30868 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30869 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30870 file.
30871 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30872 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30873 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30874 file.
30875 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30877 New file.
30878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30879 New file.
30880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30881 New file.
30882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30883 New file.
30884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30885 New file.
30886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30887 New file.
30888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30889 New file.
30890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30891 New file.
30892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30893 New file.
30894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30895 New file.
30896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30897 New file.
30898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30899 New file.
30900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30901 New file.
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30903 file.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30905 New file.
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30907 New file.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30909 file.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30911 New file.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30913 New file.
30914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30915 file.
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30917 New file.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30919 New file.
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30921 New file.
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30923 New file.
30924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30925 New file.
30926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30927 New file.
30928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30930 file.
30931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30932 New file.
30933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30934 file.
30935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30936 file.
30937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30938 file.
30939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30940 file.
30941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30942 file.
30943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30944 New file.
30945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30946 file.
30947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30948 file.
30949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30950 New file.
30951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30952 file.
30953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30955 file.
30956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30957 New file.
30958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30959 file.
30960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30961 file.
30962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30963 file.
30964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30965 file.
30966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30967 file.
30968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30969 New file.
30970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30971 file.
30972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30973 file.
30974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30975 New file.
30976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30977 file.
30978 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30979 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30980 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30981 file.
30982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30983 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30984 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30985 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30986 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30987 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30988 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30990 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30991 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30994 file.
30995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30996 New file.
30997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30998 file.
30999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31000 file.
31001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31002 file.
31003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31004 file.
31005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31006 file.
31007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31008 New file.
31009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31010 New file.
31011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31012 file.
31013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31014 New file.
31015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31016 file.
31017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31019 file.
31020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31021 New file.
31022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31023 file.
31024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31025 file.
31026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31027 file.
31028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31029 file.
31030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31031 file.
31032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31033 New file.
31034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31035 New file.
31036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31037 file.
31038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31039 New file.
31040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31041 file.
31042
41d73a1b
JM
310432012-04-28 Joseph Myers <joseph@codesourcery.com>
31044
31045 * conform/conformtest.pl: Fix typo in handling typed-constant from
31046 allow-header.
31047
28aeeda4
JM
310482012-04-27 Joseph Myers <joseph@codesourcery.com>
31049
adae8f5e
JM
31050 * README: Cut down references to pre-2.6 Linux kernels and
31051 Linuxthreads. Update lists of configurations in libc and ports
31052 and sort alphabetically. Say "or newer" with Linux kernel version
31053 requirements.
31054
28aeeda4
JM
31055 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31056
a462cb63
RA
310572012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31058
31059 [BZ #887]
31060 * math/libm-test.inc (logb_test_downward): New test to expose
31061 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31062 rounding mode.
31063
6ad3493e
JM
310642012-04-27 Joseph Myers <joseph@codesourcery.com>
31065
31066 [BZ #14027]
31067 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31068 to be done.
31069 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31070 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31071
2ce4f015
JM
310722012-04-26 Joseph Myers <joseph@codesourcery.com>
31073
5aeb141a
JM
31074 * sysdeps/unix/i386/brk.S: Remove file.
31075 * sysdeps/unix/i386/dl-brk.S: Likewise.
31076 * sysdeps/unix/i386/pipe.S: Likewise.
31077 * sysdeps/unix/i386/sigreturn.S: Likewise.
31078 * sysdeps/unix/i386/syscall.S: Likewise.
31079 * sysdeps/unix/i386/vfork.S: Likewise.
31080 * sysdeps/unix/i386/wait.S: Likewise.
31081
7143acae
JM
31082 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31083 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31084
2ce4f015
JM
31085 * configure.in (arm*-none*): Do not allow without
31086 --enable-hacker-mode.
31087 (netbsd*): Remove case setting base_os.
31088 (386bsd*): Likewise.
31089 (freebsd*): Likewise.
31090 (bsdi*): Likewise.
31091 (osf*): Likewise.
31092 (sunos*): Likewise.
31093 (ultrix*): Likewise.
31094 (newsos*): Likewise.
31095 (dynix*): Likewise.
31096 (*bsd*): Likewise.
31097 (sysv*): Likewise.
31098 (isc*): Likewise.
31099 (esix*): Likewise.
31100 (sco*): Likewise.
31101 (minix*): Likewise.
31102 (irix4*): Likewise.
31103 (irix6*): Likewise.
31104 (solaris[2-9]*): Likewise.
31105 (none): Likewise.
31106 * configure: Regenerated.
31107
0ac229c8
AZ
311082012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31109
31110 [BZ #11521]
31111 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31112 overflow or cancellation in calculating denominator.
31113 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31115 down expression to avoid unexpected rounding in newer GCCs.
31116 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31117
33f244f4
DM
311182012-04-26 David S. Miller <davem@davemloft.net>
31119
31120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31121 long-double compat symbols.
31122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31135
cfa1f3e8
DM
311362012-04-25 David S. Miller <davem@davemloft.net>
31137
31138 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31139 HWCAP_* values only after the memory barriers have been defined.
31140 (atomic_full_barrier): Define.
31141 (atomic_read_barrier): Define.
31142 (atomic_write_barrier): Define.
31143
6e236b92
SP
311442012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31145
31146 * shlib-versions: Add libgcc_s version information.
31147 * sysdeps/generic/libgcc_s.h: Remove.
31148 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31149 libgcc_s.h.
31150 * sysdeps/gnu/unwind-resume.c: Likewise.
31151 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31152
aab39a09
DM
311532012-04-25 David S. Miller <davem@davemloft.net>
31154
31155 * sysdeps/unix/sparc/brk.S: Delete.
31156 * sysdeps/unix/sparc/dl-brk.S: Delete.
31157 * sysdeps/unix/sparc/pipe.S: Delete.
31158 * sysdeps/unix/sparc/sysdep.S: Delete.
31159 * sysdeps/unix/sparc/sysdep.h: Delete.
31160 * sysdeps/unix/sparc/vfork.S: Delete.
31161 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31162 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31164 ret_ERRVAL, r0, r1, MOVE): Define.
31165 (JUMPTARGET): Remove.
31166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31167 sysdeps/unix/sparc/sysdep.h
31168 (ENTRY, END): Remove.
31169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31170
a3cc4f48
JM
311712012-04-25 Joseph Myers <joseph@codesourcery.com>
31172
2ed8cda2
JM
31173 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31174 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31175 -DIS_IN_build.
31176
35d76d59
JM
31177 * timezone/README: Update upstream location and email address for
31178 tzcode and tzdata.
31179 * timezone/zdump.c: Update from tzcode 2012b.
31180 * timezone/zic.c: Likewise.
31181
a3cc4f48
JM
31182 * configure.in (libc_cv_as_needed): Remove test.
31183 * configure: Regenerated.
31184 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31185 conditional definition.
31186 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31187 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31188 * config.make.in (have-as-needed): Remove variable.
31189
ceab42c3
SP
311902012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31191 Paul Pluzhnikov <ppluzhnikov@google.com>
31192
31193 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31194 strings correctly.
31195
3ce2865f
CLT
311962012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31197
31198 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31199 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31200 * sysdeps/sh/strlen.S: Likewise.
31201
f37e0d68
JM
312022012-04-24 Joseph Myers <joseph@codesourcery.com>
31203
ae186e9a
JM
31204 * sysdeps/unix/fork.S: Remove file.
31205 * sysdeps/unix/i386/fork.S: Likewise.
31206 * sysdeps/unix/sparc/fork.S: Likewise.
31207
b96914af
JM
31208 * sysdeps/unix/system.c: Remove file.
31209 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31210
f37e0d68
JM
31211 * sysdeps/unix/getegid.S: Remove file.
31212 * sysdeps/unix/geteuid.S: Likewise.
31213
87ef29ca
RM
312142012-04-24 Roland McGrath <roland@hack.frob.com>
31215
83bcd236
RM
31216 * scripts/check-localplt.awk: New file.
31217 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31218 of diff.
31219 * scripts/data/localplt-generic.data: Add a comment.
31220
87ef29ca
RM
31221 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31222 NODE when __dir_mkfile failed.
31223 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31224 Reported by Ludovic Courtès <ludo@gnu.org>.
31225
e5a6e567
AJ
312262012-04-24 Andreas Jaeger <aj@suse.de>
31227
31228 * Makerules (common-clean): Also remove gen-as-const-headers
31229 files.
31230
c1820385
JM
312312012-04-24 Joseph Myers <joseph@codesourcery.com>
31232
31233 * Makerules (native-compile): Do not change working directory for
31234 build. Use $(OUTPUT_OPTION) in command.
31235 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31236
94e02fc4
AZ
312372012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31238
31239 [BZ #13886]
31240 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31241 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31242 * math/libm-test.inc (floor_test): Add more tests.
31243 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31244
3a533ca3
JM
312452012-04-24 Joseph Myers <joseph@codesourcery.com>
31246
940ab4b3
JM
31247 * sysdeps/unix/getdents.c: Remove file.
31248 * sysdeps/unix/sysv/getdents.c: Likewise.
31249 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31250
90e037bd
JM
31251 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31252 sysdeps/unix/mman/syscalls.list.
31253 (mmap): Likewise.
31254 (mprotect): Likewise.
31255 (msync): Likewise.
31256 (munmap): Likewise.
31257 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31258 * sysdeps/unix/mman/syscalls.list: Remove.
31259 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31260
3a533ca3
JM
31261 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31262 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31263 * configure: Regenerated.
31264 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31265 $(libgcc_s_suffix).
31266 * config.make.in (libgcc_s_suffix): Remove variable.
31267
1ad743de
JM
312682012-04-23 Joseph Myers <joseph@codesourcery.com>
31269
4ad451e2
JM
31270 * sysdeps/unix/sysv/gethostname.c: Move to ...
31271 * sysdeps/posix/gethostname.c: ... here.
31272
5e37ce39
JM
31273 * sysdeps/unix/execve.S: Remove file.
31274
1ad743de
JM
31275 * sysdeps/unix/_exit.S: Remove file.
31276
4e681b5b
AJ
312772012-04-23 Andreas Jaeger <aj@suse.de>
31278
31279 [BZ #13739]
31280 * manual/Makefile: Remove make dist support, there's no
31281 need for a stand-alone documentation tar ball.
31282 (TEXI2DVI): Define always, it's not in Makeconfig.
31283 (dist): Removed.
31284 (tar-it): Removed.
31285 (edition): Removed.
31286 (glibc-doc-$(edition).tar): Removed
31287 (%.Z): Removed.
31288 (%.gz): Removed.
31289 (%.uu): Removed.
31290 (ETAGS): Remove, it's in Makeconfig.
31291 (move-if-change): Remove, it's in Makeconfig.
31292
38686a03 312932012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31294
31295 [BZ #13970]
31296 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31297 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31298 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31299 (strtod_l, strtof_l, strtold_l): Remove __wur.
31300 It is not necessarily an error to ignore strtol's return value.
31301 One can reliably look at the stored endptr to decide whether
31302 the number had valid syntax.
31303
7c0616fa
AJ
313042012-04-21 Andreas Jaeger <aj@suse.de>
31305
803cb6b7 31306 [BZ #13739]
7c0616fa
AJ
31307 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31308
b0fe253f
JM
313092012-04-21 Joseph Myers <joseph@codesourcery.com>
31310
31311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31312 * sysdeps/unix/sysv/Versions: Remove file.
31313
8280f22d
MT
313142012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31315
31316 [BZ #13927]
31317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31318
75ce411f 313192012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31320
31321 [BZ #7064]
31322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31323 version from __vm86.
31324
097d59fa
JM
313252012-04-20 Joseph Myers <joseph@codesourcery.com>
31326
a90f3bcb
JM
31327 * sysdeps/unix/common/lxstat.c: Remove file.
31328 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31329
edc7ea78
JM
31330 * sysdeps/unix/sysv/Makefile: Remove file.
31331
cb78c221
JM
31332 * sysdeps/unix/sysv/direct.h: Remove file.
31333
efa6a45f
JM
31334 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31335 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31336 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31337 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31338 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31339 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31340 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31341
9c9f2d0c
JM
31342 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31343
4541c83b
JM
31344 * sysdeps/unix/xmknod.c: Remove file.
31345 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31346
f5d153a0
JM
31347 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31348
aa746595
JM
31349 * sysdeps/unix/sysv/i386/time.S: Remove file.
31350
cce5905e
JM
31351 * sysdeps/unix/fxstat.c: Remove file.
31352 * sysdeps/unix/xstat.c: Likewise.
31353 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31354
37fa3841
JM
31355 * sysdeps/unix/sysv/sigaction.c: Remove file.
31356
ff1962a3
JM
31357 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31358 (sysdep_headers): Remove variable.
31359 [termio.h not in sysdep_headers] (generated): Likewise.
31360 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31361 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31362 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31363 * sysdeps/unix/sysv/tcflow.c: Likewise.
31364 * sysdeps/unix/sysv/tcflush.c: Likewise.
31365 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31366 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31367 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31368 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31369 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31370
e7740d31
JM
31371 * sysdeps/unix/siglist.c: Remove file.
31372
ee06f18b
JM
31373 * sysdeps/unix/getppid.S: Remove file.
31374
097d59fa
JM
31375 * sysdeps/unix/mkdir.c: Remove file.
31376 * sysdeps/unix/rmdir.c: Likewise.
31377
ff3d51ec
AS
313782012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31379
31380 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31381 ERR_MAX value.
31382 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31383 errlist-compat value.
31384
50f81fd7
DM
313852012-04-18 David S. Miller <davem@davemloft.net>
31386
31387 * sysdeps/generic/memcopy.h (reg_char): Delete.
31388 * debug/strcat_chk.c: Use char, not reg_char.
31389 * debug/strcpy_chk.c: Likewise.
31390 * debug/strncat_chk.c: Likewise.
31391 * debug/strncpy_chk.c: Likewise.
31392 * string/memchr.c: Likewise.
31393 * string/memrchr.c: Likewise.
31394 * string/rawmemchr.c: Likewise.
31395 * string/strcat.c: Likewise.
31396 * string/strchr.c: Likewise.
31397 * string/strchrnul.c: Likewise.
31398 * string/strcmp.c: Likewise.
31399 * string/strcpy.c: Likewise.
31400 * string/strncat.c: Likewise.
31401 * string/strncmp.c: Likewise.
31402 * string/strncpy.c: Likewise.
31403
8ff41c46
WS
314042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31405
31406 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31407 __builtin_memcopy is called when src and dest ranges are known to not
31408 overlap.
31409
6b652f46
WS
314102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31411
31412 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31413 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31414 fwd_align_merge macro call.
31415 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31416 bwd_align_merge macro call.
31417 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31418
b282631e
WS
314192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31420
31421 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31422 bwd_align_merge macros.
31423 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31424 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31426
95aa737c
DM
314272012-04-18 David S. Miller <davem@davemloft.net>
31428
31429 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31430
7a99a614
AJ
314312012-04-18 Andreas Jaeger <aj@suse.de>
31432
31433 [BZ# 6794]
31434 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31435 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31436 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31437
31438 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31439 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31440 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31441
31442 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31443 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31444 Adjust for changed ldbl-128 files.
31445
31446 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31447 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31449
e5270c23
DM
314502012-04-17 David S. Miller <davem@davemloft.net>
31451
31452 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31453
fb5e92c9
AS
314542012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31455
31456 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31457 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31458 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31459 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31460 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31461 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31462
76da7265
AZ
314632012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31464
31465 [BZ #6794]
31466 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31467 * math/libm-test.inc: Add ilogb errno and exception tests.
31468 * math/w_ilogb.c: New file: ilogb wrapper.
31469 * math/w_ilogbf.c: New file: ilogbf wrapper.
31470 * math/w_ilogbl.c: New file: ilogbl wrapper.
31471 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31472 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31473 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31474 exception being thrown with 0.0 as argument.
31475 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31476 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31477 exception being thrown with 0.0 as argument.
31478 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31479 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31480 exception being thrown with 0.0 as argument.
31481 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31482 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31483 exception being thrown with 0.0 as argument.
31484 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31485 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31486 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31487 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31489 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31490 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31491 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31492 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31493
0396e69d
PB
314942012-04-17 Petr Baudis <pasky@ucw.cz>
31495
31496 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31497 with altivec.
31498
750b5926
MP
314992012-04-16 Marek Polacek <polacek@redhat.com>
31500
31501 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31502
751728a1
MP
315032012-04-16 Marek Polacek <polacek@redhat.com>
31504
31505 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31506 operands of fdivp instruction.
31507
34a27407
L
315082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31509
31510 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31511 * elf/tst-auditmod3b.c: Likewise.
31512 * elf/tst-auditmod4b.c: Likewise.
31513 * elf/tst-auditmod5b.c: Likewise.
31514 * elf/tst-auditmod6b.c: Likewise.
31515 * elf/tst-auditmod6c.c: Likewise.
31516 * elf/tst-auditmod7b.c: Likewise.
31517 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31518 * sysdeps/x86_64/preconfigure.in: Likewise.
31519 * sysdeps/x86_64/preconfigure: Regenerated.
31520
7e73e17d
L
315212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31522
31523 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31524 __ILP32__.
31525
c7a6ab72
AB
315262012-04-13 Antoine Balestrat <merkil33@gmail.com>
31527
31528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31529 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31530
a9e8e0e0
CL
315312012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31532
31533 [BZ #13973]
31534 * locale/iso-639.def: Fix gl language name. Spotted by
31535 Yaron Shahrabani.
31536
ec98af7d
RM
315372012-04-12 Roland McGrath <roland@hack.frob.com>
31538
31539 [BZ #2074]
31540 * libio/libio.h (__io_write_fn): Update comment.
31541
247c3ede
PB
315422012-04-12 Petr Baudis <pasky@ucw.cz>
31543
31544 [BZ #2074]
31545 * stdio.texi (Hook Functions): The user provided writer function
31546 is not allowed to return -1.
31547
55939d6d
DM
315482012-04-11 David S. Miller <davem@davemloft.net>
31549
31550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31551
90020f5a
MF
315522012-04-11 Mike Frysinger <vapier@gentoo.org>
31553
31554 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31555 Add a leading slash to rtkaio.
31556
288f9098
JM
315572012-04-11 Jim Meyering <meyering@redhat.com>
31558
90020f5a
MF
31559 [BZ #11959]
31560 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31561 It is not necessarily an error to ignore fwrite's return
31562 value. One can reliably use ferror to test for errors after
31563 the fact.
288f9098 31564
4be2b570
L
315652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31566
31567 * bits/types.h (__snseconds_t): New type.
31568 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31569
31570 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31572 (__SNSECONDS_T_TYPE): Likewise.
31573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31574 (__SNSECONDS_T_TYPE): Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31576 (__SNSECONDS_T_TYPE): Likewise.
31577
288f9098 315782012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31579
31580 [BZ #2636]
31581 * manual/time.texi (Processor Time): Return type of times is
31582 elapsed real time since an arbitrary point in the past.
31583 (CPU Time): Move CLK_TCK from here...
31584 (Processor Time): ...to here. Correct description.
31585 * manual/conf.texi (Constants for Sysconf): Correct description of
31586 _SC_CLK_TCK.
31587
d7dd4413
DM
315882012-04-10 David S. Miller <davem@davemloft.net>
31589
31590 [BZ #13967]
31591 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31592 where the is a gap between DT_REL(A) and DT_JMPREL.
31593
b46068fc
L
315942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31595
31596 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31597 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31598 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31599
73d65cc3
SP
316002012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31601
31602 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31603 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31604 (dl_main): Handle --inhibit-cache.
31605 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31606 _dl_inhibit_cache.
31607 * elf/dl-load.c (_dl_map_object): Use it.
31608 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31609
bcc8d661
JM
316102012-04-09 Joseph Myers <joseph@codesourcery.com>
31611
8f9a2fae
JM
31612 [BZ #13872]
31613 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31614 (__ieee754_powl): Saturate large exponents rather than testing for
31615 overflow of y*log2(x).
31616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31617 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31618 exceptions.
31619
bcc8d661
JM
31620 [BZ #11521]
31621 * math/s_ctan.c: Include <float.h>.
31622 (__ctan): Avoid internal overflow or cancellation in calculating
31623 denominator.
31624 * math/s_ctanf.c: Likewise.
31625 * math/s_ctanl.c: Likewise.
31626 * math/s_ctanh.c: Likewise.
31627 * math/s_ctanhf.c: Likewise.
31628 * math/s_ctanhl.c: Likewise.
31629 * math/libm-test.inc (ctan_test): Add more tests.
31630 (ctanh_test): Likewise.
31631 * sysdeps/i386/fpu/libm-test-ulps: Update.
31632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31633
823fbbb4
AJ
316342012-04-09 Andreas Jaeger <aj@suse.de>
31635
03879793
AJ
31636 [BZ #6894]
31637 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31638 is an optional BSD extension.
31639
823fbbb4
AJ
31640 [BZ #10254]
31641 * manual/stdio.texi (Opening Streams): Document additional fopen
31642 parameters.
31643
8de131cb
RM
316442012-04-09 Roland McGrath <roland@hack.frob.com>
31645
31646 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31647 %eax without telling the compiler.
31648
c0ed9d7d
CD
316492012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31650
31651 [BZ # 13963]
31652 * manual/install.texi: Use sourceware.org.
31653
c483f6b4
JM
316542012-04-09 Joseph Myers <joseph@codesourcery.com>
31655
d7dd9453
JM
31656 [BZ #13873]
31657 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31658 (__ieee754_pow): Generate overflow and underflow using huge*huge
31659 and tiny*tiny rather than just returning constant infinity or zero
31660 for large exponents.
31661 * math/libm-test.inc (pow_test): Require overflow exceptions for
31662 applicable cases of large exponents.
31663
c483f6b4
JM
31664 [BZ #706]
31665 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31666 (__ieee754_pow): Use iterative multiplication algorithm only for
31667 integer exponents with absolute value below 1024. Check for odd
31668 integer exponents when using algorithm for real exponents.
31669 * math/libm-test.inc (pow_test): Add more tests.
31670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31671
d2de7579
JM
316722012-04-08 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #13705]
31675 * math/libm-test.inc (exp_test): Do not allow overflow exception
31676 on underflow test.
31677
f77f1232
AJ
316782012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31679
31680 [BZ #13705]
31681 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31682 instead of __kernel_standard_f.
31683
3884932b
MF
316842012-04-08 Mike Frysinger <vapier@gentoo.org>
31685
31686 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31687 * sysdeps/x86_64/memset_chk.S: Likewise.
31688
54472e9c
AJ
316892012-04-08 Andreas Jaeger <aj@suse.de>
31690
6ab0fbfc
AJ
31691 [BZ #10153]
31692 * manual/startup.texi (Environment Access): Describe return value
31693 for putenv and setenv.
31694
61efba8c
AJ
31695 [BZ #6895]
31696 * manual/filesys.texi (Directory Entries): Add description for
31697 DT_LNK.
31698
95c3f29a
AJ
31699 [BZ #6890]
31700 * manual/filesys.texi (Directory Entries): Clarify that it's file
31701 system not operating system in the description of DT_UNKNOWN.
31702
54472e9c
AJ
31703 [BZ #6578]
31704 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31705
624254b1
SC
317062012-04-08 Stephen Compall <s11@member.fsf.org>
31707
31708 [BZ #6649]
31709 * manual/llio.texi (Opening and Closing Files): Add cross
31710 reference to explain mode argument.
31711
1e4920e0
MF
317122012-04-07 Mike Frysinger <vapier@gentoo.org>
31713
31714 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31715 * sysdeps/x86_64/memset_chk.S: Likewise.
31716
5ed848f3
DM
317172012-04-07 David S. Miller <davem@davemloft.net>
31718
31719 * elf/elf.h (R_SPARC_WDISP10): Define.
31720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31721 R_SPARC_SIZE32.
31722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31723 R_SPARC_SIZE64 and R_SPARC_H34.
31724
96154cd8
CD
317252012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31726
31727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31728 conditions and remove no longer applicable assertion.
31729
9904dc47
L
317302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * bits/byteswap.h: Include <features.h>.
31733 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31734 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31735
f8887d0a
L
317362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * bits/byteswap.h (__bswap_16): Removed.
31739 Include <bits/byteswap-16.h> to get __bswap_16.
31740 * sysdeps/i386/bits/byteswap.h: Likewise.
31741 * sysdeps/s390/bits/byteswap.h: Likewise.
31742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31743 * bits/byteswap-16.h: New file.
31744 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31745 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31746 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31747 * string/Makefile (headers): Add bits/byteswap-16.h.
31748
62470f60
PP
317492012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31750
31751 [BZ #13895]
31752 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31753 extra indirection.
31754 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31755 * nss/tst-nss-static.c: New.
31756
4dad7bab
RM
317572012-04-06 Robert Millan <rmh@gnu.org>
31758
31759 [BZ #6486]
31760 * manual/llio.texi (File Position Primitive): lseek
31761 refers to WHENCE when it really means OFFSET.
31762
e9142a17
AJ
317632012-04-06 Andreas Jaeger <aj@suse.de>
31764
2c040eff
AJ
31765 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31766 strncmp declarations.
31767
e9142a17
AJ
31768 * abilist/libc.abilist: Add __poll and __ppoll.
31769
ff9f1c5f
DM
317702012-04-05 David S. Miller <davem@davemloft.net>
31771
dcd2ae90
DM
31772 * scripts/check-local-headers.sh: Accept a host triplet in the
31773 path matched by the exclude regexp.
31774
993eb054
DM
31775 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31776 definition.
31777 * sysdeps/powerpc/powerpc32/dl-machine.h
31778 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31779 * sysdeps/s390/s390-32/dl-machine.h
31780 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31781 * sysdeps/sparc/sparc32/dl-machine.h
31782 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31783 * sysdeps/sparc/sparc64/dl-machine.h
31784 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31785
ff9f1c5f
DM
31786 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31787 lazy binding.
48e2e132 31788 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31789 undefined symbol errors.
31790
48e2e132 31791 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31792 DT_NEEDED entries.
31793
e80d6f94
MM
317942012-04-05 Michael Matz <matz@suse.de>
31795
31796 [BZ #13592]
31797 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31798
349fa79f
AJ
317992012-04-05 Andreas Jaeger <aj@suse.de>
31800
31801 [BZ #13908]
31802 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31803 comment.
31804
f402708f
KK
318052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31806
31807 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31808 which ROUND is no valid rounding mode.
31809
2ecccfc9
KK
318102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31811
31812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31813 read again.
31814 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31815
8a53f50f
KK
318162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31817
31818 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31819 an exception using FPU order intentionally.
31820
318212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31822
31823 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31824 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31825 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31826 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31827
d653abb7
SJ
318282012-04-05 Simon Josefsson <simon@josefsson.org>
31829
31830 [BZ #12340]
31831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31832 EINVAL when BUFLEN is too smal.
31833
c3b1bf7d
TS
318342012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31835
31836 [BZ #13553]
31837 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31838 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31839
b1aa60f3
AJ
318402012-04-03 Andreas Jaeger <aj@suse.de>
31841
c3b1bf7d 31842 [BZ #13938]
67f60a26
AJ
31843 * manual/setjmp.texi (System V contexts): Fix sentence.
31844
b1aa60f3
AJ
31845 [BZ #13926]
31846 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31847 New macro for this case.
31848 [!__GNUC__] (__bswap_64): New inline function for this case.
31849 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31850 * bits/byteswap.h: Likewise.
31851 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31852 ull, guard with __GLIBC_HAVE_LONG_LONG.
31853
31854 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31855 __GLIBC_HAVE_LONG_LONG.
31856
31857 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31858 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31859
39c59c35
TMQMF
318602012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31861
31862 [BZ #13691]
31863 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31864 inptr and inend, rather than using last_ch.
31865
135ffda8
DM
318662012-04-02 David S. Miller <davem@davemloft.net>
31867
31868 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31869 * stdio-common/printf-parse.h (read_int): Change return type to
31870 'int', return -1 on INT_MAX overflow.
31871 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31872 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31873 overflows INT_MAX. Check for overflow of in-format-string precision
31874 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31875 SIZE_MAX not INT_MAX for integer overflow test.
31876 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31877 skip the construct in the format string but do not record anything.
31878 * stdio-common/bug22.c: Adjust to test both width/prevision
31879 INT_MAX overflow as well as total length INT_MAX overflow. Check
31880 explicitly for proper errno values.
31881
228c019e
TS
318822012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31883
302cadd3
TS
31884 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31885 CHAR_MAX.
31886 * string/test-strcmp.c [! WIDE]: Likewise.
31887 * time/tst-mktime2.c: Likewise for INT_MAX.
31888 * string/test-string.h: #include <sys/param.h> for MIN.
31889
228c019e
TS
31890 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31891 * sysdeps/i386/init-first.c (init): Likewise.
31892 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31893 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31894 * sysdeps/sh/init-first.c (init): Likewise.
31895
cfa633f5
UD
318962012-04-01 Ulrich Drepper <drepper@gmail.com>
31897
31898 * po/ru.po: Update from translation team.
d1635ef8 31899 * po/vi.po: Likewise.
cfa633f5 31900
6cd0a5ea
SP
319012012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31902
31903 * resolv/nss_dns/dns-host.c: Merge copyright years.
31904
4b43400f
LD
319052012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31906
31907 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31908 Optimize memcpy with prefetch if
31909 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31910 src, dst pointers have unequal 16 byte alignments.
31911
48c41d04
SP
319122012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31913
31914 [BZ #13928]
31915 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31916 from a CNAME entry and return the minimum ttl for the query.
31917 (gaih_getanswer_slice): Likewise.
31918
b8dc394d
JL
319192012-03-30 Jeff Law <law@redhat.com>
31920
31921 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31922 due to long keys.
31923 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31924 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31925
2f5a5ed0
JL
31926 * resolv/nss_dns/dns-host.c: Update copyright year.
31927
1d39e359
UD
319282012-03-30 Ulrich Drepper <drepper@gmail.com>
31929
c030f70c 31930 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31931 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31932
1d39e359
UD
31933 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31934 comments for sendmmsg.
31935
319362012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31937
31938 [BZ #13691]
31939 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31940 with only 1 character between 0x0041 and 0x01b0.
31941 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31942 * wcsmbs/tst-mbsnrtowcs.c: New file.
31943
20fde227
DM
319442012-03-29 David S. Miller <davem@davemloft.net>
31945
31946 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31947 small copies by hand.
31948
984a4237
JL
319492012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31950
31951 [BZ #13761]
31952 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31953 _nss_compat_initgroups_dyn): Fall back to malloc/free
31954 for large group memberships.
31955
18c9d62b
DM
319562012-03-28 David S. Miller <davem@davemloft.net>
31957
88d85d4f
DM
31958 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31959 that branches into memcpy.
31960 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31962 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31963 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31965 bits.
31966 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31967 implementation too.
31968 * sysdeps/sparc/mempcpy.S: New file.
31969
e5aa83e1
DM
31970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31971 the IFUNC routine in the libc case.
31972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31973
88570753
DM
31974 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31975 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31976 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31977 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31978 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31979 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31980 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31981 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31982
249d7567
DM
31983 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31984 loop to 256 bytes instead of 64 bytes and fix test signedness.
31985
18c9d62b
DM
31986 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31987 * sysdeps/sparc/sparc32/Makefile: rather than here...
31988 * sysdeps/sparc/sparc64/Makefile: and here.
31989
05f3d1f6
UD
319902012-03-28 Ulrich Drepper <drepper@gmail.com>
31991
31992 * malloc/mallocbug.c: Avoid warnings about unused variables.
31993
86ae07a8
JL
319942012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31995
31996 [BZ #13760]
31997 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31998 in the right place. Discard and retry query if response is
31999 larger than input buffer size.
32000
41bf21a1
JM
320012012-03-28 Joseph Myers <joseph@codesourcery.com>
32002
d6270972
JM
32003 [BZ #369]
32004 [BZ #2678]
32005 [BZ #3866]
32006 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32007 x for large integer exponent.
32008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32009 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32010 sign of result as needed afterwards.
32011 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32012 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32013 result for underflowing pow the same as for overflow.
32014 (__kernel_standard_l): Handle powl overflow and underflow here
32015 rather than calling __kernel_standard.
32016 * math/libm-test.inc (pow_test): Add more tests.
32017
414fca03 32018 [BZ #3868]
41bf21a1
JM
32019 [BZ #13879]
32020 [BZ #13910]
32021 [BZ #13911]
32022 [BZ #13912]
32023 [BZ #13913]
32024 [BZ #13915]
32025 [BZ #13916]
32026 [BZ #13917]
32027 [BZ #13918]
32028 [BZ #13919]
32029 [BZ #13920]
32030 [BZ #13921]
32031 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32032 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32033 (__kernel_standard_l): New function.
32034 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32035 __kernel_standard.
32036 * math/w_acosl.c (__acosl): Likewise.
32037 * math/w_asinl.c (__asinl): Likewise.
32038 * math/w_atan2l.c (__atan2l): Likewise.
32039 * math/w_atanhl.c (__atanhl): Likewise.
32040 * math/w_coshl.c (__coshl): Likewise.
32041 * math/w_exp10l.c (__exp10l): Likewise.
32042 * math/w_exp2l.c (__exp2l): Likewise.
32043 * math/w_fmodl.c (__fmodl): Likewise.
32044 * math/w_hypotl.c (__hypotl): Likewise.
32045 * math/w_j0l.c (__j0l, __y0l): Likewise.
32046 * math/w_j1l.c (__j1l, __y1l): Likewise.
32047 * math/w_jnl.c (__jnl, __ynl): Likewise.
32048 * math/w_lgammal.c (__lgammal): Likewise.
32049 * math/w_log10l.c (__log10l): Likewise.
32050 * math/w_log2l.c (__log2l): Likewise.
32051 * math/w_logl.c (__logl): Likewise.
32052 * math/w_powl.c (__powl): Likewise.
32053 * math/w_remainderl.c (__remainderl): Likewise.
32054 * math/w_scalbl.c (sysv_scalbl): Likewise.
32055 * math/w_sinhl.c (__sinhl): Likewise.
32056 * math/w_sqrtl.c (__sqrtl): Likewise.
32057 * math/w_tgammal.c (__tgammal): Likewise.
32058 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32059 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32060 * math/libm-test.inc (acos_test): Add more tests.
32061 (acosh_test): Likewise.
32062 (asin_test): Likewise.
32063 (atanh_test): Likewise.
32064 (exp_test): Likewise.
32065 (exp10_test): Likewise.
32066 (exp2_test): Likewise.
32067 (expm1_test): Likewise.
32068 (lgamma_test): Likewise.
32069 (log_test): Likewise.
32070 (log10_test): Likewise.
32071 (log1p_test): Likewise.
32072 (log2_test): Likewise.
32073 (pow_test): Do not allow some spurious overflow exceptions.
32074 (sqrt_test): Add more tests.
32075 (tgamma_test): Likewise.
32076 (y0_test): Likewise.
32077 (y1_test): Likewise.
32078 (yn_test): Likewise.
32079
dd62fda6
AB
320802012-03-27 Anton Blanchard <anton@samba.org>
32081
32082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32083 MAP_HUGETLB.
32084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32085 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32087
1e3cdfda
AJ
320882012-03-27 David S. Miller <davem@davemloft.net>
32089
b855ab85
DM
32090 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32091
1e3cdfda
AJ
32092 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32093 have-as-vis3 check.
32094
320952012-03-27 Andreas Jaeger <aj@suse.de>
32096
32097 * sysdeps/x86_64/elf/configure.in: Moved to ...
32098 * sysdeps/x86_64/configure.in: ... here.
32099 * sysdeps/x86_64/elf/start.S: Moved to ...
32100 * sysdeps/x86_64/start.S: ... here.
32101 * sysdeps/x86_64/elf/configure: Delete.
32102
32103 * sysdeps/x86_64/configure.in: Merge contents from
32104 sysdeps/i386/configure.in (without i686 check).
32105
32106 * sysdeps/i386/elf/Versions: Merge into ...
32107 * sysdeps/i386/Versions: ... this.
32108 * sysdeps/i386/elf/Versions: Delete file.
32109 * sysdeps/i386/elf/start.S: Moved to ...
32110 * sysdeps/i386/start.S: ...here.
32111 * sysdeps/i386/elf/configure.in: Merge into...
32112 * sysdeps/i386/configure.in: ...here.
32113 * sysdeps/i386/elf/configure.in: Delete file.
32114 * sysdeps/i386/elf/configure: Delete file.
32115
32116 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32117 * debug/backtracesyms.c: ... here.
32118 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32119 * debug/backtracesymsfd.c: ... here.
32120 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32121 * sysdeps/generic/ifunc-sel.h: ... here.
32122
32123 * sysdeps/unix/i386/start.c: Delete file.
32124 * sysdeps/unix/sparc/start.c: Delete file.
32125 * sysdeps/unix/start.c: Delete file.
32126
32127 * sysdeps/sh/elf/configure.in: Moved to ...
32128 * sysdeps/sh/configure.in: ... here.
32129 * sysdeps/sh/elf/start.S: Moved to ...
32130 * sysdeps/sh/start.S: ... here.
32131 * sysdeps/sh/elf/configure: Delete file.
32132
32133 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32134 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32135 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32136 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32137 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32138 * sysdeps/powerpc/powerpc64/start.S: here.
32139 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32140 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32141 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32142 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32143 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32144
32145 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32146 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32147 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32148 * sysdeps/powerpc/powerpc32/start.S: ... here.
32149 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32150 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32151 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32152
32153 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32154 * sysdeps/powerpc/ifunc-sel.h: ... here.
32155 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32156 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32157
32158 * sysdeps/sparc/elf/configure.in: Moved to ...
32159 * sysdeps/sparc/configure.in: ... here.
32160 * sysdeps/sparc/elf/configure: Delete file.
32161 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32162 * sysdeps/sparc/sparc32/start.S: ... here.
32163 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32164 * sysdeps/sparc/sparc64/start.S: ... here.
32165 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32166 * sysdeps/sparc/sparc32/Makefile: ... this.
32167 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32168 * sysdeps/sparc/sparc64/Makefile: ... this.
32169
32170 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32171 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32172 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32173 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32174 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32175 * sysdeps/s390/s390-32/setjmp.S: ... here.
32176 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32177 * sysdeps/s390/s390-32/configure.in: ... here.
32178 * sysdeps/s390/s390-32/elf/configure: Delete file.
32179 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32180 * sysdeps/s390/s390-32/start.S: ... here.
32181
32182 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32183 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32184 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32185 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32186 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32187 * sysdeps/s390/s390-64/setjmp.S: ... here.
32188 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32189 * sysdeps/s390/s390-64/configure.in: ... here
32190 * sysdeps/s390/s390-64/elf/configure: Delete file.
32191 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32192 * sysdeps/s390/s390-64/start.S: ... here.
32193 * sysdeps/s390/s390-64/elf/configure: Delete.
32194
32195 * configure.in: Remove support for elf directories in sysdeps.
32196
32197 * configure: Regenerated.
32198 * sysdeps/i386/configure: Regenerated.
32199 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32200 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32201 * sysdeps/s390/s390-32/configure: Regenerated.
32202 * sysdeps/s390/s390-64/configure: Regenerated.
32203 * sysdeps/sh/configure: Regenerated.
32204 * sysdeps/sparc/configure: Regenerated.
32205 * sysdeps/x86_64/configure: Regenerated.
32206
a3f61311
AS
322072012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32208
c876e002
AS
32209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32210
a3f61311
AS
32211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32212 denormal result into account.
32213
ac4c54f0
RM
322142012-03-25 Roland McGrath <roland@hack.frob.com>
32215
32216 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32217 Reported by Allan McRae <allan@archlinux.org>.
32218
6a9b9c02
JL
322192012-03-23 Jeff Law <law@redhat.com>
32220
32221 * nss/getnssent.c (__nss_getent): Fix typo.
32222
4c42a0c1
DM
322232012-03-23 David S. Miller <davem@davemloft.net>
32224
32225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32226
1532c7ac
L
322272012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32228
32229 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32230 to pad to uint64_t for each field.
32231 (dl_tls_index): Replace unsigned long with uint64_t.
32232
3ff42526
PP
322332012-03-23 Daniel Jacobowitz <dmj@google.com>
32234 Paul Pluzhnikov <ppluzhnikov@google.com>
32235
32236 [BZ #6528]
32237 * grp/Makefile (otherlibs): Don't set it.
32238 * inet/Makefile (otherlibs): Likewise.
32239 * login/Makefile (otherlibs): Likewise.
32240 * nscd/Makefile (otherlibs): Likewise.
32241 * posix/Makefile (otherlibs): Likewise.
32242 * pwd/Makefile (otherlibs): Likewise.
32243 * rt/Makefile (otherlibs): Likewise.
32244 * sunrpc/Makefile (otherlibs): Likewise.
32245 * nss/Makefile (otherlibs): Likewise.
32246 Add libnss_files to routines and static-only-routines.
32247 ($(objpfx)getent): Remove rule.
32248 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32249 static-only-routines.
32250
7c69cd14
JM
322512012-03-22 Joseph Myers <joseph@codesourcery.com>
32252
32253 [BZ #13892]
32254 * math/s_cexp.c: Include <float.h>.
32255 (__cexp): Handle exp result overflowing not necessarily
32256 overflowing both real and imaginary parts of result.
32257 * math/s_cexpf.c: Likewise.
32258 * math/s_cexpl.c: Likewise.
32259 * math/libm-test.inc (cexp_test): Add more tests.
32260 * sysdeps/i386/fpu/libm-test-ulps: Update.
32261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32262
81b035fe
L
322632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32264
32265 * include/link.h (ELFW): New macro.
32266 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32267 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32268
1da7940c
L
322692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32270
32271 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32272 with uint64_t.
32273
b749dbb9
L
322742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32275
32276 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32277 declaration.
32278 (struct La_x32_retval): Likewise.
32279
2ff87f3f
L
322802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32281
32282 * sysdeps/x86_64/preconfigure.in: New file.
32283 * sysdeps/x86_64/preconfigure: New generated file.
32284
c0df8e69
JM
322852012-03-22 Joseph Myers <joseph@codesourcery.com>
32286
48e44791
JM
32287 [BZ #13824]
32288 * math/e_exp2l.c: Include <float.h>.
32289 (__ieee754_exp2l): Handle overflow and underflow cases
32290 separately. Only pass fractional part of argument to
32291 __ieee754_expl.
32292 * math/libm-test.inc (exp2_test): Add more tests.
32293
c0df8e69
JM
32294 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32295 negating x to take absolute value.
32296 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32297 Likewise.
32298 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32299 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32300 Likewise.
32301 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32302 computing low part if x was negated.
32303 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32304
c8e43ba7
L
323052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32306
32307 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32308 la_x32_gnu_pltexit.
32309 (pltexit): Cast int_retval to ptrdiff_t.
32310 * elf/tst-auditmod3b.c: Likewise.
32311 * elf/tst-auditmod4b.c: Likewise.
32312 * elf/tst-auditmod5b.c: Likewise.
32313 * elf/tst-auditmod6b.c: Likewise.
32314 * elf/tst-auditmod6c.c: Likewise.
32315 * elf/tst-auditmod7b.c: Likewise.
32316
32317 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32318 and x32_gnu_pltexit.
32319
32320 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32321 __ELF_NATIVE_CLASS.
32322 (La_x32_regs): New macro.
32323 (La_x32_retval): Likewise.
32324 (la_x32_gnu_pltenter): New function prototype.
32325 (la_x32_gnu_pltexit): Likewise.
32326
7998fa78
AS
323272012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32328
dcb33988
AS
32329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32330 exponent.
32331
233fc563
AS
32332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32333
7998fa78
AS
32334 * configure.in (libc_cv_cc_nofma): Check for option to disable
32335 generation of FMA instructions.
32336 * configure: Regenerate.
32337 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32338 * sysdeps/ieee754/dbl-64/Makefile: New file.
32339 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32340 Remove brandred-fma4.
32341 (CFLAGS-brandred-fma4.c): Remove.
32342 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32344 define.
32345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32346 define.
32347
8e95c99a
L
323482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32349
32350 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32351 LLONG_MAX != LONG_MAX.
32352 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32353 (_fitoa_word): Likewise.
32354 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32355 LLONG_MAX != LONG_MAX.
32356 * stdio-common/_itowa.h: Include <_itoa.h>.
32357 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32358 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32359 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32360 only if not defined.
32361 (_ITOA_WORD_TYPE): Likewise.
32362 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32363 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32364
6f4db457
DM
323652012-03-21 David S. Miller <davem@davemloft.net>
32366
32367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32368
7785fe5a
L
323692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32372 of x86_64 when setting libc_cv_slibdir, libdir and
32373 libc_cv_localedir.
32374 * sysdeps/unix/sysv/linux/configure: Regenerated.
32375
4535cd55
JM
323762012-03-21 Joseph Myers <joseph@codesourcery.com>
32377
32378 * manual/lang.texi (Old Varargs): Remove section.
32379 (How Variadic): Update menu.
32380 (va_start): Do not mention varargs.h.
32381
17228132
TS
323822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32383 Joseph Myers <joseph@codesourcery.com>
32384
32385 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32386 link test.
32387 * configure: Regenerated.
32388
8149f976
TS
323892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32390
05f3d1f6
UD
32391 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32392 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32393 conformtest.pl
8149f976 32394
1a4ac776
JM
323952012-03-21 Joseph Myers <joseph@codesourcery.com>
32396
be22ce65
JM
32397 * NOTES: Remove.
32398 * Makefile (files-for-dist): Remove NOTES.
32399 (NOTES): Remove rule.
32400 * README: Don't refer to NOTES.
32401 * manual/creature.texi: Don't include macros.texi.
32402 * manual/intro.texi (creature.texi): Remove comment referring to
32403 NOTES.
32404
40b601fb
JM
32405 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32406 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32407 * configure: Regenerated.
32408 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32409 LIBC_TRY_CC_OPTION.
32410 (libc_cv_as_i686): Likewise.
32411 (libc_cv_cc_avx): Likewise.
32412 (libc_cv_cc_sse2avx): Likewise.
32413 (libc_cv_cc_fma4): Likewise.
32414 (libc_cv_cc_novzeroupper): Likewise.
32415 * sysdeps/i386/configure: Regenerated.
32416
1a4ac776
JM
32417 [BZ #13883]
32418 * sysdeps/i386/fpu/s_cexp.S: Remove.
32419 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32420 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32421 * math/libm-test.inc (cexp_test): Add more tests.
32422 * sysdeps/i386/fpu/libm-test-ulps: Update.
32423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32424
a458e7fe
AM
324252012-03-21 Allan McRae <allan@archlinux.org>
32426
32427 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32428
0cb7efc5
JM
324292012-03-21 Joseph Myers <joseph@codesourcery.com>
32430
32431 [BZ #13871]
32432 * math/w_exp2.c: Do not include <float.h>.
32433 (o_threshold, u_threshold): Remove.
32434 (__exp2): Calculate result before checking finiteness and calling
32435 __kernel_standard.
32436 * math/w_exp2f.c: Likewise.
32437 * math/w_exp2l.c: Likewise.
32438 * math/libm-test.inc (exp2_test): Require overflow exception for
32439 1e6 input.
2460d3aa
JM
32440
32441 [BZ #3866]
32442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32443 range of signed 64-bit integers before using fistpll. Remove
32444 checks for whether integers fit in mantissa bits.
32445 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32446 the range of signed 32-bit integers before using fistpl. Remove
32447 checks for whether integers fit in mantissa bits.
32448 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32449 (__ieee754_powl): Test for y outside the range of signed 64-bit
32450 integers before using fistpll. Reduce 64-bit values to 63-bit
32451 ones as needed.
32452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32453 divide-by-zero is raised for zero to large negative powers.
32454 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32455 (__ieee754_powl): Test for y outside the range of signed 64-bit
32456 integers before using fistpll. Reduce 64-bit values to 63-bit
32457 ones as needed.
32458 * math/libm-test.inc (pow_test): Add more tests.
32459
eb96ffb0
L
324602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32461
32462 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32463 <stdio-common/_itoa.h>.
32464 * debug/segfault.c: Likewise.
32465 * elf/dl-cache.c: Likewise.
32466 * elf/dl-minimal.c: Likewise.
32467 * elf/dl-misc.c: Likewise.
32468 * elf/dl-sysdep.c: Likewise.
32469 * elf/dl-version.c: Likewise.
32470 * elf/rtld.c: Likewise.
32471 * hurd/hurdsock.c: Likewise.
32472 * hurd/lookup-retry.c: Likewise.
32473 * malloc/malloc.c: Likewise.
32474 * malloc/mtrace.c: Likewise.
32475 * nscd/nscd_getgr_r.c: Likewise.
32476 * nscd/nscd_getpw_r.c: Likewise.
32477 * nscd/nscd_getserv_r.c: Likewise.
32478 * posix/getopt_init.c: Likewise.
32479 * posix/wordexp.c: Likewise.
32480 * stdio-common/_itoa.c: Likewise.
32481 * stdio-common/printf_fphex.c: Likewise.
32482 * stdio-common/vfprintf.c: Likewise.
32483 * string/_strerror.c: Likewise.
32484 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32485 * sysdeps/i386/i686/hp-timing.h: Likewise.
32486 * sysdeps/mach/_strerror.c: Likewise.
32487 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32488 * sysdeps/mach/hurd/sethostid.c: Likewise.
32489 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32490 * sysdeps/mach/xpg-strerror.c: Likewise.
32491 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32493 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32494 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32495 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32496 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32497 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32498 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32499 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32500 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32501 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32502 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32503 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32504 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32505 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32506 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32507 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32508 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32509 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32510 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32511 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32512
32513 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32514
32515 * stdio-common/_itoa.h: Moved to ...
32516 * sysdeps/generic/_itoa.h: Here.
32517
32518 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32519
32520 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32521 instead of "_itoa.h" and "_itowa.h".
32522 * stdio-common/vfprintf.: Likewise.
32523
d1af992d
L
325242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32525
32526 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32527 <bits/wordsize.h>.
32528 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32529 (__signbit): Likwise.
32530 (llrintf): Likwise.
32531 (llrint): Likwise.
32532
114883e0
L
325332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32534
32535 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32536 __WORDSIZE != 64.
32537
c135cc1b
JM
325382012-03-20 Joseph Myers <joseph@codesourcery.com>
32539
32540 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32541 OVERFLOW_EXCEPTION_OK.
32542 * math/libm-test.inc ("Philosophy"): Update comment about
32543 exception testing.
32544 (OVERFLOW_EXCEPTION): Define.
32545 (OVERFLOW_EXCEPTION_OK): Likewise.
32546 (INVALID_EXCEPTION_OK): Renumber.
32547 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32548 (IGNORE_ZERO_INF_SIGN): Likewise.
32549 (test_exceptions): Handle FE_OVERFLOW.
32550 (exp10_test): Expect overflow exceptions.
32551 (exp2_test): Likewise.
32552 (expm1_test): Likewise.
32553 (nextafter_test): Likewise.
32554 (pow_test): Likewise.
32555 (scalbn_test): Likewise.
32556 (scalbln_test): Likewise.
32557
95443d88
L
325582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32559
32560 * sysdeps/x86_64/bits/atomic.h
32561 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32562 64bit integer.
32563 (atomic_exchange_acq): Likewise.
32564 (__arch_exchange_and_add_body): Likewise.
32565 (__arch_add_body): Likewise.
32566 (atomic_add_negative): Likewise.
32567 (atomic_add_zero): Likewise.
32568
490df6c4
L
325692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32570
c2722551 32571 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32572 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32573
5e52b189
L
325742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32575
32576 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32577 Check __x86_64__ instead of __WORDSIZE.
32578
a9879d4c
L
325792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32580
32581 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32582
5df98260
DM
325832012-03-19 David S. Miller <davem@davemloft.net>
32584
e1497744
DM
32585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32586
5df98260
DM
32587 * sysdeps/sparc/fpu/fenv_private.h: New file.
32588 * sysdeps/sparc/fpu/math_private.h: Use it.
32589 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32590 Remove.
32591 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32592 (libc_feholdexcept_setroundl): Remove.
32593 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32594 Remove.
32595 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32596 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32597
b4c35121
L
325982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32599
32600 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32601 int64_t instead of long int.
32602 (INSERT_WORDS64): Likwise.
32603
56965fd7
L
326042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32605
32606 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32607 _Unwind_GetCFA return to _Unwind_Ptr first.
32608
83d1aec8
JM
326092012-03-19 Joseph Myers <joseph@codesourcery.com>
32610
1897ad44
JM
32611 [BZ #13629]
32612 * math/s_clog.c: Include <float.h>.
32613 (__clog): Scale large or subnormal inputs.
32614 * math/s_clogf.c: Likewise.
32615 * math/s_clogl.c: Likewise.
32616 * math/s_clog10.c: Include <float.h>.
32617 (M_LOG10_2): Define.
32618 (__clog10): Scale large or subnormal inputs.
32619 * math/s_clog10f.c: Likewise.
32620 * math/s_clog10l.c: Likewise.
32621 * math/libm-test.inc (clog_test): Add more tests.
32622 (clog10_test): Likewise.
32623 * sysdeps/i386/fpu/libm-test-ulps: Update.
32624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625
7726d6a9
JM
32626 [BZ #11451]
32627 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32628 x and y.
32629 * math/libm-test.inc (atan2_test): Add another test.
32630
83d1aec8
JM
32631 * Makerules (common-objdir-compile): Remove.
32632 * sysdeps/unix/Makefile (config-generated): Do not add
32633 $(unix-generated) to variable.
32634 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32635 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32636 Remove rule.
32637 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32638 Likewise.
32639 [generic bits/local_lim.h] (before-compile): Do not append to
32640 variable.
32641 [generic bits/local_lim.h] (common-generated): Likewise.
32642 [generic sys/param.h] (before-compile): Do not append to variable.
32643 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32644 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32645 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32646 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32647 include.
32648 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32649 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32650 [generic sys/param.h] ($(addprefix
32651 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32652 [generic sys/param.h] (common-generated): Do not append to
32653 variable.
32654 [generic sys/param.h] (sysdep_headers): Likewise.
32655 [generic bits/errno.h] (before-compile): Do not append to
32656 variable.
32657 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32658 rule.
32659 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32660 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32661 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32662 [generic bits/errno.h] (common-generated): Do not append to
32663 variable.
32664 [generic bits/ioctls.h] (before-compile): Do not append to
32665 variable.
32666 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32667 rule.
32668 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32669 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32670 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32671 rule.
32672 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32673 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32674 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32675 [generic bits/ioctls.h] (common-generated): Do not append to
32676 variable.
32677 [generic sys/syscall.h] (syscall.h): Remove variable.
32678 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32679 rule.
32680 [generic sys/syscall.h] (before-compile): Do not append to
32681 variable.
32682 [generic sys/syscall.h] (common-generated): Likewise.
32683 * sysdeps/unix/errnos-tmpl.c: Remove file.
32684 * sysdeps/unix/errnos.awk: Likewise.
32685 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32686 * sysdeps/unix/ioctls.awk: Likewise.
32687 * sysdeps/unix/mk-local_lim.c: Likewise.
32688 * sysdeps/unix/snarf-ioctls: Likewise.
32689
4851a949
RH
326902012-03-19 Richard Henderson <rth@twiddle.net>
32691
bd37f2ee
RH
32692 * sysdeps/i386/fpu/fenv_private.h: New file.
32693 * sysdeps/i386/fpu/math_private.h: Use it.
32694 (math_opt_barrier, math_force_eval): Remove.
32695 (libc_feholdexcept_setround_53bit): Remove.
32696 (libc_feupdateenv_53bit): Remove.
32697 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32698 (math_opt_barrier, math_force_eval): Remove.
32699 (libc_feholdexcept): Remove.
32700 (libc_feholdexcept_setround): Remove.
32701 (libc_fetestexcept, libc_fesetenv): Remove.
32702 (libc_feupdateenv_test): Remove.
32703 (libc_feupdateenv, libc_feholdsetround): Remove.
32704 (libc_feresetround): Remove.
32705
d0adc922
RH
32706 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32707 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32708
0fe0f1f8
RH
32709 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32710 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32711 (libc_feupdateenv_testl): New.
32712 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32713 (libc_feupdateenv_testf): New.
32714 (libc_feupdateenv): Use libc_feupdateenv_test.
32715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32716 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32717
eb92c487
RH
32718 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32719 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32720 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32721 (libc_feresetround_noex): New.
32722 (libc_feresetround_noexf): New.
32723 (libc_feresetround_noexl): New.
32724 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32725 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32726 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32727 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32728 SET_RESTORE_ROUND.
32729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32731 (__cos): Likewise.
32732 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32733 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32734 SET_RESTORE_ROUND_NOEX.
32735 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32736 SET_RESTORE_ROUND_NOEXF.
32737 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32738 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32739 (libc_feholdsetroundf): New.
32740 (libc_feresetround, libc_feresetroundf): New.
32741
7d2e8012
RH
32742 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32743 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32744 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32745
b4dabbb4
RH
32746 * sysdeps/generic/math_private.h: Include <fenv.h>.
32747 (default_libc_feholdexcept): New.
32748 (default_libc_feholdexcept_setround): New.
32749 (default_libc_fesetenv, default_libc_feupdateenv): New.
32750 (libc_feholdexcept): Only define if undefined.
32751 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32752 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32753 (libc_feholdexcept_setroundl): Likewise.
32754 (libc_feholdexcept_setround_53bit): Likewise.
32755 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32756 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32757 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32758 (libc_feupdateenv_53bit): Likewise.
32759 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32760 (libc_feholdexcept): Convert from macro to inline function.
32761 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32762 (libc_fesetenv, libc_feupdateenv): Likewise.
32763
4851a949
RH
32764 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32765 not previously defined.
32766 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32767 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32768 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32769 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32770 * sysdeps/ieee754/flt-32/math_private.h: New file.
32771 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32772 math_private.h below SET_FLOAT_WORD.
32773 (__isnan, __isinf_ns, __finite): Remove.
32774 (__isnanf, __isinf_nsf, __finitef): Remove.
32775
e79d442e
AS
327762012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32777
32778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32779
90b80344
DM
327802012-03-17 David S. Miller <davem@davemloft.net>
32781
32782 [BZ #6471]
32783 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32784 for 2.16.
32785
edc21804
DM
327862012-03-16 David S. Miller <davem@davemloft.net>
32787
77e927af
DM
32788 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32789 warnings.
32790
374976dd
DM
32791 [BZ #6471]
32792 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32793 properly.
32794 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32795 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32796 sysdep_routines when subdir is sysvipc.
32797 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32798 __getshmlba helper.
32799
edc21804
DM
32800 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32801
473c3ef3
L
328022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32805 [__LP64__].
32806
eb0f39b6
L
328072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32810 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32811 (__lround): Renamed to ...
32812 (__llround): This. Replace long int with long long int.
32813 Define lround functions as aliases of llround functions.
32814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32815
6b6cd74b
L
328162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32817
32818 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32819 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32820 adresses to uintptr_t. Replace "long int" and "unsigned long
32821 int" with "greg_t" on va_arg.
32822
f1a77b01
L
328232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32826 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32827
32828 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32829 Move e_machine check before EI_CLASS check. Handle x32
32830 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32831 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32832 SKIP_EM_IA_64 and include
32833 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32834
32835 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32836 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32837 (add_system_dir): New macro.
32838
32839 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32840 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32841
11b90b9f
JM
328422012-03-16 Joseph Myers <joseph@codesourcery.com>
32843
c36e1d23
JM
32844 [BZ #2551]
32845 [BZ #2552]
32846 [BZ #2553]
32847 [BZ #2554]
32848 [BZ #2562]
32849 [BZ #2563]
32850 [BZ #2565]
32851 [BZ #2566]
32852 [BZ #2576]
32853 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32854 (y0): Likewise.
32855 * math/w_j0f.c (j0f): Likewise.
32856 (y0f): Likewise.
32857 * math/w_j0l.c (__j0l): Likewise.
32858 (__y0l): Likewise.
32859 * math/w_j1.c (j1): Likewise.
32860 (y1): Likewise.
32861 * math/w_j1f.c (j1f): Likewise.
32862 (y1f): Likewise.
32863 * math/w_j1l.c (__j1l): Likewise.
32864 (__y1l): Likewise.
32865 * math/w_jn.c (jn): Likewise.
32866 (yn): Likewise.
32867 * math/w_jnf.c (jnf): Likewise.
32868 (ynf): Likewise.
32869 * math/w_jnl.c (__jnl): Likewise.
32870 (__ynl): Likewise.
32871 * math/libm-test.inc (j0_test): Add more tests.
32872 (j1_test): Likewise.
32873 (jn_test): Likewise. Add trailing semicolon to existing test.
32874 (y0_test): Likewise.
32875 (y1_test): Likewise.
32876 * sysdeps/i386/fpu/libm-test-ulps: Update.
32877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32878
11b90b9f
JM
32879 [BZ #13851]
32880 [BZ #13854]
32881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32882 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32883 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32885 (__tanl): Set errno for infinite argument.
32886 * sysdeps/i386/fpu/mptan.c: Remove.
32887 * sysdeps/i386/fpu/s_tan.S: Likewise.
32888 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32889 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32890 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32891 * math/libm-test.inc (tan_test): Add more tests and enable more
32892 tests for double and long double.
32893 * sysdeps/i386/fpu/libm-test-ulps: Update.
32894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32895
6a1bd2a1
JK
328962012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32897
32898 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32899 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32900
10a803e0
RM
329012012-03-16 Roland McGrath <roland@hack.frob.com>
32902
32903 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32904 * configure.in: Use it for both main tree and add-ons.
32905 * configure: Regenerated.
32906
f196c7f7
L
329072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32910
8848d99d
JM
329112012-03-16 Joseph Myers <joseph@codesourcery.com>
32912
96cbe7f4
JM
32913 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32914 in comment.
32915
8848d99d
JM
32916 [BZ #13851]
32917 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32918 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32919 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32920 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32921 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32922 infinite argument.
32923 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32925 != 0 for prec == 2.
32926 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32927 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32928 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32929 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32930 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32931 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32932 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32933 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32934 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32935 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32936 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32937 * math/libm-test.inc (cos_test): Add more tests and enable more
32938 tests for long double.
32939 (sin_test): Likewise.
32940 (sincos_test): Likewise.
32941 * sysdeps/i386/fpu/libm-test-ulps: Update.
32942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32943
dd7f4703
DM
329442012-03-16 David S. Miller <davem@davemloft.net>
32945
32946 * sysdeps/sparc/fpu/math_private.h: New file.
32947
006f1daa
DM
329482012-03-15 David S. Miller <davem@davemloft.net>
32949
c0c83bc8
DM
32950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32951 file.
e6a62e18 32952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32954 file.
e6a62e18
DM
32955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32961 sysdep routines.
32962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32963
88cb87d9
DM
32964 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32965 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32966
006f1daa 32967 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32969 sparc-ifunc.h
006f1daa 32970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32972 Likewise.
32973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32974 Likewise.
006f1daa
DM
32975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32979 Likewise.
006f1daa
DM
32980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32985 Likewise.
32986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32987 Likewise.
006f1daa
DM
32988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33012
11e0098e
AS
330132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33014
33015 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33016 scaling.
33017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33018
e85b09d0
AJ
330192012-03-15 Andreas Jaeger <aj@suse.de>
33020
33021 [BZ #13852]
33022 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33023 ieee754/flt-32 implementation for sin, cos and sincos.
33024 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33025 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33026 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33027 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33028 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33029 ieee754/flt-32 implementation for tan.
33030
33031 * math/libm-test.inc (cos_test): Enable some large input tests for
33032 float as well
33033 (sin_test): Likewise.
33034 (sincos_test): Likewise.
33035 (tan_test): Add tests for large input.
33036
33037 * sysdeps/i386/fpu/libm-test-ulps: Update.
33038
81c64153
AJ
330392012-03-15 Andreas Jaeger <aj@suse.de>
33040
33041 [BZ #13658]
33042 * math/libm-test.inc (cos_test): Add more test cases.
33043 (sin_test): Likewise.
33044 (sincos_test): Likewise.
33045
7bbfa5c6
AJ
330462012-03-15 Andreas Jaeger <aj@suse.de>
33047
33048 [BZ #13837]
33049 * math/libm-test.inc (cos_test): Add a test case for large input
33050 value.
33051 (sin_test): Likewise.
33052 (sincos_test): Likewise.
33053
330542012-03-15 Andreas Jaeger <aj@suse.de>,
33055 Joseph Myers <joseph@codesourcery.com>
33056
33057 [BZ #13658]
0671f479 33058 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33059 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33060 * sysdeps/i386/fpu/branred.c: Likewise.
33061 * sysdeps/i386/fpu/dosincos.c: Likewise.
33062 * sysdeps/i386/fpu/mpa.c: Likewise.
33063 * sysdeps/i386/fpu/s_cos.S: Likewise.
33064 * sysdeps/i386/fpu/s_sin.S: Likewise.
33065 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33066 * sysdeps/i386/fpu/sincos32.c: Likewise.
33067
33068 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33069 Define.
33070 (libc_feupdateenv_53bit): Define.
33071 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33072 Define.
33073 (libc_feupdateenv_53bit): Define.
33074
33075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33076 53 bit (without extend i386 double precision).
33077
33078 * math/libm-test.inc (sincos_test): Add tests for large input.
33079 (sin): Likewise.
33080 (cos): Likewise.
33081
33082 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33083
9cad04ea
AS
330842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33085
33086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33087
f7062b9a
DM
330882012-03-15 David S. Miller <davem@davemloft.net>
33089
33090 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33091 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33092 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33093 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33106 file.
f7062b9a 33107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33109 file.
f7062b9a 33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33112 file.
f7062b9a 33113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33115 file.
f7062b9a
DM
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33118 fmin/fmax sysdep routines.
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33120
7bd951ff
DM
331212012-03-14 David S. Miller <davem@davemloft.net>
33122
559398ab
DM
33123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33150 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33152 routines.
33153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33154 file.
559398ab 33155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33157 file.
559398ab 33158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33160 file.
559398ab 33161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33163 file.
559398ab 33164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33166 file.
559398ab 33167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33169 file.
33170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33171 file.
33172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33173 file.
33174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33175 file.
33176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33177 New file.
33178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33179 file.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33181 file.
559398ab 33182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33184 file.
559398ab 33185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33187 file.
559398ab 33188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33190 file.
559398ab 33191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33193 VIS3 routines.
559398ab
DM
33194
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33196 New file.
33197
5a1c1e32
DM
33198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33199
eae47a36
DM
33200 * sysdeps/sparc/configure.in: New file.
33201 * sysdeps/sparc/configure: Generate.
33202 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33203 * configure: Regenerate.
33204 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33205 * config.make.in (have-as-vis3): New.
33206 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33207 available use -Av9d instead of -Av9a.
33208 * sysdeps/sparc/sparc64/Makefile: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33211 New file.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33213 file.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33215 New file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33217 file.
eae47a36
DM
33218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33223
c0c83bc8
DM
33224 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33225 fzeros/fnegs to load 0x80000000 into a float register instead of
33226 using the stack.
7bd951ff
DM
33227 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33228
bd951ccb
JM
332292012-03-14 Joseph Myers <joseph@codesourcery.com>
33230
33231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33232 bits/syscall.h.
33233 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33234 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33235 ($(inst_includedir)/bits/syscall.h): Remove rule.
33236 ($(objpfx)bits/syscall.d): Include instead of
33237 $(objpfx)syscall-list.d.
33238 (generated): Change syscall-list.h and syscall-list.d to
33239 bits/syscall.h and bits/syscall.d.
33240
bb4e6db2
RM
332412012-03-14 Roland McGrath <roland@hack.frob.com>
33242
33243 [BZ #13846]
33244 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33245
aa4a2ae1
JM
332462012-03-14 Joseph Myers <joseph@codesourcery.com>
33247
e456826d
JM
33248 [BZ #13841]
33249 * math/s_csqrt.c: Include <float.h>.
33250 (__csqrt): Scale large or subnormal inputs.
33251 * math/s_csqrtf.c: Likewise.
33252 * math/s_csqrtl.c: Likewise.
33253 * math/libm-test.inc (csqrt_test): Add more tests.
33254 * sysdeps/i386/fpu/libm-test-ulps: Update.
33255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256
aa4a2ae1
JM
33257 [BZ #13840]
33258 * math/libm-test.inc (hypot_test): Add more tests.
33259
7c10fd35
DM
332602012-03-13 David S. Miller <davem@davemloft.net>
33261
33262 [BZ #13840]
33263 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33264 double-precision for the calculation instead of scaling.
33265
f453b98b
JM
332662012-03-13 Joseph Myers <joseph@codesourcery.com>
33267
33268 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33269 manipulate bits before adding and subtracting TWO52[sx].
33270 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33271 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33272 Likewise.
33273 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33274
09a3453f
DM
332752012-03-13 David S. Miller <davem@davemloft.net>
33276
8e59da90
DM
33277 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33278 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33280 rtld-global-offsets.h
33281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33282
2a8ab7f2
DM
33283 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33284 large parameters.
33285
10f62770
DM
33286 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33287
5f0bdb18
DM
33288 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33289 'err' in the ifdef scope in which it is actually used.
33290
09a3453f
DM
33291 * nss/nss_db/db-init.c: Include string.h
33292
b4b2eb5e
DM
332932012-03-12 David S. Miller <davem@davemloft.net>
33294
98bb2f1c
DM
33295 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33296 masking out of the most significant byte of random value used.
33297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33298 Fix coding style in previous change.
33299
b4b2eb5e
DM
33300 * sysdeps/unix/sysv/linux/kernel-features.h
33301 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33302 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33303 expression.
33304 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33305 later.
33306
6e226b09
DM
333072012-03-11 David S. Miller <davem@davemloft.net>
33308
a1bcbd40
DM
33309 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33310 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33312 for 'resultvar' otherwise things get truncated on 64-bit.
33313
cb9d6174
DM
33314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33315 Fix masking out of the most significant byte of random value used.
33316
6e226b09
DM
33317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33318
058c132d
AS
333192012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33320
33321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33322
2d2cd515
DM
333232012-03-09 David S. Miller <davem@davemloft.net>
33324
33325 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33326 variables with appropriate CPP guards.
33327 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33328 frame pointer, not the stack pointer. Correct layout comments. Fix test
33329 on resulting framesize and the management of the outregs buffer for pltexit.
33330 Preserve floating point return values across _dl_call_pltexit call.
33331 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33332 framesize and the management of the outregs buffer for pltexit.
33333 Preserve floating point return values across _dl_call_pltexit
33334 call.
33335 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33336 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33337 (print_exit): Fix format string for return register value.
33338
9a07f9d0
JM
333392012-03-10 Joseph Myers <joseph@codesourcery.com>
33340
33341 * sunrpc/Makefile (others): Add rpcgen.
33342 ($(objpfx)rpcgen): Remove special build rule and dependency on
33343 libc.
33344 * sunrpc/rpcgen.c: New file.
33345
547b5e30
PE
333462012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33347
c524201a
PE
33348 [BZ #13673]
33349 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33350 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33351 * sysdeps/i386/crti.S: Likewise.
33352 * sysdeps/i386/crtn.S: Likewise.
33353 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33354 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33355 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33356 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33357 * sysdeps/sh/crti.S: Likewise.
33358 * sysdeps/sh/crtn.S: Likewise.
33359 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33360
7b6235f2
PE
33361 [BZ #13673]
33362 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33363 with URL.
33364 * locale/programs/locfile-kw.gperf: Likewise.
33365 * locale/programs/charmap-kw.h: Regenerated.
33366 * locale/programs/locfile-kw.h: Likewise.
33367
547b5e30
PE
33368 [BZ #13673]
33369 * intl/plural.y: Replace FSF snail mail address with URL.
33370 * intl/plural.c: Regenerated.
33371
5f0a5dae
RH
333722012-03-09 Richard Henderson <rth@twiddle.net>
33373
33374 * include/math_private.h: Remove file.
33375 * math/math_private.h: Move file ...
33376 * sysdeps/generic/math_private.h: ... here.
33377
b8c03620
RH
33378 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33379 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33380 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33381
4e234f5d 33382 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33383 and <math_private.h>.
33384 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33385 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33386 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33387 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33388 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33389 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33390 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33395 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33396 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33398 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33402 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33403 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33405 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33408 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33409 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33410 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33413 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33414 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33416 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33417 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33418 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33419 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33420 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33421 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33422 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33424 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33425 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33426 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33427 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33428 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33429 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33430 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33431 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33432 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33433 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33434 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33435 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33436 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33437 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33438 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33439 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33440 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33441 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33442 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33443 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33444 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33445 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33447 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33448 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33452 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33453 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33455 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33456 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33458 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33463 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33464 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33467 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33468 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33471 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33472 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33473 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33474 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33475 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33476 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33477 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33478 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33479 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33480 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33481 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33483 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33484 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33485 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33486 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33487 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33488 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33489 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33490 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33491 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33492 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33494 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33495 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33496 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33497 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33498 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33499 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33500 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33501 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33502 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33503 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33505 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33506 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33507 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33508 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33510 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33511 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33512 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33513 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33514 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33515 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33517 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33518 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33519 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33522 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33523 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33524 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33525 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33526 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33527 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33528 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33529 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33530 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33531 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33532 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33533 * sysdeps/ieee754/k_standard.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33560 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33561 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33562 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33564 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33566 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33568 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33569 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33574 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33575 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33578 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33580 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33583 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33585 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33586 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33590 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33591 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33592 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33594 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33595 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33604 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33611 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33661 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33666 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33682 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33683 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33684 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33694 * sysdeps/ieee754/s_lib_version.c: Likewise.
33695 * sysdeps/ieee754/s_matherr.c: Likewise.
33696 * sysdeps/ieee754/s_signgam.c: Likewise.
33697 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33698 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33699 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33700 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33701 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33702 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33703 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33704 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33705 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33706 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33707 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33708 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33709 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33710 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33711 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33712 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33713 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33714 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33715 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33718
1991fa03
JM
337192012-03-09 Joseph Myers <joseph@codesourcery.com>
33720
33721 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33722 * sunrpc/rpc_main.c: Likewise.
33723 * sunrpc/rpc_svcout.c: Likewise.
33724
60d6f5a6
DM
337252012-03-09 David S. Miller <davem@davemloft.net>
33726
33727 * include/math_private.h: New file.
33728
4962050e
JM
337292012-03-09 Joseph Myers <joseph@codesourcery.com>
33730
02a6f887
JM
33731 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33732 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33733 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33734 from <bits/socket_type.h>.
33735 (enum __socket_type): Don't define here.
33736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33738 bits/socket_type.h.
33739
c6e013c1
JM
33740 [BZ #13566]
33741 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33742 checking __USE_GNU.
33743
4962050e
JM
33744 * Makerules ($(inst_includedir)/%.h): New rule.
33745 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33746 (install-others): Remove variable setting.
33747 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33748
38842f45
RH
337492012-03-08 Richard Henderson <rth@twiddle.net>
33750
67bb6da6
RH
33751 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33752 from macro to inline function; merge with the
33753 !__LIBC_INTERNAL_MATH_INLINES version.
33754 (__ieee754_sqrtf): Likewise.
33755
15194b4b
RH
33756 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33757 to inline function.
33758 (__rintf, __floor, __floorf): Likewise.
33759
64e21ede
RH
33760 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33761 macro to inline function.
33762 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33763
38842f45
RH
33764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33765 not <math/math_private.h>.
33766
c64bf5fe
DM
337672012-03-08 David S. Miller <davem@davemloft.net>
33768
33769 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33770 copyright year.
33771 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33772
82d86f28
TS
337732012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33774
33775 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33776 normalization.
33777 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33778 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33779
aea5d727
UD
337802012-03-08 Ulrich Drepper <drepper@gmail.com>
33781
33782 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33783 be defined individually, they must be defined as a block. Define
33784 S for printing a string instead of hidint the different by using a
33785 macro for adding the 'l'.
33786 * stdio-common/tst-fphex-wide.c: Adjust.
33787
70bca0a3
MP
337882012-03-07 Marek Polacek <polacek@redhat.com>
33789
33790 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33791
65b81130
MP
337922012-03-08 Marek Polacek <polacek@redhat.com>
33793
33794 [BZ #13806]
33795 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33796 * stdio-common/tst-fphex.c: Define a few macros to make the
33797 test reusable. Use them.
33798 * stdio-common/tst-fphex-wide.c: New file.
33799
07037eeb
JM
338002012-03-08 Joseph Myers <joseph@codesourcery.com>
33801
a7a93d50
JM
33802 [BZ #6911]
33803 * manual/macros.texi (gnusystems): New macro.
33804 (nongnusystems): Likewise.
33805 (gnulinuxhurdsystems): Likewise.
33806 (gnuhurdsystems): Likewise..
33807 (gnulinuxsystems): Likewise.
33808 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33809 variants of the GNU system, not "GNU system".
33810 * manual/conf.texi: Likewise.
33811 * manual/errno.texi: Likewise. Update example of errno macro
33812 expansion.
33813 * manual/filesys.texi: Likewise.
33814 (getumask): Document as specific to GNU/Hurd.
33815 * manual/install.texi: Likewise. Reword some references to
33816 GNU/Linux.
33817 * manual/intro.texi: Likewise.
33818 * manual/io.texi: Likewise.
33819 (File Name Portability): Detail which constraints are inapplicable
33820 to all GNU systems and which are only inapplicable to GNU/Hurd.
33821 * manual/job.texi: Likewise.
33822 * manual/llio.texi: Likewise.
33823 (O_NOCTTY): Document as present on GNU/Linux.
33824 * manual/maint.texi: Likewise.
33825 * manual/memory.texi: Likewise.
33826 * manual/pattern.texi: Likewise.
33827 * manual/pipe.texi: Likewise.
33828 * manual/process.texi: Likewise.
33829 * manual/resource.texi: Likewise.
33830 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33831 child on GNU/Hurd.
33832 * manual/setjmp.texi: Likewise.
33833 * manual/signal.texi: Likewise.
33834 * manual/startup.texi: Likewise.
33835 * manual/stdio.texi: Likewise.
33836 * manual/terminal.texi: Likewise.
33837 (ONLCR): Document as POSIX.
33838 (OXTABS): Document availability on GNU/Linux as XTABS.
33839 (ONOEOT): Document availability separately from other bits.
33840 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33841 * manual/time.texi: Likewise.
33842 * manual/users.texi: Likewise.
33843 * INSTALL: Regenerated.
33844 * sysdeps/gnu/errlist.c: Regenerated.
33845
07037eeb
JM
33846 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33847 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33848 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33849 puts.
33850 * configure: Regenerated.
33851
d1d3431a
JM
338522012-03-07 Joseph Myers <joseph@codesourcery.com>
33853
af6a1e37
JM
33854 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33855 default includes instead of AC_HEADER_CHECK.
33856 * sysdeps/i386/configure: Regenerated.
33857
d1d3431a
JM
33858 [BZ #10716]
33859 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33860 * math/s_cacoshf.c (__cacoshf): Likewise.
33861 * math/s_cacoshl.c (__cacoshl): Likewise.
33862 * math/s_casinh.c (__casinh): Set signs of result from argument.
33863 * math/s_casinhf.c (__casinhf): Likewise.
33864 * math/s_casinhl.c (__casinhl): Likewise.
33865 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33866 (casinh_test): Add more tests.
33867 * sysdeps/i386/fpu/libm-test-ulps: Update.
33868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33869
482ff4da
UD
338702012-03-07 Ulrich Drepper <drepper@gmail.com>
33871
872fda05
UD
33872 * po/zh_TW.po: Update from translation team.
33873
a4300c7a
UD
33874 * login/Makefile (distribute): Remove variable.
33875 * catgets/Makefile: Likewise.
33876 * mach/Makefile: Likewise.
33877 * malloc/Makefile: Likewise.
33878 * misc/Makefile: Likewise.
33879 * iconv/Makefile: Likewise.
33880 * nscd/Makefile: Likewise.
33881 * hurd/Makefile: Likewise.
33882 * manual/Makefile: Likewise.
33883 * locale/Makefile: Likewise.
33884 * intl/Makefile: Likewise.
33885 * conform/Makefile: Likewise.
33886 * nss/Makefile: Likewise.
33887 * time/Makefile: Likewise.
33888 * soft-fp/Makefile: Likewise.
33889 * dirent/Makefile: Likewise.
33890 * gmon/Makefile: Likewise.
33891 * po/Makefile: Likewise.
33892 * rt/Makefile: Likewise.
33893 * socket/Makefile: Likewise.
33894 * math/Makefile: Likewise.
33895 * signal/Makefile: Likewise.
33896 * debug/Makefile: Likewise.
33897 * elf/Makefile: Likewise.
33898 * timezone/Makefile: Likewise.
33899 * stdlib/Makefile: Likewise.
33900 * iconvdata/Makefile: Likewise.
33901 * sunrpc/Makefile: Likewise.
33902 * io/Makefile: Likewise.
33903 * argp/Makefile: Likewise.
33904 * inet/Makefile: Likewise.
33905 * hesiod/Makefile: Likewise.
33906 * grp/Makefile: Likewise.
33907 * csu/Makefile: Likewise.
33908 * wctype/Makefile: Likewise.
33909 * crypt/Makefile: Likewise.
33910 * libio/Makefile: Likewise.
33911 * string/Makefile: Likewise.
33912 * nis/Makefile: Likewise.
33913 * resolv/Makefile: Likewise.
33914 * stdio-common/Makefile: Likewise.
33915 * wcsmbs/Makefile: Likewise.
33916 * dlfcn/Makefile: Likewise.
33917 * posix/Makefile: Likewise.
33918
3b7c4e74 33919 [BZ #6959]
482ff4da
UD
33920 * timezone/Makefile: Don't install timezone files, just the programs
33921 and scripts.
33922
f72ed77d
UD
339232012-03-06 Ulrich Drepper <drepper@gmail.com>
33924
a000466f
UD
33925 * nss/databases.def: Add missing gshadow entry.
33926
f72ed77d
UD
33927 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33928
a53b7a4e
MP
339292012-03-06 Marek Polacek <polacek@redhat.com>
33930
33931 [BZ #13726]
33932 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33933 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33934 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33935 * stdio-common/tst-long-dbl-fphex.c: New file.
33936
e9258400
DM
339372012-03-06 David S. Miller <davem@davemloft.net>
33938
33939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33940 (set_obp_int): New function.
33941 (get_obp_int): New function.
33942 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33943 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33944 Avoid unused variable warnings on 'val' and use builtin_expect.
33945 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33946 __builtin_expect.
e9258400
DM
33947 (INLINE_CLONE_SYSCALL): Likewise.
33948
3bd2c723
DM
339492012-03-05 David S. Miller <davem@davemloft.net>
33950
33951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33952
bbb78d03
AS
339532012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33954
884c5db4
AS
33955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33956
bbb78d03
AS
33957 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33958 only for |x| >= 40.
33959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33960
1c9f702a 339612012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33962
33963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33964 Replace gettimeofday with __vdso_gettimeofday.
33965
7be16f82
RM
33966 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33967 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33968 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33969
33970 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33971 time with __vdso_time.
33972
ed58a00f
JM
339732012-03-05 Joseph Myers <joseph@codesourcery.com>
33974
33975 * manual/lang.texi (size_t): Note types to which size_t may be
33976 equivalent with the GNU C Library, but do not describe when
33977 differences between them are significant.
33978
30ee4ced
AJ
339792012-03-05 Andreas Jaeger <aj@suse.de>
33980
33981 * sysdeps/i386/fpu/libm-test-ulps: Update.
33982
b7cd39e8
JM
339832012-03-05 Joseph Myers <joseph@codesourcery.com>
33984
33985 [BZ #3976]
33986 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33987 (__ieee754_pow): Save and restore rounding mode and use
33988 round-to-nearest for main computations.
33989 * math/libm-test.inc (pow_test_tonearest): New function.
33990 (pow_test_towardzero): Likewise.
33991 (pow_test_downward): Likewise.
33992 (pow_test_upward): Likewise.
33993 (main): Call the new functions.
33994 * sysdeps/i386/fpu/libm-test-ulps: Update.
33995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33996
33997 [BZ #3976]
33998 * math/libm-test.inc (cosh_test_tonearest): New function.
33999 (cosh_test_towardzero): Likewise.
34000 (cosh_test_downward): Likewise.
34001 (cosh_test_upward): Likewise.
34002 (sinh_test_tonearest): Likewise.
34003 (sinh_test_towardzero): Likewise.
34004 (sinh_test_downward): Likewise.
34005 (sinh_test_upward): Likewise.
34006 (main): Call the new functions.
34007 * sysdeps/i386/fpu/libm-test-ulps: Update.
34008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34009
6c6a98c9
TV
340102012-03-05 Tom de Vries <tom@codesourcery.com>
34011
34012 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34013 default stack guard is set in last bytes.
34014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34015
21bb2d2e 340162012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34017
21bb2d2e 34018 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34019
21bb2d2e
AJ
34020 [BZ #13656]
34021 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34022 possibly allocate from heap instead of stack.
34023 * stdio-common/bug-vfprintf-nargs.c: New file.
34024 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34025
c6922934
AS
340262012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34027
34028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34029
bc957d53
MP
340302012-03-03 Marek Polacek <polacek@redhat.com>
34031
34032 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34033 * math/math_private.h: Likewise.
34034 * stdlib/tst-strtod.c: Likewise.
34035 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34036 * sysdeps/x86_64/bits/atomic.h: Likewise.
34037
6358490d
DM
340382012-03-02 David S. Miller <davem@davemloft.net>
34039
34040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34044 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34045 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34046 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34047 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34048
01ae168d
RM
340492012-03-02 Roland McGrath <roland@hack.frob.com>
34050
d9a17c07
RM
34051 [BZ #13792]
34052 * manual/examples/README: New file, says the example source files
34053 can be used under GPL>=2.
34054 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34055 line containing just "*/".
34056 * manual/examples/add.c: Add copyright header (GPL>=2).
34057 * manual/examples/argp-ex1.c: Likewise.
34058 * manual/examples/argp-ex2.c: Likewise.
34059 * manual/examples/argp-ex3.c: Likewise.
34060 * manual/examples/argp-ex4.c: Likewise.
34061 * manual/examples/atexit.c: Likewise.
34062 * manual/examples/db.c: Likewise.
34063 * manual/examples/dir.c: Likewise.
34064 * manual/examples/dir2.c: Likewise.
34065 * manual/examples/execinfo.c: Likewise.
34066 * manual/examples/filecli.c: Likewise.
34067 * manual/examples/filesrv.c: Likewise.
34068 * manual/examples/fmtmsgexpl.c: Likewise.
34069 * manual/examples/genpass.c: Likewise.
34070 * manual/examples/inetcli.c: Likewise.
34071 * manual/examples/inetsrv.c: Likewise.
34072 * manual/examples/isockad.c: Likewise.
34073 * manual/examples/longopt.c: Likewise.
34074 * manual/examples/memopen.c: Likewise.
34075 * manual/examples/memstrm.c: Likewise.
34076 * manual/examples/mkfsock.c: Likewise.
34077 * manual/examples/mkisock.c: Likewise.
34078 * manual/examples/mygetpass.c: Likewise.
34079 * manual/examples/pipe.c: Likewise.
34080 * manual/examples/popen.c: Likewise.
34081 * manual/examples/rprintf.c: Likewise.
34082 * manual/examples/search.c: Likewise.
34083 * manual/examples/select.c: Likewise.
34084 * manual/examples/setjmp.c: Likewise.
34085 * manual/examples/sigh1.c: Likewise.
34086 * manual/examples/sigusr.c: Likewise.
34087 * manual/examples/stpcpy.c: Likewise.
34088 * manual/examples/strdupa.c: Likewise.
34089 * manual/examples/strftim.c: Likewise.
34090 * manual/examples/strncat.c: Likewise.
34091 * manual/examples/subopt.c: Likewise.
34092 * manual/examples/swapcontext.c: Likewise.
34093 * manual/examples/termios.c: Likewise.
34094 * manual/examples/testopt.c: Likewise.
34095 * manual/examples/testpass.c: Likewise.
34096 * manual/examples/timeval_subtract.c: Likewise.
34097
01ae168d
RM
34098 [BZ #13792]
34099 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34100 function to ...
34101 * manual/timeval_subtract.c.texi: ... here, new file.
34102
49efa33d
DM
341032012-03-02 David S. Miller <davem@davemloft.net>
34104
34105 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34106
28afd92d
JM
341072012-03-02 Joseph Myers <joseph@codesourcery.com>
34108
804360ed
JM
34109 [BZ #3976]
34110 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34111 (__sin): Save and restore rounding mode and use round-to-nearest
34112 for all computations.
34113 (__cos): Save and restore rounding mode and use round-to-nearest
34114 for all computations.
34115 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34116 <fenv.h>.
34117 (tan): Save and restore rounding mode and use round-to-nearest for
34118 all computations.
34119 * math/libm-test.inc (cos_test_tonearest): New function.
34120 (cos_test_towardzero): Likewise.
34121 (cos_test_downward): Likewise.
34122 (cos_test_upward): Likewise.
34123 (sin_test_tonearest): Likewise.
34124 (sin_test_towardzero): Likewise.
34125 (sin_test_downward): Likewise.
34126 (sin_test_upward): Likewise.
34127 (tan_test_tonearest): Likewise.
34128 (tan_test_towardzero): Likewise.
34129 (tan_test_downward): Likewise.
34130 (tan_test_upward): Likewise.
34131 (main): Call the new functions.
34132 * sysdeps/i386/fpu/libm-test-ulps: Update.
34133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34134
a6d06d7b
JM
34135 [BZ #10135]
34136 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34137 small n, then large n, before computing and testing k+n.
34138 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34140 Likewise.
34141 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34142 Likewise.
34143 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34144 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34145 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34146 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34149 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34150 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34151 * math/libm-test.inc (scalbn_test): Add more tests.
34152 (scalbln_test): Likewise.
34153
07e12bb3
JM
34154 * manual/filesys.texi (mode_t): Describe constraints on size and
34155 signedness, not exact equivalence to a particular type.
34156 (ino_t): Likewise.
34157 (ino64_t): Likewise.
34158 (dev_t): Likewise.
34159 (nlink_t): Likewise.
34160 (blkcnt_t): Likewise.
34161 (blkcnt64_t): Likewise.
34162 * manual/llio.texi (off_t): Likewise.
34163
28afd92d
JM
34164 [BZ #3976]
34165 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34166 (__ieee754_exp): Save and restore rounding mode and use
34167 round-to-nearest for all computations.
34168 * math/libm-test.inc (exp_test_tonearest): New function.
34169 (exp_test_towardzero): Likewise.
34170 (exp_test_downward): Likewise.
34171 (exp_test_upward): Likewise.
34172 (main): Call the new functions.
34173 * sysdeps/i386/fpu/libm-test-ulps: Update.
34174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175
b1eeb65d
CD
341762012-03-01 Chris Demetriou <cgd@google.com>
34177
34178 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34179 have predictable order.
34180
53362a4b
DM
341812012-03-01 David S. Miller <davem@davemloft.net>
34182
3c969083
DM
34183 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34184
759707de
DM
34185 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34186 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34187 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34188 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34189
dfdb8ff2
DM
34190 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34191 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34192 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34194 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34195 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34196 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34197 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34198 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34199
ead89f96
DM
34200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34201
7f66bd07
DM
34202 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34203 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34205
53362a4b
DM
34206 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34207 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34208 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34209 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34210 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34213 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34214 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34215 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34216 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34222 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34223 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34224 * sysdeps/sparc/elf/configure: Regenerated.
34225
7b1902cb
JM
342262012-03-01 Joseph Myers <joseph@codesourcery.com>
34227
bec039bc
JM
34228 * configure.in (AS, LD): Require binutils 2.20 or later.
34229 * configure: Regenerated.
34230 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34231 as required minimum version.
34232 * INSTALL: Regenerated.
34233
7b1902cb
JM
34234 [BZ #2541]
34235 [BZ #4108]
34236 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34237 before squaring exponent.
34238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34239 bottom long double and 27 bits of top long double before squaring
34240 exponent.
34241 * math/libm-test.inc (erfc_test): Add more tests.
34242 * sysdeps/i386/fpu/libm-test-ulps: Update.
34243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34245
f775c276
KT
342462012-03-01 Kai Tietz <ktietz@redhat.com>
34247
34248 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34249 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34250 containing bit-fields.
34251 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34252 * soft-fp/single.h (_FP_UNION_S): Likewise.
34253 * soft-fp/double.h (_FP_UNION_D): Likewise.
34254
5b8a4d4a
JM
342552012-02-29 Joseph Myers <joseph@codesourcery.com>
34256
0bab47b6
JM
34257 [BZ #13786]
34258 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34259 not include ../strcmp.S.
34260 [USE_AS_STRNCASECMP_L]: Likewise.
34261 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34262 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34263 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34264 (__strncasecmp_l_ia32): Define as alias to
34265 __strncasecmp_l_nonascii.
34266
0fcad3e2
JM
34267 [BZ #5794]
34268 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34269 * sysdeps/i386/fpu/libm-test-ulps: Update.
34270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34271
5b8a4d4a
JM
34272 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34274
8fdceb2e
JL
342752012-02-29 Jeff Law <law@redhat.com>
34276
34277 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34278 out of bounds read.
34279
1f393a11
MP
342802012-02-29 Marek Polacek <polacek@redhat.com>
34281
34282 [BZ #13706]
34283 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34284 * elf/Makefile: Add rules to run tst-unused-dep.out.
34285
8847f037
DM
342862012-02-28 David S. Miller <davem@davemloft.net>
34287
34288 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34289 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34292 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34293 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34294
169d7f11
JM
342952012-02-29 Joseph Myers <joseph@codesourcery.com>
34296
34297 * math/libm-test.inc (llround_test): Move one test from
34298 lround_test. Use TEST_f_L in moved test.
34299 (lround_test): Move misplaced test to llround_test. Add testcase
34300 from bug 2561.
34301
39adf059
UD
343022012-02-28 Ulrich Drepper <drepper@gmail.com>
34303
34304 * sysdeps/x86_64/fpu/e_expf.S: New file.
34305 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34306
71b5d1c5
SB
343072012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34308
34309 [BZ #13637]
34310 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34311 of remain_len that may cause incomplete multi-byte character and
34312 false match.
34313 * posix/bug-regex33.c: New file.
34314 * posix/Makefile (tests): Add bug-regex33.
34315
1f77f049
JM
343162012-02-28 Joseph Myers <joseph@codesourcery.com>
34317
34318 * manual/macros.texi: New file.
34319 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34320 * manual/libc.texinfo: Include macros.texi.
34321 * manual/creatute.texi: Likewise.
34322 * manual/install.texi: Likewise.
34323 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34324 @glibcadj{} in references to the GNU C Library.
34325 * manual/charset.texi: Likewise.
34326 * manual/conf.texi: Likewise.
34327 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34328 when not using those macros.
34329 * manual/creature.texi: Likewise.
34330 * manual/crypt.texi: Likewise.
34331 * manual/errno.texi: Likewise.
34332 * manual/filesys.texi: Likewise.
34333 * manual/header.texi: Likewise.
34334 * manual/install.texi: Likewise.
34335 * manual/intro.texi: Likewise.
34336 * manual/io.texi: Likewise.
34337 * manual/job.texi: Likewise.
34338 * manual/lang.texi: Likewise.
34339 * manual/libc.texiinfo: Likewise.
34340 * manual/llio.texi: Likewise.
34341 * manual/locale.texi: Likewise.
34342 * manual/maint.texi: Likewise.
34343 * manual/math.texi: Likewise.
34344 * manual/memory.texi: Likewise.
34345 * manual/message.texi: Likewise.
34346 * manual/nss.texi: Likewise.
34347 * manual/pattern.texi: Likewise.
34348 * manual/process.texi: Likewise.
34349 * manual/resource.texi: Likewise.
34350 * manual/search.texi: Likewise.
34351 * manual/setjmp.texi: Likewise.
34352 * manual/signal.texi: Likewise.
34353 * manual/socket.texi: Likewise.
34354 * manual/startup.texi: Likewise.
34355 * manual/stdio.texi: Likewise.
34356 * manual/string.texi: Likewise.
34357 * manual/sysinfo.texi: Likewise.
34358 * manual/syslog.texi: Likewise.
34359 * manual/terminal.texi: Likewise.
34360 * manual/time.texi: Likewise.
34361 * manual/users.texi: Likewise.
34362 * INSTALL: Regenerated.
34363 * NOTES: Regenerated.
d40c5d54 34364 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34365
450bf206
AS
343662012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34367
34368 * include/dirent.h: Include <dirstream.h> before
34369 <dirent/dirent.h>.
34370
741a235b
DM
343712012-02-28 David S. Miller <davem@davemloft.net>
34372
34373 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34374 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34375 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34377
d6b5aa58
DM
343782012-02-27 David S. Miller <davem@davemloft.net>
34379
1aff59a3
DM
34380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34382 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34383 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34384
d6b5aa58
DM
34385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34386 frame pointer instead of stack pointer relative arg slot.
34387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34388 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34389 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34390
433f48bf
CD
343912012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34392
34393 [BZ #3992]
34394 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34395
d674b76d
DM
343962012-02-27 David S. Miller <davem@davemloft.net>
34397
34398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34402 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34403 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34404 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34405 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34406
0e7727f7
JM
344072012-02-27 Joseph Myers <joseph@codesourcery.com>
34408
34409 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34410 later. Allow versions 5-9.
43be4ca2 34411 * configure: Regenerated.
0e7727f7
JM
34412 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34413 required minimum version and 4.6 as recommended version. Do not
34414 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34415 * INSTALL: Regenerated.
0e7727f7 34416
a78bc654
DM
344172012-02-27 David S. Miller <davem@davemloft.net>
34418
428d5830
DM
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34423 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34424 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34425 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34426 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34427
a78bc654
DM
34428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34429 manipulate bits before adding and subtracting TWO112[sx].
34430 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34431
4579f81c
RM
344322012-02-27 Roland McGrath <roland@hack.frob.com>
34433
36c8acb4
RM
34434 [BZ #13775]
34435 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34436 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34437 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34438 being in POSIX, because they are in 1003.1-2008.
34439
84ad622b
RM
34440 * rt/tst-aio.c: Include <fcntl.h>.
34441 * rt/tst-aio7.c: Likewise.
34442 * rt/tst-aio64.c: Likewise.
34443
4579f81c
RM
34444 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34445
abd923db
JM
344462012-02-27 Joseph Myers <joseph@codesourcery.com>
34447
34448 * manual/install.texi (--with-headers): Describe headers as
34449 interface headers, not private headers.
34450 (Specific advice for GNU/Linux systems): Describe use of headers
34451 from "make headers_install", not private headers from older
34452 kernels.
43be4ca2 34453 * INSTALL: Regenerated.
abd923db
JM
34454 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34455 Change to 2.6.19.
34456 * sysdeps/unix/sysv/linux/configure: Regenerated.
34457
6664049b
JM
34458 * manual/llio.texi (fclean): Remove documentation.
34459
bb8b6697
JM
34460 * manual/Makefile (libc-texi-generated): New variable. Include
34461 version.texi.
34462 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34463 $(libc-texi-generated), not duplicated list of files.
34464 (version.texi, stamp-version): New rules.
34465 (realclean): Remove $(libc-texi-generated), not individual files
34466 from that list. Do not remove dir-add.texinfo.
34467 * manual/libc.texinfo: Comment out uses of edition numbers and
34468 references to printed manual. Remove last-updated dates.
34469 (EDITION): Comment out.
34470 (ISBN): Likewise.
34471 (VERSION, UPDATED): Remove.
34472 (version.texi): Include.
34473
12e5c3b9
AS
344742012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34475
34476 * sysdeps/posix/spawni.c: Include <signal.h>.
34477 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34478 * sysdeps/pthread/aio_fsync.c: Likewise.
34479
4efeffc1 344802012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34481
ba63ba08
UD
34482 * conform/Makefile (tests): Run only when not cross-compiling and
34483 when fast-check is not defined.
34484
d94a4670
UD
34485 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34486 * conform/data/limits.h-data: Fixes for POSIX2008.
34487 * conform/run-conformtest.sh: Run all tests.
34488 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34489 headers.
34490 * include/bits/dlfcn.h: Likewise.
34491 * include/langinfo.h: Likewise.
34492 * include/monetary.h: Likewise.
34493 * include/sys/poll.h: Likewise.
34494
34495 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34496 for __USE_GNU.
34497 * posix/spawn.h: Define __need_sigset_t.
34498 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34499 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34500 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34501 to get sigevent_t only.
34502 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34503 only for __USE_GNU.
34504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34506 process_vm_writev only for __USE_GNU.
34507 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34508
34509 * conform/Makefile: For now ignore errors from run-conformtest.
34510 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34511 POSIX to avoid namespace pollution. Don't prepend headers.
34512 * conform/data/aio.h-data: Fixes for POSIX testing.
34513 * conform/data/fcntl.h-data: Likewise.
34514 * conform/data/glob.h-data: Likewise.
34515 * conform/data/grp.h-data: Likewise.
34516 * conform/data/pthread.h-data: Likewise.
34517 * conform/data/pwd.h-data: Likewise.
34518 * conform/data/signal.h-data: Likewise.
34519 * conform/data/spawn.h-data: Likewise.
34520 * conform/data/stdio.h-data: Likewise.
34521 * conform/data/stdlib.h-data: Likewise.
34522 * conform/data/stropts.h-data: Likewise.
34523 * conform/data/sys/mman.h-data: Likewise.
34524 * conform/data/sys/stat.h-data: Likewise.
34525 * conform/data/sys/types.h-data: Likewise.
34526 * conform/data/sys/wait.h-data: Likewise.
34527 * conform/data/time.h-data: Likewise.
34528 * conform/data/unistd.h-data: Likewise.
34529 * conform/data/utime.h-data: Likewise.
34530
34531 * io/sys/stat.h: fchmod was always in POSIX.
34532 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34533 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34534 * rt/aio.h: Define __need_timespec before including <time.h>.
34535 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34536 struct. Add forward declaration of pthread_attr_t and use it in
34537 sigevent.
34538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34540 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34541 always remove CLK_TCK definition.
34542
c20105c3
AS
345432012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34544
34545 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34546
7a270350
UD
345472012-02-25 Ulrich Drepper <drepper@gmail.com>
34548
31341567
UD
34549 * conform/run-conformtest.sh: New file.
34550 * conform/Makefile: Run run-conformtest for tests.
34551 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34552 support.
34553
34554 * conform/data/uchar.h-data: New file.
34555 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34556 * conform/data/arpa/inet.h-data: Likewise.
34557 * conform/data/assert.h-data: Likewise.
34558 * conform/data/complex.h-data: Likewise.
34559 * conform/data/cpio.h-data: Likewise.
34560 * conform/data/ctype.h-data: Likewise.
34561 * conform/data/dirent.h-data: Likewise.
34562 * conform/data/dlfcn.h-data: Likewise.
34563 * conform/data/errno.h-data: Likewise.
34564 * conform/data/fcntl.h-data: Likewise.
34565 * conform/data/float.h-data: Likewise.
34566 * conform/data/fmtmsg.h-data: Likewise.
34567 * conform/data/fnmatch.h-data: Likewise.
34568 * conform/data/ftw.h-data: Likewise.
34569 * conform/data/glob.h-data: Likewise.
34570 * conform/data/grp.h-data: Likewise.
34571 * conform/data/iconv.h-data: Likewise.
34572 * conform/data/inttypes.h-data: Likewise.
34573 * conform/data/langinfo.h-data: Likewise.
34574 * conform/data/libgen.h-data: Likewise.
34575 * conform/data/limits.h-data: Likewise.
34576 * conform/data/locale.h-data: Likewise.
34577 * conform/data/math.h-data: Likewise.
34578 * conform/data/monetary.h-data: Likewise.
34579 * conform/data/mqueue.h-data: Likewise.
34580 * conform/data/ndbm.h-data: Likewise.
34581 * conform/data/net/if.h-data: Likewise.
34582 * conform/data/netdb.h-data: Likewise.
34583 * conform/data/netinet/in.h-data: Likewise.
34584 * conform/data/nl_types.h-data: Likewise.
34585 * conform/data/poll.h-data: Likewise.
34586 * conform/data/pthread.h-data: Likewise.
34587 * conform/data/pwd.h-data: Likewise.
34588 * conform/data/regex.h-data: Likewise.
34589 * conform/data/sched.h-data: Likewise.
34590 * conform/data/search.h-data: Likewise.
34591 * conform/data/semaphore.h-data: Likewise.
34592 * conform/data/setjmp.h-data: Likewise.
34593 * conform/data/signal.h-data: Likewise.
34594 * conform/data/spawn.h-data: Likewise.
34595 * conform/data/stdarg.h-data: Likewise.
34596 * conform/data/stdio.h-data: Likewise.
34597 * conform/data/stdlib.h-data: Likewise.
34598 * conform/data/string.h-data: Likewise.
34599 * conform/data/strings.h-data: Likewise.
34600 * conform/data/stropts.h-data: Likewise.
34601 * conform/data/sys/ipc.h-data: Likewise.
34602 * conform/data/sys/mman.h-data: Likewise.
34603 * conform/data/sys/msg.h-data: Likewise.
34604 * conform/data/sys/resource.h-data: Likewise.
34605 * conform/data/sys/select.h-data: Likewise.
34606 * conform/data/sys/sem.h-data: Likewise.
34607 * conform/data/sys/shm.h-data: Likewise.
34608 * conform/data/sys/socket.h-data: Likewise.
34609 * conform/data/sys/stat.h-data: Likewise.
34610 * conform/data/sys/statvfs.h-data: Likewise.
34611 * conform/data/sys/time.h-data: Likewise.
34612 * conform/data/sys/timeb.h-data: Likewise.
34613 * conform/data/sys/times.h-data: Likewise.
34614 * conform/data/sys/types.h-data: Likewise.
34615 * conform/data/sys/uio.h-data: Likewise.
34616 * conform/data/sys/un.h-data: Likewise.
34617 * conform/data/sys/utsname.h-data: Likewise.
34618 * conform/data/sys/wait.h-data: Likewise.
34619 * conform/data/syslog.h-data: Likewise.
34620 * conform/data/tar.h-data: Likewise.
34621 * conform/data/termios.h-data: Likewise.
34622 * conform/data/utime.h-data: Likewise.
34623 * conform/data/utmpx.h-data: Likewise.
34624 * conform/data/varargs.h-data: Likewise.
34625 * conform/data/wchar.h-data: Likewise.
34626 * conform/data/wctype.h-data: Likewise.
34627 * conform/data/wordexp.h-data: Likewise.
34628
34629 * include/stropts.h: New file.
34630 * include/uchar.h: New file.
34631 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34632 * include/assert.h: Likewise.
34633 * include/ctype.h: Likewise.
34634 * include/dirent.h: Likewise.
34635 * include/dlfcn.h: Likewise.
34636 * include/fcntl.h: Likewise.
34637 * include/fnmatch.h: Likewise.
34638 * include/glob.h: Likewise.
34639 * include/grp.h: Likewise.
34640 * include/libio.h: Likewise.
34641 * include/locale.h: Likewise.
34642 * include/math.h: Likewise.
34643 * include/net/if.h: Likewise.
34644 * include/netdb.h: Likewise.
34645 * include/netinet/in.h: Likewise.
34646 * include/pthread.h: Likewise.
34647 * include/pwd.h: Likewise.
34648 * include/regex.h: Likewise.
34649 * include/sched.h: Likewise.
34650 * include/search.h: Likewise.
34651 * include/setjmp.h: Likewise.
34652 * include/signal.h: Likewise.
34653 * include/stdio.h: Likewise.
34654 * include/stdlib.h: Likewise.
34655 * include/string.h: Likewise.
34656 * include/sys/cdefs.h: Likewise.
34657 * include/sys/mman.h: Likewise.
34658 * include/sys/msg.h: Likewise.
34659 * include/sys/resource.h: Likewise.
34660 * include/sys/select.h: Likewise.
34661 * include/sys/socket.h: Likewise.
34662 * include/sys/stat.h: Likewise.
34663 * include/sys/statvfs.h: Likewise.
34664 * include/sys/time.h: Likewise.
34665 * include/sys/times.h: Likewise.
34666 * include/sys/uio.h: Likewise.
34667 * include/sys/utsname.h: Likewise.
34668 * include/sys/wait.h: Likewise.
34669 * include/termios.h: Likewise.
34670 * include/time.h: Likewise.
34671 * include/ulimit.h: Likewise.
34672 * include/unistd.h: Likewise.
34673 * include/utime.h: Likewise.
34674 * include/wchar.h: Likewise.
34675 * include/wctype.h: Likewise.
34676 * include/wordexp.h: Likewise.
34677
34678 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34679
7a270350
UD
34680 * time/time.h: TIME_UTC must be a macro.
34681 Make timespec_get available for ISO C11 only as well.
34682
7724defc
UD
346832012-02-24 Ulrich Drepper <drepper@gmail.com>
34684
34685 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34686 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34687
6b1d1d46
JM
346882012-02-24 Joseph Myers <joseph@codesourcery.com>
34689
34690 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34691
0f8bbd69
JM
346922012-02-24 Joseph Myers <joseph@codesourcery.com>
34693
34694 * manual/texinfo.tex: Update to version 2012-01-19.16.
34695
66ab80bc
JM
346962012-02-24 Joseph Myers <joseph@codesourcery.com>
34697
34698 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34699
74981cc5
RM
347002012-02-24 Roland McGrath <roland@hack.frob.com>
34701
ee968201
RM
34702 [BZ #13738]
34703 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34704 * manual/fdl-1.3.texi: New file.
34705 * manual/fdl-1.1.texi: File removed.
34706
74981cc5
RM
34707 [BZ #13738]
34708 * manual/libc.texinfo (FDL_VERSION): New @set.
34709 Use it for mention of FDL in cover text.
34710 (Documentation License): Use it in @include file name.
34711
7bb764bc
JM
347122012-02-22 Joseph Myers <joseph@codesourcery.com>
34713 Roland McGrath <roland@hack.frob.com>
34714
34715 [BZ #5461]
34716 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34717 not LONG_LONG_MAX and LONG_LONG_MIN.
34718 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34719 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34720 name.
34721 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34722
6cbeae47
JM
347232012-02-22 Joseph Myers <joseph@codesourcery.com>
34724
34725 [BZ #2547]
34726 [BZ #11365]
34727 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34728 manipulate bits before adding and subtracting TWO23[sx].
34729 * math/libm-test.inc (nearbyint_test): Add more tests.
34730
fe45ce09
JM
347312012-02-22 Joseph Myers <joseph@codesourcery.com>
34732
34733 [BZ #2548]
34734 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34735 bits before adding and subtracting TWO23[sx].
34736 * math/libm-test.inc (rint_test): Add more tests.
34737 (rint_test_tonearest): Likewise.
34738 (rint_test_towardzero): Likewise.
34739 (rint_test_downward): Likewise.
34740 (rint_test_upward: Likewise.
34741
ff3b3d82
JM
347422012-02-22 Joseph Myers <joseph@codesourcery.com>
34743
34744 [BZ #10110]
34745 * include/stdc-predef.h: New file. Extracted from features.h.
34746 * include/features.h: Include stdc-predef.h.
34747 * Makefile (headers): Add stdc-predef.h.
34748 * CONFORMANCE (Compiler limitations): Update.
34749
ef0aab35
JM
347502012-02-22 Joseph Myers <joseph@codesourcery.com>
34751
34752 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34753
58639409
DM
347542012-02-21 David S. Miller <davem@davemloft.net>
34755
34756 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34757 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34758
c0e70b25
DM
347592012-02-20 David S. Miller <davem@davemloft.net>
34760
34761 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34762 using a normal save/restore sequence, rather than allocating a
34763 dummy stack frame just to store a frame pointer and restore.
34764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34765
fb06851d
JM
347662012-02-21 Joseph Myers <joseph@codesourcery.com>
34767
34768 * manual/install.texi: Fix stray word in line-wrapped comment.
34769
7a8b71c3
DM
347702012-02-20 David S. Miller <davem@davemloft.net>
34771
d510c123
DM
34772 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34773 both binutils and gcc support GOTDATA.
34774
0722d7c2
DM
34775 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34776 "rd %pc" in the PIC register setup sequences.
34777
3d2b3019
DM
34778 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34779 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34780 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34781 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34784 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34787 (SYSCALL_ERROR_HANDLER): Likewise.
34788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34789 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34791 (SYSCALL_ERROR_HANDLER): Likewise.
34792
c80098a9
DM
34793 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34794 (HAVE_GCC_GOTDATA): New.
34795 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34796 relocation support in both binutils and gcc.
34797 * sysdeps/sparc/elf/configure: Regenerate.
34798
3a2545a0
DM
34799 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34800 * sysdeps/sparc/sparc32/elf/configure: Delete.
34801 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34802 * sysdeps/sparc/sparc64/elf/configure: Delete.
34803 * sysdeps/sparc/elf/configure.in: New file.
34804 * sysdeps/sparc/elf/configure: Generate.
34805
7a8b71c3
DM
34806 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34807 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34808 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34809 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34810 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34811
f1e86fca
JM
348122012-02-21 Joseph Myers <joseph@codesourcery.com>
34813
34814 * manual/install.texi: Do not mention specific glibc version
34815 numbers.
34816 * manual/libc.texinfo (VERSION, UPDATED): Update.
34817 (@copying): Use @copyright{} and range of years.
34818
0e7dfaef
JM
348192012-02-21 Joseph Myers <joseph@codesourcery.com>
34820
34821 [BZ #13695]
34822 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34823 [crti.S not in sysdirs] (generated): Do not append.
34824 [crti.S not in sysdirs] (omit-deps): Likewise.
34825 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34826 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34827 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34828 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34829 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34830 Likewise.
34831 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34832 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34833 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34834 * csu/defs.awk: Remove file.
34835 * sysdeps/generic/initfini.c: Likewise.
34836 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34837 variable.
34838 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34839 Likewise.
34840
599af3ca
JM
348412012-02-20 Joseph Myers <joseph@codesourcery.com>
34842
34843 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34844 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34845 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34846 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34848 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34849 <bits/epoll.h>.
34850 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34851 (__EPOLL_PACKED): Define to empty if not defined by
34852 <bits/epoll.h>.
34853 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34855 bits/epoll.h.
34856
0e499750
JM
348572012-02-20 Joseph Myers <joseph@codesourcery.com>
34858
34859 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34860 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34861 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34862 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34863 <bits/timerfd.h>.
34864 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34866 bits/timerfd.h.
34867
5ad91f6e
JM
348682012-02-20 Joseph Myers <joseph@codesourcery.com>
34869
34870 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34871 in C locale.
34872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34873 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34876
06b99b02
AJ
348772012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34878
34879 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34880 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34881
7638c0fd
AS
348822012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34883
34884 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34885 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34886 defined.
34887 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34888 Likewise.
34889 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34890 entry for 2.16.
34891
92221550
AJ
348922012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34893
34894 * math/w_acos.c: Use non-signaling floating-point comparisons.
34895 * math/w_acosf.c: Likewise.
34896 * math/w_acosh.c: Likewise.
34897 * math/w_acoshf.c: Likewise.
34898 * math/w_acoshl.c: Likewise.
34899 * math/w_acosl.c: Likewise.
34900 * math/w_asin.c: Likewise.
34901 * math/w_asinf.c: Likewise.
34902 * math/w_asinl.c: Likewise.
34903 * math/w_atanh.c: Likewise.
34904 * math/w_atanhf.c: Likewise.
34905 * math/w_atanhl.c: Likewise.
34906 * math/w_exp2.c: Likewise.
34907 * math/w_exp2f.c: Likewise.
34908 * math/w_exp2l.c: Likewise.
34909 * math/w_j0.c: Likewise.
34910 * math/w_j0f.c: Likewise.
34911 * math/w_j0l.c: Likewise.
34912 * math/w_j1.c: Likewise.
34913 * math/w_j1f.c: Likewise.
34914 * math/w_j1l.c: Likewise.
34915 * math/w_jn.c: Likewise.
34916 * math/w_jnf.c: Likewise.
34917 * math/w_log.c: Likewise.
34918 * math/w_log10.c: Likewise.
34919 * math/w_log10f.c: Likewise.
34920 * math/w_log10l.c: Likewise.
34921 * math/w_log2.c: Likewise.
34922 * math/w_log2f.c: Likewise.
34923 * math/w_log2l.c: Likewise.
34924 * math/w_logf.c: Likewise.
34925 * math/w_logl.c: Likewise.
34926 * math/w_sqrt.c: Likewise.
34927 * math/w_sqrtf.c: Likewise.
34928 * math/w_sqrtl.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34933 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34934
ebaf36eb
JM
349352012-02-19 Joseph Myers <joseph@codesourcery.com>
34936
34937 [BZ #9739]
34938 * manual/string.texi (strnlen): Use correct parameter name in
34939 equivalent expression.
34940
71c254a6
JM
349412012-02-19 Joseph Myers <joseph@codesourcery.com>
34942
34943 [BZ #11174]
34944 * manual/users.texi (seteuid): Consistently use neweuid for
34945 argument name.
34946
16d2c631
JM
349472012-02-19 Joseph Myers <joseph@codesourcery.com>
34948
34949 [BZ #13704]
34950 * manual/nss.texi (Services in the NSS configuration): Correct
34951 list of services in example configuration file.
34952
cd837b09
NB
349532012-02-19 Nick Bowler <nbowler@draconx.ca>
34954
34955 [BZ #11322]
34956 * manual/arith.texi: Remove statements about negative zero
34957 behaving identically to zero.
34958
02c4bbad
JM
349592012-02-18 Joseph Myers <joseph@codesourcery.com>
34960
34961 [BZ #5993]
34962 * manual/install.texi: Do not document upgrading from libc5.
34963
366842e7
JM
349642012-02-18 Joseph Myers <joseph@codesourcery.com>
34965
34966 [BZ #4596]
34967 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34968
dd54084d
DM
349692012-02-18 David S. Miller <davem@davemloft.net>
34970
34971 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34972 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34973 %o7 across the call.
34974 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34975 instead.
34976 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34977 SETUP_PIC_REG_LEAF.
34978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34979 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34980 * sysdeps/sparc/crtn.S: Likewise.
34981
2bcc53a3
UD
349822012-02-17 Ulrich Drepper <drepper@gmail.com>
34983
34984 * aout/Makefile: Remove.
34985
09c093b5
RK
349862012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34987
34988 [BZ #13058]
34989 * manual/examples/argp-ex1.c (main): Format definition in GNU
34990 style.
34991 * manual/examples/argp-ex2.c (main): Likewise.
34992 * manual/examples/argp-ex3.c (main): Likewise.
34993 * manual/examples/argp-ex4.c (main): Likewise.
34994 * manual/examples/longopt.c (main): Use new-style prototype
34995 definition.
34996 * manual/examples/strncat.c (main): Specify return type and use
34997 (void) for arguments.
34998 * manual/examples/subopt.c (main): Use char **argv argument.
34999
2ee633a2
JM
350002012-02-17 Joseph Myers <joseph@codesourcery.com>
35001
35002 [BZ #5077]
35003 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35004 rounding modes.
35005
0520adde
FB
350062012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35007
35008 [BZ #6907]
35009 * manual/string.texi (strchr): Change when strchrnul is
35010 recommended.
35011
3f4081cd
DGM
350122012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35013
35014 [BZ #174]
35015 * manual/locale.texi (setlocale): Document LOCPATH.
35016
d1b10e78
JM
350172012-02-17 Joseph Myers <joseph@codesourcery.com>
35018
35019 [BZ #10210]
35020 * manual/process.texi (execle): Move @dots{} before last argument.
35021
79c6869c
PB
350222012-02-17 Paul Bolle <pebolle@tiscali.nl>
35023
35024 [BZ #12047]
35025 * manual/charset.texi (Generic Charset Conversion): Fix typo
35026 (LC_TYPE -> LC_CTYPE).
35027
cc6e48bc
NB
350282012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35029
35030 [BZ #5805]
35031 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35032 (scalbnf): Likewise.
35033 (scalbnl): Likewise.
35034 (scalbln): Likewise.
35035 (scalblnf): Likewise.
35036 (scalblnl): Likewise.
35037 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35038 (vwarnx): Likewise.
35039 (verr): Likewise.
35040 (verrx): Likewise.
35041 * manual/filesys.texi (telldir): Use braces around return type.
35042 * manual/llio.texi (mmap): Add space after comma.
35043 (mmap64): Likewise.
35044 * manual/math.texi (jn): Use @var{} on parameter names.
35045 (jnf): Likewise.
35046 (jnl): Likewise.
35047 (yn): Likewise.
35048 (ynf): Likewise.
35049 (ynl): Likewise.
35050 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35051 line.
35052 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35053 "...".
35054 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35055 (sched_get_priority_max): Likewise.
35056 * manual/signal.texi (sigvec): Add space after comma.
35057 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35058 names.
35059 (if_indextoname): Likewise.
35060 (if_freenameindex): Likewise.
35061 (sendto): Use ',' instead of '.' in prototype.
35062 * manual/startup.texi (syscall): Use @dots{} instead of literal
35063 "...".
35064 * manual/stdio.texi (__fpending): Separate initial words of
35065 paragraph from @deftypefun line.
35066 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35067 "...".
35068 (vsyslog): Use @var{} on parameter names.
35069 * manual/terminal.texi (stty): Use @var{} on parameter names.
35070 * manual/users.texi (getutmp): Use @var{} on parameter names.
35071 (getutmpx): Likewise.
35072
5b23062f
JM
350732012-02-17 Joseph Myers <joseph@codesourcery.com>
35074
35075 [BZ #6884]
35076 * manual/stdio.texi (fopen): Fix typos in description of
35077 ",ccs=STRING".
35078
8dee4833
AJ
350792012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35080
35081 [BZ #4026]
35082 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35083 get clock_id definition.
35084
9078ce93
TS
350852012-02-17 Thomas Schwinge <thomas@schwinge.name>
35086
35087 [BZ #4822]
35088 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35089 (madvise): Cast every argument to void on its own.
35090
3835c55f
JM
350912012-02-17 Joseph Myers <joseph@codesourcery.com>
35092
35093 [BZ #9902]
35094 * manual/startup.texi (Exit Status): Fix typo.
35095
35c47e37
JM
350962012-02-17 Joseph Myers <joseph@codesourcery.com>
35097
35098 [BZ #10140]
35099 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35100 * manual/examples/argp-ex2.c: Likewise.
35101 * manual/examples/argp-ex3.c: Likewise.
35102
e3b69ca7
RH
351032012-02-16 Richard Henderson <rth@redhat.com>
35104
35105 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35106 * sysdeps/s390/s390-32/initfini.c: Remove.
35107 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35108 * sysdeps/s390/s390-64/initfini.c: Remove.
35109
df83af67
KK
351102012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35111
35112 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35113 compiler output for sysdeps/generic/initfini.c.
35114 * sysdeps/sh/elf/initfini.c: Remove file.
35115
f63f3380
DM
351162012-02-16 David S. Miller <davem@davemloft.net>
35117
fb59b3a4
DM
35118 [BZ #11494]
35119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35120
f63f3380
DM
35121 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35122 * sysdeps/sparc/crti.S: New file.
35123 * sysdeps/sparc/crtn.S: New file.
35124 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35125 * sysdeps/sparc/sparc64/Makefile: Likewise.
35126
df6a4a4a
MF
351272012-02-15 Mike Frysinger <vapier@gentoo.org>
35128
6dd8f3dc 35129 [BZ #3335]
df6a4a4a
MF
35130 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35131
1cac7236
RM
351322012-02-15 Roland McGrath <roland@hack.frob.com>
35133
d2c736f8
RM
35134 [BZ #4822]
35135 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35136
1cac7236
RM
35137 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35138 (write, read, close): Likewise.
35139 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35140
8e475601
JM
351412012-02-15 Joseph Myers <joseph@codesourcery.com>
35142
35143 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35144 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35145 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35146 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35147 <bits/signalfd.h>.
35148 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35150 bits/signalfd.h.
35151
ed656b40
MP
351522012-02-14 Marek Polacek <polacek@redhat.com>
35153
35154 * sysdeps/x86_64/crti.S: New file.
35155 * sysdeps/x86_64/crtn.S: New file.
35156 * sysdeps/x86_64/elf/initfini.c: Remove file.
35157
2a979d3a
JM
351582012-02-13 Joseph Myers <joseph@codesourcery.com>
35159
35160 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35161 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35162 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35163 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35164 <bits/inotify.h>.
35165 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35167 bits/inotify.h.
35168
2a418ac3
JM
351692012-02-13 Joseph Myers <joseph@codesourcery.com>
35170
35171 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35172 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35173 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35174 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35175 <bits/eventfd.h>.
35176 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35178 bits/eventfd.h.
35179
fb779be7
TS
351802012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35181
e19e83c5
RM
35182 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35183 __feraiseexcept instead of feraiseexcept.
7c35ffed 35184
fb779be7
TS
35185 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35186 nanosleep invocations.
35187 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35188 strings, and add error checking for a nanosleep invocations.
35189
59ba27a6
PE
351902012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35191
35192 Replace FSF snail mail address with URLs, as per GNU coding standards.
35193 Most of the snail mail addresses were wrong anyway, and omitting
35194 them makes the source code easier to maintain. Almost all of the
35195 changes are to license notices and to locale LC_IDENTIFICATION
35196 addresses, except for this one:
35197 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35198 not its snail mail address.
35199
57b957eb
RH
352002012-02-09 Richard Henderson <rth@twiddle.net>
35201
af850b1c
RH
35202 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35203 of kernel-features.h.
35204
57b957eb
RH
35205 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35206
6b73181a
MP
352072012-02-08 Marek Polacek <polacek@redhat.com>
35208
35209 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35210 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35211 * sysdeps/gnu/_G_config.h: Likewise.
35212 * sysdeps/generic/_G_config.h: Likewise.
35213
26ecc33a
AS
352142012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35215
6c6dbc63
AS
35216 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35217 tests.
35218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35219
e216c012
AS
35220 * sysdeps/powerpc/powerpc32/crti.S: New file.
35221 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35222 * sysdeps/powerpc/powerpc64/crti.S: New file.
35223 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35224
26ecc33a
AS
35225 * Makeconfig (have-initfini): Don't set.
35226 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35227 * configure.in (nopic_initfini): Don't substitute.
35228 * config.h.in (HAVE_INITFINI): Don't #undef.
35229 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35230 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35231
3add8e13
JM
352322012-02-08 Joseph Myers <joseph@codesourcery.com>
35233
35234 Support crti.S and crtn.S provided directly by architectures.
35235 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35236 [crti.S in sysdirs] (omit-deps): Likewise.
35237 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35238 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35239 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35240 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35241 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35242 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35243 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35244 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35245 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35246 compiler output for sysdeps/generic/initfini.c.
35247 * sysdeps/i386/elf/Makefile: Remove file.
35248 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35249
a22f12b4
MP
352502012-02-07 Marek Polacek <polacek@redhat.com>
35251
35252 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35253 * sysdeps/gnu/_G_config.h: Likewise.
35254 * sysdeps/mach/hurd/_G_config.h: Likewise.
35255
148cf100
MP
352562012-02-07 Marek Polacek <polacek@redhat.com>
35257
35258 * math/Makefile (tests): Add tst-CMPLX2.
35259 * math/tst-CMPLX2.c: New file.
35260
cfdc0dd7
AS
352612012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35262
84ba42c4
AS
35263 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35264
cfdc0dd7
AS
35265 * math/libm-test.inc (jn_test): Add missing L suffix.
35266
622c86f4
MP
352672012-02-06 Marek Polacek <polacek@redhat.com>
35268
35269 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35270 * sysdeps/i386/fpu/e_powf.S: Likewise.
35271 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35272 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35273 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35274 * sysdeps/i386/fpu/e_pow.S: Likewise.
35275 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35276 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35277 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35278 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35279 * sysdeps/i386/fpu/e_log2.S: Likewise.
35280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35281 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35282 * sysdeps/i386/fpu/e_powl.S: Likewise.
35283 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35284 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35285 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35286 * sysdeps/i386/fpu/e_logl.S: Likewise.
35287 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35288 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35289 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35290 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35291 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35293 * sysdeps/i386/fpu/e_log.S: Likewise.
35294 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35296 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35297 * sysdeps/i386/fpu/e_logf.S: Likewise.
35298 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35299 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35300 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35301 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35302 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35303 * sysdeps/i386/fpu/e_log10.S: Likewise.
35304 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35305 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35306 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35307 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35308 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35309 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35310 * sysdeps/i386/asm-syntax.h: Likewise.
35311 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35313 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35314 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35315 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35316 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35317 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35318 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35320 * sysdeps/powerpc/sysdep.h: Likewise.
35321 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35322 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35323
d4a54ac6
JM
353242012-02-06 Joseph Myers <joseph@codesourcery.com>
35325
35326 [BZ #411]
35327 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35328
314054ea
JM
353292012-02-06 Joseph Myers <joseph@codesourcery.com>
35330
35331 * sysdeps/i386/sysdep.h: Include <features.h>.
35332 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35333 version.
35334
d8e0ca50
JM
353352012-02-05 Joseph Myers <joseph@codesourcery.com>
35336
35337 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35338 Define.
35339 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35340 LOAD_PIC_REG_STR.
35341
b1da7dd9
JM
353422012-02-03 Joseph Myers <joseph@codesourcery.com>
35343
35344 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35345 (SETUP_PIC_REG): Use GET_PC_THUNK.
35346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35347 macro.
35348
9a1d9254
JM
353492012-02-03 Joseph Myers <joseph@codesourcery.com>
35350
35351 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35352 for non-PIC compilation.
35353 (SETUP_PIC_REG): Add .p2align directive.
35354 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35355 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35356 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35358 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35359 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35360 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35362 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35363 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35364 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35365 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35366 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35367 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35368 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35369 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35370 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35371 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35372 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35373 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35374 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35376 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35377 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35380 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35382 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35383 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35384 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35385 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35386 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35387 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35388 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35389 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35390 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35391 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35392 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35393 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35394 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35395
65dc3b75
JM
353962012-02-03 Joseph Myers <joseph@codesourcery.com>
35397
35398 * math/tst-CMPLX.c: Include <stdio.h>.
35399
d55bf177
JM
354002012-01-31 Joseph Myers <joseph@codesourcery.com>
35401
35402 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35403 float.
35404 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35405 * sysdeps/sparc/bits/mathdef.h: Likewise.
35406
69db4f8f
MP
354072012-01-31 Marek Polacek <polacek@redhat.com>
35408
35409 * libio/libio.h: Don't define _PARAMS.
35410 * locale/programs/config.h: Don't define PARAMS.
35411 * stdlib/strtol_l.c: Likewise.
35412 (__strtol_l): Remove PARAMS from the prototype.
35413
41b81892
UD
354142012-01-31 Ulrich Drepper <drepper@gmail.com>
35415
3b49edc0
UD
35416 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35417 names. Just use the correct names. Remove unnecessary wrapper
35418 functions.
35419 * malloc/arena.c: Likewise.
35420 * malloc/hooks.c: Likewise.
35421
41b81892
UD
35422 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35423 ARENA_TEST says not to. Simplify test for creation of a new arena.
35424 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35425
27a25b6e
UD
354262012-01-30 Ulrich Drepper <drepper@gmail.com>
35427
35428 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35429 into tail calls.
35430 (update_get_addr): New function.
35431 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35432 GET_ADDR_MODULE parameter.
35433
c8a89e7d
JM
354342012-01-30 Joseph Myers <joseph@codesourcery.com>
35435
35436 * crypt/cert.c: Remove __STDC__ conditionals.
35437 * crypt/crypt-entry.c: Likewise.
35438 * crypt/crypt_util.c: Likewise.
35439 * libio/filedoalloc.c: Likewise.
35440 * libio/fileops.c: Likewise.
35441 * libio/genops.c: Likewise.
35442 * libio/iofclose.c: Likewise.
35443 * libio/iofdopen.c: Likewise.
35444 * libio/iofopen.c: Likewise.
35445 * libio/iofopen64.c: Likewise.
35446 * libio/iogetdelim.c: Likewise.
35447 * libio/iopopen.c: Likewise.
35448 * libio/obprintf.c: Likewise.
35449 * libio/oldfileops.c: Likewise.
35450 * libio/oldiofclose.c: Likewise.
35451 * libio/oldiofdopen.c: Likewise.
35452 * libio/oldiofopen.c: Likewise.
35453 * libio/oldiopopen.c: Likewise.
35454 * libio/wfiledoalloc.c: Likewise.
35455 * libio/wgenops.c: Likewise.
35456 * locale/programs/xmalloc.c: Likewise.
35457 * misc/syslog.c: Likewise.
35458 * stdio-common/xbug.c: Likewise.
35459 * string/memchr.c: Likewise.
35460 * string/memcmp.c: Likewise.
35461 * string/memrchr.c: Likewise.
35462 * string/rawmemchr.c: Likewise.
35463 * sysdeps/posix/getcwd.c: Likewise.
35464 * time/strftime_l.c: Likewise.
35465
3b100462
JM
354662012-01-30 Joseph Myers <joseph@codesourcery.com>
35467
35468 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35469 * config.make.in (config-cflags-sse2avx): Define.
35470 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35471 Fix typo.
35472
607998af
CM
354732012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35474
35475 * scripts/config.guess: Update from upstream config git repository.
35476 * scripts/config.sub: Likewise.
35477
3601428f
CM
354782012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35479
3ac8b282
CM
35480 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35481 (EM_NUM): Update.
35482 (R_TILEPRO_*, R_TILEGX_*): New macros.
35483
e034841e
CM
35484 * scripts/firstversions.awk: Fix bug in version range handling.
35485
540d7568
CM
35486 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35487
3601428f
CM
35488 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35489
463de862
CM
35490 * include/sys/epoll.h: New file.
35491 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35492 libc_hidden_def.
35493
73139a76
UD
354942012-01-28 Ulrich Drepper <drepper@gmail.com>
35495
96bc5b45
UD
35496 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35497 Avoid unnecessary __WORDSIZE == 64 test.
35498 (fmaxf): Use VEX format if possible.
35499 (fmax): Likewise.
35500 (fminf): Likewise.
35501 (fmin): Likewise.
35502
56f6f6a2
UD
35503 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35504 * math/math_private.h: Remove libc_fegetround* and
35505 libc_fesetround*.
35506 * sysdeps/i386/configure.in: Check for -msse2avx.
35507 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35508 also if SSE2AVX is defined.
35509 Remove libc_fegetround* and libc_fesetround*.
35510 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35511 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35513 of HAS_YMM_USABLE.
35514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35515 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35519
73139a76
UD
35520 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35521
d73f93a4
AZ
355222012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35523
35524 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35525 size is not set.
35526 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35527
6ee65ed6
UD
355282012-01-27 Ulrich Drepper <drepper@gmail.com>
35529
35530 [BZ #13618]
35531 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35532 relocation.
35533 * Makeconfig (libm): Define.
35534 * elf/Makefile: Add rules to build and run tst-relsort1.
35535 * elf/tst-relsort1.c: New file.
35536 * elf/tst-relsort1mod1.c: New file.
35537 * elf/tst-relsort1mod2.c: New file.
35538
8db21882
JM
355392012-01-27 Joseph Myers <joseph@codesourcery.com>
35540
35541 * math/s_ldexp.c: Remove __STDC__ conditionals.
35542 * math/s_ldexpf.c: Likewise.
35543 * math/s_ldexpl.c: Likewise.
35544 * math/s_nextafter.c: Likewise.
35545 * math/s_nexttowardf.c: Likewise.
35546 * math/s_significand.c: Likewise.
35547 * math/s_significandf.c: Likewise.
35548 * math/s_significandl.c: Likewise.
35549 * math/w_jnl.c: Likewise.
35550 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35551 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35552 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35553 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35554 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35569 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35570 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35571 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35572 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35574 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35575 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35576 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35577 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35578 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35579 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35580 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35582 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35584 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35586 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35590 * sysdeps/ieee754/k_standard.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35652 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35653 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35654 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35657 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35664 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35665 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35666 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35668 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35669 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35670 * sysdeps/ieee754/s_matherr.c: Likewise.
35671 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35672 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35673 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35675
965a54a4
JM
356762012-01-26 Joseph Myers <joseph@codesourcery.com>
35677
35678 * crypt/md5.h: Remove __STDC__ conditionals.
35679 * libio/libioP.h: Likewise.
35680 * locale/programs/config.h: Likewise.
35681 * sysdeps/generic/sysdep.h: Likewise.
35682 * sysdeps/i386/asm-syntax.h: Likewise.
35683 * sysdeps/s390/asm-syntax.h: Likewise.
35684 * sysdeps/unix/sysdep.h: Likewise.
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35687
7071ad79
JM
356882012-01-26 Joseph Myers <joseph@codesourcery.com>
35689
35690 * libio/libio.h: Remove __STDC__ conditionals.
35691 * malloc/obstack.h: Likewise.
35692 * math/complex.h: Likewise.
35693 * math/math.h: Likewise.
35694 * sysdeps/generic/_G_config.h: Likewise.
35695 * sysdeps/gnu/_G_config.h: Likewise.
35696 * sysdeps/mach/hurd/_G_config.h: Likewise.
35697 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35698 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35699 * sysdeps/sparc/bits/mathdef.h: Likewise.
35700
afc5ed09
UD
357012012-01-26 Ulrich Drepper <drepper@gmail.com>
35702
35703 [BZ #13583]
35704 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35705 Clean up HAS_* macros.
afc5ed09 35706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35707 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35708 possible.
35709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35710 HAS_AVX.
35711 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35712 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35716
bdb6de1d
JM
357172012-01-25 Joseph Myers <joseph@codesourcery.com>
35718
35719 * elf/tst-unique3.cc (gets): Remove declaration.
35720 * elf/tst-unique3lib.cc (gets): Likewise.
35721 * elf/tst-unique3lib2.cc (gets): Likewise.
35722 * elf/tst-unique4.cc (gets): Likewise.
35723
b15549e6
UD
357242012-01-24 Ulrich Drepper <drepper@gmail.com>
35725
35726 * include/stdio.h: Add C++ protection. Add gets declarations and
35727 definitions.
35728 * debug/tst-chk1.c: Don't declare gets here.
35729 * stdio-common/tst-gets.c: Likewise.
35730
a037381f
JM
357312012-01-24 Joseph Myers <joseph@codesourcery.com>
35732
35733 * posix/glob: Remove directory.
35734
f1d4aa75
JM
357352012-01-24 Joseph Myers <joseph@codesourcery.com>
35736
35737 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35738
81c0c964
PT
357392012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35740
35741 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35742 of the non-standard EPFNOSUPPORT.
35743
0ea698ae
ST
357442011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35745
35746 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35747 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35748 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35749
d220b117
UD
357502012-01-21 Ulrich Drepper <drepper@gmail.com>
35751
35752 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35753
3e1aa84e
UD
357542012-01-20 Ulrich Drepper <drepper@gmail.com>
35755
35756 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35757 transient errors.
35758 * nscd/grpcache.c (cache_addgr): Likewise.
35759 * nscd/hstcache.c (cache_addhst): Likewise.
35760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35761 * nscd/pwdcache.c (cache_addpw): Likewise.
35762 * nscd/servicescache.c (cache_addserv): Likewise.
35763
400aa020
UD
357642012-01-16 Ulrich Drepper <drepper@gmail.com>
35765
d77e7869
UD
35766 * malloc/malloc.c: Various cleanups.
35767 * malloc/hooks.c: Likewise.
35768
400aa020
UD
35769 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35770 * stdlib/bug-fmtmsg1.c: New file.
35771
35772 * stdlib/fmtmsg.c (init): Add missing unlock.
35773 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35774
e0a309cf
MP
357752012-01-12 Marek Polacek <polacek@redhat.com>
35776
35777 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35778 and _GNU_SOURCE.
35779
929d11c7
WS
357802012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35781
35782 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35783 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35784 macro to ensure uniqueness of label name.
35785 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35786 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35787
41d0e869
UD
357882012-01-11 Ulrich Drepper <drepper@gmail.com>
35789
0cc5ed3b
UD
35790 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35791
41d0e869
UD
35792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35793 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35794 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35796
a47a831a
UD
357972012-01-10 Ulrich Drepper <drepper@gmail.com>
35798
daa891c0
UD
35799 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35800
35801 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35802 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35804
e58ef0f2
UD
35805 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35806
a47a831a 35807 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35808 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35809 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35811
35812 * math/bits/math-finite.h: Add ldexp support.
35813
a0bfc9c7
MP
358142012-01-10 Marek Polacek <polacek@redhat.com>
35815
35816 * locale/programs/localedef.h (show_archive_content): Add noreturn
35817 attribute.
35818
d6e97a1d
UD
358192012-01-09 Ulrich Drepper <drepper@gmail.com>
35820
35821 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35822
d5835c26
UD
358232012-01-08 Ulrich Drepper <drepper@gmail.com>
35824
e5f484c6
UD
35825 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35826
d5835c26
UD
35827 * io/Makefile (headers): Add bits/poll2.h.
35828
d1f741e9
WS
358292011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35830
35831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35832 typo #include statement.
35833
ec09c1c4
UD
358342012-01-08 Ulrich Drepper <drepper@gmail.com>
35835
35836 * include/sys/cdefs.h: Define __attribute_alloc_size.
35837 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35838 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35839 * elf/pldd.c: Likewise.
35840 * iconv/iconv_charmap.c: Likewise.
35841 * iconv/iconvconfig.c: Likewise.
35842 * iconv/strtab.c: Likewise.
35843 * locale/programs/locale.c: Likewise.
35844 * locale/programs/localedef.h: Likewise.
35845 * locale/programs/simple-hash.c: Likewise.
35846 * nscd/nscd.h: Likewise.
35847 * nss/makedb.c: Likewise.
35848 * sysdeps/generic/ldconfig.h: Likewise.
35849 * locale/programs/localedef.c: Remove xmalloc prototype.
35850 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35851
20b38e03
PP
358522012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35853
35854 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35855 appropriate.
35856
a0da5fe1
UD
358572012-01-08 Ulrich Drepper <drepper@gmail.com>
35858
1d5a644a 35859 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35860 * math/tst-CMPLX.c: New file.
1d5a644a 35861
8784a6db
UD
35862 * math/complex.h (CMPLXL): Fix typo.
35863
d9a216c0
UD
35864 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35865 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35866 GLIBC_2.16.
35867 * debug/tst-chk1.c: Add poll and ppoll tests.
35868 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35869 * include/sys/poll.h: Add hidden proto for ppoll.
35870 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35871 * sysdeps/mach/hurd/ppoll.c: Likewise.
35872 * io/ppoll.c: Likewise.
35873 * debug/poll_chk.c: New file.
35874 * debug/ppoll_chk.c: New file.
35875 * include/bits/poll2.h: New file.
35876 * io/bits/poll2.h: New file.
35877
ac097f5c
UD
35878 [BZ #1350]
35879 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35880
2119dcfa
UD
35881 * configure.in: static is always set to yes. Remove.
35882 * config.make.in: Don't set build-static.
35883 * Makeconfig: Remove use of build-static.
35884 * dlfcn/Makefile: Likewise.
35885 * elf/Makefile: Likewise.
35886 * math/Makefile: Likewise.
35887 * misc/Makefile: Likewise.
35888 * nptl/Makefile: Likewise.
35889 * sysdeps/mach/hurd/Makefile: Likewise.
35890
121766a9
UD
35891 * configure.in: PWD_P is not used anymore.
35892 * config.make.in: Remove PWD_P entry.
35893
51a1d39c 35894 * configure.in: Remove last remnants of RANLIB.
8720d066 35895 No need to check for signed size_t anymore.
215f4bdc
UD
35896 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35897 and IA-64.
3857022a 35898 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35899 * aclocal.m4: Likewise.
35900
d3ed7225
UD
35901 * wcsmbs/mbrtoc16.c: Implement using towc function.
35902 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35903 * wcsmbs/wcsmbsload.c: Likewise.
35904 * iconv/gconv_simple.c: Likewise.
35905 * iconv/gconv_int.h: Likewise.
35906 * iconv/gconv_builtin.h: Likewise.
35907 * iconv/iconv_prog.c: Remove CHAR16 handling.
35908
35909 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35910
35911 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35912
a0da5fe1
UD
35913 * configure.in: Remove --with-elf and --enable-bounded options.
35914 Dont set base_machine for ia64. More non-ELF conditions removed.
35915 Remove testing and setting of leading underscore information.
35916 * config.make.in (build-bounded): Set to no.
35917 * config.h.in: Remove NO_UNDERSCORES entry.
35918 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35919 them.
35920 * csu/start.c: Remove !NO_UNDERSCORE code.
35921 * locale/localeinfo.h: Likewise.
35922 * sysdeps/generic/machine-gmon.h: Likewise.
35923 * sysdeps/generic/sysdep.h: Likewise.
35924 * sysdeps/i386/sysdep.h: Likewise.
35925 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35926 * sysdeps/mach/sysdep.h: Likewise.
35927 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35928 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35929 * sysdeps/sh/sysdep.h: Likewise.
35930 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35931 * sysdeps/unix/i386/sysdep.S: Likewise.
35932 * sysdeps/unix/sparc/start.c: Likewise.
35933 * sysdeps/unix/sparc/sysdep.S: Likewise.
35934 * sysdeps/unix/sparc/sysdep.h: Likewise.
35935 * sysdeps/unix/start.c: Likewise.
35936 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35937 * sysdeps/x86_64/sysdep.h: Likewise.
35938
df78418a
UD
359392012-01-07 Ulrich Drepper <drepper@gmail.com>
35940
a784e502
UD
35941 [BZ #13553]
35942 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35943 for non-gcc.
35944 * argp/argp-fmtstream.h: Use const instead __const.
35945 * argp/argp.h: Likewise.
35946 * assert/assert.h: Likewise.
35947 * bits/fenv.h: Likewise.
35948 * bits/sched.h: Likewise.
35949 * bits/sigset.h: Likewise.
35950 * bits/sigthread.h: Likewise.
35951 * catgets/nl_types.h: Likewise.
35952 * conform/data/pthread.h-data: Likewise.
35953 * crypt/crypt-private.h: Likewise.
35954 * crypt/crypt.h: Likewise.
35955 * crypt/crypt_util.c: Likewise.
35956 * ctype/ctype.h: Likewise.
35957 * debug/execinfo.h: Likewise.
35958 * debug/mbsnrtowcs_chk.c: Likewise.
35959 * debug/mbsrtowcs_chk.c: Likewise.
35960 * debug/wcsnrtombs_chk.c: Likewise.
35961 * debug/wcsrtombs_chk.c: Likewise.
35962 * debug/wcstombs_chk.c: Likewise.
35963 * dirent/dirent.h: Likewise.
35964 * dlfcn/dlfcn.h: Likewise.
35965 * elf/neededtest4.c: Likewise.
35966 * grp/grp.h: Likewise.
35967 * gshadow/gshadow.h: Likewise.
35968 * iconv/gconv.h: Likewise.
35969 * iconv/gconv_int.h: Likewise.
35970 * iconv/gconv_simple.c: Likewise.
35971 * iconv/iconv.h: Likewise.
35972 * iconv/loop.c: Likewise.
35973 * iconv/skeleton.c: Likewise.
35974 * include/aio.h: Likewise.
35975 * include/aliases.h: Likewise.
35976 * include/argz.h: Likewise.
35977 * include/arpa/inet.h: Likewise.
35978 * include/assert.h: Likewise.
35979 * include/dirent.h: Likewise.
35980 * include/dlfcn.h: Likewise.
35981 * include/execinfo.h: Likewise.
35982 * include/fcntl.h: Likewise.
35983 * include/fenv.h: Likewise.
35984 * include/glob.h: Likewise.
35985 * include/grp.h: Likewise.
35986 * include/libintl.h: Likewise.
35987 * include/mntent.h: Likewise.
35988 * include/netdb.h: Likewise.
35989 * include/pwd.h: Likewise.
35990 * include/rpc/netdb.h: Likewise.
35991 * include/sched.h: Likewise.
35992 * include/search.h: Likewise.
35993 * include/shadow.h: Likewise.
35994 * include/signal.h: Likewise.
35995 * include/stdio.h: Likewise.
35996 * include/stdlib.h: Likewise.
35997 * include/string.h: Likewise.
35998 * include/sys/socket.h: Likewise.
35999 * include/sys/stat.h: Likewise.
36000 * include/sys/statfs.h: Likewise.
36001 * include/sys/statvfs.h: Likewise.
36002 * include/sys/syslog.h: Likewise.
36003 * include/sys/time.h: Likewise.
36004 * include/sys/uio.h: Likewise.
36005 * include/time.h: Likewise.
36006 * include/unistd.h: Likewise.
36007 * include/utmp.h: Likewise.
36008 * include/wchar.h: Likewise.
36009 * include/wctype.h: Likewise.
36010 * inet/aliases.h: Likewise.
36011 * inet/arpa/inet.h: Likewise.
36012 * inet/netinet/ether.h: Likewise.
36013 * inet/netinet/in.h: Likewise.
36014 * intl/libintl.h: Likewise.
36015 * io/bits/fcntl2.h: Likewise.
36016 * io/fcntl.h: Likewise.
36017 * io/ftw.h: Likewise.
36018 * io/sys/poll.h: Likewise.
36019 * io/sys/stat.h: Likewise.
36020 * io/sys/statfs.h: Likewise.
36021 * io/sys/statvfs.h: Likewise.
36022 * io/utime.h: Likewise.
36023 * libio/bits/stdio.h: Likewise.
36024 * libio/bits/stdio2.h: Likewise.
36025 * libio/libio.h: Likewise.
36026 * libio/libioP.h: Likewise.
36027 * libio/stdio.h: Likewise.
36028 * locale/lc-ctype.c: Likewise.
36029 * locale/locale.h: Likewise.
36030 * login/utmp.h: Likewise.
36031 * malloc/arena.c: Likewise.
36032 * malloc/malloc.c: Likewise.
36033 * malloc/malloc.h: Likewise.
36034 * malloc/mcheck.c: Likewise.
36035 * malloc/mtrace.c: Likewise.
36036 * math/bits/mathcalls.h: Likewise.
36037 * math/fenv.h: Likewise.
36038 * math/math_private.h: Likewise.
36039 * misc/bits/error.h: Likewise.
36040 * misc/bits/syslog.h: Likewise.
36041 * misc/err.h: Likewise.
36042 * misc/error.h: Likewise.
36043 * misc/fstab.h: Likewise.
36044 * misc/mntent.h: Likewise.
36045 * misc/regexp.h: Likewise.
36046 * misc/search.h: Likewise.
36047 * misc/sgtty.h: Likewise.
36048 * misc/sys/mman.h: Likewise.
36049 * misc/sys/syslog.h: Likewise.
36050 * misc/sys/uio.h: Likewise.
36051 * misc/sys/xattr.h: Likewise.
36052 * misc/ttyent.h: Likewise.
36053 * nis/rpcsvc/ypclnt.h: Likewise.
36054 * nss/nss.h: Likewise.
36055 * posix/bits/unistd.h: Likewise.
36056 * posix/fnmatch.h: Likewise.
36057 * posix/glob.h: Likewise.
36058 * posix/sched.h: Likewise.
36059 * posix/spawn.h: Likewise.
36060 * posix/sys/wait.h: Likewise.
36061 * posix/unistd.h: Likewise.
36062 * posix/wordexp.h: Likewise.
36063 * pwd/pwd.h: Likewise.
36064 * resolv/netdb.h: Likewise.
36065 * resource/sys/resource.h: Likewise.
36066 * rt/aio.h: Likewise.
36067 * rt/bits/mqueue2.h: Likewise.
36068 * rt/mqueue.h: Likewise.
36069 * shadow/shadow.h: Likewise.
36070 * signal/signal.h: Likewise.
36071 * socket/send.c: Likewise.
36072 * socket/sendto.c: Likewise.
36073 * socket/sys/socket.h: Likewise.
36074 * stdio-common/printf.h: Likewise.
36075 * stdlib/bits/stdlib.h: Likewise.
36076 * stdlib/fmtmsg.h: Likewise.
36077 * stdlib/monetary.h: Likewise.
36078 * stdlib/stdlib.h: Likewise.
36079 * stdlib/ucontext.h: Likewise.
36080 * streams/stropts.h: Likewise.
36081 * string/argz.h: Likewise.
36082 * string/bits/string2.h: Likewise.
36083 * string/string.h: Likewise.
36084 * string/strings.h: Likewise.
36085 * sunrpc/rpc/auth.h: Likewise.
36086 * sunrpc/rpc/auth_des.h: Likewise.
36087 * sunrpc/rpc/clnt.h: Likewise.
36088 * sunrpc/rpc/netdb.h: Likewise.
36089 * sunrpc/rpc/pmap_clnt.h: Likewise.
36090 * sunrpc/rpc/xdr.h: Likewise.
36091 * sysdeps/generic/inttypes.h: Likewise.
36092 * sysdeps/generic/net/if.h: Likewise.
36093 * sysdeps/generic/sys/swap.h: Likewise.
36094 * sysdeps/gnu/net/if.h: Likewise.
36095 * sysdeps/gnu/utmpx.h: Likewise.
36096 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36097 * sysdeps/i386/i486/bits/string.h: Likewise.
36098 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36099 * sysdeps/s390/bits/string.h: Likewise.
36100 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36101 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36102 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36103 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36104 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36105 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36106 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36107 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36108 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36109 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36110 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36111 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36112 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36113 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36114 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36115 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36116 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36118 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36120 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36121 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36122 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36123 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36124 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36125 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36126 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36128 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36129 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36130 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36131 * sysvipc/sys/ipc.h: Likewise.
36132 * sysvipc/sys/msg.h: Likewise.
36133 * sysvipc/sys/sem.h: Likewise.
36134 * sysvipc/sys/shm.h: Likewise.
36135 * termios/termios.h: Likewise.
36136 * time/sys/time.h: Likewise.
36137 * time/time.h: Likewise.
36138 * wcsmbs/bits/wchar2.h: Likewise.
36139 * wcsmbs/uchar.h: Likewise.
36140 * wcsmbs/wchar.h: Likewise.
36141 * wctype/wctype.h: Likewise.
36142
0269750c
UD
36143 [BZ #13551]
36144 * Makeconfig: Remove all but ELF support including AIX support.
36145 * Makerules: Likewise.
36146 * config.h.in: Likewise.
36147 * config.make.in: Likewise.
36148 * configure: Likewise.
36149 * configure.in: Likewise.
36150 * csu/Makefile: Likewise.
36151 * csu/version.c: Likewise.
36152 * debug/Makefile: Likewise.
36153 * dlfcn/Makefile: Likewise.
36154 * elf/Makefile: Likewise.
36155 * extra-lib.mk: Likewise.
36156 * iconv/Makefile: Likewise.
36157 * include/libc-symbols.h: Likewise.
36158 * include/shlib-compat.h: Likewise.
36159 * resolv/Makefile: Likewise.
36160 * resolv/res_libc.c: Likewise.
36161 * rt/Makefile: Likewise.
36162 * sysdeps/i386/asm-syntax.h: Likewise.
36163 * sysdeps/i386/sysdep.h: Likewise.
36164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36165 * sysdeps/mach/sysdep.h: Likewise.
36166 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36167 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36168 * sysdeps/s390/asm-syntax.h: Likewise.
36169 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36170 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36171 * sysdeps/sh/sysdep.h: Likewise.
36172 * sysdeps/unix/sparc/sysdep.h: Likewise.
36173 * sysdeps/wordsize-32/divdi3.c: Likewise.
36174 * sysdeps/x86_64/sysdep.h: Likewise.
36175
00bbd29b
UD
36176 * argp/Versions: Remove _argp_unlock_xxx.
36177
36178 [BZ #13559]
36179 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36180 * abilist/libBrokenLocale.abilist: Likewise.
36181 * abilist/libanl.abilist: Likewise.
36182 * abilist/libc.abilist: Likewise.
36183 * abilist/libcrypt.abilist: Likewise.
36184 * abilist/libdl.abilist: Likewise.
36185 * abilist/libm.abilist: Likewise.
36186 * abilist/libnsl.abilist: Likewise.
36187 * abilist/libpthread.abilist: Likewise.
36188 * abilist/libresolv.abilist: Likewise.
36189 * abilist/librt.abilist: Likewise.
36190 * abilist/libthread_db.abilist: Likewise.
36191 * abilist/libutil.abilist: Likewise.
36192 * abilist/libnss_db.abilist: New file.
36193
36194 * scripts/abilist.awk: Add support for indirect functions.
36195
a2693a0e
UD
36196 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36197
3f05895f
UD
36198 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36199
ecb6fb48
UD
36200 * shlib-versions: Remove entries for ports architectures.
36201
664f8cb9
UD
36202 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36203 files in ports.
36204 * elf/stackguard-macros.h: Remove support for IA-64.
36205 * elf/tst-auditmod1.c: Likewise.
36206 * sysdeps/generic/ldsodefs.h: Likewise.
36207
7ae81d88
UD
36208 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36209 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36210 configure files.
36211
bdeba135
UD
36212 [BZ #13552]
36213 * configure.in: Remove --enable-omitfp support.
36214 * FAQ.in: Adjust.
36215 * config.make.in: Likewise.
36216 * Makeconfig: Likewise.
36217 * manual/install.texi: Likewise.
36218
d75a0a62
UD
36219 In case anyone cares, the IA-64 architecture could move to ports.
36220 * sysdeps/ia64/*: Removed.
36221 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36222 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36223
dcc9756b
UD
36224 [BZ #13555]
36225 * configure.in: Remove entries for unsupported architectures.
36226
d3761ebc 36227 [BZ #13533]
9954432e
UD
36228 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36229 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36230 routines.
36231 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36232 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36233 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36234 fall back to using wcrtomb.
36235 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36236 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36237 renaming.
36238 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36239 * wcsmbs/tst-c16c32-1.c: New file.
36240
36241 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36242 local variable.
36243
c3a87236
UD
36244 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36245
28926a1b
UD
36246 * elf/tst-unique3.cc: Add explicit declaration of gets.
36247 * elf/tst-unique3lib.cc: Likewise.
36248 * elf/tst-unique3lib2.cc: Likewise.
36249 * elf/tst-unique4.cc: Likewise.
36250
df78418a
UD
36251 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36252
8ecd6b2a
JM
362532012-01-06 Joseph Myers <joseph@codesourcery.com>
36254
36255 [BZ #13566]
36256 * assert/assert.h (static_assert): Don't define for C++.
36257 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36258 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36259
9f115170
UD
362602012-01-03 Ulrich Drepper <drepper@gmail.com>
36261
5e0d0300
UD
36262 * iconv/loop.c (single loop): Fix assertion in storing of
36263 remaining bytes.
36264
9f115170
UD
36265 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36266
81fb02b0
UD
362672012-01-01 Ulrich Drepper <drepper@gmail.com>
36268
36269 * posix/getconf.c: Update copyright year.
36270 * nss/getent.c: Likewise.
a316c1f6 36271 * nss/makedb.c: Likewise.
81fb02b0
UD
36272 * iconv/iconvconfig.c: Likewise.
36273 * iconv/iconv_prog.c: Likewise.
36274 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36275 * elf/pldd.c: Likewise.
36276 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36277 * catgets/gencat.c: Likewise.
36278 * csu/version.c: Likewise.
36279 * elf/ldd.bash.in: Likewise.
36280 * elf/sprof.c (print_version): Likewise.
36281 * locale/programs/locale.c: Likewise.
36282 * locale/programs/localedef.c: Likewise.
a316c1f6 36283 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36284 * nscd/nscd.c (print_version): Likewise.
36285 * debug/xtrace.sh: Likewise.
36286 * malloc/memusage.sh: Likewise.
36287 * malloc/mtrace.pl: Likewise.
36288 * debug/catchsegv.sh: Likewise.
36289
2ba92745
JJ
362902011-12-30 Jakub Jelinek <jakub@redhat.com>
36291
36292 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36293 pure attribute.
36294
dadebdae
UD
362952011-12-24 Ulrich Drepper <drepper@gmail.com>
36296
d3761ebc 36297 [BZ #13533]
db6af3eb
UD
36298 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36299 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36300 transformations.
36301 * iconv/gconv_int.h: Likewise.
36302 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36303 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36304 from libc for GLIBC_2.16.
36305 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36306 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36307 * wcsmbs/uchar.h: Really define mbstate_t.
36308 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36309 * wcsmbs/c16rtomb.c: New file.
36310 * wcsmbs/mbrtoc16.c: New file.
36311 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36312 for C/POSIX locale.
36313 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36314 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36315
dadebdae
UD
36316 * wcsmbs/wchar.h: Add missing __restrict.
36317
67371b56
UD
363182011-12-23 Ulrich Drepper <drepper@gmail.com>
36319
74033a25
UD
36320 [BZ #13532]
36321 * time/Makefile (routines): Add timespec_get.
36322 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36323 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36324 timespec for ISO C11.
36325 * time/timespec_get.c: New file.
36326 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36327 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36328
380d7e87
UD
36329 [BZ #13531]
36330 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36331 * stdlib/stdlib.h: Declare aligned_alloc.
36332 * Versions.def: Add GLIBC_2.16 for libc.
36333 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36334
4e9e7a35
UD
36335 [BZ 13527]
36336 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36337 ISO C11.
36338
380d7e87 36339 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36340 code.
36341
03a71829
UD
36342 [BZ #13528]
36343 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36344
839e283e
UD
36345 [BZ #13529]
36346 * assert/assert.h (static_assert): Define.
36347
ce5294e2 36348 * version.h: Update for 2.16 development version.
90fa7312 36349
8d44e150 36350 [BZ #13526]
d7809905
UD
36351 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36352 _ISOC11_SOURCE.
36353
c0da14cd
UD
36354 * version.h (RELEASE): Bump for 2.15 release.
36355 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36356
530a3249
MP
36357 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36358 Patch by Marek Polacek <mpolacek@redhat.com>.
36359
67371b56
UD
36360 * bits/byteswap.h: Protect long long constants with __extension__.
36361 * sysdeps/i386/bits/byteswap.h: Likewise.
36362 * sysdeps/ia64/bits/byteswap.h: Likewise.
36363 * sysdeps/s390/bits/byteswap.h: Likewise.
36364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36365
15db4de1
LD
363662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36367
36368 [BZ #13540]
bbe315ea
LD
36369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36370 destination buffer.
15db4de1
LD
36371 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36372
2b2596b1
MP
363732011-12-23 Marek Polacek <polacek@redhat.com>
36374
36375 * elf/dl-addr.c (determine_info): Add inline keyword.
36376 * elf/tst-auditmod4b.c (check_avx): Likewise.
36377 * elf/tst-auditmod6b.c (check_avx): Likewise.
36378 * elf/tst-auditmod6c.c (check_avx): Likewise.
36379 * elf/tst-auditmod7b.c (check_avx): Likewise.
36380
70c6c246
UD
363812011-12-23 Ulrich Drepper <drepper@gmail.com>
36382
36383 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36384 !__SSE_MATH__.
36385
c044cf14
LD
363862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36387
15db4de1 36388 [BZ #13540]
c044cf14
LD
36389 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36390 processing for last bytes.
36391
6b13d9d9
BH
363922011-08-06 Bruno Haible <bruno@clisp.org>
36393
d455f537
BH
36394 [BZ #13061]
36395 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36396 U+0385, not to U+1FEE.
36397
6b13d9d9
BH
36398 [BZ #13062]
36399 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36400 entry for U+00A5 U+0301.
36401
db910efd
UD
364022011-12-22 Ulrich Drepper <drepper@gmail.com>
36403
27deeafc
UD
36404 [BZ #13166]
36405 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36406 buffer for the output is too small.
36407
aed9d171
UD
36408 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36409 optimization.
36410
db910efd
UD
36411 [BZ #13185]
36412 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36413 SSE flags if possible.
36414
2bd779ae
LD
364152011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36416
e7f9dac3 36417 [BZ #13540]
2bd779ae
LD
36418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36419 processing for last bytes.
36420
154bfc16
JM
364212011-12-22 Joseph Myers <joseph@codesourcery.com>
36422
36423 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36424 (syscall-list-default-options, syscall-list-default-condition)
36425 (syscall-list-includes): Define.
36426 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36427 list of ABIs and options and #if conditions for each ABI. Do not
36428 handle common syscalls between ABIs specially.
36429 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36430 Remove.
36431 (syscall-list-variants, syscall-list-32bit-options)
36432 (syscall-list-32bit-condition, syscall-list-64bit-options)
36433 (syscall-list-64bit-condition): Define.
36434 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36435 (syscall-list-variants, syscall-list-32bit-options)
36436 (syscall-list-32bit-condition, syscall-list-64bit-options)
36437 (syscall-list-64bit-condition): Define.
36438 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36439 Remove.
36440 (syscall-list-variants, syscall-list-32bit-options)
36441 (syscall-list-32bit-condition, syscall-list-64bit-options)
36442 (syscall-list-64bit-condition): Define.
36443 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36444 Remove.
36445 (syscall-list-variants, syscall-list-32bit-options)
36446 (syscall-list-32bit-condition, syscall-list-64bit-options)
36447 (syscall-list-64bit-condition): Define.
36448
21eaf3a5
UD
364492011-12-22 Ulrich Drepper <drepper@gmail.com>
36450
16c6f992
UD
36451 * locale/iso-639.def: Add brx entry.
36452
41043168
UD
36453 [BZ #13328]
36454 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36455 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36456
21eaf3a5
UD
36457 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36458 __feraiseexcept_renamed.
36459
e3a851a2
UD
364602011-12-21 Ulrich Drepper <drepper@gmail.com>
36461
4920765e
UD
36462 [BZ #13538]
36463 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36464 EPOLLET with unsigned values.
36465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36466 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36467
e3a851a2
UD
36468 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36469 to large cancellation.
36470 * math/s_cacoshf.c: Likewise.
36471 * math/s_cacoshl.c: Likewise.
36472
b27e24b8
RK
364732011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36474
36475 [BZ #13305]
aebefeee 36476 [BZ #12786]
b27e24b8
RK
36477 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36478 * math/s_cacoshf.c: Likewise.
36479 * math/s_cacoshl.c: Likewise.
36480
ee190f67
UD
364812011-12-21 Ulrich Drepper <drepper@gmail.com>
36482
36483 [BZ #13439]
36484 * iconv/gconv.h: Define __GCONV_SWAP.
36485 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36486 * iconvdata/utf-16.c: Likewise.
36487 * iconvdata/utf-32.c: Likewise.
36488
707f25df
AS
364892011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36490
36491 [BZ #13524]
36492 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36493 numerator after shifting it by one limb.
36494
d2daaa1e
RÁE
364952011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36496
36497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36498 under [__USE_EXTERN_INLINES].
36499
a4647e72
UD
365002011-12-17 Ulrich Drepper <drepper@gmail.com>
36501
36502 [BZ #13446]
36503 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36504
f0b264f1
AZ
365052011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36506
36507 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36508 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36509 optimized code.
36510 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36511 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36512 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36513 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36514 for strncasecmp/strncasecmp_l compilation.
36515 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36516 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36517
8ef4f244
MP
365182011-12-08 Marek Polacek <mpolacek@redhat.com>
36519
36520 [BZ #13484]
36521 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36522 of __asm__.
36523
97ac2654
UD
365242011-12-17 Ulrich Drepper <drepper@gmail.com>
36525
36526 [BZ #13506]
36527 * time/tzfile.c (__tzfile_read): Check values from file header.
36528
91d2a845
WS
365292011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36530
36531 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36532 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36533 * powerpc/powerpc32/dl-start.S: Likewise.
36534 * powerpc/powerpc32/elf/start.S: Likewise.
36535 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36536 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36537 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36538 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36539 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36540 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36541 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36542 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36543 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36544 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36545 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36546 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36547 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36548 * powerpc/powerpc32/memset.S: Likewise.
36549 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36550 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36551 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36552 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36553 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36554 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36555 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36556 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36557 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36558 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36559 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36560 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36561 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36562
a1267ba1
AZ
365632011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36564
36565 * math/libm-test.inc: Added more nearbyint tests.
36566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36570
ad8ac1bd
RL
365712011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36572
36573 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36574 FD_CLOEXEC.
36575
1d3e4b61
UD
365762011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36577
36578 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36579 Add wcscpy-ssse3 wcscpy-c.
36580 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36581 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36582 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36583 * sysdeps/x86_64/wcschr.S: New file.
36584 * sysdeps/x86_64/wcsrchr.S: New file.
36585 * string/test-strcmp.c: Remove checking of wcscmp function for
36586 wrong alignments.
36587 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36588 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36589 wcsrchr-sse2 wcsrchr-c.
36590 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36591 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36592 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36593 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36594 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36595 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36596 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36597 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36598 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36599 * wcsmbc/wcschr.c (WCSCHR): New macro.
36600
5b330a2d
UD
366012011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36602
36603 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36604 * wcsmbs/test-wcsrchr.c: New file.
36605 * string/test-strrchr.c: Add wcsrchr support.
36606 (WIDE): New macro.
36607 * wcsmbs/test-wcscpy.c: New file.
36608 * string/test-strcpy.c: Add wcscpy support.
36609 (WIDE): New macro.
26428b7c 36610
f039c043
UD
366112011-12-10 Ulrich Drepper <drepper@gmail.com>
36612
36613 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36614 the inner loop.
36615
850fb039
AS
366162011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36617
36618 [BZ #13472]
36619 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36620
4efbd5cb
UD
366212011-12-04 Ulrich Drepper <drepper@gmail.com>
36622
52ff5dd0 36623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36624 Minor optimizations.
52ff5dd0 36625
4efbd5cb
UD
36626 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36627 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36628 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36629
8a426e12
UD
366302011-12-03 Ulrich Drepper <drepper@gmail.com>
36631
aff2453d
UD
36632 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36633 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36634 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36635 for gcc to avoid warnings.
36636 * inet/Makefile (tests): Add tst-checks.
36637 * inet/tst-checks.c: New file.
36638
36639 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36640 warning.
36641
36642 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36643 __wmemcmp_sse2.
36644
36645 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36646 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36647
8a426e12
UD
36648 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36649
9bea3473
UD
366502011-12-02 Ulrich Drepper <drepper@gmail.com>
36651
3a965496
UD
36652 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36653 problem.
36654
9bea3473
UD
36655 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36656
f101631b
UD
366572011-11-29 Joseph Myers <joseph@codesourcery.com>
36658
36659 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36660 conditional on GCC version.
36661 (__arch_compare_and_exchange_val_8_acq)
36662 (__arch_compare_and_exchange_val_16_acq)
36663 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36664 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36665 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36666
a98275aa
UD
366672011-12-02 Joseph Myers <joseph@codesourcery.com>
36668
36669 * sysdeps/sh/backtrace.c: New file.
36670
d4cc29a2
AS
366712011-12-02 Andreas Schwab <schwab@redhat.com>
36672
36673 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36674 parenthesis.
36675
6257af2d
AS
366762011-12-01 Andreas Schwab <schwab@redhat.com>
36677
36678 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36679 falling back to utime.
36680
b5f44c1a
AS
366812011-11-30 Andreas Schwab <schwab@redhat.com>
36682
36683 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36684 expectations for float.
36685
f3a6cc0a
AS
366862011-11-29 Andreas Schwab <schwab@redhat.com>
36687
36688 * locale/weight.h (findidx): Add parameter len.
36689 * locale/weightwc.h (findidx): Likewise.
36690 * posix/fnmatch_loop.c (FCT): Adjust caller.
36691 * posix/regcomp.c (build_equiv_class): Likewise.
36692 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36693 * posix/regexec.c (check_node_accept_bytes): Likewise.
36694 * string/strcoll_l.c (STRCOLL): Likewise.
36695 * string/strxfrm_l.c (STRXFRM): Likewise.
36696
9d65ea3a
UD
366972011-11-17 Ulrich Drepper <drepper@gmail.com>
36698
36699 * Makefile.in: Remove CVSOPT handling.
36700 * configure.in: Remove use of AC_REVISION.
36701 * iconvdata/Makefile (distribute): No need to filter out CVS.
36702 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36703 handling.
36704
5583a086
AS
367052011-11-16 Andreas Schwab <schwab@redhat.com>
36706
36707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36708 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36709 [USE_AS_STRNCASECMP_L]: Likewise.
36710 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36711 NO_TLS_DIRECT_SEG_REFS.
36712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36713 Fix argument offsets for non-PIC.
36714 [USE_AS_STRNCASECMP_L]: Likewise.
36715 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36716 NO_TLS_DIRECT_SEG_REFS.
36717
d62a8200
UD
367182011-11-15 Ulrich Drepper <drepper@gmail.com>
36719
9d65ea3a 36720 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36721 O_CLOEXEC.
36722 * locale/loadlocale.c (_nl_load_locale): Likewise.
36723
09f93bd3
AS
367242011-11-15 Andreas Schwab <schwab@redhat.com>
36725
446514f9
AS
36726 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36727 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36728 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36729 (SYSCALL_GETTIME): Set errno on error.
36730
09f93bd3
AS
36731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36732 count references to noai6ai_cached.
36733
312be3f9
UD
367342011-11-15 Ulrich Drepper <drepper@gmail.com>
36735
36736 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36737
36738 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36739 FD_CLOEXEC for /proc/self/maps.
36740
36741 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36742 FD_CLOEXEC for /proc/meminfo.
36743
36744 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36745 gai.conf.
36746
36747 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36748 FD_CLOEXEC for given file.
36749
36750 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36751
36752 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36753 FD_CLOEXEC for /etc/hosts.
36754 (_gethtent): Likewise.
36755
36756 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36757
36758 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36759 cancellation and set FD_CLOEXEC for /etc/netgroup.
36760
36761 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36762 reading /etc/publickey.
36763
36764 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36765 allow cancellation when reading /etc/group.
36766
36767 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36768 cancellation.
36769 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36770
36771 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36772 when using data file.
36773
36774 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36775
36776 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36777 (write_nis_obj): Use "c" and "e" in fopen.
36778
36779 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36780
36781 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36782
36783 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36784
36785 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36786
36787 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36788 locale.alias.
36789
36790 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36791
36792 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36793
36794 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36795
36796 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36797 file parsing and set FD_CLOEXEC.
36798
82af0fa8
UD
367992011-11-14 Ulrich Drepper <drepper@gmail.com>
36800
36801 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36802
a5fb313c
AS
368032011-11-14 Andreas Schwab <schwab@redhat.com>
36804
36805 * malloc/arena.c (arena_get2): Don't call reused_arena when
36806 _int_new_arena failed.
36807
6abf3465
UD
368082011-11-14 Ulrich Drepper <drepper@gmail.com>
36809
36810 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36811 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36813 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36814 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36816 to compile strcasecmp and strncasecmp.
36817 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36818 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36819
36820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36821
76e3966e
UD
368222011-11-13 Ulrich Drepper <drepper@gmail.com>
36823
36824 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36825 locale-defines.sym to gen-as-const-headers.
36826 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36827 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36829 to compile strcasecmp and strncasecmp.
36830 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36831 strcasecmp_l and strncasecmp_l.
36832 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36833 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36834 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36835 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36836 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36837 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36838 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36839 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36840 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36841 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36842 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36843
ab26144e
UD
368442011-11-12 Ulrich Drepper <drepper@gmail.com>
36845
7edb22ef
UD
36846 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36847 result of SYSDEP_GETTIME_CPU to retval.
36848 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36849 parameter list to macro. Remove trailing semicolon. Adjust users.
36850
9694fc44
UD
36851 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36852 variable.
36853
8ad89ef8
UD
36854 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36855 mantissa words.
36856 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36857
0c822ef9
UD
36858 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36859 from unused variable.
36860
874e0564
UD
36861 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36862 DWARF definitions.
36863 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36864 for assembling.
36865
3a2edc79
UD
36866 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36867 over namespaces.
36868
f3c2577f
UD
36869 * sunrpc/rpc_prot.c (rejected): Fix case value.
36870
294ce126
UD
36871 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36872 unsigned long long int to avoid warnings in shift.
36873
5e2b63c6
UD
36874 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36875 of use of trans.
36876 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36877 variable tmp.
36878
e7f4b08e
UD
36879 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36880 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36881 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36882
ab26144e
UD
36883 * nis/nis_table.c (nis_list): Use variable of correct type for
36884 result of __follow_path call.
36885
8a6d5255
AZ
368862011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36887
36888 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36889 of math functions ceil, trunc, floor, round, and sqrt, when
36890 avaliable on the platform.
36891 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36892 name clash.
36893 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36894 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36895 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36896
aaddc98c
MP
368972011-10-30 Marek Polacek <mpolacek@redhat.com>
36898
36899 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36900 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36901
95b7042b
RM
369022011-11-11 Roland McGrath <roland@hack.frob.com>
36903
36904 * include/unistd.h: Fix __readlink return type.
36905 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36906
57769839
UD
369072011-11-11 Ulrich Drepper <drepper@gmail.com>
36908
36909 * stdlib/ucontext.h: Undo last change for makecontext.
36910
edc5984d
AS
369112011-11-11 Andreas Schwab <schwab@redhat.com>
36912
98591e58
AS
36913 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36914
edc5984d
AS
36915 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36916 * setjmp/setjmp.h: Mark functions as non-leaf.
36917 * setjmp/bits/setjmp2.h: Likewise.
36918 * stdlib/ucontext.h: Likewise.
36919
77cdc054
AS
369202011-11-10 Andreas Schwab <schwab@redhat.com>
36921
36922 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36923 (reused_arena): Don't check arena limit.
36924 (arena_get2): Atomically check arena limit.
36925
fe72eebd
UD
369262011-11-08 Ulrich Drepper <drepper@gmail.com>
36927
5f078c32
UD
36928 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36929 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36930
fe72eebd
UD
36931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36932 instructions.
36933
ae1bc2fa
AS
369342011-11-07 Andreas Schwab <schwab@redhat.com>
36935
7583a88d
AS
36936 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36937 handler when locking.
36938
ae1bc2fa
AS
36939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36940 Fix size of allocated buffer.
36941
10fb0bfa
AS
369422011-11-04 Andreas Schwab <schwab@redhat.com>
36943
998832a4
AS
36944 [BZ #10103]
36945 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36946 declarations for long double functions.
36947 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36948
10fb0bfa
AS
36949 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36950
3d7ba52b
AS
369512011-11-03 Andreas Schwab <schwab@redhat.com>
36952
a9ae54a1
AS
36953 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36954 installed.
36955
3d7ba52b
AS
36956 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36957 is disabled.
36958
bc8db248
ST
369592011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36960
36961 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36962
45b96dd6
AS
369632011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36964
647776f6
AS
36965 * include/alloca.h (stackinfo_alloca_round): Define.
36966 (extend_alloca): Use it.
36967 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36968 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36969 here.
36970
d91a8b93
AS
36971 * scripts/check-local-headers.sh: Ignore libaudit.h.
36972
45b96dd6
AS
36973 * nscd/Makefile (extra-objs): Make recursively expanded.
36974
432d41ce
UD
369752011-11-01 Ulrich Drepper <drepper@gmail.com>
36976
34372fc6
UD
36977 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36979
fadb59f8
UD
36980 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36981 * posix/tst-rfc3484-2.c: Likewise.
36982 * posix/tst-rfc3484-3.c: Likewise.
36983
78239589
UD
36984 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36985 process_vm_writev.
36986 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36987 process_vm_writev.
36988 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36989 process_vm_writev from libc using GLIBC_2.15 version.
36990
432d41ce
UD
36991 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36992
02f9c6cf
PP
369932011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36994
36995 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36996 stack usage.
36997
3a2c0242
UD
369982011-10-31 Ulrich Drepper <drepper@gmail.com>
36999
f4ec4833
UD
37000 [BZ #13367]
37001 * nss/getent.c (initgroups_keys): Show error message in case no group
37002 names are given.
37003
3a2c0242
UD
37004 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37005 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37006 __bump_nl_timestamp.
37007 * nscd/connections (nscd_init): When host database is served open
37008 netlink socket and request notification about configuration changes.
37009 (main_loop_poll): Track netlink file descriptor and bump timestamp
37010 in case data becomes available.
37011 (main_loop_epoll): Likewise.
37012 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37013 (database_pers_head): Add extra_data fileds.
37014 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37015 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37016 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37017 Adjust caller.
37018 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37019 in6ai data, call __free_in6ai.
37020 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37021 Add -DHAVE_NETLINK.
37022 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37023 interface information. Reuse previous data if netlink timestamp
37024 is not changed.
37025 (__bump_nl_timestamp): New function.
37026 (__free_in6ai): New function.
37027
636064eb
UD
370282011-10-30 Ulrich Drepper <drepper@gmail.com>
37029
37030 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37031 close_not_cancel_no_status here.
37032 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37033
9beb2334
UD
370342011-10-29 Ulrich Drepper <drepper@gmail.com>
37035
6ef76f3b
UD
37036 [BZ #13276]
37037 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37038 return value.
37039
0ffc4f3e 37040 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37041 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37042 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37043
cb95113e
UD
370442011-07-03 Andreas Jaeger <aj@suse.de>
37045
37046 [BZ #10709]
37047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37048 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37049 * math/libm-test.inc (sin_test): Add test case.
37050
a1b560ff
UD
370512011-10-29 Ulrich Drepper <drepper@gmail.com>
37052
c9aaface
UD
37053 [BZ #13337]
37054 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37055 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37056
d272e7f1
UD
37057 * elf/chroot_canon.c (chroot_canon): Cleanups.
37058
1bc33071
UD
37059 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37060
1760874d
TJ
37061 [BZ #13335]
37062 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37063 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37064
51d91b18
UD
37065 * string/test-strchr.c: Make usable for strchrnul testing.
37066 * string/test-strchrnul.c: New file.
37067 * string/Makefile (strop-tests): Add strchrnul.
37068
a1b560ff 37069 * po/it.po: Update from translation team.
b611fb81 37070 * po/es.po: Likewise.
a1b560ff 37071
a5b81e1f
UD
370722011-10-28 Ulrich Drepper <drepper@gmail.com>
37073
fd52bc6d
UD
37074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37075 the three constants needed as parameters. Drop the others.
37076 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37077 __m128i_strloadu_tolower.
52e4b9eb
UD
37078 Create and initialize variable zero and use it in all the places
37079 where _mm_setzero_si128 was used.
fd52bc6d 37080
a5b81e1f
UD
37081 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37082 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37083 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37084 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37085 anymore.
37086 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37087 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37088 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37089 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37090 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37091 __mpranred, __mptan.
37092 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37093 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37094 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37095 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37096 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37097 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37098 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37099 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37100 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37101
b4343346
AS
371022011-10-28 Andreas Schwab <schwab@redhat.com>
37103
0c92d8a8
AS
37104 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37105 redefine if SHARED.
37106 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37107
b4343346
AS
37108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37109 wide char related routines to wcsmbs subdir.
37110
3871f58f
AS
371112011-10-27 Andreas Schwab <schwab@redhat.com>
37112
37113 [BZ #13344]
37114 * misc/sys/cdefs.h (__THROWNL): Define.
37115 * posix/unistd.h: Use __THREADNL instead of __THREAD
37116 for memory synchronization functions.
37117
94d44d9f
RM
371182011-10-26 Roland McGrath <roland@hack.frob.com>
37119
21b64b15 37120 [BZ #13349]
94d44d9f
RM
37121 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37122 doesn't exist.
37123 * manual/stdio.texi (Obstack Streams): Node removed.
37124
f6ce9294
AS
371252011-10-26 Andreas Schwab <schwab@redhat.com>
37126
80479147
AS
37127 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37128 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37129 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37130
f6ce9294
AS
37131 * math/math_private.h (math_force_eval): Allow non-addressable
37132 arguments.
37133 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37134
618280a1
UD
371352011-10-25 Ulrich Drepper <drepper@gmail.com>
37136
e0016b11
UD
37137 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37138 file is not needed.
37139
37140 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37141 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37147 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37148 Add AVX variants.
37149 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37150 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37151 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37152 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37153 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37154 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37155 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37156 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37157 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37158 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37159 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37160 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37162 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37163 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37164 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37165 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37166 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37167 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37168
37169 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37170 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37171
618280a1
UD
37172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37173 place. Use VEX encoding when compiling for AVX.
37174
37822576
AS
371752011-10-25 Andreas Schwab <schwab@redhat.com>
37176
1f1e1947
AS
37177 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37178 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37179
37822576
AS
37180 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37181
31ea014d
UD
371822011-10-25 Ulrich Drepper <drepper@gmail.com>
37183
d7826aa1 37184 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37185 useless if() expression.
d7826aa1
UD
37186 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37188 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37190 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37191 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37192 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37194 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37202 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37204 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37205
31ea014d
UD
37206 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37207
16437fec
AS
372082011-10-25 Andreas Schwab <schwab@redhat.com>
37209
37210 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37211 condition.
37212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37213
31d3cc00
UD
372142011-10-25 Ulrich Drepper <drepper@gmail.com>
37215
37216 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37217 .text section. Avoid duplicate constants.
37218 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37222 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37226 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37227 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37228 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37229 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37230 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37232 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37233 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37234 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37235 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37242 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37243 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37253 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37256 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37257 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37258 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37260 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37261 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37262 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37263
58985aa9
UD
372642011-10-24 Ulrich Drepper <drepper@gmail.com>
37265
202c9deb
UD
37266 * sysdeps/x86_64/dla.h: Move to ...
37267 * sysdeps/x86_64/fpu/dla.h: ...here.
37268 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37269 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37270
af968f62
UD
37271 * config.make.in: Add have-mfma4 entry.
37272 * configure.in: Substitute libc_cv_cc_fma4.
37273 * math/Makefile (dbl-only-routines): Add sincostab.
37274 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37275 Use __sincostab not sincos.
37276 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37277 name is a macro.
37278 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37279 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37280 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37282 using __copysign.
37283 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37284 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37285 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37286 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37287 and __inv.
37288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37289 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37290 __copysign.
37291 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37292 define aliases when function name is a macro.
37293 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37294 sysdeps/ieee754/dbl-64/sincos.tbl.
37295 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37296 fma4-enabled routines.
37297 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37298 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37299 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37300 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37301 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37302 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37304 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37306 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37307 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37308 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37309 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37310 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37312 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37313 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37314 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37315 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37316 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37317 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37318 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37320 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37322 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37323 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37324 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37325 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37326 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37327
58985aa9
UD
37328 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37329 rename.
37330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37338
a201fbcf
AS
373392011-10-24 Andreas Schwab <schwab@redhat.com>
37340
37341 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37342
fc2ee42a
LD
373432011-10-23 Ulrich Drepper <drepper@gmail.com>
37344
bb3129bd
UD
37345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37346
0275fff8
UD
37347 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37348 prediction.
37349 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37350
2fa2ae85
UD
37351 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37352 Remove unused variable magic_bits.
37353 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37354
fc2ee42a
LD
37355 * string/strnlen.c: Define and use STRNLEN macro.
37356 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37357 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37358 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37359 * wcsmbs/wcslen.c: Define and use WCSLEN.
37360 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37361 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37362 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37363 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37364 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37365 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37366 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37367
ce7dd29f
LD
373682011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37369
37370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37371 strnlen-sse2-no-bsf.
37372 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37373 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37374 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37375 Add strnlen support.
37376 (USE_AS_STRNLEN): New macro.
37377 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37378 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37379 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37380 * sysdeps/x86_64/wcslen.S: New file.
37381
979c70a3
MZ
373822011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37383
37384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37385 XMM-moves are used for copying on small sizes.
37386
2d09f82f
LD
373872011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37388
37389 * wcsmbs/Makefile (strop-tests): Add wcschr.
37390 * wcsmbs/test-wcschr.c: New file.
37391 * string/test-strchr.c: Update.
37392 Add wcschr support.
37393 (WIDE): New macro.
37394
619fccca
LD
373952011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37396
2d09f82f 37397 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37398 * wcsmbs/test-wcslen.c: New file.
37399 * string/test-strlen.c: Update.
37400 Add wcslen support.
37401 (WIDE): New macro.
37402
09f699ea
UD
374032011-10-23 Ulrich Drepper <drepper@gmail.com>
37404
37405 * po/it.po: Update from translation team.
37406
95584d3b
LD
374072011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37408
37409 * sysdeps/x86_64/wcscmp.S: Update.
37410 Fix wrong comparison semantics.
37411 wcscmp shall use signed comparison not unsigned.
37412 Don't use substraction to avoid overflow bug.
37413 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37414 * wcsmbc/wcscmp.c: Likewise.
37415 * string/test-strcmp.c: Likewise.
37416 Add new tests to check cases with negative values.
37417
c8b3296b
UD
374182011-10-23 Ulrich Drepper <drepper@gmail.com>
37419
37420 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37421 * sysdeps/x86_64/dla.h: ...here. New file.
37422 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37427 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37431
246ad57a
AS
374322011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37433
37434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37435 __ynl_finite aliases.
37436
a1a87169
UD
374372011-10-22 Ulrich Drepper <drepper@gmail.com>
37438
0d355eb7
UD
37439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37440
a1a87169
UD
37441 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37442 define DLA_FMA.
37443 [DLA_FMA] (EMULV): Use DLA_FMA.
37444 [DLA_FMA] (MUL12): Use EMULV.
37445 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37446 that are not needed.
37447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37454
ee2aafe0
AS
374552011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37456
37457 * math/s_nan.c: Undef __nan.
37458 * math/s_nanf.c: Undef __nanf.
37459 * math/s_nanl.c: Undef __nanl.
37460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37461 "math_private.h".
37462
bc62c2fb
UD
374632011-10-22 Ulrich Drepper <drepper@gmail.com>
37464
77425c63
UD
37465 * math/s_catan.c: Add branch predictions.
37466 * math/s_catanf.c: Likewise.
37467 * math/s_catanh.c: Likewise.
37468 * math/s_catanhf.c: Likewise.
37469 * math/s_catanhl.c: Likewise.
37470 * math/s_catanl.c: Likewise.
37471 * math/s_cexp.c: Likewise.
37472 * math/s_cexpf.c: Likewise.
37473 * math/s_cexpl.c: Likewise.
37474 * math/s_clog.c: Likewise.
37475 * math/s_clog10.c: Likewise.
37476 * math/s_clog10f.c: Likewise.
37477 * math/s_clog10l.c: Likewise.
37478 * math/s_clogf.c: Likewise.
37479 * math/s_clogl.c: Likewise.
37480 * math/s_csqrt.c: Likewise.
37481 * math/s_csqrtf.c: Likewise.
37482 * math/s_csqrtl.c: Likewise.
37483 * math/s_ctanf.c: Likewise.
37484 * math/s_ctanh.c: Likewise.
37485 * math/s_ctanhf.c: Likewise.
37486 * math/s_ctanhl.c: Likewise.
37487 * math/s_ctanl.c: Likewise.
37488
bc62c2fb
UD
37489 * math/math_private.h: Define __nan, __nanf, __nanl.
37490 * math/s_cacosh.c: Include <math_private.h>.
37491 * math/s_cacoshl.c: Likewise.
37492 * math/s_casinh.c: Likewise.
37493 * math/s_casinhf.c: Likewise.
37494 * math/s_casinhl.c: Likewise.
37495 * math/s_ccos.c: Rely entire on ccosh.
37496 * math/s_ccosf.c: Rely entire on ccoshf.
37497 * math/s_ccosl.c: Rely entirely on ccoshl.
37498 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37499 Remove tests for FE_INVALID.
37500 * math/s_ccoshf.c: Likewise.
37501 * math/s_ccoshl.c: Likewise.
37502 * math/s_csin.c: Likewise.
37503 * math/s_csinf.c: Likewise.
37504 * math/s_csinh.c Likewise.
37505 * math/s_csinhf.c: Likewise.
37506 * math/s_csinhl.c: Likewise.
37507 * math/s_csinl.c: Likewise.
37508 * math/s_ctan.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37510 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37512
8ec250a4
UD
375132011-10-21 Ulrich Drepper <drepper@gmail.com>
37514
c196fed8
UD
37515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37516 compilation problems.
37517
8ec250a4
UD
37518 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37519 __builtin_expect.
37520
8d4f46c6
UD
375212011-10-20 Ulrich Drepper <drepper@gmail.com>
37522
ed72b654
UD
37523 * sysdeps/i386/configure.in: Test for -mfma4 option.
37524 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37525 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37526 COMMON_CPUID_INDEX_80000001.
37527 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37528 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37529 use it if FMA3 is not supported.
37530 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37531
8d4f46c6
UD
37532 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37533 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37534
d45c60c2
AS
375352011-10-20 Andreas Schwab <schwab@redhat.com>
37536
37537 [BZ #12892]
37538 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37539 it would create a cycle with a link time dependency.
37540
d9a4d2ab
UD
375412011-10-19 Ulrich Drepper <drepper@gmail.com>
37542
855d1560
UD
37543 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37544 instruction.
37545 * string/Makefile (strop-tests): Add rawmemchr.
37546 * string/test-rawmemchr.c: New file.
37547
d9a4d2ab
UD
37548 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37549 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37550 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37551 when compiling str{,n}casecmp and when AVX is available. Hook up
37552 new optimized code in initializers.
37553
8f3b1ffe
AS
375542011-10-19 Andreas Schwab <schwab@redhat.com>
37555
37556 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37557 __feraiseexcept instead of feraiseexcept.
37558
d38f1dba
UD
375592011-10-18 Ulrich Drepper <drepper@gmail.com>
37560
d9a8d0ab
UD
37561 * math/math_private.h: Define defaults for libc_fetestexcept and
37562 libc_feupdateenv.
37563 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37564 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37566 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37567 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37568 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37569 libc_fetestexcept and libc_feupdateenv.
37570
4855e3dd
UD
37571 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37572 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37573 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37574 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37575 libc_feholdexcept_setround.
37576
581d30e3
UD
37577 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37578 Add s_nearbyint-c and s_nearbyintf-c.
37579 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37580 nearbyintf inlines.
37581 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37583 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37585
d38f1dba
UD
37586 * math/math_private.h: Define defaults for libc_fegetround,
37587 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37588 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37589 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37591 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37592 standard functions.
37593 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37594 Remove comments and hacks for old compiler versions.
37595 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37596 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37597 libc_feholdexceptl.
37598
caa6c9d8
AS
375992011-10-18 Andreas Schwab <schwab@redhat.com>
37600
37601 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37602 (__feraiseexcept_renamed): Add __NTH.
37603 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37604 namespace violations.
37605
97c066e6
UD
376062011-10-17 Ulrich Drepper <drepper@gmail.com>
37607
99ce7b04
UD
37608 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37609
1004d182
UD
37610 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37611
228a984d
UD
37612 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37613 recently added interfaces.
37614 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37615
c8553a6a
UD
37616 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37617 about macro parameter expansion.
37618
ed22dcf6
UD
37619 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37620 __NO_MATH_INLINES is defined. Cleanups.
37621
37622 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37623 and __floorf is target has SSE4.1.
37624 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37625 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37626 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37627 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37628
b171c137
UD
37629 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37630 name.
37631 (floorf): Likewise.
37632
97c066e6
UD
37633 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37634
629f62ef
AS
376352011-10-17 Andreas Schwab <schwab@redhat.com>
37636
49a43d80
AS
37637 * misc/sys/cdefs.h: Fix last change.
37638
629f62ef
AS
37639 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37640 database lookup.
37641
e453f6cd
UD
376422011-10-16 Ulrich Drepper <drepper@gmail.com>
37643
aa78043a
UD
37644 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37645
ad0f5cad
UD
37646 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37653 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37654 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37656 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37657 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37658 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37659 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37660 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37661 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37662 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37663 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37664 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37665 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37666 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37667 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37668
37669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37670 ceil, ceilf, floor, floorf.
37671
37672 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37673 Perform IRELATIVE relocations last.
37674
e453f6cd
UD
37675 * elf/do-rel.h: Add another parameter nrelative, replacing the
37676 local variable with the same name. Change name of the function
37677 to end in Rel or Rela (uppercase).
37678 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37679 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37680 elf_dynamic_do_##reloc function.
37681
fd5bdc09
UD
376822011-10-15 Ulrich Drepper <drepper@gmail.com>
37683
79b195b5
UD
37684 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37685 is sufficient, at least on modern CPUs.
37686
d4a28569
UD
37687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37688
b61099b5
UD
37689 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37691
bcf01e6d
UD
37692 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37693 __expl_finite.
37694 * math/bits/math-finite.h: Add entries for exp.
37695 * math/e_expl.c: Add __*_finite alias.
37696 * sysdeps/i386/fpu/e_exp.S: Likewise.
37697 * sysdeps/i386/fpu/e_expf.S: Likewise.
37698 * sysdeps/i386/fpu/e_expl.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37700 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37703 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37706
ba1a0d59
UD
37707 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37708 is sufficient, at least on modern CPUs.
37709
fd5bdc09
UD
37710 * ctype/ctype-info.c (__ctype_init): Define.
37711 * include/ctype.h (__ctype_init): Declare.
37712 (__ctype_b_loc): The variable is always initialized.
37713 (__ctype_toupper_loc): Likewise.
37714 (__ctype_tolower_loc): Likewise.
37715 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37716 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37717
7872cfb0
AS
377182011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37719
b468825a
AS
37720 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37721
7872cfb0
AS
37722 * configure.in: Also look in $cxxmachine/include for C++ system
37723 headers.
37724
be13f7bf
LD
377252011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37726
37727 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37728 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37729 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37730 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37732 (USE_AS_WMEMCMP): New macro.
37733 Fixing indents.
37734 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37735 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37736 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37737 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37739 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37740 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37741 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37742 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37743 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37744 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37745 (USE_AS_WMEMCMP): New macro.
37746 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37747 * sysdeps/string/test-memcmp.c: Update.
37748 Fix simple_wmemcmp.
37749 Add new tests.
37750 * wcsmbs/wmemcmp.c: Update.
37751 (WMEMCMP): New macro.
37752 Fix overflow bug.
37753
556a2007
AJ
377542011-10-12 Andreas Jaeger <aj@suse.de>
37755
37756 [BZ #13268]
37757 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37758
538faaa7
UD
377592011-10-15 Ulrich Drepper <drepper@gmail.com>
37760
ab6737ff
UD
37761 * libio/iofwide.c (do_length): Avoid warning.
37762
538faaa7
UD
37763 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37764
396a21b1
UD
377652011-10-14 Ulrich Drepper <drepper@gmail.com>
37766
cdf2901f
UD
37767 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37768
38ad40ce
UD
37769 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37770 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37771 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37772 * sysdeps/i386/i686/fpu/e_log.S: New file.
37773 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37774 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37775
396a21b1
UD
37776 * ctype/ctype.h: Add support for inlined isXXX functions when
37777 compiling C++ code.
37778
6b1f68c9
AS
377792011-10-14 Andreas Schwab <schwab@redhat.com>
37780
349290c0
AS
37781 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37782
6b1f68c9
AS
37783 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37784
f2282d42
RM
377852011-10-13 Roland McGrath <roland@hack.frob.com>
37786
37787 [BZ #13291]
37788 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37789
5298ffa8
AS
377902011-10-13 Andreas Schwab <schwab@redhat.com>
37791
714fad23
AS
37792 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37793 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37794 feraiseexcept.
37795
81dcc7fb
AS
37796 * sysdeps/x86_64/memrchr.S: Check for zero size.
37797
5298ffa8
AS
37798 * string/stratcliff.c: Add memrchr tests.
37799
951fbcec
LD
378002011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37801
37802 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37803 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37804 rawmemchr-sse2 rawmemchr-sse2-bsf.
37805 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37806 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37807 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37808 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37809 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37810 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37811 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37812 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37813 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37814 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37815 * string/memrchr.c (MEMRCHR): New macro.
37816
0ac5ae23
UD
378172011-10-12 Ulrich Drepper <drepper@gmail.com>
37818
37819 Add integration with gcc's -ffinite-math-only and optimize wrapper
37820 functions in libm.
37821 * Versions.def: Define GLIBC_2.15 version for libm.
37822 * math/Makefile (headers): Add bits/math-finite.h.
37823 * math/bits/math-finite.h: New file.
37824 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37825 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37826 * math/e_acoshl.c: Add __*_finite alias.
37827 * math/e_acosl.c: Likewise.
37828 * math/e_asinl.c: Likewise.
37829 * math/e_atan2l.c: Likewise.
37830 * math/e_atanhl.c: Likewise.
37831 * math/e_coshl.c: Likewise.
37832 * math/e_exp10.c: Likewise.
37833 * math/e_exp10f.c: Likewise.
37834 * math/e_exp10l.c: Likewise.
37835 * math/e_exp2l.c: Likewise.
37836 * math/e_fmodl.c: Likewise.
37837 * math/e_gammal_r.c: Likewise.
37838 * math/e_hypotl.c: Likewise.
37839 * math/e_j0l.c: Likewise.
37840 * math/e_j1l.c: Likewise.
37841 * math/e_jnl.c: Likewise.
37842 * math/e_lgammal_r.c: Likewise.
37843 * math/e_log10l.c: Likewise.
37844 * math/e_log2l.c: Likewise.
37845 * math/e_logl.c: Likewise.
37846 * math/e_powl.c: Likewise.
37847 * math/e_sinhl.c: Likewise.
37848 * math/e_sqrtl.c: Likewise.
37849 * math/e_scalb.c: Completely rewritten and optimized.
37850 * math/e_scalbf.c: Likewise.
37851 * math/e_scalbl.c: Likewise.
37852 * math/w_acos.c: Likewise.
37853 * math/w_acosf.c: Likewise.
37854 * math/w_acosl.c: Likewise.
37855 * math/w_acosh.c: Likewise.
37856 * math/w_acoshf.c: Likewise.
37857 * math/w_acoshl.c: Likewise.
37858 * math/w_asin.c: Likewise.
37859 * math/w_asinf.c: Likewise.
37860 * math/w_asinl.c: Likewise.
37861 * math/w_atan2.c: Likewise.
37862 * math/w_atan2f.c: Likewise.
37863 * math/w_atan2l.c: Likewise.
37864 * math/w_atanh.c: Likewise.
37865 * math/w_atanhf.c: Likewise.
37866 * math/w_atanhl.c: Likewise.
37867 * math/w_exp10.c: Likewise.
37868 * math/w_exp10f.c: Likewise.
37869 * math/w_exp10l.c: Likewise.
37870 * math/w_fmod.c: Likewise.
37871 * math/w_fmodf.c: Likewise.
37872 * math/w_fmodl.c: Likewise.
37873 * math/w_j0.c: Likewise.
37874 * math/w_j0f.c: Likewise.
37875 * math/w_j0l.c: Likewise.
37876 * math/w_j1.c: Likewise.
37877 * math/w_j1f.c: Likewise.
37878 * math/w_j1l.c: Likewise.
37879 * math/w_jn.c: Likewise.
37880 * math/w_jnf.c: Likewise.
37881 * math/w_log.c: Likewise.
37882 * math/w_logf.c: Likewise.
37883 * math/w_logl.c: Likewise.
37884 * math/w_log10.c: Likewise.
37885 * math/w_log10f.c: Likewise.
37886 * math/w_log10l.c: Likewise.
37887 * math/w_log2.c: Likewise.
37888 * math/w_log2f.c: Likewise.
37889 * math/w_log2l.c: Likewise.
37890 * math/w_pow.c: Likewise.
37891 * math/w_powf.c: Likewise.
37892 * math/w_powl.c: Likewise.
37893 * math/w_remainder.c: Likewise.
37894 * math/w_remainderf.c: Likewise.
37895 * math/w_remainderl.c: Likewise.
37896 * math/w_scalb.c: Likewise.
37897 * math/w_scalbf.c: Likewise.
37898 * math/w_scalbl.c: Likewise.
37899 * math/w_sqrt.c: Likewise.
37900 * math/w_sqrtf.c: Likewise.
37901 * math/w_sqrtl.c: Likewise.
37902 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37903 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37904 used.
37905 * math/math_private.h: Declare __kernel_standard_f.
37906 * math/w_cosh.c: Remove cruft and optimize a bit.
37907 * math/w_coshf.c: Likewise.
37908 * math/w_coshl.c: Likewise.
37909 * math/w_exp2.c: Likewise.
37910 * math/w_exp2f.c: Likewise.
37911 * math/w_exp2l.c: Likewise.
37912 * math/w_hypot.c: Likewise.
37913 * math/w_hypotf.c: Likewise.
37914 * math/w_hypotl.c: Likewise.
37915 * math/w_lgamma.c: Likewise.
37916 * math/w_lgamma_r.c: Likewise.
37917 * math/w_lgammaf.c: Likewise.
37918 * math/w_lgammaf_r.c: Likewise.
37919 * math/w_lgammal.c: Likewise.
37920 * math/w_lgammal_r.c: Likewise.
37921 * math/w_sinh.c: Likewise.
37922 * math/w_sinhf.c: Likewise.
37923 * math/w_sinhl.c: Likewise.
37924 * math/w_tgamma.c: Likewise.
37925 * math/w_tgammaf.c: Likewise.
37926 * math/w_tgammal.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37928 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37929 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37930 Minor optimizations. Pretty printing. Remove cruft.
37931 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37932 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37933 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37934 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37935 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37936 * sysdeps/i386/fpu/e_asin.S: Likewise.
37937 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37938 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37939 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37940 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37941 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37942 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37943 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37944 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37945 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37946 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37947 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37948 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37949 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37950 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37951 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37952 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37953 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37954 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37955 * sysdeps/i386/fpu/e_log.S: Likewise.
37956 * sysdeps/i386/fpu/e_log10.S: Likewise.
37957 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37958 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37959 * sysdeps/i386/fpu/e_log2.S: Likewise.
37960 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37961 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37962 * sysdeps/i386/fpu/e_logf.S: Likewise.
37963 * sysdeps/i386/fpu/e_logl.S: Likewise.
37964 * sysdeps/i386/fpu/e_pow.S: Likewise.
37965 * sysdeps/i386/fpu/e_powf.S: Likewise.
37966 * sysdeps/i386/fpu/e_powl.S: Likewise.
37967 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37968 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37969 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37970 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37972 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37973 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37974 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37975 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37976 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37979 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37981 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37983 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37984 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37986 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37987 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37992 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37993 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37997 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37998 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37999 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38000 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38001 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38002 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38003 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38004 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38005 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38006 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38007 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38008 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38009 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38010 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38011 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38012 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38013 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38014 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38015 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38016 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38017 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38018 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38019 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38020 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38021 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38022 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38023 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38024 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38036 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38037 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38047 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38048 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38054 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38055 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38056 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38057 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38059 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38060 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38061 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38062 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38063 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38064 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38067 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38068 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38069 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38070 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38071 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38072 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38073 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38074 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38075 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38076 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38077 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38078 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38079 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38080 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38081 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38082 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38083 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38084 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38085 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38086 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38087 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38088 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38089 (__isnanf): Likewise.
38090 (__isinf_ns): Likewise.
38091 (__isinf_nsf): Likewise.
38092 (__finite): Likewise.
38093 (__finitef): Likewise.
38094 (__ieee754_sqrt): Define as macro.
38095 (__ieee754_sqrtf): Define as macro.
38096 (__ieee754_sqrtl): Define as macro.
38097 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38098 inlined copy.
38099 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38100 __FINITE_MATH_ONLY__ consistent.
38101 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38102
12cc2fcd
AS
381032011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38104
a843a204
AS
38105 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38106 of rawmemchr.
38107
12cc2fcd
AS
38108 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38109
c853acd5
UD
381102011-10-09 Ulrich Drepper <drepper@gmail.com>
38111
38112 * po/ja.po: Update from translation team.
38113
c658d255
RM
381142011-10-08 Roland McGrath <roland@hack.frob.com>
38115
110946e4
RM
38116 * locale/programs/locarchive.c (prepare_address_space): New function.
38117 (create_archive, enlarge_archive, open_archive): Use it.
38118
50604220
RM
38119 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38120 inside [SHARED], where it is used.
38121
c658d255
RM
38122 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38123
38124 * nss/getent.c (netgroup_keys): Remove unused variable.
38125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38126
6a621eb7
UD
381272011-10-08 Ulrich Drepper <drepper@gmail.com>
38128
7edb55ce
UD
38129 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38130 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38132 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38133 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38134 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38135 * math/Makefile (libm-calls): Add s_isinf_ns.
38136 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38137 * math/multc3.c: Likewise.
38138 * math/s_casin.c: Likewise.
38139 * math/s_casinf.c: Likewise.
38140 * math/s_casinl.c: Likewise.
38141 * math/s_ccos.c: Likewise.
38142 * math/s_ccosf.c: Likewise.
38143 * math/s_ccosl.c: Likewise.
38144 * math/s_ctan.c: Likewise.
38145 * math/s_ctanf.c: Likewise.
38146 * math/s_ctanh.c: Likewise.
38147 * math/s_ctanhf.c: Likewise.
38148 * math/s_ctanhl.c: Likewise.
38149 * math/s_ctanl.c: Likewise.
38150 * math/w_fmod.c: Likewise.
38151 * math/w_fmodf.c: Likewise.
38152 * math/w_fmodl.c: Likewise.
38153 * math/w_remainder.c: Likewise.
38154 * math/w_remainderf.c: Likewise.
38155 * math/w_remainderl.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38157 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38158 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38160 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38161 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38162 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38163 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38164
187da0ae
UD
38165 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38166 of the number.
38167 * stdio-common/printf_fphex.c: Likewise.
38168 * stdio-common/printf_size.c: Likewise.
38169
9277c064
UD
38170 * math/e_exp10.c: Include math_private.h using <...> not "...".
38171 * math/e_exp10f.c: Likewise.
38172 * math/e_exp10l.c: Likewise.
38173 * math/e_exp2l.c: Likewise.
38174 * math/e_j0l.c: Likewise.
38175 * math/e_j1l.c: Likewise.
38176 * math/e_jnl.c: Likewise.
38177 * math/e_lgammal_r.c: Likewise.
38178 * math/e_rem_pio2l.c: Likewise.
38179 * math/e_scalb.c: Likewise.
38180 * math/e_scalbf.c: Likewise.
38181 * math/e_scalbl.c: Likewise.
38182 * math/k_cosl.c: Likewise.
38183 * math/k_sinl.c: Likewise.
38184 * math/k_tanl.c: Likewise.
38185 * math/s_cacoshf.c: Likewise.
38186 * math/s_catan.c: Likewise.
38187 * math/s_catanf.c: Likewise.
38188 * math/s_catanh.c: Likewise.
38189 * math/s_catanhf.c: Likewise.
38190 * math/s_catanhl.c: Likewise.
38191 * math/s_catanl.c: Likewise.
38192 * math/s_ccosh.c: Likewise.
38193 * math/s_ccoshf.c: Likewise.
38194 * math/s_ccoshl.c: Likewise.
38195 * math/s_cexp.c: Likewise.
38196 * math/s_cexpf.c: Likewise.
38197 * math/s_cexpl.c: Likewise.
38198 * math/s_clog.c: Likewise.
38199 * math/s_clog10.c: Likewise.
38200 * math/s_clog10f.c: Likewise.
38201 * math/s_clog10l.c: Likewise.
38202 * math/s_clogf.c: Likewise.
38203 * math/s_clogl.c: Likewise.
38204 * math/s_csin.c: Likewise.
38205 * math/s_csinf.c: Likewise.
38206 * math/s_csinh.c: Likewise.
38207 * math/s_csinhf.c: Likewise.
38208 * math/s_csinhl.c: Likewise.
38209 * math/s_csinl.c: Likewise.
38210 * math/s_csqrt.c: Likewise.
38211 * math/s_csqrtf.c: Likewise.
38212 * math/s_csqrtl.c: Likewise.
38213 * math/s_ctan.c: Likewise.
38214 * math/s_ctanf.c: Likewise.
38215 * math/s_ctanh.c: Likewise.
38216 * math/s_ctanhf.c: Likewise.
38217 * math/s_ctanhl.c: Likewise.
38218 * math/s_ctanl.c: Likewise.
38219 * math/s_ldexp.c: Likewise.
38220 * math/s_ldexpf.c: Likewise.
38221 * math/s_ldexpl.c: Likewise.
38222 * math/s_significand.c: Likewise.
38223 * math/s_significandf.c: Likewise.
38224 * math/s_significandl.c: Likewise.
38225 * math/w_acos.c: Likewise.
38226 * math/w_acosf.c: Likewise.
38227 * math/w_acosh.c: Likewise.
38228 * math/w_acoshf.c: Likewise.
38229 * math/w_acoshl.c: Likewise.
38230 * math/w_acosl.c: Likewise.
38231 * math/w_asin.c: Likewise.
38232 * math/w_asinf.c: Likewise.
38233 * math/w_asinl.c: Likewise.
38234 * math/w_atan2.c: Likewise.
38235 * math/w_atan2f.c: Likewise.
38236 * math/w_atan2l.c: Likewise.
38237 * math/w_atanh.c: Likewise.
38238 * math/w_atanhf.c: Likewise.
38239 * math/w_atanhl.c: Likewise.
38240 * math/w_cosh.c: Likewise.
38241 * math/w_coshf.c: Likewise.
38242 * math/w_coshl.c: Likewise.
38243 * math/w_dremf.c: Likewise.
38244 * math/w_exp10.c: Likewise.
38245 * math/w_exp10f.c: Likewise.
38246 * math/w_exp10l.c: Likewise.
38247 * math/w_exp2.c: Likewise.
38248 * math/w_exp2f.c: Likewise.
38249 * math/w_fmod.c: Likewise.
38250 * math/w_fmodf.c: Likewise.
38251 * math/w_fmodl.c: Likewise.
38252 * math/w_hypot.c: Likewise.
38253 * math/w_hypotf.c: Likewise.
38254 * math/w_hypotl.c: Likewise.
38255 * math/w_j0.c: Likewise.
38256 * math/w_j0f.c: Likewise.
38257 * math/w_j0l.c: Likewise.
38258 * math/w_j1.c: Likewise.
38259 * math/w_j1f.c: Likewise.
38260 * math/w_j1l.c: Likewise.
38261 * math/w_jn.c: Likewise.
38262 * math/w_jnf.c: Likewise.
38263 * math/w_jnl.c: Likewise.
38264 * math/w_lgamma.c: Likewise.
38265 * math/w_lgamma_r.c: Likewise.
38266 * math/w_lgammaf.c: Likewise.
38267 * math/w_lgammaf_r.c: Likewise.
38268 * math/w_lgammal.c: Likewise.
38269 * math/w_lgammal_r.c: Likewise.
38270 * math/w_log.c: Likewise.
38271 * math/w_log10.c: Likewise.
38272 * math/w_log10f.c: Likewise.
38273 * math/w_log10l.c: Likewise.
38274 * math/w_log2.c: Likewise.
38275 * math/w_log2f.c: Likewise.
38276 * math/w_log2l.c: Likewise.
38277 * math/w_logf.c: Likewise.
38278 * math/w_logl.c: Likewise.
38279 * math/w_pow.c: Likewise.
38280 * math/w_powf.c: Likewise.
38281 * math/w_powl.c: Likewise.
38282 * math/w_remainder.c: Likewise.
38283 * math/w_remainderf.c: Likewise.
38284 * math/w_remainderl.c: Likewise.
38285 * math/w_scalb.c: Likewise.
38286 * math/w_scalbf.c: Likewise.
38287 * math/w_scalbl.c: Likewise.
38288 * math/w_sinh.c: Likewise.
38289 * math/w_sinhf.c: Likewise.
38290 * math/w_sinhl.c: Likewise.
38291 * math/w_sqrt.c: Likewise.
38292 * math/w_sqrtf.c: Likewise.
38293 * math/w_sqrtl.c: Likewise.
38294 * math/w_tgamma.c: Likewise.
38295 * math/w_tgammaf.c: Likewise.
38296 * math/w_tgammal.c: Likewise.
38297
6a621eb7
UD
38298 * po/ja.po: Update from translation team.
38299
bf582445
AJ
383002011-09-29 Andreas Jaeger <aj@suse.de>
38301
f9efbf3a
AJ
38302 [BZ #13179]
38303 * sunrpc/netname.c (netname2host): Fix logic.
38304
bf582445
AJ
38305 [BZ #6779]
38306 [BZ #6783]
38307 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38308 correctly.
38309 * math/w_remainder.c (__remainder): Likewise.
38310 * math/w_remainderf.c (__remainderf): Likewise.
38311 * math/libm-test.inc (remainder_test): Add test cases.
38312
48693bea
AK
383132011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38314
38315 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38316 sdiv_qrnnd.
38317
42622229
LD
383182011-10-07 Ulrich Drepper <drepper@gmail.com>
38319
38320 * string/test-memcmp.c: Avoid unncessary #defines.
38321 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38322
093ecf92
LD
383232011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38324
38325 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38326 Use new sse2 version for core i3 - i7 as it's faster
38327 than sse42 version.
38328 (bit_Prefer_PMINUB_for_stringop): New.
38329 * sysdeps/x86_64/rawmemchr.S: Update.
38330 Replace with faster SSE2 version.
38331 * sysdeps/x86_64/memrchr.S: New file.
38332 * sysdeps/x86_64/memchr.S: Update.
38333 Replace with faster SSE2 version.
38334
fde56e5c
MP
383352011-09-12 Marek Polacek <mpolacek@redhat.com>
38336
38337 * elf/dl-load.c (lose): Add cast to avoid warning.
38338
21fd49a9
UD
383392011-10-07 Ulrich Drepper <drepper@gmail.com>
38340
5a06e643
UD
38341 * po/ca.po: Update from translation team.
38342
684ae515
UD
38343 * inet/getnetgrent_r.c: Hook up nscd.
38344 * nscd/Makefile (routines): Add nscd_netgroup.
38345 (nscd-modules): Add netgroupcache.
38346 (CFLAGS-netgroupcache.c): Define.
38347 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38348 (cache_search): Add const to second parameter.
38349 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38350 INNETGR.
38351 (dbs): Add netgrdb entry.
38352 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38353 (verify_persistent_db): Handle netgrdb.
38354 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38355 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38356 GETFDNETGR.
38357 (netgroup_response_header): Define.
38358 (innetgroup_response_header): Define.
38359 (datahead): Add netgroup_response_header and innetgroup_response_header
38360 elements.
38361 * nscd/nscd.conf: Add entries for netgroup cache.
38362 * nscd/nscd.h (dbtype): Add netgrdb.
38363 (_PATH_NSCD_NETGROUP_DB): Define.
38364 (netgroup_iov_disabled): Declare.
38365 (xmalloc, xcalloc, xrealloc): Move declarations here.
38366 (cache_search): Adjust prototype.
38367 Add netgroup-related prototypes.
38368 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38369 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38370 (__nscd_innetgr): Declare.
38371 * nscd/selinux.c (perms): Use access_vector_t as element type and
38372 add netgroup-related initializers.
38373 * nscd/netgroupcache.c: New file.
38374 * nscd/nscd_netgroup.c: New file.
38375 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38376 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38377 For four parameters use innetgr.
38378 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38379 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38380 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38381 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38382
21fd49a9
UD
38383 * nscd/connections.c (register_traced_file): Don't register file
38384 for disabled databases.
38385
054c0457
UD
383862011-10-06 Ulrich Drepper <drepper@gmail.com>
38387
32b63198
UD
38388 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38389
054c0457
UD
38390 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38391 from tree and freeing node.
38392
64031225
JO
383932011-09-25 Jiri Olsa <jolsa@redhat.com>
38394
38395 * nss/nsswitch.c (__nss_database_lookup): Handle
38396 nss_parse_service_list out of memory case.
38397
0490345c
JO
383982011-09-15 Jiri Olsa <jolsa@redhat.com>
38399
38400 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38401 out of memory case.
38402
3a62d00d
AS
384032011-10-04 Andreas Schwab <schwab@redhat.com>
38404
38405 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38406 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38407 pass it down.
38408 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38409 elf_machine_rela, elf_machine_lazy_rel.
38410 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38411 (ELF_DYNAMIC_DO_REL): Likewise.
38412 (ELF_DYNAMIC_DO_RELA): Likewise.
38413 (ELF_DYNAMIC_RELOCATE): Likewise.
38414 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38415 to ELF_DYNAMIC_DO_REL.
38416 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38417 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38418 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38419 elf_machine_rela.
38420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38421 skip_ifunc, don't call ifunc function if non-zero.
38422 (elf_machine_rela): Likewise.
38423 (elf_machine_lazy_rel): Likewise.
38424 (elf_machine_lazy_rela): Likewise.
38425 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38426 (elf_machine_lazy_rel): Likewise.
38427 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38428 Likewise.
38429 (elf_machine_lazy_rel): Likewise.
38430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38431 Likewise.
38432 (elf_machine_lazy_rel): Likewise.
38433 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38434 (elf_machine_lazy_rel): Likewise.
38435 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38436 (elf_machine_lazy_rel): Likewise.
38437 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38438 (elf_machine_lazy_rel): Likewise.
38439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38440 (elf_machine_lazy_rel): Likewise.
38441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38442 (elf_machine_lazy_rel): Likewise.
38443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38444 (elf_machine_lazy_rel): Likewise.
38445
68577918
UD
384462011-09-28 Ulrich Drepper <drepper@gmail.com>
38447
38448 * nss/nss_files/files-init.c (_nss_files_init): Use static
38449 initialization for all the *_traced_file variables.
38450
68822d74
AS
384512011-09-28 Andreas Schwab <schwab@redhat.com>
38452
38453 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38454
2056100b
RM
384552011-09-27 Roland McGrath <roland@hack.frob.com>
38456
38457 [BZ #13226]
38458 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38459
32c76b63
AS
384602011-09-27 Andreas Schwab <schwab@redhat.com>
38461
38462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38463 Reread the line before reparsing it.
38464
bf972c9d
AS
384652011-09-26 Andreas Schwab <schwab@redhat.com>
38466
38467 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38468
e057a1b5
JM
384692011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38470 Maxim Kuvyrkov <maxim@codesourcery.com>
38471 Joseph Myers <joseph@codesourcery.com>
38472
38473 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38474 if needed for __stack_chk_guard.
38475
bc7e1c36
RM
384762011-09-19 Roland McGrath <roland@hack.frob.com>
38477
ecb1482f
RM
38478 * sysdeps/posix/spawni.c (script_execute): Always define it.
38479 It will be optimized away if unused.
38480 (maybe_script_execute): New function.
38481 (__spawni): Call it.
38482
bc7e1c36
RM
38483 * Makerules: Don't include tls.make.
38484 (config-tls): Always set to thread.
38485 * tls.make.c: File removed.
38486
1c3b002b
MF
384872011-09-19 Mike Frysinger <vapier@gentoo.org>
38488
38489 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38490 * config.make.in (CPPFLAGS-config): New substituted variable.
38491
2840865d
UD
384922011-09-15 Ulrich Drepper <drepper@gmail.com>
38493
88738eb6
UD
38494 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38495
cbf645a6 38496 [BZ #13192]
2840865d
UD
38497 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38498 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38499
b402e91a
RM
385002011-09-15 Roland McGrath <roland@hack.frob.com>
38501
38502 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38503 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38504 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38505 (CALL_FAIL): Likewise.
38506 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38507 (CALL_FAIL): Macro removed.
38508 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38509
4c1a1f71
UD
385102011-09-15 Ulrich Drepper <drepper@gmail.com>
38511
38512 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38513 for __FINITE_MATH_ONLY__ == 1.
38514
edc121be
AS
385152011-09-15 Andreas Schwab <schwab@redhat.com>
38516
38517 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38518 __ieee754_sqrt instead of sqrt.
38519 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38520 __ieee754_sqrtf instead of sqrtf.
38521 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38522 __floorf instead of floorf.
38523 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38524 __floorf, __truncf instead of floorf, truncf.
38525
cd205654
UD
385262011-09-14 Ulrich Drepper <drepper@gmail.com>
38527
ee4d0315
UD
38528 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38529
cd205654
UD
38530 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38531 __extern_always_inline.
38532 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38533 32-bit.
38534
48b67d71
AS
385352011-09-14 Andreas Schwab <schwab@redhat.com>
38536
38537 * elf/rtld.c (dl_main): Also relocate in dependency order when
38538 doing symbol dependency testing.
38539
1ae12c75
AS
385402011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38541
38542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38543 Always define `refsym'.
38544
995a80df
AS
385452011-09-13 Andreas Schwab <schwab@redhat.com>
38546
e529793b
AS
38547 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38548 (__FD_ELT): Renamed from __FDELT.
38549 * misc/bits/select2.h (__FD_ELT): Likewise.
38550 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38551 __FD_MASK instead of __FDELT, __FDMASK.
38552 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38553 Likewise.
38554 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38555 Likewise.
38556
52d4fef8
AS
38557 * elf/Makefile (gen-ldd): Fix pattern.
38558
995a80df
AS
38559 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38560 (init_tls): Likewise.
38561
8682f8b0
UD
385622011-09-12 Ulrich Drepper <drepper@gmail.com>
38563
38564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38565
de82006d
AS
385662011-09-12 Andreas Schwab <schwab@redhat.com>
38567
a7c8e6a1
AS
38568 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38569 `struct cmsghdr *' instead of `void *'.
38570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38571 Likewise.
38572
0f31fe77
AS
385732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38574
38575 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38576 if non-absolute.
38577 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38578 ldd_rewrite_script.
0f31fe77 38579
32b4c839
UD
385802011-09-11 Ulrich Drepper <drepper@gmail.com>
38581
83cd1420
UD
38582 * configure.in: Remove --with-tls option.
38583 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38584 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38585 out in case it is missing.
38586 * sysdeps/ia64/elf/configure.in: Likewise.
38587 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38588 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38589 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38590 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38591 * sysdeps/sh/elf/configure.in: Likewise.
38592 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38593 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38594 * sysdeps/x86_64/elf/configure.in: Likewise.
38595 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38596 * sysdeps/mach/hurd/tls.h: Likewise.
38597
633f745d
UD
38598 [BZ #13067]
38599 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38600
f318beb8
UD
38601 [BZ #13090]
38602 * configure.in: Fix use of AC_INIT.
38603
32b4c839
UD
38604 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38605
3ce1f295
UD
386062011-09-10 Ulrich Drepper <drepper@gmail.com>
38607
bb016596
UD
38608 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38609 __set_errno.
8e58439c
UD
38610 * malloc/hooks.c: Likewise.
38611
aebae053 38612 [BZ #11929]
02d46fc4
UD
38613 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38614 variables statically.
38615 (narenas): Initialize.
38616 (list_lock): Initialize.
bb016596
UD
38617 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38618 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38619 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38620 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38621 Add initializers to main_arena and mp_.
38622 (malloc_state): Remove pagesize member. Change all users to use
38623 GLRO(dl_pagesize).
38624
38625 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38626 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38627 is always initialized.
38628
22a89187
UD
38629 * malloc/malloc.c: Removed unused configurations and dead code.
38630 * malloc/arena.c: Likewise.
38631 * malloc/hooks.c: Likewise.
02d46fc4 38632 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38633
d063d164
UD
38634 * include/tls.h: Removed. USE___THREAD must always be defined.
38635 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38636 * elf/dl-libc.c: Likewise.
38637 * elf/dl-tsd.c: Likewise.
38638 * include/errno.h: Likewise.
38639 * include/netdb.h: Likewise.
38640 * include/resolv.h: Likewise.
38641 * inet/herrno-loc.c: Likewise.
38642 * inet/herrno.c: Likewise.
38643 * malloc/arena.c: Likewise.
38644 * malloc/hooks.c: Likewise.
38645 * malloc/malloc.c: Likewise.
38646 * resolv/res-state.c: Likewise.
38647 * resolv/res_libc.c: Likewise.
38648 * sysdeps/i386/dl-machine.h: Likewise.
38649 * sysdeps/ia64/dl-machine.h: Likewise.
38650 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38651 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38652 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38653 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38654 * sysdeps/sh/dl-machine.h: Likewise.
38655 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38657 * sysdeps/unix/i386/sysdep.S: Likewise.
38658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38659 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38662 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38664 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38668 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38669 * sysdeps/x86_64/dl-machine.h: Likewise.
38670 * tls.make.c: Likewise.
38671
3ce1f295
UD
38672 * configure.in: Remove --with-__thread option. Make tests for
38673 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38674 tls_model attribute fail if no support is available. Remove
38675 USE_IN_LIBIO.
38676 * Makeconfig: Adjust for dropped configure option. All features are
38677 now mandatory.
38678 * Makerules: Likewise.
38679 * Versions.def: Likewise.
38680 * argp/argp-fmtstream.c: Likewise.
38681 * argp/argp-fmtstream.h: Likewise.
38682 * argp/argp-help.c: Likewise.
38683 * assert/assert.c: Likewise.
38684 * config.h.in: Likewise.
38685 * config.make.in: Likewise.
38686 * configure: Likewise.
38687 * configure.in: Likewise.
38688 * csu/Versions: Likewise.
38689 * csu/init.c: Likewise.
38690 * elf/tst-audit2.c: Likewise.
38691 * elf/tst-tls10.c: Likewise.
38692 * elf/tst-tls10.h: Likewise.
38693 * elf/tst-tls11.c: Likewise.
38694 * elf/tst-tls12.c: Likewise.
38695 * elf/tst-tls14.c: Likewise.
38696 * elf/tst-tlsmod11.c: Likewise.
38697 * elf/tst-tlsmod12.c: Likewise.
38698 * elf/tst-tlsmod13.c: Likewise.
38699 * elf/tst-tlsmod13a.c: Likewise.
38700 * elf/tst-tlsmod14a.c: Likewise.
38701 * elf/tst-tlsmod15b.c: Likewise.
38702 * elf/tst-tlsmod16a.c: Likewise.
38703 * elf/tst-tlsmod16b.c: Likewise.
38704 * elf/tst-tlsmod7.c: Likewise.
38705 * elf/tst-tlsmod8.c: Likewise.
38706 * elf/tst-tlsmod9.c: Likewise.
38707 * gmon/gmon.c: Likewise.
38708 * grp/fgetgrent_r.c: Likewise.
38709 * grp/putgrent.c: Likewise.
38710 * hurd/fopenport.c: Likewise.
38711 * include/libc-symbols.h: Likewise.
38712 * include/tls.h: Likewise.
38713 * intl/gettextP.h: Likewise.
38714 * intl/loadinfo.h: Likewise.
38715 * locale/global-locale.c: Likewise.
38716 * locale/localeinfo.h: Likewise.
38717 * mach/devstream.c: Likewise.
38718 * malloc/arena.c: Likewise.
38719 * malloc/set-freeres.c: Likewise.
38720 * misc/err.c: Likewise.
38721 * misc/getttyent.c: Likewise.
38722 * misc/mntent_r.c: Likewise.
38723 * posix/getopt.c: Likewise.
38724 * posix/wordexp.c: Likewise.
38725 * pwd/fgetpwent_r.c: Likewise.
38726 * resolv/Versions: Likewise.
38727 * resolv/res_hconf.c: Likewise.
38728 * shadow/fgetspent_r.c: Likewise.
38729 * shadow/putspent.c: Likewise.
38730 * stdio-common/printf_fphex.c: Likewise.
38731 * stdio-common/tmpfile.c: Likewise.
38732 * stdlib/abort.c: Likewise.
38733 * stdlib/fmtmsg.c: Likewise.
38734 * sunrpc/auth_unix.c: Likewise.
38735 * sunrpc/clnt_perr.c: Likewise.
38736 * sunrpc/clnt_tcp.c: Likewise.
38737 * sunrpc/clnt_udp.c: Likewise.
38738 * sunrpc/clnt_unix.c: Likewise.
38739 * sunrpc/openchild.c: Likewise.
38740 * sunrpc/svc_simple.c: Likewise.
38741 * sunrpc/svc_tcp.c: Likewise.
38742 * sunrpc/svc_udp.c: Likewise.
38743 * sunrpc/svc_unix.c: Likewise.
38744 * sunrpc/xdr.c: Likewise.
38745 * sunrpc/xdr_array.c: Likewise.
38746 * sunrpc/xdr_rec.c: Likewise.
38747 * sunrpc/xdr_ref.c: Likewise.
38748 * sunrpc/xdr_stdio.c: Likewise.
38749
1248c1c4
PB
387502011-09-09 Ulrich Drepper <drepper@gmail.com>
38751
38752 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38753
387542011-07-03 Andreas Jaeger <aj@suse.de>
38755
38756 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38757 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38758 regenerate with gen-libm-tests.pl.
38759
387602010-05-12 Petr Baudis <pasky@suse.cz>
38761
38762 [BZ #11589]
38763 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38764 around j0() zero points by switching to j1().
38765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38769
f22e1074
UD
387702011-09-09 Ulrich Drepper <drepper@gmail.com>
38771
f19009c1
UD
38772 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38773 instead of 0.
38774 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38775 instead of 0.
f19009c1
UD
38776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38777 Patch in part by Pavel Roskin <proski@gnu.org>.
38778
3f8cc204
UD
38779 [BZ #13138]
38780 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38781 realloc.
38782 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38783 Free memory block if necessary.
38784
f22e1074
UD
38785 [BZ #12847]
38786 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38787 be NULL. Don't lock in this case.
38788
0a2349f9
RM
387892011-09-09 Roland McGrath <roland@hack.frob.com>
38790
38791 * elf/elf.h (ELFOSABI_GNU): New macro.
38792 (ELFOSABI_LINUX): Define to that.
38793
f3cdd467
DZ
387942011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38795
38796 * string/strncat.c (strncat): Undef the symbol in case it has been
38797 defined in bits/string.h.
38798
74718d13
UD
387992011-09-09 Ulrich Drepper <drepper@gmail.com>
38800
633e9e0f
UD
38801 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38802
0a2349f9 38803 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38804 link map.
38805
f9924780
AJ
388062011-08-17 Andreas Jaeger <aj@suse.de>
38807
38808 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38809
7f5517aa
PP
388102011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38811 Ian Lance Taylor <iant@google.com>
38812
38813 * math/libm-test.inc (lround_test): New testcase.
38814 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38815
762011fe
UD
388162011-09-08 Ulrich Drepper <drepper@gmail.com>
38817
92963737
UD
38818 * Makefile: Remove support for automatic cvs check-ins.
38819 * Makerules: Likewise.
38820 * config.make.in: Likewise.
38821 * configure.in: Likewise.
38822 * intl/Makefile: Likewise.
38823 * locale/Makefile: Likewise.
38824 * po/Makefile: Likewise.
38825 * posix/Makefile: Likewise.
38826 * sysdeps/gnu/Makefile: Likewise.
38827 * sysdeps/mach/hurd/Makefile: Likewise.
38828 * sysdeps/sparc/sparc32/Makefile: Likewise.
38829
b0727fd8
JS
38830 [BZ #13118]
38831 * posix/Makefile (bug-regex32-ENV): Define.
38832 Patch by John Stanley <jpsinthemix@verizon.net>.
38833
a0f33f99
UD
38834 * misc/Makefile (headers): Add bits/select2.h.
38835 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38836 * misc/bits/select2.h: New file.
38837 * include/bits/select2.h: New file.
38838 * debug/Makefile (routines): Add fdelt_chk.
38839 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38840 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38841 FD_ISSET.
38842 * debug/fdelt_chk.c: New file.
38843
762011fe
UD
38844 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38845 * wcsmbs/test-wmemcmp.c: Likewise.
38846 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38847 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38848
388492011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38850
38851 * string/Makefile (strop-tests): Add memcmp.
38852 * string/test-wmemcmp.c: New file.
38853 * string/test-memcmp.c: Add wmemcmp support.
38854
7f513ec8
RM
388552011-09-08 Roland McGrath <roland@hack.frob.com>
38856
0442afb4
RM
38857 [BZ #13153]
38858 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38859 2011-07-19 change.
38860
7f513ec8
RM
38861 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38862 garbage value in a __mach_port_mod_refs call in the cases of the
38863 task-self and thread-self ports.
38864
a12b2239
ST
388652011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38866
38867 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38868
610f9ab4
AS
388692011-09-08 Andreas Schwab <schwab@redhat.com>
38870
7f513ec8 38871 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38872
48882a1a
LD
388732011-09-07 Ulrich Drepper <drepper@gmail.com>
38874
b49865be
UD
38875 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38876
fdc86bc9
UD
38877 * elf/dl-libc.c (dlerror_run): Pass back error code from
38878 dl_catch_error.
38879
c966526a
UD
38880 [BZ #13123]
38881 * elf/dl-load.c (lose): Free l_origin if it is valid.
38882
48882a1a
LD
38883 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38884 names.
38885 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38886 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38887 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38888 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38889 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38890 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38891
77a2a8b4
AZ
388922011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38893
38894 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38895 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38896 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38898 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38899 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38900 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38901 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38902 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38903 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38904
24f579d8
AM
389052011-08-15 Alan Modra <amodra@gmail.com>
38906
38907 [BZ #13092]
38908 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38909 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38910 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38911 ppc_mcount to static-only-routines.
38912 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38913 __mcount_internal.
38914 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38915 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38916
3d4837df
UD
389172011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38918
38919 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38920 for finite and infinity parameters.
38921
22700377
WS
389222011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38923
38924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38925 and add nop instructions for throughput optimization.
38926 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38927
5025581e
WS
389282011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38929
38930 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38931 aligned copy for power7 with vector-scalar instructions.
38932 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38933
08a300c9
L
389342011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38935
38936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38937 AVX check.
38938
59178ef9
AS
389392011-09-07 Andreas Schwab <schwab@redhat.com>
38940
38941 [BZ #13144]
38942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38943 last change.
38944
e38ba7ab
UD
389452011-09-07 Ulrich Drepper <drepper@gmail.com>
38946
38947 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38948 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38949 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38950 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38951 clock_gettime.
38952
d53a73ac
UD
389532011-09-06 Ulrich Drepper <drepper@gmail.com>
38954
fc8bffcc
UD
38955 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38956 Forgot to demangle the pointer.
38957
ceaa0c5d
UD
38958 * sysdeps/i386/sysdep.h: Define atom_text_section.
38959 * sysdeps/x86_64/sysdep.h: Likewise.
38960 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38961 section with atom_text_section.
38962 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38963 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38964 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38966 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38967
a77d3c17
UD
38968 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38970 already be defined. Change to take two parameters and don't assign
38971 result to variable. Adjust all users.
38972 Define INTERNAL_GETTIME if not already defined.
38973 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38974 call.
38975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38976 HAVE_CLOCK_GETTIME_VSYSCALL.
38977 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38978
d53a73ac
UD
38979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38980 gettimeofday vsyscall, just use time.
38981
a8f84144
AS
389822011-09-06 Andreas Schwab <schwab@redhat.com>
38983
38984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38985 <errno.h>.
38986
ef606249
UD
389872011-09-06 Ulrich Drepper <drepper@gmail.com>
38988
38989 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38990 syscall on x86-64.
38991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38992 syscall.
38993 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38995 syscall if possible.
38996
6585cb60
UD
389972011-09-05 Ulrich Drepper <drepper@gmail.com>
38998
38999 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39000 e_ident. Don't pass to find_mapsXX.
39001 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39002
a5f524e4
LD
390032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39004
39005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39006 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39007 * sysdeps/x86_64/multiarch/strchr.S: Update.
39008 Check bit_slow_BSF bit.
39009 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39010 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39011 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39012
554881ef
UD
390132011-09-05 Ulrich Drepper <drepper@gmail.com>
39014
d96de963
UD
39015 [BZ #13134]
39016 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39017 before glibc 2.15.
39018 (tryshell): Define.
39019 (__spawni): Change last parameter to be flag. Test
39020 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39021 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39022 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39023 * posix/spawni.c: Likewise.
39024 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39025 * posix/spawnp.c: Likewise. Change normal version to use
39026 SPAWN_XFLAGS_USE_PATH.
39027 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39028 SPAWN_XFLAGS_TRY_SHELL.
39029
d48e5868
UD
39030 [BZ #13150]
39031 * posix/glob.h: Remove gcc 1.x support.
39032
554881ef
UD
39033 [BZ #13068]
39034 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39035
693fb948
LD
390362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39037
39038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39039 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39040 strrchr-sse2-bsf
39041 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39042 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39043 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39044 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39045 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39046 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39047
1b48c537
UD
390482011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39049
49d42c37
UD
39050 * sysdeps/x86_64/wcscmp.S: New file.
39051
1b48c537
UD
39052 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39053 wcscmp-c wcscmp-sse2
39054 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39055 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39056 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39057 * wcsmbs/wcscmp.c: Allow renaming.
39058
15c95c5d
DM
390592011-09-05 David S. Miller <davem@davemloft.net>
39060
39061 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39062 stack slot, rather than the struct return pointer slot.
39063 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39064 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39066 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39067
2f0ad8f3
UD
390682011-09-05 Ulrich Drepper <drepper@gmail.com>
39069
d88ae418
UD
39070 * po/ja.po: Update from translation team.
39071
2f0ad8f3
UD
39072 [BZ #13144]
39073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39074 kernel in 64-bit binaries.
39075
5f4318d1
DM
390762011-09-01 David S. Miller <davem@davemloft.net>
39077
39078 * elf/elf.h (HWCAP_SPARC_*): Move to..
39079 * sysdeps/sparc/sysdep.h: this new file and add new values.
39080 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39081 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39082 _DL_HWCAP_COUNT to 24.
39083 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39084 entries.
39085 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39086 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39087 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39089 instead of magic constants.
39090 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39091
3ba57516
DM
390922011-08-31 David S. Miller <davem@davemloft.net>
39093
39094 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39096 Reimplement to do errno handling inline.
39097 (SYSCALL_ERROR_HANDLER): New macro.
39098 (__SYSCALL_STRING): Do not do errno handling in asm.
39099 (__CLONE_SYSCALL_STRING): Delete.
39100 (__INTERNAL_SYSCALL_STRING): Delete.
39101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39102 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39103 (PSEUDO): Reimplement to do errno handling inline.
39104 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39105 (SYSCALL_ERROR_HANDLER): New macro.
39106 (__SYSCALL_STRING): Do not do errno handling in asm.
39107 (__CLONE_SYSCALL_STRING): Delete.
39108 (__INTERNAL_SYSCALL_STRING): Delete.
39109 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39110 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39111 i386.
39112 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39113 (inline_syscall*): Add 'err' argument.
39114 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39115 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39116 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39117 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39118
39119 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39120 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39121
2bc17433
AS
391222011-08-30 Andreas Schwab <schwab@redhat.com>
39123
39124 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39125
fbeb5f4d
JO
391262011-08-29 Jiri Olsa <jolsa@redhat.com>
39127
39128 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39129 directive.
39130
ad69cc26
DM
391312011-08-24 David S. Miller <davem@davemloft.net>
39132
39133 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39134
39dd69df
AS
391352011-08-24 Andreas Schwab <schwab@redhat.com>
39136
39137 * elf/Makefile: Add rules to build and run unload8 test.
39138 * elf/unload8.c: New file.
39139 * elf/unload8mod1.c: New file.
39140 * elf/unload8mod1x.c: New file.
39141 * elf/unload8mod2.c: New file.
39142 * elf/unload8mod3.c: New file.
39143
39144 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39145 it wasn't used.
39146
2c0b250a
DM
391472011-08-23 David S. Miller <davem@davemloft.net>
39148
39149 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39150 subtract stack bias.
39151 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39152 %sp not %fp in calculations.
39153 (_JMPBUF_UNWINDS_ADJ): Likewise.
39154
22044b48
DM
39155 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39156 (aio_suspend): Call it to force an exception region around the
39157 AIO_MISC_WAIT() invocation.
39158
2cae4995
AS
391592011-08-23 Andreas Schwab <schwab@redhat.com>
39160
39161 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39162 backslash.
39163
873a772e
AJ
391642011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39165
39166 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39167 protection macro.
39168 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39169 and <dl-machine.h>.
39170 (Elf64_FuncDesc): Remove.
39171
25ad0df1
DM
391722011-08-22 David S. Miller <davem@davemloft.net>
39173
39174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39175 sigaltstack check, add missing cfi directives.
39176 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39177 missing cfi directives, and sigaltstack handling.
39178
e888bcbe
AS
391792011-08-16 Andreas Schwab <schwab@redhat.com>
39180
39181 [BZ #11724]
39182 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39183 object is seen twice.
39184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39185
39186 * elf/Makefile (distribute): Add tst-initorder2.c.
39187 (tests): Add tst-initorder2.
39188 (modules-names): Add tst-initorder2a tst-initorder2b
39189 tst-initorder2c tst-initorder2d. Add rules to build them.
39190 ($(objpfx)tst-initorder2.out): New rule.
39191 * elf/tst-initorder2.c: New file.
39192 * elf/tst-initorder2.exp: New file.
39193
87162f46
AS
391942011-08-22 Andreas Schwab <schwab@redhat.com>
39195
70538b7f
AS
39196 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39197
f55ffe58
AS
39198 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39199 dependencies back to end of function.
39200
87162f46
AS
39201 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39202 $(elfobjdir)/ld.so.
39203
91b392a4
UD
392042011-08-21 Ulrich Drepper <drepper@gmail.com>
39205
39206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39207 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39209 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39210 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39211 of __vdso_gettimeofday.
39212 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39213 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39214 attribute_hidden.
39215 (_libc_vdso_platform_setup): Remove initialization of
39216 __vdso_gettimeofday and __vdso_time.
39217
5c43483f
UD
392182011-08-20 Ulrich Drepper <drepper@gmail.com>
39219
775a77e7
UD
39220 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39221 and fgetc_unlocked.
39222 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39223 getc_unlocked.
89f447ed 39224
49c74ba9
UD
39225 * elf/dl-open.c (add_to_global): Report additions to the global scope
39226 for LD_DEBUG=scopes.
39227 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39228 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39229
5c43483f
UD
39230 [BZ #13114]
39231 * stdio-common/Makefile (tests): Add bug24.
39232 * stdio-common/bug24.c: New file.
39233
a101b025
AJ
392342011-08-19 Andreas Jaeger <aj@suse.de>
39235
39236 [BZ #13114]
39237 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39238 non-existant file when using close-on-exec mode.
39239
c88f1766
UD
392402011-08-20 Ulrich Drepper <drepper@gmail.com>
39241
0276a718
UD
39242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39243 the very first instruction.
39244
c88f1766
UD
39245 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39246 the CFI state in the end.
39247 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39248 inclusion of dl-trampoline.h.
39249 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39250
51ccffa0
AS
392512011-08-19 Andreas Schwab <schwab@redhat.com>
39252
94d7165f
AS
39253 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39254 expectations for long double.
39255
51ccffa0
AS
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39257 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39258
fd708658 392592011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39260
39261 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39262 artificual limit depends upon the system page size.
39263
44f0a71e
UD
392642011-08-17 Ulrich Drepper <drepper@gmail.com>
39265
39266 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39267 * resolv/Makefile: Define CFLAGS-libresolv.
39268
8de79a24
AS
392692011-08-17 Andreas Schwab <schwab@redhat.com>
39270
39271 * nss/makedb.c (compute_tables): Make variables used in nested
39272 function static.
39273
27724598
UD
392742011-08-17 Ulrich Drepper <drepper@gmail.com>
39275
c5305d88
UD
39276 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39277 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39278 if buffer was too small.
39279
27724598
UD
39280 * elf/pldd.c (main): Attach to all threads in the process.
39281 Rewrite /proc handling to use *at functions.
39282
076fe015
UD
392832011-08-16 Ulrich Drepper <drepper@gmail.com>
39284
174baab3
UD
39285 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39286 specifies first scope to show.
39287 (dl_open_worker): Update callers. Move printing scope of new
39288 object to before the relocation.
44f0a71e 39289 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39290 * sysdeps/generic/ldsodefs.h: Update declaration.
39291
076fe015
UD
39292 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39293 string for the scope number.
39294
a60df2c3
UD
392952011-08-14 Ulrich Drepper <drepper@gmail.com>
39296
39297 * nscd/servicescache.c (cache_addserv): Make sure written is always
39298 initialized.
39299
5e4287d1
RM
393002011-08-14 Roland McGrath <roland@hack.frob.com>
39301
85ae0589
RM
39302 * sysdeps/i386/i486/bits/atomic.h
39303 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39304 statement expression, so as to suppress "set but not used" warning.
39305 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39306
69f63097
RM
39307 * string/strncat.c (STRNCAT): Use prototype definition.
39308
675456ef
RM
39309 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39310 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39311 -Iprograms here.
39312 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39313 (localedef-modules): Add localedef.
39314 (locale-modules): Add locale.
39315
5e4287d1
RM
39316 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39317 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39318 to avoid a warning.
39319
9c96ff23
DM
393202011-08-14 David S. Miller <davem@davemloft.net>
39321
39322 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39323 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39324
f9ddf089
UD
393252011-08-13 Ulrich Drepper <drepper@gmail.com>
39326
44f0a71e 39327 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39328 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39329 * elf/rtld.c (dl_main): Set l_name of vDSO.
39330 Call _dl_show_scope when DL_DEBUG_SCOPES.
39331 (process_dl_debug): Recognize scopes flag and also set it for all.
39332 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39333 Declare _dl_show_scope.
39334
1dc27704
UD
39335 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39336 (do_dlopen): Pass caller_dlopen to dl_open.
39337 (__libc_dlopen_mode): Initialize caller_dlopen.
39338
f9ddf089
UD
39339 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39340 of libc. Make tolower call locale-independent. Optimize a bit by
39341 using isdigit instead of isalnum.
39342 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39343
9ac533d3
UD
393442011-08-12 Ulrich Drepper <drepper@gmail.com>
39345
39346 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39347 was a dependency or dynamically loaded.
39348
89edf2e9
UD
393492011-08-11 Ulrich Drepper <drepper@gmail.com>
39350
8e999d29
UD
39351 * intl/l10nflist.c: Allow architecture-specific pop function.
39352 * sysdeps/x86_64/l10nflist.c: New file.
39353
89edf2e9
UD
39354 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39355 classification.
39356
14d96785
AS
393572011-08-10 Andreas Schwab <schwab@redhat.com>
39358
39359 * include/dirent.h: Add libc_hidden_proto for scandirat and
39360 scandirat64. Don't declare __scandirat64.
39361 * dirent/scandirat.c: Add libc_hidden_def.
39362 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39363 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39364
6761ac04
DM
393652011-08-10 David S. Miller <davem@davemloft.net>
39366
39367 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39368 enum.
39369 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39371 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39372
c55fbd1e
UD
393732011-08-09 Ulrich Drepper <drepper@gmail.com>
39374
39375 * Versions.def [libc]: Add GLIBC_2.15.
39376 * dirent/Makefile (routines): Add scandirat and scandirat64.
39377 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39378 GLIBC_2.15.
39379 * dirent/dirent.h: Declare scandirat and scandirat64.
39380 * dirent/scandirat.c: New file.
39381 * dirent/scandirat64.c: New file.
39382 * sysdeps/wordsize-64/scandirat.c: New file.
39383 * sysdeps/wordsize-64/scandirat64.c: New file.
39384 * dirent/opendir.c: Define opendirat.
39385 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39386 using scandirat.
39387 * dirent/scandir64.c: Adjust for scandir.c change.
39388 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39389 __scandirat64, and __scandir_cancel_handler.
39390 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39391 additional parameter and use openat instead of open (outside of ld.so).
39392 Add new __opendir as wrapper around __opendirat.
39393 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39394 here without requiring old scandirat implementation.
39395
879165f2
UD
393962011-08-08 Ulrich Drepper <drepper@gmail.com>
39397
39398 * dirent/scandir.c (cancel_handler): Renamed to
39399 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39400 defined. Adjust users.
39401 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39402 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39403
cb7e923b
UD
394042011-08-04 Ulrich Drepper <drepper@gmail.com>
39405
16292edd
UD
39406 * string/test-string.h (IMPL): Use __STRING to expand name and then
39407 stringify it.
39408
cb7e923b
UD
39409 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39410 of cleanups.
39411
cff82933
LD
394122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39413
39414 * string/Makefile: Update.
39415 (strop-tests): Append strncat.
39416 * string/test-wcscmp.c: New file.
39417 New comprehensive test for wcscmp.
39418 * string/test-strcmp.c: Update.
39419 (WIDE): New define.
39420
9be9bfcc
AS
394212011-07-22 Andreas Schwab <schwab@redhat.com>
39422
39423 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39424 line.
39425
2e96f1c7
AS
394262011-07-26 Andreas Schwab <schwab@redhat.com>
39427
39428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39429 encoding to ACE if AI_IDN.
39430
85188888
JJ
394312011-08-01 Jakub Jelinek <jakub@redhat.com>
39432
39433 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39434 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39435
5fa16e9b
LD
394362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39437
39438 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39439 Fix overflow bug in strncat.
39440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39441
39442 * string/test-strncat.c: Update.
39443 Add new tests for checking overflow bugs.
39444
394452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39446
39447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39448 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39449 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39450 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39451 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39452 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39453 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39454 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39455 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39456
39457 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39458 (USE_AS_STRCAT): Define.
39459 Add strcat and strncat support.
39460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39461
8c1a459f
AS
394622011-07-25 Andreas Schwab <schwab@redhat.com>
39463
39464 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39465 __n bigger than INT_MAX+1.
39466 (__strncmp_g): Likewise.
39467
bba33c28
UD
394682011-07-23 Ulrich Drepper <drepper@gmail.com>
39469
798be72d
UD
39470 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39471 * libio/stido.h: Likewise.
39472
8accd4dc
UD
39473 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39474 (AF_NFC): Define.
39475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39476 (AF_NFC): Define.
39477
cbff0d96
UD
39478 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39481 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39483
9191c04a
UD
39484 [BZ #13021]
39485 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39486 installed.
39487
bba33c28
UD
39488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39489 typo.
39490 (_dl_x86_64_save_sse): Likewise.
39491
90f139dd
UD
394922011-07-22 Ulrich Drepper <drepper@gmail.com>
39493
1aae088a
UD
39494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39495 OSXSAVE.
39496 (_dl_x86_64_save_sse): Likewise.
39497
8e2045f5
UD
39498 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39499
90f139dd
UD
39500 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39501
1d002f25
AS
395022011-07-21 Andreas Schwab <schwab@redhat.com>
39503
39504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39505 change.
39506 (_dl_x86_64_save_sse): Use correct AVX check.
39507
21137f89
UD
395082011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39509
39510 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39511 bug in strncpy/strncat.
39512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39513
a65c0b7a
UD
395142011-07-21 Ulrich Drepper <drepper@gmail.com>
39515
39516 * string/tester.c (test_strcat): Add tests for different alignments
39517 of source and destination.
39518 (test_strncat): Likewise.
39519
6986b98a
UD
395202011-07-20 Ulrich Drepper <drepper@gmail.com>
39521
90bb2039
UD
39522 [BZ #12852]
39523 * posix/glob.c (glob): Check passed in values before using them in
39524 expressions to avoid some overflows.
39525 (glob_in_dir): Likewise.
39526
5644ef54
UD
39527 [BZ #13007]
39528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39529 check for AVX enablement so that we don't crash with old kernels and
39530 new hardware.
39531 * elf/tst-audit4.c: Add same checks here.
39532 * elf/tst-audit6.c: Likewise.
39533
39534 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39535
bfc9dc9b
AS
395362011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39537
39538 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39539
702e64bb
UD
395402011-07-20 Ulrich Drepper <drepper@gmail.com>
39541
39542 * po/cs.po: Update from translation team.
39543 * po/bg.po: Likewise.
39544
295e904f
MP
395452011-07-12 Marek Polacek <mpolacek@redhat.com>
39546
39547 * misc/sys/cdefs.h: Add support for const attribute.
39548 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39549 to gnu_dev_{major,minor,makedev} functions.
39550
3ff94596
MP
395512011-07-20 Marek Polacek <mpolacek@redhat.com>
39552
39553 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39554
28b59fca
AS
395552011-07-20 Andreas Schwab <schwab@redhat.com>
39556
39557 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39558 strlen results.
39559
19df733e
AK
395602011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39561
39562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39563 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39564 register in order to avoid conflicts with the soft frame pointer
39565 being held in r11 when necessary.
39566 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39567 (INTERNAL_VSYSCALL_NCS): Likewise.
39568
c8835729
MP
395692011-07-14 Marek Polacek <mpolacek@redhat.com>
39570
39571 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39572 * elf/dl-fini.c (_dl_fini): Adjust caller.
39573 * elf/dl-close.c (_dl_close_worker): Likewise.
39574 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39575
b902330c
MP
395762011-07-15 Marek Polacek <mpolacek@redhat.com>
39577
8991e135
MP
39578 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39579 "aux_cache->nlibs < 0".
39580
b902330c
MP
39581 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39582 in the reload-count case.
39583
99710781
LD
395842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39585
39586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39587 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39588 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39589 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39590 * sysdeps/x86_64/multiarch/strcat.S: New file.
39591 * sysdeps/x86_64/multiarch/strncat.S: New file.
39592 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39594 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39595 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39596 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39597 (USE_AS_STRCAT): Define.
39598 Add strcat and strncat support.
39599 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39601 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39602 * string/strncat.c: Update.
39603 (USE_AS_STRNCAT): Define.
39604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39605 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39606 and i7.
39607 * sysdeps/x86_64/multiarch/init-arch.h
39608 (bit_Prefer_PMINUB_for_stringop): New.
39609 (index_Prefer_PMINUB_for_stringop): Likewise.
39610 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39611 bit_Prefer_PMINUB_for_stringop.
39612
7dc6bd90
UD
396132011-07-19 Ulrich Drepper <drepper@gmail.com>
39614
39615 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39616 buffer64.
39617 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39618 of casting of buffer.
39619 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39620 buffer32 and buffer64.
39621 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39622 writes instead of casting of buffer.
39623 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39624 buffer32.
39625 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39626 casting of buffer.
39627
e0e72284
AS
396282011-07-19 Andreas Schwab <schwab@redhat.com>
39629
39630 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39631
feb1eb0b
UD
396322011-07-19 Ulrich Drepper <drepper@gmail.com>
39633
39634 * nscd/nscd.c (termination_handler): Don't do anything for a database
39635 if it has not yet been initialized.
39636
298711ff
UD
396372011-07-18 Ulrich Drepper <drepper@gmail.com>
39638
39639 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39640
396412011-07-15 Marek Polacek <mpolacek@redhat.com>
39642
39643 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39644
f9d68389
UD
396452011-07-18 Ulrich Drepper <drepper@gmail.com>
39646
39647 * po/nl.po: Update from translation team.
39648 * po/sv.po: Likewise.
39649
db290cf5
RM
396502011-07-16 Roland McGrath <roland@hack.frob.com>
39651
39652 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39653 now disallowed by GCC.
5c550700 39654
fd5e21c7
RM
39655 * configure.in (use-default-link): Default to yes if a test -shared
39656 link meets our qualifications.
39657 * configure: Regenerated.
39658
5c550700
RM
39659 * config.make.in (output-format): New variable.
39660 * configure.in: Check for ld --print-output-format support.
39661 * configure: Regenerated.
39662 * Makerules ($(common-objpfx)format.lds)
39663 [$(output-format) != unknown]: Just use $(output-format),
39664 instead of the linker-script munging.
39665
9fa2c032
RM
396662011-07-14 Roland McGrath <roland@hack.frob.com>
39667
a6928d51
RM
39668 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39669 of $(common-objpfx)shlib.lds.
39670 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39671
661607b3
RM
39672 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39673 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39674
9fa2c032
RM
39675 * configure.in (-z relro check): Adjust test code to add a large
39676 writable data section after it.
39677 * configure: Regenerated.
39678
defe9061
RM
396792011-07-11 Roland McGrath <roland@hack.frob.com>
39680
39681 * configure.in (-z relro check): Fix test code to make the variable
39682 truly const.
39683 * configure: Regenerated.
39684
319b9ad4
UD
396852011-07-11 Ulrich Drepper <drepper@gmail.com>
39686
39687 * nscd/nscd.h (struct traced_file): Define.
39688 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39689 elements. Add traced_files.
39690 (inotify_fd): Declare.
39691 (register_traced_file): Declare.
39692 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39693 (inotify_fd): Export.
39694 (resolv_conf_descr): Remove.
39695 (nscd_init): Move inotify descriptor creation to main.
39696 Don't register files for notification here.
39697 (register_traced_file): New function.
39698 (invalidate_cache): Don't use reset_res to determine whether to call
39699 res_init, go through the list of registered files.
39700 (main_loop_poll): The inotify descriptors are now stored in the
39701 structures for the traced files.
39702 (main_loop_epoll): Likewise
39703 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39704 to __nss_disable_nscd.
39705 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39706 for a database anymore. Check the records for all the registered
39707 files instead.
39708 * nss/Makefile (libnss_files-routines): Add files-init.
39709 (libnss_db-routines): Add db-init.
39710 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39711 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39712 * nss/nss_db/db-init.c: New file.
39713 * nss/nss_files/files-init.c: New file.
39714 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39715 __nss_lookup_function.
39716 (__nss_lookup_function): Call nss_load_library.
39717 (nss_load_all_libraries): New function.
39718 (__nss_disable_nscd): Take parameter with callback function for files
39719 to register. Set is_nscd. Load all the DSOs for the NSS modules
39720 used for the cached services.
39721 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39722 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39723 options for features to all the files in nscd.
39724
39725 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39726
23bee3e8
RM
397272011-07-10 Roland McGrath <roland@hack.frob.com>
39728
39729 * csu/elf-init.c (__libc_csu_init): Comment typo.
39730
46a5b7f0
UD
397312011-07-09 Ulrich Drepper <drepper@gmail.com>
39732
39733 * po/pl.po: Update from translation team.
39734 * po/ja.po: Likewise.
39735 * po/ru.po: Likewise.
39736 * po/ko.po: Likewise.
39737 * po/fr.po: Likewise.
39738
d30cf5bb
RM
397392011-07-09 Roland McGrath <roland@hack.frob.com>
39740
113ddea4
RM
39741 * configure.in (.ctors/.dtors header and trailer check):
39742 Use an empirical test on a built program.
39743 * configure: Regenerated.
39744
574920b4
RM
39745 * configure.in (-z relro check): Use an empirical test on a built DSO.
39746 Detect, but do not require, on ia64.
39747 * configure: Regenerated.
39748
d30cf5bb
RM
39749 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39750 Update tests that use readelf to use $READELF instead.
39751 * configure: Regenerated.
39752
8538fdb3
UD
397532011-07-08 Ulrich Drepper <drepper@gmail.com>
39754
39755 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39756 if the result is not used.
39757
04d08991
AJ
397582011-07-05 Andreas Jaeger <aj@suse.de>
39759
39760 [BZ#9696]
39761 * stdlib/tst-strtod.c: Add testcase.
39762
de283087
AD
397632011-07-07 Ulrich Drepper <drepper@gmail.com>
39764
4e5f31c8 39765 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39766 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39767 The latter has a higher limit. Take additional parameter to pass to
39768 the new function.
39769 (__pathconf): Pass file to __statfs_link_max.
39770 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39771 __statfs_link_max.
39772 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39773 __statfs_link_max.
39774
de283087
AD
39775 [BZ #12868]
39776 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39777 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39778 Handle Lustre.
39779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39780 (__statfs_filesize_max): Likewise.
39781 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39782
c75fa153
AJ
397832011-07-05 Andreas Jaeger <aj@suse.de>
39784
39785 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39786
1a544854
UD
397872011-07-06 Marek Polacek <mpolacek@redhat.com>
39788
39789 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39790 `status' variable.
39791 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39792 Likewise.
39793
6f0eec67
UD
397942011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39795
39796 * Makefile (strop-tests): Add strncat.
39797 * string/test-strncat.c: New file.
39798
aae30307
UD
397992011-06-30 Marek Polacek <mpolacek@redhat.com>
39800
39801 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39802
c0cfb5eb
UD
398032011-06-21 Andreas Jaeger <aj@suse.de>
39804
39805 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39806 Copy rule from iconvdata/Makefile.
39807
01636b21
UD
398082011-07-06 Ulrich Drepper <drepper@gmail.com>
39809
39810 [BZ #12922]
39811 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39812 but no long options are defined, just return 'W'.
39813
9895c8bc
UD
398142011-06-22 Marek Polacek <mpolacek@redhat.com>
39815
39816 [BZ #9696]
39817 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39818
5d4cf042
UD
398192011-07-06 Ulrich Drepper <drepper@gmail.com>
39820
39821 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39822 netgroups to read.
960e5535 39823 (innetgr): Likewise.
5d4cf042 39824
751eb97e
RM
398252011-07-05 Roland McGrath <roland@hack.frob.com>
39826
39827 * config.make.in (install_root): Default to $(DESTDIR).
39828
f15f1e45
UD
398292011-07-05 Ulrich Drepper <drepper@gmail.com>
39830
39831 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39832
4e34ac6a
RM
398332011-07-02 Roland McGrath <roland@hack.frob.com>
39834
5e9b6af4
RM
39835 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39836
84f9ea0f
RM
39837 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39838 containing directory rather than embedding absolute directory names.
39839
ea5ee9f7
RM
39840 * scripts/check-local-headers.sh: Rewritten using awk.
39841 Match by word, not by line. Print error messages for matches.
39842 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39843
1b74661a
RM
39844 * Makerules [shlib-lds-flags empty]:
39845 ($(common-objpfx)libc_pic.opts): New target.
39846 ($(common-objpfx)libc_pic.os.clean): New target.
39847 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39848
39849 * config.make.in (OBJCOPY): New variable.
39850 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39851 * configure: Regenerated.
39852
f781ef40
RM
39853 * config.make.in (use-default-link): New variable.
39854 * configure.in (use_default_link): Grok --with-default-link to set it.
39855 * configure: Regenerated.
39856 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39857 (shlib-lds, shlib-lds-flags): Define to empty.
39858
2d4fa81e
RM
39859 * Makerules (shlib-lds): New variable.
39860 (shlib-lds-flags): New variable.
39861 (build-shlib, build-moduile, build-module-asneeded): Use it.
39862 ($(common-objpfx)libc.so): Use $(shlib-lds).
39863 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39864 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39865
31fffa6b
RM
39866 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39867 DT_FLAGS/DT_FLAGS_1 with zero flags.
39868
4e34ac6a
RM
39869 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39870 linker script munging.
39871
fcfc776b
UD
398722011-07-02 Ulrich Drepper <drepper@gmail.com>
39873
39874 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39875 as 128-bit value.
39876 * crypt/sha512.c (sha512_process_block): Perform total addition using
39877 128-bit if possible.
39878 (__sha512_finish_ctx): Likewise.
39879 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39880 as 64-bit value.
39881 * crypt/sha256.c (SWAP64): Define.
39882 (sha256_process_block): Perform total addition using 64-bit if
39883 possible.
39884 (__sha256_finish_ctx): Likewise.
39885
99231d9a
UD
398862011-07-01 Ulrich Drepper <drepper@gmail.com>
39887
39888 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39889 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39890 * nscd/hstcache.c (cache_addhst): Likewise.
39891 * nscd/grpcache.c (cache_addgr): Likewise.
39892 * nscd/aicache.c (addhstaiX): Likewise
39893 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39894
445b4a53
TK
398952011-07-01 Thorsten Kukuk <kukuk@suse.de>
39896
39897 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39899 * nscd/hstcache.c (cache_addhst): Likewise.
39900 * nscd/grpcache.c (cache_addgr): Likewise.
39901 * nscd/aicache.c (addhstaiX): Likewise
39902
6d4d8e8e
AS
399032011-07-01 Andreas Schwab <schwab@redhat.com>
39904
39905 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39906 domain only when needed.
39907
89f654c5
AS
399082011-06-30 Andreas Schwab <schwab@redhat.com>
39909
39910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39911 is always restored.
39912
cf3b23ff
UD
399132011-06-29 Ulrich Drepper <drepper@gmail.com>
39914
39915 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39916 are re-adding the entry.
39917 * nscd/servicescache.c (cache_addserv): Likewise.
39918
751626f9
AJ
399192011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39920
39921 * sysdeps/generic/dl-irel.h: fix protection against multiple
39922 inclusions.
39923 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39924
9113ea1f
UD
399252011-06-28 Ulrich Drepper <drepper@gmail.com>
39926
5c0b8d90
UD
39927 [BZ #12935]
39928 * malloc/memusage.sh: Fix quoting in message.
39929 * debug/xtrace.sh: Likewise.
39930
9113ea1f
UD
39931 * configure.in: Remove support for --experimental-malloc option, make
39932 it the default.
39933 * config.make.in: Likewise.
39934 * malloc/Makefile: Likewise.
39935
a4172181
AS
399362011-06-27 Andreas Schwab <schwab@redhat.com>
39937
39938 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39939 two-byte characters.
39940
78a7eee7
RM
399412011-06-27 Roland McGrath <roland@hack.frob.com>
39942
62bede13
RM
39943 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39944 AC_CACHE_CHECK invocation.
39945 * configure: Regenerated.
39946
78a7eee7
RM
39947 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39948
5ce33a62
UD
399492011-06-27 Ulrich Drepper <drepper@gmail.com>
39950
034807a9
UD
39951 [BZ #12350]
39952 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39953 bit from old_res_options.
39954
4902da17
UD
39955 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39956
5ce33a62
UD
39957 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39958 value type for setfct.
39959
c2344f56
L
399602011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39961
39962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39963 __gettimeofday instead of gettimeofday.
39964
68468076
UD
399652011-06-26 Ulrich Drepper <drepper@gmail.com>
39966
39967 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39968
acb0d739
L
399692011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39970
39971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39972
39973 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39974 info.
39975
8912479f
L
399762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39977
39978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39979 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39980 strcpy-sse2-unaligned strncpy-sse2-unaligned
39981 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39982 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39983 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39984 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39985 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39988 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39989 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39990 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39991 (STRCPY): Support SSE2 and SSSE3 versions.
39992
d5495a11
UD
399932011-06-24 Ulrich Drepper <drepper@gmail.com>
39994
39995 [BZ #12874]
39996 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39997 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39998 kernels which artificially limit size of requests.
39999
0b1cbaae
L
400002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40001
40002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40003 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40004 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40005 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40006 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40007 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40008 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40009 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40010 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40011 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40012 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40013 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40014 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40015 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40016 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40018 Enable unaligned load optimization for Intel Core i3, i5 and i7
40019 processors.
40020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40021 Define.
40022 (index_Fast_Unaligned_Load): Define.
40023 (HAS_FAST_UNALIGNED_LOAD): Define.
40024
07f494a0
MP
400252011-06-23 Marek Polacek <mpolacek@redhat.com>
40026
40027 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40028
fa3fc0fe
UD
400292011-06-22 Ulrich Drepper <drepper@gmail.com>
40030
40031 [BZ #12907]
40032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40033 until it is clear that the information is realy needed.
40034 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40035
e12df166
AS
400362011-06-22 Andreas Schwab <schwab@redhat.com>
40037
40038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40039
852eb34d
UD
400402011-06-22 Ulrich Drepper <drepper@gmail.com>
40041
84e2a551
UD
40042 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40043 /sys/devices/system/cpu/online if it is usable.
40044
852eb34d
UD
40045 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40046 reading the information from the /proc filesystem to once a second.
40047
6e502e19
UD
400482011-06-21 Andreas Jaeger <aj@suse.de>
40049
40050 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40051 NULL after inclusion of kernel headers.
40052
75d39ff2
UD
400532011-06-21 Ulrich Drepper <drepper@gmail.com>
40054
51f9aa6a
UD
40055 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40056 calls to internal_setent.
40057
c0244a9d
UD
40058 [BZ #12885]
40059 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40060 addresses using gethostbyname4_r ignore IPv4 addresses.
40061
c5e3c2ae
UD
40062 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40063 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40064
75d39ff2
UD
40065 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40066
42675c6f
DM
400672011-06-20 David S. Miller <davem@davemloft.net>
40068
40069 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40070 inclusions.
40071 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40072
40073 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40074 (elf_irel): Use it.
40075 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40076 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40077 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40078 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40079 * sysdeps/x86_64/dl-irel.h: Likewise.
40080
40081 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40082 * elf/dl-sym.c: Likewise.
40083
57912a71
UD
400842011-06-15 Ulrich Drepper <drepper@gmail.com>
40085
40086 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40087 need to dereference resplen2.
40088
ee22793d
AS
400892011-06-14 Andreas Schwab <schwab@redhat.com>
40090
40091 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40092
a9e836b0
UD
400932011-06-15 Ulrich Drepper <drepper@gmail.com>
40094
77fb9117
UD
40095 * Makeconfig: Define vardbdir and inst_vardbdir.
40096 * nss/Makefile: Add rules to install db-Makefile.
40097
40c1b22c
UD
40098 * nss/nss_db/db-XXX.c: Cleanup.
40099
9f2da732
UD
40100 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40101 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40102 GLIBC_PRIVATE.
40103 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40104 * nss/makedb.c: Implement -g option to specify that value strings
40105 are generated and should not be added to table iterated over for
40106 get*ent calls.
40107 * nss/nss_db/db-initgroups.c: New file.
40108
82e9a1f7
UD
40109 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40110 interface.
40111
c41af17e
UD
40112 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40113 (internal_getgrouplist): Adjust to name change.
40114 Update use_initgroups_entry if this is not the first call.
40115 * nss/databases.def: Add initgroups entry.
40116
a9e836b0
UD
40117 * nss/makedb.c (compute_tables): Check result of multiple hash table
40118 sizes to minimize maximum chain length.
40119
2666d441
UD
401202011-06-14 Ulrich Drepper <drepper@gmail.com>
40121
40122 * Versions.def: Add entry for libnss_db.
40123 * shlib-versions: Likewise.
40124 * nss/Makefile: Add rules to build libnss_db.
40125 * nss/Versions: Add libnss_db information. Organize libnss_files
40126 entries better.
40127 * nss/db-Makefile: Add gshadow support. Change rules for the new
40128 makedb progra. Some minor improvements to generate smaller files.
40129 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40130 here from...
40131 * nss/makedb.c: ...here.
40132 Improve database format to be smaller and require less memory at
40133 runtime.
40134 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40135 db anymore.
40136 * nss/nss_db/db-netgrp.c: Likewise.
40137 * nss/nss_db/db-open.c: Likewise.
40138 * nss/nss_files/flies-XXX.x: Adjust comments.
40139 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40140 * nss/nss_files/files-grp.c: Likewise.
40141 * nss/nss_files/files-hosts.c: Likewise.
40142 * nss/nss_files/files-network.c: Likewise.
40143 * nss/nss_files/files-proto.c: Likewise.
40144 * nss/nss_files/files-pwd.c: Likewise.
40145 * nss/nss_files/files-rpc.c: Likewise.
40146 * nss/nss_files/files-service.c: Likewise.
40147 * nss/nss_files/files-sgrp.c: Likewise.
40148 * nss/nss_files/files-spwd.c: Likewise.
40149 * nss/nss_db/db-alias.c: Removed.
40150 * nss/nss_db/dummy-db.h: Removed.
40151
9ee76b5a
UD
401522011-06-02 Ulrich Drepper <drepper@gmail.com>
40153
40154 * nss/makedb.c: Rewritten to not use database library.
40155 * nss/Makefile: Update to build new makedb program.
40156
c71ca1f8
AJ
401572011-06-14 Andreas Jaeger <aj@suse.de>
40158
40159 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40160 memset declaration.
40161
3154bfb8
UD
401622011-06-10 Andreas Schwab <schwab@redhat.com>
40163
40164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40165 tmpbuf.
40166
b350afab
RM
401672011-06-10 Roland McGrath <roland@hack.frob.com>
40168
decd4e50
RM
40169 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40170 * elf/Makefile ($(objpfx)ld.so): Likewise.
40171
5615eaf2
RM
40172 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40173 Don't list ld.so twice in dependencies.
40174
40175 * posix/bug-regex31.c: Include <stdlib.h>.
40176
40177 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40178
40179 * nis/nss_compat/compat-spwd.c
40180 (getspent_next_nss_netgr): Remove unused variable.
40181 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40182
40183 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40184 nonmembers" output to use the right array.
40185
40186 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40187
40188 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40189
40190 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40191 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40192 * catgets/gencat.c (read_input_file): Likewise.
40193 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40194
40195 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40196 variable definition inside #if's controlling its use.
40197
40198 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40199
40200 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40201
40202 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40203
40204 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40205 unreachable code.
40206
40207 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40208
b68e08db
RM
40209 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40210 * configure: Regenerated.
40211
b350afab
RM
40212 * Makerules: Revert last change.
40213 * elf/Makefile: Likewise.
40214
28368601
RM
402152011-06-09 Roland McGrath <roland@hack.frob.com>
40216
40217 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40218 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40219 (reloc-link): Likewise.
40220
11988f8f
UD
402212011-06-09 Ulrich Drepper <drepper@gmail.com>
40222
40223 * elf/Makefile: Add rules to build pldd.
40224 * elf/pldd.c: New file.
40225 * elf/pldd-xx.c: New file.
40226
e80fab37
UD
402272011-06-07 Ulrich Drepper <drepper@gmail.com>
40228
40229 * version.h: Update for 2.15 development version.
40230
9b849836
DM
402312011-06-07 David S. Miller <davem@davemloft.net>
40232
40233 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40234 ifuncs.
40235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40236 elf_machine_lazy_rel): Likewise.
40237 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40239 elf_machine_lazy_rel): Likewise.
40240 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40241 dl_hwcap via passed in argument.
40242 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40243 Likewise.
40244
5a31b283
AK
402452011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40246
40247 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40248
069e52f8
RM
402492011-06-06 Roland McGrath <roland@hack.frob.com>
40250
40251 [BZ #12849]
40252 * manual/fdl-1.1.texi: New file, verbatim from:
40253 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40254 * manual/lgpl-2.1.texi: New file, verbatim from:
40255 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40256 * manual/Makefile (licenses): New variable, list those new file names.
40257 (texis): Use it.
40258 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40259
40260 * manual/fdl.texi: File removed.
40261 * manual/lesser.texi: File removed.
40262 * manual/libc.texinfo (Copying, Documentation License):
40263 Use new @include file names, put @appendix directive before @include.
40264
f16846a5
JJ
402652011-06-04 Jakub Jelinek <jakub@redhat.com>
40266
40267 [BZ #12841]
40268 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40269 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40270 (mq_open): Add __NTH.
40271
3d29045b
L
402722011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40273
40274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40275 Assume Intel Core i3/i5/i7 processor if AVX is available.
40276
8c297311
UD
402772011-05-31 Ulrich Drepper <drepper@gmail.com>
40278
40279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40280 typo.
40281
c8fc0c91
UD
402822011-05-31 Andreas Schwab <schwab@redhat.com>
40283
40284 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40285 memory. Use alloca_account. Fix memory leak when retrying.
40286
5b27a807
UD
402872011-05-31 Ulrich Drepper <drepper@gmail.com>
40288
356f8bc6
UD
40289 * version.h (RELEASE): Bump for 2.14 release.
40290 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40291
5b27a807
UD
40292 * config.make.in (RANLIB): Remove entry.
40293
01f16ab0
UD
402942011-05-30 Ulrich Drepper <drepper@gmail.com>
40295
41fce8bd
UD
40296 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40297 (libc.pot): Work around missing support for .ksh extension in xgettext.
40298
4769ae77
UD
40299 [BZ #12684]
40300 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40301 if both request failed.
40302 (send_dg): In case of server errors clear resplen or *resplen2.
40303
6b1e7d19
UD
40304 [BZ #12454]
40305 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40306 when there are multiple maps.
40307 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40308 (_dl_fini): Remove test here.
40309
01f16ab0
UD
40310 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40311
b1ebd700
UD
403122011-05-29 Ulrich Drepper <drepper@gmail.com>
40313
7ae22829
UD
40314 [BZ #12350]
40315 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40316 bit from old_res_options.
40317 (gaih_inet): Likewise.
40318
553149f6 40319 [BZ #11099]
18a84741 40320 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40321 as signed.
40322
652ffab1
UD
40323 * resolv/res_init.c (res_setoptions): Make the code more compact.
40324
16985fd0
UD
40325 [BZ #11558]
40326 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40327 set RES_USEVC.
40328
0464f746
UD
40329 [BZ #11634]
40330 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40331
7d17596c
UD
40332 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40333
cf6bbbd7
UD
40334 [BZ #11781]
40335 * malloc/malloc.h: Declare malloc hook variables as volatile.
40336
13f1ab36
UD
40337 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40338 in last patch.
40339
b1ebd700
UD
40340 [BZ #11799]
40341 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40342 raise in the comment.
80e2212d
UD
40343 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40344 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40345 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40346
ce67228d
UD
403472011-05-28 Ulrich Drepper <drepper@gmail.com>
40348
8887a920
UD
40349 [BZ #12811]
40350 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40351 grow the buffers more if it already has to be sufficient.
40352 (build_wcs_upper_buffer): Likewise.
40353 * posix/regexec.c (check_matching): Likewise.
40354 (clean_state_log_if_needed): Likewise.
40355 (extend_buffers): Don't enlarge buffers beyond size of the input
40356 buffer.
40357 Patches mostly by Emil Wojak <emil@wojak.eu>.
40358 * posix/bug-regex32.c: New file.
40359 * posix/Makefile (tests): Add bug-regex32.
40360
4f031072
UD
40361 * locale/findlocale.c (_nl_find_locale): Return right away if
40362 _nl_explode_name failed.
40363 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40364
d0478f0c
UD
40365 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40366
de81b246
UD
40367 * debug/xtrace.sh: Unify messages.
40368 * malloc/memusage.sh: Likewise.
40369
c738465a
UD
40370 [BZ #12813]
40371 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40372 time symbol from vDSO. Substitute with vsyscall if not available.
40373 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40374 __vdso_time.
40375
f1f929d7
UD
40376 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40377 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40378 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40379 Add sendmmsg and internal_sendmmsg.
40380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40381 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40382 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40383
ce67228d
UD
40384 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40385 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40386 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40387
e57420c6
UD
403882011-05-27 Ulrich Drepper <drepper@gmail.com>
40389
a8509ca5
UD
40390 [BZ #12813]
40391 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40392 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40393 available.
40394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40395 __vdso_getcpu.
40396
e57420c6
UD
40397 [BZ #12814]
40398 * iconvdata/Makefile (tests): Add bug-iconv9.
40399 * iconvdata/bug-iconv9.c: New file.
40400
4d07db15
AS
404012011-05-27 Andreas Schwab <schwab@redhat.com>
40402
40403 [BZ #12814]
40404 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40405
ea486f69
JJ
404062011-05-25 Jakub Jelinek <jakub@redhat.com>
40407
40408 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40409 (struct user_regs_struct): Change intcs field back to cs.
40410
6f038433
UD
404112011-05-25 Ulrich Drepper <drepper@gmail.com>
40412
40413 * po/ja.po: Update from translation team.
40414
67f86a25
UD
404152011-05-23 Ulrich Drepper <drepper@gmail.com>
40416
40417 [BZ #12795]
40418 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40419 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40420
def7fbd6
AS
404212011-05-20 Andreas Schwab <schwab@redhat.com>
40422
40423 * stdlib/longlong.h: Update from GCC.
40424
f50ef8f1
AS
404252011-05-23 Andreas Schwab <schwab@redhat.com>
40426
40427 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40428 parameter name.
40429 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40430 Add parameter name.
40431 (__sysconf): Pass it down.
40432
de7ce8f1
UD
404332011-05-22 Ulrich Drepper <drepper@gmail.com>
40434
f2962a71
UD
40435 [BZ #12671]
40436 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40437 some situations.
40438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40439 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40440 add in in __libc_use_alloca calls. Adjust callers.
40441 (glob): Use malloc in some situations.
40442
de7ce8f1
UD
40443 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40444 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40445 pltexit.
40446
aec84f53
UD
404472011-05-21 Ulrich Drepper <drepper@gmail.com>
40448
05bb4a68
UD
40449 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40450 and CLOCK_BOOTTIME_ALARM.
40451
7ea72f99
UD
40452 [BZ #12782]
40453 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40454 is returned.
40455
7e4afad5
UD
40456 * string/_strerror.c (__strerror_r): Print negative errors as signed
40457 numbers.
40458
8e211fec
UD
40459 [BZ #12777]
40460 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40461 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40462 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40463
f7d82dc9
UD
40464 * configure.in: Fix typo in redirection and correct removal of test
40465 files in two cases.
40466
cc9e536d
UD
40467 [BZ #12788]
40468 * locale/setlocale.c (new_composite_name): Fix test to check for
40469 identical name of all categories.
40470
aec84f53
UD
40471 [BZ #12792]
40472 * libio/filedoalloc.c (local_isatty): New function.
40473 (_IO_file_doallocate): Use local_isatty.
40474 * stdio-common/perror.c (perror): In case a new stream is used
40475 forward the stream error.
40476 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40477 error flag.
40478
78e64fdc
RT
404792011-05-20 Ulrich Drepper <drepper@gmail.com>
40480
34a9094f
UD
40481 [BZ #11869]
40482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40483 alloca.
40484 * include/alloca.h (extend_alloca_account): Define.
40485
78e64fdc
RT
40486 [BZ #11857]
40487 * posix/regex.h: Fix comments with documentation of user-accessible
40488 fields after compilation and describe correct free'ing of pattern
40489 after re_compile_pattern.
40490 Patch by Reuben Thomas <rrt@sc3d.org>.
40491
457bddfc
RA
404922011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40493
40494 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40495 and -mno-altivec to prevent the compiler from using Altivec and/or
40496 VSX instructions when the corresponding registers are not available.
40497
a4527b51
AS
404982011-05-19 Andreas Schwab <schwab@redhat.com>
40499
40500 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40501
ed690b2f
UD
405022011-05-19 Ulrich Drepper <drepper@gmail.com>
40503
40504 * libio/freopen.c (freopen): Use __dup2, not dup2.
40505 * libio/freopen64.c (freopen64): Likewise.
40506
8db73634
L
405072011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40508
40509 [BZ #12775]
40510 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40511 * math/Makefile (tests): Add test-powl.
40512 (CFLAGS-test-powl.c): Define.
40513 * math/test-powl.c: New file.
40514
0a197a9d
L
405152011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40516
40517 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40518
ee30c380
UD
405192011-05-17 Ulrich Drepper <drepper@gmail.com>
40520
40521 [BZ #11837]
40522 * iconvdata/gb18030.c: Update to GB18020-2005.
40523
6ce75379
UD
405242011-05-16 Ulrich Drepper <drepper@gmail.com>
40525
a4b89fd8
AR
40526 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40527 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40528 Patch by Aharon Robbins <arnold@skeeve.com>.
40529
ea389b12
UD
40530 [BZ #11892]
40531 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40532 on the stack.
40533
68a3f91f
UD
40534 [BZ #11895]
40535 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40536 through underflows.
40537
15cc7dd1
UD
40538 [BZ #12766]
40539 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40540 point to strings before performing equality test for error_one_per_line
40541 mode.
40542
f3799213
UD
40543 [BZ #11697]
40544 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40545
d79a9c94
UD
40546 [BZ #11820]
40547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40548 (struct user_fpregs_struct): Avoid __uint*_t types.
40549
56e5eb46
UD
40550 [BZ #6420]
40551 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40552 symbol info. Use it instead of calling _dl_addr locally.
40553 (lock_and_info): New function.
40554 (tr_freehook): Call lock_and_info and pass symbol info as additional
40555 parameter to tr_where.
40556 (tr_mallochook): Likewise.
40557 (tr_reallochook): Likewise.
40558 (tr_memalignhook): Likewise.
40559
6ce75379
UD
40560 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40561 used and couldn't be at all thread-safe.
40562
f8a3b5bf
UD
405632011-05-15 Ulrich Drepper <drepper@gmail.com>
40564
94b7cc37
UD
40565 * libio/freopen.c (freopen): Don't close old file descriptor
40566 before the new one is opened. Instead dup the new file descriptor
40567 to the old one after the new stream is created.
40568 * libio/freopen64.c (freopen64): Likewise.
40569 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40570 * libio/fileops.c (_IO_new_file_close_it): Handle new
40571 _IO_FLAGS2_NOCLOSE flag.
40572 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40573 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40574 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40575 _IO_FLAGS2_NOCLOSE flag.
40576 * include/unistd.h: Add hidden_proto for dup3.
40577 Define __have_dup3.
40578 * io/dup3.c: Define hidden symbol.
40579 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40580
bd25564e
UD
40581 [BZ #7101]
40582 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40583 when an incomplete long option is used.
40584 * posix/tst-getopt_long1.c: New file.
40585 * posix/Makefile (tests): Add tst-getopt_long1.
40586
c84cfef4
UD
40587 [BZ #10138]
40588 * scripts/config.guess: Update from autoconf-2.68.
40589 * scripts/config.sub: Likewise.
40590
3b85df27
UD
40591 [BZ #10157]
40592 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40593 tests into ...
40594 (has_cpuclock): ...this. New function.
40595 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40596 macro here based on has_cpuclock code.
40597
15a856b1
UD
40598 [BZ #10149]
40599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40600 First byte (not low byte) is now always NUL.
40601 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40602
05f399e6
UD
40603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40604 Use non-cancelable interfaces.
40605
10a52685 40606 [BZ #9809]
94ecc67d
UD
40607 * locale/iso-639.def: Add entry for Sorani.
40608
f8a3b5bf
UD
40609 [BZ #11901]
40610 * include/stdlib.h: Move include protection to the right place.
40611 Define abort_msg_s. Declare __abort_msg with it.
40612 * stdlib/abort.c (__abort_msg): Adjust type.
40613 * assert/assert.c (__assert_fail_base): New function. Majority
40614 of code from __assert_fail. Allocate memory for __abort_msg with
40615 mmap.
40616 (__assert_fail): Now call __assert_fail_base.
40617 * assert/assert-perr.c: Remove bulk of implementation. Use
40618 __assert_fail_base.
40619 * include/assert.hL Declare __assert_fail_base.
40620 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40621 mmap.
40622 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40623
1af4e298
UD
406242011-05-14 Ulrich Drepper <drepper@gmail.com>
40625
f8a3b5bf 40626 [BZ #11952]
d26dfc60
MG
40627 [BZ #12453]
40628 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40629 until all modules are registered in the DTV.
40630 * elf/Makefile: Add rules to build and run tst-tls19.
40631 * elf/tst-tls19.c: New file.
40632 * elf/tst-tls19mod1.c: New file.
40633 * elf/tst-tls19mod2.c: New file.
40634 * elf/tst-tls19mod3.c: New file.
40635 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40636
2fc54d6f
UD
40637 [BZ #12083]
40638 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40639 correctly.
40640
98d76b46
UD
40641 [BZ #12601]
40642 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40643 two-byte sequence errors.
40644 * iconvdata/Makefile (tests): Add bug-iconv8.
40645 * iconvdata/bug-iconv8.c: New file.
40646
da3c19ef
UD
40647 [BZ #12626]
40648 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40649 buf2 definition.
40650
ca408c15
UD
40651 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40652
d6f67f7d
UD
40653 [BZ #12432]
40654 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40655 (dummy_getcfa): New function.
40656 (init): Get _Unwind_GetCFA address, use dummy if not found.
40657 (backtrace_helper): In recursion check, also check whether CFA changes.
40658 (__backtrace): Completely initialize arg.
40659
1af4e298 40660 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40661 storing incomplete byte sequence in state object. Avoid testing for
40662 guaranteed too small input if we know there is enough data available.
1af4e298 40663
da62f81b
AS
406642011-05-11 Andreas Schwab <schwab@redhat.com>
40665
40666 * Makeconfig (+link-pie): Indent.
40667 * Rules (binaries-pie): Define if $(have-fpie) and
40668 $(build-shared).
40669 (binaries-shared): Also filter out $(binaries-pie).
40670 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40671 * nscd/Makefile (others-pie): Add nscd.
40672 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40673 ($(objpfx)nscd): Remove command override.
40674 * login/Makefile (others-pie): Add pt_chown.
40675 ($(objpfx)pt_chown): Remove command override.
40676 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40677 remove command overrides.
40678
fcabc0f8
UD
406792011-05-13 Ulrich Drepper <drepper@gmail.com>
40680
20030ae6
UD
40681 * libio/tst_putwc.c: Fix error messages.
40682
fcabc0f8
UD
40683 [BZ #12724]
40684 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40685 currently writing and seek to current position when not.
40686 * libio/Makefile (tests): Add bug-fclose1.
40687 * libio/bug-fclose1.c: New file.
40688
320a5dc0
PB
406892011-05-12 Ulrich Drepper <drepper@gmail.com>
40690
40691 [BZ #12511]
40692 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40693 don't set DF_1_NODELETE here.
40694 (do_lookup_x): When entering new entry test for copy relocation
40695 and if necessary set DF_1_NODELETE flag.
40696 * elf/tst-unique4.cc: New file.
40697 * elf/tst-unique4.h: New file.
40698 * elf/tst-unique4lib.cc: New file.
40699 * elf/Makefile: Add rules to build and run tst-unique4.
40700 Patch by Piotr Bury <pbury@goahead.com>.
40701
22836f52
UD
407022011-05-11 Ulrich Drepper <drepper@gmail.com>
40703
f574184a
UD
40704 [BZ #12052]
40705 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40706
e1fb097f
UD
40707 [BZ #12625]
40708 * misc/mntent_r.c (addmntent): Flush the stream after the output
40709
22836f52
UD
40710 [BZ #12393]
40711 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40712 (is_trusted_path_normalize): Skip initial colon. Append slash
40713 to empty buffer. Duplicate is_trusted_path code but allow
40714 constructed patch to be prefix.
40715 (is_dst): Allow $ORIGIN followed by /.
40716 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40717 Correct testing of result of is_trusted_path_normalize
40718 (decompose_rpath): Fix warning.
40719
7b3b0b2a
UD
407202011-05-10 Ulrich Drepper <drepper@gmail.com>
40721
40722 [BZ #11257]
40723 * grp/initgroups.c (internal_getgrouplist): When we found the service
40724 list through the initgroups entry in nsswitch.conf do not always
40725 continue on a successful lookup. Don't always use the
eac80ce2 40726 __nss_group_database value if it is set.
7b3b0b2a
UD
40727 * nss/nsswitch.conf (initgroups): Change action for successful db
40728 lookup to continue for compatibility.
40729
2a81eaa5
UD
407302011-05-09 Ulrich Drepper <drepper@gmail.com>
40731
be97a69e
UD
40732 [BZ #11532]
40733 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40734 and CP774 modules.
40735 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40736 and CP774 modules.
40737 * iconvdata/tst-tables.sh: Likewise.
40738 * iconvdata/cp770.c: New file.
40739 * iconvdata/cp771.c: New file.
40740 * iconvdata/cp772.c: New file.
40741 * iconvdata/cp773.c: New file.
40742 * iconvdata/cp774.c: New file.
40743 * iconvdata/testdata/CP770: New file.
40744 * iconvdata/testdata/CP770..UTF8: New file.
40745 * iconvdata/testdata/CP771: New file.
40746 * iconvdata/testdata/CP771..UTF8: New file.
40747 * iconvdata/testdata/CP772: New file.
40748 * iconvdata/testdata/CP772..UTF8: New file.
40749 * iconvdata/testdata/CP773: New file.
40750 * iconvdata/testdata/CP773..UTF8: New file.
40751 * iconvdata/testdata/CP774: New file.
40752 * iconvdata/testdata/CP774..UTF8: New file.
40753
40754 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40755 END CHARMAP line.
40756 * iconvdata/gen-8bit-gap.sh: Likewise.
40757 * iconvdata/gen-8bit.sh: Likewise.
40758
c1e9e399
UD
40759 * locale/iso-639.def: Add ary entry.
40760
24c55fb3 40761 [BZ #11258]
96b4b1b0
UD
40762 * locale/C-translit.h.in: Add U20A1 transliteration.
40763
bdc2f971
KB
40764 [BZ #12178]
40765 * locale/iso-639.def: Add wae entry.
40766 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40767
2952b117
UD
40768 [BZ #12545]
40769 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40770 for n.
40771
2a81eaa5
UD
40772 [BZ #12711]
40773 * locale/C-translit.h.in: Add entry for U20B9.
40774 Patch by pravin.d.s@gmail.com.
40775
28377d1b
UD
407762011-05-08 Ulrich Drepper <drepper@gmail.com>
40777
7fb90fb8
UD
40778 [BZ #12713]
40779 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40780 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40781 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40782 in rtld. Use *stat64.
7fb90fb8 40783 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40784 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40785 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40786 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40787 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40788 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40789 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40790 __fstatat64 macros.
7fb90fb8
UD
40791 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40792 * dirent/rewinddir.c: Add libc_hidden_def.
40793 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40794 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40795
28377d1b
UD
40796 * include/dirent.h (__alloc_dir): Add flags parameter.
40797 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40798 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40799 __alloc_dir.
40800 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40801 from fdopendir if O_CLOEXEC is already set.
40802
66bdbaa4
AM
408032011-03-15 Alan Modra <amodra@gmail.com>
40804
40805 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40806 l_tls_firstbyte_offset non-zero. Save padding offset in
40807 l_tls_firstbyte_offset for later use.
40808 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40809 freeing static tls block.
40810
95721191
JN
408112011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40812
40813 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40814 where #ifdef was intended. The intent is to prevent ARG_MAX from
40815 being defined by the kernel headers.
40816
f87dfb1f
UD
408172011-05-07 Ulrich Drepper <drepper@gmail.com>
40818
40819 [BZ #12734]
40820 * resolv/resolv.h: Define RES_NOTLDQUERY.
40821 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40822 no-tld-query and set RES_NOTLDQUERY.
40823 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40824 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40825 modern BIND to search name as TLD unless forbidden.
40826
47c3cd7a
UD
408272011-05-07 Petr Baudis <pasky@suse.cz>
40828 Ulrich Drepper <drepper@gmail.com>
40829
40830 [BZ #12393]
40831 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40832 (is_trusted_path): ...to here.
c1e9ea35 40833 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40834 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40835 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40836
8a35c912
PP
408372011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40838
40839 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40840 __BEGIN/__END_DECLS.
40841
acd41f47
UD
408422011-05-06 Ulrich Drepper <drepper@gmail.com>
40843
40844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40845 NSS_STATUS_NOTFOUND if no record was found.
40846
597df647
AS
408472011-05-05 Andreas Schwab <schwab@redhat.com>
40848
40849 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40850 (headers-not-in-tirpc): Remove rpc/netdb.h
40851 * resolv/netdb.h: Revert last change.
40852
b9af1301
PP
408532011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40854
40855 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40856 circular dependency between libgcc.a and libc.a.
40857
4e34d5f5
AS
408582011-05-05 Andreas Schwab <schwab@redhat.com>
40859
40860 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40861 * nis/Makefile: Don't install rpcsvc/*.
40862 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40863 instead of <rpc/types.h>.
40864 (MAXHOSTNAMELEN): Define.
40865
00ee369c
AS
408662011-05-03 Andreas Schwab <schwab@redhat.com>
40867
40868 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40869
0b592a30
MB
408702011-04-28 Maciej Babinski <mbabinski@google.com>
40871
40872 [BZ #12714]
40873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40874 gethostbyname4_r when IPv6 results are possible.
40875
6e04cbbe
UD
408762011-05-02 Ulrich Drepper <drepper@gmail.com>
40877
40878 [BZ #12723]
40879 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40880 _PC_PIPE_BUF handling.
40881
e4ecafe0
BH
408822011-04-30 Bruno Haible <bruno@clisp.org>
40883
40884 [BZ #12717]
40885 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40886 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40887 to 'int'.
40888 * inet/getnameinfo.c (getnameinfo): Likewise.
40889
125ee683
UD
408902011-04-29 Ulrich Drepper <drepper@gmail.com>
40891
40892 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40893 to groups setting in database lookup.
40894 * nss/nsswitch.conf: Add initgroups entry.
40895
b722481a
EB
408962011-04-22 Ulrich Drepper <drepper@gmail.com>
40897
40898 [BZ #12685]
40899 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40900 mode string.
40901 Patch by Eric Blake <eblake@redhat.com>.
40902
4df46dbd
L
409032011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40904
40905 * sunrpc/Makefile (need-export-routines): Add svc_run.
40906 (routines): Remove svc_run.
40907 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40908 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40909 * sunrpc/svc_run.c (svc_run): Likewise.
40910 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40911
e84142d2
UD
409122011-04-21 Ulrich Drepper <drepper@gmail.com>
40913
40914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40915 problem in reallocation in last patch.
40916
877175d8
UD
409172011-04-20 Ulrich Drepper <drepper@gmail.com>
40918
40919 * sunrpc/Makefile: Move inclusion of Rules.
40920
ab8eed78
UD
409212011-04-19 Ulrich Drepper <drepper@gmail.com>
40922
40923 * nss/nss_files/files-initgroups.c: New file.
40924 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40925 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40926 _nss_files_initgroups_dyn.
40927
e3d8f584
RS
409282011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40929
40930 * elf/elf.h (R_ARM_IRELATIVE): Define.
40931
af190f45
UD
409322011-04-19 Ulrich Drepper <drepper@gmail.com>
40933
40934 * po/ru.po: Update from translation team.
40935
53cf59ef
UD
409362011-04-17 Ulrich Drepper <drepper@gmail.com>
40937
40938 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40939 dependencies.
40940
4c559bcd
MF
409412011-02-06 Mike Frysinger <vapier@gentoo.org>
40942
40943 [BZ #12653]
40944 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40945 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40946 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40947 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40948 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40949
4420675c
AS
409502011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40951
40952 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40953 differing bytes.
40954 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40955 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40956 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40957
75ea32ab
UD
409582011-04-17 Ulrich Drepper <drepper@gmail.com>
40959
40960 [BZ #12420]
40961 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40962 storing it.
40963 * stdlib/bug-getcontext.c: New file.
40964 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40965
27390476
AK
409662011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40967
40968 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40969 instructions into .machine "z9-109".
40970 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40971 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40972
10442705
AK
409732011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40974
40975 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40976 between environment variables and auxiliary vector.
40977
7b57bfe5
UD
409782011-04-16 Ulrich Drepper <drepper@gmail.com>
40979
40980 * Makefile: Add rules to build linkobj/libc.so.
40981 * include/libc-symbols.h: Define libc_hidden_nolink.
40982 * include/rpc/auth.h: Mark functions which are to be hidden.
40983 * include/rpc/auth_des.h: Likewise.
40984 * include/rpc/auth_unix.h: Likewise.
40985 * include/rpc/clnt.h: Likewise.
40986 * include/rpc/des_crypt.h: Likewise.
40987 * include/rpc/key_prot.h: Likewise.
40988 * include/rpc/pmap_clnt.h: Likewise.
40989 * include/rpc/pmap_prot.h: Likewise.
40990 * include/rpc/pmap_rmt.h: Likewise.
40991 * include/rpc/rpc_msg.h: Likewise.
40992 * include/rpc/svc.h: Likewise.
40993 * include/rpc/svc_auth.h: Likewise.
40994 * include/rpc/xdr.h: Likewise.
40995 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40996 * nss/Makefile: Likewise.
40997 * sunrpc/Makefile: Don't install headers. Build library with normal
40998 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40999 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41000 for the compat linking library. Remove use of INTDEF/INTUSE.
41001 * sunrpc/auth_none.c: Likewise.
41002 * sunrpc/auth_unix.c: Likewise.
41003 * sunrpc/authdes_prot.c: Likewise.
41004 * sunrpc/authuxprot.c: Likewise.
41005 * sunrpc/clnt_gen.c: Likewise.
41006 * sunrpc/clnt_perr.c: Likewise.
41007 * sunrpc/clnt_raw.c: Likewise.
41008 * sunrpc/clnt_simp.c: Likewise.
41009 * sunrpc/clnt_tcp.c: Likewise.
41010 * sunrpc/clnt_udp.c: Likewise.
41011 * sunrpc/clnt_unix.c: Likewise.
41012 * sunrpc/des_crypt.c: Likewise.
41013 * sunrpc/des_soft.c: Likewise.
41014 * sunrpc/get_myaddr.c: Likewise.
41015 * sunrpc/key_call.c: Likewise.
41016 * sunrpc/key_prot.c: Likewise.
41017 * sunrpc/netname.c: Likewise.
41018 * sunrpc/pm_getmaps.c: Likewise.
41019 * sunrpc/pm_getport.c: Likewise.
41020 * sunrpc/pmap_clnt.c: Likewise.
41021 * sunrpc/pmap_prot.c: Likewise.
41022 * sunrpc/pmap_prot2.c: Likewise.
41023 * sunrpc/pmap_rmt.c: Likewise.
41024 * sunrpc/publickey.c: Likewise.
41025 * sunrpc/rpc_cmsg.c: Likewise.
41026 * sunrpc/rpc_common.c: Likewise.
41027 * sunrpc/rpc_dtable.c: Likewise.
41028 * sunrpc/rpc_prot.c: Likewise.
41029 * sunrpc/rpc_thread.c: Likewise.
41030 * sunrpc/rtime.c: Likewise.
41031 * sunrpc/svc.c: Likewise.
41032 * sunrpc/svc_auth.c: Likewise.
41033 * sunrpc/svc_authux.c: Likewise.
41034 * sunrpc/svc_raw.c: Likewise.
41035 * sunrpc/svc_run.c: Likewise.
41036 * sunrpc/svc_simple.c: Likewise.
41037 * sunrpc/svc_tcp.c: Likewise.
41038 * sunrpc/svc_udp.c: Likewise.
41039 * sunrpc/svc_unix.c: Likewise.
41040 * sunrpc/svcauth_des.c: Likewise.
41041 * sunrpc/xcrypt.c: Likewise.
41042 * sunrpc/xdr.c: Likewise.
41043 * sunrpc/xdr_array.c: Likewise.
41044 * sunrpc/xdr_float.c: Likewise.
41045 * sunrpc/xdr_intXX_t.c: Likewise.
41046 * sunrpc/xdr_mem.c: Likewise.
41047 * sunrpc/xdr_rec.c: Likewise.
41048 * sunrpc/xdr_ref.c: Likewise.
41049 * sunrpc/xdr_sizeof.c: Likewise.
41050 * sunrpc/xdr_stdio.c: Likewise.
41051
e6c61494
UD
410522011-04-10 Ulrich Drepper <drepper@gmail.com>
41053
41054 [BZ #12650]
41055 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41056 * sysdeps/ia64/dl-tls.h: Likewise.
41057 * sysdeps/powerpc/dl-tls.h: Likewise.
41058 * sysdeps/s390/dl-tls.h: Likewise.
41059 * sysdeps/sh/dl-tls.h: Likewise.
41060 * sysdeps/sparc/dl-tls.h: Likewise.
41061 * sysdeps/x86_64/dl-tls.h: Likewise.
41062 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41063
34fe483e
AS
410642011-03-14 Andreas Schwab <schwab@redhat.com>
41065
41066 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41067 rpath element also skip the following colon.
41068 (expand_dynamic_string_token): Add is_path parameter and pass
41069 down to DL_DST_REQUIRED and _dl_dst_substitute.
41070 (decompose_rpath): Call expand_dynamic_string_token with
41071 non-zero is_path. Ignore empty rpaths.
41072 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41073 with zero is_path.
41074
f12a32e6
AS
410752011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41076
41077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41078 Make cancelable.
41079
38a7d692
UD
410802011-04-09 Ulrich Drepper <drepper@gmail.com>
41081
41082 [BZ #12655]
41083 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41084 Patch by Filipe David Manana <fdmanana@apache.org>.
41085
e451d22b
AS
410862011-04-07 Andreas Schwab <schwab@redhat.com>
41087
41088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41089 Maintain aligned stack.
41090 (CHECK_RSP): Remove unused macro.
41091
dedc7c7b
UD
410922011-04-03 Ulrich Drepper <drepper@gmail.com>
41093
41094 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41095 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41096
94521213
UD
410972011-04-02 Ulrich Drepper <drepper@gmail.com>
41098
41099 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41100
8cb700c0 41101 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41102
0354e355
L
411032011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41104
41105 [BZ #12518]
41106 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41107 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41108 * sysdeps/x86_64/memmove.c: New file.
41109 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41110 (memcpy): Renamed to ...
41111 (__new_memcpy): This.
41112 (memcpy): Provide GLIBC_2_14 memcpy.
41113 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41114 (memcpy): Provide GLIBC_2_2_5 memcpy.
41115
8593482f
UD
411162011-04-01 Ulrich Drepper <drepper@gmail.com>
41117
41118 [BZ #12631]
41119 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41120
81a5726b
AS
411212011-03-30 Andreas Schwab <schwab@redhat.com>
41122
41123 * misc/syncfs.c: New file.
41124 * misc/Makefile (routines): Add syncfs.
41125 * posix/unistd.h: Declare syncfs.
41126 * sysdeps/unix/syscalls.list: Add syncfs.
41127
00e5419f
AS
411282011-04-01 Andreas Schwab <schwab@redhat.com>
41129
41130 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41131 open_by_handle_at.
41132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41135 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41137 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41138 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41139
748876bf
UD
411402011-04-01 Ulrich Drepper <drepper@gmail.com>
41141
658e451d
UD
41142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41144 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41149
748876bf
UD
41150 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41151 sync_file_range.c with -fexceptions.
41152 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41153 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41154 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41155 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41156 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41157 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41159 sync_file_range as cancellation point
41160 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41161 now a wrapper around __call_sync_file_range with cancellation handling.
41162 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41163 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41164 function name to __call_sync_file_range.
41165 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41166 Add call_sync_file_range.
748876bf 41167
6e63d5e1
AS
411682011-04-01 Andreas Schwab <schwab@redhat.com>
41169
41170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41171 bits/timex.h.
6e63d5e1 41172
46998f74
UD
411732011-04-01 Ulrich Drepper <drepper@gmail.com>
41174
4c1423ed
UD
41175 * iconv/iconv.h: Fix typo in comment.
41176 * io/fcntl.h: Likewise.
41177 * libio/stdio.h: Likewise.
41178 * posix/spawn.h: Likewise.
41179 * posix/unistd.h: Likewise.
41180 * stdlib/stdlib.h: Likewise.
41181 * time/time.h: Likewise.
41182 * wcsmbs/wchar.h: Likewise.
41183
158648c0
UD
41184 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41185 open_by_handle): Add.
41186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41187 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41188 Augment a few comments.
41189 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41194 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41195 open_by_handle.
41196
46998f74
UD
41197 * io/fcntl.h (AT_EMPTY_PATH): Define.
41198
83fe108b
UD
411992011-03-30 Ulrich Drepper <drepper@gmail.com>
41200
41201 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41202 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41203 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41204 to...
41205 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41206 * Versions.def: Add GLIBC_2.14.
41207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41208 Export.
83fe108b 41209
bb242059
UD
412102011-03-22 Ulrich Drepper <drepper@gmail.com>
41211
41212 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41213 round counter.
41214 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41215
c97a1282
L
412162011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41217
41218 [BZ #12597]
41219 * string/test-strncmp.c (do_page_test): New function.
41220 (check2): Likewise.
41221 (test_main): Call check2.
41222 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41223
2a115601
UD
412242011-03-20 Ulrich Drepper <drepper@gmail.com>
41225
41226 [BZ #12587]
41227 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41228 Handle cache information in CPU leaf 4.
41229 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41230
8126d904
UD
412312011-03-18 Ulrich Drepper <drepper@gmail.com>
41232
042c49c6 41233 [BZ #12583]
8126d904
UD
41234 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41235 character representation.
41236 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41237
ccfe366e
RA
412382011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41239
41240 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41241 END(__isnan) to END(__isnanf) to match function entry point/label
41242 EALIGN(__isnanf,...).
41243
c6e13027
JJ
412442011-03-10 Jakub Jelinek <jakub@redhat.com>
41245
41246 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41247
33f85a3f
UD
412482011-03-10 Ulrich Drepper <drepper@gmail.com>
41249
028478fa
UD
41250 [BZ #12510]
41251 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41252 copy from the symbol referenced in the relocation to initialize the
41253 used variable.
41254 Patch by Piotr Bury <pbury@goahead.com>.
41255 * elf/Makefile: Add rules to build and tst-unique3.
41256 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41257 * elf/tst-unique3.cc: New file.
41258 * elf/tst-unique3.h: New file.
41259 * elf/tst-unique3lib.cc: New file.
41260 * elf/tst-unique3lib2.cc: New file.
41261
33f85a3f
UD
41262 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41263
03592fc7
MF
412642011-03-10 Mike Frysinger <vapier@gentoo.org>
41265
41266 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41267 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41268 to _start.
03592fc7 41269
6a5ee102
UD
412702011-03-06 Ulrich Drepper <drepper@gmail.com>
41271
41272 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41273 to-be-loaded object along a path to loader is ld.so.
41274
7e4ba49c
HJ
412752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41276 Ulrich Drepper <drepper@gmail.com>
41277
41278 * sysdeps/x86_64/memset.S: After aligning destination, code
41279 branches to different locations depending on the value of
41280 misalignment, when multiarch is enabled. Fix this.
41281
412822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41283
41284 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41285 Set _x86_64_preferred_memory_instruction for AMD processsors.
41286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41287 Set bit_Prefer_SSE_for_memop for AMD processors.
41288
13a804de
UD
412892011-03-04 Ulrich Drepper <drepper@gmail.com>
41290
41291 * libio/fmemopen.c (fmemopen): Optimize a bit.
41292
9d25c392
AS
412932011-03-03 Andreas Schwab <schwab@redhat.com>
41294
41295 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41296
a5543c6a
RM
412972011-03-03 Roland McGrath <roland@redhat.com>
41298
41299 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41300
012d35f7
DM
413012011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41302
7e4ba49c 41303 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41304 __bzero_ultra1 instead of __memset_ultra1.
41305
4bff6e01
AS
413062011-02-23 Andreas Schwab <schwab@redhat.com>
41307 Ulrich Drepper <drepper@gmail.com>
41308
41309 [BZ #12509]
41310 * include/link.h (struct link_map): Add l_orig_initfini.
41311 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41312 returning unsuccessfully.
41313 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41314 close of a file loaded at startup, restore the original l_initfini
41315 list.
41316 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41317 list, store the pointer.
41318 * elf/Makefile ($(objpfx)noload-mem): New rule.
41319 (noload-ENV): Define.
41320 (tests): Add $(objpfx)noload-mem.
41321 * elf/noload.c: Include <memcheck.h>.
41322 (main): Call mtrace. Close all opened handles.
41323
f2092faf
AS
413242011-02-17 Andreas Schwab <schwab@redhat.com>
41325
41326 [BZ #12454]
41327 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41328 dependencies are missing.
41329
6c8a2e88
ST
413302011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41331
f2092faf 41332 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41333 Hurd needs munmap.
41334 * sysdeps/mach/hurd/ifreq.h: New file.
41335
84a42118
PB
413362011-01-27 Petr Baudis <pasky@suse.cz>
41337 Ulrich Drepper <drepper@gmail.com>
41338
071f805e 41339 [BZ 12445]#
84a42118
PB
41340 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41341 to extend_alloca().
41342 * stdio-common/bug23.c: New file.
41343 * stdio-common/Makefile (tests): Add bug23.
41344
e23fe25b
AS
413452010-09-28 Andreas Schwab <schwab@redhat.com>
41346 Ulrich Drepper <drepper@gmail.com>
41347
41348 [BZ #12489]
41349 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41350 before performing relro protection. At old place add assertion
41351 to make sure nothing changed.
41352
d3f02e10
NS
413532011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41354 Glauber de Oliveira Costa <glommer@gmail.com>
41355
41356 * elf/elf.h: Add new ARM TLS relocs.
41357
d55fd7a5
RA
413582011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41359
41360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41361 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41362 cast from r3.
41363 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41364 'tests' variable.
41365 * sysdeps/wordsize-64/tst-writev.c: New file.
41366
2206397e
RA
413672011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41368
41369 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41370 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41371 insns in _dl_start to prevent a TOC reference before relocs are
41372 resolved.
41373
e9433893
UD
413742011-02-15 Ulrich Drepper <drepper@gmail.com>
41375
41376 [BZ #12469]
41377 * Makeconfig: Remove RANLIB definition.
41378 * Makerules: Don't use RANLIB.
41379 * aclocal.m4: Remove ranlib test.
41380 * configure.in: No need to check for ranlib.
41381 * elf/rtld-Rules: Don't use RANLIB.
41382
f75286c6
ST
413832011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41384
8e31c82d
ST
41385 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41386 protection macro.
41387 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41388 inclusion protection macro.
41389
f75286c6
ST
41390 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41391 SIGRTMIN and SIGRTMAX and print information in that case only when
41392 SIGRTMIN is defined.
41393
c1d0e639
JJ
413942011-02-11 Jakub Jelinek <jakub@redhat.com>
41395
41396 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41397 arginfo fn returning -1.
41398
41399 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41400 and thousands string is zero terminated.
41401
edf9294e
AS
414022011-02-03 Andreas Schwab <schwab@redhat.com>
41403
41404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41405 sysdeps/unix/sysv/linux/bits/socket.h.
41406
2b7e92df
ST
414072011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41408
edf9294e
AS
41409 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41410 (__CPU_COUNT): Remove old macros.
41411 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41412 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41413 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41414 (__sched_cpualloc, __sched_cpufree): Add declarations.
41415
a4c7ea7b
UD
414162011-02-05 Ulrich Drepper <drepper@gmail.com>
41417
41418 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41419 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41420 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41421 (readdhstai): Return value of addhstaiX call.
41422 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41423 (addgrbyX): Return value returned by cache_addgr.
41424 (readdgrbyname): Return value returned by addgrbyX.
41425 (readdgrbygid): Likewise.
41426 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41427 (addpwbyX): Return value returned by cache_addpw.
41428 (readdpwbyname): Return value returned by addhstbyX.
41429 (readdpwbyuid): Likewise.
41430 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41431 (addservbyX): Return value returned by cache_addserv.
41432 (readdservbyname): Return value returned by addservbyX:
41433 (readdservbyport): Likewise.
41434 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41435 (addhstbyX): Return value returned by cache_addhst.
41436 (readdhstbyname): Return value returned by addhstbyX.
41437 (readdhstbyaddr): Likewise.
41438 (readdhstbynamev6): Likewise.
41439 (readdhstbyaddrv6): Likewise.
41440 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41441 (readdinitgroups): Return value returned by addinitgroupsX.
41442 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41443 (prune_cache): Keep track of timeout value of re-added entries.
41444 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41445 * nscd/nscd.h: Adjust prototypes of readd* functions.
41446
a0bf67cc
RM
414472011-02-04 Roland McGrath <roland@redhat.com>
41448
41449 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41450 (nis_stats): Likewise.
41451 * nis/nis_modify.c (nis_modify): Likewise.
41452 * nis/nis_remove.c (nis_remove): Likewise.
41453 * nis/nis_add.c (nis_add): Likewise.
41454
41455 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41456
41457 * posix/fnmatch_loop.c: Add some consts.
41458
41459 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41460
435b95eb
L
414612011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41462
41463 [BZ #12460]
41464 * config.make.in (config-cflags-novzeroupper): Define.
41465 * configure.in: Substitute libc_cv_cc_novzeroupper.
41466 * elf/Makefile (AVX-CFLAGS): Define.
41467 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41468 (CFLAGS-tst-auditmod4a.c): Likewise.
41469 (CFLAGS-tst-auditmod4b.c): Likewise.
41470 (CFLAGS-tst-auditmod6b.c): Likewise.
41471 (CFLAGS-tst-auditmod6c.c): Likewise.
41472 (CFLAGS-tst-auditmod7b.c): Likewise.
41473 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41474
8517b15e
UD
414752011-02-02 Ulrich Drepper <drepper@gmail.com>
41476
41477 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41478 function to the callback.
41479 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41480
10a656fe
AS
414812011-02-02 Andreas Schwab <schwab@redhat.com>
41482
41483 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41484 of errno.
41485
968dad0a
UD
414862011-01-19 Ulrich Drepper <drepper@gmail.com>
41487
9f94d2ea 41488 [BZ #11724]
968dad0a
UD
41489 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41490 of constructors.
41491 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41492 of destructors.
41493 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41494
41495 [BZ #11724]
41496 * elf/Makefile: Add rules to build and run new test.
41497 * elf/tst-initorder.c: New file.
41498 * elf/tst-initorder.exp: New file.
41499 * elf/tst-initordera1.c: New file.
41500 * elf/tst-initordera2.c: New file.
41501 * elf/tst-initordera3.c: New file.
41502 * elf/tst-initordera4.c: New file.
41503 * elf/tst-initorderb1.c: New file.
41504 * elf/tst-initorderb2.c: New file.
41505 * elf/tst-order-a1.c: New file.
41506 * elf/tst-order-a2.c: New file.
41507 * elf/tst-order-a3.c: New file.
41508 * elf/tst-order-a4.c: New file.
41509 * elf/tst-order-b1.c: New file.
41510 * elf/tst-order-b2.c: New file.
41511 * elf/tst-order-main.c: New file.
41512 New test case by George Gensure <werkt0@gmail.com>.
41513
86e92359
UD
415142010-10-01 Andreas Schwab <schwab@redhat.com>
41515
41516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41517 decoding ACE if AI_CANONIDN.
41518
5d5732b0
UD
415192011-01-18 Ulrich Drepper <drepper@gmail.com>
41520
41521 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41522
a77e8cbc
UD
415232011-01-17 Ulrich Drepper <drepper@gmail.com>
41524
6392473f
UD
41525 * version.h (RELEASE): Bump for 2.13 release.
41526 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41527
620a0529
UD
41528 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41529
18ba70a5
UD
41530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41531 MADV_NOHUGEPAGE.
32465c3e
UD
41532 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41533 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41534 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41535 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41537 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41538
c0dafcf1
UD
41539 * posix/getconf.c: Update copyright year.
41540 * catgets/gencat.c: Likewise.
41541 * csu/version.c: Likewise.
41542 * debug/catchsegv.sh: Likewise.
41543 * debug/xtrace.sh: Likewise.
41544 * elf/ldconfig.c: Likewise.
41545 * elf/ldd.bash.in: Likewise.
41546 * elf/sprof.c (print_version): Likewise.
41547 * iconv/iconv_prog.c: Likewise.
41548 * iconv/iconvconfig.c: Likewise.
41549 * locale/programs/locale.c: Likewise.
41550 * locale/programs/localedef.c: Likewise.
41551 * malloc/memusage.sh: Likewise.
41552 * malloc/mtrace.pl: Likewise.
41553 * nscd/nscd.c (print_version): Likewise.
41554 * nss/getent.c: Likewise.
41555
a77e8cbc
UD
41556 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41557 PF_CAIF, and PF_ALG.
41558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41559
77e8bddf
AS
415602011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41561
1f20b93a
AS
41562 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41563 (modules-names): Use them.
41564 (ifunc-test-modules, ifunc-pie-tests): Define.
41565 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41566 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41567 (test-extras): Likewise.
41568 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41569 $(compile-command.c).
41570 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41571 (all-built-dso): Define.
41572 (check-textrel.out, check-execstack.out): Depend on it.
41573
77e8bddf
AS
41574 * configure.in: Don't override --enable-multi-arch.
41575
bc425b33
UD
415762011-01-15 Ulrich Drepper <drepper@gmail.com>
41577
41578 [BZ #6812]
41579 * nscd/hstcache.c (tryagain): Define.
41580 (cache_addhst): Return tryagain not notfound for temporary errors.
41581 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41582 failed.
41583
794c3ad3
UD
415842011-01-14 Ulrich Drepper <drepper@gmail.com>
41585
70181fdd
UD
41586 [BZ #10563]
41587 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41588 to make the syscall.
41589 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41590
794c3ad3
UD
41591 [BZ #12378]
41592 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41593 and fall back to matching as normal character if the string ends before
41594 the matching ']' is found. This is what POSIX requires.
41595 * posix/testfnm.c: Adjust test result.
41596 * posix/globtest.sh: Adjust test result. Add new test.
41597 * posix/tst-fnmatch.input: Likewise.
41598 * posix/tst-fnmatch2.c: Add new test.
41599
68dc9497
AS
416002010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41601
41602 * elf/Makefile (check-execstack): Revert last change. Depend on
41603 check-execstack.h.
41604 (check-execstack.h): New target.
41605 (generated): Add check-execstack.h.
41606 * elf/check-execstack.c: Include "check-execstack.h".
41607 (main): Revert last change.
41608 (handle_file): Return zero if GNU_STACK is absent and
41609 DEFAULT_STACK_PERMS doesn't include PF_X.
41610
451f001b
UD
416112011-01-13 Ulrich Drepper <drepper@gmail.com>
41612
cfa28e56
UD
41613 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41614 in child fails because the descriptor is already closed.
8cf8ce17
UD
41615 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41616 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41617 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41618
1086d70d
UD
41619 [BZ #12397]
41620 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41621 syscall.
41622
451f001b
UD
41623 [BZ #10484]
41624 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41625 temporary buffer used to handle multi lookups locally.
a85b5cb4 41626 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41627
08769175
UD
416282011-01-12 Ulrich Drepper <drepper@gmail.com>
41629
41630 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41631 loader is ld.so.
41632
5e49c52e
UD
416332011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41634
41635 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41636 alignment for SSE2.
41637
60522a5f
UD
416382011-01-12 Ulrich Drepper <drepper@gmail.com>
41639
41640 [BZ #12394]
41641 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41642 characters. When rounding increased number of integer digits recompute
41643 number of groups.
41644 * stdio-common/tst-grouping.c: New file.
41645 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41646
f257bbd7
UD
416472011-01-09 Ulrich Drepper <drepper@gmail.com>
41648
41649 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41650 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41651
41652 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41653 void.
41654 * bits/select.h: Likewise.
41655
fa9c15cb
UD
416562011-01-08 Ulrich Drepper <drepper@gmail.com>
41657
41658 * po/ja.po: Update from translation team.
41659
16c2895f
DM
416602011-01-04 David S. Miller <davem@sunset.davemloft.net>
41661
41662 [BZ #11155]
41663 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41664 implementation just like for lxstat, fxstatat, et al.
41665
2543fef2
JM
416662010-12-27 Jim Meyering <meyering@redhat.com>
41667
41668 [BZ #12348]
41669 * posix/regexec.c (build_trtable): Return failure indication upon
41670 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41671
98727dbe
UD
416722010-12-25 Ulrich Drepper <drepper@gmail.com>
41673
5bd6dc5c
UD
41674 [BZ #12201]
41675 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41676 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41677 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41679
97983464
UD
41680 [BZ #12207]
41681 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41682
98727dbe
UD
41683 [BZ #12204]
41684 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41685 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41686
4a531bb0
L
416872010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41688
41689 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41690 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41691 script has SORT_BY_INIT_PRIORITY.
41692 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41693 NO_CTORS_DTORS_SECTIONS is defined.
41694 * elf/soinit.c: Likewise.
41695 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41696 NO_CTORS_DTORS_SECTIONS is defined.
41697 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41698 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41699 * sysdeps/sh/init-first.c: Likewise.
41700 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41701
07eb4b71
UD
417022010-12-24 Ulrich Drepper <drepper@gmail.com>
41703
41704 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41705 always use the slow path.
41706
30950a5f
RA
417072010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41708
41709 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41710 similar rule which adds the sysdep directories to the header search in
41711 order to pick up the correct platform stackinfo.h.
41712 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41713 perform test if it is, otherwise return successfully without testing.
41714 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41715 DEFAULT_STACK_PERMS define in stackinfo.h.
41716 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41717 defined in stackinfo.h.
41718 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41719 DEFAULT_STACK_PERMS defined in stackinfo.h.
41720 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41721 * sysdeps/ia64/stackinfo.h: Likewise.
41722 * sysdeps/s390/stackinfo.h: Likewise.
41723 * sysdeps/sh/stackinfo.h: Likewise.
41724 * sysdeps/sparc/stackinfo.h: Likewise.
41725 * sysdeps/x86_64/stackinfo.h: Likewise.
41726 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41727 PF_X for powerpc64. Retain PF_X for powerpc32.
41728
db753e2c
UD
417292010-12-19 Ulrich Drepper <drepper@gmail.com>
41730
14b697f7
UD
41731 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41732 accurately.
db753e2c
UD
41733 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41734 GETDENTS_64BIT_ALIGNED.
41735
28300719
UD
417362010-12-14 Ulrich Drepper <dreper@gmail.com>
41737
14b697f7 41738 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41739
4f197237
AS
417402010-12-10 Andreas Schwab <schwab@redhat.com>
41741
dbb0472f
AS
41742 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41743 _GNU_SOURCE.
41744
4f197237
AS
41745 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41746 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41747 Remove __restrict.
41748 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41749 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41750
fb88ac72
UD
417512010-12-09 Ulrich Drepper <drepper@gmail.com>
41752
41753 [BZ #11655]
41754 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41755 are initialized.
41756
42acbb92
JJ
417572010-12-09 Jakub Jelinek <jakub@redhat.com>
41758
41759 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41760
c038d98d
UD
417612010-12-03 Ulrich Drepper <drepper@gmail.com>
41762
41763 * po/it.po: Update from translation team.
41764
3a4a2499
L
417652010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41766
41767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41768 unused codes.
41769
1e24cf6e
UD
417702010-11-30 Ulrich Drepper <drepper@gmail.com>
41771
41772 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41773
a7690819
AS
417742010-11-24 Andreas Schwab <schwab@redhat.com>
41775
41776 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41777 specially.
41778 (gaih_getanswer_slice): Likewise.
41779
3bf8d1b1
JJ
417802010-10-20 Jakub Jelinek <jakub@redhat.com>
41781
41782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41783
6db52fbb
PB
417842010-05-31 Petr Baudis <pasky@suse.cz>
41785
41786 [BZ #11149]
41787 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41788 silently even in the chroot mode.
41789
eaca7569
UD
417902010-11-22 Ulrich Drepper <drepper@gmail.com>
41791
41792 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41793 last patch a bit. Pretty printing
41794
3056dcdb
UD
417952010-05-31 Petr Baudis <pasky@suse.cz>
41796
41797 [BZ #10085]
41798 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41799 initialization of skip_initgroups_dyn.
41800
cf7c9078
UD
418012010-11-19 Ulrich Drepper <drepper@gmail.com>
41802
41803 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41805
a1fb5e3e
UD
418062010-11-16 Ulrich Drepper <drepper@gmail.com>
41807
41808 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41809
3540d66b
AS
418102010-11-11 Andreas Schwab <schwab@redhat.com>
41811
41812 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41813 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41814 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41815 ($(objpfx)tst-fnmatch-mem): New rule.
41816 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41817 * posix/tst-fnmatch.c (main): Call mtrace.
41818
13b69574
L
418192010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41820
41821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41822 Support Intel processor model 6 and model 0x2c.
41823
da93d214
LM
418242010-11-10 Luis Machado <luisgpm@br.ibm.com>
41825
41826 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41827 signed comparison.
41828
8ca52c6e
L
418292010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41830
41831 [BZ #12205]
41832 * string/test-strncasecmp.c (check_result): New function.
41833 (do_one_test): Use it.
41834 (check1): New function.
41835 (test_main): Use it.
41836 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41837 Support strcasecmp and strncasecmp.
41838
69da074d
UD
418392010-11-08 Ulrich Drepper <drepper@gmail.com>
41840
41841 [BZ #12194]
41842 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41843 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41844
ff02d528
L
418452010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41846
41847 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41848 IFUNC support.
41849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41850 memset-x86-64.
41851 * sysdeps/x86_64/multiarch/bzero.S: New file.
41852 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41853 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41854 * sysdeps/x86_64/multiarch/memset.S: New file.
41855 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41857 Set bit_Prefer_SSE_for_memop for Intel processors.
41858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41859 Define.
41860 (index_Prefer_SSE_for_memop): Define.
41861 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41862
344d0b54
LM
418632010-11-04 Luis Machado <luisgpm@br.ibm.com>
41864
41865 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41866 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41867
c0dde15b
UD
418682010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41869
41870 [BZ #12191]
41871 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41872 (__x86_64_raw_data_cache_size_half): Likewise.
41873 (__x86_64_raw_shared_cache_size): Likewise.
41874 (__x86_64_raw_shared_cache_size_half): Likewise.
41875
41876 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41877 (__x86_64_raw_data_cache_size_half): Likewise.
41878 (__x86_64_raw_shared_cache_size): Likewise.
41879 (__x86_64_raw_shared_cache_size_half): Likewise.
41880 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41881 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41882 and __x86_64_raw_shared_cache_size_half. Round
41883 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41884 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41885 to multiple of 256 bytes.
41886
0e516e0e
MS
418872010-11-03 Ulrich Drepper <drepper@gmail.com>
41888
41889 [BZ #12167]
41890 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41891 of inacessible symlinks. Verify result of symlink before returning it.
41892 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41893 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41894
0e012e87
ER
418952010-10-28 Erich Ritz <erichritz@gmail.com>
41896
41897 * math/math.h (isinf): Fix typo in comment.
41898
de0ff7bc
UD
418992010-11-01 Ulrich Drepper <drepper@gmail.com>
41900
41901 * po/da.po: Update from translation team.
41902
fa41c84d
UD
419032010-10-26 Ulrich Drepper <drepper@gmail.com>
41904
41905 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41906 is added to the list.
41907
f0967738
AK
419082010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41909 Ulrich Drepper <drepper@gmail.com>
41910
41911 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41912 the global list here. Move code to...
41913 (_dl_add_to_namespace_list): ...here. New function.
41914 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41915 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41916 * elf/dl-load.c (lose): Don't remove the element from the list.
41917 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41918 (_dl_map_object): Likewise.
41919
419202010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41921
41922 [BZ #12159]
41923 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41924 into all bytes of SSE register.
41925 Patch by Richard Li <richardpku@gmail.com>.
41926
f0967738 419272010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41928
41929 [BZ #12140]
41930 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41931 perturbing.
41932
d0b9e94f
MB
419332010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41934
41935 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41936 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41937 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41938 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41940 submachine.
41941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41942
8e9f92e9
AS
419432010-10-22 Andreas Schwab <schwab@redhat.com>
41944
41945 * include/dlfcn.h (__RTLD_SECURE): Define.
41946 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41947 mode & __RTLD_SECURE instead.
41948 (open_path): Rename preloaded parameter to secure.
41949 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41950 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41951 * elf/dl-deps.c (openaux): Likewise.
41952 * elf/rtld.c (struct map_args): Remove is_preloaded.
41953 (map_doit): Don't use it.
41954 (dl_main): Likewise.
41955 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41956 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41957
bc96fbda
AS
419582010-09-09 Andreas Schwab <schwab@redhat.com>
41959
41960 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41961 (sysd-rules-targets): Remove duplicates.
41962 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41963 rtld-%.$o dependency.
41964
22cd1c9b
AS
419652010-10-18 Andreas Schwab <schwab@redhat.com>
41966
41967 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41968 _dl_map_object do it.
41969
18edac48
UD
419702010-10-19 Ulrich Drepper <drepper@gmail.com>
41971
41972 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41973 fast fma builtins, define the macros in the C99 standard.
41974 (FP_FAST_FMAF): Likewise.
41975 (FP_FAST_FMAL): Likewise.
41976 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41977
41978 * bits/mathdef.h: Update copyright year.
41979 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41980
d2050124
MM
419812010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41982
41983 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41984 builtins, define the macros in the C99 standard.
41985 (FP_FAST_FMAF): Likewise.
41986 (FP_FAST_FMAL): Likewise.
41987 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41988 multiply/add.
41989 (FP_FAST_FMAF): Likewise.
41990
475facd1
JJ
419912010-10-15 Jakub Jelinek <jakub@redhat.com>
41992
41993 [BZ #3268]
41994 * math/libm-test.inc (fma_test): Some new testcases.
41995 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41996 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41997 y and infinite z. Do multiplication by C already in long double.
41998 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42000 y and infinite z. Do bitwise or of inexact bit into u.d.
42001 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42002 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42003 * sysdeps/i386/fpu/s_fma.S: Removed.
42004 * sysdeps/i386/fpu/s_fmal.S: Removed.
42005
7c08a05c
JJ
420062010-10-16 Jakub Jelinek <jakub@redhat.com>
42007
42008 [BZ #3268]
42009 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42011 computation is not scheduled after fetestexcept. Fix value
42012 of minimum denormal long double.
42013
f3f7372d
JJ
420142010-10-14 Jakub Jelinek <jakub@redhat.com>
42015
42016 [BZ #3268]
42017 * math/libm-test.inc (fma_test): Add some more tests.
42018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42019 correctly.
42020
14d43591
AS
420212010-10-15 Andreas Schwab <schwab@redhat.com>
42022
42023 * scripts/data/localplt-s390-linux-gnu.data: New file.
42024 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42025
5e908464
JJ
420262010-10-13 Jakub Jelinek <jakub@redhat.com>
42027
42028 [BZ #3268]
42029 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42030 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42031 instead of dbl-64.
42032 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42033 inlines.
42034 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42036 if one of x and y is very large and the other is subnormal.
42037 * sysdeps/s390/fpu/s_fmaf.c: New file.
42038 * sysdeps/s390/fpu/s_fma.c: New file.
42039 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42040 * sysdeps/powerpc/fpu/s_fma.S: New file.
42041 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42042 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42043 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42044
420452010-10-12 Jakub Jelinek <jakub@redhat.com>
42046
42047 [BZ #3268]
42048 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42049 fma tests.
42050 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42051 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42052 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42053 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42054 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42055 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42057
b833d51f
UD
420582010-10-12 Ulrich Drepper <drepper@redhat.com>
42059
42060 [BZ #12078]
42061 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42062 * posix/bug-regex31.input: Add test case.
42063
1751705d
UD
420642010-10-11 Ulrich Drepper <drepper@gmail.com>
42065
e9b9cbf5
UD
42066 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42067 * posix/bug-regex31.input: New file.
42068
42069 [BZ #12078]
42070 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42071 (parse_sub_exp): Fix last change, use postorder.
42072
ef06edbe
UD
42073 * posix/bug-regex31.c: New file.
42074 * posix/Makefile: Add rules to build and run bug-regex31.
42075
a129c80d
UD
42076 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42077
42078 [BZ #12078]
42079 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42080
b76b818e
UD
42081 [BZ #12108]
42082 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42083 to have entries in sys_siglist.
42084
1751705d
UD
42085 [BZ #12093]
42086 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42087 be NULL.
42088
9ff8d36f
JJ
420892010-10-07 Jakub Jelinek <jakub@redhat.com>
42090
42091 [BZ #3268]
42092 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42093 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42094 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42095 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42097 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42098 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42099 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42100 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42101 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42102 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42103 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42104 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42105 * math/ftestexcept.c (fetestexcept): Likewise.
42106 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42107 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42108 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42109 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42110 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42111 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42112 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42113
af325969
UD
421142010-10-11 Ulrich Drepper <drepper@gmail.com>
42115
c579b202 42116 [BZ #12107]
af325969
UD
42117 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42118 newline.
42119
67a67b95
UD
421202010-10-06 Ulrich Drepper <drepper@gmail.com>
42121
42122 * string/bug-strstr1.c: New file.
42123 * string/Makefile: Add rules to build and run bug-strstr1.
42124
5fb308bc
EB
421252010-10-05 Eric Blake <eblake@redhat.com>
42126
42127 [BZ #12092]
42128 * string/str-two-way.h (two_way_long_needle): Always clear memory
42129 when skipping input due to the shift table.
42130
45db99c7
UD
421312010-10-03 Ulrich Drepper <drepper@gmail.com>
42132
3b111893
UD
42133 [BZ #12005]
42134 * malloc/mcheck.c: Handle large requests.
42135
45db99c7
UD
42136 [BZ #12077]
42137 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42138 for strncmp and strncasecmp.
42139 * string/stratcliff.c: Add tests for strcmp and strncmp.
42140 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42141
cf7a1eb8
NI
421422010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42143
42144 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42145 __set_fpscr.
42146
6484ba5e
AJ
421472010-09-30 Andreas Jaeger <aj@suse.de>
42148
42149 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42150 (CGROUP_SUPER_MAGIC): Define.
42151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42152 Handle btrfs and cgroup file systems.
42153 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42154 Likewise.
42155
91c42559
LM
421562010-09-27 Luis Machado <luisgpm@br.ibm.com>
42157
42158 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42159 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42160
87a97932
AK
421612010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42162
42163 [BZ #12067]
42164 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42165 trying to locate the ELF header.
42166
c21cc9bc
AS
421672010-09-27 Andreas Schwab <schwab@redhat.com>
42168
42169 [BZ #11611]
42170 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42171 Mask out sign-bit copies when constructing f_fsid.
42172
315970f6
PB
421732010-09-24 Petr Baudis <pasky@suse.cz>
42174
42175 * debug/stack_chk_fail_local.c: Add missing licence exception.
42176 * debug/warning-nop.c: Likewise.
42177
1ac7a2c7
JM
421782010-09-15 Joseph Myers <joseph@codesourcery.com>
42179
42180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42181 implementing getdents64 using getdents syscall, set d_type if
42182 __ASSUME_GETDENTS32_D_TYPE.
42183
56801c50
AS
421842010-09-16 Andreas Schwab <schwab@redhat.com>
42185
42186 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42187 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42188
dda51327
UD
421892010-09-21 Ulrich Drepper <drepper@redhat.com>
42190
42191 [BZ #12037]
42192 * posix/unistd.h: Undo change of feature selection for ftruncate from
42193 2010-01-11.
42194
8ffcee4a
UD
421952010-09-20 Ulrich Drepper <drepper@redhat.com>
42196
a545ecd9 42197 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42198 detection.
42199
e24f0a8b
AS
422002010-09-20 Andreas Schwab <schwab@redhat.com>
42201
42202 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42203 fanotify_mark.
42204 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42205
7291c56f
AS
422062010-09-14 Andreas Schwab <schwab@redhat.com>
42207
42208 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42209 variables after CHECK_SP call.
42210 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42211
bc5fb037
AS
422122010-09-13 Andreas Schwab <schwab@redhat.com>
42213 Ulrich Drepper <drepper@redhat.com>
42214
42215 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42216 re-relocationg ld.so.
42217 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42218 _dl_init_paths call.
42219 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42220 here anymore.
42221
e66e7419
UD
422222010-09-14 Ulrich Drepper <drepper@redhat.com>
42223
42224 * resolv/res_init.c (__res_vinit): Count the default server we added.
42225
c044aa75
CLT
422262010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42227 Ulrich Drepper <drepper@redhat.com>
42228
42229 [BZ #11968]
42230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42231 (____longjmp_chk): Use %ebx for saving value across system call.
42232 Add unwind info.
42233
32cf4069
AS
422342010-09-06 Andreas Schwab <schwab@redhat.com>
42235
42236 * manual/Makefile: Don't mix pattern rules with normal rules.
42237
817328ee
AS
422382010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42239
42240 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42241 operation.
42242 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42243 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42244 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42245 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42247 Likewise.
42248
29fddf61
UD
422492010-09-04 Ulrich Drepper <drepper@redhat.com>
42250
42251 [BZ #11979]
42252 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42253 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42254
0959ffc9
UD
422552010-09-02 Ulrich Drepper <drepper@redhat.com>
42256
42257 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42258 * sysdeps/x86_64/addmul_1.S: Likewise.
42259 * sysdeps/x86_64/lshift.S: Likewise.
42260 * sysdeps/x86_64/mul_1.S: Likewise.
42261 * sysdeps/x86_64/rshift.S: Likewise.
42262 * sysdeps/x86_64/sub_n.S: Likewise.
42263 * sysdeps/x86_64/submul_1.S: Likewise.
42264
ece29840
ST
422652010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42266
0959ffc9
UD
42267 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42268 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42269 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42270 * bits/sched.h [__need_schedparam]
ece29840 42271 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42272 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42273 (__defined_schedparam): Define to 1.
ece29840
ST
42274 (__sched_param): New structure, identical to sched_param.
42275 (__need_schedparam): Undefine.
42276
e53a31fe
MF
422772010-08-31 Mike Frysinger <vapier@gentoo.org>
42278
fdc0c10d
MF
42279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42280 (epoll_create1): Declare.
42281
e53a31fe
MF
42282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42283
a726d796
AS
422842010-08-31 Andreas Schwab <schwab@redhat.com>
42285
42286 [BZ #7066]
42287 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42288 shifting retval into place.
42289
2f3e3dc7
UD
422902010-09-01 Ulrich Drepper <drepper@redhat.com>
42291
f2933da9
UD
42292 * nis/rpcsvc/nis.h: Update copyright notice.
42293 * nis/rpcsvc/nis.x: Likewise.
42294 * nis/rpcsvc/nis_callback.h: Likewise.
42295 * nis/rpcsvc/nis_callback.x: Likewise.
42296 * nis/rpcsvc/nis_object.x: Likewise.
42297 * nis/rpcsvc/nis_tags.h: Likewise.
42298 * nis/rpcsvc/yp.h: Likewise.
42299 * nis/rpcsvc/yp.x: Likewise.
42300 * nis/rpcsvc/ypupd.h: Likewise.
42301 * nis/yp_xdr.c: Likewise.
42302 * nis/ypupdate_xdr.c: Likewise.
42303
2f3e3dc7
UD
42304 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42305 mainly the body of pmap_getport. Add parameters to specify timeouts.
42306 (pmap_getport): Use __libc_rpc_getport.
42307 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42308 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42309 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42310
f3dcc2f9
AS
423112010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42312
42313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42314 fanotify_mark.
42315
6d34eb5b
RM
423162010-08-27 Roland McGrath <roland@redhat.com>
42317
42318 * sysdeps/i386/i686/multiarch/Makefile
42319 (CFLAGS-varshift.c): New variable.
42320
9ea3de11
UD
423212010-08-27 Ulrich Drepper <drepper@redhat.com>
42322
c96d23fc
UD
42323 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42324 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42325
9ea3de11
UD
42326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42327
42328 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42329
623aac7f
L
423302010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42331
42332 * sysdeps/x86_64/strlen.S: Unroll the loop.
42333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42334 strlen-sse2 strlen-sse2-bsf.
42335 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42336 __strlen_no_bsf if bit_Slow_BSF is set.
42337 (__strlen_sse42): Removed.
42338 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42339 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42340
8b2b7715
RM
423412010-08-25 Roland McGrath <roland@redhat.com>
42342
42343 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42344 * sysdeps/x86_64/multiarch/varshift.c: New file.
42345 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42346 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42347 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42348 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42349
e73015f2
L
423502010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42351
42352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42353 strlen-sse2 strlen-sse2-bsf.
42354 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42355 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42356 (__strlen_sse2): Removed.
42357 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42358 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42360 bit_Slow_BSF for Atom.
42361 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42362 (index_Slow_BSF): Define.
42363 (HAS_SLOW_BSF): Define.
42364
df24a73e
UD
423652010-08-25 Ulrich Drepper <drepper@redhat.com>
42366
42367 [BZ #10851]
42368 * resolv/res_init.c (__res_vinit): When no server address at all
42369 is given default to loopback.
42370
f2ac4868
RM
423712010-08-24 Roland McGrath <roland@redhat.com>
42372
09055553
RM
42373 * configure.in: Remove config-name.h generation.
42374 * configure: Regenerated.
42375 * config-name.in: File removed.
42376 * scripts/config-uname.sh: New file.
42377 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42378 ($(objdir)config-name.h): New target.
42379
f2ac4868
RM
42380 * sunrpc/rpc_parse.h: Avoid nested comment.
42381
73f27d5e
RH
423822010-08-24 Richard Henderson <rth@redhat.com>
42383 Ulrich Drepper <drepper@redhat.com>
42384 H.J. Lu <hongjiu.lu@intel.com>
42385
42386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42388 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42389 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42390 _mm_alignr_epi8 with _mm_loadu_si128.
42391 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42392 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42393 (__m128i_shift_right): Removed.
42394 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42395 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42396 * sysdeps/x86_64/multiarch/varshift.h: New file.
42397 * sysdeps/x86_64/multiarch/varshift.S: New file.
42398
84b9230c
MF
423992010-08-21 Mike Frysinger <vapier@gentoo.org>
42400
42401 * configure.in: Move assembler checks to before sysdep dir checking.
42402
9bbd0ddc
PB
424032010-08-20 Petr Baudis <pasky@suse.cz>
42404
42405 * LICENSES: Sync the sunrpc license.
42406
9da4bb31
UD
424072010-08-19 Ulrich Drepper <drepper@redhat.com>
42408
a7ab6ec8
UD
42409 * sunrpc/auth_des.c: Update copyright notice once again.
42410 * sunrpc/auth_none.c: Likewise.
42411 * sunrpc/auth_unix.c: Likewise.
42412 * sunrpc/authdes_prot.c: Likewise.
42413 * sunrpc/authuxprot.c: Likewise.
42414 * sunrpc/bindrsvprt.c: Likewise.
42415 * sunrpc/clnt_gen.c: Likewise.
42416 * sunrpc/clnt_perr.c: Likewise.
42417 * sunrpc/clnt_raw.c: Likewise.
42418 * sunrpc/clnt_simp.c: Likewise.
42419 * sunrpc/clnt_tcp.c: Likewise.
42420 * sunrpc/clnt_udp.c: Likewise.
42421 * sunrpc/clnt_unix.c: Likewise.
42422 * sunrpc/des_crypt.c: Likewise.
42423 * sunrpc/des_soft.c: Likewise.
42424 * sunrpc/get_myaddr.c: Likewise.
42425 * sunrpc/getrpcport.c: Likewise.
42426 * sunrpc/key_call.c: Likewise.
42427 * sunrpc/key_prot.c: Likewise.
42428 * sunrpc/openchild.c: Likewise.
42429 * sunrpc/pm_getmaps.c: Likewise.
42430 * sunrpc/pm_getport.c: Likewise.
42431 * sunrpc/pmap_clnt.c: Likewise.
42432 * sunrpc/pmap_prot.c: Likewise.
42433 * sunrpc/pmap_prot2.c: Likewise.
42434 * sunrpc/pmap_rmt.c: Likewise.
42435 * sunrpc/rpc/auth.h: Likewise.
42436 * sunrpc/rpc/auth_unix.h: Likewise.
42437 * sunrpc/rpc/clnt.h: Likewise.
42438 * sunrpc/rpc/des_crypt.h: Likewise.
42439 * sunrpc/rpc/key_prot.h: Likewise.
42440 * sunrpc/rpc/netdb.h: Likewise.
42441 * sunrpc/rpc/pmap_clnt.h: Likewise.
42442 * sunrpc/rpc/pmap_prot.h: Likewise.
42443 * sunrpc/rpc/pmap_rmt.h: Likewise.
42444 * sunrpc/rpc/rpc.h: Likewise.
42445 * sunrpc/rpc/rpc_des.h: Likewise.
42446 * sunrpc/rpc/rpc_msg.h: Likewise.
42447 * sunrpc/rpc/svc.h: Likewise.
42448 * sunrpc/rpc/svc_auth.h: Likewise.
42449 * sunrpc/rpc/types.h: Likewise.
42450 * sunrpc/rpc/xdr.h: Likewise.
42451 * sunrpc/rpc_clntout.c: Likewise.
42452 * sunrpc/rpc_cmsg.c: Likewise.
42453 * sunrpc/rpc_common.c: Likewise.
42454 * sunrpc/rpc_cout.c: Likewise.
42455 * sunrpc/rpc_dtable.c: Likewise.
42456 * sunrpc/rpc_hout.c: Likewise.
42457 * sunrpc/rpc_main.c: Likewise.
42458 * sunrpc/rpc_parse.c: Likewise.
42459 * sunrpc/rpc_parse.h: Likewise.
42460 * sunrpc/rpc_prot.c: Likewise.
42461 * sunrpc/rpc_sample.c: Likewise.
42462 * sunrpc/rpc_scan.c: Likewise.
42463 * sunrpc/rpc_scan.h: Likewise.
42464 * sunrpc/rpc_svcout.c: Likewise.
42465 * sunrpc/rpc_tblout.c: Likewise.
42466 * sunrpc/rpc_util.c: Likewise.
42467 * sunrpc/rpc_util.h: Likewise.
42468 * sunrpc/rpcinfo.c: Likewise.
42469 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42470 * sunrpc/rpcsvc/key_prot.x: Likewise.
42471 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42472 * sunrpc/rpcsvc/mount.x: Likewise.
42473 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42474 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42475 * sunrpc/rpcsvc/rex.x: Likewise.
42476 * sunrpc/rpcsvc/rstat.x: Likewise.
42477 * sunrpc/rpcsvc/rusers.x: Likewise.
42478 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42479 * sunrpc/rpcsvc/spray.x: Likewise.
42480 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42481 * sunrpc/rtime.c: Likewise.
42482 * sunrpc/svc.c: Likewise.
42483 * sunrpc/svc_auth.c: Likewise.
42484 * sunrpc/svc_authux.c: Likewise.
42485 * sunrpc/svc_raw.c: Likewise.
42486 * sunrpc/svc_run.c: Likewise.
42487 * sunrpc/svc_simple.c: Likewise.
42488 * sunrpc/svc_tcp.c: Likewise.
42489 * sunrpc/svc_udp.c: Likewise.
42490 * sunrpc/svc_unix.c: Likewise.
42491 * sunrpc/svcauth_des.c: Likewise.
42492 * sunrpc/xcrypt.c: Likewise.
42493 * sunrpc/xdr.c: Likewise.
42494 * sunrpc/xdr_array.c: Likewise.
42495 * sunrpc/xdr_float.c: Likewise.
42496 * sunrpc/xdr_mem.c: Likewise.
42497 * sunrpc/xdr_rec.c: Likewise.
42498 * sunrpc/xdr_ref.c: Likewise.
42499 * sunrpc/xdr_sizeof.c: Likewise.
42500 * sunrpc/xdr_stdio.c: Likewise.
42501
9da4bb31
UD
42502 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42503 handling.
42504
bdaa77bc
AS
425052010-08-19 Andreas Schwab <schwab@redhat.com>
42506
42507 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42508
fe2f79db
LM
425092010-08-19 Luis Machado <luisgpm@br.ibm.com>
42510
42511 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42512 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42514 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42515 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42516 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42517 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42518 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42520 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42521 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42522 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42523 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42524 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42525
b9b42ee0
AB
425262010-07-26 Anton Blanchard <anton@samba.org>
42527
42528 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42529 * malloc/arena.c (heap_trim): Likewise.
42530
1c06ba31
UD
425312010-08-16 Ulrich Drepper <drepper@redhat.com>
42532
42533 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42534 here. Not...
42535 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42536 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42537
f8392f40
L
425382010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * sysdeps/i386/elf/Makefile: New file.
42541
3162f12e
AS
425422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42543
42544 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42545 from fanotify_init.
42546 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42548
28c90b2c
UD
425492010-08-15 Ulrich Drepper <drepper@redhat.com>
42550
42551 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42552 of strncasecmp_l.
1feccb6c 42553 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42554
ca6bb004
UD
425552010-08-14 Ulrich Drepper <drepper@redhat.com>
42556
e9f82e0d
UD
42557 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42558 strncase_l-nonascii.
42559 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42560 Add strncase_l-ssse3.
42561 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42562 * sysdeps/x86_64/strcmp.S: Likewise.
42563 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42564 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42565 * sysdeps/x86_64/strncase.S: New file.
42566 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42567 * sysdeps/x86_64/strncase_l.S: New file.
42568 * string/Makefile (strop-tests): Add strncasecmp.
42569 * string/test-strncasecmp.c: New file.
42570
42571 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42572 warning.
42573
ca6bb004
UD
42574 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42575 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42576
052fa7b3
AS
425772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42578
42579 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42580
962dba78
UD
425812010-08-12 Ulrich Drepper <drepper@redhat.com>
42582
42583 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42584 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42585 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42586
bebff237
AM
425872010-05-01 Alan Modra <amodra@gmail.com>
42588
42589 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42590 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42591 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42592 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42593 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42594 tidying. Don't tail-call __sigjmp_save for static lib.
42595 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42596 save location.
42597 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42598 (CALL_MCOUNT): Add eh info, and nop after bl.
42599 (TAIL_CALL_SYSCALL_ERROR): New macro.
42600 (PSEUDO_RET): Use it.
42601 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42602 Correct save location of integer regs and cr.
42603 (_dl_profile_resolve): Correct cr save location. Delete nops
42604 after bl when SHARED. Reduce cfi size a little by better
42605 placement of cfi directives.
42606 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42607 make a stack frame. Instead use parm save area as a temp.
42608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42609 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42611 Don't make a stack frame for parent, use parm save area.
42612 Increase child stack frame to 112 bytes. Don't save unused reg,
42613 and adjust reg usage. Set up cfi on error recovery and
42614 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42616 (__makecontext): Add dummy nop after jump to exit.
42617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42618 Use correct parm save area and cr save, reduce stack frame.
42619 Correct cfi for possible PSEUDO_RET frame setup.
42620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42621 Branch to local label emitted by PSEUDO_RET rather than
42622 __syscall_error.
42623
02637374
AS
426242010-08-12 Andreas Schwab <schwab@redhat.com>
42625
42626 [BZ #11904]
42627 * locale/programs/locale.c (print_assignment): New function.
42628 (show_locale_vars): Use it.
42629
c3e2f19b
UD
426302010-08-11 Ulrich Drepper <drepper@redhat.com>
42631
3cdaa6ad
UD
42632 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42633 field.
42634 (struct statfs64): Likewise.
42635 (_STATFS_F_FLAGS): Define.
42636 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42637 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42638 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42639 (ST_VALID): Define locally.
42640 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42641 __statvfs_getflags, use the provided value.
42642 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42643 __ASSUME_STATFS_F_FLAGS.
42644
754f7da3
UD
42645 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42646
10b3bedc
UD
42647 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42648 Add sys/fanotify.h.
42649 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42650 fanotify_mask for GLIBC_2.13.
42651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42652 fanotify_init and fanotify_mark.
42653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42654 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42655
c08fb0d7
UD
42656 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42657 Add prlimit.
42658 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42659 prlimit64 for GLIBC_2.13.
42660 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42661 prlimit64.
42662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42663 syscall.
42664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42665 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42666 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42667 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42669 add prlimit alias.
42670 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42671
15bac72b
UD
42672 [BZ #11903]
42673 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42674 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42675
c3e2f19b
UD
42676 * nss/Makefile: Add rules to build and run tst-nss-test1.
42677 * shlib-versions: Add entry for libnss_test1.
42678 * nss/nss_test1.c: New file.
42679 * nss/tst-nss-test1.c: New file.
42680
42681 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42682 (__nss_configure_lookup): Set appropriate entry in
42683 __nss_configure_lookup to true.
42684 * nss/nsswitch.h: Define enum with indeces of databases in
42685 databases and __nss_database_custom arrays. Declare
42686 __nss_database_custom.
42687 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42688 to avoid using nscd when custom rules are installed.
42689 * nss/getXXbyYY_r.c: Likewise.
42690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42691
42692 * nss/nss_files/files-parse.c: Whitespace fixes.
42693
f15ce4d8
UD
426942010-08-09 Ulrich Drepper <drepper@redhat.com>
42695
42696 [BZ #11883]
42697 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42698 * posix/fnmatch_loop.c: Likewise.
42699
d22e4cc9
AK
427002010-07-17 Andi Kleen <ak@linux.intel.com>
42701
42702 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42703 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42704 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42705 * Versions.def [GLIBC_2.13]: Add.
42706
805bc17d
UD
427072010-08-06 Ulrich Drepper <drepper@redhat.com>
42708
42709 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42710 Also fail if tpwd after pwuid call is NULL.
42711
5a42321d
ST
427122010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42713
42714 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42715 when converting to ms.
42716
fd3ebeda
ST
427172010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42718
42719 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42720 EOPNOTSUPP errors with ENOTTY.
42721 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42722 EOPNOTSUPP errors with ENOTTY.
42723
73507d3a
UD
427242010-07-31 Ulrich Drepper <drepper@redhat.com>
42725
42726 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42727 Add strcasecmp_l-ssse3.
42728 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42729 strcasecmp.
42730 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42731 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42733
fe36dd02
UD
427342010-07-30 Ulrich Drepper <drepper@redhat.com>
42735
66f6765a
UD
42736 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42737
42e08a54
UD
42738 * string/Makefile (strop-tests): Add strcasecmp.
42739 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42740 strcasecmp_l-nonascii.
42741 (gen-as-const-headers): Add locale-defines.sym.
42742 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42743 * sysdeps/x86_64/strcasecmp.S: New file.
42744 * sysdeps/x86_64/strcasecmp_l.S: New file.
42745 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42746 * sysdeps/x86_64/locale-defines.sym: New file.
42747 * string/test-strcasecmp.c: New file.
42748
fe36dd02
UD
42749 * string/test-strcasestr.c: Test both ends of the range of characters.
42750 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42751
48cbc0d6
RM
427522010-07-29 Roland McGrath <roland@redhat.com>
42753
76e6d6bc 42754 [BZ #11856]
48cbc0d6
RM
42755 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42756
880113d9
UD
427572010-07-27 Ulrich Drepper <drepper@redhat.com>
42758
42759 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42760 for ld.so.
42761
deb9cabb
AS
427622010-07-27 Andreas Schwab <schwab@redhat.com>
42763
42764 * manual/memory.texi (Malloc Tunable Parameters): Document
42765 M_PERTURB.
42766
1c7570ff
RM
427672010-07-26 Roland McGrath <roland@redhat.com>
42768
42769 [BZ #11840]
42770 * configure.in (-fgnu89-inline check): Set and substitute
42771 gnu89_inline, not libc_cv_gnu89_inline.
42772 * configure: Regenerated.
42773 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42774
24fb0f88
UD
427752010-07-26 Ulrich Drepper <drepper@redhat.com>
42776
42777 * string/test-strnlen.c: New file.
42778 * string/Makefile (strop-tests): Add strnlen.
42779 * string/tester.c (test_strnlen): Add a few more test cases.
42780 * string/tst-strlen.c: Better error reporting.
42781
42782 * sysdeps/x86_64/strnlen.S: New file.
42783
8e96b93a
UD
427842010-07-24 Ulrich Drepper <drepper@redhat.com>
42785
42786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42787 lower-latency instructions.
42788
dbc676d4
UD
427892010-07-23 Ulrich Drepper <drepper@redhat.com>
42790
42791 * string/test-strcasestr.c: New file.
42792 * string/test-strstr.c: New file.
42793 * string/Makefile (strop-tests): Add strstr and strcasestr.
42794 * string/str-two-way.h: Don't undefine MAX.
42795 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42796
f6a31e0e
AS
427972010-07-21 Andreas Schwab <schwab@redhat.com>
42798
42799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42800 strcasestr-nonascii.
42801 (CFLAGS-strcasestr-nonascii.c): Define.
42802 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42804 Remove unused attribute.
42805
5dbc3b6c
RM
428062010-07-20 Roland McGrath <roland@redhat.com>
42807
42808 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42809 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42810 ld.so.cache was broken. With it, there is no way to disable dsocaps
42811 like LD_HWCAP_MASK can disable hwcaps.
42812
23d101d8
EPM
428132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42814
42815 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42816
cc9f2e47
UD
428172010-07-16 Ulrich Drepper <drepper@redhat.com>
42818
42819 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42820 call in strcasestr.
42821 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42822 __strcasestr_sse42_nonascii.
42823 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42824 strcasestr-nonascii.c.
42825 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42826
77c1b069
LM
428272010-06-15 Luis Machado <luisgpm@br.ibm.com>
42828
42829 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42831 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42832 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42833
440566c3
UD
428342010-07-09 Ulrich Drepper <drepper@redhat.com>
42835
42836 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42837 fcntl.
42838
5be9d05d
AS
428392010-07-06 Andreas Schwab <schwab@redhat.com>
42840
c30b7ee2 42841 [BZ #11577]
5be9d05d
AS
42842 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42843 dl_signal_cerror.
42844
8a492a67
UD
428452010-07-06 Ulrich Drepper <drepper@redhat.com>
42846
42847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42848 _PC_PIPE_BUF using F_GETPIPE_SZ.
42849
713df3d5
RM
428502010-07-05 Roland McGrath <roland@redhat.com>
42851
42852 * manual/arith.texi (Rounding Functions): Fix rint description
42853 implicit in round description.
42854
702e8f14
UD
428552010-07-02 Ulrich Drepper <drepper@redhat.com>
42856
42857 * elf/Makefile: Fix linking for a few tests to make recent linker
42858 happy.
42859
52ed8be9
AS
428602010-06-30 Andreas Schwab <schwab@redhat.com>
42861
42862 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42863 $(common-objpfx)libc_nonshared.a.
42864
f47c9a11
LM
428652010-06-21 Luis Machado <luisgpm@br.ibm.com>
42866
42867 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42868 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42869 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42870 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42871 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42872 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42873 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42874 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42889 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42890 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42891 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42892 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42893 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42894 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42895 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42896 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42897 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42898 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42899 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42900 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42915
6fb8cbcb
L
429162010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42917
42918 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42919 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42920 * string/memmove.c (memmove): Renamed to ...
42921 (MEMMOVE): ...this. Default to memmove.
42922 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42923 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42924 (END_CHK): Define.
42925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42926 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42927 mempcpy-ssse3-back memmove-ssse3-back.
42928 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42931 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42932 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42933 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42934 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42935 * sysdeps/x86_64/multiarch/memmove.c: New file.
42936 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42937 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42938 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42939 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42940 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42941 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42942 Define.
42943 (index_Fast_Copy_Backward): Define.
42944 (HAS_ARCH_FEATURE): Define.
42945 (HAS_FAST_REP_STRING): Define.
42946 (HAS_FAST_COPY_BACKWARD): Define.
42947
4e733bac 429482010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42949
42950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42951 Restore proper fallback handling.
42952
63c4ed22
UD
429532010-06-19 Ulrich Drepper <drepper@redhat.com>
42954
ac2b484c
UD
42955 [BZ #11701]
42956 * posix/group_member.c (__group_member): Correct checking loop.
42957
63c4ed22
UD
42958 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42959 OOM in getpwuid_r correctly. Return error number when the caller
42960 should return, otherwise -1.
42961 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42962 call returning > 0 value.
42963 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42964
765ade4b
AS
429652010-06-07 Andreas Schwab <schwab@redhat.com>
42966
42967 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42968 libc_nonshared.a from targets in modules-names.
42969
80da2e09
KS
429702010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42971
42972 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42973 requires it.
42974
158db122
LM
429752010-06-10 Luis Machado <luisgpm@br.ibm.com>
42976
42977 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42978 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42981
caa78cf8
AS
429822010-06-02 Andreas Schwab <schwab@redhat.com>
42983
42984 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42985
b2ef2c01
UD
429862010-06-14 Ulrich Drepper <drepper@redhat.com>
42987
42988 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42989 and F_GETPIPE_SZ.
42990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42995 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42996
fbd643b6
RM
429972010-06-14 Roland McGrath <roland@redhat.com>
42998
42999 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43000
f32f2869
JJ
430012010-06-07 Jakub Jelinek <jakub@redhat.com>
43002
43003 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43004 __REDIRECT followed by __THROW.
43005 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43006 * posix/getopt.h (getopt): Likewise.
43007
2a50c078
EPM
430082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43009
43010 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43011 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43012 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43013 in AT_FLAGS.
43014 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43015 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43016
eb5ad2eb
LM
430172010-05-28 Luis Machado <luisgpm@br.ibm.com>
43018
43019 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43020
3c88fe1e
L
430212010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43022
43023 [BZ #11640]
43024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43025 Properly check family and model.
43026
d2f73151
TY
430272010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43028
43029 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43030
ebd2e13d
LM
430312010-05-24 Luis Machado <luisgpm@br.ibm.com>
43032
43033 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43034
b32b8b45
UD
430352010-05-21 Ulrich Drepper <drepper@redhat.com>
43036
43037 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43038 symbol reference.
43039
9acbe24d
AS
430402010-05-19 Andreas Schwab <schwab@redhat.com>
43041
43042 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43043 symbol reference.
43044
f0ccf6ea
AS
430452010-05-21 Andreas Schwab <schwab@redhat.com>
43046
3d04ff3a
AS
43047 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43048 and internal_recvmmsg.
43049 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43050 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43051 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43052 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43053
f0ccf6ea
AS
43054 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43055 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43056 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43057
5b08ac57
AS
430582010-05-20 Andreas Schwab <schwab@redhat.com>
43059
43060 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43061
4828935d
LM
430622010-05-17 Luis Machado <luisgpm@br.ibm.com>
43063
43064 POWER7 optimizations.
43065 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43066 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43067
373d545e
UD
430682010-05-19 Ulrich Drepper <drepper@redhat.com>
43069
43070 * version.h: Update for 2.13 development version.
43071
21a2b1ae
AS
430722010-05-12 Andrew Stubbs <ams@codesourcery.com>
43073
43074 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43075 exceptions. Return 0.
43076
3f7dcb2b
RM
430772010-05-07 Roland McGrath <roland@redhat.com>
43078
43079 * elf/ldconfig.c (main): Add a const.
43080
5f24d53a 430812010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43082
a160f8d8
UD
43083 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43084 (args_options): Add no-idn option.
43085 (ahosts_keys_int): Add idn_flags to ai_flags.
43086 (parse_option): Handle 'i' option to clear idn_flags.
43087
5f24d53a
UD
43088 * malloc/malloc.c (_int_free): Possible race in the most recently
43089 added check. Only act on the data if no current modification
43090 happened.
265bb1ce
UD
43091
43092See ChangeLog.17 for earlier changes.