]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
New test cases for sin and cos for multiple precision fallback
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5eea0404
SP
12013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
cfa3c886
SP
3 * math/libm-test.inc (cos_test_data): New test inputs.
4 (sin_test_data): Likewise.
5
b348e1e3
SP
6 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7 macro.
8 (__sin): Use it.
9 (__cos): Likewise.
10 (slow1): Likewise.
11 (slow2): Likewise.
12 (sloww1): Likewise.
13 (sloww2): Likewise.
14 (bsloww1): Likewise.
15 (bsloww2): Likewise.
16 (cslow2): Likewise.
17 (csloww1): Likewise.
18 (csloww2): Likewise.
19
6cce25f8
SP
20 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21 function.
22 (__sin): Use it.
23 (__cos): Likewise.
24
5eea0404
SP
25 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26 gotos.
27 (__cos): Likewise.
28
9c21573c
MR
292013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30
31 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
34 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36 * elf/cache.c (print_entry): Handle the new cache flags.
37
24d22e65
JM
382013-09-18 Joseph Myers <joseph@codesourcery.com>
39 Aldy Hernandez <aldyh@redhat.com>
40
41 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42 Change condition to [_SOFT_FLOAT].
43 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59 declaration.
60
d13ef066
JM
612013-09-18 Joseph Myers <joseph@codesourcery.com>
62
2e071de0
JM
63 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
64 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
65 (__longjmp): Use LOAD_GP to load saved GPRs.
66 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
67 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
68 (__sigsetjmp): Use SAVE_GP to save GPRs.
69
d13ef066
JM
70 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
71 Do not append -msoft-float.
72 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
73
97a0650b
SP
742013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75
76 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
77
11ca09e9
JM
782013-09-17 Joseph Myers <joseph@codesourcery.com>
79
80 [BZ #15966]
81 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
82 (_FPU_GETCW): Use initial "__" on variable and field names but not
83 on macro parameter name.
84 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
85 parentheses around reference to macro parameter.
86
08ffcf34
RS
872013-09-13 Richard Sandiford <richard@codesourcery.com>
88
89 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
90 prototype.
91 (ctype_startup): Use uint32_t in cast and sizeof for
92 ctype->charnames.
93
ae7080d3
JL
942013-09-11 Jia Liu <proljc@gmail.com>
95
96 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
97 __daddr_t_defined.
98 [__FreeBSD__]: Likewise.
99
5905e7b3
OB
1002013-09-11 Ondřej Bílka <neleai@seznam.cz>
101
102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
103 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
104 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
105 (strchr): Remove __strchr_sse42 ifunc selection.
106 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
107 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
108
b987c776
WN
1092013-09-11 Will Newton <will.newton@linaro.org>
110
111 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
112 parameter to RES. Remove hardcoded 1000 value.
113 * benchtests/bench-skeleton.c (main): Pass RES parameter
114 to TIMING_INIT and multiply result by 1000.
115
ddf985af
AZ
1162013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117
118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
119
ffdd3181
AS
1202013-09-11 Andreas Schwab <schwab@suse.de>
121
122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
123 if not defined.
124 (O_TMPFILE) [__USE_GNU]: Define.
125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
126 Define.
127
b73ed247
WN
1282013-09-11 Will Newton <will.newton@linaro.org>
129
130 [BZ #15857]
131 * malloc/malloc.c (__libc_memalign): Check the value of bytes
132 does not overflow.
133
55e17aad
WN
1342013-09-11 Will Newton <will.newton@linaro.org>
135
136 [BZ #15856]
137 * malloc/malloc.c (__libc_valloc): Check the value of bytes
138 does not overflow.
139
1159a193
WN
1402013-09-11 Will Newton <will.newton@linaro.org>
141
142 [BZ #15855]
143 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
144 does not overflow.
145
5905e7b3 1462013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
147
148 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
153
cdfc721b
AM
1542013-09-10 Allan McRae <allan@archlinux.org>
155
aa04af00
AM
156 [BZ #15748]
157 * manual/arith.texi (Parsing of Floats): Clarify
158 cross-reference.
159
cdfc721b
AM
160 [BZ #15849]
161 * manual/install.texi (Running make install): Mention
162 --enable-pt-chown.
163 * INSTALL: Regenerated.
164
95e7cf29
MR
1652013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
166
167 * csu/init-first.c (_init): Remove the !SHARED condition around
168 FPU control word initialization.
169 * elf/dl-support.c (_dl_fpu_control): New variable.
170 (_dl_aux_init) <AT_FPUCW>: Initialize it.
171 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
172 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
173 * math/test-fpucw-static.c: New file.
174 * math/test-fpucw-ieee.c: New file.
175 * math/test-fpucw-ieee-static.c: New file.
176 * math/Makefile (tests): Add `test-fpucw-ieee' and
177 `$(tests-static)'.
178 (tests-static): New variable.
179 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
180 dependency to...
181 [($(build-shared),yes)]
182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
183 ... this.
184 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
185 New dependency.
186
83e43bf0
AM
1872013-09-09 Allan McRae <allan@archlinux.org>
188
a9f5ce09
AM
189 [BZ #15939]
190 * manual/string.texi (Collation Functions): Fix typo in
191 strcoll example.
192 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
193
34829bc2
AM
194 [BZ #15893]
195 * stdlib/isomac.c (get_null_defines): Fix memory leak.
196
3932737d
AM
197 [BZ #15892]
198 * libio/memstream.c (open_memstream): Fix memory leak.
199 * libio/wmemstream.c (open_wmemstream): Likewise.
200
83e43bf0
AM
201 [BZ #15895]
202 * nscd/netgroupcache.c: Fix nesting of ifdefs.
203
0c66b8e9
WN
2042013-09-09 Will Newton <will.newton@linaro.org>
205
206 * malloc/Makefile: Add tst-realloc to tests.
207 * malloc/tst-realloc.c: New file.
208
f6b00fd1
AM
2092013-09-09 Allan McRae <allan@archlinux.org>
210
211 [BZ #15844]
212 * COPYING: Update from GNU website to fix FSF address.
213 * COPYING.LIB: Likewise.
214
eec55e16
DM
2152013-09-06 David S. Miller <davem@davemloft.net>
216
217 * po/zh_TW.po: Update Chinese (traditional) translation from
218 translation project.
219
1ecbb381
RS
2202013-09-06 Richard Sandiford <richard@codesourcery.com>
221 Joseph Myers <joseph@codesourcery.com>
222
223 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
224 "localeinfo.h".
225 (obstack_chunk_alloc): New macro.
226 (obstack_chunk_free): Likewise.
227 (record_offset): New function.
228 (init_locale_data): Likewise.
229 (align_locale_data): Likewise.
230 (add_locale_empty): Likewise.
231 (add_locale_raw_data): Likewise.
232 (add_locale_raw_obstack): Likewise.
233 (add_locale_string): Likewise.
234 (add_locale_wstring): Likewise.
235 (add_locale_uint32): Likewise.
236 (add_locale_uint32_array): Likewise.
237 (add_locale_char): Likewise.
238 (start_locale_structure): Likewise.
239 (end_locale_structure): Likewise.
240 (start_locale_prelude): Likewise.
241 (end_locale_prelude): Likewise.
242 (write_locale_data): Take locale_file structure rather than an
243 iovec.
244 * locale/programs/locfile.h: Include "obstack.h".
245 (struct locale_file): Change to store locale file contents instead
246 of header.
247 (init_locale_data): New prototype.
248 (align_locale_data): Likewise.
249 (add_locale_empty): Likewise.
250 (add_locale_raw_data): Likewise.
251 (add_locale_raw_obstack): Likewise.
252 (add_locale_string): Likewise.
253 (add_locale_wstring): Likewise.
254 (add_locale_uint32): Likewise.
255 (add_locale_uint32_array): Likewise.
256 (add_locale_char): Likewise.
257 (start_locale_structure): Likewise.
258 (end_locale_structure): Likewise.
259 (start_locale_prelude): Likewise.
260 (end_locale_prelude): Likewise.
261 (write_locale_data): Update prototype.
262 * locale/programs/3level.h (struct TABLE): Remove result field.
263 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
264 Use new locale_file interface.
265 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
266 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
267 * locale/programs/ld-address.c (address_output): Use new
268 locale_file interface.
269 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
270 NO_ADD_LOCALE.
271 (collate_finish): Don't call collseq_table_finalize.
272 (collate_output): Use new locale_file interface.
273 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
274 in file.
275 (NO_FINALIZE): Change to NO_ADD_LOCALE.
276 (TABLE): Move defines earlier in file.
277 (ELEMENT): Likewise.
278 (DEFAULT): Likewise.
279 (wctrans_table_add): Move macro and inline function earlier in
280 file.
281 (struct wctype_table): Move type earlier in file.
282 (add_locale_wctype_table): New static prototype.
283 (struct locale_ctype_t): Use logical types instead of struct iovec
284 pointers for members.
285 (ctype_output): Use new locale_file interface.
286 (wctype_table_finalize): Change to add_locale_wctype_table. Use
287 new locale_file interface.
288 (allocate_arrays): Update for use of new locale_file interface.
289 * locale/programs/ld-identification.c (identification_output): Use
290 new locale_file interface.
291 * locale/programs/ld-measurement.c (measurement_output): Likewise.
292 * locale/programs/ld-messages.c (messages_output): Likewise.
293 * locale/programs/ld-monetary.c (monetary_output): Likewise.
294 * locale/programs/ld-name.c (name_output): Likewise.
295 * locale/programs/ld-numeric.c (numeric_output): Likewise.
296 * locale/programs/ld-paper.c (paper_output): Likewise.
297 * locale/programs/ld-telephone.c (telephone_output): Likewise.
298 * locale/programs/ld-time.c (time_output): Likewise.
299
e029e2e5
AZ
3002013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301
302 * benchtests/Makefile: Add memrchr benchmark.
303 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
304 benchmark as memrchr.
305 * benchtests/bench-memrchr-ifunc.c: New file.
306 * benchtests/bench-memrchr.c: New file.
307
bbf6e8e4
WN
3082013-09-06 Will Newton <will.newton@linaro.org>
309
310 * benchtests/Makefile (string-bench): Add memcpy.
311
6c82a2f8
CD
3122013-09-05 Carlos O'Donell <carlos@redhat.com>
313 Cong Wang <amwang@redhat.com>
314
315 * sysdeps/unix/sysv/linux/bits/in.h
316 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
317 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
318 before __USE_KERNEL_IPV6_DEFS uses.
319 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
320 IPPROTO_BEETPH.
321 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
322 sockaddr_in6, or ipv6_mreq.
323
5430fc65
AZ
3242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325
326 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
327 memory access for final bytes in some large inputs.
328 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
329
4660856c
AZ
3302013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331
332 * string/test-memrchr.c: New file.
333 * string/test-memrchr-ifunc.c: New file.
334 * string/Makefile: Add new memrchr testcase.
335
bb8ea713
MF
3362013-09-05 Mike Frysinger <vapier@gentoo.org>
337
338 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
339 fanotify_init returns EPERM.
340
b92a20b5
JM
3412013-09-04 Joseph Myers <joseph@codesourcery.com>
342
343 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
344 errors.
345 (top level): Treat second token from macro or constant entries for
346 allowed headers as allowed.
347 * include/complex.h: Condition internal declarations on
348 [!_ISOMAC].
349 * include/fenv.h: Condition include of <stdbool.h> and internal
350 declarations on [!_ISOMAC].
7447ccd9
CL
351
3522013-09-04 Chris Leonard <cjl@sugarlabs,.org>
353
354 [BZ #15923]
355 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
356
3f2e46a4
JM
3572013-09-04 Joseph Myers <joseph@codesourcery.com>
358
359 * configure.in (--enable-versioning): Remove configure option.
360 (libc_cv_asm_symver_directive): Remove configure test.
361 (libc_cv_ld_version_script_option): Likewise.
362 (VERSIONING): Remove variable and AC_SUBST.
363 (DO_VERSIONING): Remove AC_DEFINE.
364 * configure: Regenerated.
365 * config.h.in (DO_VERSIONING): Remove macro.
366 * Makerules [$(versioning) = yes]: Change conditionals to
367 [$(build-shared) = yes].
368 * config.make.in (versioning): Remove variable.
369 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
370 [$(build-shared) = yes].
371 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
372 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
373 * elf/Makefile [$(versioning) = yes]: Change conditionals to
374 [$(build-shared) = yes].
375 * extra-lib.mk [$(versioning) = yes]: Likewise.
376 * hurd/Makefile [$(versioning) = yes]: Likewise.
377 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
378 [SHARED].
379 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
380 [SHARED].
381 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
382 [SHARED && !NO_HIDDEN].
383 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
384 [SHARED].
385 [SHARED && DO_VERSIONING]: Likewise..
386 * libio/Makefile [$(versioning) = yes]: Change conditionals to
387 [$(build-shared) = yes].
388 * manual/install.texi (--disable-versioning): Remove
389 documentation.
390 * INSTALL: Regenerated.
391 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
392 to [SHARED].
393 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
394 [$(build-shared) = yes].
395 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
396 * sysdeps/i386/i686/multiarch/strstr-c.c
397 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
398 [SHARED && !NO_HIDDEN].
399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
400 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
401 * sysdeps/powerpc/powerpc32/dl-machine.c
402 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
403 * sysdeps/powerpc/powerpc32/sysdep.h
404 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
405 to [SHARED && PIC && !NO_HIDDEN].
406 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
407 conditional to [SHARED].
408
44558701
WN
4092013-09-04 Will Newton <will.newton@linaro.org>
410
411 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
412 * benchtests/bench-string.h: Include bench-timing.h instead
413 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
414 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
415 call to HP_TIMING_DIFF_INIT.
416 * benchtests/bench-memccpy.c: Use bench-timing.h macros
417 instead of hp-timing.h macros.
418 * benchtests/bench-memchr.c: Likewise.
419 * benchtests/bench-memcmp.c: Likewise.
420 * benchtests/bench-memcpy.c: Likewise.
421 * benchtests/bench-memmem.c: Likewise.
422 * benchtests/bench-memmove.c: Likewise.
423 * benchtests/bench-memset.c: Likewise.
424 * benchtests/bench-rawmemchr.c: Likewise.
425 * benchtests/bench-strcasecmp.c: Likewise.
426 * benchtests/bench-strcasestr.c: Likewise.
427 * benchtests/bench-strcat.c: Likewise.
428 * benchtests/bench-strchr.c: Likewise.
429 * benchtests/bench-strcmp.c: Likewise.
430 * benchtests/bench-strcpy.c: Likewise.
431 * benchtests/bench-strcpy_chk.c: Likewise.
432 * benchtests/bench-strlen.c: Likewise.
433 * benchtests/bench-strncasecmp.c: Likewise.
434 * benchtests/bench-strncat.c: Likewise.
435 * benchtests/bench-strncmp.c: Likewise.
436 * benchtests/bench-strncpy.c: Likewise.
437 * benchtests/bench-strnlen.c: Likewise.
438 * benchtests/bench-strpbrk.c: Likewise.
439 * benchtests/bench-strrchr.c: Likewise.
440 * benchtests/bench-strspn.c: Likewise.
441 * benchtests/bench-strstr.c: Likewise.
442
cae16d66
WN
4432013-09-04 Will Newton <will.newton@linaro.org>
444
445 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
446
ffa3cd7f
JM
4472013-09-03 Joseph Myers <joseph@codesourcery.com>
448
449 [BZ #15427]
450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
451 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
452 * math/libm-test.inc (lgamma_test_data): Add more tests.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455
8f02859f
OB
4562013-09-03 Ondřej Bílka <neleai@seznam.cz>
457
458 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
460 Add ifunc.
461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
462 Add strcmp-sse2-unaligned
463 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
464
18d43716
MF
4652013-09-02 Mike Frysinger <vapier@gentoo.org>
466
467 * Versions.def (libc): Add GLIBC_2.19.
468
ac444012
MF
4692013-09-02 Mike Frysinger <vapier@gentoo.org>
470
471 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
472 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
473
b7835e32
JM
4742013-09-02 Joseph Myers <joseph@codesourcery.com>
475
476 [BZ #14155]
477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
478 intermediate calculations in recurrence.
479 (__ieee754_ynf): Likewise.
480 * math/libm-test.inc (jn_test_data): Do not allow spurious
481 underflow exception. Add more tests.
482 (yn_test_data): Add more tests.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
485
8220f4f0
OB
4862013-09-02 Ondřej Bílka <neleai@seznam.cz>
487
488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
489
f24a6d08
OB
4902013-08-30 Ondřej Bílka <neleai@seznam.cz>
491
492 * csu/init-first.c: Fix then/than typos.
493 * locale/programs/ld-collate.c: Likewise.
494 * locale/programs/linereader.h: Likewise.
495 * manual/charset.texi: Likewise.
496 * manual/filesys.texi: Likewise.
497 * manual/stdio.texi: Likewise.
498 * manual/string.texi: Likewise.
499 * stdlib/fmtmsg.c: Likewise.
500 * sysdeps/i386/stpncpy.S: Likewise.
501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
502 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
504 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
505
382466e0
OB
5062013-08-30 Ondřej Bílka <neleai@seznam.cz>
507
508 * elf/dl-open.c: Fix typos.
509 * iconvdata/gbbig5.c: Likewise.
510 * iconvdata/iso-2022-jp.c: Likewise.
511 * iconv/gconv_int.h: Likewise.
512 * iconv/loop.c: Likewise.
513 * nis/rpcsvc/nis.h: Likewise.
514 * resolv/ns_name.c: Likewise.
515 * stdio-common/vfscanf.c: Likewise.
516 * streams/stropts.h: Likewise.
517 * sunrpc/rpc_thread.c: Likewise.
518 * sysdeps/i386/strpbrk.S: Likewise.
519 * sysdeps/ieee754/k_standard.c: Likewise.
520 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
522 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
523 * sysdeps/mach/hurd/profil.c: Likewise.
524 * sysdeps/s390/dl-procinfo.h: Likewise.
525 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
528 * sysdeps/x86_64/dl-trampoline.S: Likewise.
529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
530
0186c6e9
OB
5312013-08-30 Ondřej Bílka <neleai@seznam.cz>
532
533 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
535
d4e16af1
OB
5362013-08-29 Ondřej Bílka <neleai@seznam.cz>
537
538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
539 aix specific files.
540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
545 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
548
88335980
TS
5492013-08-29 Thomas Schwinge <thomas@codesourcery.com>
550 Roland McGrath <roland@hack.frob.com>
551
552 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
553 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
554
ed479b02
ST
5552013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
556
557 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
558 __executable_start symbol instead of _start.
559
f1cc4c86
TS
5602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
561
d821f07c
TS
562 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
563 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
564 Move macros to...
565 * sysdeps/gnu/ldsodefs.h: ... this new file.
566
c54290cf
TS
567 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
568 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
569 instead of ELFOSABI_LINUX.
570
0007fc9b 571 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
572 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
573 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
574 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
575 Likewise.
576 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
577 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
578 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
579 Likewise.
580 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
581 (ibm_extended_long_double): Add ieee_nan member.
582 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
583 (do_test): New function.
584
f1cc4c86
TS
585 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
586 TEST_TRUNC.
587 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
588 functions, renamed from truncdfsf_test, trunctfsf_test,
589 trunctfdf_test.
590 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
591 functions.
592 (do_test): Run all these.
593
6f65e668
OB
5942013-08-29 Ondřej Bílka <neleai@seznam.cz>
595
596 * argp/argp-help.c: Fix typos.
597 * argp/argp-parse.c: Likewise.
598 * debug/backtracesyms.c: Likewise.
599 * elf/elf.h: Likewise.
600 * malloc/malloc.c: Likewise.
601 * nis/nis_print.c: Likewise.
602 * resolv/res_comp.c: Likewise.
603 * stdlib/stdlib.h: Likewise.
604 * sunrpc/clnt_tcp.c: Likewise.
605 * sunrpc/clnt_udp.c: Likewise.
606 * sunrpc/clnt_unix.c: Likewise.
607 * sysdeps/unix/bsd/ptsname.c: Likewise.
608 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
611 Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
613 Likewise.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
615 Likewise.
6f65e668
OB
616 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
617
3a309239
SP
6182013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
619
620 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
622
3b813b29
MF
6232013-08-27 Mike Frysinger <vapier@gentoo.org>
624
625 [BZ #15897]
626 * dlfcn/Makefile (tests): Add bug-dl-leaf.
627 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
628 ($(objpfx)bug-dl-leaf): New rule.
629 ($(objpfx)bug-dl-leaf.so): Likewise.
630 ($(objpfx)bug-dl-leaf.out): Likewise.
631 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
632 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
633 * dlfcn/bug-dl-leaf.c: New test.
634 * dlfcn/bug-dl-leaf-lib.c: Likewise.
635 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
636 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
637 (dlclose): Likewise.
638 (dlmopen): Likewise.
639
8cc3269f
RM
6402013-08-27 Roland McGrath <roland@hack.frob.com>
641
7f9d0034
RM
642 * include/netdb.h [!_ISOMAC]:
643 Don't include <tls.h>.
644 (h_errno, __libc_h_errno): Move declaration and macros out of
645 [_LIBC_REENTRANT].
646
fb431262
RM
647 * include/resolv.h [_RESOLV_H_]:
648 Don't include <tls.h>.
649 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
650 * resolv/res_libc.c: Don't include <tls.h>.
651 (_res): Use __attribute__ ((nocommon)) in place of
652 __attribute__ ((section (".bss"))).
653
bd81123a
RM
654 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
655 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
656
c4e42566
RM
657 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
658
f890a59b
RM
659 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
660 only under [SIOCGIFCONF && SIOCGIFNETMASK].
661
662 * resolv/res_mkquery.c: Include <sys/time.h>.
663
5d1f0a09
RM
664 * inet/ifreq.c: Moved to ...
665 * sysdeps/unix/ifreq.c: ... here.
666 * inet/ifreq.c: New file, true stub version.
667
6fcf28b3
RM
668 * socket/sa_len.c: New file.
669 * socket/Makefile (aux): Add it.
670 * sysdeps/unix/sysv/linux/Makefile
671 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
672 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
673 and #include <socket/sa_len.c>.
674 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
675 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
676
e041fb8b
RM
677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
678 * bits/socket.h: ... here.
679
8cc3269f
RM
680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
681 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
682 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
683
5d228a43
AS
6842013-08-27 Andreas Schwab <schwab@suse.de>
685
45b8accc
AS
686 [BZ #15736]
687 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
688 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
689 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
690 * string/test-strcasecmp.c (test_main): Run tests in several
691 locales.
692 * string/test-strncasecmp.c (test_main): Likewise.
693
5d228a43
AS
694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
695 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
696 to __strcasecmp_nonascii and __strncasecmp_nonascii.
697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
698 (__strncasecmp_ssse3) [PIC]: Likewise.
699
59d112a4
RM
7002013-08-26 Roland McGrath <roland@hack.frob.com>
701
53234cc3
RM
702 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
703
59d112a4
RM
704 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
705 instead of explicitly declaring xdecrypt.
706 * nis/nss_nis/nis-publickey.c: Likewise.
707
595aba70
SP
7082013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
709
710 [BZ #15890]
711 * nscd/aicache.c: Include res_hconf.h.
712 (addhstaiX): Initialize res_hconf.
713
ffabd393
AS
7142013-08-26 Andreas Schwab <schwab@suse.de>
715
716 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
717 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
718
e0a69f5c
SP
7192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
720
721 * nscd/aicache.c (addhstaiX): Fix indentation.
722
8c12f01d
MF
7232013-08-25 Mike Frysinger <vapier@gentoo.org>
724
725 * configure.ac: Quote $build_pt_chown test.
726 * configure: Regenerated.
727
8fe89494
JM
7282013-08-23 Joseph Myers <joseph@codesourcery.com>
729
730 [BZ #15532]
731 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
732 * math/s_cexpf.c (__cexpf): Likewise.
733 * math/s_cexpl.c (__cexpl): Likewise.
734 * math/libm-test.inc (cexp_test_data): Correct expected return
735 value for NaN + i0. Add another test.
736
75b181d6
DM
7372013-08-22 David S. Miller <davem@davemloft.net>
738
739 * po/ca.po: Update Catalan translation from translation project.
936241e4 740 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 741
acd06bb1
JM
7422013-08-21 Joseph Myers <joseph@codesourcery.com>
743
744 [BZ #15797]
745 * math/s_fdim.c (__fdim): Check for infinite arguments if result
746 is infinite, not alongside NaN test.
747 * math/s_fdimf.c (__fdimf): Likewise.
748 * math/s_fdiml.c (__fdiml): Likewise.
749 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
750 errno is unchanged.
751
c0c3f78a
OB
7522013-08-21 Ondřej Bílka <neleai@seznam.cz>
753
754 * argp/argp-help.c: Fix typos.
755 * crypt/speeds.c: Likewise.
756 * csu/check_fds.c: Likewise.
757 * elf/dl-load.c: Likewise.
758 * elf/dl-open.c: Likewise.
759 * elf/reldep3.c: Likewise.
760 * elf/reldep.c: Likewise.
761 * elf/sprof.c: Likewise.
762 * iconv/iconv_charmap.c: Likewise.
763 * iconv/skeleton.c: Likewise.
764 * iconv/strtab.c: Likewise.
765 * io/lockf64.c: Likewise.
766 * libio/libioP.h: Likewise.
767 * resolv/gai_notify.c: Likewise.
768 * resolv/ns_name.c: Likewise.
769 * resolv/ns_samedomain.c: Likewise.
770 * resolv/res_send.c: Likewise.
771 * stdlib/random.c: Likewise.
772 * sunrpc/rpc/xdr.h: Likewise.
773 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
774 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
775 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
776 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
781 * sysdeps/mach/hurd/check_fds.c: Likewise.
782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
783 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
785 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
786 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
787 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
788 * sysdeps/pthread/aio_notify.c: Likewise.
789 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
790 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
791 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
793 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
794
46ed1038
LD
7952013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
796
797 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
798 version if bit_Slow_SSE4_2 is set.
799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
801
d400dcac
AZ
8022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
804 [BZ #15867]
805 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
806 trampoline stack frame information.
807 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
809 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
810 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
811 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
812 * sysdeps/unix/sysv/linux/powerpc/init-first.c
813 (_libc_vdso_platform_setup): Initialize the signal trampolines.
814 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
815 sa_flags value.
816 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
817 interrupting a syscall and set with option SA_SIGINFO.
818
42c8fdd8
JM
8192013-08-20 Joseph Myers <joseph@codesourcery.com>
820
c980f2f4
JM
821 [BZ #15531]
822 * math/s_cproj.c (__cproj): Only return an infinity if one part of
823 argument is infinite.
824 * math/s_cprojf.c (__cprojf): Likewise.
825 * math/s_cprojl.c (__cprojl): Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
827 * math/libm-test.inc (cproj_test_data): Add more tests.
828
0716c4fc
JM
829 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
830
42c8fdd8
JM
831 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
832 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
833 size. Use __ffs to determine corresponding shift.
834
b31469d0
JM
8352013-08-20 Joseph Myers <joseph@codesourcery.com>
836 Roland McGrath <roland@hack.frob.com>
837
838 * Makefile (INSTALL): Remove trailing blank lines from output of
839 makeinfo.
840
4e39af6e
AK
8412013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
842
843 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
844 Align 32 bit compat elf_greg to 8 bytes.
845
f315524e
AA
8462013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
847
848 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
849
1326ba1a
SP
8502013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
851
852 * string/strcoll_l.c (coll_seq): New structure.
853 (get_next_seq_cached): New function.
854 (get_next_seq): New function.
855 (do_compare): New function.
856 (STRCOLL): Use GNU style definition. Simplify implementation
857 by using get_next_seq, get_next_seq_cached and do_compare.
858
91ce4085
FW
8592013-08-16 Florian Weimer <fweimer@redhat.com>
860
861 [BZ #14699]
862 CVE-2013-4237
863 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
864 member.
865 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
866 member.
867 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
868 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
869 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
870 conditional.
871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
872 GETDENTS_64BIT_ALIGNED.
873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
874 * manual/filesys.texi (Reading/Closing Directory): Document
875 ENAMETOOLONG return value of readdir_r. Recommend readdir more
876 strongly.
877 * manual/conf.texi (Limits for Files): Add portability note to
878 NAME_MAX, PATH_MAX.
879 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
880
ca0a6bc4
AS
8812013-08-13 Andreas Schwab <schwab@suse.de>
882
883 [BZ #15749]
884 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
885 of fabs.
886 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
887 LDBL_MAX_EXP >= 16384]: Add tests for it.
888
6c1fd795
DM
8892013-08-12 David S. Miller <davem@davemloft.net>
890
891 * version.h (RELEASE): Set to "development".
892 (VERSION): Set to "2.18.90".
893 * NEWS: Add 2.19 section.
894
31ad488d
DM
8952013-08-03 David S. Miller <davem@davemloft.net>
896
897 * po/ko.po: Update Korean translation from translation project.
898
db24e684
DM
8992013-08-01 David S. Miller <davem@davemloft.net>
900
901 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
902 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
903 Bilka.
904
f723285b
DM
9052013-07-30 David S. Miller <davem@davemloft.net>
906
907 * po/fr.po: Update French translation from translation project.
908
3cbc52db
DM
9092013-07-28 David S. Miller <davem@davemloft.net>
910
30bbc0cc
DM
911 * po/cs.po: Update Czech translation from translation project.
912
3cbc52db
DM
913 * po/sv.po: Update Swedish translation from translation project.
914
d492e6d0
DM
9152013-07-27 David S. Miller <davem@davemloft.net>
916
f1a7f492
DM
917 * po/eo.po: Update Esperanto translation from translation project.
918
90e62a4a
DM
919 * po/vi.po: Update Vietnamese translation from translation project.
920
d492e6d0
DM
921 * po/de.po: Update German translation from translation project.
922
d4baa62d
DM
9232013-07-26 David S. Miller <davem@davemloft.net>
924
641aa7b4
DM
925 * po/bg.po: Update Bulgarian translation from translation project.
926
d4baa62d
DM
927 * po/nl.po: Update Dutch translation from translation project.
928 * po/pl.po: Update Polish translation from translation project.
929 * po/ru.po: Update Russian translation from translation project.
930
61a9dcb9
DM
9312013-07-24 David S. Miller <davem@davemloft.net>
932
933 * po/libc.pot: Update.
934
7b1f8b58
AZ
9352013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
936
937 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
938 variable page size.
939 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
941 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
942
a8fc7a03
AK
9432013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
944
945 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
946
e4608715
CD
9472013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
948 Andreas Schwab <schwab@suse.de>
949 Roland McGrath <roland@hack.frob.com>
950 Joseph Myers <joseph@codesourcery.com>
951 Carlos O'Donell <carlos@redhat.com>
952
953 [BZ #15755]
954 * config.h.in: Define HAVE_PT_CHOWN.
955 * config.make.in (build-pt-chown): New variable.
956 * configure.in (--enable-pt_chown): New configure option.
957 * configure: Regenerate.
958 * login/Makefile: Include Makeconfig. Build pt_chown only if
959 build-pt-chown is enabled.
960 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
961 pt_chown to fix pty ownership.
962 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
963 CLOSE_ALL_FDS.
964 * manual/install.texi (Configuring and compiling): Mention
965 --enable-pt_chown. Add @findex for grantpt.
966 * INSTALL: Regenerate.
967
da2d62df
DM
9682013-07-20 David S. Miller <davem@davemloft.net>
969
970 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
971 difference between 32-bit and 64-bit.
972
d7e06450
CD
9732013-07-15 Carlos O'Donell <carlos@redhat.com>
974
975 [BZ #15711]
976 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
977 Avoid system header dependency with -ffreestanding.
978 ($(objpfx)bits/syscall%d): Likewise.
979
f959cfd7
DM
9802013-07-13 David S. Miller <davem@davemloft.net>
981
982 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
983 underflows from atanl/atan2l due to bug 15319.
984 (casinh_test_data): Likewise.
985
c61f8513
DM
9862013-07-07 David S. Miller <davem@davemloft.net>
987
988 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
989
72c90ed0
JA
9902013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
991
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
52dfbe13
SP
9952013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
996
997 * configure.in (--enable-lock-elision): Fix message text.
998 * INSTALL: Regenerate.
999 * configure: Regenerate.
1000
3f169543
AZ
10012013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002
1003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1004
521c6785
AJ
10052013-07-03 Andreas Jaeger <aj@suse.de>
1006
1007 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1008 define.
1009 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1010 (ptrace_peeksiginfo_args): Add.
1011 (__ptrace_peeksiginfo_flags): Add.
1012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1015
d2cc15cb
AM
10162013-07-03 Allan McRae <allan@archlinux.org>
1017
1018 * sysdeps/i386/fpu/libm-test-ulps: Update.
1019
3aaeeca7
DM
10202013-07-02 David S. Miller <davem@davemloft.net>
1021
1022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1023
5314ed1a
MT
10242013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1025
1026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1027
67338156
JM
10282013-07-02 Joseph Myers <joseph@codesourcery.com>
1029
1030 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1032
1717da59
AK
10332013-07-02 Andi Kleen <ak@linux.intel.com>
1034
1035 * config.h.in (ENABLE_LOCK_ELISION): Add.
1036 * configure.in (--enable-lock-elision): Add option.
1037 * manual/install.texi: Document --enable lock elision.
1038 * configure: Regenerate
1039 * INSTALL: Regenerate.
1040
1c81621c
L
10412013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1044 SSE4.2 strcasecmp for libc.a.
1045 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1046
77f01ab5
JM
10472013-07-02 Joseph Myers <joseph@codesourcery.com>
1048
1049 [BZ #13304]
1050 * soft-fp/op-common.h (_FP_FMA): New macro.
1051 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1052 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1053 (_FP_MUL_MEAT_1_imm): ... here.
1054 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1055 (_FP_MUL_MEAT_1_wide): ... here.
1056 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1057 (_FP_MUL_MEAT_1_hard): ... here.
1058 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1059 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1060 (_FP_MUL_MEAT_2_wide): ... here.
1061 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1062 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1063 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1064 (_FP_MUL_MEAT_2_gmp): ... here.
1065 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1066 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1067 (_FP_MUL_MEAT_4_wide): ... here.
1068 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1069 (_FP_MUL_MEAT_4_gmp): ... here.
1070 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1071 (_FP_WFRACBITS_DW_S): Likewise.
1072 (_FP_WFRACXBITS_DW_S): Likewise.
1073 (_FP_HIGHBIT_DW_S): Likewise.
1074 (FP_FMA_S): Likewise.
1075 (_FP_FRAC_HIGH_DW_S): Likewise.
1076 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1077 (_FP_WFRACBITS_DW_D): Likewise.
1078 (_FP_WFRACXBITS_DW_D): Likewise.
1079 (_FP_HIGHBIT_DW_D): Likewise.
1080 (FP_FMA_D): Likewise.
1081 (_FP_FRAC_HIGH_DW_D): Likewise.
1082 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1083 (_FP_WFRACBITS_DW_E): Likewise.
1084 (_FP_WFRACXBITS_DW_E): Likewise.
1085 (_FP_HIGHBIT_DW_E): Likewise.
1086 (FP_FMA_E): Likewise.
1087 (_FP_FRAC_HIGH_DW_E): Likewise.
1088 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1089 (_FP_WFRACBITS_DW_Q): Likewise.
1090 (_FP_WFRACXBITS_DW_Q): Likewise.
1091 (_FP_HIGHBIT_DW_Q): Likewise.
1092 (FP_FMA_Q): Likewise.
1093 (_FP_FRAC_HIGH_DW_Q): Likewise.
1094 * soft-fp/fmasf4.c: New file.
1095 * soft-fp/fmadf4.c: Likewise.
1096 * soft-fp/fmatf4.c: Likewise.
1097
6308fd9a
LD
10982013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1099
1100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1101 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1102 Silvermont.
1103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1104 macro.
1105 (index_Slow_SSE4_2): Likewise.
1106 (index_Prefer_PMINUB_for_stringop): Likewise.
1107 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1108 bit_Slow_SSE4_2 is set.
1109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1111
89cd9569
RA
11122013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1113
1114 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1115 rtld_global._dl_hwcap2.
1116 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1117 POWER8.
1118 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1119 POWER8 feature descriptions defined in _dl_hwcap2.
1120 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1121 string handling for POWER8 feature bits.
1122 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1123 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1124 _dl_powerpc_cap_flags.
1125 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1126 * sysdeps/powerpc/rtld-global-offsets.sym
1127 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1128 _dl_hwcap2 in the rtld_global_ro structure.
1129
1ae8bfe0
RA
11302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1131
1132 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1133 hardware capabilities in support of AT_HWCAP2.
1134 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1135 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1136 GLRO(dl_hwcap2).
1137 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1138 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1139 explicitly the unknown a_type display mechanism is used.
1140 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1141 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1142 struct member.
1143 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1144 to macro prototype for AT_HWCAP2 support.
1145 * sysdeps/i386/dl-procinfo.h: Likewise.
1146 * sysdeps/s390/dl-procinfo.h: Likewise.
1147 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1148 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1149 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1150 return -1 for unknown a_type display fallback.
1151 * sysdeps/sparc/dl-procinfo.h: Likewise.
1152 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1154
8fbec010
JM
11552013-06-28 Joseph Myers <joseph@codesourcery.com>
1156
1157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1158 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1159
0432680e
PY
11602013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1161
1162 [BZ #12492]
1163 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1164 mprotect making __stack_prot writable.
1165
ce61a2ad
NF
11662013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1167 Joseph Myers <joseph@codesourcery.com>
1168
1169 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1170 as being properly aligned.
1171
f91f1c0f
MR
11722013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1173
3d0f5d0c
MR
1174 * dlfcn/modstatic5.c: New file.
1175 * dlfcn/tststatic5.c: New file.
1176 * dlfcn/Makefile (tests): Add tststatic5.
1177 (tests-static): Likewise.
1178 (modules-names): Add modstatic5.
1179 (tststatic5-ENV): New variable.
1180 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1181
f91f1c0f
MR
1182 [BZ #15022]
1183 * elf/dl-support.c (_dl_main_map): New variable.
1184 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1185 (_dl_nns, _dl_load_adds): Set to 1.
1186 (_dl_initial_searchlist): Refer to _dl_main_map.
1187 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1188 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1189 call to _dl_get_origin.
1190 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1191 around call_map.
1192 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1193 * dlfcn/modstatic3.c: New file.
1194 * dlfcn/tststatic3.c: New file.
1195 * dlfcn/tststatic4.c: New file.
1196 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1197 (tests-static): Likewise.
1198 (modules-names): Add modstatic3.
1199 (tststatic3-ENV, tststatic4-ENV): New variables.
1200 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1201 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1202
cbe7d24b
JM
12032013-06-26 Joseph Myers <joseph@codesourcery.com>
1204
1205 * configure.in (CC): Require GCC version 4.4 or later.
1206 * configure: Regenerated.
1207 * manual/install.texi (Tools for Compilation): Update GCC version
1208 requirement.
1209 * INSTALL: Regenerated.
1210
11b8a0e1
LD
12112013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1212
1213 [BZ #15674]
bb5bb87c
L
1214 * string/test-memcmp.c (check2): New.
1215 (main): Call check2.
1216
11b8a0e1
LD
1217 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1218
b0037103
MR
12192013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1220
1221 [BZ #15022]
1222 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1223 over to...
1224 (dl_open_worker) [!SHARED]: ... here.
1225
c18c701d
RA
12262013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1227
1228 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1229
1d17fa5f
RH
12302013-06-25 Richard Henderson <rth@redhat.com>
1231
1232 * locale/programs/locarchive.c: Include <libc-internal.h>
1233
8fcb833a
JM
12342013-06-25 Joseph Myers <joseph@codesourcery.com>
1235
1236 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1237 trailing whitespace removed.
1238
17db6e8d
MF
12392013-06-24 Mike Frysinger <vapier@gentoo.org>
1240
1241 [BZ #10283]
17db6e8d
MF
1242 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1243 * locale/programs/locarchive.c: Include libc-mmap.h.
1244 (prepare_address_space): Take two new outputs (the mmap base and len).
1245 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1246 values.
1247 (create_archive): Declare new mmap base and len values for
1248 prepare_address_space, and store the result in ah.
1249 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1250 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1251 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1252 Declare new mmap base and len values for
1253 prepare_address_space, and store the result in new_ah.
1254 (open_archive): Declare new mmap base and len values for
1255 prepare_address_space, and store the result in ah.
1256 (close_archive): If ah->mmap_base is not NULL, use that and
1257 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1258 * sysdeps/generic/libc-mmap.h: New file.
1259
d605071e
MF
12602013-06-24 Mike Frysinger <vapier@gentoo.org>
1261
1262 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1263 (ALIGN_UP): Likewise.
1264 (PTR_ALIGN_DOWN): Likewise.
1265 (PTR_ALIGN_UP): Likewise.
1266
2f063a6e
RA
12672013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1268
1269 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1270 entry mapped to PPC_PLATFORM_POWER8.
1271 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1272 POWER8.
1273 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1274 (_dl_string_platform): Add case for exporting platform position for
1275 POWER8.
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1277 search path to sysdeps/powerpc/powerpc32/power8 directory.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1279 search path to sysdeps/powerpc/powerpc64/power8 directory.
1280 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1281 power7 directories.
1282 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1283 power7 directories.
1284
a31ee4b3
SP
12852013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
a74ca98f
SP
1287 * INSTALL: Regenerate.
1288
a31ee4b3
SP
1289 * nscd/connections.c (nscd_init): Fix comment.
1290
695c378f
JM
12912013-06-22 Joseph Myers <joseph@codesourcery.com>
1292
d8412221
JM
1293 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1294
695c378f
JM
1295 [BZ #15667]
1296 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1297 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1298
d1d54715
MR
12992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1300
1301 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1302 DL_DST_REQ_STATIC.
1303 (DL_DST_REQ_STATIC): Remove macro.
1304
8fdda7af
JM
13052013-06-21 Joseph Myers <joseph@codesourcery.com>
1306
1307 [BZ #7006]
1308 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1309 with a shift of 0 bits.
1310
f3bc5e5a
MR
13112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1312
1313 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1314 $(tststatic-ENV).
1315
be09e8c9
KK
13162013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1317
1318 [BZ #15655]
1319 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1320
85c2e611
AZ
13212013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1322
1323 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1324 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1325 accepts -fno-tree-loop-distribute-patterns.
1326 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1327 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1328 recursive call.
1329 * string/memset.c (memset): Likewise.
1330 * string/test-memmove.c (simple_memmove): Disable loop transformation
1331 to library calls.
1332 * string/test-memset.c (simple_memset): Likewise.
1333 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1334 * benchtests/bench-memset.c (simple_memset): Likewise.
1335 * configure: Regenerated.
1336
c91e0825
JM
13372013-06-20 Joseph Myers <joseph@codesourcery.com>
1338
b8c792af
JM
1339 * math/test-misc.c (main): Ignore fesetround failure when failures
1340 of subsequent rounding tests would be ignored.
1341
c91e0825
JM
1342 [BZ #15654]
1343 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1344 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1345 * math/fegetenv.c (__fegetenv): Return 0.
1346 * math/fegetexcept.c (fegetexcept): Return 0.
1347 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1348 FE_TONEAREST.
1349 * math/feholdexcpt.c (feholdexcept): Return 0.
1350 * math/fesetenv.c (__fesetenv): Return 0.
1351 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1352 argument FE_TONEAREST.
1353 * math/feupdateenv.c (__feupdateenv): Return 0.
1354 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1355
bfcacbde
RM
13562013-06-18 Roland McGrath <roland@hack.frob.com>
1357
1358 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1359 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1360 ($(objpfx)rtld-%.os rules): Use them.
1361
e55a9b25
AZ
13622013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1365 fields.
1366
346d65b3
RM
13672013-06-17 Roland McGrath <roland@hack.frob.com>
1368
12086fb4
RM
1369 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1370 length of target pattern, then descending length of dependency pattern.
1371 * configure.in (AWK): Require gawk 3.1.2 or newer.
1372 * manual/install.texi (Tools for Compilation): Say that we do.
1373 * configure: Regenerated.
1374
346d65b3
RM
1375 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1376 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1377 * scripts/sysd-rules.awk: ... this new script.
1378 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1379 than a glob-style pattern.
1380
1a846317
JM
13812013-06-17 Joseph Myers <joseph@codesourcery.com>
1382
1383 * math/test-misc.c (main): Do not treat incorrectly rounded
1384 conversions as failure unless ROUNDING_TESTS passes.
1385
8fc75e6f
JM
13862013-06-15 Joseph Myers <joseph@codesourcery.com>
1387
3711a167
JM
1388 [BZ #15631]
1389 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1390 restore exception state around main square root computation, then
1391 check for inexactness explicitly.
1392
8fc75e6f
JM
1393 * math/libm-test.inc (fma_test_data): Add another test.
1394
61dd6208
SP
13952013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1396
adf23d2c
SP
1397 * manual/threads.texi (Non-POSIX Extensions): New document
1398 node. Document pthread_getattr_default_np and
1399 pthread_setattr_default_np.
1400
61dd6208
SP
1401 * Versions.def (libpthread): Add GLIBC_2.18.
1402 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1404 Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1406 Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1408 Likewise.
1409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1412 Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1416 Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1418 Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1420 Likewise.
1421
d086fc7b
LD
14222013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1423
1424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1425 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1426
747ef469
SP
14272013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 H.J. Lu <hjl.tools@gmail.com>
1429
1430 [BZ #15627]
1431 * sysdeps/x86_64/rtld-memset.c: Remove file.
1432 * sysdeps/x86_64/rtld-memset.S: New file.
1433
1b2feed2
JM
14342013-06-14 Joseph Myers <joseph@codesourcery.com>
1435
1436 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1437 (test_in_one_mode): Take arguments for whether the rounding mode
1438 is supported for each floating-point type.
1439 (do_test): Pass new arguments to test_in_one_mode using
1440 ROUNDING_TESTS.
1441
a58ad3f8
RM
14422013-06-13 Roland McGrath <roland@hack.frob.com>
1443
1444 * posix/tst-waitid.c (do_test): Distinguish different instances of
1445 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1446 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1447 before entering the kernel for waitpid.
1448
c204ab28
SP
14492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1450
1451 * NEWS: Fix note on clock function precision. Text by Roland
1452 McGrath.
1453
f4a29fba
RM
14542013-06-13 Roland McGrath <roland@hack.frob.com>
1455
1456 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1457 it into place only when and if the sanity check passes.
1458
1f24b9ad
JM
14592013-06-13 Joseph Myers <joseph@codesourcery.com>
1460
1461 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1462 output for whether conversion result is exact. Take argument
1463 indicating whether type is IBM long double.
1464 (round_for_all): Change need_exact field to ibm_ld.
1465 * stdlib/tst-strtod-round.c (struct exactness): New type.
1466 (struct test): Change bool ld_ok field to struct exactness exact.
1467 (TEST): Update all definitions for change to field.
1468 (tests): Regenerate array contents.
1469 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1470 field value. Check for IBM long double here.
1471 (do_test): Update calls to test_in_one_mode.
1472
58206c68
SP
14732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1474
1475 [BZ #12515]
1476 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1477 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1478
2d6f4c5b 14792013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1480
1481 [BZ #15605]
1482 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1483 generated by the compiler on loop optimizations.
1484 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1485 general definitions.
1486
94f2c076
JM
14872013-06-12 Joseph Myers <joseph@codesourcery.com>
1488
1489 * math/bug-nextafter.c: Include <math-tests.h>.
1490 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1491 the relevant type.
1492 * math/bug-nexttoward.c: Include <math-tests.h>.
1493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1494 the relevant type.
1495 * math/test-misc.c: Include <math-tests.h>.
1496 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1497 the relevant type.
1498
e0e50a0a
AJ
14992013-06-12 Andreas Jaeger <aj@suse.de>
1500
1501 * po/ia.po: Update Interlingua translation from translation
1502 project.
1503
25061094
SP
15042013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1505
1506 * include/fenv.h: Include stdbool.h.
1507 (struct rm_ctx): New structure.
1508 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1509 Define macro.
1510 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1511 (SET_RESTORE_ROUNDF): Likewise.
1512 (SET_RESTORE_ROUNDL): Likewise.
1513 (SET_RESTORE_ROUND_NOEX): Likewise.
1514 (SET_RESTORE_ROUND_NOEXF): Likewise.
1515 (SET_RESTORE_ROUND_NOEXL): Likewise.
1516 (SET_RESTORE_ROUND_53BIT): Likewise.
1517 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1518 (libc_feresetround_noexf_ctx): Likewise.
1519 (libc_feresetround_noexl_ctx): Likewise.
1520 (libc_feholdsetround_53bit_ctx): Likewise.
1521 (libc_feresetround_53bit_ctx): Likewise.
1522 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1523 (libc_feholdexcept_setround_sse_ctx): New function.
1524 (libc_fesetenv_sse_ctx): Likewise.
1525 (libc_feupdateenv_sse_ctx): Likewise.
1526 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1527 (libc_feholdexcept_setround_387_ctx): Likewise.
1528 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1529 (libc_feholdsetround_387_prec_ctx): Likewise.
1530 (libc_feholdsetround_387_ctx): Likewise.
1531 (libc_feholdsetround_387_53bit_ctx): Likewise.
1532 (libc_feholdsetround_sse_ctx): Likewise.
1533 (libc_feresetround_sse_ctx): Likewise.
1534 (libc_feresetround_387_ctx): Likewise.
1535 (libc_feupdateenv_387_ctx): Likewise.
1536 (libc_feholdexcept_setroundf_ctx): Define macro.
1537 (libc_fesetenvf_ctx): Likewise.
1538 (libc_feupdateenvf_ctx): Likewise.
1539 (libc_feholdsetroundf_ctx): Likewise.
1540 (libc_feresetroundf_ctx): Likewise.
1541 (libc_feholdexcept_setround_ctx): Likewise.
1542 (libc_fesetenv_ctx): Likewise.
1543 (libc_feupdateenv_ctx): Likewise.
1544 (libc_feholdsetround_ctx): Likewise.
1545 (libc_feresetround_ctx): Likewise.
1546 (libc_feholdexcept_setroundl_ctx): Likewise.
1547 (libc_feupdateenvl_ctx): Likewise.
1548 (libc_feholdsetroundl_ctx): Likewise.
1549 (libc_feresetroundl_ctx): Likewise.
1550 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1551 (libc_feresetround_53bit_ctx): Likewise.
1552
59b30555
SP
15532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1554
1555 * locale/iso-639.def: Convert to UTF-8.
1556
f1d73d30
JM
15572013-06-11 Joseph Myers <joseph@codesourcery.com>
1558
1559 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1560 (EXCEPTION_TESTS_double): Likewise.
1561 (EXCEPTION_TESTS_long_double): Likewise.
1562 (EXCEPTION_TESTS): Likewise.
1563 * math/libm-test.inc (test_exceptions): Only test exceptions if
1564 EXCEPTION_TESTS (FLOAT).
1565
94aca5e7
SP
15662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1567
1568 * benchtests/Makefile (string-bench): Add strcpy_chk and
1569 stpcpy_chk.
1570 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1571 * benchtests/bench-stpcpy_chk.c: New file.
1572 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1573 * benchtests/bench-strcpy_chk.c: New file.
1574 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1575 code.
1576 (do_test): Likewise.
1577
fac0c5f2
RA
15782013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1579
1580 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1581 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1582 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1583 with tabs where appropriate.
1584 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1585 dl-procinfo.h.
1586 [PPC_PLATFORM_PPC440]: Likewise.
1587 [PPC_PLATFORM_PPC464]: Likewise.
1588 [PPC_PLATFORM_PPC476]: Likewise.
1589 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1590 ppc464, and ppc476 platform strings merging from ports/
1591 dl-procinfo.h.
1592
f22bc486
AS
15932013-06-11 Andreas Schwab <schwab@suse.de>
1594
1595 [BZ #14991]
1596 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1597 (from_ucs4_idx): Regenerate.
1598 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1599 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1600 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1601 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1602 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1603 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1604 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1605 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1606 from FROM_LOOP and TO_LOOP specific macros.
1607 (BODY): Handle combining characters.
1608 * iconvdata/BIG5HKSCS.irreversible: Update.
1609 * iconvdata/BIG5HKSCS.precomposed: New file.
1610 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1611 characters.
1612 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1613
c1f75dc3
SP
16142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1615
4eacded2
SP
1616 * include/sys/time.h: Fix indentation and add copyright header.
1617
fec799f8
SP
1618 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1619 (do_test): Likewise.
1620 * string/test-memchr.c (do_one_test): Likewise.
1621 (do_test): Likewise.
1622 * string/test-memcmp.c (do_one_test): Likewise.
1623 (do_test): Likewise.
1624 * string/test-memcpy.c (do_one_test): Likewise.
1625 (do_test): Likewise.
1626 * string/test-memmem.c (do_one_test): Likewise.
1627 (do_test): Likewise.
1628 (do_random_tests): Likewise.
1629 * string/test-memmove.c (do_one_test): Likewise.
1630 (do_test): Likewise.
1631 * string/test-memset.c (do_one_test): Likewise.
1632 (do_test): Likewise.
1633 * string/test-rawmemchr.c (do_one_test): Likewise.
1634 (do_test): Likewise.
1635 * string/test-strcasecmp.c (do_one_test): Likewise.
1636 (do_test): Likewise.
1637 * string/test-strcasestr.c (do_one_test): Likewise.
1638 (do_test): Likewise.
1639 * string/test-strcat.c (do_one_test): Likewise.
1640 (do_test): Likewise.
1641 * string/test-strchr.c (do_one_test): Likewise.
1642 (do_test): Likewise.
1643 * string/test-strcmp.c (do_one_test): Likewise.
1644 (do_test): Likewise.
1645 * string/test-strcpy.c (do_one_test): Likewise.
1646 (do_test): Likewise.
1647 * string/test-string.h: Likewise.
1648 (test_init): Likewise.
1649 * string/test-strlen.c (do_one_test): Likewise.
1650 (do_test): Likewise.
1651 * string/test-strncasecmp.c (do_one_test): Likewise.
1652 (do_test): Likewise.
1653 * string/test-strncat.c (do_one_test): Likewise.
1654 (do_test): Likewise.
1655 * string/test-strncmp.c (do_one_test): Likewise.
1656 (do_test_limit): Likewise.
1657 (do_test): Likewise.
1658 * string/test-strncpy.c (do_one_test): Likewise.
1659 (do_test): Likewise.
1660 * string/test-strnlen.c (do_one_test): Likewise.
1661 (do_test): Likewise.
1662 * string/test-strpbrk.c (do_one_test): Likewise.
1663 (do_test): Likewise.
1664 * string/test-strrchr.c (do_one_test): Likewise.
1665 (do_test): Likewise.
1666 * string/test-strspn.c (do_one_test): Likewise.
1667 (do_test): Likewise.
1668 * string/test-strstr.c (do_one_test): Likewise.
1669 (do_test): Likewise.
1670
97020474
SP
1671 * benchtests/Makefile (string-bench): Add string benchmarks.
1672 * benchtests/bench-bcopy-ifunc.c: New file.
1673 * benchtests/bench-bcopy.c: New file.
1674 * benchtests/bench-bzero-ifunc.c: New file.
1675 * benchtests/bench-bzero.c: New file.
1676 * benchtests/bench-memccpy-ifunc.c: New file.
1677 * benchtests/bench-memccpy.c: New file.
1678 * benchtests/bench-memchr-ifunc.c: New file.
1679 * benchtests/bench-memchr.c: New file.
1680 * benchtests/bench-memcmp-ifunc.c: New file.
1681 * benchtests/bench-memcmp.c: New file.
1682 * benchtests/bench-memmem-ifunc.c: New file.
1683 * benchtests/bench-memmem.c: New file.
1684 * benchtests/bench-memmove-ifunc.c: New file.
1685 * benchtests/bench-memmove.c: New file.
1686 * benchtests/bench-mempcpy-ifunc.c: New file.
1687 * benchtests/bench-mempcpy.c: New file.
1688 * benchtests/bench-memset-ifunc.c: New file.
1689 * benchtests/bench-memset.c: New file.
1690 * benchtests/bench-rawmemchr-ifunc.c: New file.
1691 * benchtests/bench-rawmemchr.c: New file.
1692 * benchtests/bench-stpcpy-ifunc.c: New file.
1693 * benchtests/bench-stpcpy.c: New file.
1694 * benchtests/bench-stpncpy-ifunc.c: New file.
1695 * benchtests/bench-stpncpy.c: New file.
1696 * benchtests/bench-strcasecmp-ifunc.c: New file.
1697 * benchtests/bench-strcasecmp.c: New file.
1698 * benchtests/bench-strcasestr-ifunc.c: New file.
1699 * benchtests/bench-strcasestr.c: New file.
1700 * benchtests/bench-strcat-ifunc.c: New file.
1701 * benchtests/bench-strcat.c: New file.
1702 * benchtests/bench-strchr-ifunc.c: New file.
1703 * benchtests/bench-strchr.c: New file.
1704 * benchtests/bench-strchrnul-ifunc.c: New file.
1705 * benchtests/bench-strchrnul.c: New file.
1706 * benchtests/bench-strcmp-ifunc.c: New file.
1707 * benchtests/bench-strcmp.c: New file.
1708 * benchtests/bench-strcpy-ifunc.c: New file.
1709 * benchtests/bench-strcpy.c: New file.
1710 * benchtests/bench-strcspn-ifunc.c: New file.
1711 * benchtests/bench-strcspn.c: New file.
1712 * benchtests/bench-strlen-ifunc.c: New file.
1713 * benchtests/bench-strlen.c: New file.
1714 * benchtests/bench-strncasecmp-ifunc.c: New file.
1715 * benchtests/bench-strncasecmp.c: New file.
1716 * benchtests/bench-strncat-ifunc.c: New file.
1717 * benchtests/bench-strncat.c: New file.
1718 * benchtests/bench-strncmp-ifunc.c: New file.
1719 * benchtests/bench-strncmp.c: New file.
1720 * benchtests/bench-strncpy-ifunc.c: New file.
1721 * benchtests/bench-strncpy.c: New file.
1722 * benchtests/bench-strnlen-ifunc.c: New file.
1723 * benchtests/bench-strnlen.c: New file.
1724 * benchtests/bench-strpbrk-ifunc.c: New file.
1725 * benchtests/bench-strpbrk.c: New file.
1726 * benchtests/bench-strrchr-ifunc.c: New file.
1727 * benchtests/bench-strrchr.c: New file.
1728 * benchtests/bench-strspn-ifunc.c: New file.
1729 * benchtests/bench-strspn.c: New file.
1730 * benchtests/bench-strstr-ifunc.c: New file.
1731 * benchtests/bench-strstr.c: New file.
1732
c1f75dc3
SP
1733 * benchtests/Makefile: Disable parallel execution of targets.
1734 (string-bench): Add memcpy.
1735 (benchset): New variable to store a list of benchmark sets.
1736 (bench-func): Renamed from bench.
1737 (bench-set): New target.
1738 (bench): Depend on bench-func and bench-set.
1739 * benchtests/README: Add section on benchmark sets.
1740 * benchtests/bench-memcpy-ifunc.c: New file.
1741 * benchtests/bench-memcpy.c: New file.
1742 * benchtests/bench-string.h: New file.
1743
50fd745b
AS
17442013-06-11 Andreas Schwab <schwab@suse.de>
1745
1746 [BZ #15577]
1747 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1748 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1749 values in the triple.
1750 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1751 terminator in the group key.
1752
3ee7e9fe
AJ
17532013-06-11 Andreas Jaeger <aj@suse.de>
1754
1755 * po/zh_TW.po: Update Chinese (traditional) translation from
1756 translation project.
1757
89fb6835
SP
17582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1759
1760 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1761 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1762 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1764 (clock_getcpuclockid): Likewise.
1765 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1766 Add weak_alias and libc_hidden_def.
1767 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1768 * rt/clock_gettime.c (clock_gettime): Rename to
1769 __clock_gettime. Add weak_alias and libc_hidden_def.
1770 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1771 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1772 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1773 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1774 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1775 Likewise.
1776 * rt/clock_settime.c (clock_settime): Rename to
1777 __clock_settime. Add weak_alias and libc_hidden_def.
1778 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1779
0efa6f8b
JM
17802013-06-10 Joseph Myers <joseph@codesourcery.com>
1781
b8c61b4b
JM
1782 * mach/err_boot.sub: Remove trailing whitespace.
1783 * mach/err_ipc.sub: Likewise.
1784 * mach/err_mach.sub: Likewise.
1785
0efa6f8b
JM
1786 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1787 (ROUNDING_TESTS_double): Likewise.
1788 (ROUNDING_TESTS_long_double): Likewise.
1789 (ROUNDING_TESTS): Likewise.
1790 * math/libm-test.inc: Include <math-tests.h>.
1791 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1792 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1793 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1794 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1795
50b818bf
SP
17962013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1797
1798 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1799 of assigning.
1800
60d2f8f3
JM
18012013-06-08 Joseph Myers <joseph@codesourcery.com>
1802
4902d2c3
JM
1803 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1804 otherwise empty TRANS lines.
1805 * sysdeps/gnu/errlist.c: Regenerated.
1806
60d2f8f3
JM
1807 * catgets/gencat.c (error_print): Use (void) in function
1808 definition.
1809 * crypt/crypt_util.c (__init_des): Likewise.
1810 * crypt/speeds.c (Stop): Likewise.
1811 (main): Likewise.
1812 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1813 * inet/ruserpass.c (token): Likewise.
1814 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1815 * intl/localealias.c (extend_alias_table): Likewise.
1816 * intl/plural-exp.c (init_germanic_plural): Likewise.
1817 * libio/fcloseall.c (__fcloseall): Likewise.
1818 * libio/genops.c (_IO_flush_all): Likewise.
1819 (_IO_flush_all_linebuffered): Likewise.
1820 (_IO_cleanup): Likewise.
1821 (_IO_iter_begin): Likewise.
1822 (_IO_iter_end): Likewise.
1823 (_IO_list_lock): Likewise.
1824 (_IO_list_unlock): Likewise.
1825 (_IO_list_resetlock): Likewise.
1826 * libio/getchar.c (getchar): Likewise.
1827 * libio/getchar_u.c (getchar_unlocked): Likewise.
1828 * libio/getwchar.c (getwchar): Likewise.
1829 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1830 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1831 * login/getpt.c (__getpt): Likewise.
1832 * login/tst-utmp.c (main): Likewise.
1833 * malloc/hooks.c (__malloc_check_init): Likewise.
1834 * malloc/malloc.c (__malloc_stats): Likewise.
1835 * malloc/mtrace.c (tr_break): Likewise.
1836 (mtrace): Likewise.
1837 (muntrace): Likewise.
1838 * misc/fstab.c (endfsent): Likewise.
1839 * misc/getclktck.c (__getclktck): Likewise.
1840 * misc/getdtsz.c (__getdtablesize): Likewise.
1841 * misc/gethostid.c (gethostid): Likewise.
1842 * misc/getpagesize.c (__getpagesize): Likewise.
1843 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1844 (__get_nprocs): Likewise.
1845 (__get_phys_pages): Likewise.
1846 (__get_avphys_pages): Likewise.
1847 * misc/getttyent.c (getttyent): Likewise.
1848 (setttyent): Likewise.
1849 (endttyent): Likewise.
1850 * misc/getusershell.c (getusershell): Likewise.
1851 (endusershell): Likewise.
1852 (setusershell): Likewise.
1853 (initshells): Likewise.
1854 * misc/hsearch.c (__hdestroy): Likewise.
1855 * misc/sync.c (sync): Likewise.
1856 * misc/syslog.c (closelog_internal): Likewise.
1857 (closelog): Likewise.
1858 * misc/ttyslot.c (ttyslot): Likewise.
1859 * misc/vhangup.c (vhangup): Likewise.
1860 * posix/fork.c (__fork): Likewise.
1861 * posix/getegid.c (__getegid): Likewise.
1862 * posix/geteuid.c (__geteuid): Likewise.
1863 * posix/getgid.c (__getgid): Likewise.
1864 * posix/getpid.c (__getpid): Likewise.
1865 * posix/getppid.c (__getppid): Likewise.
1866 * posix/getuid.c (__getuid): Likewise.
1867 * posix/pause.c (pause): Likewise.
1868 * posix/setpgrp.c (setpgrp): Likewise.
1869 * posix/setsid.c (__setsid): Likewise.
1870 * posix/test-vfork.c (noop): Likewise.
1871 * resolv/gethnamaddr.c (_endhtent): Likewise.
1872 (_gethtent): Likewise.
1873 (ht_endhostent): Likewise.
1874 (gethostent): Likewise.
1875 (dns_service): Likewise.
1876 * stdlib/drand48.c (drand48): Likewise.
1877 * stdlib/lrand48.c (lrand48): Likewise.
1878 * stdlib/mrand48.c (mrand48): Likewise.
1879 * stdlib/rand.c (rand): Likewise.
1880 * stdlib/random.c (__random): Likewise.
1881 * stdlib/setenv.c (clearenv): Likewise.
1882 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1883 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1884 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1885 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1886 (__get_nprocs): Likewise.
1887 (__get_phys_pages): Likewise.
1888 (__get_avphys_pages): Likewise.
1889 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1890 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1891 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1892 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1893 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1894 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1895 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1896 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1897 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1898 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1899 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1900 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1901 * sysdeps/posix/clock.c (clock): Likewise.
1902 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1903 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1904 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1905 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1906 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1908 (__get_nprocs_conf): Likewise.
1909 (__get_phys_pages): Likewise.
1910 (__get_avphys_pages): Likewise.
1911 * time/clock.c (clock): Likewise.
1912 * time/tzset.c (__tzname_max): Likewise.
1913
2e09a79a
JM
19142013-06-07 Joseph Myers <joseph@codesourcery.com>
1915
1916 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1917 (__bswap_32): Do not use "register".
1918 * crypt/crypt.c (_ufc_doit_r): Likewise.
1919 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1920 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1921 * gmon/gmon.c (__monstartup): Likewise.
1922 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1923 * hurd/hurdmalloc.c (more_memory): Likewise.
1924 (malloc): Likewise.
1925 (free): Likewise.
1926 (realloc): Likewise.
1927 (malloc_fork_prepare): Likewise.
1928 (malloc_fork_parent): Likewise.
1929 (malloc_fork_child): Likewise.
1930 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1931 (_svcauth_des): Likewise.
1932 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1933 * inet/inet_net.c (inet_network): Likewise.
1934 * inet/inet_netof.c (inet_netof): Likewise.
1935 * inet/rcmd.c (__validuser2_sa): Likewise.
1936 * io/fts.c (fts_open): Likewise.
1937 (fts_load): Likewise.
1938 (fts_close): Likewise.
1939 (fts_read): Likewise.
1940 (fts_children): Likewise.
1941 (fts_build): Likewise.
1942 (fts_stat): Likewise.
1943 (fts_sort): Likewise.
1944 (fts_alloc): Likewise.
1945 (fts_lfree): Likewise.
1946 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1947 (_IO_file_xsgetn): Likewise.
1948 (_IO_file_xsgetn_mmap): Likewise.
1949 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1950 (_IO_cookie_write): Likewise.
1951 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1952 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1953 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1954 * malloc/obstack.c (_obstack_begin): Likewise.
1955 (_obstack_begin_1): Likewise.
1956 (_obstack_newchunk): Likewise.
1957 (_obstack_allocated_p): Likewise.
1958 (obstack_free): Likewise.
1959 (_obstack_memory_used): Likewise.
1960 * misc/getttyent.c (getttynam): Likewise.
1961 (getttyent): Likewise.
1962 (skip): Likewise.
1963 (value): Likewise.
1964 * misc/getusershell.c (initshells): Likewise.
1965 * misc/syslog.c (__vsyslog_chk): Likewise.
1966 * misc/ttyslot.c (ttyslot): Likewise.
1967 * nis/nis_hash.c (__nis_hash): Likewise.
1968 * posix/fnmatch_loop.c (FCT): Likewise.
1969 * posix/getconf.c (print_all): Likewise.
1970 (main): Likewise.
1971 * posix/getopt.c (exchange): Likewise.
1972 * posix/glob.c (globfree): Likewise.
1973 (prefix_array): Likewise.
1974 (__glob_pattern_type): Likewise.
1975 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1976 (NS_GET32): Likewise.
1977 (NS_PUT16): Likewise.
1978 (NS_PUT32): Likewise.
1979 * resolv/gethnamaddr.c (getanswer): Likewise.
1980 (gethostbyname2): Likewise.
1981 (gethostbyaddr): Likewise.
1982 (_gethtent): Likewise.
1983 (_gethtbyname2): Likewise.
1984 (_gethtbyaddr): Likewise.
1985 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1986 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1987 * resolv/res_init.c (__res_vinit): Likewise.
1988 (net_mask): Likewise.
1989 * resolv/res_mkquery.c (outchar): Likewise.
1990 (PRINT): Likewise.
1991 * stdio-common/printf_fp.c (outchar): Likewise.
1992 (PRINT): Likewise.
1993 * stdio-common/printf_fphex.c (outchar): Likewise.
1994 (PRINT): Likewise.
1995 * stdio-common/printf_size.c (outchar): Likewise.
1996 (PRINT): Likewise.
1997 * stdio-common/test_rdwr.c (main): Likewise.
1998 * stdio-common/tfformat.c (matches): Likewise.
1999 * stdio-common/vfprintf.c (outchar): Likewise.
2000 (printf_unknown): Likewise.
2001 (buffered_vfprintf): Likewise.
2002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2003 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2004 (ReadFile): Likewise.
2005 * stdlib/qsort.c (SWAP): Likewise.
2006 (_quicksort): Likewise.
2007 * stdlib/setenv.c (__add_to_environ): Likewise.
2008 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2009 * stdlib/strtol_l.c (__strtol_l): Likewise.
2010 * stdlib/tst-strtod.c (main): Likewise.
2011 * stdlib/tst-strtol.c (main): Likewise.
2012 * stdlib/tst-strtoll.c (main): Likewise.
2013 * string/bits/string2.h (__strcmp_cc): Likewise.
2014 (__strcmp_cg): Likewise.
2015 (__strcspn_c1): Likewise.
2016 (__strcspn_c2): Likewise.
2017 (__strcspn_c3): Likewise.
2018 (__strspn_c1): Likewise.
2019 (__strspn_c2): Likewise.
2020 (__strspn_c3): Likewise.
2021 (__strsep_1c): Likewise.
2022 (__strsep_2c): Likewise.
2023 (__strsep_3c): Likewise.
2024 * string/memccpy.c (__memccpy): Likewise.
2025 * string/stpcpy.c (__stpcpy): Likewise.
2026 * string/strcmp.c (strcmp): Likewise.
2027 * string/strrchr.c (strrchr): Likewise.
2028 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2029 Likewise.
2030 * sysdeps/mach/hurd/getcwd.c
2031 (_hurd_canonicalize_directory_name_internal): Likewise.
2032 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2033 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2034 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2035 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2036 Likewise, in both definitions.
2037 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2038 definitions.
2039 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2040 64] (__bswap_64): Likewise.
2041 * time/test_time.c (main): Likewise.
2042 * time/tzfile.c (__tzfile_read): Likewise.
2043 (__tzfile_compute): Likewise.
2044 * time/tzset.c (__tzset_parse_tz): Likewise.
2045 (tzset_internal): Likewise.
2046 (compute_change): Likewise.
2047 * wcsmbs/wcscat.c (__wcscat): Likewise.
2048 * wcsmbs/wcschr.c (wcschr): Likewise.
2049 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2050 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2051 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2052 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2053 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2054 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2055 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2056 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2057 * wcsmbs/wmemset.c (wmemset): Likewise.
2058
9e54314b
JM
20592013-06-06 Joseph Myers <joseph@codesourcery.com>
2060
2061 * scripts/config.guess: Update to version 2013-05-16.
2062 * scripts/config.sub: Update to version 2013-04-24.
2063 * scripts/install-sh: Update to version 2011-11-20.07.
2064 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2065 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2066
350635a5
OB
20672013-06-06 Ondřej Bílka <neleai@seznam.cz>
2068
2069 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2070 * elf/sln.c: Likewise.
2071 * hurd/hurd/ioctl.h: Likewise.
2072 * hurd/hurdmalloc.c: Likewise.
2073 * hurd/xattr.c: Likewise.
2074 * include/shlib-compat.h: Likewise.
2075 * inet/ruserpass.c: Likewise.
2076 * libio/iofgets_u.c: Likewise.
2077 * libio/iofgetws_u.c: Likewise.
2078 * locale/programs/ld-identification.c: Likewise.
2079 * locale/programs/ld-time.c: Likewise.
2080 * mach/msg-destroy.c: Likewise.
2081 * nss/nss_files/files-netgrp.c: Likewise.
2082 * resolv/res_data.c: Likewise.
2083 * soft-fp/op-1.h: Likewise.
2084 * soft-fp/op-2.h: Likewise.
2085 * soft-fp/op-4.h: Likewise.
2086 * soft-fp/op-common.h: Likewise.
2087 * stdio-common/printf_fphex.c: Likewise.
2088 * stdlib/strtod_l.c: Likewise.
2089 * sunrpc/rpc/clnt.h: Likewise.
2090 * sysdeps/generic/framestate.c: Likewise.
2091 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2092 * sysdeps/i386/bsd-setjmp.S: Likewise.
2093 * sysdeps/i386/__longjmp.S: Likewise.
2094 * sysdeps/i386/setjmp.S: Likewise.
2095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2096 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2097 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2113 * sysdeps/ieee754/support.c: Likewise.
2114 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2115 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2116 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2117 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2118 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2119 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2120 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2121 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2122 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2123 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2124 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2125 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2126 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2129 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2130 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2132
44a988af
OB
21332013-06-05 Ondřej Bílka <neleai@seznam.cz>
2134
25506f09 2135 * posix/transbug.c: Remove executable mode.
44a988af 2136
9c84384c
JM
21372013-06-05 Joseph Myers <joseph@codesourcery.com>
2138
2139 * crypt/speeds.c: Remove trailing whitespace.
2140 * dlfcn/default.c: Likewise.
2141 * elf/ifuncdep2.c: Likewise.
2142 * elf/ifuncmain1.c: Likewise.
2143 * elf/ifuncmain1vis.c: Likewise.
2144 * elf/testobj.h: Likewise.
2145 * elf/tst-stackguard1.c: Likewise.
2146 * gmon/sys/gmon.h: Likewise.
2147 * hurd/hurdmsg.c: Likewise.
2148 * hurd/new-fd.c: Likewise.
2149 * hurd/ports-get.c: Likewise.
2150 * iconvdata/ibm1008_420.c: Likewise.
2151 * inet/tst-getni1.c: Likewise.
2152 * inet/tst-getni2.c: Likewise.
2153 * libio/ioungetc.c: Likewise.
2154 * libio/wfiledoalloc.c: Likewise.
2155 * manual/libm-err-tab.pl: Likewise.
2156 * math/w_dremf.c: Likewise.
2157 * misc/ftruncate.c: Likewise.
2158 * posix/bug-glob2.c: Likewise.
2159 * posix/tst-pcre.c: Likewise.
2160 * posix/wait4.c: Likewise.
2161 * resolv/README: Likewise.
2162 * resolv/res_debug.h: Likewise.
2163 * resolv/tst-inet_ntop.c: Likewise.
2164 * setjmp/bug269-setjmp.c: Likewise.
2165 * soft-fp/extended.h: Likewise.
2166 * soft-fp/op-1.h: Likewise.
2167 * soft-fp/op-2.h: Likewise.
2168 * soft-fp/op-4.h: Likewise.
2169 * soft-fp/op-8.h: Likewise.
2170 * soft-fp/testit.c: Likewise.
2171 * stdio-common/bug16.c: Likewise.
2172 * stdlib/random.c: Likewise.
2173 * sunrpc/rpcsvc/rquota.x: Likewise.
2174 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2175 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2176 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2177 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2179 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2181 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2183 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2201 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2203 * sysdeps/ieee754/s_lib_version.c: Likewise.
2204 * sysdeps/mach/hurd/check_fds.c: Likewise.
2205 * sysdeps/mach/hurd/getsockname.c: Likewise.
2206 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2207 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2208 * sysdeps/powerpc/bits/link.h: Likewise.
2209 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2210 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2211 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2212 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2213 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2214 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2215 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2216 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2217 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2220 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2221 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2222 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2223 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2224 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2230 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2231 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2234 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2236 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2239 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2243 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2247 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2251 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2252 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2254 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2255 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2256 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2257 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2258 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2261 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2265 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2266 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2267 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2268 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2272 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2273 * sysdeps/powerpc/sysdep.h: Likewise.
2274 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2275 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2276 * sysdeps/sh/dl-trampoline.S: Likewise.
2277 * sysdeps/sh/memset.S: Likewise.
2278 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2279 * sysdeps/sh/strlen.S: Likewise.
2280 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2281 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2282 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2283 * sysdeps/sparc/sparc32/rem.S: Likewise.
2284 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2285 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2286 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2287 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2288 * sysdeps/sparc/sparc32/urem.S: Likewise.
2289 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2290 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2291 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2292 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2293 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2294 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2295 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2296 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2297 * sysdeps/unix/bsd/times.c: Likewise.
2298 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2299 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2304 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2305 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2307 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2309 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2311 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2313 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2314 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2315 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2316 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2318 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2319 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2321 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2322 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2323 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2326 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2327 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2328 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2329 * sysdeps/x86_64/strcspn.S: Likewise.
2330
869378a5
RA
23312013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2332
2333 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2334 generated file. Regenerate properly from gen-translit.pl.
2335 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2336 locale/C-translit.h.
2337
840e2943
AS
23382013-06-05 Andreas Schwab <schwab@suse.de>
2339
2340 [BZ #15100]
2341 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2342 week as 6 instead of -1.
2343 * time/tst-strptime.c (day_tests): Add test case.
2344
4c60cb0c
SP
23452013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2346
2347 * sysdeps/generic/math_private.h
2348 (libc_feholdexcept_setround_53bit): Replace with
2349 libc_feholdsetround_53bit.
2350 (libc_feupdateenv_53bit): Replace with
2351 libc_feresetround_53bit.
2352 (SET_RESTORE_ROUND_53BIT): Adjust.
2353
d180203e
SP
23542013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
96df079a
SP
2356 * string/test-strchrnul.c: Add copyright header.
2357
d180203e
SP
2358 * posix/tst-getaddrinfo4.c: Increase test timeout.
2359
8b0ccb2d
CD
23602013-06-03 Carlos O'Donell <carlos@redhat.com>
2361
2362 [BZ #15536]
2363 * math/libm-test.inc (MAX_EXP): Remove
2364 (MIN_EXP): Define.
2365 (ulp): Use MIN_EXP - MANT_DIG.
2366 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2367
3b3c4d40
CD
23682013-05-31 Carlos O'Donell <carlos@redhat.com>
2369
2370 * po/be.po: Revert last change.
2371 * po/zh_CN.po: Likewise.
2372 * po/header.pot: Likewise.
2373
fab7ce3f
JM
23742013-05-31 Joseph Myers <joseph@codesourcery.com>
2375
2376 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2377 link-libc-deps to empty as target-specific variable.
2378 * Makerules (link-libc-args): New variable.
2379 (libc-for-link): Likewise.
2380 (link-libc-deps): Likewise.
2381 (lib%.so): Depend on $(link-libc-deps). Link with
2382 $(link-libc-args).
2383 (build-module): Link with $(link-libc-args).
2384 (build-module-asneeded): Likewise.
2385 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2386 list of objects.
2387 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2388 target-specific variable.
2389 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2390 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2391 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2392 libc.
2393 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2394 libc and ld.so.
2395 ($(objpfx)libpcprofile.so): Likewise.
2396 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2397 libc_nonshared.a.
2398 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2399 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2400 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2401 $(link-libc-deps).
2402 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2403 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2404 * login/Makefile ($(objpfx)libutil.so): Likewise.
2405 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2406 * math/Makefile ($(objpfx)libm.so): Likewise.
2407 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2408 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2409 variable instead of depending directly on libc.
2410 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2411 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2412 $(link-libc-deps).
2413 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2414 libc.
2415 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2416 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2417 ($(objpfx)libanl.so): Likewise.
2418 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2419 ld.so.
2420 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2421 $(link-libc-deps).
2422 * sysdeps/i386/fpu/Makefile: Remove file.
2423 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2424 ($(objpfx)libm.so): Remove dependency on ld.so.
2425
eca5920c
PF
24262013-05-30 Patsy Franklin <pfrankli@redhat.com>
2427
2428 [BZ # 15553]
2429 * nis/yp_xdr.c (XDRMAXNAME): Define.
2430 (XDRMAXRECORD): Define.
2431 (xdr_domainname): Use XDRMAXNAME.
2432 (xdr_mapname): Likewise.
2433 (xdr_peername): Likewise.
2434 (xdr_keydat): Use XDRMAXRECORD.
2435 (xdr_valdat): Likewise.
2436
24372013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2438
2439 [BZ #14256]
2440 * manual/errno.texi (ESTALE): Update to account for more than
2441 just NFS file systems.
2442 * sysdeps/gnu/errlist.c: Regenerated.
2443
b9375348
SP
24442013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #15465]
2447 * elf/Makefile (tests): Add tst-null-argv.
2448 (modules-names): Add tst-null-argv-lib.
2449 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2450 (tst-null-argv-ENV): Set environment for tst-null-argv.
2451 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2452 (RTLD_PROGNAME): New macro.
2453 * elf/tst-null-argv.c: New test case.
2454 * elf/tst-null-argv-lib.c: Library for test case.
2455 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2456 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2457 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2458 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2459 * elf/dl-init.c (call_init): Likewise.
2460 (_dl_init): Likewise.
2461 * elf/dl-load.c (print_search_path): Likewise.
2462 (_dl_map_object): Likewise.
2463 * elf/dl-lookup.c (do_lookup_x): Likewise.
2464 (add_dependency): Likewise.
2465 (_dl_lookup_symbol_x): Likewise.
2466 (_dl_debug_bindings): Likewise.
2467 * elf/dl-open.c (_dl_show_scope): Likewise.
2468 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2469 * elf/dl-version.c (match_symbol): Likewise.
2470 (_dl_check_map_versions): Likewise.
2471 * elf/rtld.c (dl_main): Likewise.
2472 (print_unresolved): Use RTLD_PROGNAME.
2473 (print_missing_version): Likewise.
2474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2475 (elf_machine_rela): Likewise.
2476 * sysdeps/powerpc/powerpc32/dl-machine.c
2477 (__process_machine_rela): Likewise.
2478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2479 Likewise.
2480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2481 Likewise.
2482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2483 Likewise.
2484 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2486 Likewise.
2487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2488 Likewise.
2489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2490
8a9f20c8
CD
24912013-05-28 Carlos O'Donell <carlos@redhat.com>
2492
2493 * po/be.po: Add descriptive title.
2494 * po/zh_CN.po: Likewise.
2495 * po/header.pot: Likewise.
2496
0e60d68e
MF
24972013-05-28 Mike Frysinger <vapier@gentoo.org>
2498
2499 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2500 error message.
2501 (enlarge_archive): Likewise.
2502
56b672e9
BN
25032013-05-28 Ben North <ben@redfrontdoor.org>
2504
2505 * manual/arith.texi (frexp): It is the magnitude of the return
2506 value which lies in [0.5, 1), not the return value itself.
2507
5e056687
AZ
25082013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
2510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2511
2b66ef5d
TS
25122013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2513
528c2405
TS
2514 * stdio-common/bug26.c (main): Correct fscanf template.
2515
07b4c13d
TS
2516 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2517 declare _dl_skip_args.
2518
ec9dd97c
TS
2519 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2520 Don't declare.
2521
2b66ef5d
TS
2522 * manual/platform.texi: Add missing @end deftypefun.
2523
4f8dfe27
JM
25242013-05-24 Joseph Myers <joseph@codesourcery.com>
2525
0323d086
JM
2526 [BZ #15529]
2527 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2528 bit of mantissa of 2^16382.
2529 * math/libm-test.inc (hypot_test_data): Add more tests.
2530
dd4259b9
JM
2531 * math/libm-test.inc: Add drem and pow10 to list of tested
2532 functions.
2533 (pow10_test): New function.
2534 (drem_test): Likewise.
2535 (drem_test_tonearest): Likewise.
2536 (drem_test_towardzero): Likewise.
2537 (drem_test_downward): Likewise.
2538 (drem_test_upward): Likewise.
2539 (main): Call the new functions.
2540
4f8dfe27
JM
2541 * math/libm-test.inc (finite_test_data): Remove.
2542 (finite_test): Run tests from isfinite_test_data.
2543 (gamma_test_data): Remove.
2544 (gamma_test): Run tests from lgamma_test_data.
2545 * sysdeps/i386/fpu/libm-test-ulps: Update.
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2547
d116b7c4
AZ
25482013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * manual/platform.texi: Add PowerPC PPR function set documentation.
2551 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2552 implementation.
2553
e96e3767
CD
25542013-05-24 Carlos O'Donell <carlos@redhat.com>
2555
2556 * math/libm-test.inc (MAX_EXP): Define.
2557 (ULPDIFF): Define.
2558 (ulp): New function.
2559 (check_float_internal): Use ULPDIFF.
2560 (cpow_test): Disable failing test.
2561 (check_ulp): Test ulp() implemetnation.
2562 (main): Call check_ulp before starting tests.
2563
b679a606
JM
25642013-05-24 Joseph Myers <joseph@codesourcery.com>
2565
e8bdba36
JM
2566 * math/gen-libm-test.pl (generate_testfile): Do not handle
2567 START_DATA and END_DATA.
2568 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2569 END_DATA.
2570 (acos_tonearest_test_data): Likewise.
2571 (acos_towardzero_test_data): Likewise.
2572 (acos_downward_test_data): Likewise.
2573 (acos_upward_test_data): Likewise.
2574 (acosh_test_data): Likewise.
2575 (asin_test_data): Likewise.
2576 (asin_tonearest_test_data): Likewise.
2577 (asin_towardzero_test_data): Likewise.
2578 (asin_downward_test_data): Likewise.
2579 (asin_upward_test_data): Likewise.
2580 (asinh_test_data): Likewise.
2581 (atan_test_data): Likewise.
2582 (atanh_test_data): Likewise.
2583 (atan2_test_data): Likewise.
2584 (cabs_test_data): Likewise.
2585 (cacos_test_data): Likewise.
2586 (cacosh_test_data): Likewise.
2587 (carg_test_data): Likewise.
2588 (casin_test_data): Likewise.
2589 (casinh_test_data): Likewise.
2590 (catan_test_data): Likewise.
2591 (catanh_test_data): Likewise.
2592 (cbrt_test_data): Likewise.
2593 (ccos_test_data): Likewise.
2594 (ccosh_test_data): Likewise.
2595 (ceil_test_data): Likewise.
2596 (cexp_test_data): Likewise.
2597 (cimag_test_data): Likewise.
2598 (clog_test_data): Likewise.
2599 (clog10_test_data): Likewise.
2600 (conj_test_data): Likewise.
2601 (copysign_test_data): Likewise.
2602 (cos_test_data): Likewise.
2603 (cos_tonearest_test_data): Likewise.
2604 (cos_towardzero_test_data): Likewise.
2605 (cos_downward_test_data): Likewise.
2606 (cos_upward_test_data): Likewise.
2607 (cosh_test_data): Likewise.
2608 (cosh_tonearest_test_data): Likewise.
2609 (cosh_towardzero_test_data): Likewise.
2610 (cosh_downward_test_data): Likewise.
2611 (cosh_upward_test_data): Likewise.
2612 (cpow_test_data): Likewise.
2613 (cproj_test_data): Likewise.
2614 (creal_test_data): Likewise.
2615 (csin_test_data): Likewise.
2616 (csinh_test_data): Likewise.
2617 (csqrt_test_data): Likewise.
2618 (ctan_test_data): Likewise.
2619 (ctan_tonearest_test_data): Likewise.
2620 (ctan_towardzero_test_data): Likewise.
2621 (ctan_downward_test_data): Likewise.
2622 (ctan_upward_test_data): Likewise.
2623 (ctanh_test_data): Likewise.
2624 (ctanh_tonearest_test_data): Likewise.
2625 (ctanh_towardzero_test_data): Likewise.
2626 (ctanh_downward_test_data): Likewise.
2627 (ctanh_upward_test_data): Likewise.
2628 (erf_test_data): Likewise.
2629 (erfc_test_data): Likewise.
2630 (exp_test_data): Likewise.
2631 (exp_tonearest_test_data): Likewise.
2632 (exp_towardzero_test_data): Likewise.
2633 (exp_downward_test_data): Likewise.
2634 (exp_upward_test_data): Likewise.
2635 (exp10_test_data): Likewise.
2636 (exp2_test_data): Likewise.
2637 (expm1_test_data): Likewise.
2638 (fabs_test_data): Likewise.
2639 (fdim_test_data): Likewise.
2640 (finite_test_data): Likewise.
2641 (floor_test_data): Likewise.
2642 (fma_test_data): Likewise.
2643 (fma_towardzero_test_data): Likewise.
2644 (fma_downward_test_data): Likewise.
2645 (fma_upward_test_data): Likewise.
2646 (fmax_test_data): Likewise.
2647 (fmin_test_data): Likewise.
2648 (fmod_test_data): Likewise.
2649 (fpclassify_test_data): Likewise.
2650 (frexp_test_data): Likewise.
2651 (gamma_test_data): Likewise.
2652 (hypot_test_data): Likewise.
2653 (ilogb_test_data): Likewise.
2654 (isfinite_test_data): Likewise.
2655 (isgreater_test_data): Likewise.
2656 (isgreaterequal_test_data): Likewise.
2657 (isinf_test_data): Likewise.
2658 (isless_test_data): Likewise.
2659 (islessequal_test_data): Likewise.
2660 (islessgreater_test_data): Likewise.
2661 (isnan_test_data): Likewise.
2662 (isnormal_test_data): Likewise.
2663 (issignaling_test_data): Likewise.
2664 (isunordered_test_data): Likewise.
2665 (j0_test_data): Likewise.
2666 (j1_test_data): Likewise.
2667 (jn_test_data): Likewise.
2668 (ldexp_test_data): Likewise.
2669 (lgamma_test_data): Likewise.
2670 (lrint_test_data): Likewise.
2671 (lrint_tonearest_test_data): Likewise.
2672 (lrint_towardzero_test_data): Likewise.
2673 (lrint_downward_test_data): Likewise.
2674 (lrint_upward_test_data): Likewise.
2675 (llrint_test_data): Likewise.
2676 (llrint_tonearest_test_data): Likewise.
2677 (llrint_towardzero_test_data): Likewise.
2678 (llrint_downward_test_data): Likewise.
2679 (llrint_upward_test_data): Likewise.
2680 (log_test_data): Likewise.
2681 (log10_test_data): Likewise.
2682 (log1p_test_data): Likewise.
2683 (log2_test_data): Likewise.
2684 (logb_test_data): Likewise.
2685 (logb_downward_test_data): Likewise.
2686 (lround_test_data): Likewise.
2687 (llround_test_data): Likewise.
2688 (modf_test_data): Likewise.
2689 (nearbyint_test_data): Likewise.
2690 (nextafter_test_data): Likewise.
2691 (nexttoward_test_data): Likewise.
2692 (pow_test_data): Likewise.
2693 (pow_tonearest_test_data): Likewise.
2694 (pow_towardzero_test_data): Likewise.
2695 (pow_downward_test_data): Likewise.
2696 (pow_upward_test_data): Likewise.
2697 (remainder_test_data): Likewise.
2698 (remainder_tonearest_test_data): Likewise.
2699 (remainder_towardzero_test_data): Likewise.
2700 (remainder_downward_test_data): Likewise.
2701 (remainder_upward_test_data): Likewise.
2702 (remquo_test_data): Likewise.
2703 (rint_test_data): Likewise.
2704 (rint_tonearest_test_data): Likewise.
2705 (rint_towardzero_test_data): Likewise.
2706 (rint_downward_test_data): Likewise.
2707 (rint_upward_test_data): Likewise.
2708 (round_test_data): Likewise.
2709 (scalb_test_data): Likewise.
2710 (scalbn_test_data): Likewise.
2711 (scalbln_test_data): Likewise.
2712 (signbit_test_data): Likewise.
2713 (sin_test_data): Likewise.
2714 (sin_tonearest_test_data): Likewise.
2715 (sin_towardzero_test_data): Likewise.
2716 (sin_downward_test_data): Likewise.
2717 (sin_upward_test_data): Likewise.
2718 (sincos_test_data): Likewise.
2719 (sinh_test_data): Likewise.
2720 (sinh_tonearest_test_data): Likewise.
2721 (sinh_towardzero_test_data): Likewise.
2722 (sinh_downward_test_data): Likewise.
2723 (sinh_upward_test_data): Likewise.
2724 (sqrt_test_data): Likewise.
2725 (tan_test_data): Likewise.
2726 (tan_tonearest_test_data): Likewise.
2727 (tan_towardzero_test_data): Likewise.
2728 (tan_downward_test_data): Likewise.
2729 (tan_upward_test_data): Likewise.
2730 (tanh_test_data): Likewise.
2731 (tgamma_test_data): Likewise.
2732 (trunc_test_data): Likewise.
2733 (y0_test_data): Likewise.
2734 (y1_test_data): Likewise.
2735 (yn_test_data): Likewise.
2736 (significand_test_data): Likewise.
2737
b679a606
JM
2738 * math/gen-libm-test.pl (@functions): Remove variable.
2739 (generate_testfile): Don't handle START and END lines.
2740 * math/libm-test.inc (START): New macro.
2741 (END): Likewise.
2742 (END_COMPLEX): Likewise.
2743 (acos_test): Use END macro without arguments.
2744 (acos_test_tonearest): Likewise.
2745 (acos_test_towardzero): Likewise.
2746 (acos_test_downward): Likewise.
2747 (acos_test_upward): Likewise.
2748 (acosh_test): Likewise.
2749 (asin_test): Likewise.
2750 (asin_test_tonearest): Likewise.
2751 (asin_test_towardzero): Likewise.
2752 (asin_test_downward): Likewise.
2753 (asin_test_upward): Likewise.
2754 (asinh_test): Likewise.
2755 (atan_test): Likewise.
2756 (atanh_test): Likewise.
2757 (atan2_test): Likewise.
2758 (cabs_test): Likewise.
2759 (cacos_test): Use END_COMPLEX macro without arguments.
2760 (cacosh_test): Likewise.
2761 (carg_test): Use END macro without arguments.
2762 (casin_test): Use END_COMPLEX macro without arguments.
2763 (casinh_test): Likewise.
2764 (catan_test): Likewise.
2765 (catanh_test): Likewise.
2766 (cbrt_test): Use END macro without arguments.
2767 (ccos_test): Use END_COMPLEX macro without arguments.
2768 (ccosh_test): Likewise.
2769 (ceil_test): Use END macro without arguments.
2770 (cexp_test): Use END_COMPLEX macro without arguments.
2771 (cimag_test): Use END macro without arguments.
2772 (clog_test): Use END_COMPLEX macro without arguments.
2773 (clog10_test): Likewise.
2774 (conj_test): Likewise.
2775 (copysign_test): Use END macro without arguments.
2776 (cos_test): Likewise.
2777 (cos_test_tonearest): Likewise.
2778 (cos_test_towardzero): Likewise.
2779 (cos_test_downward): Likewise.
2780 (cos_test_upward): Likewise.
2781 (cosh_test): Likewise.
2782 (cosh_test_tonearest): Likewise.
2783 (cosh_test_towardzero): Likewise.
2784 (cosh_test_downward): Likewise.
2785 (cosh_test_upward): Likewise.
2786 (cpow_test): Use END_COMPLEX macro without arguments.
2787 (cproj_test): Likewise.
2788 (creal_test): Use END macro without arguments.
2789 (csin_test): Use END_COMPLEX macro without arguments.
2790 (csinh_test): Likewise.
2791 (csqrt_test): Likewise.
2792 (ctan_test): Likewise.
2793 (ctan_test_tonearest): Likewise.
2794 (ctan_test_towardzero): Likewise.
2795 (ctan_test_downward): Likewise.
2796 (ctan_test_upward): Likewise.
2797 (ctanh_test): Likewise.
2798 (ctanh_test_tonearest): Likewise.
2799 (ctanh_test_towardzero): Likewise.
2800 (ctanh_test_downward): Likewise.
2801 (ctanh_test_upward): Likewise.
2802 (erf_test): Use END macro without arguments.
2803 (erfc_test): Likewise.
2804 (exp_test): Likewise.
2805 (exp_test_tonearest): Likewise.
2806 (exp_test_towardzero): Likewise.
2807 (exp_test_downward): Likewise.
2808 (exp_test_upward): Likewise.
2809 (exp10_test): Likewise.
2810 (exp2_test): Likewise.
2811 (expm1_test): Likewise.
2812 (fabs_test): Likewise.
2813 (fdim_test): Likewise.
2814 (finite_test): Likewise.
2815 (floor_test): Likewise.
2816 (fma_test): Likewise.
2817 (fma_test_towardzero): Likewise.
2818 (fma_test_downward): Likewise.
2819 (fma_test_upward): Likewise.
2820 (fmax_test): Likewise.
2821 (fmin_test): Likewise.
2822 (fmod_test): Likewise.
2823 (fpclassify_test): Likewise.
2824 (frexp_test): Likewise.
2825 (gamma_test): Likewise.
2826 (hypot_test): Likewise.
2827 (ilogb_test): Likewise.
2828 (isfinite_test): Likewise.
2829 (isgreater_test): Likewise.
2830 (isgreaterequal_test): Likewise.
2831 (isinf_test): Likewise.
2832 (isless_test): Likewise.
2833 (islessequal_test): Likewise.
2834 (islessgreater_test): Likewise.
2835 (isnan_test): Likewise.
2836 (isnormal_test): Likewise.
2837 (issignaling_test): Likewise.
2838 (isunordered_test): Likewise.
2839 (j0_test): Likewise.
2840 (j1_test): Likewise.
2841 (jn_test): Likewise.
2842 (ldexp_test): Likewise.
2843 (lgamma_test): Likewise.
2844 (lrint_test): Likewise.
2845 (lrint_test_tonearest): Likewise.
2846 (lrint_test_towardzero): Likewise.
2847 (lrint_test_downward): Likewise.
2848 (lrint_test_upward): Likewise.
2849 (llrint_test): Likewise.
2850 (llrint_test_tonearest): Likewise.
2851 (llrint_test_towardzero): Likewise.
2852 (llrint_test_downward): Likewise.
2853 (llrint_test_upward): Likewise.
2854 (log_test): Likewise.
2855 (log10_test): Likewise.
2856 (log1p_test): Likewise.
2857 (log2_test): Likewise.
2858 (logb_test): Likewise.
2859 (logb_test_downward): Likewise.
2860 (lround_test): Likewise.
2861 (llround_test): Likewise.
2862 (modf_test): Likewise.
2863 (nearbyint_test): Likewise.
2864 (nextafter_test): Likewise.
2865 (nexttoward_test): Likewise.
2866 (pow_test): Likewise.
2867 (pow_test_tonearest): Likewise.
2868 (pow_test_towardzero): Likewise.
2869 (pow_test_downward): Likewise.
2870 (pow_test_upward): Likewise.
2871 (remainder_test): Likewise.
2872 (remainder_test_tonearest): Likewise.
2873 (remainder_test_towardzero): Likewise.
2874 (remainder_test_downward): Likewise.
2875 (remainder_test_upward): Likewise.
2876 (remquo_test): Likewise.
2877 (rint_test): Likewise.
2878 (rint_test_tonearest): Likewise.
2879 (rint_test_towardzero): Likewise.
2880 (rint_test_downward): Likewise.
2881 (rint_test_upward): Likewise.
2882 (round_test): Likewise.
2883 (scalb_test): Likewise.
2884 (scalbn_test): Likewise.
2885 (scalbln_test): Likewise.
2886 (signbit_test): Likewise.
2887 (sin_test): Likewise.
2888 (sin_test_tonearest): Likewise.
2889 (sin_test_towardzero): Likewise.
2890 (sin_test_downward): Likewise.
2891 (sin_test_upward): Likewise.
2892 (sincos_test): Likewise.
2893 (sinh_test): Likewise.
2894 (sinh_test_tonearest): Likewise.
2895 (sinh_test_towardzero): Likewise.
2896 (sinh_test_downward): Likewise.
2897 (sinh_test_upward): Likewise.
2898 (sqrt_test): Likewise.
2899 (tan_test): Likewise.
2900 (tan_test_tonearest): Likewise.
2901 (tan_test_towardzero): Likewise.
2902 (tan_test_downward): Likewise.
2903 (tan_test_upward): Likewise.
2904 (tanh_test): Likewise.
2905 (tgamma_test): Likewise.
2906 (trunc_test): Likewise.
2907 (y0_test): Likewise.
2908 (y1_test): Likewise.
2909 (yn_test): Likewise.
2910 (significand_test): Likewise.
2911
bae143d2
OB
29122013-05-24 Ondřej Bílka <neleai@seznam.cz>
2913
2914 [BZ #15381]
2915 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2916
9323d39b
EM
29172013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2918
d4ea44a0 2919 [BZ #14894]
9323d39b
EM
2920 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2921 __ppc_mdoio and __ppc_mdoom.
2922 * manual/platform.texi: Document new functions __ppc_yield,
2923 __ppc_mdoio and __ppc_mdoom.
2924
13e23af7
CD
29252013-05-22 Carlos O'Donell <carlos@redhat.com>
2926
2927 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2928 (main): Mention "tls" pseudo-hwcap is legacy.
2929 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2930
351fe550
JM
29312013-05-22 Joseph Myers <joseph@codesourcery.com>
2932
2933 * math/gen-libm-test.pl (parse_args): Output only string of
2934 arguments as text for test name, not full call or descriptions of
2935 tests for extra outputs.
2936 (generate_testfile): Do not pass function name to parse_args.
2937 Generate this_func variable from START.
2938 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2939 field to arg_str.
2940 (struct test_ff_f_data): Likewise.
2941 (test_ff_f_data_nexttoward): Likewise.
2942 (struct test_fi_f_data): Likewise.
2943 (struct test_fl_f_data): Likewise.
2944 (struct test_if_f_data): Likewise.
2945 (struct test_fff_f_data): Likewise.
2946 (struct test_c_f_data): Likewise.
2947 (struct test_f_f1_data): Likewise. Remove field extra_name.
2948 (struct test_fF_f1_data): Likewise.
2949 (struct test_ffI_f1_data): Likewise.
2950 (struct test_c_c_data): Rename test_name field to arg_str.
2951 (struct test_cc_c_data): Likewise.
2952 (struct test_f_i_data): Likewise.
2953 (struct test_ff_i_data): Likewise.
2954 (struct test_f_l_data): Likewise.
2955 (struct test_f_L_data): Likewise.
2956 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2957 and extra2_name.
2958 (COMMON_TEST_SETUP): New macro.
2959 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2960 (COMMON_TEST_CLEANUP): Likewise.
2961 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2962 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2963 macros.
2964 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2965 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2966 macros.
2967 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2968 (RUN_TEST_fff_f): Take argument string. Call new setup and
2969 cleanup macros.
2970 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2971 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2972 macros.
2973 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2974 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2975 macros.
2976 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2977 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2978 cleanup macros.
2979 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2980 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2981 cleanup macros.
2982 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2983 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2984 cleanup macros.
2985 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2986 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2987 macros.
2988 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2989 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2990 macros.
2991 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2992 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2993 macros.
2994 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2995 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2996 cleanup macros.
2997 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2998 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2999 cleanup macros.
3000 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3001 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3002 macros.
3003 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3004 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3005 cleanup macros.
3006 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3007 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3008 macros.
3009 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3010 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3011 macros.
3012 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3013 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3014 cleanup macros.
3015 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3016
85118d4d
EBM
30172013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3018
3019 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3020 to _sifields.sigfault.
3021 (si_addr_lsb): Define new macro.
3022 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3023 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3024 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3025
7a44c18f
CD
30262013-05-03 Carlos O'Donell <carlos at redhat.com>
3027
3028 [BZ #15441]
3029 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3030 returns -1.
3031 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3032 null return -1.
3033 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3034 loading the domain.
3035
b50a7181
JM
30362013-05-22 Joseph Myers <joseph@codesourcery.com>
3037
3038 * math/gen-libm-test.pl (parse_args): Do not include expected
3039 result in test name.
3040 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3042 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3046
051063c8
SP
30472013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3048
3ce9e010
SP
3049 * benchtests/Makefile: Sort function entries.
3050
051063c8
SP
3051 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3052 tanh, asinh, acosh, atanh.
3053 * benchtests/acos-inputs: New file.
3054 * benchtests/acosh-inputs: New file.
3055 * benchtests/asin-inputs: New file.
3056 * benchtests/asinh-inputs: New file.
3057 * benchtests/atanh-inputs: New file.
3058 * benchtests/cosh-inputs: New file.
3059 * benchtests/log-inputs: New file.
3060 * benchtests/sinh-inputs: New file.
3061 * benchtests/tanh-inputs: New file.
3062
47c22455
DL
30632013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3064
3065 [BZ #15339]
3066 * posix/tst-getaddrinfo4.c: New test.
3067 * posix/Makefile (tests): Add it.
3068
3d04f5db
SP
30692013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3070
3071 [BZ #15339]
3072 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3073 when no services were used.
3074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3075 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3076
d5dd6189
AS
30772013-05-21 Andreas Schwab <schwab@suse.de>
3078
3079 [BZ #15014]
3080 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3081 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3082 successful.
3083 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3084 redundant variable declarations and reallocation of buffer when
3085 parsing as IPv6 address. Always set NSS status when called from
3086 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3087 buffer too small. Correct computation of needed size.
3088 * nss/Makefile (tests): Add test-digits-dots.
3089 * nss/test-digits-dots.c: New test.
3090
fef94eab
SP
30912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 * benchtests/Makefile: Remove instructions for adding
3094 benchmark tests.
3095 * benchtests/README: New file to explain how to execute and
3096 enhance the benchmark tests.
3097
e39adf43
AS
30982013-05-21 Andreas Schwab <schwab@suse.de>
3099
3100 [BZ #15493]
3101 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3102 * setjmp/tst-sigsetjmp.c: New test.
3103
b2b671b6
OB
31042013-05-20 Ondřej Bílka <neleai@seznam.cz>
3105
3106 * sysdeps/x86_64/memset.S (memset): New implementation.
3107 (__bzero): Likewise.
3108 (__memset_tail): New function.
3109
2d48b41c
OB
31102013-05-20 Ondřej Bílka <neleai@seznam.cz>
3111
3112 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3113 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3114 __memcpy_sse2_unaligned ifunc selection.
3115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3116 Add memcpy-sse2-unaligned.S.
3117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3118 Add: __memcpy_sse2_unaligned.
3119
f16cc3eb
JM
31202013-05-19 Joseph Myers <joseph@codesourcery.com>
3121
3e694268
JM
3122 [BZ #15490]
3123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3124 math_force_eval before restoring floating-point envrionment.
3125 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3127 Likewise.
3128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3129 <math_private.h>.
3130 (__nearbyintl): Use math_force_eval before restoring
3131 floating-point environment.
3132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3133
db62a907
JM
3134 * math/gen-libm-test.pl (special_functions): Remove.
3135 (parse_args): Don't handle TEST_extra. Handle functions with no
3136 return value.
3137 * math/libm-test.inc (struct test_sincos_data): Replace with
3138 struct test_fFF_11_data.
3139 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3140 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3141 (sincos_test_data): Change element type to struct
3142 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3143 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3144 RUN_TEST_LOOP_sincos.
3145 * math/README.libm-test: Don't mention special handling of
3146 individual functions.
3147 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3149 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3151 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
f16cc3eb
JM
3154 * math/gen-libm-test.pl (get_variable): Remove function.
3155 (parse_args): Don't show pointer parameters to call in test
3156 names. Use "extra output N" in test names for extra outputs
3157 rather than naming variables.
3158
3779b5b6
JM
31592013-05-18 Joseph Myers <joseph@codesourcery.com>
3160
2ee094ff
JM
3161 [BZ #15488]
3162 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3163 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3164 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3165 double tests.
3166 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3167 disable.
3168 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3169 check_long_double.
3170
3779b5b6
JM
3171 * math/gen-libm-test.pl (@tests): Remove variable.
3172 ($count): Likewise.
3173 (new_test): Remove function.
3174 (show_exceptions): New function.
3175 (special_functions): Use show_exceptions instead of new_test.
3176 (parse_args): Likewise.
3177 (generate_testfile): Pass only function name in generated call to
3178 print_max_error or print_complex_max_error.
3179 (get_ulps): Do not handle complex tests specially.
3180 (output_test): Rename to ...
3181 (get_all_ulps_for_test): ... this. Return a string rather than
3182 printing to a file. Require ulps to be present.
3183 (output_ulps): Generate arrays rather than #defines.
3184 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3185 (struct ulp_data): New type.
3186 (BUILD_COMPLEX_ULP): Remove macro.
3187 (compare_ulp_data): New function.
3188 (find_ulps): Likewise.
3189 (find_test_ulps): Likewise.
3190 (find_function_ulps): Likewise.
3191 (find_complex_function_ulps): Likewise.
3192 (print_max_error): Determine allowed ulps using
3193 find_function_ulps.
3194 (print_complex_max_error): Determine allowed ulps using
3195 find_complex_function_ulps.
3196 (check_float_internal): Determine max ulps using find_test_ulps.
3197 (check_float): Do not take max_ulp parameter. Update call to
3198 check_float_internal.
3199 (check_complex): Likewise.
3200 (check_int): Do not take max_ulp parameter.
3201 (check_long): Likewise.
3202 (check_bool): Likewise.
3203 (check_longlong): Likewise.
3204 (struct test_f_f_data): Remove max_ulp field.
3205 (struct test_ff_f_data): Likewise.
3206 (struct test_ff_f_data_nexttoward): Likewise.
3207 (struct test_fi_f_data): Likewise.
3208 (struct test_fl_f_data): Likewise.
3209 (struct test_if_f_data): Likewise.
3210 (struct test_fff_f_data): Likewise.
3211 (struct test_c_f_data): Likewise.
3212 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3213 (struct test_fF_f1_data): Likewise.
3214 (struct test_ffI_f1_data): Likewise.
3215 (struct test_c_c_data): Remove max_ulp field.
3216 (struct test_cc_c_data): Likewise.
3217 (struct test_f_i_data): Likewise.
3218 (struct test_ff_i_data): Likewise.
3219 (struct test_f_l_data): Likewise.
3220 (struct test_f_L_data): Likewise.
3221 (struct test_sincos_data): Likewise.
3222 (RUN_TEST_f_f): Do not handle ulps.
3223 (RUN_TEST_LOOP_f_f): Likewise.
3224 (RUN_TEST_2_f): Likewise.
3225 (RUN_TEST_LOOP_2_f): Likewise.
3226 (RUN_TEST_fff_f): Likewise.
3227 (RUN_TEST_LOOP_fff_f): Likewise.
3228 (RUN_TEST_c_f): Likewise.
3229 (RUN_TEST_LOOP_c_f): Likewise.
3230 (RUN_TEST_f_f1): Likewise.
3231 (RUN_TEST_LOOP_f_f1): Likewise.
3232 (RUN_TEST_fF_f1): Likewise.
3233 (RUN_TEST_LOOP_fF_f1): Likewise.
3234 (RUN_TEST_fI_f1): Likewise.
3235 (RUN_TEST_LOOP_fI_f1): Likewise.
3236 (RUN_TEST_ffI_f1): Likewise.
3237 (RUN_TEST_LOOP_ffI_f1): Likewise.
3238 (RUN_TEST_c_c): Likewise.
3239 (RUN_TEST_LOOP_c_c): Likewise.
3240 (RUN_TEST_cc_c): Likewise.
3241 (RUN_TEST_LOOP_cc_c): Likewise.
3242 (RUN_TEST_f_i): Likewise.
3243 (RUN_TEST_LOOP_f_i): Likewise.
3244 (RUN_TEST_f_i_tg): Likewise.
3245 (RUN_TEST_LOOP_f_i_tg): Likewise.
3246 (RUN_TEST_ff_i_tg): Likewise.
3247 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3248 (RUN_TEST_f_b): Likewise.
3249 (RUN_TEST_LOOP_f_b): Likewise.
3250 (RUN_TEST_f_b_tg): Likewise.
3251 (RUN_TEST_LOOP_f_b_tg): Likewise.
3252 (RUN_TEST_f_l): Likewise.
3253 (RUN_TEST_LOOP_f_l): Likewise.
3254 (RUN_TEST_f_L): Likewise.
3255 (RUN_TEST_LOOP_f_L): Likewise.
3256 (RUN_TEST_sincos): Likewise.
3257 (RUN_TEST_LOOP_sincos): Likewise.
3258
8269107f
JM
32592013-05-17 Joseph Myers <joseph@codesourcery.com>
3260
bb38759d
JM
3261 [BZ #15480]
3262 [BZ #15485]
3263 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3264 main case of finite arguments, set rounding mode to FE_TONEAREST
3265 and discard exceptions.
3266 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3267 exceptions.
3268 (remainder_tonearest_test_data): New variable.
3269 (remainder_test_tonearest): New function.
3270 (remainder_towardzero_test_data): New variable.
3271 (remainder_test_towardzero): New function.
3272 (remainder_downward_test_data): New variable.
3273 (remainder_test_downward): New function.
3274 (remainder_upward_test_data): New variable.
3275 (remainder_test_upward): New function.
3276 (main): Call the new test functions.
3277
a00bdcf0
JM
3278 * math/libm-test.inc (struct test_f_f1_data): Remove field
3279 extra_init.
3280 (struct test_fF_f1_data): Likewise.
3281 (struct test_ffI_f1_data): Likewise.
3282 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3283 based on value of EXTRA_EXPECTED.
3284 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3285 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3286 EXTRA_VAR based on value of EXTRA_EXPECTED.
3287 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3288 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3289 EXTRA_VAR based on value of EXTRA_EXPECTED.
3290 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3291 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3292 EXTRA_VAR based on value of EXTRA_EXPECTED.
3293 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3294 * math/gen-libm-test.pl (parse_args): Don't output initializers
3295 for extra output values.
3296
de407f79
JM
3297 * math/libm-test.inc (check_int): Expect result to be exactly
3298 equal to expected value and do not handle ulps.
3299 (check_long): Likewise.
3300 (check_longlong): Likewise.
3301
8269107f
JM
3302 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3303 exceptions.
3304 (cimag_test_data): Likewise.
3305 (conj_test_data): Likewise.
3306 (copysign_test_data): Likewise.
3307 (cproj_test_data): Likewise.
3308 (creal_test_data): Likewise.
3309 (fabs_test_data): Likewise.
3310 (fdim_test_data): Likewise.
3311 (finite_test_data): Likewise.
3312 (floor_test_data): Likewise.
3313 (fmax_test_data): Likewise.
3314 (fmin_test_data): Likewise.
3315 (fmod_test_data): Likewise.
3316 (fpclassify_test_data): Likewise.
3317 (frexp_test_data): Likewise.
3318 (ilogb_test_data): Likewise.
3319 (isfinite_test_data): Likewise.
3320 (isgreater_test_data): Likewise.
3321 (isgreaterequal_test_data): Likewise.
3322 (isinf_test_data): Likewise.
3323 (isless_test_data): Likewise.
3324 (islessequal_test_data): Likewise.
3325 (islessgreater_test_data): Likewise.
3326 (isnan_test_data): Likewise.
3327 (isnormal_test_data): Likewise.
3328 (issignaling_test_data): Likewise.
3329 (isunordered_test_data): Likewise.
3330 (ldexp_test_data): Likewise.
3331 (lrint_test_data): Likewise.
3332 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3333 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3334 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3335 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3336 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3337 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3338 test input.
3339 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3340 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3341 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3342 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3343 that test input.
3344 (lrint_downward_test_data): Test for "inexact" exceptions.
3345 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3346 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3347 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3348 test input.
3349 (lrint_upward_test_data): Test for "inexact" exceptions.
3350 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3351 test input.
3352 (llrint_test_data): Test for "inexact" exceptions.
3353 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3354 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3355 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3356 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3357 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3358 (llrint_downward_test_data): Test for "inexact" exceptions.
3359 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3360 (llrint_upward_test_data): Test for "inexact" exceptions.
3361 (logb_test_data): Likewise.
3362 (logb_downward_test_data): Likewise.
3363 (nextafter_test_data): Likewise.
3364 (nexttoward_test_data): Likewise.
3365 (remainder_test_data): Likewise.
3366 (remquo_test_data): Likewise.
3367 (scalbn_test_data): Likewise.
3368 (scalbln_test_data): Likewise.
3369 (signbit_test_data): Likewise.
3370 (sqrt_test_data): Likewise.
3371 (significand_test_data): Likewise.
3372
48a18de1
SP
33732013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3374
3375 [BZ #15424]
3376 * benchtests/bench-modf.c (struct args): Mark arg0 as
3377 volatile.
3378 * scripts/bench.pl: Mark members of struct args as volatile.
3379
13d3b41a
AZ
33802013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3381
68191c1d 3382 [BZ # 15497]
13d3b41a
AZ
3383 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3384 negative infinity on POWER6 or lower.
3385 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3386
2848b105
MR
33872013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3388
3389 [BZ #15442]
3390 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3391 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3392 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3393 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3394 (_FP_SETQNAN): New macro.
3395 (_FP_SETQNAN_SEMIRAW): Likewise.
3396 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3397 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3398 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3399 (FP_EXTEND): Use _FP_FRAC_SNANP.
3400 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3401 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3402 into account.
3403 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3404 New macro.
3405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3406 Likewise.
3407
323e5cb7
JM
34082013-05-16 Joseph Myers <joseph@codesourcery.com>
3409
c58b274f
JM
3410 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3411 with DIVIDE_BY_ZERO_EXCEPTION.
3412 (gamma_test_data): Likewise.
3413 (lgamma_test_data): Likewise.
3414 (log_test_data): Likewise.
3415 (log10_test_data): Likewise.
3416 (log2_test_data): Likewise.
3417 (tgamma_test_data): Likewise.
3418
0ab34904
JM
3419 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3420 (acos_test_tonearest): Likewise.
3421 (acos_test_towardzero): Likewise.
3422 (acos_test_downward): Likewise.
3423 (acos_test_upward): Likewise.
3424 (acosh_test): Likewise.
3425 (asin_test): Likewise.
3426 (asin_test_tonearest): Likewise.
3427 (asin_test_towardzero): Likewise.
3428 (asin_test_downward): Likewise.
3429 (asin_test_upward): Likewise.
3430 (asinh_test): Likewise.
3431 (atan_test): Likewise.
3432 (atanh_test): Likewise.
3433 (atan2_test): Likewise.
3434 (cabs_test): Likewise.
3435 (cacos_test): Likewise.
3436 (cacosh_test): Likewise.
3437 (casin_test): Likewise.
3438 (casinh_test): Likewise.
3439 (catan_test): Likewise.
3440 (catanh_test): Likewise.
3441 (cbrt_test): Likewise.
3442 (ccos_test): Likewise.
3443 (ccosh_test): Likewise.
3444 (cexp_test): Likewise.
3445 (clog_test): Likewise.
3446 (clog10_test): Likewise.
3447 (cos_test): Likewise.
3448 (cos_test_tonearest): Likewise.
3449 (cos_test_towardzero): Likewise.
3450 (cos_test_downward): Likewise.
3451 (cos_test_upward): Likewise.
3452 (cosh_test): Likewise.
3453 (cosh_test_tonearest): Likewise.
3454 (cosh_test_towardzero): Likewise.
3455 (cosh_test_downward): Likewise.
3456 (cosh_test_upward): Likewise.
3457 (cpow_test): Likewise.
3458 (csin_test): Likewise.
3459 (csinh_test): Likewise.
3460 (csqrt_test): Likewise.
3461 (ctan_test): Likewise.
3462 (ctan_test_tonearest): Likewise.
3463 (ctan_test_towardzero): Likewise.
3464 (ctan_test_downward): Likewise.
3465 (ctan_test_upward): Likewise.
3466 (ctanh_test): Likewise.
3467 (ctanh_test_tonearest): Likewise.
3468 (ctanh_test_towardzero): Likewise.
3469 (ctanh_test_downward): Likewise.
3470 (ctanh_test_upward): Likewise.
3471 (erf_test): Likewise.
3472 (erfc_test): Likewise.
3473 (exp_test): Likewise.
3474 (exp_test_tonearest): Likewise.
3475 (exp_test_towardzero): Likewise.
3476 (exp_test_downward): Likewise.
3477 (exp_test_upward): Likewise.
3478 (exp10_test): Likewise.
3479 (exp2_test): Likewise.
3480 (expm1_test): Likewise.
3481 (fmod_test): Likewise.
3482 (gamma_test): Likewise.
3483 (hypot_test): Likewise.
3484 (j0_test): Likewise.
3485 (j1_test): Likewise.
3486 (jn_test): Likewise.
3487 (lgamma_test): Likewise.
3488 (log_test): Likewise.
3489 (log10_test): Likewise.
3490 (log1p_test): Likewise.
3491 (log2_test): Likewise.
3492 (logb_test_downward): Likewise.
3493 (pow_test): Likewise.
3494 (pow_test_tonearest): Likewise.
3495 (pow_test_towardzero): Likewise.
3496 (pow_test_downward): Likewise.
3497 (pow_test_upward): Likewise.
3498 (remainder_test): Likewise.
3499 (remquo_test): Likewise.
3500 (sin_test): Likewise.
3501 (sin_test_tonearest): Likewise.
3502 (sin_test_towardzero): Likewise.
3503 (sin_test_downward): Likewise.
3504 (sin_test_upward): Likewise.
3505 (sincos_test): Likewise.
3506 (sinh_test): Likewise.
3507 (sinh_test_tonearest): Likewise.
3508 (sinh_test_towardzero): Likewise.
3509 (sinh_test_downward): Likewise.
3510 (sinh_test_upward): Likewise.
3511 (sqrt_test): Likewise.
3512 (tan_test): Likewise.
3513 (tan_test_tonearest): Likewise.
3514 (tan_test_towardzero): Likewise.
3515 (tan_test_downward): Likewise.
3516 (tan_test_upward): Likewise.
3517 (tanh_test): Likewise.
3518 (tgamma_test): Likewise.
3519 (y0_test): Likewise.
3520 (y1_test): Likewise.
3521 (yn_test): Likewise.
3522
323e5cb7
JM
3523 * math/gen-libm-test.pl (adjust_arg): Remove function.
3524 (special_function): Remove argument $in_func. Only handle
3525 generating output for tables of tests, not inside functions.
3526 (parse_args): Likewise.
3527 (generate_testfile): Remove variable $in_func. Update call to
3528 parse_args.
3529 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3530 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3531 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3532 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3533 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3534 (MAX_VALUE_INIT): Rename macro to max_value.
3535 (MIN_VALUE_INIT): Rename macro to min_value.
3536 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3537 (plus_zero): Remove variable.
3538 (minus_zero): Likewise.
3539 (plus_infty): Likewise.
3540 (minus_infty): Likewise.
3541 (qnan_value): Likewise.
3542 (max_value): Likewise.
3543 (min_value): Likewise.
3544 (min_subnorm_value): Likewise.
3545
e054f494
RA
35462013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3547
3548 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3549 uint64_t or uint32_t usage.
3550 * crypt/sha256-block.c: Likewise.
3551 * crypt/sha256-crypt.c: Likewise.
3552 * crypt/sha256.c: Likewise.
3553 * crypt/sha512-block.c: Likewise.
3554 * crypt/sha512-crypt.c: Likewise.
3555 * crypt/sha512.c: Likewise.
3556 * debug/backtrace-tst.c: Likewise.
3557 * debug/pcprofiledump.c: Likewise.
3558 * elf/cache.c: Likewise.
3559 * elf/dl-cache.c: Likewise.
3560 * elf/dl-misc.c: Likewise.
3561 * elf/dl-profile.c: Likewise.
3562 * elf/dl-support.c: Likewise.
3563 * elf/ldconfig.c: Likewise.
3564 * elf/sprof.c: Likewise.
3565 * iconv/dummy-repertoire.c: Likewise.
3566 * iconv/iconv_charmap.c: Likewise.
3567 * iconv/skeleton.c: Likewise.
3568 * iconvdata/8bit-generic.c: Likewise.
3569 * iconvdata/cp737.h: Likewise.
3570 * iconvdata/cp775.h: Likewise.
3571 * iconvdata/ibm1008.h: Likewise.
3572 * iconvdata/ibm1025.h: Likewise.
3573 * iconvdata/ibm1046.h: Likewise.
3574 * iconvdata/ibm1097.h: Likewise.
3575 * iconvdata/ibm1112.h: Likewise.
3576 * iconvdata/ibm1122.h: Likewise.
3577 * iconvdata/ibm1123.h: Likewise.
3578 * iconvdata/ibm1124.h: Likewise.
3579 * iconvdata/ibm1129.h: Likewise.
3580 * iconvdata/ibm1130.h: Likewise.
3581 * iconvdata/ibm1132.h: Likewise.
3582 * iconvdata/ibm1133.h: Likewise.
3583 * iconvdata/ibm1137.h: Likewise.
3584 * iconvdata/ibm1140.h: Likewise.
3585 * iconvdata/ibm1141.h: Likewise.
3586 * iconvdata/ibm1142.h: Likewise.
3587 * iconvdata/ibm1143.h: Likewise.
3588 * iconvdata/ibm1144.h: Likewise.
3589 * iconvdata/ibm1145.h: Likewise.
3590 * iconvdata/ibm1146.h: Likewise.
3591 * iconvdata/ibm1147.h: Likewise.
3592 * iconvdata/ibm1148.h: Likewise.
3593 * iconvdata/ibm1149.h: Likewise.
3594 * iconvdata/ibm1153.h: Likewise.
3595 * iconvdata/ibm1154.h: Likewise.
3596 * iconvdata/ibm1155.h: Likewise.
3597 * iconvdata/ibm1156.h: Likewise.
3598 * iconvdata/ibm1157.h: Likewise.
3599 * iconvdata/ibm1158.h: Likewise.
3600 * iconvdata/ibm1160.h: Likewise.
3601 * iconvdata/ibm1161.h: Likewise.
3602 * iconvdata/ibm1162.h: Likewise.
3603 * iconvdata/ibm1163.h: Likewise.
3604 * iconvdata/ibm1164.h: Likewise.
3605 * iconvdata/ibm1166.h: Likewise.
3606 * iconvdata/ibm1167.h: Likewise.
3607 * iconvdata/ibm12712.h: Likewise.
3608 * iconvdata/ibm1390.h: Likewise.
3609 * iconvdata/ibm1399.h: Likewise.
3610 * iconvdata/ibm16804.h: Likewise.
3611 * iconvdata/ibm4517.h: Likewise.
3612 * iconvdata/ibm4899.h: Likewise.
3613 * iconvdata/ibm4909.h: Likewise.
3614 * iconvdata/ibm4971.h: Likewise.
3615 * iconvdata/ibm5347.h: Likewise.
3616 * iconvdata/ibm803.h: Likewise.
3617 * iconvdata/ibm856.h: Likewise.
3618 * iconvdata/ibm901.h: Likewise.
3619 * iconvdata/ibm902.h: Likewise.
3620 * iconvdata/ibm9030.h: Likewise.
3621 * iconvdata/ibm9066.h: Likewise.
3622 * iconvdata/ibm921.h: Likewise.
3623 * iconvdata/ibm922.h: Likewise.
3624 * iconvdata/ibm9448.h: Likewise.
3625 * iconvdata/isiri-3342.h: Likewise.
3626 * iconvdata/jis0201.h: Likewise.
3627 * include/link.h: Likewise.
3628 * include/netdb.h: Likewise.
3629 * inet/check_native.c: Likewise.
3630 * inet/check_pf.c: Likewise.
3631 * inet/getipv4sourcefilter.c: Likewise.
3632 * inet/getnameinfo.c: Likewise.
3633 * inet/getsourcefilter.c: Likewise.
3634 * inet/htonl.c: Likewise.
3635 * inet/setipv4sourcefilter.c: Likewise.
3636 * inet/setsourcefilter.c: Likewise.
3637 * inet/test-inet6_opt.c: Likewise.
3638 * inet/tst-network.c: Likewise.
3639 * locale/C-collate.c: Likewise.
3640 * locale/C-ctype.c: Likewise.
3641 * locale/C-time.c: Likewise.
3642 * locale/C-translit.h: Likewise.
3643 * locale/loadarchive.c: Likewise.
3644 * locale/programs/3level.h: Likewise.
3645 * locale/programs/charmap.c: Likewise.
3646 * locale/programs/charmap.h: Likewise.
3647 * locale/programs/ld-address.c: Likewise.
3648 * locale/programs/ld-collate.c: Likewise.
3649 * locale/programs/ld-ctype.c: Likewise.
3650 * locale/programs/ld-identification.c: Likewise.
3651 * locale/programs/ld-measurement.c: Likewise.
3652 * locale/programs/ld-messages.c: Likewise.
3653 * locale/programs/ld-monetary.c: Likewise.
3654 * locale/programs/ld-name.c: Likewise.
3655 * locale/programs/ld-numeric.c: Likewise.
3656 * locale/programs/ld-paper.c: Likewise.
3657 * locale/programs/ld-telephone.c: Likewise.
3658 * locale/programs/ld-time.c: Likewise.
3659 * locale/programs/linereader.c: Likewise.
3660 * locale/programs/locale.c: Likewise.
3661 * locale/programs/locarchive.c: Likewise.
3662 * locale/programs/locfile.h: Likewise.
3663 * locale/programs/repertoire.c: Likewise.
3664 * locale/programs/simple-hash.c: Likewise.
3665 * locale/programs/simple-hash.h: Likewise.
3666 * malloc/memusage.c: Likewise.
3667 * malloc/memusagestat.c: Likewise.
3668 * nis/nis_defaults.c: Likewise.
3669 * nis/nis_hash.c: Likewise.
3670 * nis/nis_print.c: Likewise.
3671 * nis/nis_xdr.c: Likewise.
3672 * nscd/connections.c: Likewise.
3673 * nscd/hstcache.c: Likewise.
3674 * nscd/nscd_gethst_r.c: Likewise.
3675 * nscd/nscd_getserv_r.c: Likewise.
3676 * nscd/nscd_helper.c: Likewise.
3677 * nscd/servicescache.c: Likewise.
3678 * nss/makedb.c: Likewise.
3679 * nss/nss_db/db-XXX.c: Likewise.
3680 * nss/nss_db/db-initgroups.c: Likewise.
3681 * nss/nss_db/db-netgrp.c: Likewise.
3682 * nss/nss_files/files-network.c: Likewise.
3683 * nss/nss_files/files-parse.c: Likewise.
3684 * posix/bug-regex5.c: Likewise.
3685 * posix/fnmatch_loop.c: Likewise.
3686 * posix/regcomp.c: Likewise.
3687 * posix/regexec.c: Likewise.
3688 * posix/tst-rfc3484-2.c: Likewise.
3689 * posix/tst-rfc3484-3.c: Likewise.
3690 * posix/tst-rfc3484.c: Likewise.
3691 * resolv/nss_dns/dns-canon.c: Likewise.
3692 * resolv/nss_dns/dns-network.c: Likewise.
3693 * resolv/res_init.c: Likewise.
3694 * resolv/res_mkquery.c: Likewise.
3695 * resolv/tst-aton.c: Likewise.
3696 * stdlib/cxa_atexit.c: Likewise.
3697 * stdlib/cxa_finalize.c: Likewise.
3698 * stdlib/gen-fpioconst.c: Likewise.
3699 * stdlib/strtol_l.c: Likewise.
3700 * string/tst-endian.c: Likewise.
3701 * sunrpc/auth_des.c: Likewise.
3702 * sunrpc/clnt_udp.c: Likewise.
3703 * sunrpc/rtime.c: Likewise.
3704 * sunrpc/svcauth_des.c: Likewise.
3705 * sunrpc/xdr.c: Likewise.
3706 * sunrpc/xdr_intXX_t.c: Likewise.
3707 * sunrpc/xdr_rec.c: Likewise.
3708 * sysdeps/generic/ldconfig.h: Likewise.
3709 * sysdeps/generic/ldsodefs.h: Likewise.
3710 * sysdeps/generic/memusage.h: Likewise.
3711 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3721 * sysdeps/posix/getaddrinfo.c: Likewise.
3722 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3723 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3724 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3726 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3727 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3728 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3729 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3730 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3732 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3733 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3734 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3735 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3737 * sysdeps/x86_64/dl-tls.h: Likewise.
3738 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3739 * time/alt_digit.c: Likewise.
3740 * time/era.c: Likewise.
3741 * wcsmbs/tst-c16c32-1.c: Likewise.
3742
8c75f674
JM
37432013-05-16 Joseph Myers <joseph@codesourcery.com>
3744
3745 * math/libm-test.inc (struct test_sincos_data): New type.
3746 (RUN_TEST_LOOP_sincos): New macro.
3747 (sincos_test_data): New variable.
3748 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3749
e6e49e59
RH
37502013-05-16 Richard Henderson <rth@redhat.com>
3751
3752 * math/atest-exp2.c (LIMB64): New macro.
3753 (CONSTSZ): New macro.
3754 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3755 (hexdig): Move ...
3756 (print_mpn_fp): ... to function scope.
3757 (read_mpn_hex): Remove.
3758 (get_log2): Remove.
3759 (exp2_mpn): Use mp_log2.
3760 (main): Use mp_exp1.
3761
15c7c18d
JM
37622013-05-16 Joseph Myers <joseph@codesourcery.com>
3763
105a07df
JM
3764 * math/libm-test.inc: Remove comment about not testing "inexact"
3765 exceptions.
3766 (INEXACT_EXCEPTION): New macro.
3767 (NO_INEXACT_EXCEPTION): Likewise.
3768 (INVALID_EXCEPTION_OK): Update value.
3769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3770 (OVERFLOW_EXCEPTION_OK): Likewise.
3771 (UNDERFLOW_EXCEPTION_OK): Likewise.
3772 (IGNORE_ZERO_INF_SIGN): Likewise.
3773 (ERRNO_UNCHANGED): Likewise.
3774 (ERRNO_EDOM): Likewise.
3775 (ERRNO_ERANGE): Likewise.
3776 (test_exceptions): Handle testing "inexact" exceptions.
3777 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3778 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3779 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3780 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3781 INEXACT_EXCEPTION.
3782 (rint_towardzero_test_data): Likewise.
3783 (rint_downward_test_data): Likewise.
3784 (rint_upward_test_data): Likewise.
3785
e9eee333
JM
3786 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3787 with OVERFLOW_EXCEPTION.
3788 (exp10_test_data): Likewise.
3789 (exp2_test_data): Likewise.
3790 (expm1_test_data): Likewise.
3791 (lgamma_test_data): Likewise.
3792 (pow_test_data): Likewise.
3793 (tgamma_test_data): Likewise.
3794 (yn_test_data): Remove duplicate test of overflow.
3795
1c38ff73
JM
3796 * math/libm-test.inc (struct test_cc_c_data): New type.
3797 (RUN_TEST_LOOP_cc_c): New macro.
3798 (cpow_test_data): New variable.
3799 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3800
15c7c18d
JM
3801 * math/libm-test.inc (struct test_f_L_data): New type.
3802 (RUN_TEST_LOOP_f_L): New macro.
3803 (llrint_test_data): New variable.
3804 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3805 (llrint_tonearest_test_data): New variable.
3806 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3807 (llrint_towardzero_test_data): New variable.
3808 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3809 (llrint_downward_test_data): New variable.
3810 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3811 (llrint_upward_test_data): New variable.
3812 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3813 (llround_test_data): New variable.
3814 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3815
f137ff13
PC
38162013-05-13 Peter Collingbourne <pcc@google.com>
3817
3818 * math/atest-exp2.c (get_log2): Remove const attribute.
3819
3608cb24
JM
38202013-05-15 Joseph Myers <joseph@codesourcery.com>
3821
3822 * math/libm-test.inc (struct test_f_l_data): New type.
3823 (RUN_TEST_LOOP_f_l): New macro.
3824 (lrint_test_data): New variable.
3825 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3826 (lrint_tonearest_test_data): New variable.
3827 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3828 (lrint_towardzero_test_data): New variable.
3829 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3830 (lrint_downward_test_data): New variable.
3831 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3832 (lrint_upward_test_data): New variable.
3833 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3834 (lround_test_data): New variable.
3835 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3836
39b1f617
PC
38372013-05-15 Peter Collingbourne <pcc@google.com>
3838
1deff3dc
PC
3839 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3840 (EXTRACT_WORDS64) Use where appropriate.
3841 (INSERT_WORDS64) Likewise.
3842
791f3ba0
PC
3843 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3844 constraints with x constraints.
3845 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3846
39b1f617
PC
3847 * malloc/obstack.c (_obstack_compat): Add initializer.
3848
12fba011
EM
38492013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3850
3851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3852 si_trapno and add si_addr_lsb to _sifields.sigfault.
3853 (si_trapno): Remove macro.
3854 (si_addr_lsb): Define new macro.
3855 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3856
d369f531
JM
38572013-05-15 Joseph Myers <joseph@codesourcery.com>
3858
b861c6c4
JM
3859 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3860 instead of TEST_f_l.
3861 (llrint_test_tonearest): Likewise.
3862 (llrint_test_towardzero): Likewise.
3863 (llrint_test_downward): Likewise.
3864 (llrint_test_upward): Likewise.
3865 (llround_test): Likewise.
3866
7abeee12
JM
3867 * math/libm-test.inc (struct test_f_i_data): Add comment.
3868 (RUN_TEST_LOOP_f_b): New macro.
3869 (RUN_TEST_LOOP_f_b_tg): Likewise.
3870 (finite_test_data): New variable.
3871 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3872 (isfinite_test_data): New variable.
3873 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3874 (isinf_test_data): New variable.
3875 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3876 (isnan_test_data): New variable.
3877 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3878 (isnormal_test_data): New variable.
3879 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3880 (issignaling_test_data): New variable.
3881 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3882 (signbit_test_data): New variable.
3883 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3884
cbe8c4d3
JM
3885 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3886 with INVALID_EXCEPTION.
3887 (acosh_test_data): Likewise.
3888 (asin_test_data): Likewise.
3889 (atanh_test_data): Likewise.
3890 (fmod_test_data): Likewise.
3891 (log_test_data): Likewise.
3892 (log10_test_data): Likewise.
3893 (log2_test_data): Likewise.
3894 (pow_test_data): Likewise.
3895 (sqrt_test_data): Likewise.
3896 (y0_test_data): Likewise.
3897 (y1_test_data): Likewise.
3898 (yn_test_data): Likewise.
3899
5575c0e5
JM
3900 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3901 function contents.
3902
d369f531
JM
3903 * math/libm-test.inc (struct test_ff_i_data): New type.
3904 (RUN_TEST_LOOP_ff_i_tg): New macro.
3905 (isgreater_test_data): New variable.
3906 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3907 (isgreaterequal_test_data): New variable.
3908 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3909 (isless_test_data): New variable.
3910 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3911 (islessequal_test_data): New variable.
3912 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3913 (islessgreater_test_data): New variable.
3914 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3915 (isunordered_test_data): New variable.
3916 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3917
781fd748
DM
39182013-05-14 David S. Miller <davem@davemloft.net>
3919
3920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3921
87aa21df
JM
39222013-05-14 Joseph Myers <joseph@codesourcery.com>
3923
5e908270
JM
3924 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3925
f71172e5
JM
3926 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3927 extra_test to int.
3928 (struct test_f_i_data): Change type of max_ulp to int.
3929
8cfa635a
JM
3930 * math/libm-test.inc (test_ffI_f1_data): New type.
3931 (RUN_TEST_LOOP_ffI_f1): New macro.
3932 (remquo_test_data): New variable.
3933 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3934
2bcb36b2
JM
3935 * setjmp/tst-setjmp-fp.c: New file.
3936 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3937 (link-libm): New variable.
3938 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3939
acbd839a
JM
3940 * math/libm-test.inc (struct test_f_i_data): New type.
3941 (RUN_TEST_LOOP_f_i): New macro.
3942 (RUN_TEST_LOOP_f_i_tg): Likewise.
3943 (fpclassify_test_data): New variable.
3944 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3945 (ilogb_test_data): New variable.
3946 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3947
e414d745
JM
3948 * math/libm-test.inc (scalbln_test): Correct function name in END
3949 call.
3950
d9c2a0fd
JM
3951 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3952 (RUN_TEST_LOOP_fI_f1): New macro.
3953 (frexp_test_data): New variable.
3954 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3955
9dc9095d
JM
3956 * math/libm-test.inc (struct test_fF_f1_data): New type.
3957 (RUN_TEST_LOOP_fF_f1): New macro.
3958 (modf_test_data): New variable.
3959 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3960
87aa21df
JM
3961 * math/libm-test.inc (struct test_f_f1_data): New type.
3962 (RUN_TEST_LOOP_f_f1): New macro.
3963 (gamma_test_data): New variable.
3964 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3965 (lgamma_test_data): New variable.
3966 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3967
141af660
CD
39682013-05-13 Carlos O'Donell <carlos@redhat.com>
3969
3970 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3971 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3972 (main): Comment "tls" pseudo-hwcap.
3973
6d33265c
JM
39742013-05-13 Joseph Myers <joseph@codesourcery.com>
3975
68fc074c
JM
3976 * math/libm-test.inc (struct test_fl_f_data): New type.
3977 (RUN_TEST_LOOP_fl_f): New variable.
3978 (scalbln_test_data): New variable.
3979 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3980
243216e1
JM
3981 * math/libm-test.inc (struct test_fi_f_data): New type.
3982 (RUN_TEST_LOOP_fi_f): New macro.
3983 (ldexp_test_data): New variable.
3984 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3985 (scalbn_test_data): New variable.
3986 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3987
6a1992e2
JM
3988 * math/libm-test.inc (struct test_c_f_data): New type.
3989 (RUN_TEST_LOOP_c_f): New macro.
3990 (cabs_test_data): New variable.
3991 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3992 (carg_test_data): New variable.
3993 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3994 (cimag_test_data): New variable.
3995 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3996 (creal_test_data): New variable.
3997 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3998
0e400df5
JM
3999 * math/libm-test.inc (struct test_if_f_data): New type.
4000 (RUN_TEST_LOOP_if_f): New macro.
4001 (jn_test_data): New variable.
4002 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4003 (yn_test_data): New variable.
4004 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4005
6d33265c
JM
4006 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4007
f98ece5f
AZ
40082013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4009
4010 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4011 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4012
0f7d347b
SP
40132013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4014
43fe811b
SP
4015 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4016 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4017 (bench-deps): Add bench-timing.h.
4018 * benchtests-bench-skeleton.c: Include bench-timing.h.
4019 (main): Use TIMING_* macros instead of clock_gettime.
4020 * benchtests/bench-timing.h: New file.
4021
0f7d347b
SP
4022 [BZ #14582]
4023 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4024 Renamed from _LIB_VERSION.
4025 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4026
601a3a5f
JM
40272013-05-12 Joseph Myers <joseph@codesourcery.com>
4028
4f184d30
JM
4029 * math/libm-test.inc (struct test_fff_f_data): New type.
4030 (RUN_TEST_LOOP_fff_f): New macro.
4031 (fma_test_data): New variable.
4032 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4033 (fma_towardzero_test_data): New variable.
4034 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4035 (fma_downward_test_data): New variable.
4036 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4037 (fma_upward_test_data): New variable.
4038 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4039
08198877
JM
4040 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4041 (struct test_c_c_data): New type.
4042 (RUN_TEST_LOOP_c_c): New macro.
4043 (cacos_test_data): New variable.
4044 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4045 (cacosh_test_data): New variable.
4046 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4047 (casin_test_data): New variable.
4048 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4049 (casinh_test_data): New variable.
4050 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4051 (catan_test_data): New variable.
4052 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4053 (catanh_test_data): New variable.
4054 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4055 (ccos_test_data): New variable.
4056 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4057 (ccosh_test_data): New variable.
4058 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4059 (cexp_test_data): New variable.
4060 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4061 (clog_test_data): New variable.
4062 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4063 (clog10_test_data): New variable.
4064 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4065 (conj_test_data): New variable.
4066 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4067 (cproj_test_data): New variable.
4068 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4069 (csin_test_data): New variable.
4070 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4071 (csinh_test_data): New variable.
4072 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4073 (csqrt_test_data): New variable.
4074 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4075 (ctan_test_data): New variable.
4076 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4077 (ctan_tonearest_test_data): New variable.
4078 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4079 (ctan_towardzero_test_data): New variable.
4080 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4081 (ctan_downward_test_data): New variable.
4082 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4083 (ctan_upward_test_data): New variable.
4084 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4085 (ctanh_test_data): New variable.
4086 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4087 (ctanh_tonearest_test_data): New variable.
4088 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4089 (ctanh_towardzero_test_data): New variable.
4090 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4091 (ctanh_downward_test_data): New variable.
4092 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4093 (ctanh_upward_test_data): New variable.
4094 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4095 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4096 of BUILD_COMPLEX.
4097
601a3a5f
JM
4098 * math/libm-test.inc (struct test_ff_f_data): New type.
4099 (struct test_ff_f_data_nexttoward): Likewise.
4100 (RUN_TEST_LOOP_2_f): New macro.
4101 (RUN_TEST_LOOP_ff_f): Likewise.
4102 (atan2_test_data): New variable.
4103 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4104 (copysign_test_data): New variable.
4105 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4106 (fdim_test_data): New variable.
4107 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4108 (fmax_test_data): New variable.
4109 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4110 (fmin_test_data): New variable.
4111 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4112 (fmod_test_data): New variable.
4113 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4114 (hypot_test_data): New variable.
4115 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4116 (nextafter_test_data): New variable.
4117 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4118 (nexttoward_test_data): New variable.
4119 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4120 (pow_test_data): New variable.
4121 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4122 (pow_tonearest_test_data): New variable.
4123 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4124 (pow_towardzero_test_data): New variable.
4125 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4126 (pow_downward_test_data): New variable.
4127 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4128 (pow_upward_test_data): New variable.
4129 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4130 (remainder_test_data): New variable.
4131 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4132 (scalb_test_data): New variable.
4133 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4134 * sysdeps/i386/fpu/libm-test-ulps: Update.
4135
74c57478
JM
41362013-05-11 Joseph Myers <joseph@codesourcery.com>
4137
8329e4da
JM
4138 * math/libm-test.inc (fma_test): Use max_value instead of local
4139 variable fltmax.
4140 (nextafter_test): Likewise.
4141
74c57478
JM
4142 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4143 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4144 (acos_downward_test_data): New variable.
4145 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4146 (acos_upward_test_data): New variable.
4147 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4148 (acosh_test_data): New variable.
4149 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4150 (asin_test_data): New variable.
4151 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4152 (asin_tonearest_test_data): New variable.
4153 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4154 (asin_towardzero_test_data): New variable.
4155 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4156 (asin_downward_test_data): New variable.
4157 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4158 (asin_upward_test_data): New variable.
4159 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4160 (asinh_test_data): New variable.
4161 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4162 (atan_test_data): New variable.
4163 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4164 (atanh_test_data): New variable.
4165 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4166 (cbrt_test_data): New variable.
4167 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4168 (ceil_test_data): New variable.
4169 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4170 (cos_test_data): New variable.
4171 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4172 (cos_tonearest_test_data): New variable.
4173 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4174 (cos_towardzero_test_data): New variable.
4175 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4176 (cos_downward_test_data): New variable.
4177 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4178 (cos_upward_test_data): New variable.
4179 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4180 (cosh_test_data): New variable.
4181 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4182 (cosh_tonearest_test_data): New variable.
4183 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4184 (cosh_towardzero_test_data): New variable.
4185 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4186 (cosh_downward_test_data): New variable.
4187 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4188 (cosh_upward_test_data): New variable.
4189 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4190 (erf_test_data): New variable.
4191 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4192 (erfc_test_data): New variable.
4193 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4194 (exp_test_data): New variable.
4195 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4196 (exp_tonearest_test_data): New variable.
4197 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4198 (exp_towardzero_test_data): New variable.
4199 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4200 (exp_downward_test_data): New variable.
4201 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4202 (exp_upward_test_data): New variable.
4203 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4204 (exp10_test_data): New variable.
4205 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4206 (exp2_test_data): New variable.
4207 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4208 (expm1_test_data): New variable.
4209 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4210 (fabs_test_data): New variable.
4211 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4212 (floor_test_data): New variable.
4213 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4214 (j0_test_data): New variable.
4215 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4216 (j1_test_data): New variable.
4217 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4218 (log_test_data): New variable.
4219 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4220 (log10_test_data): New variable.
4221 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (log1p_test_data): New variable.
4223 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4224 (log2_test_data): New variable.
4225 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4226 (logb_test_data): New variable.
4227 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4228 (logb_downward_test_data): New variable.
4229 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4230 (nearbyint_test_data): New variable.
4231 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4232 (rint_test_data): New variable.
4233 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4234 (rint_tonearest_test_data): New variable.
4235 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4236 (rint_towardzero_test_data): New variable.
4237 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4238 (rint_downward_test_data): New variable.
4239 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4240 (rint_upward_test_data): New variable.
4241 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4242 (round_test_data): New variable.
4243 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (sin_test_data): New variable.
4245 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (sin_tonearest_test_data): New variable.
4247 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4248 (sin_towardzero_test_data): New variable.
4249 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4250 (sin_downward_test_data): New variable.
4251 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4252 (sin_upward_test_data): New variable.
4253 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4254 (sinh_test_data): New variable.
4255 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4256 (sinh_tonearest_test_data): New variable.
4257 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4258 (sinh_towardzero_test_data): New variable.
4259 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4260 (sinh_downward_test_data): New variable.
4261 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4262 (sinh_upward_test_data): New variable.
4263 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4264 (sqrt_test_data): New variable.
4265 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (tan_test_data): New variable.
4267 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4268 (tan_tonearest_test_data): New variable.
4269 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4270 (tan_towardzero_test_data): New variable.
4271 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4272 (tan_downward_test_data): New variable.
4273 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4274 (tan_upward_test_data): New variable.
4275 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4276 (tanh_test_data): New variable.
4277 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4278 (tgamma_test_data): New variable.
4279 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4280 (trunc_test_data): New variable.
4281 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (y0_test_data): New variable.
4283 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4284 (y1_test_data): New variable.
4285 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4286 (significand_test_data): New variable.
4287 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4288
7187d844
CG
42892013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4290
4291 [BZ #12387]
4292 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4293
f63fae73
PT
42942013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4295
4296 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4297
8a67a4b3
AJ
42982013-05-10 Andreas Jaeger <aj@suse.de>
4299
4300 [BZ #15448]
4301 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4302 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4303
51df539d
JM
43042013-05-10 Joseph Myers <joseph@codesourcery.com>
4305
4306 * math/gen-libm-test.pl (adjust_arg): New function.
4307 (special_functions): Handle generating output in both functions
4308 and arrays.
4309 (parse_args): Likewise.
4310 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4311 $in_func argument to parse_args.
4312 * math/libm-test.inc (struct test_f_f_data): New type.
4313 (IF_ROUND_INIT_): New macro.
4314 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4315 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4316 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4317 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4318 (ROUND_RESTORE_): Likewise.
4319 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4320 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4321 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4322 (ROUND_RESTORE_FE_UPWARD): Likewise.
4323 (RUN_TEST_LOOP_f_f): New macro.
4324 (acos_test_data): New variable.
4325 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4326 (acos_tonearest_test_data): New variable.
4327 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4328
5c637fe5
SP
43292013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
4331 * benchtests/bench-skeleton.c (startup): Fix coding style.
4332
ab2b9461
JM
43332013-05-10 Joseph Myers <joseph@codesourcery.com>
4334
4335 [BZ #6809]
4336 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4337 negative infinity argument.
4338 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4339 negative infinity argument.
4340 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4341 negative infinity argument.
4342 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4343 domain errors.
4344
4c0fe6fe
FW
43452013-05-10 Florian Weimer <fweimer@redhat.com>
4346
4347 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4348 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4349 * iconv/iconv_prog.c (main): Likewise.
4350 * locale/programs/charmap-dir.c (charmap_readdir)
4351 (fopen_uncompressed): Likewise.
4352 * locale/programs/locfile.c (siblings_uncached)
4353 (write_locale_data): Use lstat64 instead of lstat.
4354 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4355 stat.
4356
a3375d29
AJ
43572013-05-10 Andreas Jaeger <aj@suse.de>
4358
4359 [BZ #15395]
4360 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4361 localization.
4362 Include <locale.h>.
4363
36129722
CD
43642013-05-09 Carlos O'Donell <carlos@redhat.com>
4365
4366 * elf/dl-close.c (_dl_close_worker): Add comments.
4367
faa7f811
JM
43682013-05-09 Joseph Myers <joseph@codesourcery.com>
4369
ed41ffef
JM
4370 [BZ #15359]
4371 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4372 high part of pi/2.
4373 (__ieee754_rem_pio2l): Update comments.
4374
d0213cd0
JM
4375 [BZ #15429]
4376 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4377 high part of pi/2.
4378 (__ieee754_rem_pio2l): Update comments.
4379
0d3e777a
JM
4380 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4381 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4382
24f56066
JM
4383 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4384 M_PI_4l.
4385
faa7f811
JM
4386 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4387 (M_PI_34_LOG10El): Likewise.
4388 (M_PI2_LOG10El): Likewise.
4389 (M_PI4_LOG10El): Likewise.
4390 (M_PI_LOG10El): Likewise.
4391
e9a5e0fd
AZ
43922013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393
4394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4395
d8cd06db
JM
43962013-05-08 Joseph Myers <joseph@codesourcery.com>
4397
a0d9f9d7
JM
4398 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4399 (MINUS_ZERO_INIT): Likewise.
4400 (PLUS_INFTY_INIT): Likewise.
4401 (MINUS_INFTY_INIT): Likewise.
4402 (QNAN_VALUE_INIT): Likewise.
4403 (MAX_VALUE_INIT): Likewise.
4404 (MIN_VALUE_INIT): Likewise.
4405 (MIN_SUBNORM_VALUE_INIT): Likewise.
4406 (plus_zero): Initialize with PLUS_ZERO_INIT.
4407 (minus_zero): Initialize with MINUS_ZERO_INIT.
4408 (plus_infty): Initialize with PLUS_INFTY_INIT.
4409 (minus_infty): Initialize with MINUS_INFTY_INIT.
4410 (qnan_value): Initialize with QNAN_VALUE_INIT.
4411 (max_value): Initialize with MAX_VALUE_INIT.
4412 (min_value): Initialize with MIN_VALUE_INIT.
4413 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4414
ae08db3b
JM
4415 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4416 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4417 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4418 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4419
f44bf14a
JM
4420 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4421 (RUN_TEST_2_f): Likewise.
4422 (RUN_TEST_ff_f): Likewise.
4423 (RUN_TEST_fi_f): Likewise.
4424 (RUN_TEST_fl_f): Likewise.
4425 (RUN_TEST_fff_f): Likewise.
4426 (RUN_TEST_c_f): Likewise.
4427 (RUN_TEST_f_f1): Likewise.
4428 (RUN_TEST_fF_f1): Likewise.
4429 (RUN_TEST_fI_f1): Likewise.
4430 (RUN_TEST_ffI_f1): Likewise.
4431 (RUN_TEST_c_c): Likewise.
4432 (RUN_TEST_cc_c): Likewise.
4433 (RUN_TEST_f_i): Likewise.
4434 (RUN_TEST_f_i_tg): Likewise.
4435 (RUN_TEST_ff_i_tg): Likewise.
4436 (RUN_TEST_f_b): Likewise.
4437 (RUN_TEST_f_b_tg): Likewise.
4438 (RUN_TEST_f_l): Likewise.
4439 (RUN_TEST_f_L): Likewise.
4440 (RUN_TEST_sincos): Likewise.
4441 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4442 whether to show exceptions. Do not include ");\n" in return
4443 value.
4444 (special_functions): Output call to RUN_TEST_sincos instead of
4445 check_float calls. Update calls to new_test.
4446 (parse_args): Output call to single RUN_TEST_* macro instead of
4447 check_* calls and other assignments. Update calls to new_test.
4448
d8cd06db
JM
4449 [BZ #2546]
4450 [BZ #2560]
4451 [BZ #5159]
4452 [BZ #15426]
4453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4454 input to result for tgamma overflow.
4455 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4456 (gamma_coeff): New variable.
4457 (NCOEFF): New macro.
4458 (gamma_positive): New function.
4459 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4460 underflow here. Use gamma_positive instead of exp (lgamma) for
4461 other arguments.
4462 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4463 (gamma_coeff): New variable.
4464 (NCOEFF): New macro.
4465 (gammaf_positive): New function.
4466 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4467 underflow here. Use gamma_positive instead of exp (lgamma) for
4468 other arguments.
4469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4470 (gamma_coeff): New variable.
4471 (NCOEFF): New macro.
4472 (gammal_positive): New function.
4473 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4474 underflow here. Use gamma_positive instead of exp (lgamma) for
4475 other arguments.
4476 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4477 (gamma_coeff): New variable.
4478 (NCOEFF): New macro.
4479 (gammal_positive): New function.
4480 (__ieee754_gammal_r): Handle positive infinity, overflow and
4481 underflow here. Handle NaN the same as positive infinity. Remove
4482 check x < 0xffffffff for negative integers. Use gamma_positive
4483 instead of exp (lgamma) for other arguments.
4484 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4485 (gamma_coeff): New variable.
4486 (NCOEFF): New macro.
4487 (gammal_positive): New function.
4488 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4489 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4494 * sysdeps/generic/math_private.h (__gamma_productf): New
4495 prototype.
4496 (__gamma_product): Likewise.
4497 (__gamma_productl): Likewise.
4498 * math/Makefile (libm-calls): Add gamma_product.
4499 * math/libm-test.inc (tgamma_test): Add more tests.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502
bb7cf681
OB
45032013-05-08 Ondřej Bílka <neleai@seznam.cz>
4504
4505 * benchtests/bench-skeleton.c (main): Preheat CPU.
4506
ba853947
AJ
45072013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4508
4509 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4510
8347c74c
RM
45112013-05-07 Roland McGrath <roland@hack.frob.com>
4512
4513 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4514 and _dl_skip_args_internal.
4515
e8dd4791
CD
45162013-05-07 Carlos O'Donell <carlos@redhat.com>
4517
4518 * manual/message.texi (Message Translation): Talk about users.
4519 Message to key mapping impacts design.
4520
c7405830
RM
45212013-05-06 Roland McGrath <roland@hack.frob.com>
4522
a9173057
RM
4523 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4524
976e2f03
RM
4525 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4526
9723ffc5
RM
4527 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4528 * sysdeps/wordsize-64/glob64.c: ... here.
4529
962e6658
RM
4530 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4531 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4532 New macros.
4533
ee586a6d
RM
4534 * debug/getlogin_r_chk.c: Moved to ...
4535 * login/getlogin_r_chk.c: ... here.
4536 * debug/Makefile (routines): Move getlogin_r_chk to ...
4537 * login/Makefile (routines): ... here.
4538 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4539 * login/Versions (libc: GLIBC_2.4): ... here.
4540
355f9165
RM
4541 * io/poll.c (__poll): Renamed from poll.
4542 Add libc_hidden_def.
4543 (poll): Define as weak alias.
4544
bd9ffde6
RM
4545 * debug/ptsname_r_chk.c: Moved to ...
4546 * login/ptsname_r_chk.c: ... here.
4547 * debug/Makefile (routines): Move ptsname_r_chk to ...
4548 * login/Makefile (routines): ... here.
4549 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4550 * login/Versions (libc: GLIBC_2.4): ... here.
4551
8fb16a04
RM
4552 * posix/getlogin.c: Moved to ...
4553 * login/getlogin.c: ... here.
4554 * posix/getlogin_r.c: Moved to ...
4555 * login/getlogin_r.c: ... here.
4556 * posix/getlogin_r.c: Moved to ...
4557 * login/getlogin_r.c: ... here.
4558 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4559 * login/Makefile (routines): ... here.
4560 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4561 * login/Versions (libc: GLIBC_2.0): ... here.
4562
b99b892f
RM
4563 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4564 (setrlimit): Define as weak alias.
4565
c7405830
RM
4566 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4567 Call __ names for open, ftruncate, and close.
4568 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4569 (truncate): Define as weak alias.
4570
5bf96de5
JM
45712013-05-06 Joseph Myers <joseph@codesourcery.com>
4572
9ea3513c
JM
4573 * math/gen-libm-test.pl (parse_args): Initialize x before each
4574 test of frexp, modf and remquo.
4575
5bf96de5
JM
4576 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4577 test signgam value.
4578
16e616a7
AZ
45792013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580
4581 [BZ #15418]
4582 [BZ #15419]
4583 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4584 internal tests.
4585 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4586
d5e82754
RM
45872013-05-06 Roland McGrath <roland@hack.frob.com>
4588
4589 * elf/dl-writev.h: New file.
4590 * elf/dl-misc.c: Include it.
4591 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4592 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4593
a7548d41
JM
45942013-05-04 Joseph Myers <joseph@codesourcery.com>
4595
b7dab1e4
JM
4596 * math/libm-test.inc (noXFails): Remove variable.
4597 (noXPasses): Likewise.
4598 (BUILD_COMPLEX_INT): Remove macro.
4599 (print_screen): Remove xfail argument.
4600 (print_screen_max_error): Likewise.
4601 (update_stats): Likewise.
4602 (print_max_error): Likewise. Update calls to other affected
4603 functions.
4604 (print_complex_max_error): Likewise.
4605 (test_single_exception): Update calls to print_screen.
4606 (test_single_errno): Likewise.
4607 (check_float_internal): Remove xfail argument. Update calls to
4608 other affected functions.
4609 (check_float): Likewise.
4610 (check_complex): Likewise.
4611 (check_int): Likewise.
4612 (check_long): Likewise.
4613 (check_bool): Likewise.
4614 (check_longlong): Likewise.
4615 (main): Don't print noXFails and noXPasses.
4616 * math/gen-libm-test.pl (top level): Don't mention expected
4617 failure handling in comment.
4618 (new_test): Don't handle expected failures.
4619 (parse_args): Don't mention expected failure handling in comment.
4620 (generate_testfile): Don't handle expected failures.
4621 (parse_ulps): Likewise.
4622 (print_ulps_file): Likewise.
4623 (get_failure): Remove function.
4624 (output_test): Don't handle expected failures.
4625 * make/README.libm-test: Don't mention expected failure handling.
4626
a7548d41
JM
4627 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4628 (minus_zero): Likewise.
4629 (plus_infty): Likewise.
4630 (minus_infty): Likewise.
4631 (qnan_value): Likewise.
4632 (max_value): Likewise.
4633 (min_value): Likewise.
4634 (min_subnorm_value): Likewise.
4635 (initialize): Do not initialize those variables dynamically.
4636
60bfd54c
RM
46372013-05-03 Roland McGrath <roland@hack.frob.com>
4638
cc0e6ed8
RM
4639 * io/open.c (__open_2): Moved to ...
4640 * io/open_2.c: ... this new file.
4641 * io/open64.c (__open64_2): Moved to ...
4642 * io/open64_2.c: ... this new file.
4643 * io/openat.c (__openat_2): Moved to ...
4644 * io/openat_2.c: ... this new file.
4645 * io/openat64.c (__openat64_2): Moved to ...
4646 * io/openat64_2.c: ... this new file.
4647 * io/Makefile (routines): Add them.
4648 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4649 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4650 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4651 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4652 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4653 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4654 (__openat64): Add hidden_ver.
4655 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4656 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4657
60bfd54c
RM
4658 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4659 Separately conditionalize setting of GLRO(dl_sysinfo) so
4660 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4661 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4662
83e7640f
AZ
46632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
4665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4667 definition.
4668 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4669 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4670 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4671 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4672 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4673
d5dc2af3
JM
46742013-05-03 Joseph Myers <joseph@codesourcery.com>
4675
c31a5b1e
JM
4676 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4677 test signgam value.
4678
d5dc2af3
JM
4679 * math/libm-test.inc (hypot_test): Do not use
4680 IGNORE_ZERO_INF_SIGN.
4681
164fd39d
AJ
46822013-05-03 Andreas Jaeger <aj@suse.de>
4683
4684 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4685 Linux 3.9.
4686 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4687 (PF_MAX): Adjust for VSOCK change.
4688
8237f48c
AZ
46892013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4690
4691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4692
9df02941
CD
46932013-05-02 Carlos O'Donell <carlos@redhat.com>
4694
4695 [BZ #15264]
4696 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4697 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4698 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4699
d422395e
DM
47002013-05-02 David S. Miller <davem@davemloft.net>
4701
4702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4703
a07c5731
OB
47042013-05-01 Ondřej Bílka <neleai@seznam.cz>
4705
4706 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4707
1324e37f
RM
47082013-05-01 Roland McGrath <roland@hack.frob.com>
4709
4710 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4711
0695940b
RS
47122013-05-01 Richard Smith <richard@metafoo.co.uk>
4713
bb5f27ad 4714 [BZ #14952]
0695940b
RS
4715 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4716 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4717 Use __attribute__ ((__gnu_inline__)).
4718 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4719 Don't use __attribute__ ((__gnu_inline__)).
4720
10de07f5
JM
47212013-05-01 Joseph Myers <joseph@codesourcery.com>
4722
4723 [BZ #15423]
4724 * math/s_catan.c (__catan): Handle small real or imaginary part of
4725 input specially to avoid spurious underflow.
4726 * math/s_catanf.c (__catanf): Likewise.
4727 * math/s_catanh.c (__catanh): Likewise.
4728 * math/s_catanhf.c (__catanhf): Likewise.
4729 * math/s_catanhl.c (__catanhl): Likewise.
4730 * math/s_catanl.c (__catanl): Likewise.
4731 * math/libm-test.inc (catan_test): Add more tests.
4732 (catanh_test): Likewise.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4735
cb4d5414
AZ
47362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4739
caf84319
JM
47402013-04-30 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #15416]
4743 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4744 accurately for denominator in atan2.
4745 * math/s_catanf.c (__catanf): Likewise.
4746 * math/s_catanh.c (__catanh): Likewise.
4747 * math/s_catanhf.c (__catanhf): Likewise.
4748 * math/s_catanhl.c (__catanhl): Likewise.
4749 * math/s_catanl.c (__catanl): Likewise.
4750 * math/libm-test.inc (catan_test): Add more tests.
4751 (catanh_test): Likewise.
4752 * sysdeps/i386/fpu/libm-test-ulps: Update.
4753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754
d569c6ee
SP
47552013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4756
6dbe713d
SP
4757 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4758
f0ee064b
SP
4759 * benchtests/Makefile (bench): Remove slow benchmarks.
4760 * benchtests/atan-inputs: Add slow benchmark inputs.
4761 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4762 (BENCH_FUNC): Accept variant offset.
4763 (VARIANT): Define.
4764 * benchtests/bench-skeleton.c (main): Run benchmark for each
4765 variant.
4766 * benchtests/cos-inputs: Add slow benchmark inputs.
4767 * benchtests/exp-inputs: Likewise.
4768 * benchtests/pow-inputs: Likewise.
4769 * benchtests/sin-inputs: Likewise.
4770 * benchtests/slowatan-inputs: Remove.
4771 * benchtests/slowatan.c: Remove.
4772 * benchtests/slowcos-inputs: Remove.
4773 * benchtests/slowcos.c: Remove.
4774 * benchtests/slowexp-inputs: Remove.
4775 * benchtests/slowexp.c: Remove.
4776 * benchtests/slowpow-inputs: Remove.
4777 * benchtests/slowpow.c: Remove.
4778 * benchtests/slowsin-inputs: Remove.
4779 * benchtests/slowsin.c: Remove.
4780 * benchtests/slowtan-inputs: Remove.
4781 * benchtests/slowtan.c: Remove.
4782 * benchtests/tan-inputs: Add slow benchmark inputs.
4783 * scripts/bench.pl: Parse comments and directives.
4784
d569c6ee
SP
4785 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4786 in CPPFLAGS.
4787 ($(objpfx)bench-%.c): Remove *-ITER.
4788 * benchtests/bench-modf.c: Remove definition of ITER.
4789 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4790 (main): Loop for DURATION seconds instead of fixed number of
4791 iterations.
4792 * scripts/bench.pl: Don't expect iterations in parameters.
4793
a6a242fe
RM
47942013-04-29 Roland McGrath <roland@hack.frob.com>
4795
4796 * io/fchdir.c (__fchdir): Renamed from fchdir.
4797 (fchdir): Define as weak alias.
4798
f2da7793
JM
47992013-04-29 Joseph Myers <joseph@codesourcery.com>
4800
4801 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4802 (ERRNO_EDOM): Likewise.
4803 (ERRNO_ERANGE): Likewise.
4804 (noErrnoTests): New variable.
4805 (init_max_error): Set errno to 0.
4806 (test_single_errno): New function.
4807 (test_errno): Likewise.
4808 (check_float_internal): Call test_errno. Set errno to 0.
4809 (check_complex): Refer to errno tests in comment.
4810 (check_int): Call test_errno. Set errno to 0.
4811 (check_long): Likewise.
4812 (check_bool): Likewise.
4813 (check_longlong): Likewise.
4814 (cos_test): Use ERRNO_* flags for errno tests instead of
4815 check_int.
4816 (expm1_test): Likewise.
4817 (fmod_test): Likewise.
4818 (ilogb_test): Likewise.
4819 (lgamma_test): Likewise.
4820 (pow_test): Likewise.
4821 (remainder_test): Likewise.
4822 (sin_test): Likewise.
4823 (tan_test): Likewise.
4824 (yn_test): Likewise.
4825 (initialize): Set errno to 0.
4826 (main): Print number of errno tests.
4827 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4828
b1a36ceb
AJ
48292013-04-29 Andreas Jaeger <aj@suse.de>
4830
c3ed8088
AJ
4831 [BZ #15084]
4832 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4833 and RES_USEVC.
4834
f1a24198
AJ
4835 [BZ #15085]
4836 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4837 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4838 unimplemented.
4839
9ce3b2cb
AJ
4840 [BZ #15380]
4841 * stdlib/random.c (__initstate): Return NULL if
4842 __initstate fails.
4843
f1a24198 4844 [BZ #15086]
b1a36ceb
AJ
4845 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4846 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4847 RES_SNGLKUPREOP.
4848
7e7b6f36
AZ
48492013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850
4851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4852
4d14f449
JM
48532013-04-29 Joseph Myers <joseph@codesourcery.com>
4854
4855 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4856 of individual tests.
4857 (casin_test): Likewise.
4858 (casinh_test): Likewise.
4859
5b4217d7
JM
48602013-04-27 Joseph Myers <joseph@codesourcery.com>
4861
4862 [BZ #15409]
4863 * math/s_catan.c (__catan): Handle arguments with large real or
4864 imaginary part separately without squaring.
4865 * math/s_catanf.c (__catanf): Likewise.
4866 * math/s_catanh.c (__catanh): Likewise.
4867 * math/s_catanhf.c (__catanhf): Likewise.
4868 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4869 and redefine.
4870 (__catanhl): Handle arguments with large real or imaginary part
4871 separately without squaring.
4872 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4873 and redefine.
4874 (__catanl): Handle arguments with large real or imaginary part
4875 separately without squaring.
4876 * math/libm-test.inc (catan_test): Add more tests.
4877 (catanh_test): Likewise.
4878 * sysdeps/i386/fpu/libm-test-ulps: Update.
4879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4880
4220c3ef
AJ
48812013-04-27 Andreas Jaeger <aj@suse.de>
4882
4883 [BZ #15007]
4884 * stdlib/stdlib.h: Update guards for qecvt.
4885 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4886 <stdlib.h>.
4887
4721b2d1
AM
48882013-04-27 Allan McRae <allan@archlinux.org>
4889
4890 * sysdeps/i386/fpu/libm-test-ulps: Update.
4891
f0302940
JM
48922013-04-26 Joseph Myers <joseph@codesourcery.com>
4893
9457fd95
JM
4894 [BZ #15406]
4895 * math/s_catan.c: Include <float.h>.
4896 (__catan): Ensure underflow exception occurs for underflowed
4897 result.
4898 * math/s_catanf.c: Include <float.h>.
4899 (__catanf): Ensure underflow exception occurs for underflowed
4900 result.
4901 * math/s_catanh.c: Include <float.h>.
4902 (__catanh): Ensure underflow exception occurs for underflowed
4903 result.
4904 * math/s_catanhf.c: Include <float.h>.
4905 (__catanhf): Ensure underflow exception occurs for underflowed
4906 result.
4907 * math/s_catanhl.c: Include <float.h>.
4908 (__catanhl): Ensure underflow exception occurs for underflowed
4909 result.
4910 * math/s_catanl.c: Include <float.h>.
4911 (__catanl): Ensure underflow exception occurs for underflowed
4912 result.
4913 * math/libm-test.inc (catan_test): Add more tests.
4914 (catanh_test): Likewise.
4915
f0302940
JM
4916 [BZ #15405]
4917 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4918 underflowed result.
4919 * math/s_ccoshf.c (__ccoshf): Likewise.
4920 * math/s_ccoshl.c (__ccoshl): Likewise.
4921 * math/s_csin.c (__csin): Likewise.
4922 * math/s_csinf.c (__csinf): Likewise.
4923 * math/s_csinh.c (__csinh): Likewise.
4924 * math/s_csinhf.c (__csinhf): Likewise.
4925 * math/s_csinhl.c (__csinhl): Likewise.
4926 * math/s_csinl.c (__csinl): Likewise.
4927 * math/libm-test.inc (ccos_test): Add more tests.
4928 (ccosh_test): Likewise.
4929 (csin_test): Likewise.
4930 (csinh_test): Likewise.
4931
aa630f59
AZ
49322013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4935 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4936 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4937 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4938 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4939 powerpc/power5+/fpu folders.
4940 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4941
4942
1b835983
MT
49432013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4944
4945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4946
73709b26
JM
49472013-04-25 Joseph Myers <joseph@codesourcery.com>
4948
4949 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4950 additions to variable.
4951 [$(config-machine) = x86_64] (modules-names): Likewise.
4952 ($(objpfx)tst-audit3): Remove dependency.
4953 ($(objpfx)tst-audit3.out): Likewise.
4954 ($(objpfx)tst-audit4): Likewise.
4955 ($(objpfx)tst-audit4.out): Likewise.
4956 ($(objpfx)tst-audit5): Likewise.
4957 ($(objpfx)tst-audit5.out): Likewise.
4958 ($(objpfx)tst-audit6): Likewise.
4959 ($(objpfx)tst-audit6.out): Likewise.
4960 ($(objpfx)tst-audit7): Likewise.
4961 ($(objpfx)tst-audit7.out): Likewise.
4962 (tst-audit3-ENV): Remove variable.
4963 (tst-audit4-ENV): Likewise.
4964 (tst-audit5-ENV): Likewise.
4965 (tst-audit6-ENV): Likewise.
4966 (tst-audit7-ENV): Likewise.
4967 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4968 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4969 addition to variable.
4970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4975 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4976 tst-audit3, tst-audit4 and tst-audit5.
4977 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4978 tst-audit6 and tst-audit7.
4979 [$(subdir) = elf] (modules-names): Add audit modules for those
4980 tests.
4981 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4982 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4983 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4984 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4985 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4986 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4987 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4988 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4989 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4990 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4991 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4992 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4993 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4994 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4995 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4996 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4997 Likewise.
4998 [$(subdir) = elf && $(config-cflags-avx) = yes]
4999 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5000 [$(subdir) = elf && $(config-cflags-avx) = yes]
5001 (CFLAGS-tst-auditmod4a.c): Likewise.
5002 [$(subdir) = elf && $(config-cflags-avx) = yes]
5003 (CFLAGS-tst-auditmod4b.c): Likewise.
5004 [$(subdir) = elf && $(config-cflags-avx) = yes]
5005 (CFLAGS-tst-auditmod6b.c): Likewise.
5006 [$(subdir) = elf && $(config-cflags-avx) = yes]
5007 (CFLAGS-tst-auditmod6c.c): Likewise.
5008 [$(subdir) = elf && $(config-cflags-avx) = yes]
5009 (CFLAGS-tst-auditmod7b.c): Likewise.
5010 * elf/tst-audit3.c: Move to ...
5011 * sysdeps/x86_64/tst-audit3.c: ... here.
5012 * elf/tst-audit4.c: Move to ...
5013 * sysdeps/x86_64/tst-audit4.c: ... here.
5014 * elf/tst-audit5.c: Move to ...
5015 * sysdeps/x86_64/tst-audit5.c: ... here.
5016 * elf/tst-audit6.c: Move to ...
5017 * sysdeps/x86_64/tst-audit6.c: ... here.
5018 * elf/tst-audit7.c: Move to ...
5019 * sysdeps/x86_64/tst-audit7.c: ... here.
5020 * elf/tst-auditmod3a.c: Move to ...
5021 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5022 * elf/tst-auditmod3b.c: Move to ...
5023 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5024 * elf/tst-auditmod4a.c: Move to ...
5025 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5026 * elf/tst-auditmod4b.c: Move to ...
5027 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5028 * elf/tst-auditmod5a.c: Move to ...
5029 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5030 * elf/tst-auditmod5b.c: Move to ...
5031 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5032 * elf/tst-auditmod6a.c: Move to ...
5033 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5034 * elf/tst-auditmod6b.c: Move to ...
5035 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5036 * elf/tst-auditmod6c.c: Move to ...
5037 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5038 * elf/tst-auditmod7a.c: Move to ...
5039 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5040 * elf/tst-auditmod7b.c: Move to ...
5041 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5042
1ef74943
PP
50432013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5044
5045 [BZ #15366]
5046 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5047 define unconditionally.
5048 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5049 define unconditionally.
5050 (INT8_C, INT16_C, etc.): Likewise.
5051
93fd48c5
MR
50522013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5053
ae9552cf
MR
5054 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5055 __ehdr_start with hidden visibility.
5056
93fd48c5
MR
5057 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5058
418601aa
CD
50592013-04-24 Carlos O'Donell <carlos@redhat.com>
5060
5061 * math/libm-test.inc (cos_test): Use accurate hex constants.
5062 (sincost_test): Likewise.
5063
2f38fbfe
JM
50642013-04-24 Joseph Myers <joseph@codesourcery.com>
5065
5e221800
JM
5066 * math/libm-test.inc (catan_test): Add more tests.
5067 (catanh_test): Likewise.
5068
77f143fd
JM
5069 * math/s_catanf.c (__catanf): Use suffixed floating-point
5070 constants.
5071 * math/s_catanhf.c (__catanhf): Likewise.
5072 * math/s_catanhl.c (__catanhl): Likewise.
5073 * math/s_catanl.c (__catanl): Likewise.
5074
2f38fbfe
JM
5075 [BZ #15394]
5076 * math/s_catan.c (__catan): Calculate imaginary part of result
5077 with log1p not log unless computing log of number close to 0.
5078 * math/s_catanf.c (__catanf): Likewise.
5079 * math/s_catanl.c (__catanl): Likewise.
5080 * math/s_catanh.c (__catanh): Calculate real part of result with
5081 log1p not log unless computing log of number close to 0.
5082 * math/s_catanhf.c (__catanhf): Likewise.
5083 * math/s_catanhl.c (__catanhl): Likewise.
5084 * math/libm-test.inc (catan_test): Add more tests.
5085 (catanh_test): Likewise.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088
45d69176
SP
50892013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
5091 * benchtests/Makefile: Mention files in which fast and slow
5092 paths of math functions are implemented.
5093
87f51853
RM
50942013-04-23 Roland McGrath <roland@hack.frob.com>
5095
5096 * sysdeps/posix/timespec_get.c: New file.
5097
3c026539
AZ
50982013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5099
5100 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5101 POWER.
5102 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5103 for POWER.
5104 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5105 powerpc/power5/fpu folders.
5106 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5107 * benchtests/Makefile: Add modf testcase.
5108 * benchtests/bench-modf.c: New file: Benchmark test for mo
5109
ff491d14
SP
51102013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5111
5112 [BZ #14888]
5113 * time/Makefile (tests): Add tst-strptime-whitespace.
5114 * time/strptime_l.c (get_number): Use ISSPACE.
5115 (__strptime_internal): Likewise.
5116 * time/tst-strptime-whitespace.c: New test case.
5117
7ed3f4e8
AS
51182013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5119
5120 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5121 member.
5122 (_nss_files_init): Set it here.
5123
5c95f7b6
HC
51242013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5125
5126 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5127 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5128 unsigned.
5129
d34c9158
JBG
51302013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5131
5132 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5133
2169712d
SP
51342013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5135
5136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5137 size just once.
5138
29c5de99
DM
51392013-04-21 David S. Miller <davem@davemloft.net>
5140
5141 * po/ru.po: Update Russion translation from translation project.
5142
ccdad15d
AC
51432013-04-17 Adam Conrad <adconrad@0c3.net>
5144
5145 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5146 and setfsgid.
5147
0f122b8d
CD
51482013-04-17 Carlos O'Donell <carlos@redhat.com>
5149
5c5b07da 5150 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5151 * configure: Regenerate.
5c5b07da 5152 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5153 Add example to error message.
5154 * sysdeps/i386/configure: Regenerate.
5155
037714dd
SP
51562013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5157
5158 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5159 slowtan.
5160 * benchtests/cos-inputs: New file.
5161 * benchtests/slowcos-inputs: New file.
5162 * benchtests/slowcos.c: New file.
5163 * benchtests/slowtan-inputs: New file.
5164 * benchtests/slowtan.c: New file.
5165 * benchtests/tan-inputs: New file.
5166
e913141d
RM
51672013-04-16 Roland McGrath <roland@hack.frob.com>
5168
5169 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5170 considered kosher.
5171
a2964074
SP
51722013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5173
4856bcd2
SP
5174 * benchtests/Makefile: Include cppflags-iterator.mk to add
5175 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5176
a2964074
SP
5177 * Makefile.in (bench-clean): New target.
5178 * benchtests/Makefile (bench-clean): Likewise.
5179
9fbf9aca
DH
51802013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5181
5182 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5183
207d1e2a
TS
51842013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5185
5186 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5187
306dfba9
AS
51882013-04-15 Andreas Schwab <schwab@suse.de>
5189
5190 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5192 * nscd/pwdcache.c (cache_addpw): Likewise.
5193 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5194 more than recsize.
5195
206a6699
SP
51962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5197
5198 * benchtests/Makefile (bench): Write all output to
5199 bench-out.tmp together.
5200
0582f6b3
AS
52012013-04-15 Andreas Schwab <schwab@suse.de>
5202
5203 * nscd/nscd.c (main): Don't fork again after closing files.
5204
acb4325f
SP
52052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5cb26d0a
SP
5207 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5208
acb4325f
SP
5209 * benchtests/Rules (bench-deps): Collect dependencies into a
5210 single variable. Add Makefile to dependencies.
5211 ($(objpfx)bench-%.c): Depend on bench-deps.
5212
47792506
RM
52132013-04-12 Roland McGrath <roland@hack.frob.com>
5214 Xavier Roche <roche+kml2@exalead.com>
5215
5216 [BZ #15361]
5217 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5218 just that it's a file descriptor.
5219 * manual/llio.texi (Synchronizing AIO Operations): Update description
5220 for EBADF error from aio_fsync.
5221
8fc1bee5
SP
52222013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5223
5224 * Rules (bench): Move target definition...
5225 * benchtests/Makefile: ... here.
5226
aba5e333
CD
52272013-04-11 Carlos O'Donell <carlos@redhat.com>
5228
5229 * math/libm-test.inc (cos_test): Fix PI/2 test.
5230 (sincos_test): Likewise.
5231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5232 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5233
273cdee8
AS
52342013-04-11 Andreas Schwab <schwab@suse.de>
5235
6ecec3b6
AS
5236 [BZ #13988]
5237 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5238 accept exponent character only when digits were seen.
5239 * stdio-common/Makefile (tests): Add bug26.
5240 * stdio-common/bug26.c: New file.
5241
273cdee8
AS
5242 [BZ #14293]
5243 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5244 non-freeable.
5245
8da491f5
SP
52462013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
01dc6df9
SP
5248 * Makeconfig (rtld-prefix): Define built linker prefix.
5249 * Rules (run-bench): Use it.
5250 * math/Makefile (run-regen-ulps): Likewise.
5251
8da491f5
SP
5252 * Rules (bench): Remove eval.
5253
abe7f530
SP
52542013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5255 Roland McGrath <roland@hack.frob.com>
5256 Ondrej Bilka <neleai@seznam.cz>
5257
5258 [BZ #15346]
5259 * time/getdate.c: Include ctype.h and alloca.h.
5260 (__getdate_r): Trim leading and trailing spaces of input.
5261 * time/tst-getdate.c (tests): Add tests with leading and
5262 trailing spaces.
5263
61c23e62
RM
52642013-04-08 Roland McGrath <roland@hack.frob.com>
5265
5266 [BZ #14280]
5267 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5268 when computing value.
5269
7208a313
CD
52702013-04-06 Carlos O'Donell <carlos@redhat.com>
5271
085b2d41
CD
5272 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5273 Use testrun.sh to run libm tests.
5274
7208a313
CD
5275 [BZ #15309]
5276 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5277
872c0acd
MM
52782013-04-06 Marko Myllynen <myllynen@redhat.com>
5279
5280 [BZ #15264]
5281 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5282
26510bdd
CD
52832013-04-06 Carlos O'Donell <carlos@redhat.com>
5284
5285 * Makefile.in (regen-ulps): New target.
5286 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5287 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5288 [ifneq (no,$(PERL)] (regen-ulps): New target.
5289 [ifeq (no,$(PERL)] (regen-ulps): New target.
5290 * math/libm-test.inc (ulps_file_name): Define.
5291 (output_dir): New variable.
5292 (options): Add "output-dir" option.
5293 (parse_opt): Handle 'o' case.
5294 (main): If output_dir is non-NULL use it as a prefix
5295 otherwise use "".
5296 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5297
a01f19c8
CD
52982013-04-06 Carlos O'Donell <carlos@redhat.com>
5299
5300 [BZ #10060, #10062]
5301 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5302 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5303 fail configure if __sync_val_compare_and_swap is not inlined.
5304 * sysdeps/i386/configure: Regenerate.
5305 * configure.in: Build for i686 when configured for i386.
5306 * configure: Regenerate.
5307 * README: Remove i386 reference.
5308
b7a329a5
CD
53092013-04-06 Carlos O'Donell <carlos@redhat.com>
5310
5311 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5313
bf0f50df
TS
53142013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5315
ee091edf
TS
5316 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5317 (lmsnanval): New variables.
5318 (F): Add conversion tests.
5319 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5320 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5321
a8b792d6
TS
5322 * stdio-common/tstdiomisc.c (F): Properly collect individual
5323 tests' results.
5324
a1cbf437
TS
5325 [BZ #14686, #15336]
5326 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5327 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5328 Instead, use input NaN values or generate a qNaN by arithmetic
5329 operation. Also fix bugs to comply with the standard.
5330 * math/libm-test.inc (remainder_test): Add more tests.
5331
8b43a0c9
TS
5332 [BZ #15335, #15342]
5333 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5335 input NaN values or generate a qNaN by arithmetic operation.
5336
d91da4ce
TS
5337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5338 unreachable code.
5339
bf0f50df
TS
5340 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5341 definitions.
5342
05e166c8
JM
53432013-04-03 Joseph Myers <joseph@codesourcery.com>
5344
5345 [BZ #14478]
5346 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5347 underflowed result.
5348 * math/s_cexpf.c (__cexpf): Likewise.
5349 * math/s_cexpl.c (__cexpl): Likewise.
5350 * math/libm-test.inc (cexp_test): Add more tests.
5351
1cef1b19
AS
53522013-04-03 Andreas Schwab <schwab@suse.de>
5353
5354 [BZ #15330]
5355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5356 order arrays from heap if bigger than alloca cutoff.
5357
74d87055
TS
53582013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5359
5360 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5361 (SNAN_TESTS_double): Refer to GCC PR56831.
5362 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5363 GCC PR56828.
5364
d755bba4
SP
53652013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5366
90d5d5bb
SP
5367 * Rules (bench): Move bench.out after the run is complete.
5368
73e0cd5d
SP
5369 * Rules (bench): Echo currently running benchmark.
5370
64aabd4b
SP
5371 * benchtests/Makefile (bench): Add atan and slowatan.
5372 * benchtests/atan-inputs: New file.
5373 * benchtests/slowatan-inputs: New file.
5374 * benchtests/slowatan.c: New file.
5375
c871eccd
SP
5376 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5378 its value.
5379
d755bba4
SP
5380 [BZ #15305]
5381 * sysdeps/unix/sysv/linux/kernel-features.h
5382 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5383 __ASSUME_XFS_RESTRICTED_CHOWN.
5384 * sysdeps/unix/sysv/linux/pathconf.c
5385 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5386 Save and restore errno.
5387
52ce4860
JM
53882013-04-02 Joseph Myers <joseph@codesourcery.com>
5389
5390 [BZ #15327]
5391 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5392 arguments using __kernel_casinh.
5393 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5394 arguments using __kernel_casinhf.
5395 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5396 arguments using __kernel_casinhl.
5397 * math/libm-test.inc (cacosh_test): Add more tests.
5398 * sysdeps/i386/fpu/libm-test-ulps: Update.
5399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400
81f311c2
SP
54012013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
e7906a47
SP
5403 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5405
92e3664b
SP
5406 * bench/Makefile (bench): Add sin and slowsin.
5407 * benchtests/sin-inputs: New file.
5408 * benchtests/slowsin-inputs: New file.
5409 * benchtests/slowsin.c: New file.
5410
81f311c2
SP
5411 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5412 (bench): Add slowexp and slowpow.
5413 (exp-ITER): Increase iterations.
5414 (pow-ITER): Likewise.
5415 * benchtests/exp-inputs: Change input.
5416 * benchtests/pow-inputs: Likewise.
5417 * benchtests/slowexp-inputs: New file.
5418 * benchtests/slowexp.c: New file.
5419 * benchtests/slowpow-inputs: New file.
5420 * benchtests/slowpow.c: New file.
5421
ab0f1aa9
AZ
54222013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423
5424 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5425 instructions.
5426 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5427 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5428 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5429 * benchtests/Makefile: Add rint benchtest.
5430 * benchtests/rint-inputs: Input for rint benchtest.
5431
57267616
TS
54322013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5433
5434 * Versions.def (libm): Add GLIBC_2.18.
5435 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5436 hidden libm prototypes.
5437 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5438 * math/Makefile (libm-calls): Add s_issignaling.
5439 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5440 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5441 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5442 declaration.
5443 * math/math.h [__USE_GNU] (issignaling): New macro.
5444 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5445 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5450 * manual/arith.texi (issignaling): New section.
5451 * manual/libm-err-tab.pl (@all_functions): Update comment.
5452 * math/gen-libm-test.pl (parse_args): Apply special handling for
5453 issignaling.
5454 * math/libm-test.inc (print_float, issignaling_test): New
5455 functions.
5456 (check_float_internal): Add issignaling checks.
5457 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5458 default definition.
5459 * sysdeps/powerpc/math-tests.h: New file.
5460 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5461 tests.
5462 * math/test-snan.c (TEST_FUNC): Likewise.
5463
6142896d
DM
54642013-03-30 David S. Miller <davem@davemloft.net>
5465
5466 * po/de.po: Update from translation team.
5467
ccc8cadf
JM
54682013-03-30 Joseph Myers <joseph@codesourcery.com>
5469
5470 [BZ #10357]
5471 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5472 imaginary part less than 1.0 and real part less than 0.5
5473 specially.
5474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5476 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5477 (cacos_test): Add more tests.
5478 (casin_test): Likewise.
5479 (casinh_test): Likewise.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5482
0f6a8d4b
SP
54832013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5484
0d1029de
SP
5485 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5486 ONE with its value.
5487
c2d94018
SP
5488 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5489 (__pow_mp): Replace ONE and MONE with their values.
5490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5493 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5494 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5496
27ec37f1
SP
5497 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5498
a64d7e0e
SP
5499 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5500 (__pow_mp): Replace ZERO and MZERO with their values.
5501 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5505 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5506 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5507 (__sqr): Likewise.
5508
d26dd3eb
SP
5509 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5510
0f6a8d4b
SP
5511 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5512
e57b0c61
RM
55132013-03-28 Roland McGrath <roland@hack.frob.com>
5514
5515 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5516 Declare with __attribute__ ((weak)).
5517 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5518 Call __call_tls_dtors only if it's not NULL.
5519
356b3480
RM
55202013-03-28 Roland McGrath <roland@hack.frob.com>
5521
288f7d79
RM
5522 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5523 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5524 magic __ehdr_start linker symbol if it's defined.
5525 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5526 them up here if it was already done.
5527
dc0a0263
RM
5528 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5529 (_dl_aux_init): Use const in cast when setting it.
5530 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5531 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5532 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5533
3d3436ae
RM
5534 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5535 Declare them here.
5536 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5537 * csu/libc-tls.c: Nor here.
5538 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5539
356b3480
RM
5540 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5541 (__libc_message): Never call vsyslog.
5542
b0f1246a
AM
55432013-03-28 Alan Modra <amodra@gmail.com>
5544
5545 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5546 Define as empty.
5547 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5548 Likewise.
5549
fbbe2b9a
AZ
55502013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551
5552 [BZ #15214]
5553 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5554 underflow.
5555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5556
1728ab37
SP
55572013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5558
7a86be6e
SP
5559 [BZ #15304]
5560 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5561 Don't add gid passed as argument.
5562
1728ab37
SP
5563 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5564
3a7182a1
JM
55652013-03-27 Joseph Myers <joseph@codesourcery.com>
5566
5567 [BZ #15307]
5568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5569 imaginary part between 1.0 and 1.5 and real part less than 0.5
5570 specially.
5571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5573 * math/libm-test.inc (cacos_test): Add more tests.
5574 (casin_test): Likewise.
5575 (casinh_test): Likewise.
5576 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5578
6f2e90e7
SP
55792013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
5739f705
SP
5581 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5582 constants.
5583 (norm): Likewise.
5584 (denorm): Likewise.
5585 (__dbl_mp): Likewise.
5586 (add_magnitudes): Likewise.
5587 (sub_magnitudes): Likewise.
5588 (__add): Likewise.
5589 (__sub): Likewise.
5590 (__mul): Likewise.
5591 (__sqr): Likewise.
5592 (__inv): Likewise.
5593 (__dvd): Likewise.
5594
e375e83d
SP
5595 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5596 commented code.
5597 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5598 (__dubcos): Likewise.
5599 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5600 (__ieee754_acos): Likewise.
5601 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5602 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5603 (__exp1): Likewise.
5604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5606 (log1): Likewise.
5607 (my_log2): Likewise.
5608 (checkint): Likewise.
5609 * sysdeps/ieee754/dbl-64/e_remainder.c
5610 (__ieee754_remainder): Likewise.
5611 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5613 (bsloww): Likewise.
5614 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5615
6f2e90e7
SP
5616 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5617 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5618 MANTISSA_STORE_T to store computations on mantissa. Use
5619 macros for rounding and division.
5620 (denorm): Likewise.
5621 (__dbl_mp): Likewise.
5622 (add_magnitudes): Likewise.
5623 (sub_magnitudes): Likewise.
5624 (__mul): Likewise.
5625 (__sqr): Likewise.
5626 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5627 powers of two in terms of TWOPOW macro.
5628 (mp_no): Make type of mantissa as MANTISSA_T.
5629 [!RADIXI]: Define RADIXI.
5630 [!TWO52]: Define TWO52.
5631 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5632
fce14d4e
AZ
56332013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5634
5635 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5636 llroundl symbol when building for PPC32.
5637
9ad027fb
MW
56382013-03-24 Mark H Weaver <mhw@netris.org>
5639
5640 * manual/arith.texi (Normalization Functions): Fix prototypes for
5641 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5642
e42a38dd
AZ
56432013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 [BZ #13889]
5646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5647 high value to check if expl overflow.
5648 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5649 to check for underflow and overflow.
5650 * math/libm-test.inc: Add exp test.
5651
2e0fb521
DL
56522013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5653
5654 [BZ #11120]
5655 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5656 with NOT_IN_libc.
5657
b5784d95
AZ
56582013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659
5660 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5661 symbol.
5662
5aa4a1a1
TS
56632013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5664
bdef0be7
TS
5665 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5666 wrap blocks consisting of several statements.
5667
5aa4a1a1
TS
5668 * sysdeps/generic/math-tests.h: New file.
5669 * sysdeps/i386/fpu/math-tests.h: Likewise.
5670 * math/test-snan.c: Include it.
5671 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5672
98c48fe5
JM
56732013-03-21 Joseph Myers <joseph@codesourcery.com>
5674
5675 [BZ #15285]
5676 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5677 (__ieee754_j0l): Do not improve calculations using cos of twice
5678 input for inputs above LDBL_MAX / 2.0L.
5679 (__ieee754_y0l): Likewise.
5680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5681 (__ieee754_j1l): Do not improve calculations using cos of twice
5682 input for inputs above LDBL_MAX / 2.0L.
5683 (__ieee754_y1l): Likewise.
5684 * math/libm-test.inc (j0_test): Add another test.
5685 (j1_test): Likewise.
5686 (y0_test): Likewise.
5687 (y1_test): Likewise.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689
3775a8bc
SP
56902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5691
5692 * Rules ($(objpfx)bench-%.c): Include code from a C source
5693 file.
5694
0a1b2ae6
JM
56952013-03-21 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #15287]
5698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5699 imaginary part 1.0 and real part less than 0.5 specially.
5700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5702 * math/libm-test.inc (cacos_test): Add more tests.
5703 (casin_test): Likewise.
5704 (casinh_test): Likewise.
5705 * sysdeps/i386/fpu/libm-test-ulps: Update.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707
b33d4ce4
SP
57082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5709
5710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5711 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5712
bef0b507
JM
57132013-03-20 Joseph Myers <joseph@codesourcery.com>
5714
5715 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5716 * config.make.in (config-cflags-sse4): Remove variable.
5717 (config-cflags-avx): Likewise.
5718 (config-cflags-sse2avx): Likewise.
5719 (config-cflags-novzeroupper): Likewise.
5720 (config-asflags-i686): Likewise.
5721 (have-mfma4): Likewise.
5722 (have-as-vis3): Likewise.
5723 (MIG): Likewise.
5724 * configure.in (MIG): Do not AC_SUBST.
5725 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5726 (libc_cv_cc_sse4): Do not AC_SUBST.
5727 (libc_cv_cc_avx): Likewise.
5728 (libc_cv_cc_sse2avx): Likewise.
5729 (libc_cv_cc_novzeroupper): Likewise.
5730 (libc_cv_cc_fma4): Likewise.
5731 (libc_cv_as_i686): Likewise.
5732 (libc_cv_sparc_as_vis3): Likewise.
5733 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5734 LIBC_CONFIG_VAR.
5735 (config-asflags-i686): Likewise.
5736 (config-cflags-avx): Likewise.
5737 (config-cflags-sse2avx): Likewise.
5738 (have-mfma4): Likewise.
5739 (config-cflags-novzeroupper): Likewise.
5740 * sysdeps/mach/configure.in (MIG): Likewise.
5741 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5742 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5743 LIBC_CONFIG_VAR.
5744 (config-cflags-avx): Likewise.
5745 (config-cflags-sse2avx): Likewise.
5746 (have-mfma4): Likewise.
5747 (config-cflags-novzeroupper): Likewise.
5748 * configure: Regenerated.
5749 * sysdeps/i386/configure: Likewise.
5750 * sysdeps/mach/configure: Likewise.
5751 * sysdeps/sparc/configure: Likewise.
5752 * sysdeps/x86_64/configure: Likewise.
5753
912cc4b3
RM
57542013-03-20 Roland McGrath <roland@hack.frob.com>
5755
5756 [BZ #14812]
5757 * locale/programs/localedef.c (options): Put N_ translation marker
5758 on argument names, not just descriptions.
5759
04eed2b0
MS
57602013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5761
5762 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5763
a065ceff
OB
57642013-03-20 Ondřej Bílka <neleai@seznam.cz>
5765
9bb2a810 5766 [BZ #14176]
a065ceff
OB
5767 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5768
a600e5ce
RM
57692013-03-19 Roland McGrath <roland@hack.frob.com>
5770
5771 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5772 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5773 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5774 [!BEFORE_ABORT] (before_abort): New function.
5775 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5776 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5777 (writev_for_fatal): New function.
5778 (WRITEV_FOR_FATAL): New macro; call that.
5779 (backtrace_and_maps): New function.
5780 (BEFORE_ABORT): New macro; call that.
5781 (struct str_list): Type removed.
5782 (__libc_message, __libc_fatal): Functions removed.
5783 Include <sysdeps/posix/libc_fatal.c> instead.
5784
6b18bea6
JM
57852013-03-19 Joseph Myers <joseph@codesourcery.com>
5786
5787 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5788 constants.
5789 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5790 double constants.
5791
aaa8cb4b
AS
57922013-03-19 Andreas Schwab <schwab@suse.de>
5793
44673770
AS
5794 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5795 * sysdeps/gnu/configure: Regenerate.
5796
aaa8cb4b
AS
5797 * configure.in: Substitute libc_cv_rtlddir.
5798 * configure: Regenerate.
5799 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5800 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5801 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5802 * elf/Makefile (install-others, CFLAGS-interp.c)
5803 (ldso_install, common-ldd-rewrite): Likewise.
5804 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5805 $(inst_slibdir)/$(rtld-installed-name).
5806 * scripts/rellns-sh: Add -p option.
5807 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5808 for source.
5809
d3cfc668
SP
58102013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5811
5812 * manual/nptl.texi: Renamed to ...
5813 * manual/threads.texi: ... this.
5814 * manual/Makefile (chapters): Update.
5815
0e2b9cdd
RM
58162013-03-18 Roland McGrath <roland@hack.frob.com>
5817
5818 [BZ #14812]
5819 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5820 on argument names, not just descriptions.
0e2b9cdd
RM
5821 * malloc/memusagestat.c (options): Likewise.
5822 * nss/getent.c (options): Likewise.
63270c24
RM
5823
58242013-03-18 Benno Schulenberg <bensberg@justemail.net>
5825
5826 [BZ #14812]
5827 * iconv/iconv_prog.c (options): Put N_ translation marker
5828 on argument names, not just descriptions.
5829 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5830
b2e1393c
OB
58312013-03-18 Ondrej Bilka <neleai@seznam.cz>
5832
5833 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5834 implementation which is faster on all x86_64 architectures.
5835 Tested on AMD, Intel Nehalem, SNB, IVB.
5836 * sysdeps/x86_64/strnlen.S: Likewise.
5837
5838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5839 Remove all multiarch strlen and strnlen versions.
5840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5841 Remove strlen and strnlen related parts.
5842
5843 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5844 Inline strlen part.
5845 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5846
5847 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5848 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5849 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5850 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5851 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5852 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5853
ec4ff04d
CD
58542013-03-17 Carlos O'Donell <carlos@redhat.com>
5855
5856 * manual/memory.texi (Malloc Tunable Parameters):
5857 Sort parameters alphabetically. Add comments for missing entries.
5858
cd18e90a
DM
58592013-03-17 David S. Miller <davem@davemloft.net>
5860
5861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5862
2a185d32
JM
58632013-03-16 Joseph Myers <joseph@codesourcery.com>
5864
d2f9799e
JM
5865 [BZ #15283]
5866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5867 for arguments at most half maximum finite value.
5868 * math/libm-test.inc (j0_test): Add more tests.
5869 (j1_test): Likewise.
5870 (y0_test): Likewise.
5871 (y1_test): Likewise.
5872 * sysdeps/i386/fpu/libm-test-ulps: Update.
5873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5874
2a185d32
JM
5875 [BZ #14155]
5876 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5877 1 / x and functions P and Q for arguments above 0x1p256L.
5878 (__ieee754_y0l): Likewise.
5879 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5880 (__ieee754_y1l): Likewise.
5881 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5882 (j1_test): Likewise.
5883 (y0_test): Likewise.
5884 (y1_test): Likewise.
5885
6cbec759
TS
58862013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5887
5888 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5889 variable.
5890
bc16e260
RM
58912013-03-15 Roland McGrath <roland@hack.frob.com>
5892
aefc9b8c
RM
5893 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5894 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5895 zero since it's initialized to EXEC_PAGESIZE.
5896
bc16e260
RM
5897 * sysdeps/unix/sysv/linux/ldsodefs.h
5898 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5899 * sysdeps/generic/ldsodefs.h: ... here.
5900
a57da955
TS
59012013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5902
af00a34d
TS
5903 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5904
495ded2c
TS
5905 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5906 math/test-snan.c.
5907 * math/test-snan.c: Renamed from
5908 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5909 * math/Makefile (tests): Add test-snan.
5910 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5911 test-powerpc-snan.
5912
777b0332
TS
5913 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5914 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5915 functions.
5916 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5917 __builtin_nan family of functions.
5918 * math/libm-test.inc (initialize): Initialize qnan_value with
5919 __builtin_nan family of functions.
5920 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5921 Remove variables.
5922 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5923 Remove functions.
5924 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5925 storage class. Initialize qNaN_var and sNaN_var with
5926 __builtin_nan and __builtin_nans families of functions,
5927 respectively.
5928
64d063b8
TS
5929 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5930 (sqrt_test): Remove duplicate test with qNaN input.
5931 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5932 (round_test, signbit_test, significand_test): Note missing +/-Inf
5933 as well as qNaN tests.
5934
67e971f1
TS
5935 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5936 qNaN_var. Fix a few strings, too.
5937 * math/libm-test.inc (nan_value): Rename to qnan_value.
5938 * math/gen-libm-test.pl (%beautify): Adjust to that.
5939 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5940 * math/test-misc.c (main): Likewise.
5941 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5942 to __qnan_bytes, and __qnan_union, respectively.
5943 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5944 Likewise.
5945 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5946 and lqnanval, respectively.
5947 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5948 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5949 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5950 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5951
64487e12
TS
5952 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5953 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5954 doubles.
5955
e015e27b
TS
5956 * math/test-misc.c (main): Fix copy'n'pastos.
5957 * misc/tst-efgcvt.c (special): Likewise.
5958
a57da955
TS
5959 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5960 Remove declarations.
5961
1e380345
SP
59622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5963
5964 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5965 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5966 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5967 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5968
ef26eece
AZ
59692013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5970
5971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5972 macro to return vdso values correctly in IFUNC implementations.
5973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5974 Optimization by using IFUNC.
5975
8cfdb7e0
SP
59762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5977 Richard Henderson <rth@redhat.com>
5978 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5979
5980 * Makefile.in (bench): New target.
5981 * NEWS: Mention the benchmark framework.
5982 * Rules (bench): Likewise.
5983 (binaries-bench): Generate binaries for functions to
5984 benchmark.
5985 * benchtests/Makefile: New makefile for benchmark tests.
5986 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5987 programs.
5988 * benchtests/exp-inputs: New input file for EXP function.
5989 * benchtests/pow-inputs: New input file for POW function.
5990 * scripts/bench.pl: New script to generate source files for
5991 benchmark programs.
5992
bcda9880
SP
59932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
d22ca8cd
SP
5995 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5997 computations on mantissa. Use macros for rounding and
5998 division.
5999 (denorm): Likewise.
6000 (__dbl_mp): Likewise.
6001 (add_magnitudes): Likewise.
6002 (sub_magnitudes): Likewise.
6003 (__mul): Likewise.
6004 (__sqr): Likewise.
6005 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6006 powers of two in terms of TWOPOW macro.
6007 (mp_no): Make type of mantissa as MANTISSA_T.
6008 [!RADIXI]: Define RADIXI.
6009 [!TWO52]: Define TWO52.
6010 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6011
bcda9880
SP
6012 * manual/nptl.texi (cindex): Modify threads to pthreads.
6013
06d5adfb
JM
60142013-03-15 Joseph Myers <joseph@codesourcery.com>
6015
6016 * sysdeps/x86_64/preconfigure: Regenerated.
6017
41c7328e
JM
60182013-03-14 Joseph Myers <joseph@codesourcery.com>
6019
6020 [BZ #14155]
6021 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6022 0x1p28 and above.
6023 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6024 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6025 0x1p28 and above.
6026 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6027 * math/libm-test.inc (j0_test): Do not allow one spurious
6028 underflow exception.
6029 (y1_test): Likewise.
6030
e25cfa60
SP
60312013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6032
0409959c
SP
6033 * manual/Makefile (chapters): Add nptl.
6034 * manual/debug.texi (Debugging Support): Add link to Threads
6035 chapter.
6036 * manual/nptl.texi: New file.
6037
e25cfa60
SP
6038 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6039
58a1335e
PB
60402013-03-14 Petr Baudis <pasky@ucw.cz>
6041
6042 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6043 for non-NULL pointer before the memory validity test. Pointed
6044 out by Holger Brunck <holger.brunck@keymile.com>.
6045
9dc7c64f
AS
60462013-03-13 Andreas Schwab <schwab@suse.de>
6047
6048 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6049 instead of .os.
6050
54206aa6
JM
60512013-03-13 Joseph Myers <joseph@codesourcery.com>
6052
6053 * timezone/zic.c: Update from tzcode 2013b.
6054
e98cdb38
CD
60552013-03-12 Carlos O'Donell <carlos@redhat.com>
6056
6057 * manual/install.texi (Configuring and compiling):
6058 Mention i686 and i586.
6059 * INSTALL: Regenerate.
6060
9967e003
RM
60612013-03-12 Roland McGrath <roland@hack.frob.com>
6062
6063 * sysdeps/init_array/elf-init.c: New file.
6064 * csu/elf-init.c
6065 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6066 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6067
6068 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6069 __gmon_start__ as global, but as static with a .preinit_array pointer.
6070 * sysdeps/init_array/gmon-start.c: New file. Use that.
6071 * sysdeps/init_array/crti.S: New file, empty except for comments.
6072 * sysdeps/init_array/crtn.S: Likewise.
6073
e6b5a293 60742013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6075
6076 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6077 definining bcopy.
80f844c9
OB
6078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6079 Remove Prefer_SSE_for_memop.
6080 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6081 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6082 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6084 memset-x86-64.
80f844c9 6085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6086 Remove bzero, memset ifunc support.
80f844c9
OB
6087 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6088 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6089 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6090 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6091
fb6b0fcb
AS
60922013-03-11 Andreas Schwab <schwab@suse.de>
6093
6094 [BZ #15234]
6095 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6096 by SHLIB_COMPAT.
6097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6098 (GLIBC_2.16): Remove pthread_atfork.
6099
3e6bd4b1
PP
61002013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6101
6102 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6103 (ptestcases.h): Likewise.
6104
222d7f00
RM
61052013-03-08 Roland McGrath <roland@hack.frob.com>
6106
6107 * Makeconfig ($(common-objpfx)config.status): Depend on
6108 sysdeps/*/preconfigure{,.in} too.
6109
1ba4f030
JM
61102013-03-08 Joseph Myers <joseph@codesourcery.com>
6111
a222d91a
JM
6112 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6113 (__free_hook): Use void * instead of __malloc_ptr_t.
6114 (__malloc_hook): Likewise.
6115 (__realloc_hook): Likewise.
6116 (__memalign_hook): Likewise.
6117 (__after_morecore_hook): Likewise.
6118 * malloc/arena.c (save_malloc_hook): Likewise.
6119 (save_free_hook): Likewise.
6120 * malloc/hooks.c (malloc_hook_ini): Likewise.
6121 (realloc_hook_ini): Likewise.
6122 (memalign_hook_ini): Likewise.
6123 * malloc/malloc.c (malloc_hook_ini): Likewise.
6124 (realloc_hook_ini): Likewise.
6125 (memalign_hook_ini): Likewise.
6126 (__free_hook): Likewise.
6127 (__malloc_hook): Likewise.
6128 (__realloc_hook): Likewise.
6129 (__memalign_hook): Likewise.
6130 (__libc_malloc): Likewise.
6131 (__libc_free): Likewise.
6132 (__libc_realloc): Likewise.
6133 (__libc_memalign): Likewise.
6134 (__libc_valloc): Likewise.
6135 (__libc_pvalloc): Likewise.
6136 (__libc_calloc): Likewise.
6137 (__posix_memalign): Likewise.
6138 * malloc/morecore.c (__sbrk): Likewise.
6139 (__default_morecore): Likewise.
6140
5cc45e10
JM
6141 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6142
dd54b864
JM
6143 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6144 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6145 __malloc_ptrdiff_t.
6146
1ba4f030
JM
6147 * malloc/malloc.h (__malloc_size_t): Remove macro.
6148 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6149 __malloc_size_t.
6150 (old_memalign_hook): Likewise.
6151 (old_realloc_hook): Likewise.
6152 (struct hdr): Likewise.
6153 (flood): Likewise.
6154 (mallochook): Likewise.
6155 (memalignhook): Likewise.
6156 (reallochook): Likewise.
6157 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6158 (tr_old_realloc_hook): Likewise.
6159 (tr_old_memalign_hook): Likewise.
6160 (tr_mallochook): Likewise.
6161 (tr_reallochook): Likewise.
6162 (tr_memalignhook): Likewise.
6163
edf66e57
AZ
61642013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165
6166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6167 default_ldbl_pack and using as default implementation.
6168 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6169 implementation.
6170 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6171 redundant definition.
6172 (ldbl_insert_mantissa): Likewise.
6173 (ldbl_canonicalize): Likewise.
6174 (ldbl_nearbyint): Likewise.
6175 (ldbl_pack): Rename to ldbl_pack_ppc.
6176 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6177 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6178 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6179
6d9145d8
SP
61802013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6181
6182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6183 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6184 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6185 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6187 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6188 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6189 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6190
4dd4e157
AJ
61912013-03-07 Andreas Jaeger <aj@suse.de>
6192
6193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6194 bits/mman-linux.h.
6195
adbb8027
SP
61962013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6197
ce544b5b
SP
6198 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6199 Include mpa.h and declare __MPEXP.
6200 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6201 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6202 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6203 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6205 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6206 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6207
4cc149fd
SP
6208 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6209 (__slowpow): Use long double EXPL and LOGL functions to
6210 compute POW.
6211 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6212 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6214 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6215 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6217
e6ebd4a7
SP
6218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6219 intermediate variable to calculate exponent.
6220 (__sqr): Likewise.
6221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6222 Likewise.
6223 (__sqr): Likewise.
6224
82a9811d
SP
6225 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6226 [!NO__SQR]: Define __sqr.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6228 and NO__SQR. Remove all code except __mul and __sqr. Include
6229 sysdeps/ieee754/dbl-64/mpa.c.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6231
adbb8027
SP
6232 [BZ #12723]
6233 * posix/Makefile (tests): Add tst-pathconf.
6234 * posix/tst-pathconf.c: New test case.
6235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6236 _PC_PIPE_BUF.
6237 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6238
39120df9
PF
62392013-03-06 Patsy Franklin <pfrankli@redhat.com>
6240
6241 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6242
67525cb8
AJ
62432013-03-06 Andreas Jaeger <aj@suse.de>
6244
664a9ce4
AJ
6245 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6246 definition via __MAP_ANONYMOUS.
6247
8e39047d
AJ
6248 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6249 it's not part of Linux headers.
6250
67525cb8
AJ
6251 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6252 (MAP_HUGE_MASK): Define.
6253
6254 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6255 Define.
6256 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6258 Define.
6259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6260 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6261 Define.
6262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6264 Define.
6265 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6266
6267 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6268 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6269 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6270 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6271 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6273
6274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6275 Handle f2fs.
6276
6277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6278 Handle f2fs and efivarfs.
6279
6280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6281 f2fs.
6282
6283 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6284 (EFIVARFS_MAGIC): Add.
6285 (F2FS_LINK_MAX): Add.
6286
e1b42695
PP
62872013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6288
6289 * stdio-common/vfprintf.c: Replace __builtin_expect with
6290 __glibc_unlikely.
6291
2d67d91a
JM
62922013-03-06 Joseph Myers <joseph@codesourcery.com>
6293
6294 [BZ #13550]
6295 * sysdeps/generic/bp-sym.h: Remove file.
6296 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6297 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6298 <bp-sym.h> and <bp-asm.h>.
6299 (__longjmp): Don't use BP_SYM.
6300 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6301 and <bp-asm.h>.
6302 (memcpy): Don't use BP_SYM.
6303 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6304 <bp-sym.h> and <bp-asm.h>.
6305 (memcpy): Don't use BP_SYM.
6306 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6307 <bp-asm.h>.
6308 (memcpy): Don't use BP_SYM.
6309 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6310 <bp-asm.h>.
6311 (memset): Don't use BP_SYM.
6312 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6313 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6314 (__bzero): Don't use BP_SYM.
6315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6317 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6318 <bp-sym.h> and <bp-asm.h>.
6319 (memcmp): Don't use BP_SYM. Remove comment about bounded
6320 pointers.
6321 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6322 <bp-sym.h> and <bp-asm.h>.
6323 (memcpy): Don't use BP_SYM.
6324 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6325 <bp-sym.h> and <bp-asm.h>.
6326 (memset): Don't use BP_SYM.
6327 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6328 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6329 (__bzero): Don't use BP_SYM.
6330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6333 <bp-sym.h> and <bp-asm.h>.
6334 (strncmp): Don't use BP_SYM. Remove comment about bounded
6335 pointers.
6336 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6337 <bp-sym.h> and <bp-asm.h>.
6338 (memcpy): Don't use BP_SYM.
6339 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6340 <bp-sym.h> and <bp-asm.h>.
6341 (memset): Don't use BP_SYM.
6342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6344 (__bzero): Don't use BP_SYM.
6345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6347 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6348 <bp-sym.h> and <bp-asm.h>.
6349 (__memchr): Don't use BP_SYM.
6350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6351 <bp-sym.h> and <bp-asm.h>.
6352 (memcmp): Don't use BP_SYM. Remove comment about bounded
6353 pointers.
6354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6355 <bp-sym.h> and <bp-asm.h>.
6356 (memcpy): Don't use BP_SYM.
6357 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6358 <bp-sym.h> and <bp-asm.h>.
6359 (__mempcpy): Don't use BP_SYM.
6360 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6361 <bp-sym.h> and <bp-asm.h>.
6362 (__memrchr): Don't use BP_SYM.
6363 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6364 <bp-sym.h> and <bp-asm.h>.
6365 (memset): Don't use BP_SYM.
6366 (__bzero): Likewise.
6367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (__rawmemchr): Don't use BP_SYM.
6370 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6371 <bp-sym.h> and <bp-asm.h>.
6372 (__STRCMP): Don't use BP_SYM.
6373 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6374 <bp-sym.h> and <bp-asm.h>.
6375 (strchr): Don't use BP_SYM.
6376 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6377 <bp-sym.h> and <bp-asm.h>.
6378 (__strchrnul): Don't use BP_SYM.
6379 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6380 <bp-sym.h> and <bp-asm.h>.
6381 (strlen): Don't use BP_SYM.
6382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6383 <bp-sym.h> and <bp-asm.h>.
6384 (strncmp): Don't use BP_SYM. Remove comment about bounded
6385 pointers.
6386 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (__strnlen): Don't use BP_SYM.
6389 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6390 <bp-sym.h> and <bp-asm.h>.
6391 (__GI__setjmp): Don't use BP_SYM.
6392 (_setjmp): Likewise.
6393 (__sigsetjmp): Likewise.
6394 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6395 (L(start_addresses)): Don't use BP_SYM.
6396 (_start): Likewise.
6397 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6398 <bp-asm.h>.
6399 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6400 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6401 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6402 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6403 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6404 <bp-asm.h>.
6405 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6406 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6407 about bounded pointers.
6408 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6409 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6410 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6411 <bp-asm.h>.
6412 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6413 about bounded pointers. Remove GKM FIXME comments.
6414 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6415 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6416 <bp-asm.h>.
6417 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6418 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6419 Remove GKM FIXME comments.
6420 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6421 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6422 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6423 <bp-asm.h>.
6424 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6425 about bounded pointers. Remove GKM FIXME comment.
6426 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6427 and <bp-asm.h>.
6428 (strncmp): Don't use BP_SYM. Remove comment about bounded
6429 pointers.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6431 <bp-sym.h> and <bp-asm.h>.
6432 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6434 <bp-sym.h> and <bp-asm.h>.
6435 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6436 comment.
6437
cdcf361f
PP
64382013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6439
6440 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6441 call free(NULL).
6442
3c4a2b15
DM
64432013-03-05 David S. Miller <davem@davemloft.net>
6444
6445 * po/es.po: Update from translation team.
6446
cdcf361f 64472013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6448
6449 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6450 <bits/mman-linux.h>.
6451 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6452 is fine.
6453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6454 <bits/mman-linux.h> to end of file.
6455 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6456 is fine.
6457 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6458 <bits/mman-linux.h> to end of file.
6459 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6460 is fine.
6461 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6462 <bits/mman-linux.h> to end of file.
6463
6464 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6465 (MCL_CURRENT, MCL_FUTURE): Define here.
6466
5f67c04f
AK
64672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6468
8a4473cc 6469 [BZ #15232]
5f67c04f
AK
6470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6471 attribute_hidden.
6472 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6473
c3e94a95
AK
64742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6475
6476 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6477 fourth parameter needed for rt_sigprocmask syscall.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6479 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6480 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6481 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6482 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6483 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6484
cfb6382a
JM
64852013-03-04 Joseph Myers <joseph@codesourcery.com>
6486
6487 [BZ #13550]
6488 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6489 comment about bounded pointers.
6490 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6491 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6492
539d8e01
AJ
64932013-03-04 Andreas Jaeger <aj@suse.de>
6494
6495 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6496 common definitions.
6497
6498 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6499 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6500 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6504
2e167a70 65052013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6506
6507 [BZ #15055]
6508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6509 __ieee754_sqrl instead of __sqrl.
6510
68508633
JM
65112013-03-01 Joseph Myers <joseph@codesourcery.com>
6512
6513 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6514 * sysdeps/powerpc/fpu_control.h: ... here.
6515 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6516 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6517 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6518 * sysdeps/powerpc/bits/mathinline.h: ... here.
6519
7775448e
RM
65202013-03-01 Roland McGrath <roland@hack.frob.com>
6521
6522 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6523 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6524 to just [NEED_DL_SYSINFO_DSO].
6525 * elf/dl-support.c: Likewise.
6526 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6527 * elf/rtld.c (dl_main): Likewise.
6528 * elf/setup-vdso.h (setup_vdso): Likewise.
6529 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6530 * sysdeps/unix/sysv/linux/dl-sysdep.c
6531 (_dl_discover_osversion): Likewise.
6532
4e9b5995
CD
65332013-03-01 Carlos O'Donell <carlos@redhat.com>
6534
6535 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6536 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6537
e23872c8
SP
65382013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6539
e5c74c63
SP
6540 * NEWS: Mention libm performance improvements and non-x86 PI
6541 futex support.
6542
e23872c8
SP
6543 * csu/libc-start.c (__pthread_initialize_minimal): Change
6544 function arguments.
6545 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6546
b5510883
JM
65472013-02-28 Joseph Myers <joseph@codesourcery.com>
6548
6549 [BZ #13550]
6550 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6551 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6552 <bp-sym.h> and <bp-asm.h>.
6553 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6554 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6555 and <bp-asm.h>.
6556 (memcpy): Don't use BP_SYM.
6557 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6558 <bp-asm.h>.
6559 (__mpn_add_n): Don't use BP_SYM.
6560 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6561 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6562 and <bp-asm.h>.
6563 (__mpn_addmul_1): Don't use BP_SYM.
6564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6565 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6566 <bp-sym.h>.
6567 (_setjmp): Don't use BP_SYM.
6568 (__novmx_setjmp): Likewise.
6569 (__GI__setjmp): Likewise.
6570 (__vmx_setjmp): Likewise.
6571 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6572 <bp-sym.h>.
6573 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6574 (__bzero): Don't use BP_SYM.
6575 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6576 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6577 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (memcpy): Don't use BP_SYM.
6580 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6581 <bp-sym.h> and <bp-asm.h>.
6582 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6583 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6584 <bp-sym.h> and <bp-asm.h>.
6585 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6586 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6587 <bp-asm.h>.
6588 (__mpn_lshift): Don't use BP_SYM.
6589 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6590 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6591 <bp-asm.h>.
6592 (memset): Don't use BP_SYM.
6593 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6594 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6595 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6596 <bp-asm.h>.
6597 (__mpn_mul_1): Don't use BP_SYM.
6598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6600 <bp-sym.h> and <bp-asm.h>.
6601 (memcmp): Don't use BP_SYM.
6602 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6603 <bp-sym.h> and <bp-asm.h>.
6604 (memcpy): Don't use BP_SYM.
6605 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6606 <bp-sym.h> and <bp-asm.h>.
6607 (memset): Don't use BP_SYM.
6608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6609 <bp-sym.h> and <bp-asm.h>.
6610 (strncmp): Don't use BP_SYM.
6611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6612 <bp-sym.h> and <bp-asm.h>.
6613 (memcpy): Don't use BP_SYM.
6614 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6615 <bp-sym.h> and <bp-asm.h>.
6616 (memset): Don't use BP_SYM.
6617 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6618 <bp-sym.h> and <bp-asm.h>.
6619 (__memchr): Don't use BP_SYM.
6620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6621 <bp-sym.h> and <bp-asm.h>.
6622 (memcmp): Don't use BP_SYM.
6623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6624 <bp-sym.h> and <bp-asm.h>.
6625 (memcpy): Don't use BP_SYM.
6626 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6627 <bp-sym.h> and <bp-asm.h>.
6628 (__mempcpy): Don't use BP_SYM.
6629 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6630 <bp-sym.h> and <bp-asm.h>.
6631 (__memrchr): Don't use BP_SYM.
6632 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6633 <bp-sym.h> and <bp-asm.h>.
6634 (memset): Don't use BP_SYM.
6635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6636 <bp-sym.h> and <bp-asm.h>.
6637 (__rawmemchr): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (__STRCMP): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6642 <bp-sym.h> and <bp-asm.h>.
6643 (strchr): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6645 <bp-sym.h> and <bp-asm.h>.
6646 (__strchrnul): Don't use BP_SYM.
6647 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6648 <bp-sym.h> and <bp-asm.h>.
6649 (strlen): Don't use BP_SYM.
6650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6651 <bp-sym.h> and <bp-asm.h>.
6652 (strncmp): Don't use BP_SYM.
6653 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6654 <bp-sym.h> and <bp-asm.h>.
6655 (__strnlen): Don't use BP_SYM.
6656 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6657 <bp-asm.h>.
6658 (__mpn_rshift): Don't use BP_SYM.
6659 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6660 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6661 <bp-sym.h> and <bp-asm.h>.
6662 (__sigsetjmp): Don't use BP_SYM.
6663 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6664 (L(start_addresses)): Don't use BP_SYM.
6665 (_start): Likewise.
6666 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6667 <bp-asm.h>.
6668 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6669 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6670 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6671 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6672 <bp-asm.h>.
6673 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6674 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6675 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6676 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6677 <bp-asm.h>.
6678 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6679 comments.
6680 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6682 <bp-asm.h>.
6683 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6684 FIXME comments.
6685 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6686 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6687 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6688 <bp-asm.h>.
6689 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6690 comment.
6691 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6692 and <bp-asm.h>.
6693 (strncmp): Don't use BP_SYM,
6694 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6695 <bp-asm.h>.
6696 (__mpn_sub_n): Don't use BP_SYM.
6697 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6698 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6699 and <bp-asm.h>.
6700 (__mpn_submul_1): Don't use BP_SYM.
6701 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6703 <bp-sym.h> and <bp-asm.h>.
6704 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6706 <bp-sym.h> and <bp-asm.h>.
6707 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6708 comment.
6709
8d19fe64
SP
67102013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6711
6712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6713 Use ZK to minimize writes to Z.
6714 (sub_magnitudes): Simplify code a bit.
6715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6716 Use ZK to minimize writes to Z.
6717 (sub_magnitudes): Simplify code a bit.
6718
85bd816a
RM
67192013-02-27 Roland McGrath <roland@hack.frob.com>
6720
6721 * csu/gmon-start.c: Add special exception to license text.
6722
b5977bf2
RH
67232013-02-27 Richard Henderson <rth@redhat.com>
6724
6725 * scripts/config.guess: Update from config.git.
6726 * scripts/config.sub: Likewise.
6727
11d6e2f2
SP
67282013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6729
09c14ed2
SP
6730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6731
a688864e
SP
6732 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6733
6295157a
SP
6734 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6735
b8de2202
SP
6736 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6737
11d6e2f2
SP
6738 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6739
7e80ddb8
RM
67402013-02-26 Roland McGrath <roland@hack.frob.com>
6741
6742 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6743 [$(build-shared = yes].
7e80ddb8 6744
7da6d9ed
SP
67452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6746
45f05884
SP
6747 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6748 (__mul): Reduce iterations for calculating mantissa.
6749
2236d359
SP
6750 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6751 MPTWO.
6752 (__mpranred): Likewise.
6753
7da6d9ed
SP
6754 [BZ #15160]
6755 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6756 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6757
b7688c42
PE
67582013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6759
6760 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6761 Define __attribute__.
6762
53a5c423
SP
67632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6764
6765 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6766 unused.
6767 * posix/regex_internal.h (__attribute): Remove.
6768 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6769 (re_string_context_at): Likewise.
6770 (bitset_not): Use __attribute__ and mark function as possibly
6771 unused.
6772 (bitset_merge): Likewise.
6773 (bitset_mask): Likewise.
6774 (re_string_char_size_at): Likewise.
6775 (re_string_wchar_at): Likewise.
6776 (re_string_elem_size_at): Likewise.
6777
60f5a8b5
SP
67782013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
2a983a2e
SP
6780 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6781 code.
6782 (cc32): Likewise.
6783
e69804d1
SP
6784 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6785 (__acr): Likewise.
6786 (__cpy): Likewise.
6787 (norm): Likewise.
6788 (denorm): Likewise.
6789 (__dbl_mp): Likewise.
6790 (add_magnitudes): Likewise.
6791 (sub_magnitudes): Likewise.
6792 (__mul): Likewise.
6793 (__inv): Likewise.
6794
2f22a1e8
SP
6795 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6796 style.
6797
8930ddc7
SP
6798 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6799 style.
6800
dc60cb11
SP
6801 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6802 code.
6803
60f5a8b5
SP
6804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6805 up changes with default code.
6806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6807 Likewise.
6808
b4d1fd33
AM
68092013-02-24 Allan McRae <allan@archlinux.org>
6810
faf6f8bc
AM
6811 * manual/socket.texi (The Internet Namespace): Order menu items
6812 to match that in the file.
6813
b4d1fd33
AM
6814 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6815 node listing of the info page menu.
6816
2366713d
JM
68172013-02-21 Joseph Myers <joseph@codesourcery.com>
6818
6819 [BZ #13550]
6820 * sysdeps/i386/bp-asm.h: Remove file.
6821 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6822 (PARMS): Do not use macros from bp-asm.h.
6823 (S1): Likewise.
6824 (S2): Likewise.
6825 (SIZE): Likewise.
6826 (__mpn_add_n): Do not use BP_SYM
6827 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6828 "bp-asm.h".
6829 (PARMS): Do not use macros from bp-asm.h.
6830 (S1): Likewise.
6831 (SIZE): Likewise.
6832 (__mpn_addmul_1): Do not use BP_SYM
6833 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6834 "bp-asm.h".
6835 (PARMS): Do not use macros from bp-asm.h.
6836 (SIGMSK): Likewise.
6837 (_setjmp): Likewise. Do not use BP_SYM.
6838 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6839 "bp-asm.h".
6840 (PARMS): Do not use macros from bp-asm.h.
6841 (SIGMSK): Likewise.
6842 (setjmp): Likewise. Do not use BP_SYM.
6843 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6844 "bp-asm.h".
6845 (PARMS): Do not use macros from bp-asm.h.
6846 (__frexp): Do not use BP_SYM.
6847 (frexp): Likewise.
6848 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6849 "bp-asm.h".
6850 (PARMS): Do not use macros from bp-asm.h.
6851 (__frexpf): Do not use BP_SYM.
6852 (frexpf): Likewise.
6853 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6854 "bp-asm.h".
6855 (PARMS): Do not use macros from bp-asm.h.
6856 (__frexpl): Do not use BP_SYM.
6857 (frexpl): Likewise.
6858 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6859 "bp-asm.h".
6860 (PARMS): Do not use macros from bp-asm.h.
6861 (__remquo): Do not use BP_SYM.
6862 (remquo): Likewise.
6863 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6864 "bp-asm.h".
6865 (PARMS): Do not use macros from bp-asm.h.
6866 (__remquof): Do not use BP_SYM.
6867 (remquof): Likewise.
6868 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6869 "bp-asm.h".
6870 (PARMS): Do not use macros from bp-asm.h.
6871 (__remquol): Do not use BP_SYM.
6872 (remquol): Likewise.
6873 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6874 "bp-asm.h".
6875 (PARMS): Do not use macros from bp-asm.h.
6876 (DEST): Likewise.
6877 (SRC): Likewise.
6878 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6879 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6880 "bp-asm.h".
6881 (PARMS): Do not use macros from bp-asm.h.
6882 (strlen): Do not use BP_SYM.
6883 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6884 "bp-asm.h".
6885 (PARMS): Do not use macros from bp-asm.h.
6886 (S1): Likewise.
6887 (S2): Likewise.
6888 (SIZE): Likewise.
6889 (__mpn_add_n): Do not use BP_SYM.
6890 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6891 "bp-asm.h".
6892 (PARMS): Do not use macros from bp-asm.h.
6893 (S1): Likewise.
6894 (SIZE): Likewise.
6895 (__mpn_addmul_1): Do not use BP_SYM.
6896 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6897 weak_alias.
6898 (bzero): Likewise.
6899 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6900 "bp-asm.h".
6901 (PARMS): Do not use macros from bp-asm.h.
6902 (S): Likewise.
6903 (SIZE): Likewise.
6904 (__mpn_lshift): Do not use BP_SYM.
6905 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6906 "bp-asm.h".
6907 (PARMS): Do not use macros from bp-asm.h.
6908 (DEST): Likewise.
6909 (SRC): Likewise.
6910 (LEN): Likewise.
6911 (memcpy): Likewise. Do not use BP_SYM.
6912 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6913 libc_hidden_def and weak_alias.
6914 (mempcpy): Do not use BP_SYM in weak_alias.
6915 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6916 "bp-asm.h".
6917 (PARMS): Do not use macros from bp-asm.h.
6918 (DEST): Likewise.
6919 (LEN): Likewise.
6920 [!BZERO_P] (CHR): Likewise.
6921 (memset): Likewise. Do not use BP_SYM.
6922 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6923 "bp-asm.h".
6924 (PARMS): Do not use macros from bp-asm.h.
6925 (S1): Likewise.
6926 (SIZE): Likewise.
6927 (__mpn_mul_1): Do not use BP_SYM.
6928 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6929 "bp-asm.h".
6930 (PARMS): Do not use macros from bp-asm.h.
6931 (S): Likewise.
6932 (SIZE): Likewise.
6933 (__mpn_rshift): Do not use BP_SYM.
6934 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6935 "bp-asm.h".
6936 (PARMS): Do not use macros from bp-asm.h.
6937 (STR): Likewise.
6938 (CHR): Likewise.
6939 (strchr): Likewise. Do not use BP_SYM.
6940 (index): Do not use BP_SYM in weak_alias.
6941 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6942 "bp-asm.h".
6943 (PARMS): Do not use macros from bp-asm.h.
6944 (DEST): Likewise.
6945 (SRC): Likewise.
6946 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6947 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6948 "bp-asm.h".
6949 (PARMS): Do not use macros from bp-asm.h.
6950 (strlen): Do not use BP_SYM.
6951 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6952 "bp-asm.h".
6953 (PARMS): Do not use macros from bp-asm.h.
6954 (S1): Likewise.
6955 (S2): Likewise.
6956 (SIZE): Likewise.
6957 (__mpn_sub_n): Do not use BP_SYM.
6958 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6959 "bp-asm.h".
6960 (PARMS): Do not use macros from bp-asm.h.
6961 (S1): Likewise.
6962 (SIZE): Likewise.
6963 (__mpn_submul_1): Do not use BP_SYM.
6964 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (S1): Likewise.
6968 (S2): Likewise.
6969 (SIZE): Likewise.
6970 (__mpn_add_n): Do not use BP_SYM.
6971 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6972 weak_alias.
6973 (bzero): Likewise.
6974 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6975 "bp-asm.h".
6976 (PARMS): Do not use macros from bp-asm.h.
6977 (BLK2): Likewise.
6978 (LEN): Likewise.
6979 (memcmp): Do not use BP_SYM.
6980 (bcmp): Do not use BP_SYM in weak_alias.
6981 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6982 "bp-asm.h".
6983 (PARMS): Do not use macros from bp-asm.h.
6984 (DEST): Likewise.
6985 (SRC): Likewise.
6986 (LEN): Likewise.
6987 (memcpy): Likewise. Do not use BP_SYM.
6988 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6989 "bp-asm.h".
6990 (PARMS): Do not use macros from bp-asm.h.
6991 (DEST): Likewise.
6992 (SRC): Likewise.
6993 (LEN): Likewise.
6994 (memmove): Likewise. Do not use BP_SYM.
6995 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6996 "bp-asm.h".
6997 (PARMS): Do not use macros from bp-asm.h.
6998 (DEST): Likewise.
6999 (SRC): Likewise.
7000 (LEN): Likewise.
7001 (__mempcpy): Likewise. Do not use BP_SYM.
7002 (mempcpy): Do not use BP_SYM in weak_alias.
7003 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7004 "bp-asm.h".
7005 (PARMS): Do not use macros from bp-asm.h.
7006 (DEST): Likewise.
7007 (LEN): Likewise.
7008 [!BZERO_P] (CHR): Likewise.
7009 (memset): Likewise. Do not use BP_SYM.
7010 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7011 "bp-asm.h".
7012 (PARMS): Do not use macros from bp-asm.h.
7013 (STR2): Likewise.
7014 (strcmp): Do not use BP_SYM.
7015 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7016 "bp-asm.h".
7017 (PARMS): Do not use macros from bp-asm.h.
7018 (STR): Likewise.
7019 (DELIM): Likewise.
7020 [USE_AS_STRTOK_R] (SAVE): Likewise.
7021 (FUNCTION): Likewise. Do not use BP_SYM.
7022 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7023 aliases.
7024 (strtok_r): Likewise.
7025 (__GI___strtok_r): Likewise.
7026 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7027 (PARMS): Do not use macros from bp-asm.h.
7028 (S): Likewise.
7029 (SIZE): Likewise.
7030 (__mpn_lshift): Do not use BP_SYM.
7031 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7032 (PARMS): Do not use macros from bp-asm.h.
7033 (STR): Likewise.
7034 (CHR): Likewise.
7035 (__memchr): Do not use BP_SYM.
7036 (memchr): Do not use BP_SYM in weak_alias.
7037 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7038 (PARMS): Do not use macros from bp-asm.h.
7039 (BLK2): Likewise.
7040 (LEN): Likewise.
7041 (memcmp): Do not use BP_SYM.
7042 (bcmp): Do not use BP_SYM in weak_alias.
7043 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7044 (PARMS): Do not use macros from bp-asm.h.
7045 (S1): Likewise.
7046 (SIZE): Likewise.
7047 (__mpn_mul_1): Do not use BP_SYM.
7048 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7049 "bp-asm.h".
7050 (PARMS): Do not use macros from bp-asm.h.
7051 (STR): Likewise.
7052 (CHR): Likewise.
7053 (__rawmemchr): Do not use BP_SYM.
7054 (rawmemchr): Do not use BP_SYM in weak_alias.
7055 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7056 (PARMS): Do not use macros from bp-asm.h.
7057 (S): Likewise.
7058 (SIZE): Likewise.
7059 (__mpn_rshift): Do not use BP_SYM.
7060 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7061 (PARMS): Do not use macros from bp-asm.h.
7062 (SIGMSK): Likewise.
7063 (__sigsetjmp): Likewise. Do not use BP_SYM.
7064 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7065 (_start): Do not use BP_SYM.
7066 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7067 (PARMS): Do not use macros from bp-asm.h.
7068 (DEST): Likewise.
7069 (SRC): Likewise.
7070 (__stpcpy): Likewise. Do not use BP_SYM.
7071 (stpcpy): Do not use BP_SYM in weak_alias.
7072 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7073 "bp-asm.h".
7074 (PARMS): Do not use macros from bp-asm.h.
7075 (DEST): Likewise.
7076 (SRC): Likewise.
7077 (LEN): Likewise.
7078 (__stpncpy): Likewise. Do not use BP_SYM.
7079 (stpncpy): Do not use BP_SYM in weak_alias.
7080 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7081 (PARMS): Do not use macros from bp-asm.h.
7082 (STR): Likewise.
7083 (CHR): Likewise.
7084 (strchr): Likewise. Do not use BP_SYM.
7085 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7086 "bp-asm.h".
7087 (PARMS): Do not use macros from bp-asm.h.
7088 (STR): Likewise.
7089 (CHR): Likewise.
7090 (__strchrnul): Likewise. Do not use BP_SYM.
7091 (strchrnul): Do not use BP_SYM in weak_alias.
7092 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7093 "bp-asm.h".
7094 (PARMS): Do not use macros from bp-asm.h.
7095 (STOP): Likewise.
7096 (strcspn): Do not use BP_SYM.
7097 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7098 "bp-asm.h".
7099 (PARMS): Do not use macros from bp-asm.h.
7100 (STR): Likewise.
7101 (STOP): Likewise.
7102 (strpbrk): Likewise. Do not use BP_SYM.
7103 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7104 "bp-asm.h".
7105 (PARMS): Do not use macros from bp-asm.h.
7106 (STR): Likewise.
7107 (CHR): Likewise.
7108 (strrchr): Likewise. Do not use BP_SYM.
7109 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7110 (PARMS): Do not use macros from bp-asm.h.
7111 (SKIP): Likewise.
7112 (strspn): Do not use BP_SYM.
7113 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7114 (PARMS): Do not use macros from bp-asm.h.
7115 (STR): Likewise.
7116 (DELIM): Likewise.
7117 (SAVE): Likewise.
7118 (FUNCTION): Likewise. Do not use BP_SYM.
7119 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7120 aliases.
7121 (strtok_r): Likewise.
7122 (__GI___strtok_r): Likewise.
7123 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7124 (PARMS): Do not use macros from bp-asm.h.
7125 (S1): Likewise.
7126 (S2): Likewise.
7127 (SIZE): Likewise.
7128 (__mpn_sub_n): Do not use BP_SYM.
7129 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7130 "bp-asm.h".
7131 (PARMS): Do not use macros from bp-asm.h.
7132 (S1): Likewise.
7133 (SIZE): Likewise.
7134 (__mpn_submul_1): Do not use BP_SYM.
7135 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7136 <bp-sym.h>.
7137 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7138 and <bp-asm.h>.
7139 (PARMS): Do not use macros from bp-asm.h.
7140 (FLAGS): Likewise.
7141 (PTID): Likewise.
7142 (TLS): Likewise.
7143 (CTID): Likewise.
7144 (__clone): Do not use BP_SYM.
7145 (clone): Do not use BP_SYM in weak_alias.
7146 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7147 and <bp-asm.h>.
7148 (PARMS): Do not use macros from bp-asm.h.
7149 (LEN): Likewise.
7150 (__mmap64): Do not use BP_SYM.
7151 (mmap64): Do not use BP_SYM in weak_alias.
7152 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7153 <bp-sym.h> and <bp-asm.h>.
7154 (PARMS): Do not use macros from bp-asm.h.
7155 (__posix_fadvise64_l64): Do not use BP_SYM.
7156 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7157 (PARMS): Do not use macros from bp-asm.h.
7158 (NSOPS): Likewise.
7159 (semtimedop): Do not use BP_SYM.
7160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7161 and <bp-asm.h>.
7162
582a3cff
AM
71632013-02-21 Allan McRae <allan@archlinux.org>
7164
7165 * manual/message.texi (Charset conversion in gettext):
7166 Move @end statement to beginning of line.
7167
bab8a695
SP
71682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7169
80945231
SP
7170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7171 static.
7172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7173 Likewise.
7174
bab8a695
SP
7175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7176 (denorm): Likewise.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7179
e21d7aa7
AK
71802013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7181
7182 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7183 tail-call to the resolved function if pltexit isn't needed.
7184
4c7a4263
SP
71852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7186
7187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7188 or Y being zero as being unlikely.
7189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7190 Likewise.
7191
41f49342
CD
71922013-02-20 Carlos O'Donell <carlos@redhat.com>
7193
7194 * manual/nss.texi (System Databases and Name Service Switch):
7195 Remove frobnicate @pxref.
7196
50022a93
TS
71972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7198
7199 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7200 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7201
08cbd996
PM
72022013-02-20 Petr Machata <pmachata@redhat.com>
7203
7204 * elf/elf.h (R_ARM_TARGET1): New macro.
7205 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7206 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7207 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7208 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7209 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7210 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7211 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7212 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7213 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7214 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7215 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7216 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7217 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7218 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7219 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7220 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7221 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7222 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7223 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7224 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7225 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7226 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7227 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7228 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7229 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7230 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7231 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7232 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7233 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7234 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7235 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7236 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7237 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7238 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7239 (R_ARM_THM_GOT_BREL12): Likewise.
7240 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7241 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7242 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7243 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7244 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7245 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7246 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7247 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7248 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7249
c7b275d6
TS
72502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7251
7252 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7253 __attribute_used__ to __attribute__ ((unused)).
7254
20cd7fb3
SP
72552013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7256
7257 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7258 powerpc mpa.c.
7259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7260 comment formatting.
7261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7262
92945b52
JM
72632013-02-19 Joseph Myers <joseph@codesourcery.com>
7264
7265 [BZ #13550]
7266 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7267 Remove macro.
7268 (ENTER): Remove both macro definitions.
7269 (LEAVE): Likewise.
7270 (CHECK_BOUNDS_LOW): Likewise.
7271 (CHECK_BOUNDS_HIGH): Likewise.
7272 (CHECK_BOUNDS_BOTH): Likewise.
7273 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7274 (RETURN_BOUNDED_POINTER): Likewise.
7275 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7276 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7277 (POP_ERRNO_LOCATION_RETURN): Likewise.
7278 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7279 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7280 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7281 macros.
7282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7283 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7284 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7285 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7286 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7287 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7288 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7289 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7290 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7291 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7292 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7293 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7295 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7296 removed macros.
7297 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7298 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7299 macros.
7300 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7301 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7302 * sysdeps/i386/i586/memset.S (memset): Likewise.
7303 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7304 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7306 macros.
7307 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7308 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7309 Change uses of L(2) to L(out).
7310 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7311 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7312 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7313 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7314 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7315 removed macros.
7316 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7317 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7318 macros.
7319 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7321 (RETURN): Do not use macro LEAVE.
7322 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7323 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7324 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7325 * sysdeps/i386/i686/memset.S (memset): Likewise.
7326 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7327 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7328 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7329 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7330 Likewise.
7331 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7332 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7333 L(1_2) and L(1_3) into L(1).
7334 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7335 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7336 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7337 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7338 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7339 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7340 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7341 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7342 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7343 macros.
7344 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7345 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7346 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7347 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7348 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7349 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7350 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7351 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7352 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7353 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7354 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7355 * sysdeps/i386/strspn.S (strspn): Likewise.
7356 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7357 conditional code.
7358 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7359 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7360 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7361 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7362 L(1_3) into L(1_1).
7363 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7364 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7365 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7366 macros.
7367 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7368
2389741a
JJ
73692013-02-19 Jakub Jelinek <jakub@redhat.com>
7370
7371 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7372 macro.
7373
2016b3cd
SP
73742013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
e4f22324
SP
7376 * math/atest-exp.c (exp_mpn): Remove ROUND.
7377 * math/atest-exp2.c (exp_mpn): Likewise.
7378 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7379
2016b3cd
SP
7380 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7381 * stdlib/tst-tls-atexit-lib.c: Likewise.
7382 * stdlib/tst-tls-atexit.c: Likewise.
7383
4be9b544
MF
73842013-02-18 Mike Frysinger <vapier@gentoo.org>
7385
7386 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7387 and __attribute_alloc_size__.
7388
2f62b9ee
MF
73892013-02-18 Mike Frysinger <vapier@gentoo.org>
7390
7391 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7392 __attribute_alloc_size__.
7393 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7394 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7395
6ff444c4
MF
73962013-02-18 Mike Frysinger <vapier@gentoo.org>
7397
7398 * include/programs/xmalloc.h: New file.
7399 * catgets/gencat.c: Include it.
7400 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7401 * elf/pldd.c: Likewise.
7402 * iconv/iconv_charmap.c: Likewise.
7403 * iconv/iconvconfig.c: Likewise.
7404 * iconv/strtab.c: Likewise.
7405 * locale/programs/locale.c: Likewise.
7406 * locale/programs/localedef.h: Likewise.
7407 * locale/programs/simple-hash.c: Likewise.
7408 * nscd/nscd.h: Likewise.
7409 * nss/makedb.c: Likewise.
7410 * sysdeps/generic/ldconfig.h: Likewise.
7411
be179c8a
SP
74122013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
ba384f6e
SP
7414 * Versions.def: Add GLIBC_2.18.
7415 * include/link.h (struct link_map): New member l_tls_dtor_count.
7416 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7417 (__call_tls_dtors): Likewise.
7418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7419 __cxa_thread_atexit_impl.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7421 Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7423 Likewise.
7424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7425 Likewise.
7426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7430 Likewise.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7432 Likewise.
7433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7435 Likewise.
7436 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7437 (tests): Add test case tst-tls-atexit.
7438 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7439 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7440 (GLIBC_PRIVATE): Add __call_tls_dtors.
7441 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7442 for libstdc++.
7443 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7444 * stdlib/tst-tls-atexit.c: New test case.
7445 * stdlib/tst-tls-atexit-lib.c: New test case.
7446
ffaa74cf 7447 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7448
be179c8a
SP
7449 * elf/Versions (ld): Add _dl_find_dso_for_object.
7450 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7451 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7452 (dl_open_worker): Use _dl_find_dso_for_object.
7453 * elf/dl-sym.c (do_sym): Likewise.
7454 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7455
f78b5caa
AK
74562013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7457
7458 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7459 Syntactic changes only.
7460 (_dl_runtime_profile): Do a tail-call to the resolved function.
7461
29691210
JM
74622013-02-17 Joseph Myers <joseph@codesourcery.com>
7463
7464 [BZ #13550]
7465 * sysdeps/x86_64/bp-asm.h: Remove file.
7466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7467 <bp-sym.h> and <bp-asm.h>.
7468 (__clone): Do not use BP_SYM.
7469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7470 <bp-sym.h> and <bp-asm.h>.
7471 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7472 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7473 "bp-asm.h".
7474 (_setjmp): Do not use BP_SYM.
7475 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7476 "bp-asm.h".
7477 (setjmp): Do not use BP_SYM.
7478 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7479 libc_hidden_def.
7480 (mempcpy): Do not use BP_SYM in weak_alias.
7481 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7482 "bp-asm.h".
7483 (strchr): Do not use BP_SYM.
7484 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7485 "bp-asm.h".
7486 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7487 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7488 (_start): Do not use BP_SYM.
7489 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7490 "bp-asm.h".
7491 (strcat): Do not use BP_SYM.
7492 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (STRCMP): Do not use BP_SYM.
7495 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 (STRCPY): Do not use BP_SYM.
7498 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7499 "bp-asm.h".
7500 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7501 "bp-asm.h".
7502 (FUNCTION): Do not use BP_SYM.
7503 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7504 weak_alias.
7505 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7506
f238fd19
AJ
75072013-02-17 Andreas Jaeger <aj@suse.de>
7508
7509 * time/Versions: Sort entries.
7510 * string/Versions: Likewise.
7511 * resolv/Versions: Likewise.
7512 * posix/Versions: Likewise.
7513 * iconv/Versions: Likewise.
7514 * elf/Versions: Likewise.
7515 * wcsmbs/Versions: Likewise.
7516
bd07f23c 75172013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7518
22af19f9
SP
7519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7520 loop termination condition.
7521
4709fe76
SP
7522 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7523 variable to calculate EZ.
7524 (__sqr): Likewise.
2d0e0f29
SP
7525
7526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7527 the lower precision input.
7528
daaa7713
JM
75292013-02-15 Joseph Myers <joseph@codesourcery.com>
7530
7531 [BZ #13550]
7532 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7533 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7534 (run-via-rtld-prefix): Do not handle %-bp tests.
7535 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7536 (all-object-suffixes): Remove .ob.
7537 (bppfx): Remove variable.
7538 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7539 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7540 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7541 [$(build-bounded) = yes] (libtype.ob): Likewise.
7542 * Makerules (elide-routines.ob): Remove variable.
7543 (do-tests-clean): Do not handle *-bp.out.
7544 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7545 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7546 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7547 (tests): Do not include $(tests-bp.out).
7548 (xtests): Do not include $(xtests-bp.out).
7549 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7550 [$(build-bounded) = yes] ($(addprefix
7551 $(objpfx),$(binaries-bounded))): Remove rule.
7552 ($(objpfx)%-bp.out): Remove rule.
7553 * config.make.in (build-bounded): Remove variable.
7554 * crypt/Makefile [$(build-bounded) = yes]
7555 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7556 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7557 append to variable.
7558 [$(build-bounded) = yes] (install-lib): Likewise.
7559 [$(build-bounded) = yes] (generated): Likewise.
7560 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7561 Remove rule.
7562 * intl/Makefile [$(build-bounded) = yes]
7563 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7564 * math/Makefile [$(build-bounded) = yes]
7565 ($(tests:%=$(objpfx)%-bp): Likewise.
7566 * misc/Makefile [$(build-bounded) = yes]
7567 ($(objpfx)tst-tsearch-bp): Likewise.
7568 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7569 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7570 Remove dependency.
7571 * string/Makefile (o-objects.ob): Remove variable.
7572 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7573 (CFLAGS-.ob): Remove variable.
7574 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7575 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7576 both definitions of variable.
7577 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7578 (ASFLAGS-.ob): Remove variable.
7579
e97ed6dd
JM
75802013-02-14 Joseph Myers <joseph@codesourcery.com>
7581
2bdd4ca6
JM
7582 [BZ #13550]
7583 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7584 Remove __BOUNDED_POINTERS__ from condition.
7585 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7586 * string/bits/string2.h [!__NO_STRING_INLINES &&
7587 !__BOUNDED_POINTERS__]: Likewise.
7588 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7589 Likewise.
7590 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7591 Remove conditional code.
7592 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7593 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7594 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7595 condition.
7596
e97ed6dd
JM
7597 [BZ #13550]
7598 * csu/libc-start.c: Do not include <bp-sym.h>.
7599 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7600 * elf/dl-open.c: Do not include <bp-sym.h>.
7601 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7602 * math/fegetenv.c: Do not include <bp-sym.h>.
7603 (fegetenv): Do not use BP_SYM in versioned symbols.
7604 * nptl/sysdeps/pthread/bits/libc-lockP.h
7605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7606 <bp-sym.h>.
7607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7608 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7610 (__pthread_mutex_destroy): Likewise.
7611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7612 (__pthread_mutex_lock): Likewise.
7613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7614 (__pthread_mutex_trylock): Likewise.
7615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7616 (__pthread_mutex_unlock): Likewise.
7617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7618 (__pthread_mutexattr_init): Likewise.
7619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7620 (__pthread_mutexattr_destroy): Likewise.
7621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7622 (__pthread_mutexattr_settype): Likewise.
7623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7624 (__pthread_rwlock_init): Likewise.
7625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7626 (__pthread_rwlock_destroy): Likewise.
7627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7628 (__pthread_rwlock_rdlock): Likewise.
7629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7630 (__pthread_rwlock_tryrdlock): Likewise.
7631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7632 (__pthread_rwlock_wrlock): Likewise.
7633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7634 (__pthread_rwlock_trywrlock): Likewise.
7635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7636 (__pthread_rwlock_unlock): Likewise.
7637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7638 (__pthread_key_create): Likewise.
7639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7640 (__pthread_setspecific): Likewise.
7641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7642 (__pthread_getspecific): Likewise.
7643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7644 Likewise.
7645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7646 (_pthread_cleanup_push_defer): Likewise.
7647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7648 (_pthread_cleanup_pop_restore): Likewise.
7649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7650 (pthread_setcancelstate): Likewise.
7651 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7652 <bp-sym.h>.
7653 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7654 (memchr): Do not use BP_SYM in weak_alias.
7655 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7656 (fegetenv): Do not use BP_SYM in versioned symbols.
7657 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7658 (fesetenv): Do not use BP_SYM in versioned symbols.
7659 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7660 (feupdateenv): Do not use BP_SYM in versioned symbols.
7661 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7662 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7663 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7664 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7665 (open64): Do not use BP_SYM in weak_alias.
7666 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7667 (fegetenv): Do not use BP_SYM in versioned symbols.
7668 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7669 (fesetenv): Do not use BP_SYM in versioned symbols.
7670 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7671 (feupdateenv): Do not use BP_SYM in versioned symbols.
7672 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7673 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7674 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7675 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7676 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7677 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7678 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7679 <bp-sym.h>.
7680 (__libc_start_main): Do not use BP_SYM.
7681
d6752ccd
SP
76822013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
cb57ce60
SP
7684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7685 redundant return line.
7686 (norm): Likewise.
7687 (denorm): Likewise.
7688 (dbl_mp): Likewise.
7689 (sub_magnitudes): Likewise.
7690 (__add): Likewise.
7691 (__sub): Likewise.
7692 (__mul): Likewise.
7693 (__inv): Likewise.
7694 (__dvd): Likewise.
7695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7696 (norm): Likewise.
7697 (denorm): Likewise.
7698 (dbl_mp): Likewise.
7699 (sub_magnitudes): Likewise.
7700 (__add): Likewise.
7701 (__sub): Likewise.
7702 (__mul): Likewise.
7703 (__inv): Likewise.
7704 (__dvd): Likewise.
7705
f414520d
SP
7706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7707 instead of __mul.
7708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7709 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7710 (cc32): Likewise.
7711
d6752ccd
SP
7712 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7713 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7715 of __mul for squares.
7716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7717 function
7718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7719 Likewise.
7720 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7722
70d9946a
JM
77232013-02-13 Joseph Myers <joseph@codesourcery.com>
7724
7725 [BZ #13550]
7726 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7727 code.
7728 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7729 prototype or function definition. Rename ubp_* variables and
7730 parameters. Remove argv definitions conditional on
7731 [__BOUNDED_POINTERS__].
7732 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7733 * elf/dl-runtime.c (_dl_fixup): Likewise.
7734 * include/set-hooks.h (RUN_HOOK): Likewise.
7735 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7736 definition.
7737 * string/strcpy.c (strcpy): Do not use __unbounded.
7738 * sysdeps/generic/frame.h (struct layout): Likewise.
7739 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7740 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7741 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7742 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7743 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7744 (__backtrace): Likewise.
7745 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7746 use __ptrvalue.
7747 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7748 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7749 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7750 Likewise.
7751 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7752 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7753 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7754 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7755 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7756 Do not use __unbounded.
7757 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7758 Rename __unboundedrlimits parameter to rlimits in prototype.
7759 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7760 Do not use __unbounded.
7761 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7762 not use __ptrvalue.
7763 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7764 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7765 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7766 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7767 __ptrvalue or __unbounded.
7768 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7770 use __unbounded.
7771 (__new_msgctl): Do not use __ptrvalue.
7772 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7773 __unbounded.
7774 (__libc_msgrcv): Do not use __ptrvalue.
7775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7776 startup_info): Do not use __unbounded.
7777 (__libc_start_main): Likewise. Rename ubp_* variables and
7778 parameters. Remove argv definitions conditional on
7779 [__BOUNDED_POINTERS__].
7780 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7781 __ptrvalue.
7782 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7783 use __unbounded.
7784 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7785 or __ptrvalue.
7786 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7787 use __unbounded.
7788 (__new_shmctl): Do not use __ptrvalue.
7789 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7790 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7791 Likewise.
7792 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7794 (__libc_sigaction): Likewise.
7795 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7796 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7799
cc7834d6
OB
78002013-02-13 Ondřej Bílka <neleai@seznam.cz>
7801
ffb1ec7b 7802 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7803
7804 * string/mempcpy.c: Implement by calling memcpy.
7805
bdf02814
SP
78062013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7807
c2af38aa
SP
7808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7809
4e92d59e
SP
7810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7811 evaluation.
7812
909279a5
SP
7813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7814 values in the mantissa.
7815
bdf02814
SP
7816 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7817 minimize writes to Z.
7818 (sub_magnitudes): Simplify code a bit.
7819
cd525923
RM
78202013-02-12 Roland McGrath <roland@hack.frob.com>
7821
7822 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7823 from the message. The linker prefixes all warnings with that already.
7824
7e2f0d2d
AS
78252013-02-12 Andreas Schwab <schwab@suse.de>
7826
a445af0b
AS
7827 [BZ #15078]
7828 * posix/regexec.c (extend_buffers): Add parameter min_len.
7829 (check_matching): Pass minimum needed length.
7830 (clean_state_log_if_needed): Likewise.
7831 (get_subexp): Likewise.
7832 * posix/Makefile (tests): Add bug-regex34.
7833 (bug-regex34-ENV): Define.
7834 * posix/bug-regex34.c: New file.
7835
7e2f0d2d
AS
7836 [BZ #11561]
7837 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7838 elements compare against the byte sequence of it, not its name.
7839 * posix/Makefile (tests): Add bug-regex35.
7840 (bug-regex35-ENV): Define.
7841 * posix/bug-regex35.c: New file.
7842
a175b684
TV
78432013-02-11 Tom de Vries <tom@codesourcery.com>
7844
7845 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7846 comment.
7847 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7848 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7849 (CHECK_EOL): Add undef.
7850
310998fe 78512013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7852
7853 * bits/stdlib-bsearch.h: New file.
7854 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7855 * stdlib/stdlib.h: Likewise.
41eda41d 7856
8ded91fb
RM
78572013-02-11 Roland McGrath <roland@hack.frob.com>
7858
7859 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7860 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7861 declaration.
7862 * manual/search.texi (Array Search Function): Add missing const in
7863 lfind prototype.
7864 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7865 declaration to use rlim_t.
7866 (Basic Scheduling Functions): Remove erroneous const from
7867 sched_getparam prototype. Remove erroneous * from
7868 sched_get_priority_max and sched_get_priority_min prototypes.
7869 (Resource Usage): Fix summary @comment on vtimes to refer to
7870 sys/vtimes.h rather than vtimes.h.
7871 Add missing *s in vtimes prototype.
7872 (Limits on Resources): Fix ulimit prototype to return long int.
7873 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7874 prototypes to use long int rather than double.
7875 (BSD Random): Fix initstate and setstate to use char *, not void *.
7876 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7877 prototype to make second argument 'struct aiocb64 *const[]'.
7878 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7879 (Status of AIO Operations): Remove erroneous const in aio_return and
7880 aio_return64 prototypes.
7881 (Synchronizing I/O): Fix sync prototype to return void.
7882 * manual/startup.texi (Suboptions): Remove an erroneous const in
7883 getsubopt prototype.
7884 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7885 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7886 use size_t rather than int.
7887 (Scanning All Users): Likewise for getpwent_r.
7888 (Setting Groups): Add missing const to setgroups prototype.
7889 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7890 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7891 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7892 'const void *' rather than 'const char *'.
7893 (Host Address Functions): Likewise for inet_ntop.
7894 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7895 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7896 ssize_t for return value.
7897 (Sending Data): Likewise for send, sendto, sendmsg.
7898 (Socket Option Functions): Add a missing const in setsockopt prototype.
7899 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7900 use wchar_t for the argument.
7901 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7902 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7903 take no arguments.
7904 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7905 double/float/long double for second argument.
7906 Fix return types of significand, significandf, significandl.
7907 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7908 argument in fchmod prototype.
7909 (File Owner): Use uid_t and gid_t in fchown prototype.
7910 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7911 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7912 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7913 use 'const struct dirent **' as argument types to CMP function pointer
7914 argument.
7915 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7916 (File Times): Fix summary magic @comment for struct utimbuf and utime
7917 to refer to utime.h, not time.h.
7918 * manual/string.texi (Argz Functions): Add missing const in
7919 argz_extract and argz_next prototypes.
7920 (Finding Tokens in a String): Likewise for basename.
7921 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7922 (Copying and Concatenation): Fix typo in wmemmove prototype.
7923 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7924 (Signal Stack): Remove erroneous const in sigstack prototype.
7925 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7926 prototype.
7927 (Simple Calendar Time): Likewise for stime.
7928 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7929 prototype.
7930 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7931 say sys/sysctl.h instead.
7932 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7933 and vsyslog prototypes.
7934
fe77fe6d
TV
79352013-02-11 Tom de Vries <tom@codesourcery.com>
7936
7937 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7938 Remove.
7939
3a09b620
RM
79402013-02-11 Roland McGrath <roland@hack.frob.com>
7941
7942 * misc/sys/mman.h: Fix typo in mremap comment.
7943
550a0b89
RM
79442013-02-08 Roland McGrath <roland@hack.frob.com>
7945
7946 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7947 the '\0' terminator.
7948
a2da1673
JM
79492013-02-08 Joseph Myers <joseph@codesourcery.com>
7950
7951 [BZ #13550]
7952 * debug/segfault.c: Don't include <bp-checks.h>.
7953 * sysdeps/generic/bp-checks.h: Remove file.
7954 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7955 (__GETDENTS): Don't use CHECK_N.
7956 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7957 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7958 (__getgroups): Don't use CHECK_N.
7959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7960 (setgroups): Don't use CHECK_N.
7961 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7962 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7963 (__libc_msgrcv): Don't use CHECK_N.
7964 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7965 (__libc_msgsnd): Don't use CHECK_N.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7967 <bp-checks.h>.
7968 (__libc_pread): Don't use CHECK_N.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7970 include <bp-checks.h>.
7971 (__libc_pread64): Don't use CHECK_N.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7973 include <bp-checks.h>.
7974 (__libc_pwrite): Don't use CHECK_N.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7976 include <bp-checks.h>.
7977 (__libc_pwrite64): Don't use CHECK_N.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7979 <bp-checks.h>.
7980 (__libc_pread): Don't use CHECK_N.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7982 include <bp-checks.h>.
7983 (__libc_pread64): Don't use CHECK_N.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7985 include <bp-checks.h>.
7986 (__libc_pwrite): Don't use CHECK_N.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7988 include <bp-checks.h>.
7989 (__libc_pwrite64): Don't use CHECK_N.
7990 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7991 (do_pread): Don't use CHECK_N.
7992 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7993 (do_pread64): Don't use CHECK_N.
7994 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7995 (do_pwrite): Don't use CHECK_N.
7996 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7997 (do_pwrite64): Don't use CHECK_N.
7998 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7999 (__libc_readv): Don't use CHECK_N.
8000 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8001 (semop): Don't use CHECK_N.
8002 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8003 <bp-checks.h>.
8004 (semtimedop): Don't use CHECK_N.
8005 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8006 (__libc_pread): Don't use CHECK_N.
8007 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8008 <bp-checks.h>.
8009 (__libc_pread64): Don't use CHECK_N.
8010 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8011 <bp-checks.h>.
8012 (__libc_pwrite): Don't use CHECK_N.
8013 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8014 <bp-checks.h>.
8015 (__libc_pwrite64): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8017 <bp-checks.h>.
8018 (__libc_msgrcv): Don't use CHECK_N.
8019 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8020 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8021 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8022 (__libc_writev): Don't use CHECK_N.
8023
b84660a8
RM
80242013-02-08 Roland McGrath <roland@hack.frob.com>
8025
7f3e75f8
RM
8026 * string/strcpy.c: Removed unused variable.
8027
b84660a8
RM
8028 * Makeconfig (+sysdep-includes): Define with := rather than =.
8029 Use an existing include/ subdir of each sysdeps dir before it.
8030
471514d3
CD
80312013-02-08 Carlos O'Donell <carlos@redhat.com>
8032
8033 * nscd/connection.c (register_traced_file): Comment function.
8034 [HAVE_INOTIFY] (union __inev): Define.
8035 [HAVE_INOTIFY] (inotify_check_files): New function.
8036 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8037 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8038 clear_db_cache.
8039 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8040
b2d3c3be
CD
80412013-02-08 Carlos O'Donell <carlos@redhat.com>
8042
8043 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8044 loaded if not already and that a failure is permanent.
8045
b39949d2
CD
80462013-02-08 Carlos O'Donell <carlos@redhat.com>
8047
ddacd1db 8048 [BZ #15006]
b39949d2
CD
8049 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8050 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8051
b2c9eff4
JM
80522013-02-08 Joseph Myers <joseph@codesourcery.com>
8053
f3aae3f3
JM
8054 [BZ #13550]
8055 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8056 (CHECK_1_NULL_OK): Likewise.
8057 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8058 (__fxstat): Do not use CHECK_1.
8059 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8060 <bp-checks.h>.
8061 (___fxstat64): Do not use CHECK_1.
8062 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8063 <bp-checks.h>.
8064 (__fxstatat): Do not use CHECK_1.
8065 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8066 <bp-checks.h>.
8067 (__fxstatat64): Do not use CHECK_1.
8068 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8069 <bp-checks.h>.
8070 (__fxstat): Do not use CHECK_1.
8071 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8072 <bp-checks.h>.
8073 (__fxstatat): Do not use CHECK_1.
8074 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8075 <bp-checks.h>.
8076 (__getresgid): Do not use CHECK_1.
8077 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8078 <bp-checks.h>.
8079 (__getresuid): Do not use CHECK_1.
8080 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8081 <bp-checks.h>.
8082 (__lxstat): Do not use CHECK_1.
8083 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8084 <bp-checks.h>.
8085 (__old_msgctl): Do not use CHECK_1.
8086 (__new_msgctl): Likewise.
8087 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8088 <bp-checks.h>.
8089 (__new_setrlimit): Do not use CHECK_1.
8090 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8091 <bp-checks.h>.
8092 (__old_shmctl): Do not use CHECK_1.
8093 (__new_shmctl): Likewise.
8094 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8095 <bp-checks.h>.
8096 (__xstat): Do not use CHECK_1.
8097 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8098 (__lxstat): Do not use CHECK_1.
8099 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8100 <bp-checks.h>.
8101 (___lxstat64): Do not use CHECK_1.
8102 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8103 (__old_msgctl): Do not use CHECK_1.
8104 (__new_msgctl): Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8106 <bp-checks.h>.
8107 (__gettimeofday): Do not use CHECK_1.
8108 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8109 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8110 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8111 <bp-checks.h>.
8112 (__gettimeofday): Do not use CHECK_1.
8113 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8114 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8115 (__new_shmctl): Do not use CHECK_1.
8116 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8117 <bp-checks.h>.
8118 (do_sigtimedwait): Do not use CHECK_1.
8119 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8120 <bp-checks.h>.
8121 (do_sigwaitinfo): Do not use CHECK_1.
8122 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8123 <bp-checks.h>.
8124 (msgctl): Do not use CHECK_1.
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8126 <bp-checks.h>.
8127 (shmctl): Do not use CHECK_1.
8128 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8129 (ustat): Do not use CHECK_1.
8130 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8131 <bp-checks.h>.
8132 (__fxstat): Do not use CHECK_1.
8133 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8134 <bp-checks.h>.
8135 (__fxstatat): Do not use CHECK_1.
8136 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8137 <bp-checks.h>.
8138 (__lxstat): Do not use CHECK_1.
8139 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8140 <bp-checks.h>.
8141 (__xstat): Do not use CHECK_1.
8142 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8143 (__xstat): Do not use CHECK_1.
8144 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8145 (___xstat64): Do not use CHECK_1.
8146
b2c9eff4
JM
8147 [BZ #13550]
8148 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8149 definitions.
8150 (CHECK_BOUNDS_HIGH): Likewise.
8151 * string/strcpy.c: Do not include <bp-checks.h>.
8152 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8153
f1d70dad
RM
81542013-02-07 Roland McGrath <roland@hack.frob.com>
8155
8156 * nscd/nscd-client.h (__nscd_drop_map_ref):
8157 Add __attribute__ ((unused)).
8158 * nis/nss-nisplus.h (niserr2nss): Likewise.
8159
8160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8161 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8162
8163 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8164 Remove inline keyword.
8165 * include/rounding-mode.h (round_away): Likewise.
8166 * libio/wfileops.c (adjust_wide_data): Likewise.
8167 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8168 (__m128i_strloadu_tolower): Likewise.
8169 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8170 (__m128i_strloadu_tolower): Likewise.
8171 * time/mktime.c (ydhms_diff): Likewise.
8172 * locale/elem-hash.h (elem_hash): Likewise.
8173 * locale/setlocale.c (setdata): Likewise.
8174 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8175 (re_string_wchar_at): Likewise.
8176 (bitset_not, bitset_merge, bitset_mask): Likewise.
8177 [!(__GNUC__ > 3)] (inline): Remove macro.
8178 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8179 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8180 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8181 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8182 * string/memcmp.c (memcmp_bytes): Likewise.
8183 * locale/programs/locarchive.c (compute_hashval): Likewise.
8184 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8185 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8186 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8187 * nss/getent.c (print_rpc, print_protocols): Likewise.
8188 (print_passwd, print_group, print_aliases): Likewise.
8189 * nis/nss-nisplus.h (niserr2nss): Likewise.
8190 * nscd/connections.c (restart_p): Likewise.
8191 Change return type to bool.
8192
eab55bfb
RM
81932013-02-05 Roland McGrath <roland@hack.frob.com>
8194
7bd642f5
RM
8195 * Makeconfig (all-Depend-files): Add existing
8196 $(sorted-subdirs:=/Depend) files.
8197 (all-subdirs): Remove nss.
8198 * sysdeps/unix/inet/Subdirs: Add it here instead.
8199 * hesiod/Depend: New file.
8200
573c29b2
RM
8201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8202 instead of calling alloca.
8203
b2e25af0
RM
8204 * io/lseek.c (__lseek): Rename to __libc_lseek.
8205 Define __lseek as an alias.
8206
eab55bfb
RM
8207 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8208
9a0d1941
CD
82092013-02-04 Carlos O'Donell <carlos@redhat.com>
8210
8211 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8212 else clause and remove check for non-standard endianness.
8213
b83bbec4
DM
82142013-02-04 David S. Miller <davem@davemloft.net>
8215
8216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8217
6277fdab
JM
82182013-02-04 Joseph Myers <joseph@codesourcery.com>
8219
8220 [BZ #13550]
8221 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8222 (__ubp_memchr): Remove prototype.
8223 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8224 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8225 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8226 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8227 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8228 Remove alias.
8229 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8230 (__ubp_memchr): Likewise.
8231 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8232 (__ubp_memchr): Likewise.
8233 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8234 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8235 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8236 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8237 CHECK_STRING.
8238 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8239 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8240 (__getcwd): Do not use CHECK_STRING.
8241 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8242 <bp-checks.h>.
8243 (__real_chown): Do not use CHECK_STRING.
8244 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8245 <bp-checks.h>.
8246 (fchownat): Do not use CHECK_STRING.
8247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8248 CHECK_STRING.
8249 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8250 <bp-checks.h>.
8251 (__lchown): Do not use CHECK_STRING.
8252 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8253 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8254 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8255 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8257 include <bp-checks.h>.
8258 (truncate64): Do not use CHECK_STRING.
8259 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8260 <bp-checks.h>.
8261 (__real_chown): Do not use CHECK_STRING.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8263 <bp-checks.h>.
8264 (__lchown): Do not use CHECK_STRING.
8265 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8266 <bp-checks.h>.
8267 (__chown): Do not use CHECK_STRING.
8268 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8269 <bp-checks.h>.
8270 (truncate64): Do not use CHECK_STRING.
8271 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8272 Likewise.
8273 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8274 (__xmknod): Do not use CHECK_STRING.
8275 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8276 <bp-checks.h>.
8277 (__xmknodat): Do not use CHECK_STRING.
8278 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8279 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8280
903ae060
AS
82812013-02-04 Andreas Schwab <schwab@suse.de>
8282
8283 [BZ #14142]
8284 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8285 * include/netdb.h: Likewise for h_errno.
8286 * elf/tst-stackguard1.c: Include <tls.h>.
8287
542f9466
JK
82882013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8289
8290 * elf/link.h (struct link_map): Extend the l_addr comment.
8291 * include/link.h (struct link_map): Likewise.
8292
e782a927
JM
82932013-02-01 Joseph Myers <joseph@codesourcery.com>
8294
8295 [BZ #13550]
8296 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8297 (BOUNDED_1): Remove macro.
8298 * debug/backtrace.c: Don't include <bp-checks.h>.
8299 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8300 (__backtrace): Likewise.
8301 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8302 <bp-checks.h>.
8303 (__backtrace): Don't use BOUNDED_1.
8304 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8305 <bp-checks.h>.
8306 (__backtrace): Don't use BOUNDED_1.
8307 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8308 (__backtrace): Don't use BOUNDED_1.
8309 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8310 (shmat): Don't use BOUNDED_N.
8311
8cf28c5e
JM
83122013-01-31 Joseph Myers <joseph@codesourcery.com>
8313
3a7ac8a0
JM
8314 [BZ #13550]
8315 * sysdeps/generic/bp-start.h: Remove file.
8316 * csu/libc-start.c: Don't include <bp-start.h>.
8317 (LIBC_START_MAIN): Set up __environ directly instead of using
8318 INIT_ARGV_and_ENVIRON.
8319 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8320 <bp-start.h>.
8321
f3499f95
JM
8322 [BZ #13550]
8323 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8324 definitions.
8325 (CHECK_FCNTL): Likewise.
8326 (CHECK_N_PAGES): Likewise.
8327
32a45bea
JM
8328 [BZ #13550]
8329 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8330 definitions.
8331 (CHECK_SIGSET_NULL_OK): Likewise.
8332 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8333 <bp-checks.h>.
8334 (sigpending): Don't use CHECK_SIGSET.
8335 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8336 <bp-checks.h>.
8337 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8338 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8339 <bp-checks.h>.
8340 (do_sigsuspend): Don't use CHECK_SIGSET.
8341 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8342 use CHECK_SIGSET.
8343 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8344 (do_sigwait): Don't use CHECK_SIGSET.
8345 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8346 use CHECK_SIGSET.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8348 include <bp-checks.h>.
8349 (sigpending): Don't use CHECK_SIGSET.
8350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8351 include <bp-checks.h>.
8352 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8353 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8354 <bp-checks.h>.
8355 (sigpending): Don't use CHECK_SIGSET.
8356 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8357 <bp-checks.h>.
8358 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8359
2e8a5c8c
JM
8360 [BZ #13550]
8361 * sysdeps/generic/bp-semctl.h: Remove file.
8362 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8363 <bp-checks.h> and <bp-semctl.h>.
8364 (__old_semctl): Don't use CHECK_SEMCTL.
8365 (__new_semctl): Likewise.
8366 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8367 and <bp-semctl.h>.
8368 (__old_semctl): Don't use CHECK_SEMCTL.
8369 (__new_semctl): Likewise.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8371 <bp-checks.h> and <bp-semctl.h>.
8372 (__old_semctl): Don't use CHECK_SEMCTL.
8373 (__new_semctl): Likewise.
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8375 <bp-checks.h> and <bp-semctl.h>.
8376 (semctl): Don't use CHECK_SEMCTL.
8377
c2d54929
JM
8378 [BZ #13550]
8379 * Makerules (elide-bp-thunks): Remove variable.
8380 (elide-routines.oS): Don't use $(elide-bp-thunks).
8381 (elide-routines.os): Likewise.
8382 (elide-routines.o): Likewise.
8383 (elide-routines.op): Likewise.
8384 (elide-routines.og): Likewise.
8385 (objects): Don't use $(bp-thunks).
8386 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8387 include.
8388 (common-generated): Do not add s-proto-bp.d.
8389 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8390 (int): Likewise.
8391 (typ): Likewise.
8392 Do not generate makefile rules for bounded-pointer thunks.
8393 * sysdeps/generic/bp-thunks.h: Remove file.
8394 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8395 * sysdeps/unix/s-proto-bp.S: Likewise.
8396
8cf28c5e
JM
8397 [BZ #15062]
8398 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8399 parts of result separately when argument is not close to line from
8400 -i to i and one part of argument is small.
8401 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8402 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8403 * math/libm-test.inc (cacos_test): Add more tests.
8404 (casin_test): Likewise.
8405 (casinh_test): Likewise.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8408
c4e33b8d
DM
84092013-01-31 David S. Miller <davem@davemloft.net>
8410
8411 * po/de.po: Update from translation team.
8412
3b60b421
MK
84132013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8414
8415 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8416
bb931195
TS
84172013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8418
b5a5da23
TS
8419 * configure.in (_AC_PROG_CC_C89): New definition.
8420 * configure: Regenerate.
8421
bb931195
TS
8422 * configure.in (AC_PROG_CPP): New definition.
8423 * configure: Regenerate.
8424
8c53a12c
JM
84252013-01-23 Joseph Myers <joseph@codesourcery.com>
8426
8427 * debug/tst-backtrace.h: New file.
8428 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8429 (ret): Remove variable.
8430 (x): Likewise.
8431 (FAIL): Remove macro.
8432 (NO_INLINE): Likewise.
8433 (fn1): Use match function instead of strstr.
8434 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8435 (ret): Remove variable.
8436 (x): Likewise.
8437 (FAIL): Remove macro.
8438 (NO_INLINE): Likewise.
8439 (fn): Use match function instead of strstr.
8440 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8441 (ret): Remove variable.
8442 (x): Likewise.
8443 (FAIL): Remove macro.
8444 (NO_INLINE): Likewise.
8445 (handle_signal): Use match function instead of strstr.
8446 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8447 (ret): Remove variable.
8448 (x): Likewise.
8449 (FAIL): Remove macro.
8450 (NO_INLINE): Likewise.
8451 (handle_signal): Use match function instead of strstr.
8452
4858fa2a
RM
84532013-01-23 Roland McGrath <roland@hack.frob.com>
8454
8455 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8456
bae8e7f5
DM
84572013-01-23 David S. Miller <davem@davemloft.net>
8458
8459 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8460 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8461 argument of CAS if possible.
8462 * sysdeps/sparc/sparc64/bits/atomic.h
8463 (__arch_compare_and_exchange_val_32_acq): Likewise.
8464 (__arch_compare_and_exchange_val_64_acq): Likewise.
8465
9cbbc4ae
PT
84662013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8467
8468 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8469 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8470 Include <limits.h>.
67b3f58c 8471 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8472
5655a0b5
AC
84732013-01-23 Adam Conrad <adconrad@0c3.net>
8474
8475 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8476 (LDFLAGS-tst-array5): Likewise.
8477
052aff95
JM
84782013-01-23 Joseph Myers <joseph@codesourcery.com>
8479
8480 [BZ #15036]
8481 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8482 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8483 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8484 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8485
7c1e01aa
DM
84862013-01-21 David S. Miller <davem@davemloft.net>
8487
8488 * sysdeps/sparc/backtrace.c: New file.
8489 * sysdeps/sparc/sparc32/backtrace.h: New file.
8490 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8491 * sysdeps/sparc/sparc64/backtrace.h: New file.
8492 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8493 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8494 -funwind-tables.
8495
ab087e0a
AS
84962013-01-21 Andreas Schwab <schwab@suse.de>
8497
8498 [BZ #15020]
8499 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8500 closed its stdout.
8501
ed689c2f
AS
85022013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8505 "mpa2.h".
8506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8507
31d470ac
JM
85082013-01-18 Joseph Myers <joseph@codesourcery.com>
8509 Mark Mitchell <mark@codesourcery.com>
8510 Tom de Vries <tom@codesourcery.com>
8511 Paul Pluzhnikov <ppluzhnikov@google.com>
8512
8513 * debug/tst-backtrace2.c: New file.
8514 * debug/tst-backtrace3.c: Likewise.
8515 * debug/tst-backtrace4.c: Likewise.
8516 * debug/tst-backtrace5.c: Likewise.
8517 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8518 (CFLAGS-tst-backtrace3.c): Likewise.
8519 (CFLAGS-tst-backtrace4.c): Likewise.
8520 (CFLAGS-tst-backtrace5.c): Likewise.
8521 (LDFLAGS-tst-backtrace2): Likewise.
8522 (LDFLAGS-tst-backtrace3): Likewise.
8523 (LDFLAGS-tst-backtrace4): Likewise.
8524 (LDFLAGS-tst-backtrace5): Likewise.
8525 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8526 tst-backtrace4 and tst-backtrace5.
8527
90567f30 85282013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8529 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8530
8531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8532 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8534 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8536 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8537 "+r" and remove output regs list as redundant. Add explicit inline
8538 asm to specify register of return val to work around compiler codegen
8539 bug. Remove (int) cast on return value. Add return type parameter to
8540 use in macro so that this macro does not truncate return value for
8541 64-bit values.
8542 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8543 pass to INTERNAL_VSYSCALL_NCS.
8544 (INLINE_VSYSCALL): Add 'long int' as return type to
8545 INTERNAL_VSYSCALL_NCS macro invocation.
8546 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8547 INTERNAL_VSYSCALL_NCS macro invocation.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8549
d3b9ea61
SP
85502013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8551
0b57daeb
SP
8552 [BZ #14496]
8553 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8554 Fix application of SIMD FP exception mask.
8555
caa99d06
SP
8556 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8557 mp_no from a power of two.
8558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8559 __mpexp_twomm1. Use __pow_mp.
8560
d3b9ea61
SP
8561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8562 multiplication.
8563
1dbaee3c
DM
85642013-01-17 David S. Miller <davem@davemloft.net>
8565
8566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8567
728d7b43
JM
85682013-01-17 Joseph Myers <joseph@codesourcery.com>
8569
8570 [BZ #15023]
8571 * include/complex.h: Condition contents on [!_COMPLEX_H].
8572 (__kernel_casinhf): New prototype.
8573 (__kernel_casinh): Likewise.
8574 (__kernel_casinhl): Likewise.
8575 * math/Makefile (libm_calls): Add k_casinh.
8576 * math/k_casinh.c: New file.
8577 * math/k_casinhf.c: Likewise.
8578 * math/k_casinhl.c: Likewise.
8579 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8580 finite nonzero arguments.
8581 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8582 finite nonzero arguments.
8583 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8584 finite nonzero arguments.
8585 * math/s_casinh.c: Do not include <float.h>.
8586 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8587 * math/s_casinhf.c: Do not include <float.h>.
8588 (__casinhf): Move code for finite nonzero arguments to
8589 k_casinhf.c.
8590 * math/s_casinhl.c: Do not include <float.h>.
8591 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8592 redefine.
8593 (__casinhl): Move code for finite nonzero arguments to
8594 k_casinhl.c.
8595 * math/libm-test.inc (cacos_test): Add more tests.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8598
2a26ef3a
PT
85992013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8600
8601 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8602 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8603 [!HAVE_MREMAP]: Remove [defined linux] case.
8604 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8605
a897655d
SP
86062013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8607
8608 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8609
881ebe89 86102013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8611
8612 * elf/elf.h (R_386_SIZE32): New relocation.
8613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8614 R_386_SIZE32.
8615 (elf_machine_rela): Likewise.
8616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8617 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8618
59981e9b
JM
86192013-01-17 Joseph Myers <joseph@codesourcery.com>
8620
8621 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8622 (FP_FAST_FMA): Do not define.
8623 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8624 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8625 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8626 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8627 !_SOFT_FLOAT]: Likewise.
8628 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8629 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8630 value.
8631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8632 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8633 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8634 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8635 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8636 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8637 file.
8638
cfa8054f
AS
86392013-01-16 Andreas Schwab <schwab@suse.de>
8640
8641 [BZ #14327]
8642 * include/stdlib.h (__mktemp): Add declaration.
8643 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8644 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8645
dd930cc5
SP
86462013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8647
881ebe89
SP
8648 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8649 definitions.
8650 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8651 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8652 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8653 definitions here.
8654 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8655 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8656 definitions.
8657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8658 and ONE.
8659 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8660 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8661 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8662 definitions.
8663 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8664 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8665 definitions.
8666 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8667
dd930cc5
SP
8668 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8669
c19a9f89
DM
86702013-01-15 David S. Miller <davem@davemloft.net>
8671
1aa61767
DM
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8673 trunc{,f} to libm-sysdep_routes.
8674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8676 file.
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8679 file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8681 file.
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8688 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8689 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8690
c42d5e98
DM
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8692 nearbyint{,f} to libm-sysdep_routes.
8693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8695 New file.
8696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8697 file.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8699 New file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8701 file.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8705 file.
8706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8708 file.
8709 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8711 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8712
c19a9f89
DM
8713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8714 libc_feholdexcept and libc_fesetenv.
8715
357679d2
MF
87162013-01-15 Mike Frysinger <vapier@gentoo.org>
8717
8718 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8719
65a82e3d
DM
87202013-01-14 David S. Miller <davem@davemloft.net>
8721
8b954ab9
DM
8722 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8723 (SPARC_ASM_VIS2_IFUNC): Likewise.
8724 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8726 use of 'siam' instruction.
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8728 Likewise.
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8730 Likewise.
8731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8732 Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8738 file.
8739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8740 file.
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8742 file.
8743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8744 file.
8745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8750 new VIS2 routines.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8754 Likewise.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8760 routines to libm-sysdep_routines.
8761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8762
65a82e3d
DM
8763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8764 fdim/fdimf to libm-sysdep_routines.
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8766 file.
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8769 file.
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8773 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8774 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8775 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8776 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8777
e34ab705
SP
87782013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8779
2a91b573
SP
8780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8781 to optimize copies.
8782
1066a534
SP
8783 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8786
e34ab705
SP
8787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8788 local variable MPTWO.
8789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8790 Likewise.
8791
aba5e596
MF
87922013-01-13 Mike Frysinger <vapier@gentoo.org>
8793
8794 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8795 GLOB_NOESCAPE.
8796
e557e9e5
MF
87972013-01-13 Mike Frysinger <vapier@gentoo.org>
8798
8799 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8800
0428cec9
MF
88012013-01-13 Mike Frysinger <vapier@gentoo.org>
8802
8803 * manual/pattern.texi (glob_t): Document gl_flags.
8804 (glob64_t): Likewise.
8805
8794a964
DM
88062013-01-11 David S. Miller <davem@davemloft.net>
8807
66438c3f
RM
8808 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8809 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8810 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8811 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8812 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8813 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8814 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8815 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8816 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8817 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8818 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8819 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8820 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8821
4ae4244d
DM
8822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8823 sparc V9 rather than using V8 code.
8824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8826
8794a964
DM
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8828 Move to...
8829 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8830 Here.
8831
6270516e
RM
88322013-01-11 Roland McGrath <roland@hack.frob.com>
8833
8834 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8835 not in the main loop.
8836 * configure: Regenerated.
8837
6a57d931
JM
88382013-01-11 Joseph Myers <joseph@codesourcery.com>
8839
8840 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8841 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8842 to just #else.
8843 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8844 [!__GLIBC_HAVE_LONG_LONG] case.
8845 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8846 condition to just #else.
8847 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8848 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8849 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8850 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8851 unconditional.
8852 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8853 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8854 #elif condition to just #else.
8855 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8856 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8857 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8858 #elif condition to just #else.
8859
0e8529e9
SE
88602013-01-11 Steve Ellcey <sellcey@mips.com>
8861
8862 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8863 (EF_MIPS_ARCH_64): Fix value.
8864 (EF_MIPS_ARCH_32R2): New.
8865 (EF_MIPS_ARCH_64R2): New.
8866
740b3dbe
L
88672013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 * Makeconfig (+link-pie-before-libc): New.
8870 (+link-pie-after-libc): Likewise.
8871 (+link-pie-tests): Likewise.
8872 (+link-pie): Rewritten.
8873 (link-before-libc): Remove $(config-LDFLAGS).
8874 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8875 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8876 (config-LDFLAGS): Renamed to ...
8877 (rtld-LDFLAGS): This.
8878 (rtld-tests-LDFLAGS): New macro.
8879 (link-libc-rpath-link): Likewise.
8880 (link-libc-tests-rpath-link): Likewise.
8881 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8882 (link-libc): Prepand $(link-libc-rpath-link).
8883 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8884 (test-program-prefix): New macro.
8885 (test-via-rtld-prefix): Likewise.
8886 (test-program-cmd): Likewise.
8887 (host-test-program-cmd): Likewise.
8888 * Makefile ($(common-objpfx)testrun.sh): Replace
8889 $(run-program-prefix) with $(test-program-prefix).
8890 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8891 $(rtld-LDFLAGS).
8892 ($(common-objpfx)shlib.lds): Likewise.
8893 (build-module-helper): Likewise.
8894 ($(common-objpfx)format.lds): Likewise.
8895 * Rules (binaries-pie-tests): New.
8896 (binaries-pie-notests): Likewise.
8897 (binaries-pie): Rewritten.
8898 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8899 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8900 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8901 (make-test-out): Replace $(host-built-program-cmd) with
8902 $(host-test-program-cmd).
8903 * config.make.in (build-hardcoded-path-in-tests): New variable.
8904 * configure.in (--enable-hardcoded-path-in-tests): New configure
8905 option.
8906 (hardcoded_path_in_tests): New AC_SUBST.
8907 * configure: Regenerated.
8908 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8909 $(built-program-cmd) with $(test-program-cmd).
8910 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8911 (test_program_cmd): This.
8912 * elf/Makefile ($(objpfx)order.out): Run test with
8913 $(test-program-prefix).
8914 ($(objpfx)order2.out): Likewise.
8915 ($(objpfx)tst-initorder.out): Likewise.
8916 ($(objpfx)tst-initorder2.out): Likewise.
8917 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8918 $(test-program-cmd).
8919 ($(objpfx)tst-array1-static.out): Likewise.
8920 ($(objpfx)tst-array2.out): Likewise.
8921 ($(objpfx)tst-array3.out): Likewise.
8922 ($(objpfx)tst-array4.out): Likewise.
8923 ($(objpfx)tst-array5.out): Likewise.
8924 ($(objpfx)tst-array5-static.out): Likewise.
8925 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8926 $(test-program-cmd).
8927 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8928 $(run-program-prefix) with $(test-program-prefix).
8929 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8930 (test_program_prefix): This.
8931 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8932 $(run-program-prefix) with $(test-program-prefix).
8933 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8934 (test_program_prefix): This.
8935 * iconvdata/tst-tables.sh: Likewise.
8936 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8937 $(run-program-prefix) with $(test-program-prefix).
8938 ($(objpfx)tst-translit.out): Likewise.
8939 ($(objpfx)tst-gettext2.out): Likewise.
8940 ($(objpfx)tst-gettext4.out): Likewise.
8941 ($(objpfx)tst-gettext6.out): Likewise.
8942 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8943 (test_program_prefix): This.
8944 * intl/tst-gettext2.sh: Likewise.
8945 * intl/tst-gettext4.sh Likewise.
8946 * intl/tst-gettext6.sh: Likewise.
8947 * intl/tst-translit.sh: Likewise.
8948 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8949 with $(test-program-cmd).
8950 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8951 $(run-program-prefix) with $(test-program-prefix).
8952 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8953 (test_program_prefix): This.
8954 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8955 $(run-program-prefix) with $(test-program-prefix).
8956 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8957 (test_program_prefix): This.
8958 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8959 * posix/Makefile ($(objpfx)globtest.out): Replace
8960 $(run-via-rtld-prefix) and $(test-wrapper) with
8961 $(test-program-prefix) and $(test-via-rtld-prefix).
8962 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8963 $(test-program-prefix).
8964 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8965 $(host-test-program-cmd).
8966 (tst-spawn-ARGS): Likewise.
8967 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8968 $(test-program-prefix).
8969 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8970 (test_via_rtld_prefix): This.
8971 (test_wrapper): Renamed to ...
8972 (test_program_prefix): This.
8973 (run_program_prefix): Replaced by test_program_prefix.
8974 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8975 (test_program_prefix): This.
8976 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8977 with $(host-test-program-cmd).
8978 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8979 $(run-program-prefix) with $(test-program-prefix).
8980 ($(objpfx)tst-printf.out): Likewise.
8981 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8982 $(test-program-cmd).
8983 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8984 (test_program_prefix): This.
8985 * stdio-common/tst-unbputc.sh: Likewise.
8986 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8987 $(run-program-prefix) with $(test-program-prefix).
8988 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8989 (test_program_prefix): This.
8990 * string/Makefile ($(objpfx)tst-svc.out): Replace
8991 $(built-program-cmd) with $(test-program-cmd).
8992
c6fe55cf
AJ
89932013-01-11 Andreas Jaeger <aj@suse.de>
8994
8995 [BZ #15003]
8996 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8997 value. Sync with Linux 3.7.
8998
9e6919c8
DM
89992013-01-10 David S. Miller <davem@davemloft.net>
9000
9001 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9004
1c9f1a02
RM
90052013-01-10 Roland McGrath <roland@hack.frob.com>
9006
9007 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9008 never set.
9009 * configure: Regenerated.
9010
b9de2dde
DM
90112013-01-10 David S. Miller <davem@davemloft.net>
9012
9013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9014 sparc V9 rather than using V8 code.
9015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9017
e7f68ef4
RM
90182013-01-10 Roland McGrath <roland@hack.frob.com>
9019
9020 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9021 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9022 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9023 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9024 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9025 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9026 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9027 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9028 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9029 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9030 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9031 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9032 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9033 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9034 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9035 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9036 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9037 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9038 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9039 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9040 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9041 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9042 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9043 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9044 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9045 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9046 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9047
5a47cc9c
DM
90482013-01-10 David S. Miller <davem@davemloft.net>
9049
9050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9051
4cf8f209
L
90522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9053
9054 * posix/Makefile (tests-static): New variable.
9055 (tests): Add $(tests-static).
9056 (tst-exec-static-ARGS): New variable.
9057 (tst-spawn-static-ARGS): Likewise.
9058 * posix/tst-exec-static.c: New file.
9059 * posix/tst-spawn-static.c: Likewise.
9060 * posix/tst-exec.c: Support run directly.
9061 * posix/tst-spawn.c: Likewise.
9062
fed0faa1
JM
90632013-01-10 Joseph Myers <joseph@codesourcery.com>
9064
828beb13
JM
9065 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9066 long.
9067 * math/bits/mathcalls.h (llrint): Likewise.
9068 (llround): Likewise.
9069 * stdlib/stdlib.h (struct drand48_data): Likewise.
9070 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9071 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9072 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9073 Likewise.
9074 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9075 Likewise.
9076 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9077 (elf_greg_t): Likewise.
9078 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9079 (__jmp_buf): Likewise.
9080 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9081 definitions.
9082 (llrint): Likewise, for all definitions.
9083 (llrintl): Likewise.
9084
fed0faa1
JM
9085 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9086 Remove [__GNUC__] condition.
9087 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9088 condition to just [__USE_ISOC99].
9089 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9090
1a20cb20
L
90912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9092
9093 [BZ #14200]
9094 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9095 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9096 defined.
9097 (_POSIX_V6_ILP32_OFF32): Likewise.
9098 (_XBS5_ILP32_OFF32): Likewise.
9099 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9100 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9101
751b85f7
SP
91022013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9103
7490eb81
SP
9104 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9105
751b85f7
SP
9106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9107 doubles __mpexp_twomm1. Adjust usage.
9108 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9109 Remove.
9110
988197f0
AS
91112013-01-10 Andreas Schwab <schwab@suse.de>
9112
9113 [BZ #14964]
9114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9115 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9116
e83d7298
DM
91172013-01-09 David S. Miller <davem@davemloft.net>
9118
034ed64b 9119 [BZ #15003]
e83d7298
DM
9120 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9121 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9122 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9123 TCP_FASTOPEN): Define.
9124 (tcp_repair_opt): New structure.
9125 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9126 enum values.
9127 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9128 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9129 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9130 (tcp_cookie_transactions): New structure.
9131
d5e0b9bd
AB
91322013-01-09 Anton Blanchard <anton@samba.org>
9133
9134 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9135 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9136 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9138
0c07e3ea
JM
91392013-01-09 Joseph Myers <joseph@codesourcery.com>
9140
9141 * include/features.h (__USE_ANSI): Remove.
9142
232f7002
RM
91432013-01-09 Roland McGrath <roland@hack.frob.com>
9144
ad98e30c
RM
9145 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9146
232f7002
RM
9147 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9148
950c99ca
SP
91492013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9150
b5792741
SP
9151 * sysdeps/s390/fpu/libm-test-ulps: Update.
9152
47cf2278
SP
9153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9154
950c99ca
SP
9155 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9156 (__acr): Likewise.
9157 (__cpy): Likewise.
9158 (norm): Likewise.
9159 (denorm): Likewise.
9160 (__mp_dbl): Likewise.
9161 (__dbl_mp): Likewise.
9162 (add_magnitudes): Likewise.
9163 (sub_magnitudes): Likewise.
9164 (__add): Likewise.
9165 (__sub): Likewise.
9166 (__mul): Likewise.
9167 (__inv): Likewise.
9168 (__dvd): Likewise.
9169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9170 (__acr): Likewise.
9171 (__cpy): Likewise.
9172 (norm): Likewise.
9173 (denorm): Likewise.
9174 (__mp_dbl): Likewise.
9175 (__dbl_mp): Likewise.
9176 (add_magnitudes): Likewise.
9177 (sub_magnitudes): Likewise.
9178 (__add): Likewise.
9179 (__sub): Likewise.
9180 (__mul): Likewise.
9181 (__inv): Likewise.
9182 (__dvd): Likewise.
9183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9184 (__acr): Likewise.
9185 (__cpy): Likewise.
9186 (norm): Likewise.
9187 (denorm): Likewise.
9188 (__mp_dbl): Likewise.
9189 (__dbl_mp): Likewise.
9190 (add_magnitudes): Likewise.
9191 (sub_magnitudes): Likewise.
9192 (__add): Likewise.
9193 (__sub): Likewise.
9194 (__mul): Likewise.
9195 (__inv): Likewise.
9196 (__dvd): Likewise.
9197
eede9df9
JM
91982013-01-08 Joseph Myers <joseph@codesourcery.com>
9199
9200 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9201 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9202 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9203 2 && __USE_EXTERN_INLINES]: Likewise.
9204
c40ea3d9
AJ
92052013-01-08 Andreas Jaeger <aj@suse.de>
9206
9207 [BZ# 14985]
9208 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9209 Remove.
9210 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9211 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9212
2ccdea26
AB
92132013-01-07 Anton Blanchard <anton@samba.org>
9214
9215 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9216 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9217 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9218 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9219 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9221 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9222 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9224 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9227 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9229 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9230 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9234 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9235 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9236 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9238 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9239 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9240 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9242 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9244 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9245 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9248 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9249 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9255 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9257 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9258
a9708fed
JM
92592013-01-07 Joseph Myers <joseph@codesourcery.com>
9260
375607b9
JM
9261 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9262 (__MALLOC_PMT): Likewise.
9263 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9264 [__GNUC__], only on [_LIBC].
9265 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9266 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9267 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9268 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9269 forward declaration.
9270 (realloc_hook_ini): Likewise.
9271 (memalign_hook_ini): Likewise.
9272 (__libc_memalign): Do not use __MALLOC_PMT in variable
9273 declaration.
9274 (__libc_valloc): Likewise.
9275 (__libc_pvalloc): Likewise.
9276 (__libc_calloc): Likewise.
9277 (__posix_memalign): Likewise.
9278
a9708fed
JM
9279 [BZ #14996]
9280 * math/s_casinh.c: Include <float.h>.
9281 (__casinh): Do not do computation with squaring and square root
9282 for large arguments.
9283 * math/s_casinhf.c: Include <float.h>.
9284 (__casinhf): Do not do computation with squaring and square root
9285 for large arguments.
9286 * math/s_casinhl.c: Include <float.h>.
9287 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9288 (__casinhl): Do not do computation with squaring and square root
9289 for large arguments.
9290 * math/libm-test.inc (casin_test): Add more tests.
9291 (casinh_test): Likewise.
9292 * sysdeps/i386/fpu/libm-test-ulps: Update.
9293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9294
afec409a
L
92952013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9298 (__x86_64_raw_data_cache_size): Likewise.
9299 (__x86_64_data_cache_size_half): Likewise.
9300 (__x86_64_raw_data_cache_size_half): Likewise.
9301 (__x86_64_shared_cache_size): Likewise.
9302 (__x86_64_raw_shared_cache_size): Likewise.
9303 (__x86_64_shared_cache_size_half): Likewise.
9304 (__x86_64_raw_shared_cache_size_half): Likewise.
9305 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9306 to ...
9307 (__x86_data_cache_size): This.
9308 (__x86_64_raw_data_cache_size): Renamed to ...
9309 (__x86_raw_data_cache_size): This.
9310 (__x86_64_data_cache_size_half): Renamed to ...
9311 (__x86_data_cache_size_half): This.
9312 (__x86_64_raw_data_cache_size_half): Renamed to ...
9313 (__x86_raw_data_cache_size_half): This.
9314 (__x86_64_shared_cache_size): Renamed to ...
9315 (__x86_shared_cache_size): This.
9316 (__x86_64_raw_shared_cache_size): Renamed to ...
9317 (__x86_raw_shared_cache_size): This.
9318 (__x86_64_shared_cache_size_half): Renamed to ...
9319 (__x86_shared_cache_size_half): This.
9320 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9321 (__x86_raw_shared_cache_size_half): This.
9322 * sysdeps/x86_64/memcpy.S: Updated.
9323 * sysdeps/x86_64/memset.S: Likewise.
9324 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9325 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9327
0b3986d0
DM
93282013-01-04 David S. Miller <davem@davemloft.net>
9329
9330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9331
e47686e9
AS
93322013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9333
d643bac1
AS
9334 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9335 1 to avoid redefinition warning.
9336 (__USE_GNU): Don't define.
9337 (init_signaling_nan): Protoize.
9338
e47686e9
AS
9339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9340
b18decba
SP
93412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9342
fffb407f
SP
9343 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9345 (__cpymn): Likewise.
9346 (norm): Remove commented code.
9347 (denorm): Likewise.
9348 (__mp_dbl): Likewise.
9349 (__inv): Likewise.
9350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9351 (__cpymn): Likewise.
9352 (norm): Remove commented code.
9353 (denorm): Likewise.
9354 (__mp_dbl): Likewise.
9355 (__inv): Likewise.
9356
b18decba
SP
9357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9358 mp_no value for 1.0 and 2.0.
9359 (norm): Use RADIXI instead of radixi.d.
9360 (denorm): Likewise.
9361 (__mul): Use 0.0 instead of zero.d.
9362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9363 mp_no value for 1.0 and 2.0.
9364 (norm): Use RADIXI instead of radixi.d.
9365 (denorm): Likewise.
9366 (__mul): Use 0.0 instead of zero.d.
9367
cdc1c96f
JM
93682013-01-04 Joseph Myers <joseph@codesourcery.com>
9369
9370 [BZ #14994]
9371 * math/s_casinh.c (__casinh): Reduce finite argument to first
9372 quadrant then set signs of results at the end.
9373 * math/s_casinhf.c (__casinhf): Likewise.
9374 * math/s_casinhl.c (__casinhl): Likewise.
9375 * math/libm-test.inc (casin_test): Add more tests.
9376 (casinh_test): Likewise.
9377 * sysdeps/i386/fpu/libm-test-ulps: Update.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9379
302913e1
SP
93802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
6420d207
SP
9382 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9383
a9e48ab4
SP
9384 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9385
b7837264
SP
9386 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9387 declarations.
9388 (denorm): Likewise.
9389 (__mp_dbl): Likewise.
9390 (__inv): Likewise.
9391
f8af25d2
SP
9392 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9393 and adjust the header comment.
9394
302913e1
SP
9395 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9396 variable name from declaration.
9397
5d7dd1ca
L
93982013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9399
9400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9401 Initialize COMMON_CPUID_INDEX_7 element.
9402 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9403 (CPUID_RTM): Likewise.
9404 (HAS_RTM): Likewise.
9405 (COMMON_CPUID_INDEX_7): New enum.
9406
2f5f40f4
AS
94072013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 [BZ #14981]
9410 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9411 size is zero, record memory as freed.
9412
4056f4a0
AJ
94132013-01-03 Andreas Jaeger <aj@suse.de>
9414
9415 * po/ia.po: Add new Interlingua translation.
9416
ab15736f 94172012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9418
9419 * locale/programs/localedef.c: Fix description of '--posix' flag.
9420
568035b7
JM
94212013-01-02 Joseph Myers <joseph@codesourcery.com>
9422
e6898b8d
JM
9423 * NEWS: Update dates in second copyright notice.
9424 * README: Update copyright dates in example.
9425 * manual/libc.texinfo: Update copyright dates.
9426 * scripts/test-installation.pl: Update copyright date in --version
9427 output.
9428
0e2f9562
JM
9429 * hurd/ctty-input.c: Fix copyright notice formatting.
9430 * hurd/ctty-output.c: Likewise.
9431 * hurd/dtable.c: Likewise.
9432 * hurd/hurd-raise.c: Likewise.
9433 * hurd/hurdprio.c: Likewise.
9434 * hurd/msgportdemux.c: Likewise.
9435 * misc/sys/file.h: Likewise.
9436 * misc/sys/ioctl.h: Likewise.
9437 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9438 * sysdeps/mach/hurd/chdir.c: Likewise.
9439 * sysdeps/mach/hurd/fchdir.c: Likewise.
9440 * sysdeps/mach/hurd/rename.c: Likewise.
9441 * sysdeps/mach/hurd/rmdir.c: Likewise.
9442 * sysdeps/mach/hurd/seekdir.c: Likewise.
9443 * sysdeps/mach/hurd/setsid.c: Likewise.
9444 * sysdeps/posix/wait3.c: Likewise.
9445
568035b7
JM
9446 * All files with FSF copyright notices: Update copyright dates
9447 using scripts/update-copyrights.
9448 * intl/plural.c: Regenerated.
9449 * locale/programs/charmap-kw.h: Likewise.
9450 * locale/programs/locfile-kw.h: Likewise.
9451
da08f647
SP
94522013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9453
0f5477af
SP
9454 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9455 four values.
9456
44e0d4c2
SP
9457 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9458 calculation loop and add branch prediction.
9459
4d55b4e5
SP
9460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9461 check access beyond bounds of m1np.
9462
da08f647
SP
9463 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9464 MPTWO.
9465 (__inv): Remove local variable MPTWO to use the global
9466 constant.
9467 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9469 variable MPTWO.
9470 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9471 MP3HALFS static const.
9472
8e051029
DM
94732013-01-01 David S. Miller <davem@davemloft.net>
9474
9475 * po/ca.po: Update from translation team.
9476
f4cf5f2d
JM
94772013-01-01 Joseph Myers <joseph@codesourcery.com>
9478
9479 * scripts/update-copyrights: New file.
9480 * Makeconfig: Reformat copyright notice.
9481 * ctype/ctype.h: Likewise.
9482 * debug/swprintf_chk.c: Likewise.
9483 * elf/dl-cache.c: Likewise.
9484 * elf/dl-debug.c: Likewise.
9485 * elf/dl-object.c: Likewise.
9486 * grp/initgroups.c: Likewise.
9487 * hurd/Makefile: Likewise.
9488 * hurd/hurd/signal.h: Likewise.
9489 * hurd/hurdfault.c: Likewise.
9490 * hurd/hurdioctl.c: Likewise.
9491 * hurd/hurdlookup.c: Likewise.
9492 * hurd/intr-msg.c: Likewise.
9493 * iconv/gconv_open.c: Likewise.
9494 * libio/swprintf.c: Likewise.
9495 * locale/lc-ctype.c: Likewise.
9496 * locale/nl_langinfo.c: Likewise.
9497 * mach/Machrules: Likewise.
9498 * mach/Makefile: Likewise.
9499 * malloc/obstack.h: Likewise.
9500 * manual/Makefile: Likewise.
9501 * manual/tsort.awk: Likewise.
9502 * misc/bits/stab.def: Likewise.
9503 * nis/nis_print_group_entry.c: Likewise.
9504 * nis/nis_table.c: Likewise.
9505 * nis/nss_compat/compat-pwd.c: Likewise.
9506 * nis/nss_compat/compat-spwd.c: Likewise.
9507 * po/Makefile: Likewise.
9508 * posix/fnmatch.c: Likewise.
9509 * posix/regex.h: Likewise.
9510 * resolv/Makefile: Likewise.
9511 * resolv/nss_dns/dns-network.c: Likewise.
9512 * resolv/res_hconf.c: Likewise.
9513 * scripts/gen-sorted.awk: Likewise.
9514 * soft-fp/soft-fp.h: Likewise.
9515 * stdio-common/printf.h: Likewise.
9516 * stdlib/monetary.h: Likewise.
9517 * stdlib/random.c: Likewise.
9518 * stdlib/random_r.c: Likewise.
9519 * sysdeps/generic/Makefile: Likewise.
9520 * sysdeps/gnu/Makefile: Likewise.
9521 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9549 * sysdeps/mach/hurd/errnos.awk: Likewise.
9550 * sysdeps/mach/hurd/fork.c: Likewise.
9551 * sysdeps/mach/hurd/getcwd.c: Likewise.
9552 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9553 * sysdeps/mach/hurd/mmap.c: Likewise.
9554 * sysdeps/mach/hurd/utimes.c: Likewise.
9555 * sysdeps/mach/hurd/xmknod.c: Likewise.
9556 * sysdeps/posix/profil.c: Likewise.
9557 * sysdeps/posix/readdir_r.c: Likewise.
9558 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9559 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9560 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9564 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9567 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9569 * sysdeps/pthread/lio_listio.c: Likewise.
9570 * sysdeps/sparc/dl-procinfo.h: Likewise.
9571 * sysdeps/unix/i386/sysdep.S: Likewise.
9572 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9573 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9574 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9575 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9577 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9578 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9579 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9580 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9581 * sysdeps/wordsize-32/divdi3.c: Likewise.
9582 * time/sys/time.h: Likewise.
9583 * wcsmbs/Makefile: Likewise.
9584
0549fbba
DM
95852013-01-01 David S. Miller <davem@davemloft.net>
9586
a141f1a7
DM
9587 * po/fr.po: Update from translation team.
9588
0549fbba
DM
9589 * catgets/gencat.c: Update copyright year.
9590 * csu/version.c: Likewise.
9591 * debug/catchsegv.sh: Likewise.
9592 * debug/pcprofiledump.c: Likewise.
9593 * debug/xtrace.sh: Likewise.
9594 * elf/ldconfig.c: Likewise.
9595 * elf/ldd.bash.in: Likewise.
9596 * elf/pldd.c: Likewise.
9597 * elf/sotruss.ksh: Likewise.
9598 * elf/sprof.c: Likewise.
9599 * iconv/iconv_prog.c: Likewise.
9600 * iconv/iconvconfig.c: Likewise.
9601 * locale/programs/locale.c: Likewise.
9602 * locale/programs/localedef.c: Likewise.
9603 * login/programs/pt_chown.c: Likewise.
9604 * malloc/memusage.sh: Likewise.
9605 * malloc/memusagestat.c: Likewise.
9606 * malloc/mtrace.pl: Likewise.
9607 * nscd/nscd.c: Likewise.
9608 * nss/getent.c: Likewise.
9609 * nss/makedb.c: Likewise.
9610 * posix/getconf.c: Likewise.
9611
18ea052c
SP
96122012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9613
9614 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9615 numbers.
9616
9c89fca6
MF
96172012-12-30 Mike Frysinger <vapier@gentoo.org>
9618
9619 * math/bits/mathcalls.h (modf): Use __nonnull.
9620
085ec079
SP
96212012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9622
9623 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9624 (split): Use macro CN instead of the bare value.
9625 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9626 could be used.
9627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9628 instead of the bare value.
9629 (power1): Likewise.
9630
6d9f97e1
SP
96312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9632
d63f73be
SP
9633 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9634 __ATAN_TWOM.
9635 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9636
6d9f97e1
SP
9637 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9638 their values.
9639 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9641 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9642 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9643
4c4febf5
AJ
96442012-12-28 Andreas Jaeger <aj@suse.de>
9645
af5843ef
AJ
9646 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9647 values are from Linux 3.7.
9648
4c4febf5
AJ
9649 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9650 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9651
99136f82
SP
96522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9653
2f216c3c 9654 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9655 TRUE case.
9656
99136f82
SP
9657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9658 (norm): Likewise.
9659 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9660 variables with preprocessor constants.
9661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9662 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9663 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9664
7fffbdff
BH
96652012-12-27 Bruno Haible <bruno@clisp.org>
9666
9667 [BZ #14317]
9668 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9669 only if needed.
9670
b76eb5f0
SP
96712012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
31a7fe5c
SP
9673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9674 and use variable directly.
9675 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9676
b76eb5f0
SP
9677 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9678 MPONE.
9679 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9681 variable MPONE.
9682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9684 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9685 include directive. Remove local variable MPONE.
9686 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9687 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9689
2c8bfe7d
DM
96902012-12-25 David S. Miller <davem@davemloft.net>
9691
9692 * version.h (RELEASE): Set to "development".
9693 (VERSION): Set to "2.17.90".
9694 * NEWS: Add 2.18 section.
9695
147d03b0
DM
96962012-12-21 David S. Miller <davem@davemloft.net>
9697
9698 * po/hr.po: Update from translation team.
9699
a8ebb2b9
AK
97002012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9701
9702 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9703
95b4f1b6
SE
97042012-12-19 Steve Ellcey <sellcey@mips.com>
9705
b2d94007 9706 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9707
cedb2a90
MS
97082012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9709
9710 * manual/contrib.texi (Contributors): Spelling correction.
9711
bbf527d6
DM
97122012-12-15 David S. Miller <davem@davemloft.net>
9713
9714 * po/ru.po: Update from translation team.
9715
bc38c906
DM
97162012-12-13 David S. Miller <davem@davemloft.net>
9717
85429b1a
DM
9718 * NEWS: Mention IFUNC testsuite enhancements.
9719
d283e353
DM
9720 * po/pl.po: Update from translation team.
9721 * po/bg.po: Likewise.
9722
bc38c906
DM
9723 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9724 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9725
a181b0d7
DM
97262012-12-11 David S. Miller <davem@davemloft.net>
9727
4641d57e
DM
9728 * po/sv.po: Update from translation team.
9729
f7bc6495
DM
9730 * po/vi.po: Update from translation team.
9731
6fc9048f
DM
9732 * po/cs.po: Update from translation team.
9733
a181b0d7
DM
9734 * po/de.po: Update from translation team.
9735 * po/eo.po: Likewise.
9736 * po/nl.po: Likewise.
9737
f70bfe80
SP
97382012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9739
3c8b4190
SP
9740 [BZ #14246]
9741 * manual/argp.texi (Argp Helper Functions): Move node to follow
9742 Argp Parsing State.
9743
f70bfe80
SP
9744 [BZ #14872]
9745 * manual/conf.texi (Limits on File System Capacity): Mention if
9746 terminating null is included in the max size.
9747
188f0adf
AJ
97482012-12-10 Andreas Jaeger <aj@suse.de>
9749
9750 * po/cs.po: Update from translation team.
9751
56e7d3ad
SP
97522012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9753
9754 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9755 void pointer and cast to uintptr_t.
9756 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9757 path.
9758 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9759 * sysdeps/s390/s390-64/memset.S: Likewise.
9760
76f2d2ea 97612012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9762
9763 [BZ #14833]
9764 * menual/message.texi (Message Translation): Fix typos.
9765 (Helper programs for gettext): Likewise.
9766
67cbf9a2
AS
97672012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9768
9769 [BZ #14898]
9770 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9771 Change to -1.
9772
682d0e9a
DM
97732012-12-07 David S. Miller <davem@davemloft.net>
9774
9775 * po/libc.pot: Update.
9776
573cd484
RH
97772012-12-07 Richard Henderson <rth@redhat.com>
9778
7e9da188 9779 [BZ #10114]
573cd484
RH
9780 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9781 normal/normal case to before the switch.
9782 (_FP_DIV): Likewise.
9783
e933a943
MF
97842012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9785 Mike Frysinger <vapier@gentoo.org>
9786
9787 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9788 check for __NR_fadvise64_64.
9789
82123268
CM
97902012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9791
9792 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9793 0, not just to plain "0" as a statement.
9794 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9795 with cw.
9796
d9814526
JM
97972012-12-06 Joseph Myers <joseph@codesourcery.com>
9798
9799 * NEWS: Use sourceware.org in Bugzilla URL.
9800
7728c574
SP
98012012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9802
f16946dd
SP
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9804 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9805
5704bbcb
SP
9806 * stdio-common/tst-put-error.c (do_test): Add newline to the
9807 padded test to ensure flush.
9808
17aa0516
JL
98092012-12-05 Jeff Law <law@redhat.com>
9810
9811 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9812
363313b5
JM
98132012-12-05 Joseph Myers <joseph@codesourcery.com>
9814
effbd42a
JM
9815 * README: Don't refer to ports add-on as distributed separately.
9816 Mention AArch64 in list of systems supported in the ports add-on.
9817
87600365
JM
9818 * LICENSES: Add more non-FSF copyright and license notices.
9819
a0d7066a
JM
9820 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9821 ((unused)).
9822
66ca5a5b
JM
9823 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9824
363313b5
JM
9825 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9826 10000 as width of padded output.
9827
b37984ad
JM
98282012-12-04 Joseph Myers <joseph@codesourcery.com>
9829
9003570a
JM
9830 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9831
b37984ad
JM
9832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9833 variable LX with __attribute__ ((unused)).
9834 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9835 Likewise.
9836 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9839 with __attribute__ ((unused)).
9840
c8df52ec
DM
98412012-12-04 David S. Miller <davem@abraco.davemloft.net>
9842
9843 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9844
b3b099af
JM
98452012-12-04 Joseph Myers <joseph@codesourcery.com>
9846
c33aa6e3
JM
9847 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9848 (CFLAGS-nldbl-acos.c): New variable.
9849 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9850 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9851 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9852 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9853 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9854 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9855 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9856 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9857 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9858 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9859 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9860 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9861 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9862 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9863 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9864 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9865 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9866 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9867 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9868 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9869 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9870 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9871 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9872 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9873 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9946
20f0018d
JM
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9948 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9949
b3b099af
JM
9950 [BZ #14914]
9951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9952 whole low double instead of just low 47 bits when splitting values
9953 into two parts.
9954
029264d1
AM
99552012-12-03 Allan McRae <allan@archlinux.org>
9956
9957 * manual/stdio.texi (Predefined Printf Handlers): Remove
9958 @hsep and @vsep usage.
9959
c9d6789e
MF
99602012-12-03 Mike Frysinger <vapier@gentoo.org>
9961
9962 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9963 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9964
4b7634a5
JL
99652012-12-03 Jeff Law <law@redhat.com>
9966
9967 * time/sys/time.h (settimeofday): Do not mark TV argument
9968 as __nonnull.
9969
eb6cbd24
MF
99702012-12-01 Mike Frysinger <vapier@gentoo.org>
9971
9972 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9973 when currently writing and seek to current position when not.
9974 * libio/Makefile (tests): Remove bug-fclose1.
9975 * libio/bug-fclose1.c: Delete.
9976
f638872a
JM
99772012-12-01 Joseph Myers <joseph@codesourcery.com>
9978
9979 * manual/arith.texi (feenableexcept): Fix typo.
9980 (fedisableexcept): Likewise.
9981
48085d14
RM
99822012-11-30 Roland McGrath <roland@hack.frob.com>
9983
9984 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9985 second, differently-typed declaration, rather than a cast.
9986
1a538b9f
SP
99872012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9988
9989 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9990 * include/rpc/svc.h: ... here.
9991
d07f2ff1 99922012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9993
9994 [BZ #13013]
9995 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9996 depending n and resplen2 to catch cases where answer
9997 equals answerp2.
9998
c93ec1f0
CD
99992012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10000
10001 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10002 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10003
37db69de
MF
100042012-11-29 Mike Frysinger <vapier@gentoo.org>
10005
10006 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10007
e10c4e4f
RM
100082012-11-29 Roland McGrath <roland@hack.frob.com>
10009
10010 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10011
2af1b328
JL
100122012-11-28 Jeff Law <law@redhat.com>
10013
10014 [BZ #13761]
10015 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10016 dataset_temporary. Track alloca usage into alloca_used.
10017 If dataset is large allocate and release it via malloc/free.
10018
111db5b1
FW
100192012-06-04 Florian Weimer <fweimer@redhat.com>
10020
f06cc227 10021 [BZ #14197]
111db5b1
FW
10022 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10023
dd694abd
DM
100242012-11-28 David S. Miller <davem@davemloft.net>
10025
10026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10027
9984dd01
JM
100282012-11-28 Joseph Myers <joseph@codesourcery.com>
10029
10030 [BZ #14803]
10031 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10032 of pi/2 rounded to nearest to 64 bits.
10033 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10034 nearest to 64 bits.
10035 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10036 bits.
10037
14bc93a9
JL
100382012-11-28 Jeff Law <law@redhat.com>
10039 Martin Osvald <mosvald@redhat.com>
10040
10041 [BZ #14889]
10042 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10043 * sunrpc/svc.c: Include time.h.
10044 (__svc_accept_failed): New function.
10045 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10046 any reason other than EINTR, call __svc_accept_failed.
10047 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10048 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10049
e3c6aa3a
AS
100502012-11-28 Andreas Schwab <schwab@suse.de>
10051
10052 * scripts/abilist.awk: Also handle indirect functions in .opd
10053 section.
10054
1bead169
JM
100552012-11-28 Joseph Myers <joseph@codesourcery.com>
10056
10057 [BZ #13881]
10058 * sysdeps/x86/fpu/powl_helper.c: New file.
10059 * sysdeps/x86/fpu/Makefile: Likewise.
10060 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10061 (p3): New object.
10062 (__ieee754_powl): Use __powl_helper for finite arguments except
10063 integer exponents below 8.
10064 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10065 (p3): New object.
10066 (__ieee754_powl): Use __powl_helper for finite arguments except
10067 integer exponents below 8.
10068 * math/libm-test.inc (pow_test): Add more tests and enable some
10069 previously disabled tests.
10070 * sysdeps/i386/fpu/libm-test-ulps: Update.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072
0817d63d
SP
100732012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10074 Carlos O'Donell <carlos_odonell@mentor.com>
10075
10076 * nss/makedb.c (is_prime): Assert that input is odd and greater
10077 than 4. Note that fact in a comment too.
10078 (next_prime): Add 4 to input.
10079
de2fd463
SP
100802012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10081
10082 [BZ #11741]
10083 * libio/Makefile (tests): Add test case tst-fwrite-error.
10084 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10085 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10086 * libio/tst-fwrite-error.c: New test case.
10087
c515fb51
L
100882012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10091 before casting to void *.
10092 * include/libc-internal.h (__pointer_type): New macro.
10093 (__integer_if_pointer_type_sub): Likewise.
10094 (__integer_if_pointer_type): Likewise.
10095 (cast_to_integer): Likewise.
10096 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10097 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10098 before casting to atomic64_t.
10099 (atomic_exchange_acq): Likewise.
10100 (__arch_exchange_and_add_body): Likewise.
10101 (__arch_add_body): Likewise.
10102 (atomic_add_negative): Likewise.
10103 (atomic_add_zero): Likewise.
10104
4cf77aa9
JM
101052012-11-26 Joseph Myers <joseph@codesourcery.com>
10106
10107 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10108 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10109 (add_fdes): Likewise.
10110 (linear_search_fdes): Likewise.
10111 (binary_search_unencoded_fdes): Likewise.
10112
d260b3b4
AS
101132012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10116
67060746
AC
101172012-11-24 Adam Conrad <adconrad@0c3.net>
10118
10119 * configure.in: Autodetect C++ header directories.
10120 * configure: Regenerated.
10121
800938a1
MF
101222012-11-23 Mike Frysinger <vapier@gentoo.org>
10123
10124 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10125
4e6e34e6
AS
101262012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10127
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10129
7c7feb47
JM
101302012-11-22 Joseph Myers <joseph@codesourcery.com>
10131
7184dcdf
JM
10132 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10133 LDBL_MANT_DIG == 106]: Disable some tests.
10134 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10135 Likewise.
10136 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10137 Likewise.
10138
0a42601f
JM
10139 [BZ #14871]
10140 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10141 input for small inputs. Return +/- pi/2 for large inputs.
10142 * math/libm-test.inc (atan_test): Add more tests.
10143
79c9b9fe
JM
10144 * sysdeps/generic/unwind-dw2-fde-glibc.c
10145 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10146 __attribute__ ((unused)).
10147
c60d3bf2
JM
10148 [BZ #14645]
10149 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10150 x * y if x and y are nonzero and z is zero.
10151
ef1e0867
JM
10152 [BZ #14811]
10153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10154 nonzero exponents with absolute value below 0x1p-117 to +/-
10155 0x1p-117.
10156
1468ded3
JM
10157 [BZ #14869]
10158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10159 up arguments below 2**-450, not just those below 2**-500.
10160 * math/libm-test.inc (hypot_test): Add another test.
10161
8e27e3cc
JM
10162 [BZ #14868]
10163 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10164 Return a+b for ratio over 2**120, not 2**60.
10165 * math/libm-test.inc (hypot_test): Add another test.
10166
c9c0279b
JM
10167 * math/libm-test.inc (clog_test): Use
10168 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10169 (clog10_test): Likewise.
10170
7c7feb47
JM
10171 [BZ #6778]
10172 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10173
fff1530e
AS
101742012-11-22 Andreas Schwab <schwab@suse.de>
10175
10176 * sysdeps/i386/fpu/libm-test-ulps: Update.
10177
94558d30
PT
101782012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10179
10180 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10181 printf output with newline.
10182
7e1be741
L
101832012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10184
6bfea974
L
10185 [BZ #14865]
10186 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10187 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10188 -z nodlopen, -z initfirst and -z execstack support.
10189 * configure: Regenerated.
10190
7e1be741
L
10191 * elf/elf.h (DF_1_NODIRECT): New macro.
10192 (DF_1_IGNMULDEF): Likewise.
10193 (DF_1_NOKSYMS): Likewise.
10194 (DF_1_NOHDR): Likewise.
10195 (DF_1_EDITED): Likewise.
10196 (DF_1_NORELOC): Likewise.
10197 (DF_1_SYMINTPOSE): Likewise.
10198 (DF_1_GLOBAUDIT): Likewise.
10199 (DF_1_SINGLETON): Likewise.
10200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10201 DT_1_SUPPORTED_MASK bits.
10202 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10203
105ce2ce
CD
102042012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10205
10206 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10207
123be9de
TS
102082012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10209
d072f3f7
TS
10210 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10211 macro.
10212
123be9de
TS
10213 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10214 (sendmmsg): Move declarations...
10215 * socket/sys/socket.h: ... here.
10216 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10217 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10218 include it from...
10219 * socket/recvmmsg.c: ... this new file.
10220 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10221 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10222 definition of __sendmmsg hidden.
10223 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10224 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10225 Move ENOSYS stub into and include it from...
10226 * socket/sendmmsg.c: ... this new file.
10227 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10228 (sysdep_routines): Move recvmmsg and sendmmsg...
10229 * socket/Makefile (routines): ... here.
10230 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10231 (GLIBC_PRIVATE): Add __sendmmsg.
10232 * include/sys/socket.h (__sendmmsg): Add declarations.
10233 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10234 sendmmsg.
10235
cf9a5d18
JM
102362012-11-20 Joseph Myers <joseph@codesourcery.com>
10237
10238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10239 variable I1 with __attribute__ ((unused)).
10240 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10241
ecd4caf9
JM
102422012-11-19 Joseph Myers <joseph@codesourcery.com>
10243
be14d48f
JM
10244 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10245 DUMMY variables with __attribute__ ((unused)).
10246
ecd4caf9
JM
10247 * bits/byteswap.h: Include <bits/types.h>.
10248 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10249
986cab95
PT
102502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10251
10252 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10253 string_t. Do not manually set errno.
10254 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10255 length with __strnlen. Make sure to both set errno and return it on
10256 failure.
10257
6d33cc9d
DM
102582012-11-19 David S. Miller <davem@davemloft.net>
10259
10260 With help from Joseph Myers.
10261 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10262 very large arguments properly.
10263 * math/libm-test.inc (atan_test): New tests.
10264 (atan2_test): New tests.
10265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10267
ee663277
JM
102682012-11-19 Joseph Myers <joseph@codesourcery.com>
10269
877f2d8e
JM
10270 [BZ #14856]
10271 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10272 Define to 3.
10273
116fc08a
JM
10274 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10275 [POSIX] (EADDRNOTAVAIL): Likewise.
10276 [POSIX] (EAFNOSUPPORT): Likewise.
10277 [POSIX] (EALREADY): Likewise.
10278 [POSIX] (ECONNABORTED): Likewise.
10279 [POSIX] (ECONNREFUSED): Likewise.
10280 [POSIX] (ECONNRESET): Likewise.
10281 [POSIX] (EDESTADDRREQ): Likewise.
10282 [POSIX] (EDQUOT): Likewise.
10283 [POSIX] (EHOSTUNREACH): Likewise.
10284 [POSIX] (EIDRM): Likewise.
10285 [POSIX] (EISCONN): Likewise.
10286 [POSIX] (ELOOP): Likewise.
10287 [POSIX] (EMULTIHOP): Likewise.
10288 [POSIX] (ENETDOWN): Likewise.
10289 [POSIX] (ENETUNREACH): Likewise.
10290 [POSIX] (ENOBUFS): Likewise.
10291 [POSIX] (ENODATA): Likewise.
10292 [POSIX] (ENOLINK): Likewise.
10293 [POSIX] (ENOMSG): Likewise.
10294 [POSIX] (ENOPROTOOPT): Likewise.
10295 [POSIX] (ENOSR): Likewise.
10296 [POSIX] (ENOSTR): Likewise.
10297 [POSIX] (ENOTCONN): Likewise.
10298 [POSIX] (ENOTSOCK): Likewise.
10299 [POSIX] (EOPNOTSUPP): Likewise.
10300 [POSIX] (EOVERFLOW): Likewise.
10301 [POSIX] (EPROTO): Likewise.
10302 [POSIX] (EPROTONOSUPPORT): Likewise.
10303 [POSIX] (EPROTOTYPE): Likewise.
10304 [POSIX] (ESTALE): Likewise.
10305 [POSIX] (ETIME): Likewise.
10306 [POSIX] (ETXTBSY): Likewise.
10307 [POSIX] (EWOULDBLOCK): Likewise.
10308 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10309 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10310 [POSIX] (SEEK_CUR): Likewise.
10311 [POSIX] (SEEK_END): Likewise.
10312 [POSIX || UNIX98] (mode_t): Do not require.
10313 [POSIX] (off_t): Likewise.
10314 [POSIX] (pid_t): Likewise.
10315 [POSIX] (sys/stat.h): Do not allow header.
10316 [POSIX] (unistd.h): Likewise.
10317 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10318 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10319 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10320 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10321 require.
10322 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10323 sigevent): Specify elements.
10324 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10325 entry.
10326 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10327 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10328
a483863f
JM
10329 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10330 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10331 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10332 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10333 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10334 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10335 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10336 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10338 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10339 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10340 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10341 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10342 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10343 Likewise.
10344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10345 Likewise.
10346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10347 Likewise.
10348 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10349 Likewise.
10350 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10351 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10352 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10355 Specify lower bound on value.
10356 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10361 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10362 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10363 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10364 value.
10365 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10366 as optional.
10367 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10383 entry.
10384 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10385 optional.
10386 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10392 Likewise.
10393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10398 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10400 as optional.
10401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10405 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10406 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10407 specify as optional.
10408 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10411 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10412 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10413 [XPG3] (NL_LANGMAX): Likewise.
10414 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10415 [POSIX || XPG3] (NL_NMAX): Likewise.
10416 [POSIX || XPG3] (NL_SETMAX): Likewise.
10417 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10418 [XPG3] (NZERO): Likewise.
10419 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10420 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10421 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10422 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10423 (REG_ERANGE): Expect.
10424 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10425 optional-constant.
10426 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10427 Use (void) in prototype.
10428 [POSIX] (*_t): Allow.
10429 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10430 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10431 (WRDE_BADVAL): Expect.
10432
5ba924e3
JM
10433 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10434 expect.
10435 [XPG3 || XPG4] (O_RSYNC): Likewise.
10436 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10437 Likewise.
10438 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10439 [XPG3 || XPG4] (sigqueue): Likewise.
10440 [XPG3 || XPG4] (sigtimedwait): Likewise.
10441 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10442 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10443 [XPG3 || XPG4] (vsnprintf): Likewise.
10444 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10445 Likewise.
10446 [XPG3 || XPG4] (blksize_t): Likewise.
10447 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10448 Likewise.
10449 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10450 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10451 [XPG3 || XPG4] (struct itimerspec): Likewise.
10452 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10453 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10454 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10455 [XPG3 || XPG4] (clockid_t): Likewise.
10456 [XPG3 || XPG4] (timer_t): Likewise.
10457 [XPG3 || XPG4] (clock_getres): Likewise.
10458 [XPG3 || XPG4] (clock_gettime): Likewise.
10459 [XPG3 || XPG4] (clock_settime): Likewise.
10460 [XPG3 || XPG4] (nanosleep): Likewise.
10461 [XPG3 || XPG4] (timer_create): Likewise.
10462 [XPG3 || XPG4] (timer_delete): Likewise.
10463 [XPG3 || XPG4] (timer_gettime): Likewise.
10464 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10465 [XPG3 || XPG4] (timer_settime): Likewise.
10466 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10467 [XPG3 || XPG4] (getlogin_r): Likewise.
10468 [XPG3 || XPG4] (pread): Likewise.
10469 [XPG3 || XPG4] (pthread_atfork): Likewise.
10470 [XPG3 || XPG4] (pwrite): Likewise.
10471
ee663277
JM
10472 [BZ #14835]
10473 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10474 <bits/siginfo.h>.
10475
942caa16
PT
104762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10477
e19af380
PT
10478 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10479 finalizing MALLSTREAM.
10480
942caa16
PT
10481 * sysdeps/mach/hurd/syncfs.c: New file.
10482
cfde9b46
SP
104832012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10484
10485 [BZ #14719]
10486 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10487 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10488 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10489 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10490 (_nss_dns_gethostbyname4_r): Likewise.
10491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10492 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10493
f6da27e5
PH
104942012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10495
10496 [BZ #13763]
10497 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10498
6665d4a2
SM
104992012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10500
1f51ee92
SM
10501 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10502 * elf/cache.c (print_entry): Print ",AArch64" for
10503 FLAG_AARCH64_LIB64
10504
6665d4a2
SM
10505 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10506 * elf/cache.c (print_entry): Print ",hard-float" for
10507 FLAG_ARM_LIBHF.
10508
05b227bd
DM
105092012-11-18 David S. Miller <davem@davemloft.net>
10510
10511 With help from Joseph Myers.
10512 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10513 cutoff to 2**-13.
10514 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10515 cutoff to 2**-25.
10516 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10517 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10518 small.
10519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10520 * math/libm-test.inc (y0_test): New tests.
10521 (y1_test): New tests.
10522 * sysdeps/i386/fpu/libm-test-ulps: Update.
10523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10525
786b0b67
AS
105262012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10527
10528 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10529 64-bit targets.
10530 * configure: Regenerated.
10531
8e18b86d
DM
105322012-11-17 David S. Miller <davem@davemloft.net>
10533
10534 [BZ #14811]
10535 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10536 nonzero exponents with absolute value below 0x1p-128 to +/-
10537 0x1p-128.
10538
531f1ae0
JM
105392012-11-17 Joseph Myers <joseph@codesourcery.com>
10540
12df29e2
JM
10541 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10542
150dc1a0
JM
10543 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10544
531f1ae0
JM
10545 * posix/getconf-speclist.c: New file.
10546 * posix/posix-envs.def: Likewise.
10547 * posix/confstr.c (START_ENV_GROUP): New macro.
10548 (END_ENV_GROUP): Likewise.
10549 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10550 (KNOWN_PRESENT_ENV_STRING): Likewise.
10551 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10552 (UNKNOWN_ENVIRONMENT): Likewise.
10553 (confstr): Include posix-envs.def instead of handling
10554 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10555 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10556 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10557 (END_ENV_GROUP): Likewise.
10558 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10559 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10560 (UNKNOWN_ENVIRONMENT): Likewise.
10561 (__sysconf): Include posix-envs.def instead of handling associated
10562 cases directly here.
10563 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10564 preprocessing getconf-speclist.c rather than running getconf or
10565 generating empty file.
10566
a93f9cbc
PT
105672012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10568
10569 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10570
d64d9f87
AL
105712012-11-16 Andrej Lajovic <natrij@gmail.com>
10572
10573 [BZ #14672]
10574 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10575
447885eb
DM
105762012-11-16 David S. Miller <davem@davemloft.net>
10577
10578 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10579 smaller than LDBL_EPSILON/2.0L, just return xm1.
10580
bcbf9830
L
105812012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10582
10583 * elf/tst-array1.c (init): Set constructor priority to 1000.
10584 (fini): Set destructor priority to 1000.
10585 * elf/tst-array2dep.c: Likewise.
10586
2b766585
SP
105872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10588
10589 [BZ #11741]
10590 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10591 (_IO_new_file_xsputn): Also return EOF if none of the input
10592 data was written when overflow failed.
10593 * libio/iopadn.c (_IO_padn): Likewise.
10594 * libio/iowpadn.c (_IO_wpadn): Likewise.
10595 * stdio-common/tst-put-error.c: Add copyright notice.
10596 (do_test): Add case for printing padded string.
10597 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10598 _IO_padn returned error.
10599 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10600 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10601 return EOF.
10602
b1848fde
SP
106032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10604
10605 * libio/libioP.h: Add comment note that the references to C++
10606 bits are now obsolete.
10607
2fd89785
MS
106082012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10609
10610 * math/libm-test.inc (check_complex): Use asprintf.
10611
e3ea5409
JM
106122012-11-14 Joseph Myers <joseph@codesourcery.com>
10613
10614 * debug/pcprofiledump.c (print_version): Update copyright year.
10615 * malloc/memusagestat.c (print_version): Likewise.
10616
2e64d265
L
106172012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 [BZ #14831]
10620 * elf/Makefile (tests): Add tst-audit8.
10621 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10622 ($(objpfx)tst-audit8.out): New target.
10623 (tst-audit8-ENV): New variable.
10624 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10625 audit if l_reloc_result is NULL.
10626 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10627 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10628 * elf/tst-audit8.c: New file.
10629
c485e4d2
MS
106302012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10631
10632 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10633 * misc/Makefile (CFLAGS-select.c): Define.
10634 * posix/Makefile (CFLAGS-pause.c): Define.
10635
3a0d900a
DM
106362012-11-13 David S. Miller <davem@davemloft.net>
10637
10638 * crypt/Makefile: Move test targets after toplevel Rules
10639 inclusion. Grab any necessary sysdep routines when linking.
10640 * crypt/md5.c (md5_process_block): Remove define, we will always
10641 name it __md5_process_block.
10642 (md5_finish_ctx): Update md5_process_block call.
10643 (md5_stream): Likewise.
10644 (md5_process_bytes): Likewise.
10645 (md5_process_block): Rename to __md5_process_block and move to ...
10646 * crypt/md5-block.c: ... here.
10647 * crypt/sha256.c (sha256_process_block): Move to ...
10648 * crypt/sha256-block.c: ... here.
10649 * crypt/sha512.c (sha512_process_block): Move to ...
10650 * crypt/sha512-block.c: ... here.
10651 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10652 path.
10653 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10654 * sysdeps/sparc/sparc64/multiarch/Makefile
10655 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10656 crypt subdir.
10657 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10658 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10659 multiarch changes.
10660 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10661 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10662 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10663 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10664 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10665 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10666 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10667 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10669 file.
10670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10671 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10672 file.
10673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10674
8ca89318
JM
106752012-11-13 Joseph Myers <joseph@codesourcery.com>
10676
e27d476a
JM
10677 * timezone/tzselect.ksh: Update from tzcode git revision
10678 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10679 * timezone/zdump.c: Likewise.
10680 * timezone/zic.c: Likewise.
10681 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10682 in TZVERSION setting, not $(PKGVERSION).
10683 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10684 REPORT_BUGS_TO settings.
10685
8ca89318
JM
10686 [BZ #14838]
10687 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10688 macro.
10689
47594329
MS
106902012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10691
10692 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10693 detection to immediately after _FP_ROUND().
10694 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10695 bits are 0.
10696
640ac3f1
DM
106972012-11-11 David S. Miller <davem@davemloft.net>
10698
10699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10700 inttypes.h
10701 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10702 __close rather than their public counterparts.
10703
3d2577bb
JM
107042012-11-10 Joseph Myers <joseph@codesourcery.com>
10705
10706 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10707 file.
10708 [UNIX98] (sem_timedwait): Do not expect.
10709 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10710 [XPG4 || UNIX98] (sockatmark): Do not expect.
10711 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10712 (clock_getcpuclockid): Do not expect.
10713 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10714 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10715 Do not expect.
10716 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10717 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10718 [UNIX98] (vwscanf): Likewise.
10719 [UNIX98] (vswscanf): Likewise.
10720
fb1ae1ee
JM
107212012-11-09 Joseph Myers <joseph@codesourcery.com>
10722
9ec6f8bd
JM
10723 * timezone/version.h: Remove file.
10724 * timezone/README: Do not refer to version.h.
10725 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10726 $(objpfx)version.h.
10727 ($(objpfx)zdump.o): Likewise.
c3f81911 10728 ($(objpfx)version.h): New target.
9ec6f8bd 10729
0aa8f8a1
JM
10730 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10731 2012i.
10732 * timezone/README: Don't mention modification to tzselect.ksh.
10733 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10734 work on unmodified tzselect.ksh. Substitute version numbers in
10735 tzselect.ksh.
10736
4e87147f
JM
10737 * Makefile (format-me): Remove.
10738 (INSTALL): Adjust indentation. Use commands directly instead of
10739 using $(format-me).
10740
8b748aed
JM
10741 * aclocal.m4 (ACX_PKGVERSION): New macro.
10742 (ACX_BUGURL): Likewise.
10743 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10744 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10745 (REPORT_BUGS_TO): Likewise.
10746 * configure: Regenerated.
10747 * config.h.in (PKGVERSION): New macro.
10748 (REPORT_BUGS_TO): Likewise.
10749 * config.make.in (PKGVERSION): New variable.
10750 (PKGVERSION_TEXI): Likewise.
10751 (REPORT_BUGS_TO): Likewise.
10752 (REPORT_BUGS_TEXI): Likewise.
10753 * Makefile (format-me): Use -I$(common-objpfx)manual.
10754 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10755 ($(common-objpfx)manual/%): New target.
10756 (manual/%): Remove target.
10757 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10758 (print_version): Use PKGVERSION.
10759 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10760 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10761 and REPORT_BUGS_TO.
10762 ($(objpfx)xtrace): Likewise.
10763 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10764 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10765 (print_version): Use PKGVERSION.
10766 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10767 (do_version): Use PKGVERSION.
10768 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10769 REPORT_BUGS_TO.
10770 (common-ldd-rewrite): Likewise.
10771 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10772 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10773 (print_version): Use PKGVERSION.
10774 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10775 * elf/pldd.c (argp_program_bug_address): Remove variable.
10776 (more_help): New function.
10777 (argp): Use more_help.
10778 (print_version): Use PKGVERSION.
10779 * elf/sln.c (main): Use PKGVERSION.
10780 (usage): Use REPORT_BUGS_TO.
10781 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10782 (top level): Use PKGVERSION.
10783 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10784 (print_version): Use PKGVERSION.
10785 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10786 (print_version): Use PKGVERSION.
10787 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10788 (print_version): Use PKGVERSION.
10789 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10790 (print_version): Use PKGVERSION.
10791 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10792 (print_version): Use PKGVERSION.
10793 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10794 (print_version): Use PKGVERSION.
10795 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10796 and BUGURL.
10797 ($(objpfx)memusage): Likewise.
10798 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10799 (do_version): Use PKGVERSION.
10800 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10801 (print_version): Use PKGVERSION.
10802 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10803 ($PKGVERSION): New variable.
10804 ($REPORT_BUGS_TO): Likewise.
10805 (usage): Use $REPORT_BUGS_TO.
10806 (top level): Use $PKGVERSION.
10807 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10808 ($(objpfx)pkgvers.texi): New rule.
10809 ($(objpfx)stamp-pkgvers): Likewise.
10810 * manual/install.texi: Include pkgvers.texi.
10811 (--with-pkgversion): Document new configure option.
10812 (--with-bugurl): Likewise.
10813 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10814 than necessarily for this particular distribution. Use
10815 REPORT_BUGS_TO for where to report bugs.
10816 * INSTALL: Regenerated.
10817 * manual/libc.texinfo: Include pkgvers.texi.
10818 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10819 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10820 (print_version): Use PKGVERSION.
10821 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10822 (print_version): Use PKGVERSION.
10823 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10824 (print_version): Use PKGVERSION.
10825 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10826 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10827 macro.
10828 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10829 (print_version): Use PKGVERSION.
10830 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10831 (print_version): Use PKGVERSION.
10832 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10833 and PKGVERSION.
10834
92e4b6a9
JM
10835 * timezone/checktab.awk: Update from tzcode 2012i.
10836 * timezone/ialloc.c: Likewise.
10837 * timezone/private.h: Likewise.
10838 * timezone/scheck.c: Likewise.
10839 * timezone/tzfile.h: Likewise.
10840 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10841 (TZVERSION): Hardcode tzcode version number.
10842 * timezone/zdump.c: Update from tzcode 2012i.
10843 * timezone/zic.c: Likewise.
10844 * timezone/version.h: New file.
10845 * timezone/README: Describe version.h. Update upstream location.
10846
9bde902c
JM
10847 [BZ #14824]
10848 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10849 (mktemp): Enable declaration.
10850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10854 Likewise.
10855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10856 Likewise.
10857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10858 Likewise.
10859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10860 Likewise.
10861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10862 Likewise.
10863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10864 Likewise.
10865
fb1ae1ee
JM
10866 [BZ #14821]
10867 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10868 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10869 for copies of such integer values.
10870 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10871 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10872
2c1adbcb
AJ
108732012-11-09 Andreas Jaeger <aj@suse.de>
10874
10875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10876 definitions and declarations that are provided by
10877 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10878
d0f8457e
AK
108792012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10880
3a235abb 10881 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10882 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10883 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10884 definition.
10885
57241e26
MS
108862012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10887
10888 * elf/elf.h: Update comment before AArch64 relocations.
10889
60e8270d
DM
108902012-11-07 David S. Miller <davem@davemloft.net>
10891
10892 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10894 (__start_context): Declare.
10895 (__makecontext_ret): Delete.
10896 (__makecontext): Hook up __start_context instead of
10897 __makecontext_ret.
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10899 (sysdep_routines): Add __start_context when in stdlib.
10900
0fbb0fbc
JM
109012012-11-07 Joseph Myers <joseph@codesourcery.com>
10902
10903 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10904 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10905 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10906 hardcoded "nm".
10907 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10908 (READELF): New variable. Use it instead of hardcoded "readelf".
10909
eb48db7e
L
109102012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10911
10912 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10913 * sysdeps/x86/Makefile: Here.
10914 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10915 * sysdeps/x86/tst-xmmymm.sh: This.
10916
05bcf62a
JM
109172012-11-07 Joseph Myers <joseph@codesourcery.com>
10918
c4b6cf53
JM
10919 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10920 expectations.
10921 [UNIX98] (pthread_barrier_t): Do not expect.
10922 [UNIX98] (pthread_barrierattr_t): Likewise.
10923 [UNIX98] (pthread_spinlock_t): Likewise.
10924 [UNIX98] (pthread_barrier_destroy): Likewise.
10925 [UNIX98] (pthread_barrier_init): Likewise.
10926 [UNIX98] (pthread_barrier_wait): Likewise.
10927 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10928 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10929 [UNIX98] (pthread_barrierattr_init): Likewise.
10930 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10931 [UNIX98] (pthread_getcpuclockid): Likewise.
10932 [UNIX98] (pthread_mutex_timedlock): Likewise.
10933 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10934 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10935 [UNIX98] (pthread_sigmask): Likewise.
10936 [UNIX98] (pthread_spin_destroy): Likewise.
10937 [UNIX98] (pthread_spin_init): Likewise.
10938 [UNIX98] (pthread_spin_lock): Likewise.
10939 [UNIX98] (pthread_spin_trylock): Likewise.
10940 [UNIX98] (pthread_spin_unlock): Likewise.
10941 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10942 Do not expect.
10943 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10945 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10946 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10947 [XPG3 || XPG4] (pthread_key_t): Likewise.
10948 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10949 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10950 [XPG3 || XPG4] (pthread_once_t): Likewise.
10951 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10952 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10954 [XPG3 || XPG4] (pthread_t): Likewise.
10955
cbe6e120
JM
10956 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10957 not expect.
10958 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10959
1b126443
JM
10960 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10961 Change function return type to int.
10962
b961a573
JM
10963 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10964 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10965 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10966 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10967 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10968 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10969 [!POSIX] (posix_madvise): Likewise.
10970 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10971 && !UNIX98].
10972 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10973 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10974 (mode_t): Likewise.
10975 (posix_mem_offset): Likewise.
10976 (posix_typed_mem_get_info): Likewise.
10977 (posix_typed_mem_open): Likewise.
10978
9e188909
JM
10979 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10980 Change condition to [XOPEN2K8].
10981
05bcf62a
JM
10982 * conform/conformtest.pl: Preprocess allow-header data with -x c
10983 instead of from stdin.
10984 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10985 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10986 [C99-based standards] (cerfc): Likewise.
10987 [C99-based standards] (cexp2): Likewise.
10988 [C99-based standards] (cexpm1): Likewise.
10989 [C99-based standards] (clog10): Likewise.
10990 [C99-based standards] (clog1p): Likewise.
10991 [C99-based standards] (clog2): Likewise.
10992 [C99-based standards] (clgamma): Likewise.
10993 [C99-based standards] (ctgamma): Likewise.
10994 [C99-based standards] (cerff): Likewise.
10995 [C99-based standards] (cerfcf): Likewise.
10996 [C99-based standards] (cexp2f): Likewise.
10997 [C99-based standards] (cexpm1f): Likewise.
10998 [C99-based standards] (clog10f): Likewise.
10999 [C99-based standards] (clog1pf): Likewise.
11000 [C99-based standards] (clog2f): Likewise.
11001 [C99-based standards] (clgammaf): Likewise.
11002 [C99-based standards] (ctgammaf): Likewise.
11003 [C99-based standards] (cerfl): Likewise.
11004 [C99-based standards] (cerfcl): Likewise.
11005 [C99-based standards] (cexp2l): Likewise.
11006 [C99-based standards] (cexpm1l): Likewise.
11007 [C99-based standards] (clog10l): Likewise.
11008 [C99-based standards] (clog1pl): Likewise.
11009 [C99-based standards] (clog2l): Likewise.
11010 [C99-based standards] (clgammal): Likewise.
11011 [C99-based standards] (ctgammal): Likewise.
11012 * conform/data/inttypes.h-data [C99-based standards]: Include
11013 stdint.h-data. Remove all expectations for stdint.h contents.
11014 [C99-based standards] (PRI*): Do not allow.
11015 [C99-based standards] (SCN*): Likewise.
11016 [C99-based standards] (*_t): Likewise.
11017 [C99-based-standards] (PRId8): Expect macro.
11018 [C99-based-standards] (PRIi8): Likewise.
11019 [C99-based-standards] (PRIo8): Likewise.
11020 [C99-based-standards] (PRIu8): Likewise.
11021 [C99-based-standards] (PRIx8): Likewise.
11022 [C99-based-standards] (PRIX8): Likewise.
11023 [C99-based-standards] (SCNd8): Likewise.
11024 [C99-based-standards] (SCNi8): Likewise.
11025 [C99-based-standards] (SCNo8): Likewise.
11026 [C99-based-standards] (SCNu8): Likewise.
11027 [C99-based-standards] (SCNx8): Likewise.
11028 [C99-based-standards] (PRIdLEAST8): Likewise.
11029 [C99-based-standards] (PRIiLEAST8): Likewise.
11030 [C99-based-standards] (PRIoLEAST8): Likewise.
11031 [C99-based-standards] (PRIuLEAST8): Likewise.
11032 [C99-based-standards] (PRIxLEAST8): Likewise.
11033 [C99-based-standards] (PRIXLEAST8): Likewise.
11034 [C99-based-standards] (SCNdLEAST8): Likewise.
11035 [C99-based-standards] (SCNiLEAST8): Likewise.
11036 [C99-based-standards] (SCNoLEAST8): Likewise.
11037 [C99-based-standards] (SCNuLEAST8): Likewise.
11038 [C99-based-standards] (SCNxLEAST8): Likewise.
11039 [C99-based-standards] (PRIdFAST8): Likewise.
11040 [C99-based-standards] (PRIiFAST8): Likewise.
11041 [C99-based-standards] (PRIoFAST8): Likewise.
11042 [C99-based-standards] (PRIuFAST8): Likewise.
11043 [C99-based-standards] (PRIxFAST8): Likewise.
11044 [C99-based-standards] (PRIXFAST8): Likewise.
11045 [C99-based-standards] (SCNdFAST8): Likewise.
11046 [C99-based-standards] (SCNiFAST8): Likewise.
11047 [C99-based-standards] (SCNoFAST8): Likewise.
11048 [C99-based-standards] (SCNuFAST8): Likewise.
11049 [C99-based-standards] (SCNxFAST8): Likewise.
11050 [C99-based-standards] (PRId16): Likewise.
11051 [C99-based-standards] (PRIi16): Likewise.
11052 [C99-based-standards] (PRIo16): Likewise.
11053 [C99-based-standards] (PRIu16): Likewise.
11054 [C99-based-standards] (PRIx16): Likewise.
11055 [C99-based-standards] (PRIX16): Likewise.
11056 [C99-based-standards] (SCNd16): Likewise.
11057 [C99-based-standards] (SCNi16): Likewise.
11058 [C99-based-standards] (SCNo16): Likewise.
11059 [C99-based-standards] (SCNu16): Likewise.
11060 [C99-based-standards] (SCNx16): Likewise.
11061 [C99-based-standards] (PRIdLEAST16): Likewise.
11062 [C99-based-standards] (PRIiLEAST16): Likewise.
11063 [C99-based-standards] (PRIoLEAST16): Likewise.
11064 [C99-based-standards] (PRIuLEAST16): Likewise.
11065 [C99-based-standards] (PRIxLEAST16): Likewise.
11066 [C99-based-standards] (PRIXLEAST16): Likewise.
11067 [C99-based-standards] (SCNdLEAST16): Likewise.
11068 [C99-based-standards] (SCNiLEAST16): Likewise.
11069 [C99-based-standards] (SCNoLEAST16): Likewise.
11070 [C99-based-standards] (SCNuLEAST16): Likewise.
11071 [C99-based-standards] (SCNxLEAST16): Likewise.
11072 [C99-based-standards] (PRIdFAST16): Likewise.
11073 [C99-based-standards] (PRIiFAST16): Likewise.
11074 [C99-based-standards] (PRIoFAST16): Likewise.
11075 [C99-based-standards] (PRIuFAST16): Likewise.
11076 [C99-based-standards] (PRIxFAST16): Likewise.
11077 [C99-based-standards] (PRIXFAST16): Likewise.
11078 [C99-based-standards] (SCNdFAST16): Likewise.
11079 [C99-based-standards] (SCNiFAST16): Likewise.
11080 [C99-based-standards] (SCNoFAST16): Likewise.
11081 [C99-based-standards] (SCNuFAST16): Likewise.
11082 [C99-based-standards] (SCNxFAST16): Likewise.
11083 [C99-based-standards] (PRId32): Likewise.
11084 [C99-based-standards] (PRIi32): Likewise.
11085 [C99-based-standards] (PRIo32): Likewise.
11086 [C99-based-standards] (PRIu32): Likewise.
11087 [C99-based-standards] (PRIx32): Likewise.
11088 [C99-based-standards] (PRIX32): Likewise.
11089 [C99-based-standards] (SCNd32): Likewise.
11090 [C99-based-standards] (SCNi32): Likewise.
11091 [C99-based-standards] (SCNo32): Likewise.
11092 [C99-based-standards] (SCNu32): Likewise.
11093 [C99-based-standards] (SCNx32): Likewise.
11094 [C99-based-standards] (PRIdLEAST32): Likewise.
11095 [C99-based-standards] (PRIiLEAST32): Likewise.
11096 [C99-based-standards] (PRIoLEAST32): Likewise.
11097 [C99-based-standards] (PRIuLEAST32): Likewise.
11098 [C99-based-standards] (PRIxLEAST32): Likewise.
11099 [C99-based-standards] (PRIXLEAST32): Likewise.
11100 [C99-based-standards] (SCNdLEAST32): Likewise.
11101 [C99-based-standards] (SCNiLEAST32): Likewise.
11102 [C99-based-standards] (SCNoLEAST32): Likewise.
11103 [C99-based-standards] (SCNuLEAST32): Likewise.
11104 [C99-based-standards] (SCNxLEAST32): Likewise.
11105 [C99-based-standards] (PRIdFAST32): Likewise.
11106 [C99-based-standards] (PRIiFAST32): Likewise.
11107 [C99-based-standards] (PRIoFAST32): Likewise.
11108 [C99-based-standards] (PRIuFAST32): Likewise.
11109 [C99-based-standards] (PRIxFAST32): Likewise.
11110 [C99-based-standards] (PRIXFAST32): Likewise.
11111 [C99-based-standards] (SCNdFAST32): Likewise.
11112 [C99-based-standards] (SCNiFAST32): Likewise.
11113 [C99-based-standards] (SCNoFAST32): Likewise.
11114 [C99-based-standards] (SCNuFAST32): Likewise.
11115 [C99-based-standards] (SCNxFAST32): Likewise.
11116 [C99-based-standards] (PRId64): Likewise.
11117 [C99-based-standards] (PRIi64): Likewise.
11118 [C99-based-standards] (PRIo64): Likewise.
11119 [C99-based-standards] (PRIu64): Likewise.
11120 [C99-based-standards] (PRIx64): Likewise.
11121 [C99-based-standards] (PRIX64): Likewise.
11122 [C99-based-standards] (SCNd64): Likewise.
11123 [C99-based-standards] (SCNi64): Likewise.
11124 [C99-based-standards] (SCNo64): Likewise.
11125 [C99-based-standards] (SCNu64): Likewise.
11126 [C99-based-standards] (SCNx64): Likewise.
11127 [C99-based-standards] (PRIdLEAST64): Likewise.
11128 [C99-based-standards] (PRIiLEAST64): Likewise.
11129 [C99-based-standards] (PRIoLEAST64): Likewise.
11130 [C99-based-standards] (PRIuLEAST64): Likewise.
11131 [C99-based-standards] (PRIxLEAST64): Likewise.
11132 [C99-based-standards] (PRIXLEAST64): Likewise.
11133 [C99-based-standards] (SCNdLEAST64): Likewise.
11134 [C99-based-standards] (SCNiLEAST64): Likewise.
11135 [C99-based-standards] (SCNoLEAST64): Likewise.
11136 [C99-based-standards] (SCNuLEAST64): Likewise.
11137 [C99-based-standards] (SCNxLEAST64): Likewise.
11138 [C99-based-standards] (PRIdFAST64): Likewise.
11139 [C99-based-standards] (PRIiFAST64): Likewise.
11140 [C99-based-standards] (PRIoFAST64): Likewise.
11141 [C99-based-standards] (PRIuFAST64): Likewise.
11142 [C99-based-standards] (PRIxFAST64): Likewise.
11143 [C99-based-standards] (PRIXFAST64): Likewise.
11144 [C99-based-standards] (SCNdFAST64): Likewise.
11145 [C99-based-standards] (SCNiFAST64): Likewise.
11146 [C99-based-standards] (SCNoFAST64): Likewise.
11147 [C99-based-standards] (SCNuFAST64): Likewise.
11148 [C99-based-standards] (SCNxFAST64): Likewise.
11149 [C99-based-standards] (PRIdMAX): Likewise.
11150 [C99-based-standards] (PRIiMAX): Likewise.
11151 [C99-based-standards] (PRIoMAX): Likewise.
11152 [C99-based-standards] (PRIuMAX): Likewise.
11153 [C99-based-standards] (PRIxMAX): Likewise.
11154 [C99-based-standards] (PRIXMAX): Likewise.
11155 [C99-based-standards] (SCNdMAX): Likewise.
11156 [C99-based-standards] (SCNiMAX): Likewise.
11157 [C99-based-standards] (SCNoMAX): Likewise.
11158 [C99-based-standards] (SCNuMAX): Likewise.
11159 [C99-based-standards] (SCNxMAX): Likewise.
11160 [C99-based-standards] (PRIdPTR): Likewise.
11161 [C99-based-standards] (PRIiPTR): Likewise.
11162 [C99-based-standards] (PRIoPTR): Likewise.
11163 [C99-based-standards] (PRIuPTR): Likewise.
11164 [C99-based-standards] (PRIxPTR): Likewise.
11165 [C99-based-standards] (PRIXPTR): Likewise.
11166 [C99-based-standards] (SCNdPTR): Likewise.
11167 [C99-based-standards] (SCNiPTR): Likewise.
11168 [C99-based-standards] (SCNoPTR): Likewise.
11169 [C99-based-standards] (SCNuPTR): Likewise.
11170 [C99-based-standards] (SCNxPTR): Likewise.
11171 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11172 allow.
11173 * conform/data/stdint.h-data: Update comments to clarify
11174 requirements.
11175 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11176 type.
11177 [C99-based standards] (INT8_MAX): Likewise.
11178 [C99-based standards] (INT16_MIN): Likewise.
11179 [C99-based standards] (INT16_MAX): Likewise.
11180 [C99-based standards] (INT32_MIN): Likewise.
11181 [C99-based standards] (INT32_MAX): Likewise.
11182 [C99-based standards] (INT64_MIN): Likewise.
11183 [C99-based standards] (INT64_MAX): Likewise.
11184 [C99-based standards] (UINT8_MAX): Likewise.
11185 [C99-based standards] (UINT16_MAX): Likewise.
11186 [C99-based standards] (UINT32_MAX): Likewise.
11187 [C99-based standards] (UINT64_MAX): Likewise.
11188 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11189 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11190 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11191 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11192 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11193 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11194 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11195 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11196 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11197 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11198 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11199 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11200 [C99-based standards] (INT_FAST8_MIN): Likewise.
11201 [C99-based standards] (INT_FAST8_MAX): Likewise.
11202 [C99-based standards] (INT_FAST16_MIN): Likewise.
11203 [C99-based standards] (INT_FAST16_MAX): Likewise.
11204 [C99-based standards] (INT_FAST32_MIN): Likewise.
11205 [C99-based standards] (INT_FAST32_MAX): Likewise.
11206 [C99-based standards] (INT_FAST64_MIN): Likewise.
11207 [C99-based standards] (INT_FAST64_MAX): Likewise.
11208 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11209 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11210 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11211 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11212 [C99-based standards] (INTPTR_MIN): Likewise.
11213 [C99-based standards] (INTPTR_MAX): Likewise.
11214 [C99-based standards] (UINTPTR_MAX): Likewise.
11215 [C99-based standards] (INTMAX_MIN): Likewise.
11216 [C99-based standards] (INTMAX_MAX): Likewise.
11217 [C99-based standards] (UINTMAX_MAX): Likewise.
11218 [C99-based standards] (PTRDIFF_MIN): Likewise.
11219 [C99-based standards] (PTRDIFF_MAX): Likewise.
11220 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11221 [C99-based standards] (SIZE_MAX): Likewise.
11222 [C99-based standards] (WCHAR_MAX): Likewise.
11223 [C99-based standards] (WINT_MAX): Likewise.
11224 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11225 constraint on value.
11226 [C99-based standards] (WCHAR_MIN): Likewise.
11227 [C99-based standards] (WINT_MIN): Likewise.
11228 [C99-based standards] (*_t): Allow.
11229 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11230 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11231 Include math.h-data and complex.h-data. Remove all expectations
11232 of math.h and complex.h contents.
11233 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11234 at end of line.
11235 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11236 (struct tm): Expect tag.
11237 [C99-based-standards] (wcstof): Expect function.
11238 [C99-based-standards] (wcstold): Likewise.
11239 [C99-based-standards] (wcstoll): Likewise.
11240 [C99-based-standards] (wcstoull): Likewise.
11241 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11242 macro-int-constant. Specify type.
11243 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11244 constraint on value.
11245 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11246 Specify type.
11247 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11248 Specify value.
11249 [ISO C standards]: Do not allow headers.
11250 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11251 wcs[abcdefghijklmnopqrstuvwxyz]*.
11252 [ISO C standards] (*_t): Do not allow.
11253 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11254 Expect function.
11255 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11256 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11257 Specify type.
11258 [ISO C standards]: Do not allow headers.
11259 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11260 is[abcdefghijklmnopqrstuvwxyz]*.
11261 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11262 to[abcdefghijklmnopqrstuvwxyz]*.
11263 [ISO C standards] (*_t): Do not allow.
11264 * conform/data/stdalign.h-data: New file.
11265 * conform/data/stdbool.h-data: Likewise.
11266 * conform/data/stdnoreturn.h-data: Likewise.
11267
7514feb8
RM
112682012-11-07 Roland McGrath <roland@hack.frob.com>
11269
11270 [BZ #14815]
11271 * manual/filesys.texi (Directory Entries): Typo fix.
11272 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11273
19b2ecfc
MS
112742012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11275
11276 * elf/elf.h (EM_AARCH64): New macro.
11277 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11278 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11279 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11280 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11281 (R_AARCH64_TLSDESC): Likewise.
11282 (NT_ARM_TLS): Likewise.
11283 (NT_ARM_HW_BREAK): Likewise.
11284 (NT_ARM_HW_WATCH): Likewise.
11285
60e235ee
JM
112862012-11-07 Joseph Myers <joseph@codesourcery.com>
11287
11288 [BZ #14811]
11289 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11290 (__ieee754_powl): Saturate nonzero exponents with absolute value
11291 below 0x1p-79 to +/- 0x1p-79.
11292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11293 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11294 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11295 nonzero exponents with absolute value below 0x1p-32 to +/-
11296 0x1p-32.
11297 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11298 (__ieee754_powl): Saturate nonzero exponents with absolute value
11299 below 0x1p-79 to +/- 0x1p-79.
11300 * math/libm-test.inc (pow_test): Add more tests.
11301
0ab234b7
AK
113022012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11303
11304 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11305 _dl_s390_cap_flags with kernel. Increase string length.
11306 (_dl_s390_platforms): Add z196 and zEC12.
11307
45832f74
JM
113082012-11-07 Joseph Myers <joseph@codesourcery.com>
11309
11310 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11311 Change XOPEN21K to XOPEN2K.
11312
19218757
MK
113132012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11314
11315 * string/memmove.c: Use memcpy when possible.
11316
c5f45721
AJ
113172012-11-06 Andreas Jaeger <aj@suse.de>
11318
11319 * po/eo.po: Update from translation team.
11320
82477c28
JM
113212012-11-06 Joseph Myers <joseph@codesourcery.com>
11322
11323 [BZ #14793]
11324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11325 exponent and small x and y exponents, scale x or y up. Increase
11326 by 2 the exponent used in scaling up.
11327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11329 * math/libm-test.inc (fma_test): Add more tests.
11330 (fma_test_towardzero): Likewise.
11331 (fma_test_downward): Likewise.
11332 (fma_test_upward): Likewise.
11333
99252c8c
JM
113342012-11-05 Joseph Myers <joseph@codesourcery.com>
11335
acfa885f
JM
11336 [BZ #14805]
11337 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11338 fenv_t *.
11339
99252c8c
JM
11340 [BZ #14801]
11341 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11342 namespace for names of struct fields.
11343 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11344 fenv_t fields.
11345 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11346 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11347
d6d98dea
ST
113482012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11349
11350 [BZ #3665]
11351 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11352
e10bb107
TS
113532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11354
11355 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11356 PTR_DEMANGLE.
11357
11358 [BZ #5246]
11359 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11360 PTR_DEMANGLE.
11361
a0c2940d
JM
113622012-11-04 Joseph Myers <joseph@codesourcery.com>
11363
11364 [BZ #14797]
11365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11366 definitely overflow as x * y not x * y + z.
11367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11369 * math/libm-test.inc (fma_test): Add more tests.
11370 (fma_test_towardzero): Likewise.
11371 (fma_test_downward): Likewise.
11372 (fma_test_upward): Likewise.
11373
b830319d
TS
113742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11375
11376 [BZ #157]
11377
11378 * include/stub-tag.h: Remove file.
11379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11380 '#include' of it.
11381 * manual/maint.texi (Porting): Don't reference it.
11382 * Makerules ($(objpfx)stubs): Likewise.
11383 * dirent/closedir.c: Don't include <stub-tag.h>.
11384 * dirent/dirfd.c: Likewise.
11385 * dirent/fdopendir.c: Likewise.
11386 * dirent/getdents.c: Likewise.
11387 * dirent/getdents64.c: Likewise.
11388 * dirent/opendir.c: Likewise.
11389 * dirent/readdir.c: Likewise.
11390 * dirent/readdir64.c: Likewise.
11391 * dirent/readdir64_r.c: Likewise.
11392 * dirent/readdir_r.c: Likewise.
11393 * dirent/rewinddir.c: Likewise.
11394 * dirent/seekdir.c: Likewise.
11395 * dirent/telldir.c: Likewise.
11396 * gmon/profil.c: Likewise.
11397 * grp/setgroups.c: Likewise.
11398 * inet/if_index.c: Likewise.
11399 * io/access.c: Likewise.
11400 * io/chdir.c: Likewise.
11401 * io/chmod.c: Likewise.
11402 * io/chown.c: Likewise.
11403 * io/close.c: Likewise.
11404 * io/dup.c: Likewise.
11405 * io/dup2.c: Likewise.
11406 * io/dup3.c: Likewise.
11407 * io/euidaccess.c: Likewise.
11408 * io/faccessat.c: Likewise.
11409 * io/fchdir.c: Likewise.
11410 * io/fchmod.c: Likewise.
11411 * io/fchmodat.c: Likewise.
11412 * io/fchown.c: Likewise.
11413 * io/fchownat.c: Likewise.
11414 * io/fcntl.c: Likewise.
11415 * io/flock.c: Likewise.
11416 * io/fstatfs.c: Likewise.
11417 * io/fstatfs64.c: Likewise.
11418 * io/fstatvfs.c: Likewise.
11419 * io/fstatvfs64.c: Likewise.
11420 * io/futimens.c: Likewise.
11421 * io/fxstat.c: Likewise.
11422 * io/fxstat64.c: Likewise.
11423 * io/fxstatat.c: Likewise.
11424 * io/fxstatat64.c: Likewise.
11425 * io/getcwd.c: Likewise.
11426 * io/isatty.c: Likewise.
11427 * io/lchmod.c: Likewise.
11428 * io/lchown.c: Likewise.
11429 * io/link.c: Likewise.
11430 * io/linkat.c: Likewise.
11431 * io/lseek.c: Likewise.
11432 * io/lseek64.c: Likewise.
11433 * io/lxstat64.c: Likewise.
11434 * io/mkdir.c: Likewise.
11435 * io/mkdirat.c: Likewise.
11436 * io/mkfifo.c: Likewise.
11437 * io/mkfifoat.c: Likewise.
11438 * io/open.c: Likewise.
11439 * io/open64.c: Likewise.
11440 * io/openat.c: Likewise.
11441 * io/openat64.c: Likewise.
11442 * io/pipe.c: Likewise.
11443 * io/pipe2.c: Likewise.
11444 * io/poll.c: Likewise.
11445 * io/posix_fadvise.c: Likewise.
11446 * io/posix_fadvise64.c: Likewise.
11447 * io/posix_fallocate.c: Likewise.
11448 * io/posix_fallocate64.c: Likewise.
11449 * io/read.c: Likewise.
11450 * io/readlink.c: Likewise.
11451 * io/readlinkat.c: Likewise.
11452 * io/rmdir.c: Likewise.
11453 * io/sendfile.c: Likewise.
11454 * io/sendfile64.c: Likewise.
11455 * io/statfs.c: Likewise.
11456 * io/statfs64.c: Likewise.
11457 * io/statvfs.c: Likewise.
11458 * io/statvfs64.c: Likewise.
11459 * io/symlink.c: Likewise.
11460 * io/symlinkat.c: Likewise.
11461 * io/ttyname.c: Likewise.
11462 * io/ttyname_r.c: Likewise.
11463 * io/umask.c: Likewise.
11464 * io/unlink.c: Likewise.
11465 * io/unlinkat.c: Likewise.
11466 * io/utime.c: Likewise.
11467 * io/utimensat.c: Likewise.
11468 * io/write.c: Likewise.
11469 * io/xmknod.c: Likewise.
11470 * io/xmknodat.c: Likewise.
11471 * io/xstat.c: Likewise.
11472 * io/xstat64.c: Likewise.
11473 * login/getpt.c: Likewise.
11474 * login/grantpt.c: Likewise.
11475 * login/unlockpt.c: Likewise.
11476 * math/e_acoshl.c: Likewise.
11477 * math/e_acosl.c: Likewise.
11478 * math/e_asinl.c: Likewise.
11479 * math/e_atan2l.c: Likewise.
11480 * math/e_atanhl.c: Likewise.
11481 * math/e_coshl.c: Likewise.
11482 * math/e_expl.c: Likewise.
11483 * math/e_fmodl.c: Likewise.
11484 * math/e_gammal_r.c: Likewise.
11485 * math/e_hypotl.c: Likewise.
11486 * math/e_j0l.c: Likewise.
11487 * math/e_j1l.c: Likewise.
11488 * math/e_jnl.c: Likewise.
11489 * math/e_lgammal_r.c: Likewise.
11490 * math/e_log10l.c: Likewise.
11491 * math/e_log2l.c: Likewise.
11492 * math/e_logl.c: Likewise.
11493 * math/e_powl.c: Likewise.
11494 * math/e_rem_pio2l.c: Likewise.
11495 * math/e_sinhl.c: Likewise.
11496 * math/e_sqrtl.c: Likewise.
11497 * math/fclrexcpt.c: Likewise.
11498 * math/fedisblxcpt.c: Likewise.
11499 * math/feenablxcpt.c: Likewise.
11500 * math/fegetenv.c: Likewise.
11501 * math/fegetexcept.c: Likewise.
11502 * math/fegetround.c: Likewise.
11503 * math/feholdexcpt.c: Likewise.
11504 * math/fesetenv.c: Likewise.
11505 * math/fesetround.c: Likewise.
11506 * math/feupdateenv.c: Likewise.
11507 * math/fgetexcptflg.c: Likewise.
11508 * math/fraiseexcpt.c: Likewise.
11509 * math/fsetexcptflg.c: Likewise.
11510 * math/ftestexcept.c: Likewise.
11511 * math/k_cosl.c: Likewise.
11512 * math/k_rem_pio2l.c: Likewise.
11513 * math/k_sinl.c: Likewise.
11514 * math/k_tanl.c: Likewise.
11515 * math/s_asinhl.c: Likewise.
11516 * math/s_atanl.c: Likewise.
11517 * math/s_cbrtl.c: Likewise.
11518 * math/s_erfl.c: Likewise.
11519 * math/s_expm1l.c: Likewise.
11520 * math/s_log1pl.c: Likewise.
11521 * math/s_tanhl.c: Likewise.
11522 * misc/acct.c: Likewise.
11523 * misc/brk.c: Likewise.
11524 * misc/chflags.c: Likewise.
11525 * misc/chroot.c: Likewise.
11526 * misc/fchflags.c: Likewise.
11527 * misc/fgetxattr.c: Likewise.
11528 * misc/flistxattr.c: Likewise.
11529 * misc/fremovexattr.c: Likewise.
11530 * misc/fsetxattr.c: Likewise.
11531 * misc/fsync.c: Likewise.
11532 * misc/ftruncate.c: Likewise.
11533 * misc/futimes.c: Likewise.
11534 * misc/futimesat.c: Likewise.
11535 * misc/getdomain.c: Likewise.
11536 * misc/getdtsz.c: Likewise.
11537 * misc/gethostid.c: Likewise.
11538 * misc/gethostname.c: Likewise.
11539 * misc/getloadavg.c: Likewise.
11540 * misc/getpagesize.c: Likewise.
11541 * misc/getsysstats.c: Likewise.
11542 * misc/getxattr.c: Likewise.
11543 * misc/gtty.c: Likewise.
11544 * misc/ioctl.c: Likewise.
11545 * misc/lgetxattr.c: Likewise.
11546 * misc/listxattr.c: Likewise.
11547 * misc/llistxattr.c: Likewise.
11548 * misc/lremovexattr.c: Likewise.
11549 * misc/lsetxattr.c: Likewise.
11550 * misc/lutimes.c: Likewise.
11551 * misc/madvise.c: Likewise.
11552 * misc/mincore.c: Likewise.
11553 * misc/mlock.c: Likewise.
11554 * misc/mlockall.c: Likewise.
11555 * misc/mmap.c: Likewise.
11556 * misc/mprotect.c: Likewise.
11557 * misc/msync.c: Likewise.
11558 * misc/munlock.c: Likewise.
11559 * misc/munlockall.c: Likewise.
11560 * misc/munmap.c: Likewise.
11561 * misc/preadv.c: Likewise.
11562 * misc/preadv64.c: Likewise.
11563 * misc/ptrace.c: Likewise.
11564 * misc/pwritev.c: Likewise.
11565 * misc/pwritev64.c: Likewise.
11566 * misc/readv.c: Likewise.
11567 * misc/reboot.c: Likewise.
11568 * misc/remap_file_pages.c: Likewise.
11569 * misc/removexattr.c: Likewise.
11570 * misc/revoke.c: Likewise.
11571 * misc/select.c: Likewise.
11572 * misc/setdomain.c: Likewise.
11573 * misc/setegid.c: Likewise.
11574 * misc/seteuid.c: Likewise.
11575 * misc/sethostid.c: Likewise.
11576 * misc/sethostname.c: Likewise.
11577 * misc/setregid.c: Likewise.
11578 * misc/setreuid.c: Likewise.
11579 * misc/setxattr.c: Likewise.
11580 * misc/sstk.c: Likewise.
11581 * misc/stty.c: Likewise.
11582 * misc/swapoff.c: Likewise.
11583 * misc/swapon.c: Likewise.
11584 * misc/sync.c: Likewise.
11585 * misc/syncfs.c: Likewise.
11586 * misc/syscall.c: Likewise.
11587 * misc/truncate.c: Likewise.
11588 * misc/ualarm.c: Likewise.
11589 * misc/usleep.c: Likewise.
11590 * misc/ustat.c: Likewise.
11591 * misc/utimes.c: Likewise.
11592 * misc/vhangup.c: Likewise.
11593 * misc/writev.c: Likewise.
11594 * posix/_exit.c: Likewise.
11595 * posix/alarm.c: Likewise.
11596 * posix/execve.c: Likewise.
11597 * posix/fexecve.c: Likewise.
11598 * posix/fork.c: Likewise.
11599 * posix/fpathconf.c: Likewise.
11600 * posix/getaddrinfo.c: Likewise.
11601 * posix/getegid.c: Likewise.
11602 * posix/geteuid.c: Likewise.
11603 * posix/getgid.c: Likewise.
11604 * posix/getgroups.c: Likewise.
11605 * posix/getlogin.c: Likewise.
11606 * posix/getlogin_r.c: Likewise.
11607 * posix/getpgid.c: Likewise.
11608 * posix/getpid.c: Likewise.
11609 * posix/getppid.c: Likewise.
11610 * posix/getresgid.c: Likewise.
11611 * posix/getresuid.c: Likewise.
11612 * posix/getsid.c: Likewise.
11613 * posix/getuid.c: Likewise.
11614 * posix/glob64.c: Likewise.
11615 * posix/nanosleep.c: Likewise.
11616 * posix/pathconf.c: Likewise.
11617 * posix/pause.c: Likewise.
11618 * posix/posix_madvise.c: Likewise.
11619 * posix/pread.c: Likewise.
11620 * posix/pread64.c: Likewise.
11621 * posix/pwrite.c: Likewise.
11622 * posix/pwrite64.c: Likewise.
11623 * posix/sched_getaffinity.c: Likewise.
11624 * posix/sched_getp.c: Likewise.
11625 * posix/sched_gets.c: Likewise.
11626 * posix/sched_primax.c: Likewise.
11627 * posix/sched_primin.c: Likewise.
11628 * posix/sched_rr_gi.c: Likewise.
11629 * posix/sched_setaffinity.c: Likewise.
11630 * posix/sched_setp.c: Likewise.
11631 * posix/sched_sets.c: Likewise.
11632 * posix/sched_yield.c: Likewise.
11633 * posix/setgid.c: Likewise.
11634 * posix/setlogin.c: Likewise.
11635 * posix/setpgid.c: Likewise.
11636 * posix/setresgid.c: Likewise.
11637 * posix/setresuid.c: Likewise.
11638 * posix/setsid.c: Likewise.
11639 * posix/setuid.c: Likewise.
11640 * posix/sleep.c: Likewise.
11641 * posix/spawni.c: Likewise.
11642 * posix/sysconf.c: Likewise.
11643 * posix/times.c: Likewise.
11644 * posix/wait.c: Likewise.
11645 * posix/wait3.c: Likewise.
11646 * posix/wait4.c: Likewise.
11647 * posix/waitpid.c: Likewise.
11648 * resolv/gai_sigqueue.c: Likewise.
11649 * resource/getpriority.c: Likewise.
11650 * resource/getrlimit.c: Likewise.
11651 * resource/getrusage.c: Likewise.
11652 * resource/nice.c: Likewise.
11653 * resource/setpriority.c: Likewise.
11654 * resource/setrlimit.c: Likewise.
11655 * resource/ulimit.c: Likewise.
11656 * rt/aio_cancel.c: Likewise.
11657 * rt/aio_fsync.c: Likewise.
11658 * rt/aio_read.c: Likewise.
11659 * rt/aio_sigqueue.c: Likewise.
11660 * rt/aio_suspend.c: Likewise.
11661 * rt/aio_write.c: Likewise.
11662 * rt/clock_getres.c: Likewise.
11663 * rt/clock_gettime.c: Likewise.
11664 * rt/clock_nanosleep.c: Likewise.
11665 * rt/clock_settime.c: Likewise.
11666 * rt/lio_listio.c: Likewise.
11667 * rt/mq_close.c: Likewise.
11668 * rt/mq_getattr.c: Likewise.
11669 * rt/mq_notify.c: Likewise.
11670 * rt/mq_open.c: Likewise.
11671 * rt/mq_receive.c: Likewise.
11672 * rt/mq_send.c: Likewise.
11673 * rt/mq_setattr.c: Likewise.
11674 * rt/mq_timedreceive.c: Likewise.
11675 * rt/mq_timedsend.c: Likewise.
11676 * rt/mq_unlink.c: Likewise.
11677 * rt/shm_open.c: Likewise.
11678 * rt/shm_unlink.c: Likewise.
11679 * rt/timer_create.c: Likewise.
11680 * rt/timer_delete.c: Likewise.
11681 * rt/timer_getoverr.c: Likewise.
11682 * rt/timer_gettime.c: Likewise.
11683 * rt/timer_settime.c: Likewise.
11684 * setjmp/__longjmp.c: Likewise.
11685 * setjmp/setjmp.c: Likewise.
11686 * signal/kill.c: Likewise.
11687 * signal/killpg.c: Likewise.
11688 * signal/raise.c: Likewise.
11689 * signal/sigaction.c: Likewise.
11690 * signal/sigaltstack.c: Likewise.
11691 * signal/sigblock.c: Likewise.
11692 * signal/sigignore.c: Likewise.
11693 * signal/sigintr.c: Likewise.
11694 * signal/signal.c: Likewise.
11695 * signal/sigpause.c: Likewise.
11696 * signal/sigpending.c: Likewise.
11697 * signal/sigqueue.c: Likewise.
11698 * signal/sigreturn.c: Likewise.
11699 * signal/sigset.c: Likewise.
11700 * signal/sigsetmask.c: Likewise.
11701 * signal/sigstack.c: Likewise.
11702 * signal/sigsuspend.c: Likewise.
11703 * signal/sigtimedwait.c: Likewise.
11704 * signal/sigvec.c: Likewise.
11705 * signal/sigwait.c: Likewise.
11706 * signal/sigwaitinfo.c: Likewise.
11707 * signal/sysv_signal.c: Likewise.
11708 * socket/accept.c: Likewise.
11709 * socket/accept4.c: Likewise.
11710 * socket/bind.c: Likewise.
11711 * socket/connect.c: Likewise.
11712 * socket/getpeername.c: Likewise.
11713 * socket/getsockname.c: Likewise.
11714 * socket/getsockopt.c: Likewise.
11715 * socket/isfdtype.c: Likewise.
11716 * socket/listen.c: Likewise.
11717 * socket/recv.c: Likewise.
11718 * socket/recvfrom.c: Likewise.
11719 * socket/recvmsg.c: Likewise.
11720 * socket/send.c: Likewise.
11721 * socket/sendmsg.c: Likewise.
11722 * socket/sendto.c: Likewise.
11723 * socket/setsockopt.c: Likewise.
11724 * socket/shutdown.c: Likewise.
11725 * socket/sockatmark.c: Likewise.
11726 * socket/socket.c: Likewise.
11727 * socket/socketpair.c: Likewise.
11728 * stdio-common/ctermid.c: Likewise.
11729 * stdio-common/cuserid.c: Likewise.
11730 * stdio-common/remove.c: Likewise.
11731 * stdio-common/rename.c: Likewise.
11732 * stdio-common/renameat.c: Likewise.
11733 * stdio-common/tempname.c: Likewise.
11734 * stdlib/getcontext.c: Likewise.
11735 * stdlib/makecontext.c: Likewise.
11736 * stdlib/setcontext.c: Likewise.
11737 * stdlib/swapcontext.c: Likewise.
11738 * stdlib/system.c: Likewise.
11739 * streams/fattach.c: Likewise.
11740 * streams/fdetach.c: Likewise.
11741 * streams/getmsg.c: Likewise.
11742 * streams/getpmsg.c: Likewise.
11743 * streams/putmsg.c: Likewise.
11744 * streams/putpmsg.c: Likewise.
11745 * sysdeps/unix/bsd/getpt.c: Likewise.
11746 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11747 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11748 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11750 Likewise.
11751 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11752 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11753 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11754 * sysvipc/msgctl.c: Likewise.
11755 * sysvipc/msgget.c: Likewise.
11756 * sysvipc/msgrcv.c: Likewise.
11757 * sysvipc/msgsnd.c: Likewise.
11758 * sysvipc/semctl.c: Likewise.
11759 * sysvipc/semget.c: Likewise.
11760 * sysvipc/semop.c: Likewise.
11761 * sysvipc/semtimedop.c: Likewise.
11762 * sysvipc/shmat.c: Likewise.
11763 * sysvipc/shmctl.c: Likewise.
11764 * sysvipc/shmdt.c: Likewise.
11765 * sysvipc/shmget.c: Likewise.
11766 * termios/tcdrain.c: Likewise.
11767 * termios/tcflow.c: Likewise.
11768 * termios/tcflush.c: Likewise.
11769 * termios/tcgetattr.c: Likewise.
11770 * termios/tcgetpgrp.c: Likewise.
11771 * termios/tcsendbrk.c: Likewise.
11772 * termios/tcsetattr.c: Likewise.
11773 * termios/tcsetpgrp.c: Likewise.
11774 * time/adjtime.c: Likewise.
11775 * time/clock.c: Likewise.
11776 * time/getitimer.c: Likewise.
11777 * time/gettimeofday.c: Likewise.
11778 * time/setitimer.c: Likewise.
11779 * time/settimeofday.c: Likewise.
11780 * time/stime.c: Likewise.
11781 * time/time.c: Likewise.
11782
117832012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11784
a20492cf
PT
11785 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11786 /usr/old/bin.
11787
72e182e3
PT
11788 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11789 instead of spaces.
11790 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11791
fbeafede
JM
117922012-11-03 Joseph Myers <joseph@codesourcery.com>
11793
5b5b04d6
JM
11794 [BZ #14796]
11795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11796 FE_TONEAREST before applying Dekker multiplication and Knuth
11797 addition. Clear inexact exceptions and check for exact zero
11798 results afterwards.
11799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11802 * math/libm-test.inc (fma_test): Add more tests.
11803 (fma_test_towardzero): Likewise.
11804 (fma_test_downward): Likewise.
11805 (fma_test_upward): Likewise.
11806 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11807 function.
11808 (libc_fesetround): New macro.
11809 (libc_fesetroundf): Likewise.
11810 (libc_fesetroundl): Likewise.
11811 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11812 function.
11813 (libc_fesetround_387): Likewise.
11814 (libc_fesetroundf): New macro.
11815 (libc_fesetround): Likewise.
11816 (libc_fesetroundl): Likewise.
11817 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11818 function.
11819 (libc_fesetroundf): New macro.
11820 (libc_fesetround): Likewise.
11821 (libc_fesetroundl): Likewise.
11822 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11823 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11824 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11825 libm_hidden_ver.
11826 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11827 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11828 libm_hidden_def.
11829 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11830 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11831 libm_hidden_ver.
11832 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11833 libm_hidden_def.
11834
fbeafede
JM
11835 [BZ #3439]
11836 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11837 integer constant usable in #if and use that to give value to enum
11838 constant.
11839 (FE_DIVBYZERO): Likewise.
11840 (FE_UNDERFLOW): Likewise.
11841 (FE_OVERFLOW): Likewise.
11842 (FE_INVALID): Likewise.
11843 (FE_INVALID_SNAN): Likewise.
11844 (FE_INVALID_ISI): Likewise.
11845 (FE_INVALID_IDI): Likewise.
11846 (FE_INVALID_ZDZ): Likewise.
11847 (FE_INVALID_IMZ): Likewise.
11848 (FE_INVALID_COMPARE): Likewise.
11849 (FE_INVALID_SOFTWARE): Likewise.
11850 (FE_INVALID_SQRT): Likewise.
11851 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11852 (FE_TONEAREST): Likewise.
11853 (FE_TOWARDZERO): Likewise.
11854 (FE_UPWARD): Likewise.
11855 (FE_DOWNWARD): Likewise.
11856 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11857 (FE_DIVBYZERO): Likewise.
11858 (FE_OVERFLOW): Likewise.
11859 (FE_UNDERFLOW): Likewise.
11860 (FE_INEXACT): Likewise.
11861 (FE_TONEAREST): Likewise.
11862 (FE_DOWNWARD): Likewise.
11863 (FE_UPWARD): Likewise.
11864 (FE_TOWARDZERO): Likewise.
11865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11866 (FE_UNDERFLOW): Likewise.
11867 (FE_OVERFLOW): Likewise.
11868 (FE_DIVBYZERO): Likewise.
11869 (FE_INVALID): Likewise.
11870 (FE_TONEAREST): Likewise.
11871 (FE_TOWARDZERO): Likewise.
11872 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11873 (FE_OVERFLOW): Likewise.
11874 (FE_UNDERFLOW): Likewise.
11875 (FE_DIVBYZERO): Likewise.
11876 (FE_INEXACT): Likewise.
11877 (FE_TONEAREST): Likewise.
11878 (FE_TOWARDZERO): Likewise.
11879 (FE_UPWARD): Likewise.
11880 (FE_DOWNWARD): Likewise.
11881 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11882 (FE_DIVBYZERO): Likewise.
11883 (FE_OVERFLOW): Likewise.
11884 (FE_UNDERFLOW): Likewise.
11885 (FE_INEXACT): Likewise.
11886 (FE_TONEAREST): Likewise.
11887 (FE_DOWNWARD): Likewise.
11888 (FE_UPWARD): Likewise.
11889 (FE_TOWARDZERO): Likewise.
11890
105ca950
CM
118912012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11892
11893 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11894
a542b389
AS
118952012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11896
11897 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11898 commands. Quote $PWD.
11899 (blacklist_exports): Don't use remove_newlines. Replace "declare
11900 -x" by "export".
11901 (remove_newlines): Remove.
11902
f62c8abc
L
119032012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11904
11905 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11906 * stdlib/stdlib.h (atof): Moved to ...
11907 * include/bits/stdlib-float.h: Here. New file.
11908 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11909 * stdlib/bits/stdlib-float.h: New file.
11910 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11911 -mno-sse -mno-mmx.
11912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11913 <xmmintrin.h>.
11914
0155d5b2
JM
119152012-11-02 Joseph Myers <joseph@codesourcery.com>
11916
a68d0680
JM
11917 * conform/conformtest.pl (@headers): Add fenv.h.
11918 * conform/data/fenv.h-data: New file.
11919 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11920 include of <math/fenv.h>.
11921
caf7f573
JM
11922 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11923 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11924 && !UNIX98]. Enables tests for XOPEN2K8.
11925 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11926 POSIX2008]: Likewise.
11927
6c073ad6
JM
11928 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11929 (struct rusage): Do not expect type or its members.
11930
0155d5b2
JM
11931 [BZ #3439]
11932 * math/math.h (FP_NAN): Define macro to integer constant usable in
11933 #if and use that to give value to enum constant.
11934 (FP_INFINITE): Likewise.
11935 (FP_ZERO): Likewise.
11936 (FP_SUBNORMAL): Likewise.
11937 (FP_NORMAL): Likewise.
11938
b5dcacb4
AS
119392012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11940
11941 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11942 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11943 arguments.
11944
f7934be8
RM
119452012-11-02 Roland McGrath <roland@hack.frob.com>
11946
11947 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11948 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11949 autoconf-time if not.
11950 * configure.in: Remove AC_PREREQ.
11951
d7d08bde
TMQMF
119522012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11953
11954 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11955 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11956 of the internal implementation.
11957
dcdae19a
JM
119582012-11-02 Joseph Myers <joseph@codesourcery.com>
11959
11960 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11961 except include of <misc/sys/syslog.h>.
11962
d6cffd3e
AS
119632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11964
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11966 function returns with a NULL context exit with zero.
11967
b3563932
TMQMF
119682012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11969
11970 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11971
b288a93d
L
119722012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11975 (run_program_cmd): This.
11976 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11977 (tst_langinfo): New variable. Use it.
11978
a2421a68
SAS
119792012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11980
11981 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11982 floating point opcodes.
11983
6f796e1b
TS
119842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11985
7402596b
TS
11986 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11987 variable.
11988
d0d4f868
TS
11989 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11990
6f796e1b
TS
11991 * sysdeps/mach/hurd/powerpc: Remove directory.
11992 * sysdeps/mach/powerpc: Likewise.
11993
4da224a2
AS
119942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11995
11996 * scripts/check-local-headers.sh: Ignore c++ headers.
11997
341dd673
TS
119982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11999
12000 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12001 __libc_cleanup_region_start argument.
12002
473611b2
JM
120032012-11-01 Joseph Myers <joseph@codesourcery.com>
12004
12005 [BZ #14784]
12006 [BZ #14785]
12007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12008 x * y using scaling, not as x * y + z.
12009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12011 * math/libm-test.inc (fma_test): Add more tests.
12012 (fma_test_towardzero): Likewise.
12013 (fma_test_downward): Likewise.
12014 (fma_test_upward): Likewise.
12015
4078da3d
TS
120162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12017
12018 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12019
903252aa
JM
120202012-10-31 Joseph Myers <joseph@codesourcery.com>
12021
12022 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12023 New variable.
12024
cbc818d0
TS
120252012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12026
12027 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12028
5a03cb1e
AS
120292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12030
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12032 Fix sort order.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12034 Likewise.
12035
90aff2ff
TMQMF
120362012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12037
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12039 Fix the order of the list for glibc 2.17.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12041 Likewise.
12042
1818fcb7
AS
120432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12044
12045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12046
ef82f4da
JM
120472012-10-31 Joseph Myers <joseph@codesourcery.com>
12048
16a0e2ec
JM
12049 [BZ #14610]
12050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12051 for low part of x being zero before using __atanl (y).
12052 * math/libm-test.inc (atan2_test): Add another test.
12053
0eb69512
JM
12054 * manual/install.texi (Configuring and compiling): Document
12055 general use of test-wrapper and test-wrapper-env.
12056 * INSTALL: Regenerated.
12057
ef82f4da
JM
12058 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12059 (__fma): Do not extract and scale down low bits on after-rounding
12060 systems when result rounded to normal precision would have normal
12061 exponent.
12062 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12063 (__fmal): Do not extract and scale down low bits on after-rounding
12064 systems when result rounded to normal precision would have normal
12065 exponent.
12066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12067 (__fmal): Do not extract and scale down low bits on after-rounding
12068 systems when result rounded to normal precision would have normal
12069 exponent.
12070 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12071 macro.
12072 (fma_test): Add more tests.
12073 (fma_test_towardzero): Likewise.
12074 (fma_test_downward): Likewise.
12075 (fma_test_upward): Likewise.
12076
954ef0d9
L
120772012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12078
12079 * sysdeps/i386/tininess.h: Renamed to ...
12080 * sysdeps/x86/tininess.h: This.
12081 * sysdeps/x86_64/tininess.h: Removed.
12082
df61ffb2
JM
120832012-10-30 Joseph Myers <joseph@codesourcery.com>
12084
12085 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12086 input. Use $(build-program-cmd).
12087 ($(objpfx)tst-array1-static.out): Likewise.
12088 ($(objpfx)tst-array2.out): Likewise.
12089 ($(objpfx)tst-array3.out): Likewise.
12090 ($(objpfx)tst-array4.out): Likewise.
12091 ($(objpfx)tst-array5.out): Likewise.
12092 ($(objpfx)tst-array5-static.out): Likewise.
12093
01767843
CM
120942012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12095
47cc1490
CM
12096 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12097 if defined.
12098
01767843
CM
12099 * nss/nsswitch.h (nss_interface_function): Provide new
12100 macro for use with NSS functions.
12101 * grp/initgroups.c: Use new macro.
12102 * nss/getXXbyYY.c: Likewise.
12103 * nss/getXXbyYY_r.c: Likewise.
12104 * nss/getXXent.c: Likewise.
12105 * nss/getXXent_r.c: Likewise.
12106 * sysdeps/posix/getaddrinfo.c: Likewise.
12107
8321aa97
AJ
121082012-10-30 Andreas Jaeger <aj@suse.de>
12109
12110 * po/ru.po: Update Russion translation from translation project.
12111
2a27fd6d
JM
121122012-10-30 Joseph Myers <joseph@codesourcery.com>
12113
8627a232
JM
12114 [BZ #14152]
12115 [BZ #14783]
12116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12117 result and shift together with sticky bit instead of replicating
12118 round-to-nearest rounding.
12119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12121 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12122 missing underflow exceptions.
12123 (fma_test_towardzero): Add more tests.
12124 (fma_test_downward): Likewise.
12125 (fma_test_upward): Likewise.
12126
2a27fd6d
JM
12127 [BZ #14047]
12128 * sysdeps/generic/tininess.h: New file.
12129 * sysdeps/i386/tininess.h: Likewise.
12130 * sysdeps/sh/tininess.h: Likewise.
12131 * sysdeps/x86_64/tininess.h: Likewise.
12132 * stdlib/tst-strtod-underflow.c: Likewise.
12133 * stdlib/tst-tininess.c: Likewise.
12134 * stdlib/strtod_l.c: Include <tininess.h>.
12135 (round_and_return): Do not set errno for exact underflow cases.
12136 Force an underflow exception when setting errno for underflow.
12137 Determine underflow based on rounding to normal precision if
12138 TININESS_AFTER_ROUNDING.
12139 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12140 ERANGE for exact underflow cases.
12141 * stdlib/Makefile (tests): Add tst-tininess and
12142 tst-strtod-underflow.
12143 ($(objpfx)tst-tininess): Use $(link-libm).
12144 ($(objpfx)tst-strtod-underflow): Likewise.
12145
e7170363
AJ
121462012-10-30 Andreas Jaeger <aj@suse.de>
12147
e5088dc6
AJ
12148 [BZ#14767]
12149 * elf/Makefile (tests): Remove conditional for have-initfini-array
12150 since this is now always required and the variable does not exist
12151 anymore.
12152 (tests-static): Likewise.
12153 (modules-names): Likewise.
12154
e7170363 12155 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12156
12157 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12158 merged with constructor/destructor.
12159 (init_array): Likewise.
12160 * elf/tst-array2dep.c (fini_array): Likewise.
12161 (init_array): Likewise.
12162
60457d8a
MF
121632012-10-29 Mike Frysinger <vapier@gentoo.org>
12164
12165 * manual/message.texi: Delete @cartouche tags.
12166
8bece752
PT
121672012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12168
94ce799f
PT
12169 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12170 EOPNOTSUPP.
12171 * sysdeps/mach/hurd/fsync.c: Likewise.
12172
8bece752
PT
12173 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12174 [_POSIX_REALTIME_SIGNALS]: Change condition to
12175 [_POSIX_REALTIME_SIGNALS > 0].
12176
86ebe6b1
AJ
121772012-10-27 Andreas Jaeger <aj@suse.de>
12178
12179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12180 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12182 [__WORDSIZE != 64]: Likewise.
12183
54399c08
L
121842012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12185
12186 * iconvdata/tst-table.sh: Remove ${SHELL}.
12187 * iconvdata/tst-tables.sh: Likewise.
12188
e2211bed
DM
121892012-10-25 David S. Miller <davem@davemloft.net>
12190
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12192 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12193 of strtoull.
12194
f303f97c
DM
12195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12196 ifunc-impl-list.c
12197 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12198 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12199 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12200 file.
12201
1e9d84cd
RM
122022012-10-25 Roland McGrath <roland@hack.frob.com>
12203
12204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12205 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12206 __getdirentries.
12207
df381762
JM
122082012-10-25 Joseph Myers <joseph@codesourcery.com>
12209 Jim Blandy <jimb@codesourcery.com>
12210
12211 * scripts/cross-test-ssh.sh: New file.
12212 * manual/install.texi (Configuring and compiling): Document use of
12213 cross-test-ssh.sh.
12214 * INSTALL: Regenerated.
12215
bff64913
PT
122162012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12217
12218 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12219 EOPNOTSUPP.
12220
25fe8932
JM
122212012-10-25 Joseph Myers <joseph@codesourcery.com>
12222
12223 * Makeconfig (run-program-prefix): Fix comment.
12224
cc1290d0
JM
122252012-10-24 Joseph Myers <joseph@codesourcery.com>
12226 Jim Blandy <jimb@codesourcery.com>
12227
12228 * Makeconfig (test-wrapper): New variable,
12229 (test-wrapper-env): Likewise.
12230 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12231 (run-built-tests): Define to yes.
12232 (run-program-prefix): Use $(test-wrapper).
12233 (built-program-cmd): Likewise.
12234 * Rules (make-test-out): Use $(test-wrapper-env) and
12235 $(host-built-program-cmd).
12236 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12237 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12238 tst-pathopt.sh.
12239 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12240 $(test-wrapper-env) to tst-rtld-load-self.sh.
12241 ($(objpfx)order2.out): Use $(test-wrapper).
12242 ($(objpfx)tst-initorder.out): Likewise.
12243 ($(objpfx)tst-initorder2.out): Likewise.
12244 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12245 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12246 (test_wrapper_env): New variable. Use it to run ld.so.
12247 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12248 Use it to run ld.so.
12249 (test_wrapper_env): Likewise.
12250 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12251 $(test-wrapper) to run-iconv-test.sh.
12252 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12253 (ICONV): Use $test_wrapper.
12254 * posix/Makefile ($(objpfx)globtest.out): Pass
12255 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12256 globtest.sh, not $(run-program-prefix).
12257 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12258 (test_wrapper): Likewise.
12259 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12260 set together with run_via_rtld_prefix.
12261 (run_program_prefix): Define in terms of test_wrapper and
12262 run_via_rtld_prefix.
12263
6e6249d0
RM
122642012-10-24 Roland McGrath <roland@hack.frob.com>
12265
12266 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12267 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12268 Targets removed.
12269
12270 [BZ #14743]
12271 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12272 Declare __clock_getres, __clock_gettime, __clock_settime,
12273 __clock_nanosleep, and __clock_getcpuclockid.
12274 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12275 Remove librt_hidden_def (clock_gettime).
12276 * sysdeps/unix/clock_gettime.c: Likewise.
12277 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12278 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12279 * rt/clock_getres.c: Define __clock_getres as an alias.
12280 * sysdeps/posix/clock_getres.c: Likewise.
12281 * rt/clock_settime.c: Define __clock_settime as an alias.
12282 * sysdeps/unix/clock_settime.c: Likewise.
12283 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12284 * sysdeps/unix/clock_nanosleep.c: Likewise.
12285 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12286 * rt/clock-compat.c: New file.
12287 * rt/Makefile (librt-routines): Add clock-compat and move
12288 $(clock-routines) to ...
12289 (routines): ... here, new variable.
12290 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12291 Don't add get_clockfreq here.
12292 * rt/Versions (libc: GLIBC_2.17): New version set.
12293 Add clock_* symbols here.
12294 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12296 (GLIBC_2.17): Add clock_* symbols.
12297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12301 Likewise.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12303 Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12308 * NEWS: Mention the move.
12309
12310 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12311 Use __open, __read, __close rather than their public counterparts.
12312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12313 (__get_clockfreq_via_cpuinfo): Likewise.
12314 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12315 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12316
12317 * config.h.in (HAVE_IFUNC): New #undef.
12318 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12319 was successful.
12320 * configure: Regenerated.
12321
0cae3f4b
MF
123222012-10-24 Mike Frysinger <vapier@gentoo.org>
12323
12324 * configure.in: Move READELF check to start of file.
12325 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12326 libc_cv_asm_gnu_indirect_function in the process.
12327 * configure: Regenerated.
12328
8175a253
MF
123292012-10-24 Mike Frysinger <vapier@gentoo.org>
12330
12331 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12332 send the output to /dev/null.
12333 (libc_cv_cc_with_libunwind): Likewise.
12334 (libc_cv_as_noexecstack): Likewise.
12335 * configure: Regenerate.
12336
0708a7d1
JM
123372012-10-24 Joseph Myers <joseph@codesourcery.com>
12338
10b40d85
JM
12339 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12340
0708a7d1
JM
12341 * posix/globtest.sh (TMPDIR): Do not set.
12342 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12343 (testout): Likewise.
12344
9fddec1a
AJ
123452012-10-24 Andreas Jaeger <aj@suse.de>
12346
3a8db22f
AJ
12347 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12348 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12349 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12350 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12351 posix_fadvise64, posix_fallocate64.
12352
9fddec1a
AJ
12353 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12354 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12355 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12356 Likewise.
12357 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12358 Likewise.
12359 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12360
12361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12362 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12363 <bits/fcntl-linux.h>.
12364 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12365
12366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12367 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12368 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12369 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12370 [__WORDSIZE != 64]: Likewise.
12371
ebfd1bbd
JM
123722012-10-23 Joseph Myers <joseph@codesourcery.com>
12373
03ac099f
JM
12374 * Makeconfig (run-built-tests): New variable.
12375 * Rules [$(cross-compiling) = yes]: Change condition to
12376 [$(run-built-tests) = no].
12377 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12378 to [$(run-built-tests) = yes].
12379 * elf/Makefile [$(cross-compiling) = no]: Likewise
12380 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12381 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12382 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12383 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12384 * io/Makefile [$(cross-compiling) = no]: Likewise.
12385 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12386 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12387 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12388 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12389 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12390 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12391 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12392 * string/Makefile [$(cross-compiling) = no]: Likewise.
12393
ebfd1bbd
JM
12394 * posix/Makefile ($(objpfx)globtest.out): Pass
12395 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12396 $(rtld-installed-name).
12397 * posix/globtest.sh (elf_objpfx): Remove variable.
12398 (rtld_installed_name): Likewise.
12399 (library_path): Likewise.
12400 (run_program_prefix): New variable. Use for running globtest
12401 binary.
12402
166bca24
JB
124032012-10-23 Jim Blandy <jimb@codesourcery.com>
12404 Joseph Myers <joseph@codesourcery.com>
12405
12406 * Makeconfig (host-built-program-cmd): New variable.
12407 * elf/Makefile (tst-stackguard1-ARGS): Use
12408 $(host-built-program-cmd).
12409 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12410 (tst-spawn-ARGS): Likewise.
12411 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12412
88866099
JM
124132012-10-23 Joseph Myers <joseph@codesourcery.com>
12414 Jim Blandy <jimb@codesourcery.com>
12415
12416 * Makeconfig (run-via-rtld-prefix): New variable.
12417 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12418 (built-program-cmd): Likewise.
12419
b4b4c296
AJ
124202012-10-22 Andreas Jaeger <aj@suse.de>
12421
12422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12423 __O_RSYNC if it exists, otherwise to O_SYNC.
12424
6fb54a22
JB
124252012-10-22 Jim Blandy <jimb@codesourcery.com>
12426 Joseph Myers <joseph@codesourcery.com>
12427
12428 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12429 /dev/null.
12430 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12431 from /dev/null
12432 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12433 /dev/null.
12434
481b90b9
AJ
124352012-10-22 Andreas Jaeger <aj@suse.de>
12436
2a0e2669
AJ
12437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12438 Define always.
12439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12440
76e38f9a
AJ
12441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12442 bits/fcntl-linux.h.
12443
7cd37b43
AJ
12444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12445 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12446
481b90b9
AJ
12447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12448 to __O_LARGEFILE.
12449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12450 to __O_LARGEFILE.
12451
aba75984
JB
124522012-10-21 Jim Blandy <jimb@codesourcery.com>
12453 Joseph Myers <joseph@codesourcery.com>
12454
12455 * config.make.in (NM): New variable.
12456
88d4247f
AJ
124572012-10-21 Andreas Jaeger <aj@suse.de>
12458
12459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12460 definitions and declarations that are provided by
12461 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12462
f2eed205
L
124632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 [BZ #14683]
12466 * elf/Makefile (tests-static): Add tst-leaks1-static.
12467 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12468 ($(objpfx)tst-leaks1-static): New rule.
12469 ($(objpfx)tst-leaks1-static-mem): Likewise.
12470 (tst-leaks1-static-ENV): New macro.
12471 * elf/dl-open.c (dl_open_worker): Check the main application
12472 only if SHARED is defined.
12473 * elf/tst-leaks1-static.c: New file.
12474
335e6931
AJ
124752012-10-20 Andreas Jaeger <aj@suse.de>
12476
12477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12478 generic values for Linux.
12479 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12480 and declarations that are provided by <bits/fcntl-linux.h> and
12481 include <bits/fcntl-linux.h>.
12482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12484
ac5c94d3
RM
124852012-10-20 Roland McGrath <roland@hack.frob.com>
12486
12487 * io/fcntl.h: Move include of <bits/types.h> to the top and
12488 include it unconditionally.
12489
de54b33a
L
124902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12491
228cfb01
L
12492 * wcsmbs/Makefile (tests-ifunc): New variable.
12493 (tests): Add $(tests-ifunc).
12494 * wcsmbs/test-wcschr-ifunc.c: New file.
12495 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12496 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12497 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12498 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12499 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12500
69f07e5f
L
12501 * string/Makefile (tests-ifunc): New variable.
12502 (tests): Add $(tests-ifunc).
12503 * string/test-memccpy.c (TEST_NAME): New macro.
12504 * string/test-memchr.c (TEST_NAME): Likewise.
12505 * string/test-memcmp.c (TEST_NAME): Likewise.
12506 * string/test-memcpy.c (TEST_NAME): Likewise.
12507 * string/test-memmem.c (TEST_NAME): Likewise.
12508 * string/test-memmove.c (TEST_NAME): Likewise.
12509 * string/test-memset.c (TEST_NAME): Likewise.
12510 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12511 * string/test-stpcpy.c (TEST_NAME): Likewise.
12512 * string/test-stpncpy.c (TEST_NAME): Likewise.
12513 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12514 * string/test-strcasestr.c (TEST_NAME): Likewise.
12515 * string/test-strcat.c (TEST_NAME): Likewise.
12516 * string/test-strchr.c (TEST_NAME): Likewise.
12517 * string/test-strcmp.c(TEST_NAME): Likewise.
12518 * string/test-strcpy.c (TEST_NAME): Likewise.
12519 * string/test-strcspn.c (TEST_NAME): Likewise.
12520 * string/test-strlen.c (TEST_NAME): Likewise.
12521 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12522 * string/test-strncmp.c (TEST_NAME): Likewise.
12523 * string/test-strncpy.c (TEST_NAME): Likewise.
12524 * string/test-strnlen.c (TEST_NAME): Likewise.
12525 * string/test-strpbrk.c (TEST_NAME): Likewise.
12526 * string/test-strrchr.c (TEST_NAME): Likewise.
12527 * string/test-strspn.c (TEST_NAME): Likewise.
12528 * string/test-strstr.c (TEST_NAME): Likewise.
12529 * string/test-bcopy-ifunc.c: New file.
12530 * string/test-bzero-ifunc.c: Likewise.
12531 * string/test-memccpy-ifunc.c: Likewise.
12532 * string/test-memchr-ifunc.c: Likewise.
12533 * string/test-memcmp-ifunc.c: Likewise.
12534 * string/test-memcpy-ifunc.c: Likewise.
12535 * string/test-memmem-ifunc.c: Likewise.
12536 * string/test-memmove-ifunc.c: Likewise.
12537 * string/test-mempcpy-ifunc.c: Likewise.
12538 * string/test-memset-ifunc.c: Likewise.
12539 * string/test-rawmemchr-ifunc.c: Likewise.
12540 * string/test-stpcpy-ifunc.c: Likewise.
12541 * string/test-stpncpy-ifunc.c: Likewise.
12542 * string/test-strcasecmp-ifunc.c: Likewise.
12543 * string/test-strcasestr-ifunc.c: Likewise.
12544 * string/test-strcat-ifunc.c: Likewise.
12545 * string/test-strchr-ifunc.c: Likewise.
12546 * string/test-strchrnul-ifunc.c: Likewise.
12547 * string/test-strcmp-ifunc.c: Likewise.
12548 * string/test-strcpy-ifunc.c: Likewise.
12549 * string/test-strcspn-ifunc.c: Likewise.
12550 * string/test-strlen-ifunc.c: Likewise.
12551 * string/test-strncasecmp-ifunc.c: Likewise.
12552 * string/test-strncat-ifunc.c: Likewise.
12553 * string/test-strncmp-ifunc.c: Likewise.
12554 * string/test-strncpy-ifunc.c: Likewise.
12555 * string/test-strnlen-ifunc.c: Likewise.
12556 * string/test-strpbrk-ifunc.c: Likewise.
12557 * string/test-strrchr-ifunc.c: Likewise.
12558 * string/test-strspn-ifunc.c: Likewise.
12559 * string/test-strstr-ifunc.c: Likewise.
12560
de54b33a
L
12561 * debug/Makefile (tests-ifunc): New variable.
12562 (tests): Add $(tests-ifunc).
12563 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12564 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12565 * debug/test-stpcpy_chk-ifunc.c: New file.
12566 * debug/test-strcpy_chk-ifunc.c: Likewise.
12567
88481c16
SP
125682012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12569
12570 [BZ #13601]
12571 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12572 header is not read in.
12573
135948bd
JM
125742012-10-19 Joseph Myers <joseph@codesourcery.com>
12575
89f1c388
JM
12576 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12577 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12578 directly. Pass built executable to script as
12579 $(built-program-cmd).
12580 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12581 $testprogram without using LD_LIBRARY_PATH and $ldso.
12582
e40a0d21
JM
12583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12584 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12585 $(rtld-installed-name).
12586 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12587 (rtld_installed_name): Likewise.
12588 (library_path): Likewise.
12589 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12590 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12591 $(run-program-prefix) to tst-tables.sh.
12592 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12593 it to run tst-table-from and tst-table-to.
12594 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12595 Pass it to tst-table.sh.
12596 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12597 $(run-program-prefix) to tst-gettext.sh.
12598 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12599 tst-translit.sh.
12600 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12601 tst-gettext2.sh.
12602 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12603 to run tst-gettext.
12604 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12605 to run tst-gettext2.
12606 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12607 to run tst-translit.
12608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12609 $(run-program-prefix) to tst-mtrace.sh.
12610 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12611 to run tst-mtrace.
12612 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12613 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12614 $(rtld-installed-name).
12615 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12616 (rtld_installed_name): Likewise.
12617 (run_program_prefix): New variable. Use it to run wordexp-test.
12618
728e272a
JM
12619 * Makeconfig (ARCH): Remove all definitions.
12620 (machine): Likewise.
12621 [ARCH]: Remove conditional code.
12622 [!objdir]: Give error.
12623 [!objdir] (objpfx): Remove.
12624 [!objdir] (common-objpfx): Likewise.
12625 [!objdir] (common-objdir): Likewise.
12626 * configure.in (config_makefile): Remove. Hardcode Makefile in
12627 AC_CONFIG_FILES call.
12628 * configure: Regenerated.
12629
d528cdcf
JM
12630 [BZ #13888]
12631 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12632 or TMPDIR.
12633 (testout): Likewise.
12634
135948bd
JM
12635 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12636 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12637 $(rtld-installed-name).
12638 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12639 (rtld_installed_name): Likwise.
12640 (runit): Remove function.
12641 (run_getconf): New variable, Use it for running getconf binary.
12642
38c78296
L
126432012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 [BZ #14716]
12646 * string/test-memmem.c (check_result): New function.
12647 (do_one_test): Use it.
12648 (check1): New function.
12649 (test_main): Use it.
12650
d077f65f
MT
126512012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12652
12653 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12654
ced52c71
JM
126552012-10-18 Joseph Myers <joseph@codesourcery.com>
12656
12657 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12658 (_G_LSEEK64): Likewise.
12659 (_G_MMAP64): Likewise.
12660 (_G_FSTAT64): Likewise.
12661 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12662 (_G_LSEEK64): Likewise.
12663 (_G_MMAP64): Likewise.
12664 (_G_FSTAT64): Likewise.
12665 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12666 unconditional. Call __mmap64 directly.
12667 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12668 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12669 __lseek64 directly.
12670 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12671 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12672 __mmap64 directly.
12673 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12674 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12675 __lseek64 directly.
12676 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12677 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12678 __lseek64 directly.
12679 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12680 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12681 __lseek64 directly.
12682 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12683 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12684 __fxstat64 directly.
12685 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12686 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12687 unconditional.
12688 (freopen64) [!_G_OPEN64]: Remove conditional code.
12689 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12690 unconditional.
12691 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12692 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12693 unconditional.
12694 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12695 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12696 unconditional.
12697 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12698 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12699 unconditional.
12700 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12701 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12702 unconditional.
12703 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12704 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12705 unconditional.
12706 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12707 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12708 unconditional.
12709 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12710
b741de23
SP
127112012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12712
12713 [BZ #12140]
12714 * manual/memory.texi (Malloc Tunable Parameters): Add note
12715 about free list pointers overwriting some perturb bytes.
12716 Wording suggested by Roland McGrath.
12717
f9b9d9c9
JM
127182012-10-17 Joseph Myers <joseph@codesourcery.com>
12719
12720 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12721 (lgamma_test): Likewise.
12722 (tgamma_test): Likewise.
12723
172a631a
FW
127242012-10-16 Florian Weimer <fweimer@redhat.com>
12725
12726 [BZ #14700]
12727 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12728 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12729
e9f37252
MK
127302012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12731
12732 * NEWS: Mention BZ #14716.
12733 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12734 when removing AVAILABLE1_USES_J macro.
12735
d394eb74
L
127362012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12737
12738 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12739 (__bswap_64): __uint64_t for unsigned 64-bit int.
12740
ca38dc17
AS
127412012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12742
12743 * include/string.h (memmem): Declare libc hidden alias.
12744 * string/memmem.c (memmem): Define libc hidden alias.
12745 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12746 __read, __close instead of open, read, close.
12747
9a387d1f
L
127482012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12749
ac49ecaf
L
12750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12751 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12752 global and hidden.
12753 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12754 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12755 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12756 Likewise.
12757 (__rawmemchr_sse2): Likewise.
12758 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12759 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12760 (__strchr_sse2): Likewise.
12761 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12762 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12763 (__strcasecmp_sse2): Likewise.
12764 (__strncasecmp_sse2): Likewise.
12765 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12766 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12767 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12768 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12769 (__strrchr_sse2): Likewise.
12770 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12771 ifunc-impl-list.c.
12772 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12773 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12774 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12775 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12776 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12777 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12778 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12779 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12780 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12781 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12782 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12783 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12784 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12785 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12786 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12787 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12788 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12789 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12790 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12791 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12792 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12793 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12795 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12796 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12797 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12798 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12799 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12800 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12801 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12802
b090e8ea
L
12803 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12804 global and hidden.
12805 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12806 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12807 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12808 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12809 Likewise.
12810 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12811 Likewise.
12812 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12813 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12814 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12815 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12816 ifunc-impl-list.c.
12817 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12835 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12851 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12858
11dd4af6
L
12859 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12860 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12861 * include/ifunc-impl-list.h: New file.
12862 * misc/ifunc-impl-list.c: Likewise.
12863 * misc/Makefile (routines): Add ifunc-impl-list.
12864 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12865 * string/test-string.h: Include <ifunc-impl-list.h>.
12866 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12867 impl_array): New variables.
12868 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12869 are defined.
12870 (test_init): Call __libc_ifunc_impl_list to initialize
12871 func_list if TEST_IFUNC and TEST_NAME are defined.
12872
9a387d1f
L
12873 * string/Makefile (strop-tests): Add bcopy and bzero.
12874 * string/test-bcopy.c: New file.
12875 * string/test-bzero.c: Likewise.
12876 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12877 defined.
12878 * string/test-memset.c: Support bzero test if TEST_BZERO is
12879 defined.
12880 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12881 __libc_memmove.
12882 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12883 __libc_memset.
12884 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12885 of memset.
12886
472371b9
JM
128872012-10-10 Joseph Myers <joseph@codesourcery.com>
12888
1e4a9536
JM
12889 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12890 * configure: Regenerated.
12891
d173d12e
JM
12892 * Makeconfig (+link-static-before-libc): Don't include
12893 $(link-static-libc).
12894
472371b9
JM
12895 * libio/libio.h (_IO_pos_t): Remove.
12896
89a3ad0b
AO
128972012-10-10 Alexandre Oliva <aoliva@redhat.com>
12898
12899 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12900 McGrath.
12901
e7451425
AO
129022012-10-10 Alexandre Oliva <aoliva@redhat.com>
12903
12904 * crypt/crypt-entry.c: Include fips-private.h.
12905 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12906 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12907 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12908 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12909
4ba74a35
AO
129102012-10-10 Alexandre Oliva <aoliva@redhat.com>
12911
12912 * crypt/crypt-private.h: Include stdbool.h.
12913 (_ufc_setup_salt_r): Return bool.
12914 * crypt/crypt-entry.c: Include errno.h.
12915 (__crypt_r): Return NULL with EINVAL for bad salt.
12916 * crypt/crypt_util.c (bad_for_salt): New.
12917 (_ufc_setup_salt_r): Check that salt is long enough and within
12918 the specified alphabet.
12919 * crypt/badsalttest.c: New file.
12920 * crypt/Makefile (tests): Add it.
12921 ($(objpfx)badsalttest): New.
12922
f96f1242
MK
129232012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12924
12925 * NEWS: Add entry for BZ #14602.
12926
0e8e0c1c
JM
129272012-10-09 Joseph Myers <joseph@codesourcery.com>
12928
12929 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12930 type-generic.
12931 * math/libm-test.inc: Update comment listing what functions and
12932 macros are tested.
12933 (isgreater_test): New function.
12934 (isgreaterequal_test): Likewise.
12935 (isless_test): Likewise.
12936 (islessequal_test): Likewise.
12937 (islessgreater_test): Likewise.
12938 (isunordered_test): Likewise.
12939 (main): Call the new functions.
12940
273edc5e
RM
129412012-10-09 Roland McGrath <roland@hack.frob.com>
12942
b8493de0
RM
12943 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12944 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12945 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12946 * sysdeps/i386/configure: Regenerated.
12947 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12948 * sysdeps/mach/configure: Regenerated.
12949 * sysdeps/mach/hurd/configure: Regenerated.
12950 * sysdeps/powerpc/configure: Regenerated.
12951 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12952 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12953 * sysdeps/s390/s390-32/configure: Regenerated.
12954 * sysdeps/s390/s390-64/configure: Regenerated.
12955 * sysdeps/sh/configure: Regenerated.
12956 * sysdeps/sparc/configure: Regenerated.
12957 * sysdeps/unix/sysv/linux/configure: Regenerated.
12958 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12959 * sysdeps/x86_64/configure: Regenerated.
12960
273edc5e
RM
12961 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12962 defined. Don't check if MAP is NULL.
12963
c8450f70
JM
129642012-10-09 Joseph Myers <joseph@codesourcery.com>
12965
12966 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12967 (_G_stat64): Likewise.
12968 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12969 (_G_stat64): Likewise.
12970 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12971 instead of struct _G_stat64.
12972 * libio/fileops.c (mmap_remap_check): Likewise.
12973 (decide_maybe_mmap): Likewise.
12974 (_IO_new_file_seekoff): Likewise.
12975 (_IO_file_stat): Likewise.
12976 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12977 _G_off64_t.
12978 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12979 instead of struct _G_stat64.
12980 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12981
57e605ba
MK
129822012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12983
12984 [BZ #14602]
12985 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12986 Replace with ...
12987 (CHECK_EOL): New macro.
12988 (two_way_short_needle): Check beginning of haystack for EOL. Use
12989 CHECK_EOL.
12990 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12991 Replace with CHECK_EOL.
12992 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12993 Replace with CHECK_EOL.
12994
ef1bb361
JM
129952012-10-08 Joseph Myers <joseph@codesourcery.com>
12996
12997 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12998 type-generic.
12999 * math/libm-test.inc: Update comment listing what functions and
13000 macros are tested.
13001 (finite_test): New function.
13002 (isinf_test): Likewise.
13003 (isnan_test): Likewise.
13004 (fpclassify_test): Test subnormal input.
13005 (isfinite_test): Likewise.
13006 (isnormal_test): Likewise.
13007 (main): Call the new functions.
13008
55f11534
JN
130092012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13010
13011 [BZ #14660]
13012 * Makerules (%.dynsym): Force C locale when running
13013 $(OBJDUMP) --dynamic-syms.
13014
1ab29350
AS
130152012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13016
13017 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13018 <stdint.h>.
13019
f1ecb7ef
DM
130202012-10-06 David S. Miller <davem@davemloft.net>
13021
13022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13023 upper 32-bits of the length value in %o2 since we use branch-on-register
13024 tests which consider the entire 64-bit register.
13025
5d41d91a
L
130262012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * string/test-strstr.c (check2): Add a test for page boundary.
13029
3baddb72
DM
130302012-10-05 David S. Miller <davem@davemloft.net>
13031
13032 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13033 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13034 file.
13035 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13036 sysdep_routines.
13037 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13038 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13039 and bzero when HWCAP_SPARC_CRYPTO is present.
13040
9cee5585
L
130412012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13042
d7e0dab9
L
13043 [BZ #14602]
13044 * string/test-strstr.c (check2): New function.
13045 (test_main): Call check2.
13046
03759f47
L
13047 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13048 and bug-strchr1.
13049 * string/bug-strcasestr1.c (do_test): Moved to ...
13050 * string/test-strcasestr.c (check1): Here. New function.
13051 (do_one_test): Break out result checking code into ...
13052 (check_result): This. New function.
13053 (do_one_test): Call check_result.
13054 (test_main): Call check1.
13055 * string/bug-strchr1.c (do_test): Moved to ...
13056 * string/test-strchr.c (check1): Here. New function.
13057 (do_one_test): Break out result checking code into ...
13058 (check_result): This. New function.
13059 (do_one_test): Call check_result.
13060 (test_main): Call check1.
13061 * string/bug-strstr1.c (main): Moved to ...
046f153e 13062 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13063 (do_one_test): Break out result checking code into ...
13064 (check_result): This. New function.
13065 (do_one_test): Call check_result.
13066 (test_main): Call check1.
13067 * string/bug-strcasestr1.c: Removed.
13068 * string/bug-strchr1.c: Likewise.
13069 * string/bug-strstr1.c: Likewise.
13070
53cea63e
L
13071 * elf/Makefile (dl-routines): Add hwcaps.
13072 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13073 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13074 (_dl_important_hwcaps): Moved to ...
13075 * elf/dl-hwcaps.c: Here. New file.
13076 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13077
9cee5585 13078 [BZ #14557]
bb859b06
L
13079 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13080 if IS_IN_rtld isn't defined.
13081
9cee5585
L
13082 * elf/dl-support.c (_dl_sysinfo_map): New.
13083 Include "get-dynamic-info.h" and "setup-vdso.h".
13084 (_dl_non_dynamic_init): Call setup_vdso.
13085 * elf/dynamic-link.h: Don't include <assert.h>.
13086 (elf_get_dynamic_info): Moved to ...
13087 * elf/get-dynamic-info.h: Here. New file.
13088 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13089 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13090 * elf/setup-vdso.h: Here. New file.
13091 * elf/rtld.c: Include "setup-vdso.h".
13092 (dl_main): Call setup_vdso.
13093
23c31b76
JM
130942012-10-05 Joseph Myers <joseph@codesourcery.com>
13095
28234b07
JM
13096 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13097 creal in comment listing functions tested. List finite, isinf,
13098 isnan, isless, islessequal, isgreater, isgreaterequal,
13099 islessgreater, isunordered, lgamma_r and pow10 as functions and
13100 macros not tested. Mention which functions not tested are aliases
13101 for other functions. Fix typo. Note that signs of NaNs are not
13102 tested.
13103
23c31b76
JM
13104 * scripts/config.guess: Update from config.git.
13105 * scripts/config.sub: Likewise.
13106
9043e228
RM
131072012-10-04 Roland McGrath <roland@hack.frob.com>
13108
13109 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13110 * misc/madvise.c (madvise): Renamed to __madvise.
13111 Make madvise a weak alias.
13112 * include/sys/mman.h: Declare __madvise.
13113 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13114 * sysdeps/unix/syscalls.list
13115 (madvise): Make __madvise the strong name, and madvise a weak alias.
13116 * sysdeps/unix/sysv/linux/syscalls.list
13117 (madvise, mmap): Remove redundant entries.
13118 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13119 * malloc/malloc.c (mtrim): Likewise.
13120 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13121
f57f8055
RM
131222012-10-03 Roland McGrath <roland@hack.frob.com>
13123
13124 * sysdeps/mach/hurd/dl-cache.c: File removed.
13125 * config.h.in (USE_LDCONFIG): New #undef.
13126 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13127 * configure: Regenerated.
13128 * elf/Makefile (dl-routines): Add dl-cache only under
13129 [$(use-ldconfig) = yes].
13130 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13131 cache on [USE_LDCONFIG].
13132 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13133 [USE_LDCONFIG].
13134 * elf/rtld.c (dl_main): Likewise.
13135
5bb0c10a
PT
131362012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13137
13138 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13139 _SC_LEVEL4_CACHE_LINESIZE.
13140
010188c6
RM
131412012-10-03 Roland McGrath <roland@hack.frob.com>
13142
13143 * sysdeps/unix/bsd/confstr.h: File removed.
13144
b6c5ec07
AO
131452012-10-02 Alexandre Oliva <aoliva@redhat.com>
13146
13147 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13148 sys/sdt-config.h.
13149
408223d4
RM
131502012-10-02 Roland McGrath <roland@hack.frob.com>
13151
13152 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13153 Make 'mapoff' field ElfW(Off) rather than off_t.
13154
bb9510dc
DL
131552012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13156
fc997c6e
DL
13157 * nscd/Makefile: Remove nscd-cflags and all its users.
13158 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13159 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13160
bb9510dc
DL
13161 [BZ #10631]
13162 * malloc.c (malloc_printerr): Clarify error message.
13163
05699367
L
131642012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 [BZ #14648]
13167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13168 Set bit_FMA_Usable if FMA is supported.
13169 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13170 macro.
13171 (bit_FMA4_Usable): Updated.
13172 (index_FMA_Usable): New macro.
13173 (CPUID_FMA): Likewise
13174 (HAS_FMA): Defined with bit_FMA_Usable.
13175
51367701
RM
131762012-10-01 Roland McGrath <roland@hack.frob.com>
13177
13178 * bits/types.h (__swblk_t): Type removed.
13179 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13180 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13182 (__SWBLK_T_TYPE): Likewise.
13183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13184 (__SWBLK_T_TYPE): Likewise.
13185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13186 (__SWBLK_T_TYPE): Likewise.
13187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13188 (__SWBLK_T_TYPE): Likewise.
13189
4d57bf63 131902012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13191 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13192
13193 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13194 (xdr_mapname): Use YPMAXMAP as maxsize.
13195 (xdr_peername): Use YPMAXPEER as maxsize.
13196 (xdr_keydat): Use YPAXRECORD as maxsize.
13197 (xdr_valdat): Use YPMAXRECORD as maxsize.
13198
93c65d43
RM
131992012-10-01 Roland McGrath <roland@hack.frob.com>
13200
497a03d6
RM
13201 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13202
93c65d43
RM
13203 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13204 * csu/init-first.c: ... here.
13205 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13206 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13209 * sysdeps/i386/init-first.c: File removed.
13210 * sysdeps/sh/init-first.c: File removed.
13211
bec749fd
JM
132122012-10-01 Joseph Myers <joseph@codesourcery.com>
13213
13214 [BZ #14645]
13215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13216 if x * y might underflow to zero and z is zero.
13217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13219 * math/libm-test.inc (min_subnorm_value): New variable.
13220 (fma_test): Add more tests.
13221 (fma_test_towardzero): Likewise.
13222 (fma_test_downward): Likewise
13223 (fma_test_upward): Likewise.
13224 (initialize): Set min_subnorm_value.
13225
8ec5b013
JM
132262012-09-29 Joseph Myers <joseph@codesourcery.com>
13227
13228 [BZ #14638]
13229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13230 0 + 0.
13231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13232 mode for addition resulting in exact zero.
13233 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13235 exact 0 + 0.
13236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13238 * math/libm-test.inc (fma_test): Add more tests.
13239 (fma_test_towardzero): New function.
13240 (fma_test_downward): Likewise.
13241 (fma_test_upward): Likewise.
13242 (main): Call the new functions.
13243
b1fa802e
DM
132442012-09-28 David S. Miller <davem@davemloft.net>
13245
13246 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13247
d3b9fd9e
RM
132482012-09-28 Roland McGrath <roland@hack.frob.com>
13249
ea4d37b3
RM
13250 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13251 instead of SIGALRM.
13252
ac51c949
RM
13253 * sysdeps/gnu/_G_config.h: Moved to ...
13254 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13255 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13256 * sysdeps/generic/_G_config.h: ... here.
13257
28c195f7
RM
13258 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13259
848917f9
RM
13260 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13261
6bacf05b
RM
13262 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13263 Conditionalize target on [libnss_test1.so-version].
13264
91363dbb
RM
13265 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13266
cc87f7d8
RM
13267 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13268 (elfobjdir): Move out of conditionals.
13269
b1c608fe
RM
13270 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13271 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13272 (__nss_lookup_function): Conditionalize label remove_from_tree on
13273 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13274
1d9a6d96
DM
132752012-09-28 David S. Miller <davem@davemloft.net>
13276
13277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13278 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13279 file.
13280 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13281 sysdep_routines.
13282 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13284 when HWCAP_SPARC_CRYPTO is present.
13285
72581615
PT
132862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13287
13288 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13289
715a900c
JL
132902012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13291
13292 [BZ #6530]
13293 * stdio-common/vfprintf.c (process_string_arg): Revert
13294 2000-07-22 change.
13295
132962011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13297
13298 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13299 for testcase.
13300 * stdio-common/tst-sprintf.c: Include <locale.h>
13301 (main): Test sprintf's handling of incomplete multibyte
13302 characters.
13303
9bac1d86
L
133042012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13305
13306 * elf/dl-runtime.c (VERSYMIDX): Removed.
13307 * elf/dl-version.c (VERSYMIDX): Likewise.
13308 * elf/do-rel.h (VERSYMIDX): Likewise.
13309 (VALIDX): Likewise.
13310 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13311 * elf/rtld.c (VALIDX): Likewise.
13312 (ADDRIDX): Likewise.
9bac1d86
L
13313 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13314 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13315 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13316 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13317 (VALIDX): Likewise.
13318 (ADDRIDX): Likewise.
9bac1d86 13319
b31606c0
PT
133202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13321
13322 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13323
11541177
JL
133242012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13325
13326 [BZ #11438]
13327 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13328 to global scope.
13329 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13330 addresses are in the same scope as 192.0.2/24.
13331 * posix/gai.conf: Document new scope table defaults.
13332
adb26fae
SP
133332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13334
13335 [BZ #5298]
13336 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13337 for ftell. Compute offsets from write pointers instead.
13338 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13339
4573c6b0
SP
133402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13341
13342 [BZ #14543]
13343 * libio/Makefile (tests): New test case tst-fseek.
13344 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13345 combination works in wide mode.
13346 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13347 state when the external buffer state changes.
13348
aa9bbfe6
DM
133492012-09-27 David S. Miller <davem@davemloft.net>
13350
13351 [BZ #14376]
13352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13353 pass reloc->r_addend in as the 'high' argument to
13354 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13355
784421e7
DM
13356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13357
c39bc8b8
PT
133582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13359
13360 * rt/tst-aio2.c: Include <pthread.h>.
13361 * rt/tst-aio3.c: Likewise.
13362
1ccc2399
SE
133632012-09-27 Steve Ellcey <sellcey@mips.com>
13364
13365 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13366
31ed4153
L
133672012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13368
25f5f885
L
13369 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13370 contents on [SHARED].
31ed4153 13371
b7bfe116
MP
133722012-09-26 Marek Polacek <polacek@redhat.com>
13373
13374 [BZ #14530]
13375 [BZ #13741]
13376 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13377 for C++ and GCC <4.3 as well as for non GCC compilers.
13378
43c4edba
MT
133792012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13380
13381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13382
6a1bf82f
RM
133832012-09-25 Roland McGrath <roland@hack.frob.com>
13384
13385 * Makefile.in (all, install): Declare with .PHONY.
13386 Reported by Michael Hope <michael.hope@linaro.org>.
13387
8ad11b9a
TMQMF
133882012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13389
13390 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13391 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13392 system header.
13393 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13394 Likewise.
13395 (sydep_routines): Add the new and the internal functions.
13396 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13397 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13399 (GLIBC_2.17): Add the new function.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13401 (GLIBC_2.17): Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13403 (GLIBC_2.17): Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13405 (GLIBC_2.17): Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13407
7e2fca8d
AM
134082012-09-25 Alan Modra <amodra@gmail.com>
13409
13410 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13411 Add release barrier before setting once_control to say
13412 initialisation is done. Add hints on lwarx. Use macro in
13413 place of isync.
13414 (clear_once_control): Add release barrier.
13415
b87c4b24
JM
134162012-09-25 Joseph Myers <joseph@codesourcery.com>
13417
d032e0d2
JM
13418 [BZ #13629]
13419 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13420 specially.
13421 * math/s_clog10.c (__clog10): Likewise.
13422 * math/s_clog10f.c (__clog10f): Likewise.
13423 * math/s_clog10l.c (__clog10l): Likewise.
13424 * math/s_clogf.c (__clogf): Likewise.
13425 * math/s_clogl.c (__clogl): Likewise.
13426 * math/Makefile (libm-calls): Add x2y2m1.
13427 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13428 (__x2y2m1): Likewise.
13429 (__x2y2m1l): Likewise.
13430 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13431 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13436 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13437 * sysdeps/i386/fpu/libm-test-ulps: Update.
13438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13439
b87c4b24
JM
13440 [BZ #14621]
13441 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13442 int as type of variable DEPTH.
13443 (glob): Use size_t instead of int as type of variables NEWCOUNT
13444 and OLD_PATHC.
13445
6d3bf199
LD
134462012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13447
22bf5c17
LD
13448 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13449 Add s_sincosf-sse2.
13450 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13451 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13452 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13453 macros for using routine as __sincosf_ia32.
13454 Use macro for function declaration and weak_alias.
13455 * sysdeps/i386/fpu/libm-test-ulps: Update.
13456
13457 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13459
13460 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13461 subnormal argument.
13462 * math/s_cexpf.c (__cexpf): Likewise.
13463 * math/s_csinf.c (__csinf): Likewise.
13464 * math/s_csinhf.c (__csinhf): Likewise.
13465 * math/s_ctanf.c (__ctanf): Likewise.
13466 * math/s_ctanhf.c (__ctanhf): Likewise.
13467 * math/s_ccosh.c (__ccoshf): Likewise.
13468 * math/s_cexp.c (__cexpl): Likewise.
13469 * math/s_csin.c (__csin): Likewise.
13470 * math/s_csinh.c (__csinh): Likewise.
13471 * math/s_ctan.c (__ctan): Likewise.
13472 * math/s_ctanh.c (ctanh): Likewise.
13473 * math/s_ccoshl.c (__ccoshl): Likewise.
13474 * math/s_cexpl.c (__cexpl): Likewise.
13475 * math/s_csinl.c (__csinl): Likewise.
13476 * math/s_csinhl.c (__csinhl): Likewise.
13477 * math/s_ctanl.c (__ctanl): Likewise.
13478 * math/s_ctanhl.c (__ctanhl): Likewise.
13479
203e5603
JM
134802012-09-25 Joseph Myers <joseph@codesourcery.com>
13481
13482 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13483 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13484 (_IO_off_t): Define to __off_t, not _G_off_t.
13485 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13486 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13487 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13488 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13489 type of __dummy and __dummy2 fields.
13490 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13491 (_G_ssize_t): Likewise.
13492 (_G_off_t): Likewise.
13493 (_G_pid_t): Likewise.
13494 (_G_uid_t): Likewise.
13495 (_G_wchar_t): Likewise.
13496 (_G_wint_t): Likewise.
13497 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13498 (_G_ssize_t): Likewise.
13499 (_G_off_t): Likewise.
13500 (_G_pid_t): Likewise.
13501 (_G_uid_t): Likewise.
13502 (_G_wchar_t): Likewise.
13503 (_G_wint_t): Likewise.
13504 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13505 (_G_ssize_t): Likewise.
13506 (_G_off_t): Likewise.
13507 (_G_pid_t): Likewise.
13508 (_G_uid_t): Likewise.
13509 (_G_wchar_t): Likewise.
13510 (_G_wint_t): Likewise.
13511
9fab36eb
SP
135122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13513
13514 * malloc/arena.c: Include malloc-sysdep.h.
13515 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13516 is sufficient to shrink the heap or an unmap is needed.
13517 * sysdeps/generic/malloc-sysdep.h: New file. Define
13518 new function check_may_shrink_heap.
13519 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13520 new function check_may_shrink_heap.
13521
2b4f00d1
SP
135222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13523
13524 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13525 comments.
13526
9a9028b1
DL
135272012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13528
57c69bef
DL
13529 * catgets/test-gencat.sh: Add "set -e".
13530 * elf/tst-pathopt.sh: Likewise.
13531 * grp/tst_fgetgrent.sh: Likewise.
13532 * iconvdata/run-iconv-test.sh: Likewise.
13533 * intl/tst-gettext.sh: Likewise.
13534 * intl/tst-gettext2.sh: Likewise.
13535 * intl/tst-gettext4.sh: Likewise.
13536 * intl/tst-gettext6.sh: Likewise.
13537 * intl/tst-translit.sh: Likewise.
13538 * io/ftwtest-sh: Likewise.
13539 * libio/test-freopen.sh: Likewise.
13540 * malloc/tst-mtrace.sh: Likewise.
13541 * posix/globtest.sh: Likewise.
13542 * posix/tst-getconf.sh: Likewise.
13543 * posix/wordexp-tst.sh: Likewise.
13544 * stdio-common/tst-printf.sh: Likewise.
13545 * stdio-common/tst-unbputc.sh: Likewise.
13546 * stdlib/tst-fmtmsg.sh: Likewise.
13547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13548 * catgets/Makefile: Do not specify -e option when running
13549 testsuite shell scripts.
13550 * elf/Makefile: Likewise.
13551 * grp/Makefile: Likewise.
13552 * iconvdata/Makefile: Likewise.
13553 * intl/Makefile: Likewise.
13554 * io/Makefile: Likewise.
13555 * libio/Makefile: Likewise.
13556 * malloc/Makefile: Likewise.
13557 * posix/Makefile: Likewise.
13558 * stdio-common/Makefile: Likewise.
13559 * stdlib/Makefile: Likewise.
13560 * sysdeps/x86_64/Makefile: Likewise.
13561
9a9028b1
DL
13562 * io/ftwtest-sh: Add copyright header.
13563 * posix/globtest.sh: Likewise.
13564 * posix/tst-getconf.sh: Likewise.
13565 * posix/wordexp-tst.sh: Likewise.
13566 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13567
ced6f16e
L
135682012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13569
94b32c39
L
13570 [BZ #13679]
13571 * Makeconfig (+link): Defined as $(+link-static) if
13572 $(build-shared) isn't yes.
13573 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13574 isn't yes.
13575 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13576
189e935b
L
13577 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13578
ced6f16e
L
13579 [BZ #14562]
13580 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13581 new chunk size with MALLOC_ALIGN_MASK.
13582
a9f8e53a
JM
135832012-09-24 Joseph Myers <joseph@codesourcery.com>
13584
13585 [BZ #5044]
13586 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13587 <rounding-mode.h>.
13588 (__printf_fphex): Determine rounding using get_rounding_mode and
13589 round_away.
13590 * stdio-common/tst-printf-round.c (struct hex_test): New
13591 structure.
13592 (hex_tests): New variable.
13593 (test_hex_in_one_mode): New function.
13594 (do_test): Also run tests for hex float output.
13595
43153109
JM
135962012-09-21 Joseph Myers <joseph@codesourcery.com>
13597
13598 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13599 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13600 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13601 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13602 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13603 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13604 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13605 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13606
8a26625d
JM
136072012-09-20 Joseph Myers <joseph@codesourcery.com>
13608
13609 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13610 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13611 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13612 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13613
f3fd569c
DL
136142012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13615
13616 [BZ #14579]
13617 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13618 mode only.
13619 * elf/tst-rtld-load-self.sh: New test.
13620 * elf/Makefile: Run it.
13621
63bbedd4
JM
136222012-09-18 Joseph Myers <joseph@codesourcery.com>
13623
13624 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13625 (tst-writev-ENV): Remove.
13626 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13627
626f8b6a
CM
136282012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13629
13630 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13631
b7aaa4d6
JM
136322012-09-17 Joseph Myers <joseph@codesourcery.com>
13633
13634 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13635 unconditional.
13636 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13637 Likewise.
13638 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13639 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13640 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13641 Likewise.
13642
65513990
L
136432012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13644
13645 [BZ #14587]
13646 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13647 * config.make.in (have-cpp-asm-debuginfo): Removed.
13648 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13649 * configure: Regenerated.
13650
784761be
JM
136512012-09-14 Joseph Myers <joseph@codesourcery.com>
13652
13653 [BZ #5044]
13654 * stdio-common/printf_fp.c: Include <stdbool.h> and
13655 <rounding-mode.h>.
13656 (___printf_fp): Determine rounding using get_rounding_mode and
13657 round_away.
13658 * stdio-common/tst-printf-round.c: New file.
13659 * stdio-common/Makefile (tests): Add tst-printf-round.
13660 (link-libm): New variable.
13661 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13662
9503345f
L
136632012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 [BZ #14576]
13666 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13667 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13668 Likewise.
13669 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13670 Likewise.
13671
ad35fc00
JM
136722012-09-13 Joseph Myers <joseph@codesourcery.com>
13673
13674 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13675 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13676 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13677 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13678
6c9b0f68
JM
136792012-09-12 Joseph Myers <joseph@codesourcery.com>
13680
13681 [BZ #14518]
13682 * include/rounding-mode.h: New file.
13683 * sysdeps/generic/get-rounding-mode.h: Likewise.
13684 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13685 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13686 (MAX_VALUE): New macro.
13687 (MIN_VALUE): Likewise.
13688 (overflow_value): New function.
13689 (underflow_value): Likewise.
13690 (round_and_return): Use overflow_value and underflow_value to
13691 determine return values in overflow and underflow cases. Use
13692 round_away to determine rounding depending on rounding mode.
13693 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13694 determine return values in overflow and underflow cases.
13695 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13696 (struct test_results): New structure.
13697 (struct test): Use struct test_results to store expected results
13698 for all rounding modes.
13699 (TEST): Include expected results for all rounding modes.
13700 (test_in_one_mode): New function.
13701 (do_test): Use test_in_one_mode to compute and check results.
13702 Check results for all rounding modes.
13703 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13704 $(link-libm).
13705
19fcedd5
AM
137062012-12-09 Allan McRae <allan@archlinux.org>
13707
1e9d84cd 13708 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13709
8bbfd2f1
JM
137102012-09-11 Joseph Myers <joseph@codesourcery.com>
13711
13712 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13713 (_G_int32_t): Likewise.
13714 (_G_uint16_t): Likewise.
13715 (_G_uint32_t): Likewise.
13716 (_G_HAVE_BOOL): Likewise.
13717 (_G_HAVE_ATEXIT): Likewise.
13718 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13719 (_G_HAVE_IO_FILE_OPEN): Likewise.
13720 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13721 (_G_int32_t): Likewise.
13722 (_G_uint16_t): Likewise.
13723 (_G_uint32_t): Likewise.
13724 (_G_HAVE_BOOL): Likewise.
13725 (_G_HAVE_ATEXIT): Likewise.
13726 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13727 (_G_HAVE_IO_FILE_OPEN): Likewise.
13728 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13729 (_G_int32_t): Likewise.
13730 (_G_uint16_t): Likewise.
13731 (_G_uint32_t): Likewise.
13732 (_G_HAVE_BOOL): Likewise.
13733 (_G_HAVE_ATEXIT): Likewise.
13734 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13735 (_G_HAVE_IO_FILE_OPEN): Likewise.
13736
b1dc5912
L
137372012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13738
13739 * csu/libc-tls.c: Update copyright years.
13740
0e886ef9
JM
137412012-09-10 Joseph Myers <joseph@codesourcery.com>
13742
28361c5e
JM
13743 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13744 [!_G_USING_THUNKS]: Remove conditional code.
13745 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13746 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13747
0e886ef9
JM
13748 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13749 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13750 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13751 (_G_VTABLE_LABEL_PREFIX): Likewise.
13752 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13753 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13755 (_G_VTABLE_LABEL_PREFIX): Likewise.
13756 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13757 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13758 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13759 (_G_VTABLE_LABEL_PREFIX): Likewise.
13760 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13761
bcba7aa2
L
137622012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13763
13764 * libio/Makefile: Include ../Makeconfig before tests.
13765 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13766 only if $(build-shared) is yes.
13767
06585ee8
L
13768 * iconv/gconv_db.c: Update copyright years.
13769
80ccd52c
LD
137702012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13771
13772 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13773 unwind info if defined PIC. Fix special cases description.
13774 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13775
13776 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13777 DP_HI_MASK entry.
13778 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13779
691bc9c1
L
137802012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13781
3d9b46b3
L
13782 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13783
de2139a9
L
13784 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13785 is NULL.
13786
5ca78dd0
L
13787 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13788 (LDLIBS-tst-chk4): This.
13789 (LDFLAGS-tst-chk5): Renamed to ...
13790 (LDLIBS-tst-chk5): This.
13791 (LDFLAGS-tst-chk6): Renamed to ...
13792 (LDLIBS-tst-chk6): This.
13793 (LDFLAGS-tst-lfschk4): Renamed to ...
13794 (LDLIBS-tst-lfschk4): This.
13795 (LDFLAGS-tst-lfschk5): Renamed to ...
13796 (LDLIBS-tst-lfschk5): This.
13797 (LDFLAGS-tst-lfschk6): Renamed to ...
13798 (LDLIBS-tst-lfschk6): This.
13799
691bc9c1
L
13800 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13801 on $(common-objpfx)soversions.mk.
13802
65cafb1c
JM
138032012-09-07 Joseph Myers <joseph@codesourcery.com>
13804
13805 [BZ #10014]
13806 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13807 example host name.
13808
c78ab094
SP
138092012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13810
13811 * malloc/arena.c (arena_get_retry): New function that gets
13812 another arena for the caller to try its request on.
13813 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13814 current arena cannot fulfill the request.
13815 (__libc_memalign): Likewise.
13816 (__libc_memalign): Likewise.
13817 (__libc_pvalloc): Likewise.
13818 (__libc_calloc): Likewise.
13819
01f49f59
JT
138202012-09-05 John Tobey <john.tobey@gmail.com>
13821
13822 [BZ #13542]
13823 * manual/arith.texi (Operations on Complex): Fix description
13824 of carg branch cut.
13825
4c23fed5
JM
138262012-09-06 Joseph Myers <joseph@codesourcery.com>
13827
1d3c8572
JM
13828 [BZ #10014]
13829 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13830 host name.
13831
4c23fed5
JM
13832 [BZ #10038]
13833 * manual/memory.texi (Memory): Make order of menu items match
13834 order of sections.
13835
04570aaa
L
138362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13837
13838 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13839 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13840 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13841
b80af2f4
L
138422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13843
13844 * csu/libc-tls.c (static_dtv): Renamed to ...
13845 (_dl_static_dtv): This. Make it global.
13846 (_dl_initial_dtv): Removed.
13847 (__libc_setup_tls): Updated.
13848 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13849 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13850 DL_INITIAL_DTV.
13851
2abe9f15
PM
138522012-09-06 Petr Machata <pmachata@redhat.com>
13853
13854 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13855 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13856 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13857 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13858
0948c3af
L
138592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13860
13861 [BZ #14545]
13862 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13863 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13864 freeing dtv[-1].
13865
a5055ad1
L
138662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13867
13868 [BZ #14544]
13869 * Makeconfig (link-static-before-libc): Replace $(+prector)
13870 with $(+prectorT).
13871 (link-static-after-libc): Replace $(+postctor) with
13872 $(+postctorT).
13873 (link-bounded): Replace $(+prector)/$(+postctor) with
13874 $(+prectorT)/$(+postctorT).
13875 (+prectorT): New macro.
13876 (+postctorT): Likewise.
13877
ed8c2ecd
JM
138782012-09-06 Joseph Myers <joseph@codesourcery.com>
13879
13880 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13881 (round_str): Handle values above the maximum for IBM long double
13882 as inexact.
13883 * stdlib/tst-strtod-round.c (tests): Regenerated.
13884
14c996c8
AK
138852012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13886
13887 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13888 assembler flag.
13889 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13890 zarch_nohighgprs around the zarch optimized routines.
13891 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13892 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13894 for zarch.
13895
430d6ce6
DM
138962012-09-05 David S. Miller <davem@davemloft.net>
13897
13898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13899
ff04dda4
DM
13900 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13901 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13902 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13903 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13904 entries.
13905
24d4e01b
AO
139062012-09-05 Alexandre Oliva <aoliva@redhat.com>
13907
13908 * malloc/arena.c: Fold copyright years.
13909 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13910
61d58174
AO
139112012-09-05 Alexandre Oliva <aoliva@redhat.com>
13912
13913 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13914
20196a5e
AO
139152012-09-05 Alexandre Oliva <aoliva@redhat.com>
13916
13917 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13918
5c447383
AO
139192012-09-05 Alexandre Oliva <aoliva@redhat.com>
13920
13921 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13922 change internal state upon failure.
13923
fad64255
AO
139242012-09-05 Alexandre Oliva <aoliva@redhat.com>
13925
13926 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13927 * malloc/memusage.c (mmap): Likewise.
13928 (mmap64, mremap): Likewise. Adjust name in comment.
13929
1ffb8c90
SP
139302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
13932 * libio/fileops.c: Fix typos in comments.
13933 * libio/oldfileops.c: Likewise.
13934 * libio/wfileops.c: Likewise.
13935
6ef9cc37
SP
139362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13937
13938 [BZ #1349]
13939 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13940 (tst-malloc-usable-ENV): Set environment for test case.
13941 * malloc/hooks.c (malloc_check_get_size): New function to get
13942 requested size.
13943 * malloc/malloc.c (musable): Use malloc_check_get_size.
13944 * malloc/tst-malloc-usable.c: New test case.
13945
4d038ae3
AS
139462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13947
13948 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13949
c4e85184
AM
139502012-09-05 Allan McRae <allan@archlinux.org>
13951
b9dafc56 13952 [BZ #13966]
c4e85184
AM
13953 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13954 determine header location.
13955 * configure: Regenerated.
13956
e1343020
AS
139572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13958
13959 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13960 float format.
13961 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13962 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13963 format.
e1343020
AS
13964 (test): Regenerate.
13965
0a9f1987
DM
139662012-09-04 David S. Miller <davem@davemloft.net>
13967
13968 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13969 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13970 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13971
29237804
FW
139722012-09-04 Florian Weimer <fweimer@redhat.com>
13973
13974 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13975 failures.
13976
edb3cb88
FW
13977 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13978
60160d83
JM
139792012-09-04 Joseph Myers <joseph@codesourcery.com>
13980
13981 [BZ #9914]
13982 * libio/iogetdelim.c: Include <limits.h>.
13983 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13984 + len + 1 would overflow.
13985
bcd6c8dc
AJ
139862012-09-03 Andreas Jaeger <aj@suse.de>
13987
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13989 * sysdeps/i386/fpu/libm-test-ulps: Update.
13990
4ffffbd2
LD
139912012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13992
13993 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13994 Add s_sinf-sse2, s_conf-sse2.
13995
13996 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13997 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13998 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13999 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14000
14001 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14002 for using routine as __sinf_ia32.
14003 Use macro for function declaration and weak_alias.
14004 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14005 for using routine as __cosf_ia32.
14006 Use macro for function declaration and weak_alias.
14007
14008 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14009 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14010
14011 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14012 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14014
14015 * math/libm-test.inc (cos_test): Add more test cases.
14016 (sin_test): Likewise.
14017 (sincos_test): Likewise.
14018
511fa286
AK
140192012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14020
14021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14022 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14023 hidden.
14024 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14025
5f30cfec
L
140262012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14027
14028 [BZ #14538]
14029 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14030 first element of the GOT.
14031 (elf_machine_load_address): Return the difference between
14032 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14033
0786794f
AM
140342012-09-01 Allan McRae <allan@archlinux.org>
14035
5f30cfec
L
14036 [BZ #13412]
14037 * configure.in (AWK): Require gawk version 3.0 or later.
14038 * configure: Regenerated.
0786794f 14039
26889eac
JM
140402012-09-01 Joseph Myers <joseph@codesourcery.com>
14041
14042 * sysdeps/unix/sysv/linux/kernel-features.h
14043 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14045 [__NR_clock_getres]: Make code unconditional.
14046 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14047 (clock_getcpuclockid): Remove code left unreachable by removal of
14048 conditionals.
14049 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14050 code unconditional.
14051 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14052 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14053 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14054 Make code unconditional.
14055 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14056 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14057 * sysdeps/unix/sysv/linux/clock_settime.c
14058 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14059 conditional code.
14060 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14061 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14062
d22e28b0
L
140632012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14064
14065 [BZ #14476]
14066 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14067 scripts/test-installation.pl.
14068
14069 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14070 and $ld_so_version if it is set.
14071
050af9c4
SP
140722012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 [BZ #14516]
14075 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14076 failure if reading from procfs failed.
14077 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14078
ad845c0b
JM
140792012-08-27 Joseph Myers <joseph@codesourcery.com>
14080
14081 * sysdeps/unix/sysv/linux/kernel-features.h
14082 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14083 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14084 Remove conditional code.
14085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14086 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14087 Remove conditional code.
14088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14089 * sysdeps/unix/sysv/linux/i386/fxstat.c
14090 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14092 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14095 * sysdeps/unix/sysv/linux/i386/lxstat.c
14096 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14098 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14099 Remove conditional code.
14100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14101 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14102 Remove conditional code.
14103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14104 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14105 <kernel-features.h>.
14106 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14107 Remove.
14108 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14109 Remove conditional code.
14110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14111 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14112 Remove conditional.
14113
5dbf56af
MF
141142012-08-27 Mike Frysinger <vapier@gentoo.org>
14115
14116 [BZ #5400]
14117 * NEWS: Add fixed bug number.
14118
d6e70f43
JM
141192012-08-27 Joseph Myers <joseph@codesourcery.com>
14120
7efb4737
JM
14121 [BZ #14519]
14122 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14123 underflowing exponent in case of negative sign.
14124 * stdlib/tst-strtod-round-data: Add more tests.
14125 * stdlib/tst-strtod-round.c (tests): Regenerated.
14126
af92131a
JM
14127 [BZ #3479]
14128 * stdlib/strtod_l.c (NDIG): Remove.
14129 (HEXNDIG): Likewise.
14130 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14131 smallest representable value.
14132 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14133 lie within an exact representation of 1/2 ulp of the result.
14134 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14135 unconditionally.
14136 (TENS_P9_IDX): Define unconditionally.
14137 (TENS_P9_SIZE): Likewise.
14138 (TENS_P10_IDX): Likewise.
14139 (TENS_P10_SIZE): Likewise.
14140 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14141 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14142 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14143 entries for 10^2^13 and 10^2^14.
14144 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14145 (TENS_P13_IDX): Define.
14146 (TENS_P13_SIZE): Likewise.
14147 (TENS_P14_IDX): Likewise.
14148 (TENS_P14_SIZE): Likewise.
14149 (_fpioconst_pow10): Change array size to
14150 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14151 unconditional.
14152 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14153 1024]: Add entries for 10^2^13 and 10^2^14.
14154 [LAST_POW10 > _LAST_POW10]: Remove #error.
14155 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14156 (_fpioconst_pow10): Change array size to
14157 FPIOCONST_POW10_ARRAY_SIZE.
14158 * stdlib/gen-fpioconst.c: New file.
14159 * stdlib/gen-tst-strtod-round.c: Likewise.
14160 * stdlib/tst-strtod-round-data: Likewise.
14161 * stdlib/tst-strtod-round.c: Likewise.
14162 * stdlib/Makefile (tests): Add tst-strtod-round.
14163
d6e70f43
JM
14164 [BZ #14459]
14165 * stdlib/strtod_l.c: Include <stdint.h>.
14166 (NDEBUG): Do not define.
14167 (round_and_return): Change EXPONENT parameter to type intmax_t.
14168 Rearrange calculations to avoid internal overflow possibilities.
14169 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14170 Rearrange calculations to avoid internal overflow possibilities.
14171 Assert that number fits inside MPNSIZE limbs.
14172 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14173 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14174 calculations and add assertions to avoid internal overflow
14175 possibilities. Add casts to avoid signed/unsigned operations.
14176 * stdlib/tst-strtod-overflow.c: New file.
14177 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14178
1f529f7d
MP
141792012-08-25 Marek Polacek <polacek@redhat.com>
14180
14181 * time/time.h: Fix some typos in comments.
14182
59a629f1
RM
141832012-08-23 Roland McGrath <roland@hack.frob.com>
14184
14185 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14186 * posix/tst-rfc3484-2.c: Likewise.
14187 * posix/tst-rfc3484-3.c: Likewise.
14188
d3bafbc9
SM
141892012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14190
14191 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14192 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14193
4efcc022
JM
141942012-08-23 Joseph Myers <joseph@codesourcery.com>
14195
14196 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14197 #include of fxstatat64.c.
14198
3cc3ef96
RM
141992012-08-22 Roland McGrath <roland@hack.frob.com>
14200
f04e2132
RM
14201 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14202 * shadow/getspent_r.c: Likewise.
14203 * shadow/getspnam.c: Likewise.
14204 * shadow/getspnam_r.c: Likewise.
14205 * gshadow/getsgent.c: Likewise.
14206 * gshadow/getsgent_r.c: Likewise.
14207 * gshadow/getsgnam.c: Likewise.
14208 * gshadow/getsgnam_r.c: Likewise.
14209 * inet/getnetbyad.c: Likewise.
14210 * inet/getnetbyad_r.c: Likewise.
14211 * inet/getnetbynm.c: Likewise.
14212 * inet/getnetbynm_r.c: Likewise.
14213 * inet/getnetent.c: Likewise.
14214 * inet/getnetent_r.c: Likewise.
14215 * inet/getproto.c: Likewise.
14216 * inet/getproto_r.c: Likewise.
14217 * inet/getprtent.c: Likewise.
14218 * inet/getprtent_r.c: Likewise.
14219 * inet/getprtname.c: Likewise.
14220 * inet/getprtname_r.c: Likewise.
14221 * inet/getrpcbyname.c: Likewise.
14222 * inet/getrpcbyname_r.c: Likewise.
14223 * inet/getrpcbynumber.c: Likewise.
14224 * inet/getrpcbynumber_r.c: Likewise.
14225 * inet/getrpcent.c: Likewise.
14226 * inet/getrpcent_r.c: Likewise.
14227 * inet/getaliasent.c: Likewise.
14228 * inet/getaliasent_r.c: Likewise.
14229 * inet/getaliasname.c: Likewise.
14230 * inet/getaliasname_r.c: Likewise.
14231 * nscd/getgrgid_r.c: Likewise.
14232 * nscd/getgrnam_r.c: Likewise.
14233 * nscd/gethstbyad_r.c: Likewise.
14234 * nscd/gethstbynm3_r.c: Likewise.
14235 * nscd/getpwnam_r.c: Likewise.
14236 * nscd/getpwuid_r.c: Likewise.
14237 * nscd/getsrvbynm_r.c: Likewise.
14238 * nscd/getsrvbypt_r.c: Likewise.
14239 * nscd/gai.c: Likewise.
14240
c53d909c
RM
14241 * configure.in (build_nscd): New substituted variable, set
14242 by --disable-build-nscd and defaults to $use_nscd.
14243 * configure: Regenerated.
14244 * config.make.in (build-nscd): New substituted variable.
14245 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14246 Change conditional to require [$(build-nscd) = yes] as well.
14247 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14248
3cc3ef96
RM
14249 [BZ# 13696]
14250 * configure.in (use_nscd): New substituted variable, set by
14251 --disable-nscd. If enabled, define USE_NSCD.
14252 * configure: Regenerated.
14253 * config.h.in: Add USE_NSCD.
14254 * config.make.in (use-nscd): New substituted variable.
14255 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14256 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14257 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14258 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14259 (CFLAGS-getgrnam_r.c): Likewise.
14260 (CFLAGS-initgroups.c): Likewise.
14261 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14262 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14263 Variables removed.
14264 * inet/getnetgrent_r.c
14265 (nscd_setnetgrent): New function, broken out of ...
14266 (setnetgrent): ... here. Call it.
14267 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14268 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14269 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14270 * nscd/Makefile (routines, aux): Move definitions after include of
14271 Makeconfig. Conditionalize on [$(use-nscd) != no].
14272 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14273 Conditionalize on [USE_NSCD].
14274 (is_nscd, nscd_init_cb): Likewise.
14275 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14276 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14277 * nss/nss_db/db-init.c: Likewise.
14278 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14279 [USE_NSCD].
14280 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14281 (make_request): Use it.
14282 (cache_valid_p): New function.
14283 (__check_pf): Use it.
14284 * NEWS: Add item for --disable-nscd.
14285
07e51550
DL
142862012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14287
14288 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14289 to support sed >= 4.2.1-20-ga9bf076.
14290 * configure: Regenerated.
14291
35a5b08b
RM
142922012-08-22 Roland McGrath <roland@hack.frob.com>
14293
14294 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14295 Conditionalize whole body on [IREL].
14296
8479f23a
JL
142972012-08-22 Jeff Law <law@redhat.com>
14298
14299 [BZ #14505]
14300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14301 if the family is PF_UNSPEC.
14302
48da0b21
MF
143032012-08-22 Mike Frysinger <vapier@gentoo.org>
14304
14305 * Makerules (lib-version): Rename from V.
14306 (install-lib-nosubdir): Change V to lib-version.
14307
15d0da8c
WS
143082012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14309
14310 [BZ #14252]
14311 * powerpc32/power6/wcschr.c: New file.
14312 * powerpc32/power6/wcscpy.c: New file.
14313 * powerpc32/power6/wcsrchr.c: New file.
14314 * powerpc64/power6/wcschr.c: New file.
14315 * powerpc64/power6/wcscpy.c: New file.
14316 * powerpc64/power6/wcsrchr.c: New file.
14317
bcca0895
MK
143182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14319
14320 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14321 (two_way_short_needle): Use it.
5a4aaa33
RM
14322 * string/strstr.c (AVAILABLE1_USES_J): Define.
14323 * string/strcasestr.c: Likewise.
99677e57
MK
14324
14325 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14326 array references.
14327 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14328
400726de
MK
14329 [BZ #11607]
14330 * NEWS: Add an entry.
14331 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14332 define their defaults.
14333 (two_way_short_needle): Detect end-of-string on-the-fly.
14334 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14335 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14336 * string/bug-strcasestr1.c: New test.
14337 * string/Makefile: Run it.
14338
20a71f2c
MK
143392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14340
14341 [BZ #11607]
14342 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14343 the first character.
14344
21ad0558
RM
143452012-08-21 Roland McGrath <roland@hack.frob.com>
14346
14347 * csu/elf-init.c (__libc_csu_irel): Function removed.
14348 * csu/libc-start.c (apply_irel): New function.
14349 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14350
0e1d9911
JM
143512012-08-21 Joseph Myers <joseph@codesourcery.com>
14352
14353 * sysdeps/unix/sysv/linux/kernel-features.h
14354 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14355 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14356 <kernel-features.h>.
14357 [__NR_fadvise64_64]: Make code unconditional.
14358 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14359 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14360 !__NR_fadvise64_64)]: Likewise.
14361 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14362 !__NR_fadvise64_64))]: Likewise.
14363 [__NR_fadvise64]: Make code unconditional.
14364 [!__NR_fadvise64]: Remove conditional code.
14365 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14366 <kernel-features.h>.
14367 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14368 unconditional.
14369 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14370 conditional code.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14372 not include <kernel-features.h>.
14373 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14374 unconditional.
14375 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14376 conditional code.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14378 include <kernel-features.h>.
14379 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14380 unconditional.
14381 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14382 conditional code.
14383
14a50c9d
WS
143842012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14385
14386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14387 slight instruction rearrangements per scrollpipe analysis.
14388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14389
c0f4faf0
RM
143902012-08-20 Roland McGrath <roland@hack.frob.com>
14391
696da859
RM
14392 * manual/syslog.texi (syslog; vsyslog, closelog):
14393 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14394 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14395
c0f4faf0
RM
14396 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14397 DSOCAPS to match condition on defining it.
14398
348363b2
JM
143992012-08-20 Joseph Myers <joseph@codesourcery.com>
14400
a35cbf28
JM
14401 * sysdeps/unix/sysv/linux/kernel-features.h
14402 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14404 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14405 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14410 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14411 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14412
445f7ecd
JM
14413 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14414 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14415
348363b2
JM
14416 * sysdeps/unix/sysv/linux/kernel-features.h
14417 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14418 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14419 unconditional.
14420 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14421 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14422 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14423 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14424 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14425 Make code unconditional.
14426 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14427 (__mmap64) [!__NR_mmap2]: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14429 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14430 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14431 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14432 [__NR_mmap2]: Make code unconditional.
14433 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14434 (__mmap64) [!__NR_mmap2]: Likewise.
14435
bc5bc0e5
AK
144362012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14437
14438 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14439
88d506de
AJ
144402012-08-18 Andreas Jaeger <aj@suse.de>
14441
14442 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14443
493387d2
MF
144442012-08-18 Mike Frysinger <vapier@gentoo.org>
14445
14446 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14447 * include/unistd.h (__have_sock_cloexec): Likewise.
14448 (__have_pipe2): Likewise.
14449 (__have_dup3): Likewise.
14450
a277af22
MF
144512012-08-18 Mike Frysinger <vapier@gentoo.org>
14452
14453 [BZ #9685]
14454 * include/unistd.h (__have_pipe2): Change define into an extern int.
14455 (__have_dup3): Likewise.
14456 * socket/have_sock_cloexec.c: Include fcntl.h.
14457 (__have_pipe2): New variable.
14458 (__have_dup3): Likewise.
14459
fdab8fd3
MF
144602012-08-17 Mike Frysinger <vapier@gentoo.org>
14461
14462 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14463
31035e80
MP
144642012-08-17 Marek Polacek <polacek@redhat.com>
14465
14466 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14467 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14468
3bd9e993
RM
144692012-08-17 Roland McGrath <roland@hack.frob.com>
14470
c91c505f
RM
14471 * configure.in: Add AC_SUBST for sysheaders.
14472 * configure: Regenerated.
14473 * config.make.in (sysheaders): New substituted variable.
14474
7c6f9d53
RM
14475 * sysdeps/unix/mkfifo.c: Moved ...
14476 * sysdeps/posix/mkfifo.c: ... here.
14477 * sysdeps/unix/mkfifoat.c: Moved ...
14478 * sysdeps/posix/mkfifoat.c: ... here.
14479
14480 * sysdeps/unix/utime.c: Moved ...
14481 * sysdeps/posix/utime.c: ... here.
14482
14483 * sysdeps/unix/time.c: Moved ...
14484 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14485 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14486 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14487
14488 * sysdeps/unix/nice.c: Moved ...
14489 * sysdeps/posix/nice.c: ... here.
14490
14491 * sysdeps/unix/alarm.c: Moved ...
14492 * sysdeps/posix/alarm.c: ... here.
14493
3bd9e993
RM
14494 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14495
d1f09384
JL
144962012-08-17 Jeff Law <law@redhat.com>
14497
14498 * intl/Makefile (codeset_mo): New variable.
14499 ($(codeset_mo)): New target.
14500 (tst-codeset.out): Depend on that. Remove explicit rule.
14501 (tst-gettext3.out, tst-gettext5.out): Likewise.
14502 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14503 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14504 * intl/tst-codeset.sh: Remove.
14505 * intl/tst-gettext3.sh: Likewise.
14506 * intl/tst-gettext5.sh: Likewise.
14507
2ae1ae5c
RM
145082012-08-17 Roland McGrath <roland@hack.frob.com>
14509
c31fdb83
RM
14510 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14511 * sysdeps/unix/syscalls.list: ... here.
14512
a0844057
RM
14513 * sysdeps/posix/getaddrinfo.c
14514 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14515 (gaiconf_init, gaiconf_reload): Use them.
14516 [!_STATBUF_ST_NSEC]
14517 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14518 Define using time_t rather than struct timespec.
14519
750c1f2a
RM
14520 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14521 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14522 Macros removed.
14523 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14524 [!NO_THREADS].
14525 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14526 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14527 Likewise.
14528
2ae1ae5c
RM
14529 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14530 __libc_cleanup_push argument.
14531
e66a42f5
RM
14532 * bits/param.h: New file.
14533 * misc/sys/param.h: New file.
14534 * include/sys/param.h: New file.
14535 * misc/Makefile (headers): Add bits/param.h.
14536 * sysdeps/generic/sys/param.h: File removed.
14537 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14538 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14539 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14540 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14541
b7c08a66
RM
14542 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14543 last change.
14544
b2e1c562
RM
14545 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14546 [_IO_MTSAFE_IO].
14547 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14548 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14549 New macros.
14550
c75ccd4c
RM
14551 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14552 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14553 rather than -D_IO_MTSAFE_IO conditionally.
14554 * stdio-common/Makefile (CPPFLAGS): Likewise.
14555 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14556 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14557 Use $(libio-mtsafe).
14558 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14559 of -D_IO_MTSAFE_IO.
14560 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14561 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14562 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14563 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14564 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14565 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14566 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14567 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14568 (CFLAGS-fread_u_chk.c): Likewise.
14569 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14570 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14571 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14572 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14573 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14574 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14575 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14576 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14577 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14578
14579 * libio/Makefile: Test [$(libc-reentrant) = yes]
14580 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14581
14582 * Makeconfig
14583 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14584 * sysdeps/pthread/configure: File removed.
14585 * sysdeps/pthread/Makeconfig: New file.
14586 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14587 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14588
d9195db8
GB
145892012-08-16 Gary Benson <gbenson@redhat.com>
14590
14591 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14592 unmapping the first object in a namespace.
14593
86466cd9
RM
145942012-08-16 Roland McGrath <roland@hack.frob.com>
14595
14596 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14597 (__internal_setnetgrent): ... this. Add internal_function to
14598 definition. Add libc_hidden_def.
14599 (setnetgrent): Update caller.
14600 (internal_endnetgrent): Renamed to ...
14601 (__internal_endnetgrent): ... this. Add internal_function to
14602 definition. Add libc_hidden_def.
14603 (endnetgrent): Update caller.
14604 (internal_getnetgrent_r): Renamed to ...
14605 (__internal_getnetgrent_r): ... this. Add internal_function to
14606 definition. Add libc_hidden_def.
14607 (__getnetgrent_r): Update caller.
14608 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14609
c3c8283c
JM
146102012-08-16 Joseph Myers <joseph@codesourcery.com>
14611
14612 * stdlib/longlong.h: Update from GCC.
14613
db1ee0a8
RM
146142012-08-16 Roland McGrath <roland@hack.frob.com>
14615
14616 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14617 on _QL, which is set by umul_ppmm but never used.
14618 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14619 variables, which are set by GMP macros but never used.
14620 * stdio-common/_itowa.c (_itowa): Likewise.
14621 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14622 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14623
30f69637
CD
146242012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14625
14626 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14627 struct La_sh_regs is not constant.
14628 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14629 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14630 and struct La_sparc64_regs are not constant.
14631
93a78ac4
JM
146322012-08-16 Joseph Myers <joseph@codesourcery.com>
14633
14634 * sysdeps/unix/sysv/linux/kernel-features.h
14635 (__ASSUME_POSIX_TIMERS): Remove.
14636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14638 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14639 Make code unconditional.
14640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14641 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14642 Make code unconditional.
14643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14644 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14645 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14648 Make code unconditional.
14649 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14650 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14651 (__libc_missing_posix_timers): Remove.
14652
dd924cd7
RM
146532012-08-15 Roland McGrath <roland@hack.frob.com>
14654
4b4f2771
RM
14655 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14656 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14657
601c888b
RM
14658 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14659
176790a7
RM
14660 * elf/dl-sym.c: Include <stdlib.h>.
14661
329bc018
RM
14662 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14663 constants, which avoids warnings in 32-bit builds.
14664
e04e272d
RM
14665 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14666 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14667
952bf94a
RM
14668 * misc/lseek.c: File moved to ...
14669 * io/lseek.c: ... here.
14670
7c99b50a
RM
14671 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14672
dd924cd7
RM
14673 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14674 shifting LEN more than 31 bits at once.
14675
b3f479a8
LD
146762012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14677
14678 [BZ #14195]
8c4ae0d4
RM
14679 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14680 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14681 * string/test-strncasecmp.c (check1): Renamed to...
14682 (bz12205): ...this.
14683 (bz14195): Add new testcase for two empty input strings and N > 0.
14684 (test_main): Call new testcase, adapt for renamed function.
14685
9c55864e
AJ
146862012-08-15 Andreas Jaeger <aj@suse.de>
14687
14688 [BZ #14090]
14689 * crypt/md5test2.c: New test, based on test supplied by Serge
14690 Belyshev <belyshev@depni.sinp.msu.ru>.
14691 * crypt/Makefile (xtests): Add md5test-giant..
14692 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14693
02dcb6c5
PE
146942012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14695
14696 [BZ #14090]
14697 * crypt/md5.c (md5_process_block): Don't assume the buffer
14698 length is less than 2**32.
14699 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14700 length is less than 2**64.
14701
a3f95dcc
RM
147022012-08-15 Roland McGrath <roland@hack.frob.com>
14703
be75d758
RM
14704 * string/str-two-way.h: Include <sys/param.h>.
14705 (MAX): Macro removed.
14706
7312ca90
RM
14707 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14708 Move #define and #undef of memmove to just before and after
14709 including <string.h>.
14710
9a0a5486
RM
14711 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14712 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14713 and after including <string.h>. Move declarations of
14714 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14715 to before #include "string/memmove.c".
14716
67cc348d
RM
14717 * include/dirent.h: Declare __getdirentries.
14718
a3f95dcc
RM
14719 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14720 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14721
ca98e171
MF
147222012-08-14 Mike Frysinger <vapier@gentoo.org>
14723
14724 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14725 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14726 * sysdeps/i386/configure: Regenerated.
14727 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14728 STABS_CURRENT_FILE, and STABS_FUN.
14729 (END): Remove call to STABS_FUN_END.
14730 (STABS_CURRENT_FILE1): Delete.
14731 (STABS_CURRENT_FILE): Likewise.
14732 (STABS_FUN): Likewise.
14733 (STABS_FUN_END): Likewise.
14734 (STABS_FUN2): Likewise.
14735 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14736 * sysdeps/x86_64/configure: Regenerated.
14737
5908bf46
RM
147382012-08-14 Roland McGrath <roland@hack.frob.com>
14739
14740 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14741 * elf/dl-lookup.c: Likewise.
5908bf46 14742
f2c05b9e
JM
147432012-08-14 Joseph Myers <joseph@codesourcery.com>
14744
14745 * sysdeps/unix/sysv/linux/kernel-features.h
14746 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14747 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14748 unconditionally.
14749 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14750 unconditionally.
14751 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14752 condition on __ASSUME_CLONE_THREAD_FLAGS.
14753
e11f5155
AJ
147542012-08-14 Andreas Jaeger <aj@suse.de>
14755
14756 * sysdeps/i386/fpu/libm-test-ulps: Update.
14757
51a9ba86
MK
147582012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14759
2fdd4f78
AJ
14760 * include/atomic.h (atomic_exchange_and_add): Split into ...
14761 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14762 New atomic macros.
51a9ba86 14763
ba6cba9e
MT
147642012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14765
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14767
42443a47
JL
147682012-08-13 Jeff Law <law@redhat.com>
14769
14770 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14771 null byte in the output string.
14772
121dce05
JM
147732012-08-10 Joseph Myers <joseph@codesourcery.com>
14774
14775 * sysdeps/unix/sysv/linux/kernel-features.h
14776 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14777 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14778 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14779 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14780 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14781 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14782 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14783
bf51f568
JL
147842012-08-09 Jeff Law <law@redhat.com>
14785
14786 [BZ #13939]
14787 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14788 When avoid_arena is set, don't retry in the that arena. Pick the
14789 next one, whatever it might be.
14790 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14791 (arena_lock): Pass in new parameter to arena_get2.
14792 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14793 arena_get2.
14794 (__libc_malloc): Unify retrying after main arena failure with
14795 __libc_memalign version.
14796 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14797
f85fa270
L
147982012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14799
14800 [BZ #14166]
14801 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14802 to __redirect_strstr.
14803 (__strstr_sse42): Use typeof __redirect_strstr.
14804 (__strstr_ia32): Likewise.
14805 (__libc_strstr): New prototype.
14806 (strstr): Renamed to ...
14807 (__libc_strstr): This.
14808 (strstr): New strong alias of __libc_strstr.
14809 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14810 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14811 __redirect_time.
14812 Include <time.h>.
14813 (__libc_time): New prototype.
14814 (time_ifunc): Replace time with __libc_time.
14815 (time): New strong alias and hidden definition of __libc_time.
14816 (__GI_time): Remove strong alias.
14817 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14818 Include <stddef.h>.
14819 (memmove): Redefined to __redirect_memmove.
14820 (__memmove_sse2): Use typeof __redirect_memmove.
14821 (__memmove_ssse3): Likewise.
14822 (__memmove_ssse3_back): Likewise.
14823 (__libc_memmove): New prototype.
14824 (memmove): Renamed to ...
14825 (__libc_memmove): This.
14826 (memmove): New strong alias of __libc_memmove.
14827
33b4a91e
MS
148282012-08-08 Mark Salter <msalter@redhat.com>
14829
14830 * elf/elf.h
14831 (R_MN10300_TLS_GD): Define.
14832 (R_MN10300_TLS_LD): Likewise.
14833 (R_MN10300_TLS_LDO): Likewise.
14834 (R_MN10300_TLS_GOTIE): Likewise.
14835 (R_MN10300_TLS_IE): Likewise.
14836 (R_MN10300_TLS_LE): Likewise.
14837 (R_MN10300_TLS_DTPMOD): Likewise.
14838 (R_MN10300_TLS_DTPOFF): Likewise.
14839 (R_MN10300_TLS_TPOFF): Likewise.
14840 (R_MN10300_SYM_DIFF): Likewise.
14841 (R_MN10300_ALIGN): Likewise.
14842 (R_MN10300_NUM): Update.
14843
b36137f1
JM
148442012-08-08 Joseph Myers <joseph@codesourcery.com>
14845
14846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14847 Remove.
14848
cdd915fd
RM
148492012-08-08 Roland McGrath <roland@hack.frob.com>
14850
a2433aac
RM
14851 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14852
cdd915fd
RM
14853 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14854 sysdeps/unix -> sysdeps/posix move.
14855 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14856
bf9b740a
AM
148572012-08-07 Allan McRae <allan@archlinux.org>
14858
14859 [BZ #14303]
14860 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14861 (SUNOS_CPP): Likewise.
14862 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14863 not found.
14864 (open_input): Call CPP using execvp.
14865
93df14ee
JM
148662012-08-07 Joseph Myers <joseph@codesourcery.com>
14867
14868 * sysdeps/unix/sysv/linux/kernel-features.h
14869 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14870 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14871 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14872 (__ASSUME_WAITID_SYSCALL): Likewise.
14873 * sysdeps/unix/sysv/linux/dl-execstack.c
14874 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14875 code unconditional.
14876 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14877 conditional code.
14878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14879 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14880 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14881 code.
14882 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14883 unconditional.
14884 [__ASSUME_WAITID_SYSCALL]: Likewise.
14885 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14886
d34689de
RM
148872012-08-07 Roland McGrath <roland@hack.frob.com>
14888
a281decc
RM
14889 * sysdeps/unix/closedir.c: Renamed to ...
14890 * sysdeps/posix/closedir.c: ... here.
14891 * sysdeps/unix/dirfd.c: Renamed to ...
14892 * sysdeps/posix/dirfd.c: ... here.
14893 * sysdeps/unix/dirstream.h: Renamed to ...
14894 * sysdeps/posix/dirstream.h: ... here.
14895 * sysdeps/unix/fdopendir.c: Renamed to ...
14896 * sysdeps/posix/fdopendir.c: ... here.
14897 * sysdeps/unix/opendir.c: Renamed to ...
14898 * sysdeps/posix/opendir.c: ... here.
14899 * sysdeps/unix/readdir.c: Renamed to ...
14900 * sysdeps/posix/readdir.c: ... here.
14901 * sysdeps/unix/readdir_r.c: Renamed to ...
14902 * sysdeps/posix/readdir_r.c: ... here.
14903 * sysdeps/unix/rewinddir.c: Renamed to ...
14904 * sysdeps/posix/rewinddir.c: ... here.
14905 * sysdeps/unix/seekdir.c: Renamed to ...
14906 * sysdeps/posix/seekdir.c: ... here.
14907 * sysdeps/unix/telldir.c: Renamed to ...
14908 * sysdeps/posix/telldir.c: ... here.
14909 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14910 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14912 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14913
22895b47
RM
14914 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14915 * bits/fcntl.h: ... here.
14916
707a53b6
RM
14917 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14918 not 0.
14919 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14920 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14921 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14922 (struct flock): Move l_start, l_len to the beginning.
14923 Use __pid_t for l_pid.
14924 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14925 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14926 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14927 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14928 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14929 [__USE_LARGEFILE64] (struct flock64): New type.
14930 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14931
f0bd3e25
RM
14932 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14933 * bits/dirent.h: ... here.
14934
d34689de
RM
14935 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14936 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14937
6dad2c06
JM
149382012-08-07 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14941 Change from 2.6.0 to 2.6.16.
14942 * sysdeps/unix/sysv/linux/configure: Regenerated.
14943 * sysdeps/unix/sysv/linux/kernel-features.h
14944 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14945 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14946 version.
14947 (__ASSUME_UTIMES): Likewise.
14948 (__ASSUME_CLONE_STOPPED): Remove.
14949 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14950 architectures, not kernel version.
14951 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14952 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14953 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14954 (__ASSUME_WAITID_SYSCALL): Likewise.
14955 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14956 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14957 * README: State 2.6.16 as minimum Linux kernel version. Do not
14958 refer to older versions.
14959
03af9520
RM
149602012-08-06 Roland McGrath <roland@hack.frob.com>
14961
8e49df1d
RM
14962 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14963 Define alphasort64 as an alias.
14964 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14965 Define versionsort64 as an alias.
14966 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14967 Define scandir64 as an alias.
14968 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14969 Define scandirat64 as an alias.
14970 * dirent/alphasort64.c (alphasort64):
14971 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14972 * dirent/versionsort64.c: Likewise.
14973 * dirent/scandir64.c: Likewise.
14974 * dirent/scandirat64.c: Likewise.
14975 * sysdeps/wordsize-64/alphasort.c: File removed.
14976 * sysdeps/wordsize-64/alphasort64.c: File removed.
14977 * sysdeps/wordsize-64/scandir.c: File removed.
14978 * sysdeps/wordsize-64/scandir64.c: File removed.
14979 * sysdeps/wordsize-64/scandirat.c: File removed.
14980 * sysdeps/wordsize-64/scandirat64.c: File removed.
14981 * sysdeps/wordsize-64/versionsort.c: File removed.
14982 * sysdeps/wordsize-64/versionsort64.c: File removed.
14983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14986 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14988 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14990 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14991
14992 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14994 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14996 [defined __arch64__ || defined __sparcv9]
14997 (__INO_T_MATCHES_INO64_T): New macro.
14998 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14999 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15000 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15001 * sysdeps/unix/sysv/linux/bits/dirent.h
15002 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15003 (_DIRENT_MATCHES_DIRENT64): New macro.
15004
03af9520
RM
15005 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15006 Define lockf64 as an alias.
15007 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15008 Define fseeko64 as an alias.
15009 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15010 Define ftello64 as an alias.
15011 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15012 Define _IO_fgetpos64 and fgetpos64 as aliases.
15013 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15014 Define _IO_fsetpos64 and fsetpos64 as aliases.
15015 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15016 Conditionalize body on this.
15017 * libio/fseeko64.c: Likewise.
15018 * libio/ftello64.c: Likewise.
15019 * libio/iofgetpos64.c: Likewise.
15020 * libio/iofsetpos64.c: Likewise.
15021 * sysdeps/wordsize-64/lockf.c: File removed.
15022 * sysdeps/wordsize-64/lockf64.c: File removed.
15023 * sysdeps/wordsize-64/fseeko.c: File removed.
15024 * sysdeps/wordsize-64/fseeko64.c: File removed.
15025 * sysdeps/wordsize-64/ftello.c: File removed.
15026 * sysdeps/wordsize-64/ftello64.c: File removed.
15027 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15028 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15029 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15030 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15031 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15032 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15036 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15041
15042 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15044 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15046 [defined __arch64__ || defined __sparcv9]
15047 (__OFF_T_MATCHES_OFF64_T): New macro.
15048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15049 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15051 (__OFF_T_MATCHES_OFF64_T): New macro.
15052
c5757acd
L
150532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15054
15055 * stdlib/secure-getenv.c (__secure_getenv): Replace
15056 GLIBC_2_16 with GLIBC_2_17.
15057
3a31811e
L
150582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15059
15060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15062
faa2bccb
DM
150632012-08-03 David S. Miller <davem@davemloft.net>
15064
15065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15066
85fe1997
JM
150672012-08-03 Joseph Myers <joseph@codesourcery.com>
15068
15069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15070 Remove.
15071 (__ASSUME_CORRECT_SI_PID): Likewise.
15072 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15073 (__ASSUME_TMPFS_NAME): Likewise.
15074 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15075 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15076 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15077 (HAVE_AUX_SECURE): Make definition unconditional.
15078 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15079 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15080
4f75b7a0
RM
150812012-08-03 Roland McGrath <roland@hack.frob.com>
15082
15083 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15084 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15085 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15086 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15087 __eloop_threshold instead of SYMLOOP_MAX.
15088
15089 * sysdeps/generic/eloop-threshold.h: New file.
15090 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15091 of MAXSYMLINKS.
15092 * elf/chroot_canon.c (chroot_canon): Likewise.
15093
7aab07e4
JM
150942012-08-03 Joseph Myers <joseph@codesourcery.com>
15095
15096 [BZ #13717]
15097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15098 Change to 2.6.0 everywhere.
15099 * sysdeps/unix/sysv/linux/configure: Regenerated.
15100 * sysdeps/unix/sysv/linux/kernel-features.h
15101 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15102 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15103 kernel versions.
15104 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15105 (__ASSUME_FUTEX_REQUEUE): Remove.
15106 (__ASSUME_STATFS64): Define unconditionally.
15107 (__ASSUME_AT_SECURE): Likewise.
15108 (__ASSUME_CORRECT_SI_PID): Likewise.
15109 (__ASSUME_TGKILL): Define without depending on kernel version for
15110 i386.
15111 (__ASSUME_UTIMES): Likewise.
15112 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15113 kernel version.
15114 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15115 (__ASSUME_TMPFS_NAME): Likewise.
15116 * README: Update reference to Linux kernel versions.
15117
b67e9372
MP
151182012-08-02 Marek Polacek <polacek@redhat.com>
15119
1f529f7d 15120 [BZ# 14150]
b67e9372
MP
15121 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15122 libc_cv_asm_type_prefix with %.
15123 * configure: Regenerated.
d2441631
RM
15124 * include/libc-symbols.h: Remove comment about
15125 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15126 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15127 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15128 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15129 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15130 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15131 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15132 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15133 * elf/tst-unique2mod1.c: Likewise.
15134 * elf/tst-unique1mod2.c: Likewise.
15135 * elf/tst-unique1mod1.c: Likewise.
15136 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15137 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15138 Replace ASM_TYPE_DIRECTIVE with .type.
15139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15140 * sysdeps/i386/sysdep.h: Likewise.
15141 * sysdeps/x86_64/sysdep.h: Likewise.
15142 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15144 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15145 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15146 * sysdeps/powerpc/powerpc32/sysdep.h:
15147 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15148 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15149 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15150 * sysdeps/i386/fpu/e_powf.S: Likewise.
15151 * sysdeps/i386/fpu/e_expl.S: Likewise.
15152 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15153 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15154 * sysdeps/i386/fpu/e_pow.S: Likewise.
15155 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15157 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15158 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15159 * sysdeps/i386/fpu/e_log2.S: Likewise.
15160 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15162 * sysdeps/i386/fpu/e_powl.S: Likewise.
15163 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15164 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15165 * sysdeps/i386/fpu/e_logl.S: Likewise.
15166 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15167 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15168 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15169 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15170 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15171 * sysdeps/i386/fpu/e_log.S: Likewise.
15172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15173 * sysdeps/i386/fpu/e_logf.S: Likewise.
15174 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15176 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15177 * sysdeps/i386/fpu/e_log10.S: Likewise.
15178 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15179 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15180 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15181 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15182 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15183 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15184 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15185 * sysdeps/i386/i686/strtok.S: Likewise.
15186 * sysdeps/i386/i386-mcount.S: Likewise.
15187 * sysdeps/i386/strtok.S: Likewise.
15188 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15189 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15190 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15191 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15192 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15194 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15195 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15196 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15197 * sysdeps/x86_64/_mcount.S: Likewise.
15198 * sysdeps/x86_64/strtok.S: Likewise.
15199 * sysdeps/sh/_mcount.S: Likewise.
15200
2747bf9a
RM
152012012-08-01 Roland McGrath <roland@hack.frob.com>
15202
15203 * libio/iofopen.c: Include <fcntl.h>.
15204 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15205 (_IO_fopen64, fopen64): Define as aliases.
15206 * libio/iofopen64.c: Include <fcntl.h>.
15207 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15208 Conditionalize body on this.
15209 * sysdeps/wordsize-64/iofopen.c: File removed.
15210 * sysdeps/wordsize-64/iofopen64.c: File removed.
15211
3fb791b8
MP
152122012-08-01 Marek Polacek <polacek@redhat.com>
15213
15214 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15215 Use dlfcn directly instead of a variable.
15216 (binfmt-subdir): Do not define.
15217 (dlfcn): Likewise.
15218
a9f1039f
JM
152192012-08-01 Joseph Myers <joseph@codesourcery.com>
15220
23bddc06
JM
15221 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15222 Remove all definitions.
15223 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15224 <kernel-features.h>.
15225 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15226 (miss_F_GETOWN_EX): Remove all definitions.
15227 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15228 macro definition.
15229 [!__ASSUME_FCNTL64]: Remove conditional code.
15230 [__ASSUME_FCNTL64]: Make code unconditional.
15231 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15232 <kernel-features.h>.
15233 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15234 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15235 (lockf64) [__NR_fcntl64]: Make code unconditional.
15236 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15237
a9f1039f
JM
15238 * sysdeps/unix/sysv/linux/kernel-features.h
15239 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15240 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15241 Make code unconditional.
15242 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15243 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15245 [__NR_vfork]: Make code unconditional.
15246 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15247 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15249 [__NR_vfork]: Make code unconditional.
15250 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15251 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15252
09c0ee5f
RM
152532012-08-01 Roland McGrath <roland@hack.frob.com>
15254
48aec5b9
RM
15255 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15256 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15257
cd97c966
RM
15258 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15259 Define mkstemp64 as an alias.
3f55550c
RM
15260 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15261 Define mkstemps64 as an alias.
cd97c966
RM
15262 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15263 Define mkostemp64 as an alias.
b8625cfc
RM
15264 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15265 Define mkostemps64 as an alias.
cd97c966
RM
15266 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15267 Conditionalize body on this.
15268 * misc/mkostemp64.c: Likewise.
b8625cfc 15269 * misc/mkostemps64.c: Likewise.
3f55550c 15270 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15271 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15272 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15273 * sysdeps/wordsize-64/mkostemp.c: File removed.
15274 * sysdeps/wordsize-64/mkstemp.c: File removed.
15275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15279
09c0ee5f
RM
15280 [BZ #14138]
15281 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15282 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15283 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15284 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15285
15286 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15287 compat_symbol macros from <shlib-compat.h> rather than the underlying
15288 default_symbol_version and symbol_version macros, so that DEFAULT
15289 lines in shlib-versions are respected.
15290 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15291
7e66ee51
FW
152922012-08-01 Florian Weimer <fweimer@redhat.com>
15293
15294 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15295 Declare with warn_unused_result.
15296 (setgid, setregid, setegid, setresgid): Likewise.
15297 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15298 Likewise.
15299 * WUR-REPORT: Remove set*id functions.
15300
d2a54255
PT
153012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15302
15303 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15304
7ecdb005
RM
153052012-07-31 Roland McGrath <roland@hack.frob.com>
15306
b4180a5e 15307 [BZ #10191]
789bd351
RM
15308 * include/sys/socket.h (__libc_accept, __libc_accept4):
15309 Add attribute_hidden.
15310 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15311
40ce302d
RM
15312 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15313 use of PTR_MANGLE.
15314 * inet/getnetgrent_r.c (setup): Likewise.
15315
7ecdb005
RM
15316 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15317
e2eabb2c
DM
153182012-07-31 David S. Miller <davem@davemloft.net>
15319
15320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15321
d0419dbf
JM
153222012-07-31 Joseph Myers <joseph@codesourcery.com>
15323
15324 [BZ #13629]
15325 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15326 value between 1.0 and 2.0 and smaller part has absolute value less
15327 than 1.0.
15328 * math/s_clog10.c (__clog10): Likewise.
15329 * math/s_clog10f.c (__clog10f): Likewise.
15330 * math/s_clog10l.c (__clog10l): Likewise.
15331 * math/s_clogf.c (__clogf): Likewise.
15332 * math/s_clogl.c (__clogl): Likewise.
15333 * math/libm-test.inc (clog_test): Add more tests.
15334 (clog10_test): Likewise.
15335 * sysdeps/i386/fpu/libm-test-ulps: Update.
15336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337
2bc13872
FW
153382012-07-31 Florian Weimer <fweimer@redhat.com>
15339
15340 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15341 Exit with zero in case no suitable GID is found, and write a
15342 message to standard error.
15343
bea9b193
RM
153442012-07-30 Roland McGrath <roland@hack.frob.com>
15345
15346 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15347 rather than to 1.
15348 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15349 (MAXPATHLEN): Removed.
15350 (NOGROUP, NODEV): New macros.
15351 (setbit, clrbit, isset, isclr): New macros.
15352 (howmany, roundup, powerof2): New macros.
15353 (DEV_BSIZE): New macro.
15354
15355 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15356 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15357
15358 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15359 definition on [!__NO_LONG_DOUBLE_MATH].
15360
15361 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15362 PTR_MANGLE and PTR_DEMANGLE.
15363
15364 * socket/accept4.c (accept4): Rename to __libc_accept4.
15365 Define accept4 as a weak alias.
15366
15367 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15368 on [_DIRENT_HAVE_D_TYPE].
15369 * io/ftw.c (ftw_dir): Likewise.
15370
15371 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15372
15373 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15374
15375 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15376 Use the BSD numbers rather than the arbitrary ones we had.
15377 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15378 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15379 (SIGXCPU, SIGXFSZ): New macros.
15380 (_NSIG): Now 32.
15381
15382 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15383 initializer on [_LIBC_REENTRANT].
15384
15385 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15386 definitions inside [_POSIX_MAPPED_FILES].
15387
15388 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15389
15390 * dirent/opendir.c: Include <fcntl.h>.
15391
15392 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15393 (__libc_getspecific): Likewise.
15394 (__libc_key_create): Likewise.
15395
15396 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15397 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15398 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15399 (tmpfile64): Define as alias.
15400 * sysdeps/wordsize-64/tmpfile.c: File removed.
15401 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15404
15405 * stdio-common/vfscanf.c: Include <stdbool.h>.
15406 * nss/makedb.c: Likewise.
15407 * stdio-common/_i18n_number.h: Likewise.
15408 * argp/argp-help.c: Likewise.
15409 * posix/wordexp.c: Likewise.
15410 * sysdeps/posix/spawni.c: Likewise.
15411 * nss/nss_files/files-initgroups.c: Likewise.
15412 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15413 * nss/nss_files/files-initgroups.c: Likewise.
15414 * nss/nss_db/db-netgrp.c: Likewise.
15415 * nss/nss_db/db-initgroups.c: Likewise.
15416 * io/fchmodat.c: Include <sys/stat.h>.
15417
15418 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15419 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15420
15421 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15422 [HAVE_MMAP].
15423
15424 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15425 Add multiple inclusion protection.
15426
e5abc686
DM
154272012-07-27 David S. Miller <davem@davemloft.net>
15428
15429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15430
815e6fa3
GB
154312012-07-27 Gary Benson <gbenson@redhat.com>
15432
15433 [BZ #14298]
15434 * elf/rtld.c: Include <stap-probe.h>.
15435 (dl_main): Added static probes "init_start" and "init_complete".
15436 * elf/dl-load.c: Include <stap-probe.h>.
15437 (lose): Take new parameter "nsid".
15438 Added static probe "map_failed".
15439 (_dl_map_object_from_fd): Pass namespace id to lose.
15440 Added static probe "map_start".
15441 (open_verify): Pass namespace id to lose.
15442 * elf/dl-open.c: Include <stap-probe.h>.
15443 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15444 and "reloc_complete".
15445 * elf/dl-close.c: Include <stap-probe.h>.
15446 (_dl_close_worker): Added static probes "unmap_start" and
15447 "unmap_complete".
15448 * elf/rtld-debugger-interface.txt: New file documenting the above.
15449
9f98c16c
RM
154502012-07-26 Roland McGrath <roland@hack.frob.com>
15451
15452 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15453 rather than a string variable.
15454 * sunrpc/rpc_main.c (h_output): Likewise.
15455 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15456
f3c22df3
PT
154572012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15458
15459 * inet/check_native.c: New file.
15460
3129cfc6
JM
154612012-07-26 Joseph Myers <joseph@codesourcery.com>
15462
da865e95
JM
15463 [BZ #13629]
15464 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15465 if larger part has absolute value 1.0.
15466 * math/s_clog10.c (__clog10): Likewise.
15467 * math/s_clog10f.c (__clog10f): Likewise.
15468 * math/s_clog10l.c (__clog10l): Likewise.
15469 * math/s_clogf.c (__clogf): Likewise.
15470 * math/s_clogl.c (__clogl): Likewise.
15471 * math/libm-test.inc (clog_test): Add more tests.
15472 (clog10_test): Likewise.
15473 * sysdeps/i386/fpu/libm-test-ulps: Update.
15474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15475
3129cfc6
JM
15476 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15477 (pltexit): Likewise.
15478 (La_regs): Likewise.
15479 (La_retval): Likewise.
15480 (int_retval): Likewise.
15481 Update #error for removed macros to refer only to definitions in
15482 tst-audit.h.
15483 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15484 macro.
15485 (pltexit): Likewise.
15486 (La_regs): Likewise.
15487 (La_retval): Likewise.
15488 (int_retval): Likewise.
15489 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15490 macro.
15491 (pltexit): Likewise.
15492 (La_regs): Likewise.
15493 (La_retval): Likewise.
15494 (int_retval): Likewise.
15495 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15496 macro.
15497 (pltexit): Likewise.
15498 (La_regs): Likewise.
15499 (La_retval): Likewise.
15500 (int_retval): Likewise.
15501 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15502 macro.
15503 (pltexit): Likewise.
15504 (La_regs): Likewise.
15505 (La_retval): Likewise.
15506 (int_retval): Likewise.
15507 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15508 macro.
15509 (pltexit): Likewise.
15510 (La_regs): Likewise.
15511 (La_retval): Likewise.
15512 (int_retval): Likewise.
15513 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15514 macro.
15515 (pltexit): Likewise.
15516 (La_regs): Likewise.
15517 (La_retval): Likewise.
15518 (int_retval): Likewise.
15519 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15520 macro definitions in tst-audit.h.
15521 * sysdeps/i386/tst-audit.h: New file.
15522 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15523 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15524 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15525 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15526 * sysdeps/sh/tst-audit.h: Likewise.
15527 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15528 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15529 * sysdeps/x86_64/tst-audit.h: Likewise.
15530
bfc07087
AJ
155312012-07-26 Andreas Jaeger <aj@suse.de>
15532
b1b2aaf8
AJ
15533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15534 ptrace.
15535
15536 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15537 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15538 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15539 PTRACE_O_MASK.
15540 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15543
bfc07087
AJ
15544 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15545 value.
15546
15547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15548 _sigsys.
15549 (si_call_addr, si_syscall, si_arch): Define new macro.
15550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15551 _sigsys.
15552 (si_call_addr, si_syscall, si_arch): Define new marcro.
15553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15554 _sigsys.
15555 (si_call_addr, si_syscall, si_arch): Define new macro.
15556 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15557 _sigsys.
15558 (si_call_addr, si_syscall, si_arch): Define new macro.
15559
89b4b02f
JM
155602012-07-25 Joseph Myers <joseph@codesourcery.com>
15561
15562 [BZ #13717]
15563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15564 Change to 2.4.21 where previously 2.4.1.
15565 * sysdeps/unix/sysv/linux/configure: Regenerated.
15566 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15567 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15568 Linux kernel version.
15569 (__ASSUME_STD_AUXV): Remove.
15570 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15571 kernel version.
15572 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15573 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15574 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15575 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15576 (__ASSUME_NETLINK_SUPPORT): Likewise.
15577 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15578 (__no_netlink_support): Remove conditional definition.
15579 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15580 Remove.
15581 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15582 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15583 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15584 (if_nameindex_ioctl): Remove.
15585 (if_nameindex_netlink): Do not handle __no_netlink_support.
15586 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15587 code.
15588 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15589 Remove conditional code.
15590 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15591 code.
15592 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15593 unconditional.
15594 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15595 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15596 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15597 Remove.
15598 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15599 [!__ASSUME_STD_AUXV]: Remove conditional code.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15601 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15602 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15604 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15605 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15606 code.
15607 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15609 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15610 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15611 conditional code.
15612 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15614 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15615 code.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15617 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15618 conditional code.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15620 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15621 code unconditional.
15622 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15623 conditional code.
15624 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15625 unconditional.
15626 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15627 conditional code.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15629 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15630 unconditional.
15631 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15632 conditional code.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15634 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15635 code unconditional.
15636 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15637 conditional code.
15638 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15639 unconditional.
15640 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15641 conditional code.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15643 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15644 code unconditional.
15645 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15646 conditional code.
15647 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15648 unconditional.
15649 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15650 conditional code.
15651
842a39cd
AS
156522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15653
15654 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15656 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15657 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15658 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15659 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15660 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15661 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15662 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15663 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15664 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15665 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15666 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15667 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15669 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15670 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15672 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15674 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15675 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15676 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15677
84b3fd84
FW
156782012-07-25 Florian Weimer <fweimer@redhat.com>
15679
15680 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15681 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15682 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15683 Introduce __libc_secure_getenv.
0c7936d5
FW
15684 * stdlib/Versions (2.17): Add secure_getenv
15685 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15686 * stdlib/secure-getenv.c: Rename __secure_getenv to
15687 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15688 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15689 * stdlib/tst-secure-getenv.c: New.
15690 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15691 * manual/startup.texi (Environment Access): Document
15692 secure_getenv.
84b3fd84
FW
15693 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15694 __libc_secure_getenv.
15695 * inet/ruserpass.c (ruserpass): Likewise.
15696 * malloc/mtrace.c (mtrace): Likewise.
15697 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15698 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15699 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15700 * sysdeps/posix/tempname.c: Likewise. Evaluate
15701 HAVE_SECURE_GETENV.
15702 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15703 __secure_getenv to __libc_secure_getenv.
84b3fd84 15704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15706 Likewise.
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15708 Likewise.
15709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15716
56e49b71
JM
157172012-07-25 Joseph Myers <joseph@codesourcery.com>
15718
15719 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15720 (struct La_i86_retval): Likewise.
15721 (struct La_x86_64_regs): Likewise.
15722 (struct La_x86_64_retval): Likewise.
15723 (struct La_x32_regs): Likewise.
15724 (struct La_x32_retval): Likewise.
15725 (struct La_ppc32_regs): Likewise.
15726 (struct La_ppc32_retval): Likewise.
15727 (struct La_ppc64_regs): Likewise.
15728 (struct La_ppc64_retval): Likewise.
15729 (struct La_sh_regs): Likewise.
15730 (struct La_sh_retval): Likewise.
15731 (struct La_s390_32_regs): Likewise.
15732 (struct La_s390_32_retval): Likewise.
15733 (struct La_s390_64_regs): Likewise.
15734 (struct La_s390_64_retval): Likewise.
15735 (struct La_sparc32_regs): Likewise.
15736 (struct La_sparc32_retval): Likewise.
15737 (struct La_sparc64_regs): Likewise.
15738 (struct La_sparc64_retval): Likewise.
15739 (struct audit_ifaces): Remove architecture-specific pltenter and
15740 pltexit members.
15741 * sysdeps/i386/ldsodefs.h: New file.
15742 * sysdeps/powerpc/ldsodefs.h: Likewise.
15743 * sysdeps/s390/ldsodefs.h: Likewise.
15744 * sysdeps/sh/ldsodefs.h: Likewise.
15745 * sysdeps/sparc/ldsodefs.h: Likewise.
15746 * sysdeps/x86_64/ldsodefs.h: Likewise.
15747
354691b7
MP
157482012-07-25 Marek Polacek <polacek@redhat.com>
15749
15750 [BZ #6808]
15751 * math/libm-test.inc (yn_test): Add another test.
15752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15753 to ERANGE when the result is +-Inf.
15754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15755 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15756 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15757 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15758
bf9e2071
JM
157592012-07-24 Joseph Myers <joseph@codesourcery.com>
15760
15761 * conform/data/time.h-data (NULL): Use macro-constant. Require
15762 equal to 0.
15763 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15764 clock_t.
15765 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15766
57633811
TS
157672012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15768
15769 * configure.in <sysdeps resolving>: Correct printing
15770 Implies_before.
15771 * configure: Regenerate.
15772
c23c33b0
TS
157732012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15774
15775 * math/w_ilogb.c: Include <limits.h>.
15776 * math/w_ilogbl.c: Likewise.
15777
b5982523
JM
157782012-07-20 Joseph Myers <joseph@codesourcery.com>
15779
15780 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15781 va_copy. Document allowing for unavailable va_copy only as
15782 pre-C99 compatibility.
15783 * manual/string.texi (Copying and Concatenation): Use va_copy
15784 instead of __va_copy in concat example.
15785
ac4ea442
PT
157862012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15787
15788 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15789 (__sendto): Use create_address_port. Initialize APORT and deallocate
15790 it if not null.
15791
f98eafbd
PT
15792 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15793 with O_NOLINK passed to __file_name_lookup.
15794
898c7aab
PT
15795 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15796 with O_NOLINK passed to __file_name_lookup.
15797
0ced335a
PT
15798 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15799 negative N or less than NGIDS.
15800
b3404dbd
PT
15801 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15802 type to string_t. Set ERANGE as errno and return it if NAME is not big
15803 enough. Use memcpy instead of strncpy.
15804
0f48659e
JM
158052012-07-20 Joseph Myers <joseph@codesourcery.com>
15806
15807 * elf/Makefile (check-data): Remove.
15808 (localplt.data): New vpath directive.
15809 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15810 instead of $(check-data).
15811 * scripts/data/localplt-generic.data: Move to ...
15812 * sysdeps/generic/localplt.data: ... here.
15813 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15814 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15815 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15817 ... here.
15818 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15820 ... here.
15821 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15823 ... here.
15824 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15826 ... here.
15827 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15829 ... here.
15830 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15832 ... here.
15833
d37cbdaa
AZ
158342012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15835
15836 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15837 PPC32 and PPC64 files.
15838 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15839 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15840
46f85fc2
AK
158412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15842
15843 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15844 __makecontext_ret to ...
15845 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15846 ... here and call exit if uc_link is NULL. New file.
15847 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15848 __makecontext_ret.S.
15849 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15850 __makecontext_ret to ...
15851 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15852 ... here and call exit if uc_link is NULL. New file.
15853 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15854 __makecontext_ret.S.
15855
08f43f9b
AK
158562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15857
15858 * elf/elf.h (R_390_IRELATIVE): New definition.
15859 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15860 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15861 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15862 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15863 (elf_machine_lazy_rel): Likewise.
15864 * sysdeps/s390/dl-irel.h: New file.
15865 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15866 * sysdeps/s390/s390-64/memset.S: New asm code.
15867 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15868 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15869 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15870 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15871 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15872 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15873 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15874 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15875 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15876 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15877 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15878 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15879 * sysdeps/s390/s390-32/memset.S: New asm code.
15880 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15881
3b05db33
MP
158822012-07-17 Marek Polacek <polacek@redhat.com>
15883
15884 [BZ #14349]
15885 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15886 * sysdeps/s390/s390-64/configure.in: Likewise.
15887 * sysdeps/sparc/configure.in: Likewise.
15888 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15889 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15890 * sysdeps/i386/configure.in: Likewise.
15891 * sysdeps/x86_64/configure.in: Likewise.
15892 * sysdeps/sh/configure.in: Likewise.
15893 * sysdeps/s390/s390-32/configure: Regenerated.
15894 * sysdeps/s390/s390-64/configure: Likewise.
15895 * sysdeps/x86_64/configure: Likewise.
15896 * sysdeps/sh/configure: Likewise.
15897 * sysdeps/powerpc/powerpc64/configure: Likewise.
15898 * sysdeps/powerpc/powerpc32/configure: Likewise.
15899 * sysdeps/sparc/configure: Likwise.
15900 * sysdeps/i386/configure: Likewise.
15901
a66877c6
MP
15902 * elf/dl-open.c: Comment fixes.
15903
cfc82fd8
JM
159042012-07-17 Joseph Myers <joseph@codesourcery.com>
15905
bd29910a
JM
15906 * Makefile [CXX] (check-data): Remove.
15907 [CXX] (c++-types.data): New vpath directive.
15908 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15909 vpath. Do not allow for C++ type data being missing.
15910 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15911 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15912 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15913 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15914 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15915 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15916 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15918 ... here.
15919 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15921 ... here.
15922 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15924 ... here.
15925 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15927 ... here.
15928 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15930 ... here.
15931 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15933 ... here.
15934 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15936 ... here.
15937 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15939
cfc82fd8
JM
15940 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15941 definitions to architecture-specific files.
15942 (TLS_IE): Likewise.
15943 (TLS_LD): Likewise.
15944 (TLS_GD): Likewise.
15945 * sysdeps/i386/tls-macros.h: New file.
15946 * sysdeps/powerpc/tls-macros.h: Likewise.
15947 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15948 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15949 * sysdeps/sh/tls-macros.h: Likewise.
15950 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15951 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15952 * sysdeps/x86_64/tls-macros.h: Likewise.
15953
f7db3170
TS
159542012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15955
07cbfc23
TS
15956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15957 zero value for regular exit case.
15958
f7db3170
TS
15959 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15960 (__start_context): Preserve zero value for regular exit case.
15961
dc97c227
TS
159622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15963 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15964
15965 * manual/setjmp.texi (setcontext): Clarify normal process
15966 termination when uc_link is the null pointer.
15967 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15968 exit call.
15969
d0cd7d02
AS
159702012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15971
15972 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15973 preprocessor. Test for each exception mask separately.
15974
dd318934
AJ
159752012-07-16 Andreas Jaeger <aj@suse.de>
15976
15977 * po/ru.po: Update from translation team.
15978
8048311a
JM
159792012-07-15 Joseph Myers <joseph@codesourcery.com>
15980
15981 * conform/data/string.h-data (NULL): Use macro-constant. Require
15982 equal to 0.
15983 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15984 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15985 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15986 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15988
b637d46e
AJ
159892012-07-13 Andreas Jaeger <aj@suse.de>
15990
15991 * po/fr.po: Update from translation team.
15992
541428fe
MP
159932012-07-12 Marek Polacek <polacek@redhat.com>
15994
15995 [BZ #14173]
15996 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15997 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15998 loop condition.
15999
ec332e94
JM
160002012-07-12 Joseph Myers <joseph@codesourcery.com>
16001
16002 [BZ #13717]
16003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16004 Change to 2.4.1 where previously 2.4.0.
16005 * sysdeps/unix/sysv/linux/configure: Regenerated.
16006 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16007 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16008 version.
16009 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16010 (__ASSUME_AT_CLKTCK): Remove.
16011 (__ASSUME_AT_PAGESIZE): Likewise.
16012 (__ASSUME_AT_XID): Likewise.
16013 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16014 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16015 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16016 unconditionally.
16017 (HAVE_AUX_PAGESIZE): Likewise.
16018 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16019 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16020 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16021
7b6e99be
JB
160222012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16023
16024 [BZ #14307]
16025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16026 the temporary buffer used to invoke __gethostbyname2_r,
16027 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16028 host_data / struct gaih_addrtuple.
16029 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16030 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16031 header file nss/nsswitch.h.
16032 * nss/nsswitch.h (global scope): Add definition of implementation
16033 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16034 resolv/nss_dns/dns-host.c).
16035
608404eb
AJ
160362012-07-11 Andreas Jaeger <aj@suse.de>
16037
16038 * po/fr.po: Update from translation team.
16039
71220aca
AJ
16040 * po/sv.po: Update from translation team
16041 * po/fr.po: Another update from translation team.
16042
28cfe843
AZ
160432012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16044
16045 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16046 for subnormals or multiply small sinh result by itself.
16047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16049
6b90f981
DM
160502012-07-11 David S. Miller <davem@davemloft.net>
16051
16052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16053
c6825772
AS
160542012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16055
16056 [BZ #14347]
16057 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16058 (INTERNAL_MARK): Shift it here.
16059
7b8e0d49
MP
160602012-07-10 Marek Polacek <polacek@redhat.com>
16061
16062 [BZ #14151]
16063 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16064 libc_cv_asm_global_directive with .globl.
16065 * configure: Regenerated.
16066 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16067 with .globl.
16068 * sysdeps/i386/configure: Regenerated.
16069 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16070 with .globl.
16071 * sysdeps/x86_64/configure: Regenerated.
16072 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16073 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16074 * elf/tst-unique2mod2.c: Likewise.
16075 * elf/tst-unique2mod1.c: Likewise.
16076 * elf/tst-unique1mod2.c: Likewise.
16077 * elf/tst-unique1mod1.c: Likewise.
16078 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16079 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16080 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16081 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16082 * sysdeps/mach/sysdep.h: Likewise.
16083 * sysdeps/i386/sysdep.h: Likewise.
16084 * sysdeps/i386/i386-mcount.S: Likewise.
16085 * sysdeps/x86_64/_mcount.S: Likewise.
16086 * sysdeps/x86_64/sysdep.h: Likewise.
16087 * sysdeps/sh/_mcount.S: Likewise.
16088 * sysdeps/sh/sysdep.h: Likewise.
16089 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16090 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16091 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16093 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16094 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16095 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16096 * locale/localeinfo.h: Likewise.
16097 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16098 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16099
6c55cda3
RM
161002012-07-09 Roland McGrath <roland@hack.frob.com>
16101
16102 [BZ #14336]
16103 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16104 system".
16105 * manual/message.texi (The Uniforum approach): Likewise.
16106 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16107 (glibc iconv Implementation): Likewise.
16108
638a572e
JM
161092012-07-09 Joseph Myers <joseph@codesourcery.com>
16110
16111 [BZ #14337]
16112 * math/s_clog.c (__clog): Avoid scaling a value down where that
16113 could result in underflow.
16114 * math/s_clog10.c (__clog10): Likewise.
16115 * math/s_clog10f.c (__clog10f): Likewise.
16116 * math/s_clog10l.c (__clog10l): Likewise.
16117 * math/s_clogf.c (__clogf): Likewise.
16118 * math/s_clogl.c (__clogl): Likewise.
16119 * math/libm-test.inc (clog_test): Add more tests.
16120 (clog10_test): Likewise.
16121 * sysdeps/i386/fpu/libm-test-ulps: Update.
16122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16123
261f4859
AS
161242012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16125
0abaf3e4
AS
16126 [BZ #14283]
16127 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16128 by 7 not 8 to examine high bit of fractional part.
16129
261f4859
AS
16130 [BZ #14042]
16131 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16132 for call to __mcount_internal.
16133 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16134 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16135 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16136
f17ac40d
JM
161372012-07-06 Joseph Myers <joseph@codesourcery.com>
16138
9ad63c23
JM
16139 [BZ #14154]
16140 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16141 approximation for values within 0x1p-13f of an odd multiple of
16142 pi/4.
16143 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16144 exception. Add more tests.
16145 * sysdeps/i386/fpu/libm-test-ulps: Update.
16146
f17ac40d
JM
16147 [BZ #6778]
16148 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16149 inputs and return -1 for them. Do not check for +Inf in case not
16150 reachable for +Inf.
16151 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16152 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16154 and return -1 for them. Do not check for +Inf in case not
16155 reachable for +Inf.
16156 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16157 define.
16158 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16159 and return -1 for them. Do not check for +Inf in case not
16160 reachable for +Inf.
16161 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16162 spurious underflow.
16163 * sysdeps/i386/fpu/libm-test-ulps: Update.
16164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16165
fb21f89b
MF
161662012-07-06 Mike Frysinger <vapier@gentoo.org>
16167
16168 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16169
cdfe2c5e
JM
161702012-07-05 Joseph Myers <joseph@codesourcery.com>
16171
16172 [BZ #14157]
16173 [BZ #14331]
16174 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16175 could result in spurious underflow. Scale down values above
16176 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16177 * math/s_csqrtf.c (__csqrtf): Likewise.
16178 * math/s_csqrtl.c (__csqrtl): Likewise.
16179 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16180 spurious underflow.
16181 * sysdeps/i386/fpu/libm-test-ulps: Update.
16182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16183
70d35b67
AS
161842012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16185
704bc459
AS
16186 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16187 xopen-msg.sed.
16188 * catgets/xopen-msg.awk: New file.
16189 * catgets/xopen-msg.sed: Removed.
16190
70d35b67
AS
16191 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16192 po2text.sed.
16193 * intl/po2test.awk: New file.
16194 * intl/po2test.sed: Removed.
16195
ca61cf32
JM
161962012-07-04 Joseph Myers <joseph@codesourcery.com>
16197
16198 [BZ #14328]
16199 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16200 or multiply small sinh result by itself.
16201 * math/s_ctanf.c (__ctanf): Likewise.
16202 * math/s_ctanh.c (__ctanh): Likewise.
16203 * math/s_ctanhf.c (__ctanhf): Likewise.
16204 * math/s_ctanhl.c (__ctanhl): Likewise.
16205 * math/s_ctanl.c (__ctanl): Likewise.
16206 * math/libm-test.inc (ctan_test_tonearest): New function.
16207 (ctan_test_towardzero): Likewise.
16208 (ctan_test_downward): Likewise.
16209 (ctan_test_upward): Likewise.
16210 (ctanh_test_tonearest): Likewise.
16211 (ctanh_test_towardzero): Likewise.
16212 (ctanh_test_downward): Likewise.
16213 (ctanh_test_upward): Likewise.
16214 (main): Call these new functions.
16215 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16217
ca48a46a
MF
162182012-07-03 Mike Frysinger <vapier@gentoo.org>
16219
16220 * .gitignore: Delete /ports entry.
16221
9d63d37d
AJ
162222012-07-03 Andreas Jaeger <aj@suse.de>
16223
16224 * po/bg.po: Update from translation team.
16225 * po/cs.po: Likewise.
16226 * po/de.po: Likewise.
16227 * po/hr.po: Likewise.
16228 * po/nl.pl: Likewise.
16229 * po/pl.po: Likewise.
16230 * po/vi.po: Likewise.
16231
370ca3d2
JM
162322012-07-03 Joseph Myers <joseph@codesourcery.com>
16233
95f5a9a8
JM
16234 * Makeconfig [!+link] (+link-before-libc): New variable.
16235 [!+link] (+link-after-libc): Likewise.
16236 [!+link] (+link-tests): Likewise.
16237 [!+link] (+link): Define in terms of $(+link-before-libc) and
16238 $(+link-after-libc).
16239 [!+link-static] (+link-static-before-libc): New variable.
16240 [!+link-static] (+link-static-after-libc): Likewise.
16241 [!+link-static] (+link-static-tests): Likewise.
16242 [!+link-static] (+link-static): Define in terms of
16243 $(+link-static-before-libc) and $(+link-static-after-libc).
16244 [build-shared] (link-libc-before-gnulib): New variable.
16245 [build-shared] (link-libc-tests): Likewise.
16246 [build-shared] (link-libc): Define in terms of
16247 $(link-libc-before-gnulib).
16248 [!build-shared] (link-libc-tests): New variable.
16249 (link-libc-static-tests): New variable.
16250 [!gnulib] (gnulib-arch): New variable.
16251 [!gnulib] (gnulib-tests): Likewise.
16252 [!gnulib] (static-gnulib-arch): Likewise.
16253 [!gnulib] (static-gnulib-tests): Likewise.
16254 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16255 Define with "=" instead of ":=".
16256 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16257 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16258 * Rules (binaries-all-notests): New variable.
16259 (binaries-all-tests): Likewise.
16260 (binaries-static-notests): Likewise.
16261 (binaries-static-tests): Likewise.
16262 (binaries-all): Define using $(binaries-all-notests) and
16263 $(binaries-all-tests).
16264 (binaries-static): Define using $(binaries-static-notests) and
16265 $(binaries-static-tests).
16266 (binaries-shared-tests): New variable.
16267 (binaries-shared-notests): Likewise.
16268 (binaries-shared): Remove variable.
16269 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16270 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16271 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16272 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16273 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16274 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16275 * elf/Makefile (sln-modules): New variable.
16276 (extra-objs): Add $(sln-modules:=.o).
16277 (ldconfig-modules): Add static-stubs.
16278 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16279 * elf/static-stubs.c: New file.
16280
7a845b2c
JM
16281 [BZ #14283]
16282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16283 by 7 not 8 to examine high bit of fractional part. Use volatile
16284 variables when splitting into final array of floats if
16285 __FLT_EVAL_METHOD__ != 0.
16286 * math/libm-test.inc (cos_test): Add another test.
16287 (sin_test): Likewise.
16288 * sysdeps/i386/fpu/libm-test-ulps: Update.
16289
e2283f38
JM
16290 [BZ #14273]
16291 * math/libm-test.inc (cosh_test): Add more tests.
16292
370ca3d2
JM
16293 * version.h (RELEASE): Set to "development".
16294 (VERSION): Set to "2.16.90".
16295
ee9247c3
CD
162962012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16297
16298 * NEWS: Update copyright. Remove last-updated date.
16299 Mention math library bug fixes and timezone data changes.
16300 * README: Mention GNU/Hurd, x32, and HPPA support status.
16301
4648c381
TS
163022012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16303
16304 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16305
aac78a43
AJ
163062012-06-27 Andreas Jaeger <aj@suse.de>
16307
16308 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16309
ed3dbfad
AJ
163102012-06-25 Andreas Jaeger <aj@suse.de>
16311
16312 * sysdeps/s390/fpu/libm-test-ulps: Update.
16313
4d0ee855
AS
163142012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16315 Thomas Schwinge <thomas@codesourcery.com>
16316
16317 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16318 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16320 fanotify_mark.
16321
af1bce34
TS
163222012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16323
a9fa33ba
TS
16324 * sysdeps/mach/start.c: Remove file.
16325 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16326 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16327 * sysdeps/sh/init-first.c: Likewise.
16328
58f902b8
TS
16329 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16330 registers for frame unwinding purposes, add CFI directives.
16331 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16333 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16334 Likewise.
16335
1518f58b
TS
16336 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16337 __fortify_fail returning.
16338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16339
db9b5059
TS
16340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16341 sysdeps/sh/____longjmp_chk.S.
16342 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16343 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16344 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16345 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16346
967705fe
TS
16347 * sysdeps/sh/abort-instr.h: New file.
16348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16349 process in case exit returns.
16350
a9def8c4
TS
16351 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16352 initialize the GOT register before use.
16353
2a649725
TS
16354 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16355 calculation of ARGC > 4.
16356
af1bce34
TS
16357 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16358 meaningful names to some local labels.
16359
d230f50a
KK
163602012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16361 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16362
16363 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16364 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16365 (__arch_compare_and_exchange_val_16_acq): Likewise.
16366 (__arch_compare_and_exchange_val_32_acq): Likewise.
16367 (atomic_exchange_and_add): Fix gUSA sequence.
16368 (atomic_add): Likewise.
16369 (atomic_add_negative): Likewise.
16370 (atomic_add_zero): Likewise.
16371 (atomic_bit_test_set): Likewise.
16372
0479b305
AS
163732012-06-22 Andreas Schwab <schwab@redhat.com>
16374
16375 [BZ #13579]
16376 * include/link.h (struct link_map): Add l_free_initfini.
16377 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16378 l_initfini.
16379 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16380 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16381 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16382 set.
16383
0e3933b9
CD
163842012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16385
16386 * configure.in: Use AC_LANG_SOURCE.
16387 * configure: Regenerate.
16388
4248b1b1
RM
163892012-06-22 Roland McGrath <roland@hack.frob.com>
16390
16391 * configure.in (libc_cv_localstatedir): New substituted variable.
16392 * configure: Regenerated.
16393 * config.make.in (localstatedir): New variable, substituted from
16394 libc_cv_localstatedir.
16395 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16396 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16397 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16398 * sysdeps/gnu/configure: Regenerated.
16399
006dd861
JL
164002012-06-21 Jeff Law <law@redhat.com>
16401
16402 [BZ #14277]
16403 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16404 free. Simplify list management for _LIBC case.
16405
79662d42
JM
164062012-06-21 Joseph Myers <joseph@codesourcery.com>
16407
b7abb4bf
JM
16408 [BZ #14273]
16409 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16410 Clear sign bit of 64-bit integer value before comparing against
16411 overflow value.
16412
79662d42
JM
16413 * sysdeps/mach/configure: Regenerated.
16414
1f150908
L
164152012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16416
16417 [BZ #14278]
16418 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16419
28363bbf
JL
164202012-06-21 Jeff Law <law@redhat.com>
16421
16422 [BZ #13882]
16423 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16424 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16425 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16426 * elf/dl-open.c (dl_open_worker): Likewise.
16427
09615db4
CD
164282012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16429
16430 * scripts/list-sources.sh: Scan PORTS for translations.
16431 * po/libc.pot: Regenerated.
16432
2174c6dd
AJ
164332012-06-21 Andreas Jaeger <aj@suse.de>
16434
16435 [BZ #12194]
16436 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16437 warning.
16438 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16439 * bits/byteswap-16.h (__bswap_16): Likewise.
16440 * bits/byteswap.h (__bswap_constant_16): Likewise.
16441
3ee947b1
L
164422012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16443
16444 [BZ #14117]
a2f34833
L
16445 * sysdeps/i386/fpu_control.h: Removed.
16446 * sysdeps/x86_64/fpu_control.h: Moved to ...
16447 * sysdeps/x86/fpu_control.h: Here.
16448
3ee947b1
L
16449 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16450 (_FPU_SETCW): Likewise.
16451
ed1825f8
L
164522012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16453
25f1282a
L
16454 [BZ #14117]
16455 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16456 * sysdeps/x86/fpu/bits/mathinline.h: This.
16457 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16458
ed1825f8
L
16459 [BZ #14050]
16460 [BZ #14117]
16461 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16462 functions if __x86_64__ is defined.
16463
36d54b74
CLT
164642012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16465
16466 * string/endian.h: Add !__ASSEMBLER__ condition for including
16467 conversion interfaces.
16468
10285c21
JM
164692012-06-15 Joseph Myers <joseph@codesourcery.com>
16470
16471 [BZ #14241]
16472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16473 of ABS(x) in calculating zero to negative powers other than odd
16474 integers.
16475 * math/libm-test.inc (pow_test): Add more tests.
16476
06c5abbd
AJ
164772012-06-15 Andreas Jaeger <aj@suse.de>
16478
16479 * manual/contrib.texi (Contributors): Update entry of Liubov
16480 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16481 Machado Filho.
16482
a3aeac40
CH
164832012-06-15 Cyril Hrubis <metan@ucw.cz>
16484
16485 * string/string.h: Add __wur to GNU version of strerror_r.
16486
49bdf4c1
L
164872012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16488
16489 [BZ #14229]
16490 * string/Makefile (tests): Add tst-strtok_r.
16491 * string/tst-strtok_r.c: New file.
16492 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16493 RAX_LP/RDX_LP on SAVE_PTR.
16494
834f9b8d
RM
164952012-06-14 Roland McGrath <roland@hack.frob.com>
16496
16497 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16498
75fa1921
JM
164992012-06-14 Joseph Myers <joseph@codesourcery.com>
16500
16501 * libm_test.inc (csqrt_test): Allow more spurious underflow
16502 exceptions.
16503 (j0_test): Likewise.
16504 (j1_test): Likewise.
16505 (y0_test): Likewise.
16506 (y1_test): Likewise.
16507
771766df
CD
165082012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16509
16510 * po/Makefile (libc.pot): Use UTF-8 charset.
16511
ceb9e56b
PP
165122012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16513
16514 [BZ #14210]
16515 Suppress sign-conversion warning from FD_SET.
16516 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16517 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16518 not unsigned long int.
16519 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16520
ddb28975
L
165212012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 [BZ #14050]
16524 [BZ #14117]
16525 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16526 __extern_always_inline instead of __extern_inline.
16527 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16528 (__signbit): Likewise.
16529 (__signbitl): Support C++ namespace.
16530 (lrintf): New inline function.
16531 (lrint): Likewise.
16532 (llrintf): Likewise.
16533 (llrint): Likewise.
16534 (fmaxf): Likewise.
16535 (fmax): Likewise.
16536 (fminf): Likewise.
16537 (fmin): Likewise.
16538 (rint): Likewise.
16539 (rintf): Likewise.
16540 (ceil): Likewise.
16541 (ceilf): Likewise.
16542 (floor): Likewise.
16543 (floorf): Likewise.
16544 (nearbyint): Likewise.
16545 (nearbyintf): Likewise.
16546
d7b4fb26
TS
165472012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16548
16549 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16550 non-default versions.
16551
eb55f5c2
RM
165522012-06-11 Roland McGrath <roland@hack.frob.com>
16553
16554 [BZ #14218]
16555 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16556
366af02c
TS
165572012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16558
99ff6e5c
TS
16559 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16560 (FE_UPWARD, FE_DOWNWARD): Don't define.
16561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16562 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16563
366af02c
TS
16564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16565 reading it.
16566 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16568
793ea851
KK
165692012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16570
16571 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16573 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16574 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16575
a728a38f
L
165762012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16577
16578 [BZ #14117]
c08010c7
L
16579 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16580 * sysdeps/i386/fpu/Implies: New file.
16581 * sysdeps/x86_64/fpu/Implies: Likewise.
16582 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16583 * sysdeps/x86/fpu/bits/fenv.h: This.
16584
a728a38f
L
16585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16586 __SSE_MATH__.
16587
6e230d11
SP
165882012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16589
16590 [BZ #14134]
16591 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16592 character 0xffff that matches the last element of the
16593 conversion table.
16594
1b671feb
AZ
165952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16596
16597 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16598 fmodl commit.
16599
6043738b
AZ
166002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16601
16602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16603 values higher than 25.6283.
16604
34ae0b32
AZ
166052012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16606
16607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16608 subnormal exponent extraction and add some __builtin_expect.
16609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16610 Fix for subnormal mantissa calculation.
16611
1214ec8f
MF
166122012-06-04 Mike Frysinger <vapier@gentoo.org>
16613
16614 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16615 cpu2 is -1 and errno is not ENOSYS.
16616
f3d1f93c
L
166172012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 [BZ #14117]
0e4a3cd7
L
16620 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16621 * sysdeps/x86/bits/string.h: This.
16622 * sysdeps/x86_64/bits/string.h: Removed.
16623
6704c645
L
16624 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16625 if not compiling for x86-64, but compiling for >= i486.
16626
48495318
L
16627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16628 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16629
14adcbfc
L
16630 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16631 New macro from Linux kernel 3.4.0.
16632 (FP_XSTATE_MAGIC2): Likewise.
16633 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16634 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16635 (struct _fpx_sw_bytes): New struct.
16636 (struct _xsave_hdr): Likewise.
16637 (struct _ymmh_state): Likewise.
16638 (struct _xstate): Likewise.
16639
68e408ab
L
16640 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16641 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16643 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16644 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16645 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16646
f3d1f93c
L
16647 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16649 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16650 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16651 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16652 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16653
d9dc34cd
TMQMF
166542012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16655
16656 [BZ #13743]
16657 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16658 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16659 (sysdep_headers): Include sys/platform/ppc.h.
16660 * sysdeps/powerpc/test-gettimebase.c: Test for
16661 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16662 * manual/Makefile (appendices): Include platform.texi.
16663 * manual/contrib.texi (Contributors): Update @node pointers.
16664 * manual/maint.texi (Maintenance): Likewise.
16665 (Platform): New node.
16666 * manual/platform.texi: New file. Document the new features.
16667
4af3879c
SP
166682012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16669 Jakub Jelinek <jakub@redhat.com>
16670
16671 [BZ #14188]
16672 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16673 where __builtin_expect is unavailable.
16674
2fd6ff13
DM
166752012-06-03 David S. Miller <davem@davemloft.net>
16676
16677 * stdlib/longlong.h: Updated from GCC.
16678
173f7220
AS
166792012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16680
16681 [BZ #14042]
16682 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16683 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16684 __mcount_internal.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16686 (GLIBC_2.16): Likewise.
16687
f34a1c6f
L
166882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16689
16690 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16691
88a4576f
JM
166922012-06-01 Joseph Myers <joseph@codesourcery.com>
16693
ea32bcdd
JM
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16695 (default-abi): New variable.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16697 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16698 variable.
16699 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16700 Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16702 Likewise.
16703 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16704 Likewise.
16705
88a4576f
JM
16706 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16707 definition. Document in comment.
16708
402fe938
DM
167092012-06-01 David S. Miller <davem@davemloft.net>
16710
16711 * stdlib/longlong.h: Updated from GCC.
16712
3553723f
L
167132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16714
16715 [BZ #14117]
3bd872c4
L
16716 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16717 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16718 sys/debugreg.h sys/io.h here.
16719 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16720 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16721 sys/io.h.
16722 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16723 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16724 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16725 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16726 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16727 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16728
3553723f
L
16729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16730 Define only if __x86_64__ is defined.
16731
4842e4fe
JM
167322012-06-01 Joseph Myers <joseph@codesourcery.com>
16733
c5bfe3d5
JM
16734 [BZ #14048]
16735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16736 Use int64_t for variable i.
16737 * math/libm-test.inc (fmod_test): Add more tests.
16738
4842e4fe
JM
16739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16740 z computation is not scheduled after fetestexcept.
16741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16742 Use math_force_eval instead of asm to ensure calculation scheduled
16743 before exception test.
16744 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16745 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16746
efb73488
AJ
167472012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16748
16749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16750 computation is not scheduled after fetestexcept.
16751
29bcce7c
L
167522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16753
16754 [BZ #14117]
16755 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16756 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16757
73a68f94
AZ
167582012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16759
16760 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16761 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16762
67b6df78
L
167632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16764
edf2933a 16765 [BZ #14117]
ebc64a18
L
16766 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16767 <bits/wordsize.h>.
16768 (__WCHAR_MIN): Support __WORDSIZE == 64.
16769 (__WCHAR_MAX): Likewise.
16770
edf2933a
L
16771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16773
57c6cf40
L
16774 [BZ #14183]
16775 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16776 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16777
67b6df78 16778 [BZ #14117]
8eb6281e
L
16779 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16780 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16781
aac639f4
L
16782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16783 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16784
67b6df78
L
16785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16786 Defined to 1 if __x86_64__ isn't defined.
16787 (_STAT_VER_LINUX_OLD): New.
16788 (st_atime): Remove duplicate.
16789 (st_mtime): Likewise.
16790 (st_ctime): Likewise.
16791
1c2cfe81
DM
167922012-05-31 David S. Miller <davem@davemloft.net>
16793
16794 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16795 entries.
16796
5be8418c
AS
167972012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16798
e7725326
AS
16799 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16800 gen-libm-test.pl.
16801
5be8418c
AS
16802 [BZ #14132]
16803 * elf/dl-reloc.c: Include <_itoa.h>.
16804 (_dl_reloc_bad_type): Remove use of INTUSE.
16805 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16806 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16807 * stdio-common/psiginfo.c (psiginfo): Likewise.
16808 * stdio-common/psignal.c (psignal): Likewise.
16809 * string/strsignal.c (strsignal): Likewise.
16810 * include/signal.h (_sys_siglist): Declare hidden proto.
16811 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16812 INTVARDEF with libc_hidden_data_def.
16813 * stdio-common/itoa-udigits.c: Likewise.
16814 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16815 (_itoa_lower_digits_internal): Remove declaration.
16816 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16817 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16818 (_sys_sigabbrev_internal): Remove aliases.
16819 (_sys_siglist): Define hidden alias.
16820
507352f1
MT
168212012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16822
16823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16824 bits/sysctl.h.
16825
42bbb1c3
L
168262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16827
16828 [BZ #14117]
6bd784b6
L
16829 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16830 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16831
8bca20f0
L
16832 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16833 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16834 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16835 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16837 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16838
f9e890a9
L
16839 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16840 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16842
471101a1
L
16843 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16844 with __addr.
16845 (insw): Likewise.
16846 (insl): Likewise.
16847 (outsb): Likewise.
16848 (outsw): Likewise.
16849 (outsl): Likewise.
16850
6451c862
L
16851 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16854
a254b8c9
L
16855 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16856 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16858 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16859 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16860 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16861
b8dfdd92
L
16862 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16863 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16864
578cd270
L
16865 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16866 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16867
de662f5f
L
16868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16870 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16871
25653439
L
16872 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16873 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16874 to ...
16875 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16876
6bad24a0
L
16877 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16878 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16879 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16880
42bbb1c3
L
16881 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16882 for x86-64.
16883 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16884
2d10d547
JM
168852012-05-31 Joseph Myers <joseph@codesourcery.com>
16886
16887 * math/math.h (M_El): Use two more decimal places.
16888 (M_LOG2El): Likewise.
16889 (M_LOG10El): Likewise.
16890 (M_LN2l): Likewise.
16891 (M_LN10l): Likewise.
16892 (M_PIl): Likewise.
16893 (M_PI_2l): Likewise.
16894 (M_PI_4l): Likewise.
16895 (M_1_PIl): Likewise.
16896 (M_2_PIl): Likewise.
16897 (M_2_SQRTPIl): Likewise.
16898 (M_SQRT2l): Likewise.
16899 (M_SQRT1_2l): Likewise.
16900
f230c29b
DM
169012012-05-31 David S. Miller <davem@davemloft.net>
16902
16903 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16904 values between float registers.
16905 * sysdeps/sparc/sparc64/memset.S: Likewise.
16906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16907
fed806c3
MF
169082012-05-31 Mike Frysinger <vapier@gentoo.org>
16909
16910 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16911 -D_FORTIFY_SOURCE=1.
16912 (CPPFLAGS-tst-longjmp_chk.c): Define.
16913 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16914 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16915 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16916 CFLAGS-tst-wchar-h.c.
16917
30917259
MP
169182012-05-31 Marek Polacek <polacek@redhat.com>
16919
16920 [BZ #14132]
16921 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16922 __endmntent_internal): Remove declaration.
16923 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16924 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16925 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16926
1c58d5dc
DM
169272012-05-30 David S. Miller <davem@davemloft.net>
16928
16929 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16930 (___Q_simulate_exceptions): Use real FP ops rather than writing
16931 into the %fsr.
16932 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16933 Likewise.
16934
7dc00e0d
L
169352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16936
16937 [BZ #14117]
0bd53985
L
16938 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16939 * sysdeps/x86/bits/xtitypes.h: This.
16940
3a257e66
L
16941 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16942 * sysdeps/x86/bits/wordsize.h: This.
16943
62f62904
L
16944 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16945 * sysdeps/x86/bits/huge_vall.h: This.
16946
404fe9d9
L
16947 * sysdeps/i386/bits/select.h: Removed.
16948 * sysdeps/x86_64/bits/select.h: Renamed to ...
16949 * sysdeps/x86/bits/select.h: This.
16950
d48d0446
L
16951 * sysdeps/i386/bits/setjmp.h: Removed.
16952 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16953 * sysdeps/x86/bits/setjmp.h: This.
16954
7dc00e0d
L
16955 * sysdeps/i386/bits/mathdef.h: Removed.
16956 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16957 * sysdeps/x86/bits/mathdef.h: This.
16958
03277f8f
AS
169592012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16960
16961 [BZ #14132]
16962 * include/sys/socket.h (__connect_internal)
16963 (__libc_sa_len_internal): Remove declaration.
16964 (__connect, __libc_sa_len): Declare hidden_proto.
16965 (SA_LEN): Remove use of INTUSE.
16966 * socket/connect.c: Add libc_hidden_def.
16967 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16968 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16969 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16970 alias.
16971 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16972 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16973 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16974 of adding _internal alias.
16975
13764867
L
169762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 [BZ #14117]
6bd97696
L
16979 * sysdeps/i386/bits/link.h: Removed.
16980 * sysdeps/i386/bits/linkmap.h: Likewise.
16981 * sysdeps/x86_64/bits/link.h: Renamed to ...
16982 * sysdeps/x86/bits/link.h: This.
16983 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16984 * sysdeps/x86/bits/linkmap.h: This.
16985
f726f0bb
L
16986 * sysdeps/i386/bits/endian.h: Removed.
16987 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16988 * sysdeps/x86/bits/endian.h: This.
16989
13764867
L
16990 * sysdeps/i386/bits/byteswap.h: Removed.
16991 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16992 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16993 * sysdeps/x86/bits/byteswap.h: This.
16994 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16995 * sysdeps/x86/bits/byteswap-16.h: This.
16996 * sysdeps/i386/Implies: Add x86.
16997 * sysdeps/x86_64/Implies: Likewise.
16998
ae251b0b
DM
169992012-05-30 David S. Miller <davem@davemloft.net>
17000
17001 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17002 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17003 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17004 (FP_TRAPPING_EXCEPTIONS): Define.
17005 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17006 (FP_TRAPPING_EXCEPTIONS): Define.
17007 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17008 subnormals only when inexact has been signalled or underflow
17009 exceptions are enabled.
17010 (_FP_PACK_CANONICAL): Likewise.
17011
d5c90867
L
170122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17013
17014 [BZ #14183]
17015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17016 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17017
63f1549e
RH
170182012-05-30 Richard Henderson <rth@twiddle.net>
17019
8d8f2279
RH
17020 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17021 with #ifndef NOT_IN_libc.
17022
63f1549e
RH
17023 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17024 marked to avoid plt entry.
17025
0ab0291b
L
170262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 [BZ #14112]
17029 * Makeconfig (default-abi): New macro.
17030 (abi-includes): Likewise.
17031 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17032 $(abi-$(default-abi)-lib-soname) for soname if defined.
17033 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17034 abi-variants.
17035 * Makefile (installed-stubs): Likewise.
17036 * include/stubs-biarch.h: Removed.
17037 * scripts/lib-names.awk: Only handle one library at a time.
17038 * scripts/soversions.awk: Remove WORDSIZE support.
17039 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17040 entries.
17041 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17042 Removed.
17043 (syscall-list-default-condition): Likewise.
17044 (syscall-list-default-condition): Likewise.
17045 (syscall-list-includes): Likewise.
17046 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17047 syscall-list-* with abi-*. Handle undefined abi-variants.
17048 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17049 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17050 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17051 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17052 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17053 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17054 Removed.
17055 (syscall-list-32-options): Likewise.
17056 (syscall-list-32-condition): Likewise.
17057 (syscall-list-64-options): Likewise.
17058 (syscall-list-64-condition): Likewise.
17059 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17060 macro.
17061 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17062 Renamed to ...
17063 (abi-*): This.
17064 (abi-64-ld-soname): New macro.
17065 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17067 Renamed to ...
17068 (abi-*): This.
17069 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17070 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17071
4da0431d
JM
170722012-05-30 Joseph Myers <joseph@codesourcery.com>
17073
3a85279c
JM
17074 * sysdeps/unix/sysv/linux/kernel-features.h
17075 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17076 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17077 include <kernel-features.h>.
17078 [!__NR_ftruncate64]: Remove conditional code.
17079 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17080 [__NR_ftruncate64]: Make code unconditional.
17081 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17082 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17083 include <kernel-features.h>.
17084 [!__NR_ftruncate64]: Remove conditional code.
17085 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17086 [__NR_ftruncate64]: Make code unconditional.
17087 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17089 include <kernel-features.h>.
17090 [!__NR_ftruncate64]: Remove conditional code.
17091 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17092 [__NR_ftruncate64]: Make code unconditional.
17093 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17095 include <kernel-features.h>.
17096 [!__NR_ftruncate64]: Remove conditional code.
17097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17098 [__NR_ftruncate64]: Make code unconditional.
17099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17100
4da0431d
JM
17101 * configure.in (libc_cv_fpie): Weaken to a compile test using
17102 LIBC_TRY_CC_OPTION.
17103 * configure: Regenerated.
17104
11ef492c
AK
171052012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17106
17107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17111 Refreshed.
17112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17118 Refreshed.
17119
d66ef399
DM
171202012-05-27 David S. Miller <davem@davemloft.net>
17121
17122 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17123 (___Q_zero): New.
17124 (__Q_simulate_exceptions): Return void. Change to simulate
17125 exceptions by writing into the %fsr.
17126 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17127 (__Qp_handle_exceptions): Likewise.
17128 (numbers): Delete.
17129 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17130 __Qp_handle_exceptions.
17131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17132 __Qp_handle_exceptions.
17133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17134 as unused and give dummy FP_RND_NEAREST initializer.
17135 (FP_INHIBIT_RESULTS): Define.
17136 (___Q_simulate_exceptions): Update declaration.
17137 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17138 formatting.
17139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17140 as unused and give dummy FP_RND_NEAREST initializer.
17141 (__Qp_handle_exceptions): Update declaration.
17142 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17143 formatting.
17144
04fb54b5
TS
171452012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17146
17147 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17148 the temporary FPU control word.
17149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17150 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17151 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17152 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17153 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17154 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17155 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17156 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17157 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17158 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17160
3f99608f
KK
171612012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17162
17163 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17164 fields.
17165
65a4de4e
CLT
171662012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17167
17168 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17169 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17170 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17171 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17172 Likewise.
17173 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17174 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17175 Likewise.
17176
15749d40
UD
171772012-05-27 Ulrich Drepper <drepper@gmail.com>
17178
17179 * po/h.po: Update from translation team.
17180
25dbcb27
AS
171812012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17182
3d3f8e55
AS
17183 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17184
25dbcb27
AS
17185 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17186 handling of denormals.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17188 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17189 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17193 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17194 Likewise.
17195
7ad47a80 171962012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17197
17198 [BZ #14152]
17199 * math/libm-test.inc (fma_test): Don't always expect underflow
17200 exception.
17201
9c6ea9fa
SP
172022012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17203
17204 [BZ #12416]
17205 * elf/tst-execstack.c: Include stackinfo.h.
17206 (do_test): Adjust test case to ensure that pthread_getattr_np
17207 behaviour remains the same after marking stack executable.
17208
a8239222
JM
172092012-05-25 Joseph Myers <joseph@codesourcery.com>
17210
17211 * sysdeps/unix/sysv/linux/kernel-features.h
17212 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17213 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17214 kernel-features.h.
17215 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17216 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17217 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17218 kernel-features.h.
17219 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17220 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17221
918b5606
L
172222012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17223
17224 * configure.in: Define the default includes to being none.
17225 * configure: Regenerated.
17226
3a097cc7
RM
172272012-05-25 Roland McGrath <roland@hack.frob.com>
17228
8422c9a5
RM
17229 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17230 * sysdeps/x86_64/setjmp.S: Likewise.
17231 * sysdeps/i386/bsd-setjmp.S: Likewise.
17232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17233 * sysdeps/i386/setjmp.S: Likewise.
17234 * sysdeps/i386/__longjmp.S: Likewise.
17235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17236 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17237
3a097cc7
RM
17238 * include/stap-probe.h: New file.
17239 * configure.in: Handle --enable-systemtap.
17240 * configure: Regenerated.
17241 * config.h.in (USE_STAP_PROBE): New #undef.
17242 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17243 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17244 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17245
21708942
JM
172462012-05-25 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #13717]
17249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17250 to 2.4.0 where earlier.
17251 * sysdeps/unix/sysv/linux/configure: Regenerated.
17252 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17253 <kernel-features.h>.
17254 [__ASSUME_32BITUIDS]: Make code unconditional.
17255 [!__ASSUME_32BITUIDS]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17257 <kernel-features.h>.
17258 [__ASSUME_32BITUIDS]: Make code unconditional.
17259 [!__ASSUME_32BITUIDS]: Remove conditional code.
17260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17261 [__ASSUME_32BITUIDS]: Make code unconditional.
17262 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17263 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17264 <kernel-features.h>.
17265 [__ASSUME_32BITUIDS]: Make code unconditional.
17266 [!__ASSUME_32BITUIDS]: Remove conditional code.
17267 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17268 <kernel-features.h>.
17269 [__ASSUME_32BITUIDS]: Make code unconditional.
17270 [!__ASSUME_32BITUIDS]: Remove conditional code.
17271 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17272 <kernel-features.h>.
17273 [__ASSUME_32BITUIDS]: Make code unconditional.
17274 [!__ASSUME_32BITUIDS]: Remove conditional code.
17275 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17276 <kernel-features.h>.
17277 [__ASSUME_32BITUIDS]: Make code unconditional.
17278 [!__ASSUME_32BITUIDS]: Remove conditional code.
17279 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17280 <kernel-features.h>.
17281 [__ASSUME_32BITUIDS]: Make code unconditional.
17282 [!__ASSUME_32BITUIDS]: Remove conditional code.
17283 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17284 <kernel-features.h>.
17285 [__ASSUME_32BITUIDS]: Make code unconditional.
17286 [!__ASSUME_32BITUIDS]: Remove conditional code.
17287 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17288 <kernel-features.h>.
17289 [__ASSUME_32BITUIDS]: Make code unconditional.
17290 [!__ASSUME_32BITUIDS]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17292 <kernel-features.h>.
17293 [__ASSUME_32BITUIDS]: Make code unconditional.
17294 [!__ASSUME_32BITUIDS]: Remove conditional code.
17295 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17296 <kernel-features.h>.
17297 [__ASSUME_32BITUIDS]: Make code unconditional.
17298 [!__ASSUME_32BITUIDS]: Remove conditional code.
17299 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17300 <kernel-features.h>.
17301 [__ASSUME_32BITUIDS]: Make code unconditional.
17302 [!__ASSUME_32BITUIDS]: Remove conditional code.
17303 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17304 <kernel-features.h>.
17305 [__NR_setresgid] (__setresgid): Do not declare.
17306 [__ASSUME_32BITUIDS]: Make code unconditional.
17307 [!__ASSUME_32BITUIDS]: Remove conditional code.
17308 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17309 <kernel-features.h>.
17310 [__NR_setresuid] (__setresuid): Do not declare.
17311 [__ASSUME_32BITUIDS]: Make code unconditional.
17312 [!__ASSUME_32BITUIDS]: Remove conditional code.
17313 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17314 <kernel-features.h>.
17315 [__ASSUME_32BITUIDS]: Make code unconditional.
17316 [!__ASSUME_32BITUIDS]: Remove conditional code.
17317 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17318 <kernel-features.h>.
17319 [__ASSUME_32BITUIDS]: Make code unconditional.
17320 [!__ASSUME_32BITUIDS]: Remove conditional code.
17321 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17322 <kernel-features.h>.
17323 [__ASSUME_32BITUIDS]: Make code unconditional.
17324 [!__ASSUME_32BITUIDS]: Remove conditional code.
17325 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17326 <kernel-features.h>.
17327 [__ASSUME_32BITUIDS]: Make code unconditional.
17328 [!__ASSUME_32BITUIDS]: Remove conditional code.
17329 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17330 <kernel-features.h>.
17331 [__ASSUME_32BITUIDS]: Make code unconditional.
17332 [!__ASSUME_32BITUIDS]: Remove conditional code.
17333 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17334 <kernel-features.h>.
17335 [__ASSUME_32BITUIDS]: Make code unconditional.
17336 [!__ASSUME_32BITUIDS]: Remove conditional code.
17337 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17338 <kernel-features.h>.
17339 [__ASSUME_32BITUIDS]: Make code unconditional.
17340 [!__ASSUME_32BITUIDS]: Remove conditional code.
17341 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17342 <kernel-features.h>.
17343 [__ASSUME_32BITUIDS]: Make code unconditional.
17344 [!__ASSUME_32BITUIDS]: Remove conditional code.
17345 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17346 <kernel-features.h>.
17347 [__ASSUME_32BITUIDS]: Make code unconditional.
17348 [!__ASSUME_32BITUIDS]: Remove conditional code.
17349 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17350 <kernel-features.h>.
17351 [__ASSUME_32BITUIDS]: Make code unconditional.
17352 [!__ASSUME_32BITUIDS]: Remove conditional code.
17353 * sysdeps/unix/sysv/linux/kernel-features.h
17354 (__ASSUME_SETRESUID_SYSCALL): Remove.
17355 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17356 (__ASSUME_32BITUIDS): Likewise.
17357 (__ASSUME_LDT_WORKS): Likewise.
17358 (__ASSUME_O_DIRECTORY): Likewise.
17359 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17360 architecture but not kernel version.
17361 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17362 (__ASSUME_MMAP2_SYSCALL): Likewise.
17363 (__ASSUME_STAT64_SYSCALL): Likewise.
17364 (__ASSUME_IPC64): Likewise.
17365 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17366 <kernel-features.h>.
17367 [__ASSUME_32BITUIDS]: Make code unconditional.
17368 [!__ASSUME_32BITUIDS]: Remove conditional code.
17369 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17370 <kernel-features.h>.
17371 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17372 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17373 132096]: Remove conditional code.
17374 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17376 <kernel-features.h>.
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17384 <kernel-features.h>.
17385 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17386 unconditional.
17387 (__setresgid): Do not declare.
17388 [__ASSUME_32BITUIDS]: Make code unconditional.
17389 [!__ASSUME_32BITUIDS]: Remove conditional code.
17390 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17391 <kernel-features.h>.
17392 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17393 unconditional.
17394 (__setresuid): Do not declare.
17395 [__ASSUME_32BITUIDS]: Make code unconditional.
17396 [!__ASSUME_32BITUIDS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17398 <kernel-features.h>.
17399 [__ASSUME_32BITUIDS]: Make code unconditional.
17400 [!__ASSUME_32BITUIDS]: Remove conditional code.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17402 <kernel-features.h>.
17403 [__ASSUME_32BITUIDS]: Make code unconditional.
17404 [!__ASSUME_32BITUIDS]: Remove conditional code.
17405
a386f1cc
RH
174062012-05-25 Richard Henderson <rth@twiddle.net>
17407
17408 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17409 dl_hwcap to ifunc resolver.
17410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17411 elf_ifunc_invoke.
17412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17413 dl_hwcap to ifunc resolver.
17414 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17415
b6550497
JM
174162012-05-24 Joseph Myers <joseph@codesourcery.com>
17417
17418 [BZ #14153]
17419 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17420 for |x| <= 2**-26, not 2**-57.
17421 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17422 exception.
17423
b0bc23a1
JL
174242012-05-24 Jeff Law <law@redhat.com>
17425
17426 * stdio-common/Makefile (tests): Add bug25.
17427 * stdio-common/bug25.c: New test.
17428
347c92e9
L
174292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17430
17431 [BZ #13576]
17432 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17433 multiple of MALLOC_ALIGNMENT in size.
17434 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17435
6bcc8b3f
JM
174362012-05-24 Joseph Myers <joseph@codesourcery.com>
17437
17438 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17439 Require >= 256.
17440 (FILENAME_MAX): Use macro-int-constant.
17441 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17442 (_IOFBF): Use macro-int-constant.
17443 (_IOLBF): Likewise.
17444 (_IONBF): Likewise.
17445 (SEEK_CUR): Likewise.
17446 (SEEK_END): Likewise.
17447 (SEEK_SET): Likewise.
17448 (TMP_MAX): Likewise.
17449 (EOF): Use macro-int-constant. Require < 0.
17450 (NULL): Use macro-constant. Require == 0.
17451 (stdin): Require type to be FILE *.
17452 (stdout): Likewise.
17453 (stderr): Likewise.
17454 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17455 macro-int-constant.
17456 (EXIT_SUCCESS): Likewise.
17457 (NULL): Use macro-constant. Require == 0.
17458 (RAND_MAX): Use macro-int-constant.
17459 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17460 [C99-based standards] (strtof): Require function.
17461 [C99-based standards] (strtold): Likewise.
17462 [C99-based standards] (strtoll): Likewise.
17463 [C99-based standards] (strtoull): Likewise.
17464 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17465 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17466 [ISO || ISO99 || ISO11] (math.h): Likewise.
17467 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17468 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17470
d18ea0c5
AS
174712012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17472
17473 [BZ #14132]
56d25bb8
AS
17474 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17475 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17476 * intl/dgettext.c (DCGETTEXT): Likewise.
17477 * intl/gettext.c (DCGETTEXT): Likewise.
17478 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17479 * posix/regex_internal.h (gettext): Likewise.
17480 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17481 Remove declaration.
17482 * include/argz.h (__argz_count_internal)
17483 (__argz_stringify_internal): Remove declaration.
17484 (__argz_count, __argz_stringify): Declare hidden proto.
17485 * intl/dcgettext.c: Remove use of INTDEF.
17486 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17487 * string/argz-stringify.c: Likewise.
17488 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17489 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17490 Declare hidden proto.
d18ea0c5
AS
17491 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17492 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17493 Declare hidden proto.
17494 * include/stdio.h (__asprintf_internal): Don't declare.
17495 (__asprintf): Don't define as macro. Declare hidden proto.
17496 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17497 (__fsetlocking): Declare hidden proto.
17498 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17499 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17500 hidden proto.
17501 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17502 (_IO_setlinebuf): Remove use of INTUSE.
17503 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17504 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17505 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17506 Remove declaration.
17507 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17508 (_IO_do_flush): Remove use of INTUSE.
17509 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17510 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17511 (_IO_adjust_column, _IO_least_wmarker)
17512 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17513 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17514 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17515 (_IO_default_doallocate, _IO_wdefault_doallocate)
17516 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17517 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17518 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17519 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17520 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17521 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17522 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17523 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17524 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17525 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17526 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17527 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17528 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17529 proto.
17530 (_IO_flush_all_internal, _IO_adjust_column_internal)
17531 (_IO_default_uflow_internal, _IO_default_finish_internal)
17532 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17533 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17534 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17535 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17536 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17537 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17538 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17539 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17540 (_IO_file_close_internal, _IO_file_close_it_internal)
17541 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17542 (_IO_file_init_internal, _IO_file_attach_internal)
17543 (_IO_file_fopen_internal, _IO_file_read_internal)
17544 (_IO_file_sync_internal, _IO_file_seek_internal)
17545 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17546 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17547 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17548 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17549 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17550 (_IO_list_all_internal, _IO_link_in_internal)
17551 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17552 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17553 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17554 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17555 (_IO_do_write_internal, _IO_padn_internal)
17556 (_IO_getline_info_internal, _IO_getline_internal)
17557 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17558 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17559 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17560 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17561 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17562 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17563 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17564 with libc_hidden_ver, remove use of INTUSE.
17565 * libio/genops.c: Likewise.
17566 * libio/freopen.c: Likewise.
17567 * libio/freopen64.c: Likewise.
17568 * libio/iofclose.c: Likewise.
17569 * libio/iofdopen.c: Likewise.
17570 * libio/iofflush.c: Likewise.
17571 * libio/iofflush_u.c: Likewise.
17572 * libio/iofgets.c: Likewise.
17573 * libio/iofgets_u.c: Likewise.
17574 * libio/iofopen.c: Likewise.
17575 * libio/iofopncook.c: Likewise.
17576 * libio/iofread.c: Likewise.
17577 * libio/iofread_u.c: Likewise.
17578 * libio/ioftell.c: Likewise.
17579 * libio/iofwrite.c: Likewise.
17580 * libio/iogetline.c: Likewise.
17581 * libio/iogets.c: Likewise.
17582 * libio/iogetwline.c: Likewise.
17583 * libio/iopadn.c: Likewise.
17584 * libio/iopopen.c: Likewise.
17585 * libio/ioseekoff.c: Likewise.
17586 * libio/ioseekpos.c: Likewise.
17587 * libio/iosetbuffer.c: Likewise.
17588 * libio/iosetvbuf.c: Likewise.
17589 * libio/ioungetc.c: Likewise.
17590 * libio/ioungetwc.c: Likewise.
17591 * libio/iovdprintf.c: Likewise.
17592 * libio/iovsprintf.c: Likewise.
17593 * libio/iovsscanf.c: Likewise.
17594 * libio/memstream.c: Likewise.
17595 * libio/obprintf.c: Likewise.
17596 * libio/oldfileops.c: Likewise.
17597 * libio/oldiofclose.c: Likewise.
17598 * libio/oldiofdopen.c: Likewise.
17599 * libio/oldiofopen.c: Likewise.
17600 * libio/oldiopopen.c: Likewise.
17601 * libio/oldstdfiles.c: Likewise.
17602 * libio/putc.c: Likewise.
17603 * libio/setbuf.c: Likewise.
17604 * libio/setlinebuf.c: Likewise.
17605 * libio/stdfiles.c: Likewise.
17606 * libio/strops.c: Likewise.
17607 * libio/vasprintf.c: Likewise.
17608 * libio/vscanf.c: Likewise.
17609 * libio/vsnprintf.c: Likewise.
17610 * libio/vswprintf.c: Likewise.
17611 * libio/wfiledoalloc.c: Likewise.
17612 * libio/wfileops.c: Likewise.
17613 * libio/wgenops.c: Likewise.
17614 * libio/wmemstream.c: Likewise.
17615 * libio/wstrops.c: Likewise.
17616 * libio/__fpurge.c: Likewise.
17617 * libio/__fsetlocking.c: Likewise.
17618 * assert/assert.c: Likewise.
17619 * debug/fgets_chk.c: Likewise.
17620 * debug/fgets_u_chk.c: Likewise.
17621 * debug/fread_chk.c: Likewise.
17622 * debug/fread_u_chk.c: Likewise.
17623 * debug/gets_chk.c: Likewise.
17624 * debug/obprintf_chk.c: Likewise.
17625 * debug/vasprintf_chk.c: Likewise.
17626 * debug/vdprintf_chk.c: Likewise.
17627 * debug/vsnprintf_chk.c: Likewise.
17628 * debug/vsprintf_chk.c: Likewise.
17629 * malloc/mtrace.c: Likewise.
17630 * misc/error.c: Likewise.
17631 * misc/syslog.c: Likewise.
17632 * stdio-common/asprintf.c: Likewise.
17633 * stdio-common/fxprintf.c: Likewise.
17634 * stdio-common/getw.c: Likewise.
17635 * stdio-common/isoc99_fscanf.c: Likewise.
17636 * stdio-common/isoc99_scanf.c: Likewise.
17637 * stdio-common/isoc99_vfscanf.c: Likewise.
17638 * stdio-common/isoc99_vscanf.c: Likewise.
17639 * stdio-common/isoc99_vsscanf.c: Likewise.
17640 * stdio-common/printf-prs.c: Likewise.
17641 * stdio-common/printf_fp.c: Likewise.
17642 * stdio-common/printf_fphex.c: Likewise.
17643 * stdio-common/printf_size.c: Likewise.
17644 * stdio-common/putw.c: Likewise.
17645 * stdio-common/scanf.c: Likewise.
17646 * stdio-common/sprintf.c: Likewise.
17647 * stdio-common/tmpfile.c: Likewise.
17648 * stdio-common/vfprintf.c: Likewise.
17649 * stdio-common/vfscanf.c: Likewise.
17650 * stdlib/strfmon_l.c: Likewise.
17651 * sunrpc/openchild.c: Likewise.
17652 * sunrpc/xdr_stdio.c: Likewise.
17653 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17654 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17655
d6c33fda
RM
176562012-05-24 Roland McGrath <roland@hack.frob.com>
17657
c1487492
RM
17658 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17659
17660 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17661 in the third column, to generate for the shared library an IFUNC
17662 that uses _dl_vdso_vsym.
17663 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17664 * Makeconfig (object-suffixes-noshared): New variable.
17665
17666 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17667 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17668 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17669 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17670
d6c33fda
RM
17671 [BZ #14132]
17672 * include/sys/time.h (__gettimeofday): Remove macro.
17673 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17674 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17675 Remove INTDEF.
17676 (__gettimeofday): Add libc_hidden_def.
17677 (gettimeofday): Add libc_hidden_weak.
17678 * sysdeps/mach/gettimeofday.c: Likewise.
17679 * sysdeps/posix/gettimeofday.c: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17681 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17683 (__gettimeofday_internal): Remove strong_alias.
17684 (__gettimeofday): Add libc_hidden_def.
17685 (gettimeofday): Add libc_hidden_weak.
17686 * sysdeps/unix/syscalls.list (gettimeofday):
17687 Remove __gettimeofday_internal alias.
17688
b5a2bbe6
L
176892012-05-24 Daniel Jacobowitz <drow@false.org>
17690 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 [BZ #12495]
17693 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17694 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17695 (largebin_index_32_big): New.
17696 (largebin_index): Use it for 16-byte alignment.
17697 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17698 correction with front_misalign.
17699
cfba4fda
L
177002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17701
7f907421
L
17702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17704 Likewise.
17705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17706 Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17708 Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17710 Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17712 Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17714 Likewise.
17715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17716 Likewise.
17717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17718 Likewise.
17719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17720 Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17722 Likewise.
17723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17724 Likewise.
17725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17726 Likewise.
17727
cfba4fda
L
17728 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17729 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17730
80bad0cc
JM
177312012-05-24 Joseph Myers <joseph@codesourcery.com>
17732
7a25eb06
JM
17733 [BZ #10846]
17734 [BZ #14036]
17735 * math/libm-test.inc (exp_test): Add test from bug 14036.
17736 (pow_test): Add test from bug 10846.
17737
795405f9
JM
17738 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17739 and other flags.
17740 (special_function): Do not include flags in test name.
17741 (parse_args): Likewise.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747
80bad0cc
JM
17748 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17749 exceptions.
17750 * math/libm-test.inc ("Philosophy"): Update comment about
17751 exception testing.
17752 (UNDERFLOW_EXCEPTION): New macro.
17753 (UNDERFLOW_EXCEPTION_OK): Likewise.
17754 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17755 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17756 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17757 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17758 (INVALID_EXCEPTION_OK): Update value.
17759 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17760 (OVERFLOW_EXCEPTION_OK): Likewise.
17761 (IGNORE_ZERO_INF_SIGN): Likewise.
17762 (test_exceptions): Handle underflow exceptions.
17763 (acos_test): Update for underflow exception expectations.
17764 (cexp_test): Likewise.
17765 (clog_test): Likewise.
17766 (clog10_test): Likewise.
17767 (csqrt_test): Likewise.
17768 (ctan_test): Likewise.
17769 (ctanh_test): Likewise.
17770 (exp_test): Likewise.
17771 (exp10_test): Likewise.
17772 (exp2_test): Likewise.
17773 (expm1_test): Likewise.
17774 (fma_test): Likewise.
17775 (j0_test): Likewise.
17776 (jn_test): Likewise.
17777 (nexttoward_test): Likewise.
17778 (pow_test): Likewise.
17779 (scalbn_test): Likewise.
17780 (scalbln_test): Likewise.
17781 (tan_test): Likewise.
17782 (y1_test): Likewise.
17783 * sysdeps/i386/fpu/libm-test-ulps: Update.
17784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17785
9e0e3d0b
DM
177862012-05-23 David S. Miller <davem@davemloft.net>
17787
17788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17789 (__libc_sigaction): Remove unused local variables.
17790
ccd0a08f
L
177912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17794
62bdf9a6
PE
177952012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17796
f8591f80
PE
17797 mktime: avoid signed integer overflow
17798 * time/mktime.c (__mktime_internal): Do not mishandle the case
17799 where diff == INT_MIN.
17800
94c7d826
PE
17801 mktime: simplify computation of average
17802 * time/mktime.c (ranged_convert): Use new time_t_avg function
17803 instead of rolling our own (probably-slower) code.
17804
ce73d683
PE
17805 mktime: do not assume signed right shift propagates sign bit
17806 * time/mktime.c (isdst_differ): New static function.
17807 (__mktime_internal): No need to normalize tm_isdst now.
17808 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17809 tm_isdst values.
17810
72a22e59
PE
17811 mktime: merge another wrapv change from gnulib
17812 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17813 from some compilers.
17814
68605433
PE
17815 mktime: remove incorrect attempt at unusual arithmetics
17816 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17817 The code didn't really work on such machines anyway.
17818 (TYPE_MINIMUM): Assume two's complement.
17819 (twos_complement_arithmetic): Verify that long_int and time_t
17820 are two's complement (or unsigned, in the latter case).
17821
03cf7fe3
PE
17822 mktime: check signed shifts on long_int and time_t, too
17823 * time/mktime.c (SHR): Check that shifts work as desired
17824 on the types long_int and time_t too, as SHR is used on
17825 such types.
17826
f04dfbc2
PE
17827 mktime: do not assume 'long' is wide enough
17828 * time/mktime.c (verify): Move decl up.
17829 (long_int): New type.
17830 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17831 to remove assumption in the code that 'long' is wide enough to
17832 store year values. This assumption is not true on x32 and on
17833 some non-glibc platforms.
17834
62bdf9a6
PE
17835 mktime: merge wrapv change from gnulib
17836 * time/mktime.c (WRAPV): New macro.
17837 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17838 (guess_time_tm, __mktime_internal): Do not assume that signed
17839 integer overflow wraps around; modern compilers generate code
17840 where this assumption is no longer valid.
17841
5e292e4f
L
178422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17843
17844 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17845 Replace "jmp L(pseudo_end)" with "ret".
17846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17847 Likewise.
17848
8caf8c87
AJ
178492012-05-23 Andreas Jaeger <aj@suse.de>
17850
17851 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17852 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17853
1a09dc56
AJ
178542012-05-23 Andreas Jaeger <aj@suse.de>
17855 Maximilian Attems <max@stro.at>
17856
17857 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17858 New macros.
17859
1c87aba0
L
178602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17861
17862 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17863 code so that pseudo_end is just ret and the stack pointer is
17864 correct also for static library in error case.
17865
40e45bd5
JM
178662012-05-23 Joseph Myers <joseph@codesourcery.com>
17867
c2670533
JM
17868 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17869 move to syscalls.list.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17874
40e45bd5
JM
17875 * manual/install.texi (Running make install): Do not mention Linux
17876 kernel version for which pt_chown is not needed.
17877 (Linux): Do not mention problems with nscd with 2.0 kernels.
17878 * INSTALL: Regenerated.
17879
be08eda5
AJ
178802012-05-23 Andreas Jaeger <aj@suse.de>
17881
17882 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17883 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17884 macro.
17885 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17886 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17887 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17889 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17895 * sysdeps/unix/sysv/linux/bits/in.h
17896 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17897
a6a056bb
RM
178982012-05-22 Roland McGrath <roland@hack.frob.com>
17899
17900 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17901 (PREPARE_VERSION): Just use assert instead, it will be elided
17902 under [NDEBUG] anyway.
17903
c9009328
L
179042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17905
17906 * sysdeps/unix/sysv/linux/Makefile: Include
17907 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17908 (sysdep_routines): Remove sysctl.
c9009328
L
17909 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17910 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17913 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17914
73338355
AJ
179152012-05-22 Andreas Jaeger <aj@suse.de>
17916
17917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17918 that pseudo_end is just ret and the stack pointer is correct also
17919 for static library in error case.
17920
d44638b0
PP
179212012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17922
17923 [BZ #14122]
17924 * nss/nsswitch.c (defconfig_entries): New variable.
17925 (__nss_database_lookup): Don't leak defconfig entries.
17926 (nss_parse_service_list): Don't leak on error paths.
17927 (free_database_entries): New function.
17928 (free_defconfig): New function.
17929 (free_mem): Move common code to free_database_entries.
17930
31a39bd8
L
179312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17932
da0331a8
L
17933 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17934 Add arch_prctl.
17935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17936
31a39bd8
L
17937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17938 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17940 New macro.
17941 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17942 (INTERNAL_SYSCALL_TYPES): Likewise.
17943 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17944 (LOAD_REGS_TYPES_[1-6]): Likewise.
17945 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17946 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17947
45470df3
AZ
179482012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17949
17950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17951 copysignl for GLIBC_2_0.
17952 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17953 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17955 logbl for GLIBC_2_0.
17956 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17957 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17958
98a61bcb
L
179592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17960
a4f6e481
L
17961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17962 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17963
f63d5db6
L
17964 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17965 Use "neg %eax".
17966
98a61bcb
L
17967 * time/mktime.c: Update copyright years.
17968
95770f14
PE
179692012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17970
6226efbd
PE
17971 mktime: merge comment-quoting-style change from gnulib
17972 * time/mktime.c: Quote 'like this' in comments.
17973 The GNU coding standards suggest that we no longer quote `like this',
17974 as "`" and "'" are typically rendered asymmetrically nowadays.
17975 The typical gnulib style is to quote 'like this' when quoting
17976 code, and "like this" when quoting English.
17977
b99e4f78
PE
17978 * time/mktime.c (compile-command): Add "-I.".
17979
643e01e6
PE
17980 mktime: merge mktime-internal.h change from gnulib
17981 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17982
2554247d
PE
17983 mktime: merge time_r change from gnulib
17984 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17985
826dd0ab
PE
17986 mktime: merge DEBUG change from gnulib
17987 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17988 case system <time.h> has a #define.
17989
bd83aabe
PE
17990 mktime: merge <sys/types.h> change from gnulib
17991 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17992 since <time.t> is now guaranteed to define time_t.
17993
95770f14
PE
17994 mktime: merge HAVE_CONFIG_H change from gnulib
17995 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17996
5e1a27a9
L
179972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17998
0e44a77e
L
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18000 Use "neg %eax".
18001
5e1a27a9
L
18002 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18003 __rlim_t cast.
18004 (struct rusage): Use anonymous union to pad each field to
18005 __syscall_slong_t.
18006
46259bec
DM
180072012-05-21 David S. Miller <davem@davemloft.net>
18008
18009 * Makefules (o-iterator): Remove .s cases.
18010 (compile-command.s): Delete.
18011 (COMPILE.s): Delete.
18012 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18013
59f0c22e
JM
180142012-05-21 Joseph Myers <joseph@codesourcery.com>
18015
18016 * configure.in (libc_cv_predef_stack_protector): Only consider
18017 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18018 * configure: Regenerated.
18019
20c07380
L
180202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18021
bbb3154b
L
18022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18023 New macro. Use R*LP on int and pointer.
18024 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18025 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18026 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18027 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18028
20c07380
L
18029 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18030 [__WORDSIZE_TIME64_COMPAT32] instead of
18031 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18032 (struct utmp): Likewise.
18033 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18034 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18035 Renamed to ...
18036 (__WORDSIZE_TIME64_COMPAT32): This.
18037 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18038 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18039 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18040 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18041 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18042 (__WORDSIZE_TIME64_COMPAT32): New macro.
18043
d8d1017e
AJ
180442012-05-21 Andreas Jaeger <aj@suse.de>
18045
18046 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18047 only if [SHARED]. Add prototype for __wcschr_ia32.
18048
6c7fb145
RM
180492012-05-21 Roland McGrath <roland@hack.frob.com>
18050
18051 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18052 of %rbp unmolested in the jmp_buf while mangling the low bits.
18053 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18054 unmolested high bits of %rbp while demangling the low bits.
18055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18056
66274218
AJ
180572012-05-21 Andreas Jaeger <aj@suse.de>
18058
07c58f8f
AJ
18059 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18060 * sunrpc/svc_simple.c: Use it for registerrpc.
18061 * sunrpc/xcrypt.c: Use it for passwd2des.
18062
66274218
AJ
18063 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18064
61f65140
L
180652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18066
18067 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18068 Don't define if [__SYSCALL_WORDSIZE != 32].
18069 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18070 New macro.
18071
5fefb436
AJ
180722012-05-21 Bruno Haible <bruno@clisp.org>
18073 Andreas Jaeger <aj@suse.de>
18074
18075 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18076 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18077 inptr and inend for must_buffer_ch.
18078 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18079 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18080 * stdio-common/Makefile (tests): Remove bug15.
18081 (bug15-ENV): Remove macro.
18082 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18083 anymore.
18084
d8e272ab
AJ
180852012-05-19 Andreas Jaeger <aj@suse.de>
18086 Roland McGrath <roland@hack.frob.com>
18087
18088 * manual/contrib.texi: Completely rewritten. It contains now an
18089 alphabetical list of contributors and their contributions.
18090
4a56a162
RH
180912012-05-21 Richard Henderson <rth@twiddle.net>
18092
18093 * misc/getauxval.c (__getauxval): Use unsigned long int.
18094 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18095 (getauxval): Use unsigned long int.
18096
d024d23c
L
180972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18098
18099 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18100
cbc00a03
RM
181012012-05-21 Roland McGrath <roland@hack.frob.com>
18102
18103 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18104 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18105 __alignof__ (long double).
18106
478143fa
AZ
181072012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18108
18109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18110
c7683a6d
RH
181112012-05-20 Richard Henderson <rth@twiddle.net>
18112
18113 * misc/getauxval.c: New file.
18114 * misc/sys/auxv.h: New file.
18115 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18116 (routines): Add getauxval.
18117 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18118 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18119 * elf/dl-sysdep.c (_dl_auxv): Remove.
18120 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18121 * elf/dl-support.c (_dl_auxv): New variable.
18122 (_dl_aux_init): Initialize it.
18123 * manual/startup.texi (Auxiliary Vector): New node.
18124 * sysdeps/generic/bits/hwcap.h: New file.
18125 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18126 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18127 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18128 * sysdeps/sparc/sysdep.h: ... here. Include it.
18129 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18132 Update.
c7683a6d
RH
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18141
a6f1845d
AZ
181422012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18143
18144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18145
cbcbe830
DM
181462012-05-19 David S. Miller <davem@davemloft.net>
18147
18148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18149
e0b16cc2
JM
181502012-05-19 Joseph Myers <joseph@codesourcery.com>
18151
18152 [BZ #14123]
18153 * math/s_ccosh.c: Include <float.h>
18154 (__ccosh): Avoid internal overflow calculating sinh and cosh
18155 values before multiplying by sin and cos values.
18156 * math/s_ccoshf.c: Likewise.
18157 * math/s_ccoshl.c: Likewise.
18158 * math/s_csin.c: Likewise.
18159 * math/s_csinf.c: Likewise.
18160 * math/s_csinl.c: Likewise.
18161 * math/s_csinh.c: Likewise.
18162 * math/s_csinhf.c: Likewise.
18163 * math/s_csinhl.c: Likewise.
18164 * math/libm-test.inc (ccos_test): Add more tests.
18165 (ccosh_test): Likewise.
18166 (csin_test): Likewise.
18167 (csinh_test): Likewise.
18168 * sysdeps/i386/fpu/libm-test-ulps: Update.
18169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18170
6ad13e08
L
181712012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18172
f66f0ce8
L
18173 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18174 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18175
6ad13e08
L
18176 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18177
b1d072a7
JM
181782012-05-19 Joseph Myers <joseph@codesourcery.com>
18179
18180 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18181 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18182 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18183 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18184 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18185 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18186 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18187 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18188 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18189 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18190 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18191 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18192 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18193 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18194 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18195 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18196 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18197 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18198 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18199 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18200 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18201 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18202 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18203 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18204 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18205 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18206 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18207 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18208 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18209 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18210 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18211
9eae47cb
AJ
182122012-05-18 Andreas Jaeger <aj@suse.de>
18213
18214 * csu/.gitignore: Delete.
18215
bb07f69f
L
182162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18217
18218 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18219 (timex): Use __syscall_slong_t.
18220
e6bdb741
AJ
182212012-05-18 Andreas Jaeger <aj@suse.de>
18222 Carlos O'Donell <carlos_odonell@mentor.com>
18223
18224 * manual/install.texi (Configuring and compiling): Update
18225 description about files modified in the source directory.
d6c33fda 18226 * INSTALL: Regenerated.
e6bdb741 18227
1b74487e
L
182282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18229
18230 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18231 value. Use "or" to set return value to -1.
18232 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18233 negate return value.
18234
a88b64b9
TMQMF
182352012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18236
18237 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18238 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18239 failure if the compiler has Graphite support disabled.
18240 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18241 Likewise.
18242 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18243 CFLAGS-memmove.c): Likewise.
18244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18245 Likewise.
18246
3707636e
L
182472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18248
610b8622
L
18249 * sysdeps/x86_64/x32/_itoa.h: New file.
18250
7cd195df
L
18251 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18252 getdents system call only if kernel and user dirents have the
18253 same d_ino and d_off.
18254
94b07d20
L
18255 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18256 LLONG_MAX != LONG_MAX.
18257 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18258 (_fitoa_word): Likewise.
18259
18298070
L
18260 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18261 years.
18262 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18265
553c7ea4
L
18266 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18267 include <bits/wordsize.h>. Check __x86_64__ instead of
18268 __WORDSIZE.
18269 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18270 if __x86_64__ is defined. Use anonymous union on fpstate.
18271
3707636e
L
18272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18273 anonymous union.
18274
b53ef01a
AS
182752012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18276
37fb1dc0
AS
18277 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18278 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18279 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18280 Refer to _rtld_local_ro instead of _rtld_global_ro.
18281 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18282 Likewise.
18283 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18284 Likewise.
18285 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18286 Likewise.
18287 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18288 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18289 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18290
b53ef01a
AS
18291 * sysdeps/powerpc/powerpc32/dl-machine.c
18292 (__elf_machine_runtime_setup) [PROF]: Don't reference
18293 _dl_prof_resolve.
18294
7a185db2
AJ
182952012-05-18 Andreas Jaeger <aj@suse.de>
18296
18297 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18298 function only available for GCCs before 3.4 since GCC 3.4
18299 introduced a builtin.
18300 (lrint): Likewise.
18301 (llrintf): Likewise.
18302 (llrint): Likewise.
18303 (fmaxf): Likewise.
18304 (fmax): Likewise.
18305 (fminf): Likewise.
18306 (fmin): Likewise.
18307 (rint): Likewise.
18308 (rintf): Likewise.
18309 (nearbyint): Likewise.
18310 (nearbyintf): Likewise.
18311 (ceil): Likewise.
18312 (ceilf): Likewise.
18313 (floor): Likewise.
18314 (floorf): Likewise.
18315
3e5aef87
L
183162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18317
428bd707
L
18318 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18319 on both fields and cast pointer to __syscall_ulong_t.
18320
3e5aef87
L
18321 * bits/types.h (__fsword_t): New type.
18322 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18323 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18325 (__FSWORD_T_TYPE): Likewise.
18326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18327 (__FSWORD_T_TYPE): Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18329 (__FSWORD_T_TYPE): Likewise.
18330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18331 (__FSWORD_T_TYPE): Likewise.
18332 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18333 __SWORD_TYPE with __fsword_t.
18334 (statfs64): Likewise.
18335
1ba7c3dc
DM
183362012-05-17 David S. Miller <davem@davemloft.net>
18337
18338 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18339
59910343
AJ
183402012-05-17 Andreas Jaeger <aj@suse.de>
18341
18342 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18343 warning.
18344
2e4c1e9e
L
183452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18346
18347 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18348
de7f5ce7
AJ
183492012-05-17 Andreas Jaeger <aj@suse.de>
18350
18351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18352 when it is used.
18353
286abc3d
CM
183542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18355
18356 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18357
477cc68e
L
183582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18359
18360 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18361 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18362
1a0994f5
CD
183632012-05-17 Andreas Jaeger <aj@suse.de>
18364 Carlos O'Donell <carlos_odonell@mentor.com>
18365
18366 [BZ #14059]
18367 * sysdeps/x86_64/multiarch/init-arch.h
18368 (bit_YMM_Usable): Rename to...
18369 (bit_AVX_Usable): ... this.
18370 (bit_FMA4_Usable): New macro.
18371 (bit_XMM_state): New macro.
18372 (bit_YMM_state): New macro.
18373 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18374 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18375 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18376 (CPUID_OSXSAVE): New macro.
18377 (CPUID_AVX): New macro.
18378 (CPUID_FMA4): New macro.
18379 (index_YMM_Usable): Rename to...
18380 (index_AVX_Usable): ... this.
18381 (HAS_AVX): Use HAS_ARCH_FEATURE.
18382 (HAS_FMA4): Likewise.
18383 (HAS_YMM_USABLE): Remove.
18384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18385 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18386 are present.
18387 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18388 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18389 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18390 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18391 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18392
0af797de
CM
183932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18394
18395 * math/libm-test.c: Support platforms without multiple rounding modes.
18396 * math/bug-nextafter.c: Support platforms without FP exceptions.
18397 * math/bug-nexttoward.c: Likewise.
18398 * math/test-fenv.c: Likewise.
18399 * math/test-misc.c: Likewise.
18400 * stdlib/bug-getcontext.c: Likewise.
18401
e39745ff
AJ
184022012-05-17 Andreas Jaeger <aj@suse.de>
18403
18404 * manual/examples/search.c (critter_cmp): Change signature to
18405 avoid warnings.
18406 * manual/string.texi (Collation Functions): Likewise.
18407
48970aba
L
184082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 * bits/types.h: Fold copyright years.
18411 * bits/typesizes.h: Likewise.
18412 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18416 * time/time.h: Likewise.
18417
bedee953
PP
184182012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18419
18420 [BZ #208]
18421 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18422 in instead of returning them. Return void.
18423 (__libc_mallinfo): Accumulate over all arenas.
18424 (__malloc_stats): Adjust for change in int_mallinfo interface.
18425
61653dfb
RM
184262012-05-16 Roland McGrath <roland@hack.frob.com>
18427
30b99d79
RM
18428 [BZ #10375]
18429 * configure.in (NM): Add AC_CHECK_TOOL for it.
18430 (libc_extra_cflags): New substituted variable.
18431 Check for -fstack-protector being used implicitly.
18432 * configure: Regenerated.
18433 * config.make.in (config-extra-cflags): New variable,
18434 gets @libc_extra_cflags@.
18435 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18436
61653dfb
RM
18437 [BZ #10375]
18438 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18439 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18440 * configure: Regenerated.
18441 * config.make.in (CPPUNDEFS): New substituted variable.
18442 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18443 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18444 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18445
661768bb
L
184462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18447
18448 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18449 (mq_attr): Use __syscall_slong_t.
18450
d4261567
L
184512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18452
18453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18454 Check __x86_64__ instead of __WORDSIZE.
18455 (_STAT_VER_LINUX): Likewise.
18456 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18457 __syscall_ulong_t and __syscall_slong_t.
18458 (stat64): Likewise.
18459
cf3ff365
L
184602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18461
18462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18463
76cf3e4d
L
184642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18465
18466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18467
a637753a
L
184682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18471 __syscall_ulong_t.
18472
d5e05119
L
18473 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18474 include <bits/wordsize.h>. Check __x86_64__ instead of
18475 __WORDSIZE.
18476 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18477 defined.
18478 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18479
f62ee380
L
18480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18481 include <bits/wordsize.h>. Check __x86_64__ instead of
18482 __WORDSIZE.
18483 (user_regs_struct): Use "__extension__ unsigned long long"
18484 instead of "unsigned long" if __x86_64__ is defined.
18485 (user): Likewise. Pad after pointer field if __ILP32__ is
18486 defined.
18487
4e124ced
JM
184882012-05-16 Joseph Myers <joseph@codesourcery.com>
18489
6a3951a0
JM
18490 * configure.in (makeinfo): Require version 4.5 or later. Allow
18491 versions 5 to 9.
18492 * configure: Regenerated.
18493 * manual/install.texi (texinfo): Increase version requirement to
18494 4.5 or later.
18495 * INSTALL: Regenerated.
18496
4e124ced
JM
18497 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18498
953ca31a
L
184992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18502
617aca05
L
18503 * sysdeps/x86_64/x32/ffs.c: New file.
18504
5762f7ae
L
18505 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18506 __syscall_ulong_t.
18507 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18508 defined. Use __syscall_ulong_t.
18509 (shminfo): Use __syscall_ulong_t.
18510 (shm_info): Likewise.
18511
a26b6856
L
18512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18513 __syscall_ulong_t.
18514
cb2b9ef7
L
18515 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18516 <bits/wordsize.h>.
18517 (msgqnum_t): Use __syscall_ulong_t.
18518 (msglen_t): Likewise.
18519 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18520 __syscall_ulong_t.
18521
34683bb0
L
18522 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18524
84a68786
L
18525 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18526
48baa5f1
L
18527 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18528 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18529
180be88b
L
18530 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18531 __syscall_slong_t.
18532
5e90c8ad
L
18533 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18534 include <bits/wordsize.h>. Check __x86_64__ instead of
18535 __WORDSIZE.
18536
23dfb58b
L
18537 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18538 "unsigned long long int" if __x86_64__ is defined.
18539 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18540
ce5d54b0
L
18541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18543 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18544
13dc9eac
L
18545 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18546 <stdint.h>.
18547 (GET_PC): Cast to uintptr_t first.
18548 (GET_FRAME): Likewise.
18549 (GET_STACK): Likewise.
18550
a7895d15
L
18551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18557 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18559 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18569 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18580
656416c9
AS
185812012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18582
5bd66283
AS
18583 * Makerules (+depfiles): Also collect depfiles from .oS in
18584 $(extra-objs).
18585 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18586 .oS, $(libnldbl-routines)).
18587
656416c9
AS
18588 * Makerules (native-compile-mkdep-flags): Define.
18589 * sunrpc/Makefile (extra-objs): Add $(addprefix
18590 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18591 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18592 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18593 calling $(make-target-directory).
18594
a46f2169
L
185952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18596
18597 * bits/types.h (__snseconds_t): Removed.
18598 * time/time.h (struct timespec): Replace __snseconds_t with
18599 __syscall_slong_t.
18600 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18601 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18602 Likewise.
18603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18604 (__SNSECONDS_T_TYPE): Likewise.
18605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18606 (__SNSECONDS_T_TYPE): Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18608 (__SNSECONDS_T_TYPE): Likewise.
18609
6af6528b
L
186102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18611
18612 * sysdeps/mach/hurd/bits/typesizes.h
18613 (__SYSCALL_SLONG_TYPE): New macro.
18614 (__SYSCALL_ULONG_TYPE): Likewise.
18615
de986b56
L
186162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18617
18618 * bits/types.h (__syscall_slong_t): New type.
18619 (__syscall_ulong_t): Likewise.
18620
18621 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18622 (__SYSCALL_ULONG_TYPE): Likewise.
18623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18624 (__SYSCALL_SLONG_TYPE): Likewise.
18625 (__SYSCALL_ULONG_TYPE): Likewise.
18626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18627 (__SYSCALL_SLONG_TYPE): Likewise.
18628 (__SYSCALL_ULONG_TYPE): Likewise.
18629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18630 (__SYSCALL_SLONG_TYPE): Likewise.
18631 (__SYSCALL_ULONG_TYPE): Likewise.
18632
85736dc7
L
186332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18634
18635 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18636 Add sigaltstack-offsets.sym.
18637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18638 <sigaltstack-offsets.h>.
18639 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18640 longjmp_msg pointer.
18641 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18642 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18643 signal stack.
18644 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18645
cc03b296
JM
186462012-05-15 Joseph Myers <joseph@codesourcery.com>
18647
a9538892
JM
18648 * elf/stackguard-macros.h: Remove file.
18649 * sysdeps/generic/stackguard-macros.h: New file.
18650 * sysdeps/i386/stackguard-macros.h: Likewise.
18651 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18652 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18653 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18654 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18655 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18656 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18657 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18658 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18659 <elf/stackguard-macros.h>.
18660
cc03b296
JM
18661 [BZ #14109]
18662 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18663 __aligned__ in attribute.
18664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18665 (gregset_t): Likewise.
18666
93171016
L
186672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18670 * sysdeps/x86_64/64/Implies-after: Here. New file.
18671 * sysdeps/x86_64/x32/Implies-after: New file.
18672
d86813a0
L
186732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18674
18675 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18676 and access return value for _dl_profile_fixup. Use R10_LP to
18677 load frame size.
18678
2953ec75
L
186792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18680
18681 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18682
3b550e9e
L
186832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18686 * sysdeps/x86_64/x32/sysdep.h: New file.
18687
eda41706
L
186882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18689
18690 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18691 * sysdeps/x86_64/setjmp.S: Likewise.
18692
9ea01d93
AZ
186932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18694
18695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18697 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18699 remove unused global constant.
18700
02a91938
CM
187012012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18702
18703 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18704 include of <not-cancel.h>.
18705
6540185f
RM
187062012-05-15 Roland McGrath <roland@hack.frob.com>
18707
18708 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18709
509072a0
AJ
187102012-05-15 Jeff Law <law@redhat.com>
18711 Andreas Jaeger <aj@suse.de>
18712
18713 [BZ #13594]
18714 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18715 out from...
18716 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18717 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18719 code changing __hst_map_handle.map.
18720
ba75122d
RM
187212012-05-15 Roland McGrath <roland@hack.frob.com>
18722
18723 * configure.in (sysnames): Look for Implies-before and Implies-after
18724 files.
18725 * configure: Regenerated.
18726
890d8bd8
L
187272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18730 8-byte data alignment with LP_SIZE alignment.
18731
f6ee6623
L
187322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18735 into R10_LP.
18736
ea2626f6
L
187372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18740
085f715e
L
187412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18742
18743 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18744 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18745 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18746 Likewise.
18747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18748
be8498fc
L
187492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18750
18751 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18752 (stackinfo_sub_sp): Likewise.
18753
70bc83b9
L
187542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18755
18756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18757 RAX_LP.
18758
9bc0b730
L
187592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18760
18761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18762 into R*_LP.
18763
6d2850e7
L
187642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18767 sizes into R*_LP.
18768
3cb84561
L
187692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18772
54e2ed81
L
187732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18776 into R11_LP and load __x86_64_shared_cache_size_half into
18777 R8_LP.
18778
8a17f349
L
187792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18782 R8_LP.
18783
777b1eea
AZ
187842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18785
18786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18787 logb for POWER7.
18788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18789 logbf for POWER7.
18790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18791 logbl for POWER7.
18792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18793 powerpc32/power7/fpu/s_logb.c via #include.
18794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18795 powerpc32/power7/fpu/s_logbf.c via #include.
18796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18797 powerpc32/power7/fpu/s_logbl.c via #include.
18798
d20d4ac2
JM
187992012-05-15 Joseph Myers <joseph@codesourcery.com>
18800
18801 * README.libm: Remove file.
18802
6cdef1ab
L
188032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18804
18805 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18806 count for x32. Use R*_LP and omit operand-size suffix.
18807
0b254d8f
L
188082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18811 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18812 * sysdeps/x86_64/x32/shlib-versions: New file.
18813
ceb809dc
RM
188142012-05-14 Roland McGrath <roland@hack.frob.com>
18815
18816 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18817 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18818 Use _dl_fatal_printf instead.
18819
37f1abd4
JM
188202012-05-14 Joseph Myers <joseph@codesourcery.com>
18821
18822 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18823 set if not set by the user. Do not allow for being unset.
18824 * sysdeps/unix/sysv/linux/configure: Regenerated.
18825
11de3a33
L
188262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18827
18828 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18829 the `q' suffix from lea and replace .quad with ASM_ADDR.
18830
e02f153a
L
188312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18834 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18835 instead of $17.
18836 (PTR_DEMANGLE): Likewise.
18837
520ae0fd
L
188382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18839
18840 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18841 (LP_OP): Likewise.
18842 (ASM_ADDR): Likewise.
18843 (RAX_LP): Likewise.
18844 (RBP_LP): Likewise.
18845 (RBX_LP): Likewise.
18846 (RCX_LP): Likewise.
18847 (RDI_LP): Likewise.
18848 (RSI_LP): Likewise.
18849 (RSP_LP): Likewise.
18850 (R8_LP): Likewise.
18851 (R9_LP): Likewise.
18852 (R10_LP): Likewise.
18853 (R10_LP): Likewise.
18854 (R11_LP): Likewise.
18855 (R12_LP): Likewise.
18856 (R13_LP): Likewise.
18857 (R14_LP): Likewise.
18858 (R15_LP): Likewise.
18859
b985be81
L
188602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18861
18862 * sysdeps/x86_64/x32/dl-machine.h: New file.
18863
6a4888ff
AJ
188642012-05-14 Andreas Jaeger <aj@suse.de>
18865
18866 * manual/Makefile (subdir): Remove export of subdir.
18867 (all): Remove target.
18868 (.PHONY): Remove all from list.
18869 (mkinstalldirs): Remove.
18870 (.PHONY): Remove installdirs from list.
18871 ($(inst_infodir)/libc.info): Use make-target-directory.
18872 (installdirs): Remove.
18873 (subdir_%): Remove.
18874 (glibc-targets): Remove.
18875 (lib): Remove.
18876 (stubs): Remove.
18877 ($(objpfx)stubs ../po/manual.pot): Remove.
18878 ($(objpfx)stamp%): Remove.
18879 (make-target-directory): Remove.
18880 (subdir_install): Remove.
18881 (routines): Remove.
18882 (aux): Remove.
18883 (sources): Remove.
18884 (objects): Remove.
18885 (headers): Remove.
18886
18887 [BZ #13750]
18888 * manual/.gitignore: Remove, it's not needed anymore.
18889 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18890 all files in it.
18891 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18892 directory.
18893 (texis): Renamed to $(objpfx)texis.
18894 (texis-path): New, contains path to generated files.
18895 (chapters.%): Use texis-path for complete path, add extra argument
18896 libc-texinfo.sh.
18897 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18898 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18899 (summary,texi, stamp-summary): Use complete path of
18900 files. Generate files in build dir.
18901 (dir-add.texi): Build in build dir.
18902 (libm-err.texi,stamp-libm-err): Likewise.
18903 (version.texi, stamp-version): Likewise.
18904 (.%c.texi): Likewise.
18905 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18906 (mostlyclean): Remove target.
18907 (realclean): Remove target.
18908 (generated): Add new variable with contents from mostlyclean and
18909 realclean, remove entries duplicated in common-mostlyclean, add
18910 stamp-libm-err and stamp-version.
18911 (generated-dirs): Add libc directory.
18912 ($(inst_infodir)/libc.info): Install files from build dir.
18913
18914 * manual/install.texi (Configuring and compiling): Adjust since
18915 the info files are not part of the tar ball anymore.
18916
7ac77294
AJ
189172012-05-14 Andreas Jaeger <aj@suse.de>
18918
18919 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18920 variable.
18921
ffb7875d
JM
189222012-05-14 Joseph Myers <joseph@codesourcery.com>
18923
18924 [BZ #13717]
18925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18926 to 2.2.0 where earlier.
18927 * sysdeps/unix/sysv/linux/configure: Regenerated.
18928 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18929 Remove conditional code.
18930 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18931 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18932 Remove conditional code.
18933 [!__NR_lchown]: Likewise.
18934 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18935 [__NR_lchown]: Likewise.
18936 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18937 comment referencing __ASSUME_LCHOWN_SYSCALL.
18938 * sysdeps/unix/sysv/linux/i386/sigaction.c
18939 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18940 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18941 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18942 Remove conditional code.
18943 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18944 (__protocol_available): Remove #if 0 code.
18945 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18946 conditional code.
18947 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18948 * sysdeps/unix/sysv/linux/kernel-features.h
18949 (__ASSUME_GETCWD_SYSCALL): Don't define.
18950 (__ASSUME_REALTIME_SIGNALS): Likewise.
18951 (__ASSUME_PREAD_SYSCALL): Likewise.
18952 (__ASSUME_PWRITE_SYSCALL): Likewise.
18953 (__ASSUME_POLL_SYSCALL): Likewise.
18954 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18955 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18956 non-SPARC.
18957 (__ASSUME_SIOCGIFNAME): Don't define.
18958 (__ASSUME_MSG_NOSIGNAL): Likewise.
18959 (__ASSUME_SENDFILE): Define unconditionally.
18960 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18961 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18962 conditional code.
18963 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18964 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18966 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18967 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18968 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18969 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18994 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18995 Remove conditional code.
18996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18998 Remove conditional code.
18999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19000 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19001 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19002 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19003 Remove conditional code.
19004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19006 Remove conditional code.
19007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19008 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19009 Remove conditional code.
19010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19012 Remove conditional code.
19013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19015 Remove conditional code.
19016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/sigaction.c
19021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19023 * sysdeps/unix/sysv/linux/sigpending.c
19024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19026 * sysdeps/unix/sysv/linux/sigprocmask.c
19027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/sigsuspend.c
19030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19033 (__libc_missing_rt_sigs): Remove.
19034 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19035 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19036 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19037 Remove conditional code.
19038 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19039 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19040 return 1.
19041 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19042 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19043 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19044 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19045
1bfb7291
AJ
190462012-05-14 Andreas Jaeger <aj@suse.de>
19047
caae5a81
AJ
19048 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19049 it's not used in glibc.
19050 (__coshm1): Likewise.
19051 (__acosh1p): Likewise.
19052 (__sgn): Likewise.
19053
1bfb7291
AJ
19054 * manual/string.texi (Copying and Concatenation): Add missing
19055 variable in concat example.
19056 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19057
c044d724
L
190582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19059
144c5467 19060 [BZ #14103]
c044d724
L
19061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19062 __builtin_clzl with __builtin_clzll.
19063
2523c62b
L
190642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19065
19066 [BZ #14104]
19067 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19068 libc_freeres_ptr.
19069
d7bb4c42
LD
190702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19071
19072 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19073 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19074 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19075 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19076
9dc4e1fb
MF
190772012-05-14 Mike Frysinger <vapier@gentoo.org>
19078
19079 * NEWS: Update ia64 info.
19080
c7df0112
AS
190812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19082
19083 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19084 used as bcopy.
19085
dc70356c
TS
190862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19087
19088 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19089 * sysdeps/unix/syscalls.list (dup3): Likewise.
19090 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19091 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19092
9fb1a21f
L
190932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19094
19095 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19096 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19097
4822a2a5
L
190982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19099
19100 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19101 thread pointer.
19102 (TLS_IE): Use mov/add instead of movq/addq to load thread
19103 pointer.
19104 (TLS_GD_PREFIX): New.
19105 (TLS_GD): Use it.
19106
842b81d6
DM
191072012-05-11 David S. Miller <davem@davemloft.net>
19108
19109 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19110 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19111 (_FPU_SETCW): Likewise.
19112
1cf463cd
L
191132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19116 is 32-byte aligned.
19117
60cc4a18
AS
191182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19119
19120 [BZ #11837]
19121 * iconvdata/gb18030.c: Update tables.
19122 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19123 characters specially.
19124 (BODY for TO_LOOP): Add encoding of missing ranges.
19125
febb44a4
TS
191262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19127
19128 [BZ #13673]
19129 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19130 * sysdeps/mach/hurd/dup3.c: Likewise.
19131 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19132 * sysdeps/powerpc/memmove.c:: Likewise.
19133
0a10fb9e
L
191342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19135
19136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19137 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19138
df8a552f
L
191392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19140
19141 * elf/elf.h (R_X86_64_RELATIVE64): New.
19142 (R_X86_64_NUM): Updated.
19143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19144 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19145 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19146 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19147 tst-quad1pie tst-quad2pie
19148 (modules-names): Add tst-quadmod1 tst-quadmod2.
19149 ($(objpfx)tst-quad1): New dependency.
19150 ($(objpfx)tst-quad2): Likewise.
19151 ($(objpfx)tst-quad1pie): Likewise.
19152 ($(objpfx)tst-quad2pie): Likewise.
19153 * sysdeps/x86_64/tst-quad1.c: New file.
19154 * sysdeps/x86_64/tst-quad1pie.c: New file.
19155 * sysdeps/x86_64/tst-quad2.c: Likewise.
19156 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19157 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19158 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19159 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19160 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19161
f34d6f84
ST
191622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19163
f42d41d1
ST
19164 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19165 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19166 * streams/stropts.h (t_scalar_t): Define type.
19167
3c3571fc
ST
19168 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19169 (_PATH_PRESERVE): Set to "/var/lib".
19170 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19171
61f06bd3
ST
19172 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19173 instead of int.
19174
918d4d71
ST
19175 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19176 if __dir_mkfile succeeded.
19177
f34d6f84
ST
19178 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19179 checking for _hurd_dtablesize. Unlock it right after having
19180 finished _hurd_dtable allocation.
19181
10589b4a
TS
191822012-05-10 Thomas Schwinge <thomas@schwinge.name>
19183
674cdbc7
TS
19184 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19185 * sysdeps/mach/hurd/configure: Regenerated.
19186 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19187 special-casing to...
19188 * sysdeps/gnu/configure.in: ... this new file.
19189 * sysdeps/unix/sysv/linux/configure: Regenerated.
19190 * sysdeps/gnu/configure: New generated file.
19191
8e41b99f
TS
19192 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19193 for Linux: use nsec instead of usec, as well as:
19194 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19195 members of type struct timespec.
19196 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19197 New macros.
19198 (struct stat64): Likewise.
19199 (_STATBUF_ST_NSEC): New macro.
19200 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19201
10589b4a
TS
19202 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19203 __strtoul_internal rather than strtoul.
19204
63643c85
PT
192052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19206
19207 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19208 and reject them.
19209
3faebe6a
ST
192102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19211
19212 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19213 which preserves existing values.
19214 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19215
c6474b07
PT
192162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19217
19218 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19219 TIMEOUT values. Return EINVAL for NFDS values either negative or
19220 greater than FD_SETSIZE.
19221
1043890b
ST
192222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19223
19224 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19225 allocated, call __vm_protect to finish enabling the existing space, and
19226 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19227 allocate the remainder.
19228
37ed8b9b
PT
192292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19230
19231 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19232 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19233
db653660
ST
192342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19235
37ed8b9b
PT
19236 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19237 sysdeps/mach/hurd/readlink.c.
b29d4053 19238
db653660
ST
19239 * posix/tst-sysconf.c (posix_options): Only use
19240 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19241 _POSIX_SYNCHRONIZED_IO when they are defined
19242 * sysdeps/mach/hurd/bits/posix_opt.h:
19243 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19244 (_XOPEN_REALTIME): Undefine macro.
19245 (_XOPEN_REALTIME_THREADS): Undefine macro.
19246 (_XOPEN_SHM): Undefine macro.
19247 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19248 macro to -1.
19249 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19250 macro to -1.
19251 (_POSIX_ASYNC_IO): Undefine macro.
19252 (_POSIX_PRIORITIZED_IO): Undefine macro.
19253 (_POSIX_SPIN_LOCKS): Define macro to -1.
19254
ee16e894
ST
19255 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19256 SA_NODEFER, SA_RESETHAND.
19257 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19258 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19259 F_DUPFD_CLOEXEC.
19260
6103ae3b
TS
192612012-05-10 Thomas Schwinge <thomas@schwinge.name>
19262
19263 * elf/Makefile (pldd-modules): Define unconditionally.
19264
80b4e5f3
TS
192652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19266
19267 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19268
edadcbd6
ST
192692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19270
19271 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19272 Return ENOENT when name is empty.
19273 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19274
80694780
TS
192752012-05-10 Thomas Schwinge <thomas@schwinge.name>
19276
1792c087
TS
19277 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19278
80694780
TS
19279 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19280
6b645f0d
ST
192812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19282
80694780
TS
19283 Fix mlock in all cases except non-readable pages.
19284 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19285 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19286
6b645f0d
ST
19287 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19288 (__mkdir): When path is `/', just fail with EEXIST.
19289 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19290
e468f8a3
TS
192912012-05-10 Thomas Schwinge <thomas@schwinge.name>
19292
19293 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19294 <sys/uio.h> (for writev).
19295 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19296 and <sys/param.h> (for MIN).
19297
a4186cff
PT
192982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19299
19300 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19301 REQUESTED_TIME. Properly set the remaining time and return EINTR
19302 if interrupted.
19303
510bbf14
TS
193042012-05-10 Thomas Schwinge <thomas@schwinge.name>
19305
19306 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19307 Depend on against $(link-rpcuserlibs).
19308
5d5722e8
ST
193092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19310
a4186cff
PT
19311 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19312 (__libc_stack_end): Do not use attribute_relro.
19313 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19314 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19315 to libthread-provided value.
a4186cff
PT
19316 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19317 attribute_relro.
5d5722e8 19318
37233df9
TS
193192012-05-10 Thomas Schwinge <thomas@schwinge.name>
19320
be971a2b
TS
19321 [BZ #3748]
19322 * bits/libc-lock.h (__libc_once_get): New macro.
19323 * sysdeps/mach/bits/libc-lock.h: Likewise.
19324 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19326 instead of using implementation details.
19327
37233df9
TS
19328 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19329 * libio/freopen.c: Likewise.
19330 * libio/freopen64.c: Likewise.
19331 * misc/syslog.c: Likewise.
19332 * nscd/connections.c: Likewise.
19333 * nscd/netgroupcache.c: Likewise.
19334 * sysdeps/posix/getcwd.c: Likewise.
19335
38de94a5
RM
193362012-05-10 Roland McGrath <roland@hack.frob.com>
19337
19338 * math/w_ilogbf.c: Add #include <limits.h>.
19339
67530489
ST
193402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19341
a4186cff 19342 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19343 path instead of returning without unlocking.
19344
67530489
ST
19345 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19346 immediate-write ioctls.
19347 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19348
5aa3a74a
TS
193492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19350
18bad2ae
TS
19351 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19352 __builtin_frame_address instead of making assumptions about the
19353 location of the return address relative to DATA. Force early load of
19354 the return address.
19355 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19356 __builtin_frame_address.
19357
5aa3a74a
TS
19358 dup3 for GNU Hurd.
19359 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19360 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19361 implement dup3 and do some further code clean-ups.
19362 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19363 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19364
ecd0de9a
ST
193652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19366
cd9fa985
ST
19367 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19368
a4186cff
PT
19369 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19370 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19371 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19372 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19373 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19374 d->port.lock.
802ca5a5 19375
a4186cff
PT
19376 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19377 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19378 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19379
bcf55240
TS
193802012-05-10 Thomas Schwinge <thomas@schwinge.name>
19381
6960eb42
TS
19382 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19383 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19384 definitions.
19385
eb43375f
TS
19386 accept4 for GNU Hurd.
19387 * include/sys/socket.h (__libc_accept4): New prototype.
19388 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19389 to implement __libc_accept4.
19390 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19391 __libc_accept4.
19392 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19393
bcf55240
TS
19394 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19395 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19396 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19397 signal-defines.sym.
19398
6178c55b
ST
193992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19400
a4186cff 19401 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19402
6f080c2f
TS
194032012-05-10 Thomas Schwinge <thomas@schwinge.name>
19404
19405 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19406 assertion on O_CLOEXEC flag.
19407 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19408 * hurd/intern-fd.c: Likewise.
19409 * hurd/port2fd.c: Likewise.
19410
bcfe3a54
ST
194112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19412
19413 [BZ #3906]
19414 * bits/in.h (IPV6_PKTINFO): Define new macro.
19415 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19416
89c9aa49
AZ
194172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19418
19419 [BZ #13954]
19420 [BZ #13955]
19421 [BZ #13956]
19422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19424 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19425 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19428 * math/libm-test.inc (logb_test) : Additional logb tests.
19429
021db4be
AJ
194302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19431 Andreas Jaeger <aj@suse.de>
19432
19433 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19434 * configure: Regenerated.
19435 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19436 * config.make.in (link-obsolete-rpc): New substituted variable.
19437 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19438 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19439 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19440 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19441 so that libc.a contains the symbols.
19442 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19443 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19444 * sunrpc/auth_none.c: Likewise.
19445 * sunrpc/auth_unix.c: Likewise.
19446 * sunrpc/authdes_prot.c: Likewise.
19447 * sunrpc/authuxprot.c: Likewise.
19448 * sunrpc/clnt_gen.c: Likewise.
19449 * sunrpc/clnt_perr.c: Likewise.
19450 * sunrpc/clnt_raw.c: Likewise.
19451 * sunrpc/clnt_simp.c: Likewise.
19452 * sunrpc/clnt_tcp.c: Likewise.
19453 * sunrpc/clnt_udp.c: Likewise.
19454 * sunrpc/clnt_unix.c: Likewise.
19455 * sunrpc/des_crypt.c: Likewise.
19456 * sunrpc/des_soft.c: Likewise.
19457 * sunrpc/get_myaddr.c: Likewise.
19458 * sunrpc/key_call.c: Likewise.
19459 * sunrpc/key_prot.c: Likewise.
19460 * sunrpc/netname.c: Likewise.
19461 * sunrpc/pm_getmaps.c: Likewise.
19462 * sunrpc/pm_getport.c: Likewise.
19463 * sunrpc/pmap_clnt.c: Likewise.
19464 * sunrpc/pmap_prot.c: Likewise.
19465 * sunrpc/pmap_prot2.c: Likewise.
19466 * sunrpc/pmap_rmt.c: Likewise.
19467 * sunrpc/publickey.c: Likewise.
19468 * sunrpc/rpc_cmsg.c: Likewise.
19469 * sunrpc/rpc_common.c: Likewise.
19470 * sunrpc/rpc_dtable.c: Likewise.
19471 * sunrpc/rpc_prot.c: Likewise.
19472 * sunrpc/rpc_thread.c: Likewise.
19473 * sunrpc/rtime.c: Likewise.
19474 * sunrpc/svc.c: Likewise.
19475 * sunrpc/svc_auth.c: Likewise.
19476 * sunrpc/svc_raw.c: Likewise.
19477 * sunrpc/svc_run.c: Likewise.
19478 * sunrpc/svc_tcp.c: Likewise.
19479 * sunrpc/svc_udp.c: Likewise.
19480 * sunrpc/svc_unix.c: Likewise.
19481 * sunrpc/svcauth_des.c: Likewise.
19482 * sunrpc/xcrypt.c: Likewise.
19483 * sunrpc/xdr.c: Likewise.
19484 * sunrpc/xdr_array.c: Likewise.
19485 * sunrpc/xdr_float.c: Likewise.
19486 * sunrpc/xdr_intXX_t.c: Likewise.
19487 * sunrpc/xdr_mem.c: Likewise.
19488 * sunrpc/xdr_rec.c: Likewise.
19489 * sunrpc/xdr_ref.c: Likewise.
19490 * sunrpc/xdr_sizeof.c: Likewise.
19491 * sunrpc/xdr_stdio.c: Likewise.
19492
b5c086a2
RM
194932012-05-10 Roland McGrath <roland@hack.frob.com>
19494
19495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19496 change. Update copyright years.
19497
6d74dd09
JM
194982012-05-10 Joseph Myers <joseph@codesourcery.com>
19499
19500 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19501
28e72501
MK
195022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19503 Joseph Myers <joseph@codesourcery.com>
19504 Paul Pluzhnikov <ppluzhnikov@google.com>
19505
19506 [BZ #14012]
19507 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19508 requiring rpcgen.
19509 [cross-compiling] (extra-libs): Likewise.
19510 [cross-compiling] (extra-libs-others): Likewise.
19511 [cross-compiling] (librpcsvc-routines): Likewise.
19512 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19513 [cross-compiling] (omit-deps): Likewise.
19514 (sunrpc-CPPFLAGS): New variable.
19515 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19516 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19517 (cross-rpcgen-objs): New variable.
19518 (extra-objs): Append $(cross-rpcgen-objs).
19519 ($(cross-rpcgen-objs)): New rule.
19520 ($(objpfx)cross-rpcgen): Likewise.
19521 (rpcgen-cmd): Define to use $(built-program-file). Expand
19522 comment.
19523 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19524 ($(objpfx)x%.stmp): Likewise.
19525 * sunrpc/proto.h [IS_IN_build] (_): Define.
19526 [IS_IN_build] (_libc_intl_domainname): Likewise.
19527
c8c59454
L
195282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19529
19530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19531 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19532 and R_X86_64_TPOFF64.
19533
6f27cd16
JM
195342012-05-10 Joseph Myers <joseph@codesourcery.com>
19535
19536 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19537 sysdeps/unix/sysv/syscalls.list.
19538 (stime): Likewise.
19539 (utime): Likewise.
19540 * sysdeps/unix/sysv/syscalls.list: Remove file.
19541
02467e1c
PE
195422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19543
19544 [BZ #3440]
19545 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19546 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19547 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19548 (__LC_IDENTIFICATION): Make these macros useful in #if
19549 expressions, as required by C99.
19550
da392631
AS
195512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19552
19553 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19554 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19555 after this.
19556
8115f29b
L
195572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19558
19559 * stdlib/longlong.h: Updated from GCC.
19560
bdd74070
AJ
195612012-05-09 Andreas Jaeger <aj@suse.de>
19562
edfe0dbe
AJ
19563 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19564 default is first entry.
19565 (run_mode): Set type.
19566 (main): Remove informal message about syslog.
19567 (options): Fix typo.
19568
bcfe3a54
ST
19569 [BZ #14053]
19570 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19571 to asm.
bcfe3a54
ST
19572 (lrint): Likewise.
19573 (llrintf): Likewise.
19574 (llrint): Likewise.
19575 (rint): Likewise.
19576 (rintf): Likewise.
19577 (nearbyint): Likewise.
19578 (nearbyintf): Likewise.
bdd74070 19579
91d8d69e
AJ
195802012-05-09 Andreas Jaeger <aj@suse.de>
19581 Pedro Alves <palves@redhat.com>
19582
19583 * nscd/nscd.c (run_mode): Use enum.
19584 (main): Cleanup coding style issue.
19585
bb90b80b
AJ
195862012-05-09 Alexandre Oliva <aoliva@redhat.com>
19587 Andreas Jaeger <aj@suse.de>
19588
bcfe3a54
ST
19589 * nscd/nscd.c (go_background): Replaced with...
19590 (run_mode): ... this.
bb90b80b 19591 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19592 (options): Add -F --foreground.
19593 (main): Implement it.
19594 (parse_opt): Parse it.
bb90b80b 19595
1a4b75a1
AJ
195962012-05-09 Andreas Jaeger <aj@suse.de>
19597
19598 [BZ #14083]
19599 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19600 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19601 -Wconversion warning.
19602 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19603 Likewise.
19604
b1cc2472
JM
196052012-05-09 Joseph Myers <joseph@codesourcery.com>
19606
19607 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19608 == 0.
19609 (LC_ALL): Use macro-int-constant.
19610 (LC_COLLATE): Likewise.
19611 (LC_CTYPE): Likewise.
19612 (LC_MESSAGES): Likewise.
19613 (LC_MONETARY): Likewise.
19614 (LC_NUMERIC): Likewise.
19615 (LC_TIME): Likewise.
19616 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19617 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19619 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19620 Specify type.
19621 [C99-based standards] (float_t): Expect type.
19622 [C99-based standards] (double_t): Expect type.
19623 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19624 type.
19625 [C99-based standards] (HUGE_VALL): Likewise.
19626 [C99-based standards] (INFINITY): Likewise.
19627 [C99-based standards] (NAN): Likewise.
19628 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19629 [C99-based standards] (FP_NAN): Likewise.
19630 [C99-based standards] (FP_NORMAL): Likewise.
19631 [C99-based standards] (FP_SUBNORMAL): Likewise.
19632 [C99-based standards] (FP_ZERO): Likewise.
19633 [C99-based standards] (FP_FAST_FMA): Use
19634 optional-macro-int-constant. Specify type. Require == 1.
19635 [C99-based standards] (FP_FAST_FMAF): Likewise.
19636 [C99-based standards] (FP_FAST_FMAL): Likewise.
19637 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19638 [C99-based standards] (FP_ILOGBNAN): Likewise.
19639 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19640 Specify type.
19641 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19642 [C99-based standards] (math_errhandling): Specify type.
19643 [ISO99 || ISO11] (signgam): Do not allow.
19644 [non-C99-based standards] (copysignf): Do not allow.
19645 [non-C99-based standards] (exp2f): Likewise.
19646 [non-C99-based standards] (log2f): Likewise.
19647 [non-C99-based standards] (modff): Allow.
19648 [non-C99-based standards] (erff): Do not allow.
19649 [non-C99-based standards] (erfcf): Likewise.
19650 [non-C99-based standards] (gammaf): Likewise.
19651 [non-C99-based standards] (hypotf): Likewise.
19652 [non-C99-based standards] (j0f): Likewise.
19653 [non-C99-based standards] (j1f): Likewise.
19654 [non-C99-based standards] (jnf): Likewise.
19655 [non-C99-based standards] (lgammaf): Likewise.
19656 [non-C99-based standards] (tgammaf): Likewise.
19657 [non-C99-based standards] (y0f): Likewise.
19658 [non-C99-based standards] (y1f): Likewise.
19659 [non-C99-based standards] (ynf): Likewise.
19660 [non-C99-based standards] (isnanf): Likewise.
19661 [non-C99-based standards] (acoshf): Likewise.
19662 [non-C99-based standards] (asinhf): Likewise.
19663 [non-C99-based standards] (atanhf): Likewise.
19664 [non-C99-based standards] (cbrtf): Likewise.
19665 [non-C99-based standards] (expm1f): Likewise.
19666 [non-C99-based standards] (ilogbf): Likewise.
19667 [non-C99-based standards] (log1pf): Likewise.
19668 [non-C99-based standards] (logbf): Likewise.
19669 [non-C99-based standards] (nextafterf): Likewise.
19670 [non-C99-based standards] (remainderf): Likewise.
19671 [non-C99-based standards] (rintf): Likewise.
19672 [non-C99-based standards] (scalbf): Likewise.
19673 [non-C99-based standards] (copysignl): Likewise.
19674 [non-C99-based standards] (exp2l): Likewise.
19675 [non-C99-based standards] (log2l): Likewise.
19676 [non-C99-based standards] (modfl): Allow.
19677 [non-C99-based standards] (erfl): Do not allow.
19678 [non-C99-based standards] (erfcl): Likewise.
19679 [non-C99-based standards] (gammal): Likewise.
19680 [non-C99-based standards] (hypotl): Likewise.
19681 [non-C99-based standards] (j0l): Likewise.
19682 [non-C99-based standards] (j1l): Likewise.
19683 [non-C99-based standards] (jnl): Likewise.
19684 [non-C99-based standards] (lgammal): Likewise.
19685 [non-C99-based standards] (tgammal): Likewise.
19686 [non-C99-based standards] (y0l): Likewise.
19687 [non-C99-based standards] (y1l): Likewise.
19688 [non-C99-based standards] (ynl): Likewise.
19689 [non-C99-based standards] (isnanl): Likewise.
19690 [non-C99-based standards] (acoshl): Likewise.
19691 [non-C99-based standards] (asinhl): Likewise.
19692 [non-C99-based standards] (atanhl): Likewise.
19693 [non-C99-based standards] (cbrtl): Likewise.
19694 [non-C99-based standards] (expm1l): Likewise.
19695 [non-C99-based standards] (ilogbl): Likewise.
19696 [non-C99-based standards] (log1pl): Likewise.
19697 [non-C99-based standards] (logbl): Likewise.
19698 [non-C99-based standards] (nextafterl): Likewise.
19699 [non-C99-based standards] (remainderl): Likewise.
19700 [non-C99-based standards] (rintl): Likewise.
19701 [non-C99-based standards] (scalbl): Likewise.
19702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19703 [non-C99-based standards] (FP_*): Do not allow.
19704 [C99-based standards] (FP_*): Change to
19705 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19706 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19707 allow.
19708 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19709 (SIG_ERR): Likewise.
19710 [X/Open-based standards] (SIG_HOLD): Likewise.
19711 (SIG_IGN): Likewise.
19712 (SIGABRT): Use macro-int-constant. Specify type. Require
19713 positive value.
19714 (SIGFPE): Likewise.
19715 (SIGILL): Likewise.
19716 (SIGINT): Likewise.
19717 (SIGSEGV): Likewise.
19718 (SIGTER): Likewise.
19719 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19720 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19721 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19722 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19723 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19724 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19725 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19726 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19727 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19728 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19729 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19730 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19731 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19732 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19733 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19734 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19735 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19736 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19737 [X/Open-based standards] (SIGTRAP): Likewise.
19738 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19739 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19740 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19741 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19742 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19743 allow.
19744
b9f1922d
IW
197452012-05-08 Ian Wienand <ianw@vmware.com>
19746
19747 [BZ #14080]
19748 * time/tzset.c (__tzset_parse_tz): Update default rules for
19749 daylight time changes in the Energy Policy Act of 2005.
19750
1db86e88
AJ
197512012-05-09 Andreas Jaeger <aj@suse.de>
19752
19753 [BZ #13983]
19754 * elf/ldconfig.c (parse_conf): Change string to make clear that
19755 ldconfig only issued a warning if ld.so.conf does not exist.
19756
dee4a4e3
DM
197572012-05-08 David S. Miller <davem@davemloft.net>
19758
ee0db190
DM
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19760 movxtod instead of popping the value on the stack.
19761
dee4a4e3
DM
19762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19763
6a43ec98
CD
197642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19765
19766 * config.h.in: Add HAVE_ARM_PCS_VFP.
19767
05c2c961
RMG
197682012-05-08 Roland Mc Grath <roland@hack.frob.com>
19769
bcfe3a54
ST
19770 [BZ #13979]
19771 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19772 checking but the checks are disabled for any reason.
05c2c961 19773
4b30f61a
L
197742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19775
19776 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19777 and ELF64_R_TYPE with ELFW(R_TYPE).
19778
eee2bc67
JM
197792012-05-08 Joseph Myers <joseph@codesourcery.com>
19780
7ea5391a
JM
19781 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19782 (ulimit): Likewise.
19783
eee2bc67
JM
19784 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19785 (settimeofday): Likewise.
19786
abb66a67
MF
197872012-05-08 Mike Frysinger <vapier@gentoo.org>
19788
19789 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19790 a struct th_u2 inside the union, and move tu_block/tu_code into
19791 a new th_u3 union of tu_block/tu_code inside of that. Move
19792 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19793 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19794 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19795 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19796 (th_stuff): Change to th_u1.tu_stuff.
19797 (th_data): Define.
19798 (th_msg): Change to th_u1.th_u2.tu_data.
19799
7f18b530
DM
198002012-05-07 David S. Miller <davem@davemloft.net>
19801
05760585
DM
19802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19803
7f18b530
DM
19804 [BZ #14074]
19805 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19806 (SETUP_PIC_REG): Use it.
19807 (SETUP_PIC_REG_LEAF): Use it.
19808
495fd99f
JM
198092012-05-07 Joseph Myers <joseph@codesourcery.com>
19810
19811 [BZ #13885]
19812 [BZ #13923]
19813 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19814 USE_AS_EXPM1L.
19815 (EXPL_FINITE): Likewise.
19816 (FLDLOG): Likewise.
19817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19818 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19819 e_expl.S.
19820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19821 USE_AS_EXPM1L.
19822 (EXPL_FINITE): Likewise.
19823 (FLDLOG): Likewise.
19824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19825 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19826 e_expl.S.
19827 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19828 test of -max_value argument for long double.
19829 * sysdeps/i386/fpu/libm-test-ulps: Update.
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19831
6693d694
DM
198322012-05-06 David S. Miller <davem@davemloft.net>
19833
19834 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19835 quad soft-float symbols whose references which are compiler
19836 generated.
19837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19838
6c23e11c
JM
198392012-05-06 Joseph Myers <joseph@codesourcery.com>
19840
d8b82cad
JM
19841 [BZ #13884]
19842 [BZ #13914]
19843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19844 USE_AS_EXP10L.
19845 (EXPL_FINITE): Likewise.
19846 (FLDLOG): Likewise.
19847 (c0): Likewise.
19848 (c1): Likewise.
19849 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19850 Adjust comments for base varying.
19851 (__expl_finite): Change alias to EXPL_FINITE.
19852 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19853 e_expl.S.
19854 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19855 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19857 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19859 USE_AS_EXP10L.
19860 (EXPL_FINITE): Likewise.
19861 (FLDLOG): Likewise.
19862 (c0): Likewise.
19863 (c1): Likewise.
19864 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19865 Adjust comments for base varying.
19866 (__expl_finite): Change alias to EXPL_FINITE.
19867 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19868 tests for bugs.
19869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19870
6c23e11c
JM
19871 [BZ #14064]
19872 * math/libm-test.inc (check_float_internal): Correct ulp
19873 calculation for subnormal expected results.
19874
29ba805c
AJ
198752012-05-06 Andreas Jaeger <aj@suse.de>
19876
19877 * Makeconfig (+math-flags): New, set to -frounding-math.
19878 (+cflags): Add +math-flags so that all of glibc gets compiled with
19879 it.
19880
19881 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19882
7b17aeda
JM
198832012-05-05 Joseph Myers <joseph@codesourcery.com>
19884
5779f134
JM
19885 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19886 Disable one test.
19887
41498f4d
JM
19888 [BZ #13787]
19889 [BZ #13922]
19890 [BZ #14036]
19891 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19892 (__ieee754_expl): Allow for and saturate large arguments.
19893 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19894 (u_threshold): Likewise.
19895 (__exp): Call __ieee754_exp before checking for overflow and
19896 underflow.
19897 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19898 (u_threshold): Likewise.
19899 (__expf): Call __ieee754_expf before checking for overflow and
19900 underflow.
19901 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19902 (u_threshold): Likewise.
19903 (__expl): Call __ieee754_expl before checking for overflow and
19904 underflow.
19905 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19906 (__ieee754_expl): Allow for and saturate large arguments.
19907 * math/libm-test.inc (exp_test): Add another test. Do not allow
19908 missing overflow exception on overflow.
19909 (expm1_test): Do not allow missing overflow exception on overflow.
19910
6698b8bf
JM
19911 * sysdeps/i386/fpu/e_expl.c: Move to ...
19912 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19913 rather than using inline asm.
19914 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19915 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19916 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19917
7b17aeda
JM
19918 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19919 (nice): Likewise.
19920 (poll): Likewise.
19921 (signal): Likewise.
19922 (time): Likewise.
19923 (times): Likewise.
19924
f7c85819
JM
199252012-05-04 Joseph Myers <joseph@codesourcery.com>
19926
19927 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19928 sysdeps/unix/common/syscalls.list.
19929 (fchmod): Likewise.
19930 (fchown): Likewise.
19931 (ftruncate): Likewise.
19932 (getrusage): Likewise.
19933 (gettimeofday): Likewise.
19934 (setpgid): Likewise.
19935 (setregid): Likewise.
19936 (setreuid): Likewise.
19937 (sigaction): Likewise.
19938 (truncate): Likewise.
19939 (vhangup): Likewise.
19940 * sysdeps/unix/common/syscalls.list: Remove file.
19941 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19942 * sysdeps/unix/sysv/linux/Implies: Likewise.
19943
336270d0
L
199442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19945
19946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19949 Moved to ...
19950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19951 Here.
19952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19953 to ...
19954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19956 to ...
19957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19958 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19959 to ...
19960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19961 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19962 to ...
19963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19964 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19965 to ...
19966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19968 to ...
19969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19970 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19971 to ...
19972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19973 Here.
19974 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19975 to ...
19976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19977 Here.
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19979 to ...
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19982 Moved to ...
19983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19984 Here.
19985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19986 to ...
19987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19988
d128e450
JM
199892012-05-04 Joseph Myers <joseph@codesourcery.com>
19990
fa8ee516
JM
19991 * sysdeps/unix/common/bits/dirent.h: Remove file.
19992 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19993
d128e450
JM
19994 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19995 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19996 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19997 * sysdeps/unix/bsd/isatty.c: Likewise.
19998 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19999 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20000 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20001
ff8faaf0 200022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20003
62881be4 20004 [BZ #13563]
31dc8730
AZ
20005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20006 long double comparison inaccuracies.
20007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20009
6fef930c
AS
200102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20011
20012 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20014
8f203e6c
JM
200152012-05-04 Joseph Myers <joseph@codesourcery.com>
20016
20017 [BZ #14049]
20018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20019 nonzero digits before rounding a hex value.
20020 * stdlib/tst-strtod.c (tests): Add another test.
20021
5197d9c2
AK
200222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20023
20024 * sysdeps/s390/fpu/libm-test-ulps: Update.
20025
f0c1dedf
AJ
200262012-05-03 Andreas Jaeger <aj@suse.de>
20027
20028 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20029 does not get optimized out.
20030 (malloc_opt_barrier): New.
20031
a65ef2ae 200322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20033 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20034
2b942cb7 20035 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20036 intermediate file deletion.
2b942cb7 20037 (generated): Add .symlist files.
a65ef2ae 20038
54b71e02
JM
200392012-05-03 Joseph Myers <joseph@codesourcery.com>
20040
20041 [BZ #13775]
20042 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20043 Redirect under this condition.
20044 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20045 [__USE_GNU] (__dprintf_chk): Not under this condition.
20046 [__USE_GNU] (__vdprintf_chk): Likewise.
20047 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20048 under this condition.
20049 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20050 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20051 [__USE_XOPEN2K8] (vdprintf): Likewise.
20052 [__USE_GNU] (__dprintf_chk): Not under this condition.
20053 [__USE_GNU] (__vdprintf_chk): Likewise.
20054 [__USE_GNU] (dprintf): Likewise.
20055 [__USE_GNU] (vdprintf): Likewise.
20056
d3dfcc41
RM
200572012-05-03 Roland McGrath <roland@hack.frob.com>
20058
20059 * elf/Makefile (common-generated): Set this instead of generated for
20060 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20061 $(all-built-dso)-derived lists.
20062
7ac30cc5
AJ
200632012-05-03 Andreas Jaeger <aj@suse.de>
20064
0c51e550
AJ
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066
7ac30cc5
AJ
20067 * FAQ: Removed.
20068 * FAQ.in: Likewise.
20069 * scripts/gen-FAQ.pl: Likewise.
20070 * manual/install.texi (Installation): Point to online location of
20071 FAQ.
20072 * Makefile (files-for-dist): Remove FAQ.
20073 (FAQ): Remove.
20074
d4c2917f
AM
200752012-05-02 Allan McRae <allan@archlinux.org>
20076
20077 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20078 (LDFLAGS-reldepmod5.so): Likewise.
20079 (LDFLAGS-reldep6mod1.so): Likewise.
20080 (LDFLAGS-reldep6mod4.so): Likewise.
20081 (LDFLAGS-reldep8mod3.so): Likewise.
20082 (LDFLAGS-unload4mod1.so): Likewise.
20083 (LDFLAGS-unload4mod2.so): Likewise.
20084 (LDFLAGS-tst-initorder): Likewise.
20085 (LDFLAGS-tst-initordera2.so): Likewise.
20086 (LDFLAGS-tst-initordera3.so): Likewise.
20087 (LDFLAGS-tst-initordera4.so): Likewise.
20088 (LDFLAGS-tst-initorderb2.so): Likewise.
20089 (LDFLAGS-noload): Likewise.
20090 (LDFLAGS-next): Likewise.
20091 (LDFLAGS-order2mod1.so): Likewise.
20092 (LDFLAGS-order2mod2.so): Likewise.
20093 (LDFLAGS-tst-initorder2): Likewise.
20094 (LDFLAGS-tst-initorder2a.so): Likewise.
20095 (LDFLAGS-tst-initorder2b.so): Likewise.
20096 (LDFLAGS-tst-initorder2c.so): Likewise.
20097 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20098
d77f993f
DM
200992012-05-02 David S. Miller <davem@davemloft.net>
20100
20101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20102
171a70b4
PP
201032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20104
20105 [BZ #14055]
20106 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20107
0be196ad
AJ
201082012-05-02 Andreas Jaeger <aj@suse.de>
20109
20110 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20111 since we manipulate rounding mode.
20112 (CPPFLAGS-test-idouble.c): Likewise.
20113 (CPPFLAGS-test-ifloat.c): Likewise.
20114 (CFLAGS-test-ldouble.c): Likewise.
20115 (CFLAGS-test-double.c): Likewise.
20116 (CFLAGS-test-float.c): Likewise.
20117 (CFLAGS-test-misc.c): Likewise.
20118 (CFLAGS-test-test-fenv.c): Likewise.
20119
4f9d04aa
AZ
201202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20121
2b942cb7
RM
20122 [BZ #2550]
20123 [BZ #2570]
20124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20125 comparisons to determine direction to adjust input.
4f9d04aa 20126
82a79e7d
RM
201272012-05-01 Roland McGrath <roland@hack.frob.com>
20128
f5a01ca9
RM
20129 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20130 output to the target.
20131
90fe4186
RM
20132 * scripts/localplt.awk: New file.
20133 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20134 (check-localplt-CFLAGS): Variable removed.
20135 ($(all-built-dso:=.jmprel)): New static pattern rule.
20136 (generated): Add those targets.
20137 (localplt-built-dso): New variable.
20138 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20139
20140 * elf/check-localplt.c: File removed.
20141
82397ed6
RM
20142 * scripts/check-execstack.awk: New file.
20143 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20144 (check-execstack-CFLAGS): Variable removed.
20145 ($(objpfx)check-execstack.h): Target removed.
20146 ($(objpfx)execstack-default): New target.
20147 (generated): Add that instead of check-execstack.h.
20148 ($(all-built-dso:=.phdr)): New static pattern rule.
20149 (generated): Add those targets.
20150 * elf/check-execstack.c: File removed.
20151
82a79e7d
RM
20152 * scripts/check-textrel.awk: New file.
20153 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20154 (check-textrel-CFLAGS): Variable removed.
20155 (all-built-dso): Use := to define.o
20156 ($(all-built-dso:=.dyn)): New static pattern rule.
20157 (generated): Add those targets.
20158 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20159 * config.make.in (READELF): New substituted variable.
20160 * elf/check-textrel.c: File removed.
20161
62fde54f 201622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20163
615605c9
JM
20164 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20165 allow.
20166 * conform/data/ctype.h-data [C99-based standards] (isblank):
20167 Expect function.
20168 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20169 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20171 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20172 Specify type. Require positive value.
20173 (EILSEQ): Likewise.
20174 (ERANGE): Likewise.
20175 [ISO || POSIX] (EILSEQ): Do not expect.
20176 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20177 Specify type. Require positive value.
20178 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20179 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20182 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20183 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20184 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20185 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20186 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20187 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20188 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20189 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20190 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20191 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20192 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20193 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20194 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20252 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20253 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20254 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20255 Require >= 2.
20256 (FLT_ROUNDS): Expect as macro, not constant.
20257 (FLT_MANT_DIG): Use macro-int-constant.
20258 (DBL_MANT_DIG): Likewise.
20259 (LDBL_MANT_DIG): Likewise.
20260 (FLT_DIG): Likewise.
20261 (DBL_DIG): Likewise.
20262 (LDBL_DIG): Likewise.
20263 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20264 (DBL_MIN_EXP): Likewise.
20265 (LDBL_MIN_EXP): Likewise.
20266 (FLT_MAX_EXP): Use macro-int-constant.
20267 (DBL_MAX_EXP): Likewise.
20268 (LDBL_MAX_EXP): Likewise.
20269 (FLT_MAX_10_EXP): Likewise.
20270 (DBL_MAX_10_EXP): Likewise.
20271 (LDBL_MAX_10_EXP): Likewise.
20272 (FLT_MAX): Use macro-constant.
20273 (DBL_MAX): Likewise.
20274 (LDBL_MAX): Likewise.
20275 (FLT_EPSILON): Use macro-constant. Give upper bound.
20276 (DBL_EPSILON): Likewise.
20277 (LDBL_EPSILON): Likewise.
20278 (FLT_MIN): Likewise.
20279 (DBL_MIN): Likewise.
20280 (LDBL_MIN): Likewise.
20281 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20282 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20283 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20284 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20285 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20286 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20287 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20288 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20289 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20290 [ISO11] (FLT_TRUE_MIN): Likewise.
20291 [ISO11] (LDBL_TRUE_MIN): Likewise.
20292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20293 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20294 (SCHAR_MIN): Use macro-int-constant. Specify type.
20295 (SCHAR_MAX): Likewise.
20296 (UCHAR_MAX): Likewise.
20297 (CHAR_MIN): Likewise.
20298 (CHAR_MAX): Likewise.
20299 (MB_LEN_MAX): Use macro-int-constant.
20300 (SHRT_MIN): Use macro-int-constant. Specify type.
20301 (SHRT_MAX): Likewise.
20302 (USHRT_MAX): Likewise.
20303 (INT_MAX): Likewise.
20304 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20305 bound negative.
20306 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20307 bound with "U".
20308 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20309 bound with "L".
20310 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20311 bound negative. Suffix upper bound with "L".
20312 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20313 bound with "UL".
20314 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20315 Specify type.
20316 [C99-based standards] (LLONG_MAX): Likewise.
20317 [C99-based standards] (ULLONG_MAX): Likewise.
20318 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20319 == 0.
20320 [ISO11] (max_align_t): Require type.
20321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20322
c9140a62
JM
20323 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20324 from $CFLAGS, without defining away __attribute__ calls.
20325 (checknamespace): Use $CFLAGS_namespace.
20326
9af0bf29
JM
20327 * conform/conformtest.pl (@keywords): Only include C99 keywords
20328 for standards based on C99 or C11.
20329
343222a2
JM
20330 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20331 Disable tests.
20332 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20333 UNIX98]: Likewise.
20334
661f8cf0
JM
20335 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20336 usability of symbols in #if.
20337
ee74b9cb
JM
20338 * conform/conformtest.pl: If macro or constant types start
20339 "promoted:", expect the symbol to be of the following type
20340 promoted by the integer promotions.
62fde54f 20341
aafc49b3
JM
20342 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20343 in one place. Also handle "macro-constant".
20344
fefdf574
JM
20345 * conform/conformtest.pl: Only accept expected macro values with
20346 "==". Parse all "macro" lines in one place.
20347 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20348
f2d922fe
JM
20349 * conform/conformtest.pl: Handle braced types on "constant" lines
20350 instead of handling "typed-constant".
20351 * conform/data/signal.h-data: Use "constant" instead of
20352 "typed-constant".
20353
d22956c9
JM
20354 * conform/conformtest.pl: Handle "optional-" at start of lines in
20355 one place rather than duplicating several cases. Handle each
20356 format of "macro" line with initial "optional-".
20357
028e2e38
JM
20358 * conform/conformtest.pl: Only accept expected constant or
20359 optional-constant values with "==". Parse all "constant" lines in
20360 one place. Parse all "optional-constant" lines in one place.
20361 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20362 * conform/data/fmtmsg.h-data: Likewise.
20363 * conform/data/netinet/in.h-data: Likewise.
20364 * conform/data/tar.h-data: Likewise.
20365 * conform/data/limits.h-data: Use "==" form on "constant" and
20366 "optional-constant" lines.
20367
1b8f2850
JM
20368 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20369 Use -std=c99 for XOPEN2K.
20370 (@knownproblems): Remove.
20371 (newtoken): Don't check %isknown.
20372
a05a144b
JM
20373 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20374 Do not expect macro.
20375 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20387 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20388 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20405 [XPG3] (acosh): Likewise.
20406 [XPG3] (asinh): Likewise.
20407 [XPG3] (atanh): Likewise.
20408 [XPG3] (cbrt): Likewise.
20409 [XPG3] (expm1): Likewise.
20410 [XPG3] (ilogb): Likewise.
20411 [XPG3] (log1p): Likewise.
20412 [XPG3] (logb): Likewise.
20413 [XPG3] (nextafter): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20416 [XPG3] (remainder): Likewise.
20417 [XPG3] (rint): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20425 [UNIX98 || XOPEN2K] (scalb): Expect.
20426 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20427 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20437 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20438 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20563
73c5ebe3
JM
20564 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20565 _XOPEN_SOURCE_EXTENDED for XPG4.
20566
39c33b6c
JM
20567 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20568
62fde54f
JM
20569 * Makeconfig (localtime): Remove variable.
20570 (inst_localtime-file): Likewise.
20571
0741d64c
AS
205722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20573
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20575 Update.
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20577 Update.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20579 Update.
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20581 Update.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20583 Update.
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20585 Update.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20587 Update.
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20589 Update.
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20591 Update.
20592
7cb029ee
JM
205932012-05-01 Joseph Myers <joseph@codesourcery.com>
20594
20595 [BZ #2550]
20596 [BZ #2570]
20597 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20598 comparisons to determine direction to adjust input.
20599 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20600 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20602 Likewise.
20603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20604 Likewise.
20605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20606 Likewise.
20607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20609 Likewise.
20610 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20611 Likewise.
20612 * math/libm-test.inc (nexttoward_test): Add more tests.
20613
412bd966
AS
206142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20615
20616 [BZ #14040]
20617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20618 in version GLIBC_2.1, not GLIBC_2.0.
20619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20620 Likewise.
20621
9568c0c2
JM
206222012-04-30 Joseph Myers <joseph@codesourcery.com>
20623
adfbc8ac
JM
20624 [BZ #13942]
20625 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20626 (1 - x) * (1 + x).
20627 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20628 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20629 * math/libm-test.inc (acos_test): Add more tests.
20630 (asin_test): Likewise.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633
5ba3cc69
JM
20634 [BZ #14034]
20635 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20636 of square root.
20637 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20638 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20639 * math/libm-test.inc (acos_test_tonearest): New function.
20640 (acos_test_towardzero): Likewise.
20641 (acos_test_downward): Likewise.
20642 (acos_test_upward): Likewise.
20643 (asin_test_tonearest): Likewise.
20644 (asin_test_towardzero): Likewise.
20645 (asin_test_downward): Likewise.
20646 (asin_test_upward): Likewise.
20647 (main): Call the new functions.
20648 * sysdeps/i386/fpu/libm-test-ulps: Update.
20649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20650
9568c0c2
JM
20651 [BZ #13884]
20652 [BZ #13924]
20653 * math/e_exp10.c: Include <float.h>.
20654 (__ieee754_exp10): Handle underflow here rather than multiplying
20655 large negative argument by M_LN10.
20656 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20657 of __ieee754_expf.
20658 * math/e_exp10l.c: Include <float.h>.
20659 (__ieee754_exp10l): Handle underflow here rather than multiplying
20660 large negative argument by M_LN10l.
20661 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20662 spurious overflow exception on underflow.
20663
5ac3ea17
MP
206642012-04-29 Marek Polacek <polacek@redhat.com>
20665
20666 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20667 (__fortify_function): New macro.
20668 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20669 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20670 __extern_always_inline.
20671 * libio/bits/stdio2.h: Likewise.
20672 * libio/bits/stdio.h: Likewise.
20673 * string/string.h: Likewise.
20674 * string/bits/string3.h: Likewise.
20675 * include/stdio.h: Likewise.
20676 * stdlib/bits/stdlib.h: Likewise.
20677 * stdlib/stdlib.h: Likewise.
20678 * rt/bits/mqueue2.h: Likewise.
20679 * rt/mqueue.h: Likewise.
20680 * posix/bits/unistd.h: Likewise.
20681 * posix/unistd.h: Likewise.
20682 * io/bits/poll2.h: Likewise.
20683 * io/bits/fcntl2.h: Likewise.
20684 * io/fcntl.h: Likewise.
20685 * io/sys/poll.h: Likewise.
20686 * misc/bits/syslog.h: Likewise.
20687 * misc/bits/syslog-ldbl.h: Likewise.
20688 * misc/sys/syslog.h: Likewise.
20689 * socket/bits/socket2.h: Likewise.
20690 * socket/sys/socket.h: Likewise.
20691 * debug/tst-chk1.c: Likewise.
20692 * wcsmbs/bits/wchar2.h: Likewise.
20693 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20694 * wcsmbs/wchar.h: Likewise.
20695
ecf0ebfb
AJ
206962012-04-29 Andreas Jaeger <aj@suse.de>
20697
20698 * Makerules (tests): Remove enable-check-abi protection.
20699 (check-abi-warn): Remove.
20700 (check-abi-%): Remove check-abi-warn usage.
20701
20702 * configure.in: Remove check-abi configure option.
20703 * configure: Regenerated.
20704 * config.make.in (enable-check-abi): Remove.
20705
6d5c57fa
AS
207062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20707
24c5d07e 20708 [BZ #14033]
ded5180a
AS
20709 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20710 double functions to double *_finite functions.
20711
7e0d315d
AS
20712 [BZ #13941]
20713 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20714 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20715 LDBL_MIN_EXP.
20716 * stdio-common/Makefile (tests): Add tst-sprintf3.
20717 * stdio-common/tst-sprintf3.c: New file.
20718
6d5c57fa
AS
20719 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20720 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20721
0749ff8b
JM
207222012-04-28 Joseph Myers <joseph@codesourcery.com>
20723
20724 * conform/conformtest.pl: Remove duplicate typed-constant
20725 handling.
20726
8dbd5d7b
DM
207272012-04-28 David S. Miller <davem@davemloft.net>
20728
20729 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20730 (check-abi-%): Remove AWK script prerequisite and explicit
20731 abilist directory.
20732 (check-abi): Rewrite to just diff the symlist with the abilist.
20733 (config-tls, config-abi-config): Delete, no longer used.
20734 (update-abi-%): Remove AWK script and explicit abilist directory.
20735 (update-abi): Rewrite to simply compare and conditionally copy the
20736 symlist and the sysdep abilist file. Remove update-abi-config
20737 checks.
20738 * abilist/ld.abilist: Remove.
20739 * abilist/libBrokenLocale.abilist: Remove.
20740 * abilist/libanl.abilist: Remove.
20741 * abilist/libcrypt.abilist: Remove.
20742 * abilist/libdl.abilist: Remove.
20743 * abilist/librt.abilist: Remove.
20744 * abilist/libthread_db.abilist: Remove.
20745 * abilist/libutil.abilist: Remove.
20746 * scripts/extract-abilist.awk: Remove.
20747 * scripts/merge-abilist.awk: Remove.
20748 * sysdeps/generic/libcidn.abilist: New file.
20749 * sysdeps/generic/libnss_compat.abilist: New file.
20750 * sysdeps/generic/libnss_db.abilist: New file.
20751 * sysdeps/generic/libnss_dns.abilist: New file.
20752 * sysdeps/generic/libnss_files.abilist: New file.
20753 * sysdeps/generic/libnss_hesiod.abilist: New file.
20754 * sysdeps/generic/libnss_nis.abilist: New file.
20755 * sysdeps/generic/libnss_nisplus.abilist: New file.
20756 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20757 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20758 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20759 file.
20760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20761 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20763 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20764 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20765 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20766 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20767 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20768 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20769 file.
20770 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20771 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20773 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20774 file.
20775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20777 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20778 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20779 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20780 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20781 file.
20782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20784 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20785 file.
20786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20788 New file.
20789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20790 New file.
20791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20792 New file.
20793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20794 New file.
20795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20796 New file.
20797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20798 New file.
20799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20800 New file.
20801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20802 New file.
20803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20804 New file.
20805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20806 New file.
20807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20808 New file.
20809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20810 New file.
20811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20812 New file.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20814 file.
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20816 New file.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20818 New file.
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20820 file.
20821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20822 New file.
20823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20824 New file.
20825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20826 file.
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20828 New file.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20830 New file.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20832 New file.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20834 New file.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20836 New file.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20838 New file.
20839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20841 file.
20842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20843 New file.
20844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20845 file.
20846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20847 file.
20848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20849 file.
20850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20851 file.
20852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20853 file.
20854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20855 New file.
20856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20857 file.
20858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20859 file.
20860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20861 New file.
20862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20863 file.
20864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20866 file.
20867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20868 New file.
20869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20870 file.
20871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20872 file.
20873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20874 file.
20875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20876 file.
20877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20878 file.
20879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20880 New file.
20881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20882 file.
20883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20884 file.
20885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20886 New file.
20887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20888 file.
20889 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20890 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20891 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20892 file.
20893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20894 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20896 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20897 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20898 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20899 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20901 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20902 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20905 file.
20906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20907 New file.
20908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20909 file.
20910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20911 file.
20912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20913 file.
20914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20915 file.
20916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20917 file.
20918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20919 New file.
20920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20921 New file.
20922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20923 file.
20924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20925 New file.
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20927 file.
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20930 file.
20931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20932 New file.
20933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20934 file.
20935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20936 file.
20937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20938 file.
20939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20940 file.
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20942 file.
20943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20944 New file.
20945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20946 New file.
20947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20948 file.
20949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20950 New file.
20951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20952 file.
20953
41d73a1b
JM
209542012-04-28 Joseph Myers <joseph@codesourcery.com>
20955
20956 * conform/conformtest.pl: Fix typo in handling typed-constant from
20957 allow-header.
20958
28aeeda4
JM
209592012-04-27 Joseph Myers <joseph@codesourcery.com>
20960
adae8f5e
JM
20961 * README: Cut down references to pre-2.6 Linux kernels and
20962 Linuxthreads. Update lists of configurations in libc and ports
20963 and sort alphabetically. Say "or newer" with Linux kernel version
20964 requirements.
20965
28aeeda4
JM
20966 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20967
a462cb63
RA
209682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20969
20970 [BZ #887]
20971 * math/libm-test.inc (logb_test_downward): New test to expose
20972 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20973 rounding mode.
20974
6ad3493e
JM
209752012-04-27 Joseph Myers <joseph@codesourcery.com>
20976
20977 [BZ #14027]
20978 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20979 to be done.
20980 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20981 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20982
2ce4f015
JM
209832012-04-26 Joseph Myers <joseph@codesourcery.com>
20984
5aeb141a
JM
20985 * sysdeps/unix/i386/brk.S: Remove file.
20986 * sysdeps/unix/i386/dl-brk.S: Likewise.
20987 * sysdeps/unix/i386/pipe.S: Likewise.
20988 * sysdeps/unix/i386/sigreturn.S: Likewise.
20989 * sysdeps/unix/i386/syscall.S: Likewise.
20990 * sysdeps/unix/i386/vfork.S: Likewise.
20991 * sysdeps/unix/i386/wait.S: Likewise.
20992
7143acae
JM
20993 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20994 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20995
2ce4f015
JM
20996 * configure.in (arm*-none*): Do not allow without
20997 --enable-hacker-mode.
20998 (netbsd*): Remove case setting base_os.
20999 (386bsd*): Likewise.
21000 (freebsd*): Likewise.
21001 (bsdi*): Likewise.
21002 (osf*): Likewise.
21003 (sunos*): Likewise.
21004 (ultrix*): Likewise.
21005 (newsos*): Likewise.
21006 (dynix*): Likewise.
21007 (*bsd*): Likewise.
21008 (sysv*): Likewise.
21009 (isc*): Likewise.
21010 (esix*): Likewise.
21011 (sco*): Likewise.
21012 (minix*): Likewise.
21013 (irix4*): Likewise.
21014 (irix6*): Likewise.
21015 (solaris[2-9]*): Likewise.
21016 (none): Likewise.
21017 * configure: Regenerated.
21018
0ac229c8
AZ
210192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21020
21021 [BZ #11521]
21022 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21023 overflow or cancellation in calculating denominator.
21024 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21026 down expression to avoid unexpected rounding in newer GCCs.
21027 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21028
33f244f4
DM
210292012-04-26 David S. Miller <davem@davemloft.net>
21030
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21032 long-double compat symbols.
21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21046
cfa1f3e8
DM
210472012-04-25 David S. Miller <davem@davemloft.net>
21048
21049 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21050 HWCAP_* values only after the memory barriers have been defined.
21051 (atomic_full_barrier): Define.
21052 (atomic_read_barrier): Define.
21053 (atomic_write_barrier): Define.
21054
6e236b92
SP
210552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21056
21057 * shlib-versions: Add libgcc_s version information.
21058 * sysdeps/generic/libgcc_s.h: Remove.
21059 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21060 libgcc_s.h.
21061 * sysdeps/gnu/unwind-resume.c: Likewise.
21062 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21063
aab39a09
DM
210642012-04-25 David S. Miller <davem@davemloft.net>
21065
21066 * sysdeps/unix/sparc/brk.S: Delete.
21067 * sysdeps/unix/sparc/dl-brk.S: Delete.
21068 * sysdeps/unix/sparc/pipe.S: Delete.
21069 * sysdeps/unix/sparc/sysdep.S: Delete.
21070 * sysdeps/unix/sparc/sysdep.h: Delete.
21071 * sysdeps/unix/sparc/vfork.S: Delete.
21072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21073 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21074 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21075 ret_ERRVAL, r0, r1, MOVE): Define.
21076 (JUMPTARGET): Remove.
21077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21078 sysdeps/unix/sparc/sysdep.h
21079 (ENTRY, END): Remove.
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21081
a3cc4f48
JM
210822012-04-25 Joseph Myers <joseph@codesourcery.com>
21083
2ed8cda2
JM
21084 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21085 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21086 -DIS_IN_build.
21087
35d76d59
JM
21088 * timezone/README: Update upstream location and email address for
21089 tzcode and tzdata.
21090 * timezone/zdump.c: Update from tzcode 2012b.
21091 * timezone/zic.c: Likewise.
21092
a3cc4f48
JM
21093 * configure.in (libc_cv_as_needed): Remove test.
21094 * configure: Regenerated.
21095 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21096 conditional definition.
21097 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21098 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21099 * config.make.in (have-as-needed): Remove variable.
21100
ceab42c3
SP
211012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21102 Paul Pluzhnikov <ppluzhnikov@google.com>
21103
21104 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21105 strings correctly.
21106
3ce2865f
CLT
211072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21108
21109 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21110 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21111 * sysdeps/sh/strlen.S: Likewise.
21112
f37e0d68
JM
211132012-04-24 Joseph Myers <joseph@codesourcery.com>
21114
ae186e9a
JM
21115 * sysdeps/unix/fork.S: Remove file.
21116 * sysdeps/unix/i386/fork.S: Likewise.
21117 * sysdeps/unix/sparc/fork.S: Likewise.
21118
b96914af
JM
21119 * sysdeps/unix/system.c: Remove file.
21120 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21121
f37e0d68
JM
21122 * sysdeps/unix/getegid.S: Remove file.
21123 * sysdeps/unix/geteuid.S: Likewise.
21124
87ef29ca
RM
211252012-04-24 Roland McGrath <roland@hack.frob.com>
21126
83bcd236
RM
21127 * scripts/check-localplt.awk: New file.
21128 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21129 of diff.
21130 * scripts/data/localplt-generic.data: Add a comment.
21131
87ef29ca
RM
21132 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21133 NODE when __dir_mkfile failed.
21134 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21135 Reported by Ludovic Courtès <ludo@gnu.org>.
21136
e5a6e567
AJ
211372012-04-24 Andreas Jaeger <aj@suse.de>
21138
21139 * Makerules (common-clean): Also remove gen-as-const-headers
21140 files.
21141
c1820385
JM
211422012-04-24 Joseph Myers <joseph@codesourcery.com>
21143
21144 * Makerules (native-compile): Do not change working directory for
21145 build. Use $(OUTPUT_OPTION) in command.
21146 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21147
94e02fc4
AZ
211482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21149
21150 [BZ #13886]
21151 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21152 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21153 * math/libm-test.inc (floor_test): Add more tests.
21154 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21155
3a533ca3
JM
211562012-04-24 Joseph Myers <joseph@codesourcery.com>
21157
940ab4b3
JM
21158 * sysdeps/unix/getdents.c: Remove file.
21159 * sysdeps/unix/sysv/getdents.c: Likewise.
21160 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21161
90e037bd
JM
21162 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21163 sysdeps/unix/mman/syscalls.list.
21164 (mmap): Likewise.
21165 (mprotect): Likewise.
21166 (msync): Likewise.
21167 (munmap): Likewise.
21168 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21169 * sysdeps/unix/mman/syscalls.list: Remove.
21170 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21171
3a533ca3
JM
21172 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21173 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21174 * configure: Regenerated.
21175 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21176 $(libgcc_s_suffix).
21177 * config.make.in (libgcc_s_suffix): Remove variable.
21178
1ad743de
JM
211792012-04-23 Joseph Myers <joseph@codesourcery.com>
21180
4ad451e2
JM
21181 * sysdeps/unix/sysv/gethostname.c: Move to ...
21182 * sysdeps/posix/gethostname.c: ... here.
21183
5e37ce39
JM
21184 * sysdeps/unix/execve.S: Remove file.
21185
1ad743de
JM
21186 * sysdeps/unix/_exit.S: Remove file.
21187
4e681b5b
AJ
211882012-04-23 Andreas Jaeger <aj@suse.de>
21189
21190 [BZ #13739]
21191 * manual/Makefile: Remove make dist support, there's no
21192 need for a stand-alone documentation tar ball.
21193 (TEXI2DVI): Define always, it's not in Makeconfig.
21194 (dist): Removed.
21195 (tar-it): Removed.
21196 (edition): Removed.
21197 (glibc-doc-$(edition).tar): Removed
21198 (%.Z): Removed.
21199 (%.gz): Removed.
21200 (%.uu): Removed.
21201 (ETAGS): Remove, it's in Makeconfig.
21202 (move-if-change): Remove, it's in Makeconfig.
21203
38686a03 212042012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21205
21206 [BZ #13970]
21207 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21208 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21209 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21210 (strtod_l, strtof_l, strtold_l): Remove __wur.
21211 It is not necessarily an error to ignore strtol's return value.
21212 One can reliably look at the stored endptr to decide whether
21213 the number had valid syntax.
21214
7c0616fa
AJ
212152012-04-21 Andreas Jaeger <aj@suse.de>
21216
803cb6b7 21217 [BZ #13739]
7c0616fa
AJ
21218 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21219
b0fe253f
JM
212202012-04-21 Joseph Myers <joseph@codesourcery.com>
21221
21222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21223 * sysdeps/unix/sysv/Versions: Remove file.
21224
8280f22d
MT
212252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21226
21227 [BZ #13927]
21228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21229
75ce411f 212302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21231
21232 [BZ #7064]
21233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21234 version from __vm86.
21235
097d59fa
JM
212362012-04-20 Joseph Myers <joseph@codesourcery.com>
21237
a90f3bcb
JM
21238 * sysdeps/unix/common/lxstat.c: Remove file.
21239 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21240
edc7ea78
JM
21241 * sysdeps/unix/sysv/Makefile: Remove file.
21242
cb78c221
JM
21243 * sysdeps/unix/sysv/direct.h: Remove file.
21244
efa6a45f
JM
21245 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21246 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21247 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21248 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21249 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21250 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21251 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21252
9c9f2d0c
JM
21253 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21254
4541c83b
JM
21255 * sysdeps/unix/xmknod.c: Remove file.
21256 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21257
f5d153a0
JM
21258 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21259
aa746595
JM
21260 * sysdeps/unix/sysv/i386/time.S: Remove file.
21261
cce5905e
JM
21262 * sysdeps/unix/fxstat.c: Remove file.
21263 * sysdeps/unix/xstat.c: Likewise.
21264 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21265
37fa3841
JM
21266 * sysdeps/unix/sysv/sigaction.c: Remove file.
21267
ff1962a3
JM
21268 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21269 (sysdep_headers): Remove variable.
21270 [termio.h not in sysdep_headers] (generated): Likewise.
21271 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21272 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21273 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21274 * sysdeps/unix/sysv/tcflow.c: Likewise.
21275 * sysdeps/unix/sysv/tcflush.c: Likewise.
21276 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21277 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21278 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21279 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21280 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21281
e7740d31
JM
21282 * sysdeps/unix/siglist.c: Remove file.
21283
ee06f18b
JM
21284 * sysdeps/unix/getppid.S: Remove file.
21285
097d59fa
JM
21286 * sysdeps/unix/mkdir.c: Remove file.
21287 * sysdeps/unix/rmdir.c: Likewise.
21288
ff3d51ec
AS
212892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21290
21291 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21292 ERR_MAX value.
21293 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21294 errlist-compat value.
21295
50f81fd7
DM
212962012-04-18 David S. Miller <davem@davemloft.net>
21297
21298 * sysdeps/generic/memcopy.h (reg_char): Delete.
21299 * debug/strcat_chk.c: Use char, not reg_char.
21300 * debug/strcpy_chk.c: Likewise.
21301 * debug/strncat_chk.c: Likewise.
21302 * debug/strncpy_chk.c: Likewise.
21303 * string/memchr.c: Likewise.
21304 * string/memrchr.c: Likewise.
21305 * string/rawmemchr.c: Likewise.
21306 * string/strcat.c: Likewise.
21307 * string/strchr.c: Likewise.
21308 * string/strchrnul.c: Likewise.
21309 * string/strcmp.c: Likewise.
21310 * string/strcpy.c: Likewise.
21311 * string/strncat.c: Likewise.
21312 * string/strncmp.c: Likewise.
21313 * string/strncpy.c: Likewise.
21314
8ff41c46
WS
213152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21316
21317 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21318 __builtin_memcopy is called when src and dest ranges are known to not
21319 overlap.
21320
6b652f46
WS
213212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21322
21323 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21324 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21325 fwd_align_merge macro call.
21326 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21327 bwd_align_merge macro call.
21328 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21329
b282631e
WS
213302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21331
21332 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21333 bwd_align_merge macros.
21334 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21335 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21337
95aa737c
DM
213382012-04-18 David S. Miller <davem@davemloft.net>
21339
21340 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21341
7a99a614
AJ
213422012-04-18 Andreas Jaeger <aj@suse.de>
21343
21344 [BZ# 6794]
21345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21346 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21347 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21348
21349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21350 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21351 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21352
21353 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21354 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21355 Adjust for changed ldbl-128 files.
21356
21357 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21358 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21360
e5270c23
DM
213612012-04-17 David S. Miller <davem@davemloft.net>
21362
21363 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21364
fb5e92c9
AS
213652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21366
21367 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21368 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21369 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21370 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21371 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21372 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21373
76da7265
AZ
213742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21375
21376 [BZ #6794]
21377 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21378 * math/libm-test.inc: Add ilogb errno and exception tests.
21379 * math/w_ilogb.c: New file: ilogb wrapper.
21380 * math/w_ilogbf.c: New file: ilogbf wrapper.
21381 * math/w_ilogbl.c: New file: ilogbl wrapper.
21382 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21383 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21384 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21385 exception being thrown with 0.0 as argument.
21386 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21387 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21388 exception being thrown with 0.0 as argument.
21389 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21390 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21391 exception being thrown with 0.0 as argument.
21392 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21393 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21394 exception being thrown with 0.0 as argument.
21395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21396 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21398 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21400 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21401 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21402 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21403 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21404
0396e69d
PB
214052012-04-17 Petr Baudis <pasky@ucw.cz>
21406
21407 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21408 with altivec.
21409
750b5926
MP
214102012-04-16 Marek Polacek <polacek@redhat.com>
21411
21412 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21413
751728a1
MP
214142012-04-16 Marek Polacek <polacek@redhat.com>
21415
21416 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21417 operands of fdivp instruction.
21418
34a27407
L
214192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21420
21421 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21422 * elf/tst-auditmod3b.c: Likewise.
21423 * elf/tst-auditmod4b.c: Likewise.
21424 * elf/tst-auditmod5b.c: Likewise.
21425 * elf/tst-auditmod6b.c: Likewise.
21426 * elf/tst-auditmod6c.c: Likewise.
21427 * elf/tst-auditmod7b.c: Likewise.
21428 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21429 * sysdeps/x86_64/preconfigure.in: Likewise.
21430 * sysdeps/x86_64/preconfigure: Regenerated.
21431
7e73e17d
L
214322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21435 __ILP32__.
21436
c7a6ab72
AB
214372012-04-13 Antoine Balestrat <merkil33@gmail.com>
21438
21439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21440 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21441
a9e8e0e0
CL
214422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21443
21444 [BZ #13973]
21445 * locale/iso-639.def: Fix gl language name. Spotted by
21446 Yaron Shahrabani.
21447
ec98af7d
RM
214482012-04-12 Roland McGrath <roland@hack.frob.com>
21449
21450 [BZ #2074]
21451 * libio/libio.h (__io_write_fn): Update comment.
21452
247c3ede
PB
214532012-04-12 Petr Baudis <pasky@ucw.cz>
21454
21455 [BZ #2074]
21456 * stdio.texi (Hook Functions): The user provided writer function
21457 is not allowed to return -1.
21458
55939d6d
DM
214592012-04-11 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21462
90020f5a
MF
214632012-04-11 Mike Frysinger <vapier@gentoo.org>
21464
21465 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21466 Add a leading slash to rtkaio.
21467
288f9098
JM
214682012-04-11 Jim Meyering <meyering@redhat.com>
21469
90020f5a
MF
21470 [BZ #11959]
21471 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21472 It is not necessarily an error to ignore fwrite's return
21473 value. One can reliably use ferror to test for errors after
21474 the fact.
288f9098 21475
4be2b570
L
214762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21477
21478 * bits/types.h (__snseconds_t): New type.
21479 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21480
21481 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21483 (__SNSECONDS_T_TYPE): Likewise.
21484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21485 (__SNSECONDS_T_TYPE): Likewise.
21486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21487 (__SNSECONDS_T_TYPE): Likewise.
21488
288f9098 214892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21490
21491 [BZ #2636]
21492 * manual/time.texi (Processor Time): Return type of times is
21493 elapsed real time since an arbitrary point in the past.
21494 (CPU Time): Move CLK_TCK from here...
21495 (Processor Time): ...to here. Correct description.
21496 * manual/conf.texi (Constants for Sysconf): Correct description of
21497 _SC_CLK_TCK.
21498
d7dd4413
DM
214992012-04-10 David S. Miller <davem@davemloft.net>
21500
21501 [BZ #13967]
21502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21503 where the is a gap between DT_REL(A) and DT_JMPREL.
21504
b46068fc
L
215052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21508 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21509 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21510
73d65cc3
SP
215112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21512
21513 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21514 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21515 (dl_main): Handle --inhibit-cache.
21516 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21517 _dl_inhibit_cache.
21518 * elf/dl-load.c (_dl_map_object): Use it.
21519 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21520
bcc8d661
JM
215212012-04-09 Joseph Myers <joseph@codesourcery.com>
21522
8f9a2fae
JM
21523 [BZ #13872]
21524 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21525 (__ieee754_powl): Saturate large exponents rather than testing for
21526 overflow of y*log2(x).
21527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21528 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21529 exceptions.
21530
bcc8d661
JM
21531 [BZ #11521]
21532 * math/s_ctan.c: Include <float.h>.
21533 (__ctan): Avoid internal overflow or cancellation in calculating
21534 denominator.
21535 * math/s_ctanf.c: Likewise.
21536 * math/s_ctanl.c: Likewise.
21537 * math/s_ctanh.c: Likewise.
21538 * math/s_ctanhf.c: Likewise.
21539 * math/s_ctanhl.c: Likewise.
21540 * math/libm-test.inc (ctan_test): Add more tests.
21541 (ctanh_test): Likewise.
21542 * sysdeps/i386/fpu/libm-test-ulps: Update.
21543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544
823fbbb4
AJ
215452012-04-09 Andreas Jaeger <aj@suse.de>
21546
03879793
AJ
21547 [BZ #6894]
21548 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21549 is an optional BSD extension.
21550
823fbbb4
AJ
21551 [BZ #10254]
21552 * manual/stdio.texi (Opening Streams): Document additional fopen
21553 parameters.
21554
8de131cb
RM
215552012-04-09 Roland McGrath <roland@hack.frob.com>
21556
21557 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21558 %eax without telling the compiler.
21559
c0ed9d7d
CD
215602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21561
21562 [BZ # 13963]
21563 * manual/install.texi: Use sourceware.org.
21564
c483f6b4
JM
215652012-04-09 Joseph Myers <joseph@codesourcery.com>
21566
d7dd9453
JM
21567 [BZ #13873]
21568 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21569 (__ieee754_pow): Generate overflow and underflow using huge*huge
21570 and tiny*tiny rather than just returning constant infinity or zero
21571 for large exponents.
21572 * math/libm-test.inc (pow_test): Require overflow exceptions for
21573 applicable cases of large exponents.
21574
c483f6b4
JM
21575 [BZ #706]
21576 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21577 (__ieee754_pow): Use iterative multiplication algorithm only for
21578 integer exponents with absolute value below 1024. Check for odd
21579 integer exponents when using algorithm for real exponents.
21580 * math/libm-test.inc (pow_test): Add more tests.
21581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21582
d2de7579
JM
215832012-04-08 Joseph Myers <joseph@codesourcery.com>
21584
21585 [BZ #13705]
21586 * math/libm-test.inc (exp_test): Do not allow overflow exception
21587 on underflow test.
21588
f77f1232
AJ
215892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21590
21591 [BZ #13705]
21592 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21593 instead of __kernel_standard_f.
21594
3884932b
MF
215952012-04-08 Mike Frysinger <vapier@gentoo.org>
21596
21597 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21598 * sysdeps/x86_64/memset_chk.S: Likewise.
21599
54472e9c
AJ
216002012-04-08 Andreas Jaeger <aj@suse.de>
21601
6ab0fbfc
AJ
21602 [BZ #10153]
21603 * manual/startup.texi (Environment Access): Describe return value
21604 for putenv and setenv.
21605
61efba8c
AJ
21606 [BZ #6895]
21607 * manual/filesys.texi (Directory Entries): Add description for
21608 DT_LNK.
21609
95c3f29a
AJ
21610 [BZ #6890]
21611 * manual/filesys.texi (Directory Entries): Clarify that it's file
21612 system not operating system in the description of DT_UNKNOWN.
21613
54472e9c
AJ
21614 [BZ #6578]
21615 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21616
624254b1
SC
216172012-04-08 Stephen Compall <s11@member.fsf.org>
21618
21619 [BZ #6649]
21620 * manual/llio.texi (Opening and Closing Files): Add cross
21621 reference to explain mode argument.
21622
1e4920e0
MF
216232012-04-07 Mike Frysinger <vapier@gentoo.org>
21624
21625 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21626 * sysdeps/x86_64/memset_chk.S: Likewise.
21627
5ed848f3
DM
216282012-04-07 David S. Miller <davem@davemloft.net>
21629
21630 * elf/elf.h (R_SPARC_WDISP10): Define.
21631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21632 R_SPARC_SIZE32.
21633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21634 R_SPARC_SIZE64 and R_SPARC_H34.
21635
96154cd8
CD
216362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21637
21638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21639 conditions and remove no longer applicable assertion.
21640
9904dc47
L
216412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21642
21643 * bits/byteswap.h: Include <features.h>.
21644 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21645 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21646
f8887d0a
L
216472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21648
21649 * bits/byteswap.h (__bswap_16): Removed.
21650 Include <bits/byteswap-16.h> to get __bswap_16.
21651 * sysdeps/i386/bits/byteswap.h: Likewise.
21652 * sysdeps/s390/bits/byteswap.h: Likewise.
21653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21654 * bits/byteswap-16.h: New file.
21655 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21656 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21657 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21658 * string/Makefile (headers): Add bits/byteswap-16.h.
21659
62470f60
PP
216602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21661
21662 [BZ #13895]
21663 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21664 extra indirection.
21665 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21666 * nss/tst-nss-static.c: New.
21667
4dad7bab
RM
216682012-04-06 Robert Millan <rmh@gnu.org>
21669
21670 [BZ #6486]
21671 * manual/llio.texi (File Position Primitive): lseek
21672 refers to WHENCE when it really means OFFSET.
21673
e9142a17
AJ
216742012-04-06 Andreas Jaeger <aj@suse.de>
21675
2c040eff
AJ
21676 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21677 strncmp declarations.
21678
e9142a17
AJ
21679 * abilist/libc.abilist: Add __poll and __ppoll.
21680
ff9f1c5f
DM
216812012-04-05 David S. Miller <davem@davemloft.net>
21682
dcd2ae90
DM
21683 * scripts/check-local-headers.sh: Accept a host triplet in the
21684 path matched by the exclude regexp.
21685
993eb054
DM
21686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21687 definition.
21688 * sysdeps/powerpc/powerpc32/dl-machine.h
21689 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21690 * sysdeps/s390/s390-32/dl-machine.h
21691 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21692 * sysdeps/sparc/sparc32/dl-machine.h
21693 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21694 * sysdeps/sparc/sparc64/dl-machine.h
21695 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21696
ff9f1c5f
DM
21697 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21698 lazy binding.
48e2e132 21699 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21700 undefined symbol errors.
21701
48e2e132 21702 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21703 DT_NEEDED entries.
21704
e80d6f94
MM
217052012-04-05 Michael Matz <matz@suse.de>
21706
21707 [BZ #13592]
21708 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21709
349fa79f
AJ
217102012-04-05 Andreas Jaeger <aj@suse.de>
21711
21712 [BZ #13908]
21713 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21714 comment.
21715
f402708f
KK
217162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21717
21718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21719 which ROUND is no valid rounding mode.
21720
2ecccfc9
KK
217212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21722
21723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21724 read again.
21725 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21726
8a53f50f
KK
217272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21728
21729 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21730 an exception using FPU order intentionally.
21731
217322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21733
21734 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21735 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21736 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21737 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21738
d653abb7
SJ
217392012-04-05 Simon Josefsson <simon@josefsson.org>
21740
21741 [BZ #12340]
21742 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21743 EINVAL when BUFLEN is too smal.
21744
c3b1bf7d
TS
217452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21746
21747 [BZ #13553]
21748 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21749 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21750
b1aa60f3
AJ
217512012-04-03 Andreas Jaeger <aj@suse.de>
21752
c3b1bf7d 21753 [BZ #13938]
67f60a26
AJ
21754 * manual/setjmp.texi (System V contexts): Fix sentence.
21755
b1aa60f3
AJ
21756 [BZ #13926]
21757 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21758 New macro for this case.
21759 [!__GNUC__] (__bswap_64): New inline function for this case.
21760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21761 * bits/byteswap.h: Likewise.
21762 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21763 ull, guard with __GLIBC_HAVE_LONG_LONG.
21764
21765 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21766 __GLIBC_HAVE_LONG_LONG.
21767
21768 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21769 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21770
39c59c35
TMQMF
217712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21772
21773 [BZ #13691]
21774 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21775 inptr and inend, rather than using last_ch.
21776
135ffda8
DM
217772012-04-02 David S. Miller <davem@davemloft.net>
21778
21779 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21780 * stdio-common/printf-parse.h (read_int): Change return type to
21781 'int', return -1 on INT_MAX overflow.
21782 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21783 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21784 overflows INT_MAX. Check for overflow of in-format-string precision
21785 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21786 SIZE_MAX not INT_MAX for integer overflow test.
21787 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21788 skip the construct in the format string but do not record anything.
21789 * stdio-common/bug22.c: Adjust to test both width/prevision
21790 INT_MAX overflow as well as total length INT_MAX overflow. Check
21791 explicitly for proper errno values.
21792
228c019e
TS
217932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21794
302cadd3
TS
21795 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21796 CHAR_MAX.
21797 * string/test-strcmp.c [! WIDE]: Likewise.
21798 * time/tst-mktime2.c: Likewise for INT_MAX.
21799 * string/test-string.h: #include <sys/param.h> for MIN.
21800
228c019e
TS
21801 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21802 * sysdeps/i386/init-first.c (init): Likewise.
21803 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21804 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21805 * sysdeps/sh/init-first.c (init): Likewise.
21806
cfa633f5
UD
218072012-04-01 Ulrich Drepper <drepper@gmail.com>
21808
21809 * po/ru.po: Update from translation team.
d1635ef8 21810 * po/vi.po: Likewise.
cfa633f5 21811
6cd0a5ea
SP
218122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21813
21814 * resolv/nss_dns/dns-host.c: Merge copyright years.
21815
4b43400f
LD
218162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21817
21818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21819 Optimize memcpy with prefetch if
21820 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21821 src, dst pointers have unequal 16 byte alignments.
21822
48c41d04
SP
218232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21824
21825 [BZ #13928]
21826 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21827 from a CNAME entry and return the minimum ttl for the query.
21828 (gaih_getanswer_slice): Likewise.
21829
b8dc394d
JL
218302012-03-30 Jeff Law <law@redhat.com>
21831
21832 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21833 due to long keys.
21834 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21835 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21836
2f5a5ed0
JL
21837 * resolv/nss_dns/dns-host.c: Update copyright year.
21838
1d39e359
UD
218392012-03-30 Ulrich Drepper <drepper@gmail.com>
21840
c030f70c 21841 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21842 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21843
1d39e359
UD
21844 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21845 comments for sendmmsg.
21846
218472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21848
21849 [BZ #13691]
21850 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21851 with only 1 character between 0x0041 and 0x01b0.
21852 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21853 * wcsmbs/tst-mbsnrtowcs.c: New file.
21854
20fde227
DM
218552012-03-29 David S. Miller <davem@davemloft.net>
21856
21857 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21858 small copies by hand.
21859
984a4237
JL
218602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21861
21862 [BZ #13761]
21863 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21864 _nss_compat_initgroups_dyn): Fall back to malloc/free
21865 for large group memberships.
21866
18c9d62b
DM
218672012-03-28 David S. Miller <davem@davemloft.net>
21868
88d85d4f
DM
21869 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21870 that branches into memcpy.
21871 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21874 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21876 bits.
21877 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21878 implementation too.
21879 * sysdeps/sparc/mempcpy.S: New file.
21880
e5aa83e1
DM
21881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21882 the IFUNC routine in the libc case.
21883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21884
88570753
DM
21885 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21886 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21887 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21888 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21889 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21890 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21891 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21892 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21893
249d7567
DM
21894 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21895 loop to 256 bytes instead of 64 bytes and fix test signedness.
21896
18c9d62b
DM
21897 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21898 * sysdeps/sparc/sparc32/Makefile: rather than here...
21899 * sysdeps/sparc/sparc64/Makefile: and here.
21900
05f3d1f6
UD
219012012-03-28 Ulrich Drepper <drepper@gmail.com>
21902
21903 * malloc/mallocbug.c: Avoid warnings about unused variables.
21904
86ae07a8
JL
219052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21906
21907 [BZ #13760]
21908 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21909 in the right place. Discard and retry query if response is
21910 larger than input buffer size.
21911
41bf21a1
JM
219122012-03-28 Joseph Myers <joseph@codesourcery.com>
21913
d6270972
JM
21914 [BZ #369]
21915 [BZ #2678]
21916 [BZ #3866]
21917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21918 x for large integer exponent.
21919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21920 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21921 sign of result as needed afterwards.
21922 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21923 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21924 result for underflowing pow the same as for overflow.
21925 (__kernel_standard_l): Handle powl overflow and underflow here
21926 rather than calling __kernel_standard.
21927 * math/libm-test.inc (pow_test): Add more tests.
21928
414fca03 21929 [BZ #3868]
41bf21a1
JM
21930 [BZ #13879]
21931 [BZ #13910]
21932 [BZ #13911]
21933 [BZ #13912]
21934 [BZ #13913]
21935 [BZ #13915]
21936 [BZ #13916]
21937 [BZ #13917]
21938 [BZ #13918]
21939 [BZ #13919]
21940 [BZ #13920]
21941 [BZ #13921]
21942 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21943 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21944 (__kernel_standard_l): New function.
21945 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21946 __kernel_standard.
21947 * math/w_acosl.c (__acosl): Likewise.
21948 * math/w_asinl.c (__asinl): Likewise.
21949 * math/w_atan2l.c (__atan2l): Likewise.
21950 * math/w_atanhl.c (__atanhl): Likewise.
21951 * math/w_coshl.c (__coshl): Likewise.
21952 * math/w_exp10l.c (__exp10l): Likewise.
21953 * math/w_exp2l.c (__exp2l): Likewise.
21954 * math/w_fmodl.c (__fmodl): Likewise.
21955 * math/w_hypotl.c (__hypotl): Likewise.
21956 * math/w_j0l.c (__j0l, __y0l): Likewise.
21957 * math/w_j1l.c (__j1l, __y1l): Likewise.
21958 * math/w_jnl.c (__jnl, __ynl): Likewise.
21959 * math/w_lgammal.c (__lgammal): Likewise.
21960 * math/w_log10l.c (__log10l): Likewise.
21961 * math/w_log2l.c (__log2l): Likewise.
21962 * math/w_logl.c (__logl): Likewise.
21963 * math/w_powl.c (__powl): Likewise.
21964 * math/w_remainderl.c (__remainderl): Likewise.
21965 * math/w_scalbl.c (sysv_scalbl): Likewise.
21966 * math/w_sinhl.c (__sinhl): Likewise.
21967 * math/w_sqrtl.c (__sqrtl): Likewise.
21968 * math/w_tgammal.c (__tgammal): Likewise.
21969 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21970 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21971 * math/libm-test.inc (acos_test): Add more tests.
21972 (acosh_test): Likewise.
21973 (asin_test): Likewise.
21974 (atanh_test): Likewise.
21975 (exp_test): Likewise.
21976 (exp10_test): Likewise.
21977 (exp2_test): Likewise.
21978 (expm1_test): Likewise.
21979 (lgamma_test): Likewise.
21980 (log_test): Likewise.
21981 (log10_test): Likewise.
21982 (log1p_test): Likewise.
21983 (log2_test): Likewise.
21984 (pow_test): Do not allow some spurious overflow exceptions.
21985 (sqrt_test): Add more tests.
21986 (tgamma_test): Likewise.
21987 (y0_test): Likewise.
21988 (y1_test): Likewise.
21989 (yn_test): Likewise.
21990
dd62fda6
AB
219912012-03-27 Anton Blanchard <anton@samba.org>
21992
21993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21994 MAP_HUGETLB.
21995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21996 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21998
1e3cdfda
AJ
219992012-03-27 David S. Miller <davem@davemloft.net>
22000
b855ab85
DM
22001 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22002
1e3cdfda
AJ
22003 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22004 have-as-vis3 check.
22005
220062012-03-27 Andreas Jaeger <aj@suse.de>
22007
22008 * sysdeps/x86_64/elf/configure.in: Moved to ...
22009 * sysdeps/x86_64/configure.in: ... here.
22010 * sysdeps/x86_64/elf/start.S: Moved to ...
22011 * sysdeps/x86_64/start.S: ... here.
22012 * sysdeps/x86_64/elf/configure: Delete.
22013
22014 * sysdeps/x86_64/configure.in: Merge contents from
22015 sysdeps/i386/configure.in (without i686 check).
22016
22017 * sysdeps/i386/elf/Versions: Merge into ...
22018 * sysdeps/i386/Versions: ... this.
22019 * sysdeps/i386/elf/Versions: Delete file.
22020 * sysdeps/i386/elf/start.S: Moved to ...
22021 * sysdeps/i386/start.S: ...here.
22022 * sysdeps/i386/elf/configure.in: Merge into...
22023 * sysdeps/i386/configure.in: ...here.
22024 * sysdeps/i386/elf/configure.in: Delete file.
22025 * sysdeps/i386/elf/configure: Delete file.
22026
22027 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22028 * debug/backtracesyms.c: ... here.
22029 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22030 * debug/backtracesymsfd.c: ... here.
22031 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22032 * sysdeps/generic/ifunc-sel.h: ... here.
22033
22034 * sysdeps/unix/i386/start.c: Delete file.
22035 * sysdeps/unix/sparc/start.c: Delete file.
22036 * sysdeps/unix/start.c: Delete file.
22037
22038 * sysdeps/sh/elf/configure.in: Moved to ...
22039 * sysdeps/sh/configure.in: ... here.
22040 * sysdeps/sh/elf/start.S: Moved to ...
22041 * sysdeps/sh/start.S: ... here.
22042 * sysdeps/sh/elf/configure: Delete file.
22043
22044 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22045 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22046 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22047 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22048 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22049 * sysdeps/powerpc/powerpc64/start.S: here.
22050 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22051 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22052 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22053 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22054 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22055
22056 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22057 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22058 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22059 * sysdeps/powerpc/powerpc32/start.S: ... here.
22060 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22061 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22062 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22063
22064 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22065 * sysdeps/powerpc/ifunc-sel.h: ... here.
22066 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22067 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22068
22069 * sysdeps/sparc/elf/configure.in: Moved to ...
22070 * sysdeps/sparc/configure.in: ... here.
22071 * sysdeps/sparc/elf/configure: Delete file.
22072 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22073 * sysdeps/sparc/sparc32/start.S: ... here.
22074 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22075 * sysdeps/sparc/sparc64/start.S: ... here.
22076 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22077 * sysdeps/sparc/sparc32/Makefile: ... this.
22078 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22079 * sysdeps/sparc/sparc64/Makefile: ... this.
22080
22081 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22082 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22083 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22084 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22085 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22086 * sysdeps/s390/s390-32/setjmp.S: ... here.
22087 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22088 * sysdeps/s390/s390-32/configure.in: ... here.
22089 * sysdeps/s390/s390-32/elf/configure: Delete file.
22090 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22091 * sysdeps/s390/s390-32/start.S: ... here.
22092
22093 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22094 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22095 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22096 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22097 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22098 * sysdeps/s390/s390-64/setjmp.S: ... here.
22099 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22100 * sysdeps/s390/s390-64/configure.in: ... here
22101 * sysdeps/s390/s390-64/elf/configure: Delete file.
22102 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22103 * sysdeps/s390/s390-64/start.S: ... here.
22104 * sysdeps/s390/s390-64/elf/configure: Delete.
22105
22106 * configure.in: Remove support for elf directories in sysdeps.
22107
22108 * configure: Regenerated.
22109 * sysdeps/i386/configure: Regenerated.
22110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22111 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22112 * sysdeps/s390/s390-32/configure: Regenerated.
22113 * sysdeps/s390/s390-64/configure: Regenerated.
22114 * sysdeps/sh/configure: Regenerated.
22115 * sysdeps/sparc/configure: Regenerated.
22116 * sysdeps/x86_64/configure: Regenerated.
22117
a3f61311
AS
221182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22119
c876e002
AS
22120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22121
a3f61311
AS
22122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22123 denormal result into account.
22124
ac4c54f0
RM
221252012-03-25 Roland McGrath <roland@hack.frob.com>
22126
22127 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22128 Reported by Allan McRae <allan@archlinux.org>.
22129
6a9b9c02
JL
221302012-03-23 Jeff Law <law@redhat.com>
22131
22132 * nss/getnssent.c (__nss_getent): Fix typo.
22133
4c42a0c1
DM
221342012-03-23 David S. Miller <davem@davemloft.net>
22135
22136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22137
1532c7ac
L
221382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22139
22140 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22141 to pad to uint64_t for each field.
22142 (dl_tls_index): Replace unsigned long with uint64_t.
22143
3ff42526
PP
221442012-03-23 Daniel Jacobowitz <dmj@google.com>
22145 Paul Pluzhnikov <ppluzhnikov@google.com>
22146
22147 [BZ #6528]
22148 * grp/Makefile (otherlibs): Don't set it.
22149 * inet/Makefile (otherlibs): Likewise.
22150 * login/Makefile (otherlibs): Likewise.
22151 * nscd/Makefile (otherlibs): Likewise.
22152 * posix/Makefile (otherlibs): Likewise.
22153 * pwd/Makefile (otherlibs): Likewise.
22154 * rt/Makefile (otherlibs): Likewise.
22155 * sunrpc/Makefile (otherlibs): Likewise.
22156 * nss/Makefile (otherlibs): Likewise.
22157 Add libnss_files to routines and static-only-routines.
22158 ($(objpfx)getent): Remove rule.
22159 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22160 static-only-routines.
22161
7c69cd14
JM
221622012-03-22 Joseph Myers <joseph@codesourcery.com>
22163
22164 [BZ #13892]
22165 * math/s_cexp.c: Include <float.h>.
22166 (__cexp): Handle exp result overflowing not necessarily
22167 overflowing both real and imaginary parts of result.
22168 * math/s_cexpf.c: Likewise.
22169 * math/s_cexpl.c: Likewise.
22170 * math/libm-test.inc (cexp_test): Add more tests.
22171 * sysdeps/i386/fpu/libm-test-ulps: Update.
22172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22173
81b035fe
L
221742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22175
22176 * include/link.h (ELFW): New macro.
22177 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22178 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22179
1da7940c
L
221802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22181
22182 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22183 with uint64_t.
22184
b749dbb9
L
221852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22186
22187 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22188 declaration.
22189 (struct La_x32_retval): Likewise.
22190
2ff87f3f
L
221912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22192
22193 * sysdeps/x86_64/preconfigure.in: New file.
22194 * sysdeps/x86_64/preconfigure: New generated file.
22195
c0df8e69
JM
221962012-03-22 Joseph Myers <joseph@codesourcery.com>
22197
48e44791
JM
22198 [BZ #13824]
22199 * math/e_exp2l.c: Include <float.h>.
22200 (__ieee754_exp2l): Handle overflow and underflow cases
22201 separately. Only pass fractional part of argument to
22202 __ieee754_expl.
22203 * math/libm-test.inc (exp2_test): Add more tests.
22204
c0df8e69
JM
22205 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22206 negating x to take absolute value.
22207 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22208 Likewise.
22209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22211 Likewise.
22212 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22213 computing low part if x was negated.
22214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22215
c8e43ba7
L
222162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22217
22218 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22219 la_x32_gnu_pltexit.
22220 (pltexit): Cast int_retval to ptrdiff_t.
22221 * elf/tst-auditmod3b.c: Likewise.
22222 * elf/tst-auditmod4b.c: Likewise.
22223 * elf/tst-auditmod5b.c: Likewise.
22224 * elf/tst-auditmod6b.c: Likewise.
22225 * elf/tst-auditmod6c.c: Likewise.
22226 * elf/tst-auditmod7b.c: Likewise.
22227
22228 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22229 and x32_gnu_pltexit.
22230
22231 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22232 __ELF_NATIVE_CLASS.
22233 (La_x32_regs): New macro.
22234 (La_x32_retval): Likewise.
22235 (la_x32_gnu_pltenter): New function prototype.
22236 (la_x32_gnu_pltexit): Likewise.
22237
7998fa78
AS
222382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22239
dcb33988
AS
22240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22241 exponent.
22242
233fc563
AS
22243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22244
7998fa78
AS
22245 * configure.in (libc_cv_cc_nofma): Check for option to disable
22246 generation of FMA instructions.
22247 * configure: Regenerate.
22248 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22249 * sysdeps/ieee754/dbl-64/Makefile: New file.
22250 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22251 Remove brandred-fma4.
22252 (CFLAGS-brandred-fma4.c): Remove.
22253 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22255 define.
22256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22257 define.
22258
8e95c99a
L
222592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22260
22261 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22262 LLONG_MAX != LONG_MAX.
22263 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22264 (_fitoa_word): Likewise.
22265 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22266 LLONG_MAX != LONG_MAX.
22267 * stdio-common/_itowa.h: Include <_itoa.h>.
22268 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22269 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22270 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22271 only if not defined.
22272 (_ITOA_WORD_TYPE): Likewise.
22273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22274 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22275
6f4db457
DM
222762012-03-21 David S. Miller <davem@davemloft.net>
22277
22278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22279
7785fe5a
L
222802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22281
22282 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22283 of x86_64 when setting libc_cv_slibdir, libdir and
22284 libc_cv_localedir.
22285 * sysdeps/unix/sysv/linux/configure: Regenerated.
22286
4535cd55
JM
222872012-03-21 Joseph Myers <joseph@codesourcery.com>
22288
22289 * manual/lang.texi (Old Varargs): Remove section.
22290 (How Variadic): Update menu.
22291 (va_start): Do not mention varargs.h.
22292
17228132
TS
222932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22294 Joseph Myers <joseph@codesourcery.com>
22295
22296 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22297 link test.
22298 * configure: Regenerated.
22299
8149f976
TS
223002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22301
05f3d1f6
UD
22302 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22303 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22304 conformtest.pl
8149f976 22305
1a4ac776
JM
223062012-03-21 Joseph Myers <joseph@codesourcery.com>
22307
be22ce65
JM
22308 * NOTES: Remove.
22309 * Makefile (files-for-dist): Remove NOTES.
22310 (NOTES): Remove rule.
22311 * README: Don't refer to NOTES.
22312 * manual/creature.texi: Don't include macros.texi.
22313 * manual/intro.texi (creature.texi): Remove comment referring to
22314 NOTES.
22315
40b601fb
JM
22316 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22317 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22318 * configure: Regenerated.
22319 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22320 LIBC_TRY_CC_OPTION.
22321 (libc_cv_as_i686): Likewise.
22322 (libc_cv_cc_avx): Likewise.
22323 (libc_cv_cc_sse2avx): Likewise.
22324 (libc_cv_cc_fma4): Likewise.
22325 (libc_cv_cc_novzeroupper): Likewise.
22326 * sysdeps/i386/configure: Regenerated.
22327
1a4ac776
JM
22328 [BZ #13883]
22329 * sysdeps/i386/fpu/s_cexp.S: Remove.
22330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22331 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22332 * math/libm-test.inc (cexp_test): Add more tests.
22333 * sysdeps/i386/fpu/libm-test-ulps: Update.
22334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335
a458e7fe
AM
223362012-03-21 Allan McRae <allan@archlinux.org>
22337
22338 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22339
0cb7efc5
JM
223402012-03-21 Joseph Myers <joseph@codesourcery.com>
22341
22342 [BZ #13871]
22343 * math/w_exp2.c: Do not include <float.h>.
22344 (o_threshold, u_threshold): Remove.
22345 (__exp2): Calculate result before checking finiteness and calling
22346 __kernel_standard.
22347 * math/w_exp2f.c: Likewise.
22348 * math/w_exp2l.c: Likewise.
22349 * math/libm-test.inc (exp2_test): Require overflow exception for
22350 1e6 input.
2460d3aa
JM
22351
22352 [BZ #3866]
22353 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22354 range of signed 64-bit integers before using fistpll. Remove
22355 checks for whether integers fit in mantissa bits.
22356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22357 the range of signed 32-bit integers before using fistpl. Remove
22358 checks for whether integers fit in mantissa bits.
22359 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22360 (__ieee754_powl): Test for y outside the range of signed 64-bit
22361 integers before using fistpll. Reduce 64-bit values to 63-bit
22362 ones as needed.
22363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22364 divide-by-zero is raised for zero to large negative powers.
22365 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22366 (__ieee754_powl): Test for y outside the range of signed 64-bit
22367 integers before using fistpll. Reduce 64-bit values to 63-bit
22368 ones as needed.
22369 * math/libm-test.inc (pow_test): Add more tests.
22370
eb96ffb0
L
223712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22374 <stdio-common/_itoa.h>.
22375 * debug/segfault.c: Likewise.
22376 * elf/dl-cache.c: Likewise.
22377 * elf/dl-minimal.c: Likewise.
22378 * elf/dl-misc.c: Likewise.
22379 * elf/dl-sysdep.c: Likewise.
22380 * elf/dl-version.c: Likewise.
22381 * elf/rtld.c: Likewise.
22382 * hurd/hurdsock.c: Likewise.
22383 * hurd/lookup-retry.c: Likewise.
22384 * malloc/malloc.c: Likewise.
22385 * malloc/mtrace.c: Likewise.
22386 * nscd/nscd_getgr_r.c: Likewise.
22387 * nscd/nscd_getpw_r.c: Likewise.
22388 * nscd/nscd_getserv_r.c: Likewise.
22389 * posix/getopt_init.c: Likewise.
22390 * posix/wordexp.c: Likewise.
22391 * stdio-common/_itoa.c: Likewise.
22392 * stdio-common/printf_fphex.c: Likewise.
22393 * stdio-common/vfprintf.c: Likewise.
22394 * string/_strerror.c: Likewise.
22395 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22396 * sysdeps/i386/i686/hp-timing.h: Likewise.
22397 * sysdeps/mach/_strerror.c: Likewise.
22398 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22399 * sysdeps/mach/hurd/sethostid.c: Likewise.
22400 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22401 * sysdeps/mach/xpg-strerror.c: Likewise.
22402 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22403 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22404 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22405 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22407 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22408 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22409 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22410 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22411 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22412 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22414 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22415 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22416 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22417 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22418 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22420 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22421 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22422 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22423
22424 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22425
22426 * stdio-common/_itoa.h: Moved to ...
22427 * sysdeps/generic/_itoa.h: Here.
22428
22429 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22430
22431 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22432 instead of "_itoa.h" and "_itowa.h".
22433 * stdio-common/vfprintf.: Likewise.
22434
d1af992d
L
224352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22438 <bits/wordsize.h>.
22439 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22440 (__signbit): Likwise.
22441 (llrintf): Likwise.
22442 (llrint): Likwise.
22443
114883e0
L
224442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22445
22446 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22447 __WORDSIZE != 64.
22448
c135cc1b
JM
224492012-03-20 Joseph Myers <joseph@codesourcery.com>
22450
22451 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22452 OVERFLOW_EXCEPTION_OK.
22453 * math/libm-test.inc ("Philosophy"): Update comment about
22454 exception testing.
22455 (OVERFLOW_EXCEPTION): Define.
22456 (OVERFLOW_EXCEPTION_OK): Likewise.
22457 (INVALID_EXCEPTION_OK): Renumber.
22458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22459 (IGNORE_ZERO_INF_SIGN): Likewise.
22460 (test_exceptions): Handle FE_OVERFLOW.
22461 (exp10_test): Expect overflow exceptions.
22462 (exp2_test): Likewise.
22463 (expm1_test): Likewise.
22464 (nextafter_test): Likewise.
22465 (pow_test): Likewise.
22466 (scalbn_test): Likewise.
22467 (scalbln_test): Likewise.
22468
95443d88
L
224692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22470
22471 * sysdeps/x86_64/bits/atomic.h
22472 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22473 64bit integer.
22474 (atomic_exchange_acq): Likewise.
22475 (__arch_exchange_and_add_body): Likewise.
22476 (__arch_add_body): Likewise.
22477 (atomic_add_negative): Likewise.
22478 (atomic_add_zero): Likewise.
22479
490df6c4
L
224802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22481
c2722551 22482 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22483 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22484
5e52b189
L
224852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22486
22487 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22488 Check __x86_64__ instead of __WORDSIZE.
22489
a9879d4c
L
224902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22491
22492 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22493
5df98260
DM
224942012-03-19 David S. Miller <davem@davemloft.net>
22495
e1497744
DM
22496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22497
5df98260
DM
22498 * sysdeps/sparc/fpu/fenv_private.h: New file.
22499 * sysdeps/sparc/fpu/math_private.h: Use it.
22500 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22501 Remove.
22502 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22503 (libc_feholdexcept_setroundl): Remove.
22504 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22505 Remove.
22506 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22507 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22508
b4c35121
L
225092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22510
22511 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22512 int64_t instead of long int.
22513 (INSERT_WORDS64): Likwise.
22514
56965fd7
L
225152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22516
22517 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22518 _Unwind_GetCFA return to _Unwind_Ptr first.
22519
83d1aec8
JM
225202012-03-19 Joseph Myers <joseph@codesourcery.com>
22521
1897ad44
JM
22522 [BZ #13629]
22523 * math/s_clog.c: Include <float.h>.
22524 (__clog): Scale large or subnormal inputs.
22525 * math/s_clogf.c: Likewise.
22526 * math/s_clogl.c: Likewise.
22527 * math/s_clog10.c: Include <float.h>.
22528 (M_LOG10_2): Define.
22529 (__clog10): Scale large or subnormal inputs.
22530 * math/s_clog10f.c: Likewise.
22531 * math/s_clog10l.c: Likewise.
22532 * math/libm-test.inc (clog_test): Add more tests.
22533 (clog10_test): Likewise.
22534 * sysdeps/i386/fpu/libm-test-ulps: Update.
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22536
7726d6a9
JM
22537 [BZ #11451]
22538 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22539 x and y.
22540 * math/libm-test.inc (atan2_test): Add another test.
22541
83d1aec8
JM
22542 * Makerules (common-objdir-compile): Remove.
22543 * sysdeps/unix/Makefile (config-generated): Do not add
22544 $(unix-generated) to variable.
22545 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22546 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22547 Remove rule.
22548 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22549 Likewise.
22550 [generic bits/local_lim.h] (before-compile): Do not append to
22551 variable.
22552 [generic bits/local_lim.h] (common-generated): Likewise.
22553 [generic sys/param.h] (before-compile): Do not append to variable.
22554 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22555 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22556 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22557 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22558 include.
22559 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22560 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22561 [generic sys/param.h] ($(addprefix
22562 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22563 [generic sys/param.h] (common-generated): Do not append to
22564 variable.
22565 [generic sys/param.h] (sysdep_headers): Likewise.
22566 [generic bits/errno.h] (before-compile): Do not append to
22567 variable.
22568 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22569 rule.
22570 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22571 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22572 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22573 [generic bits/errno.h] (common-generated): Do not append to
22574 variable.
22575 [generic bits/ioctls.h] (before-compile): Do not append to
22576 variable.
22577 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22578 rule.
22579 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22580 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22581 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22582 rule.
22583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22584 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22585 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22586 [generic bits/ioctls.h] (common-generated): Do not append to
22587 variable.
22588 [generic sys/syscall.h] (syscall.h): Remove variable.
22589 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22590 rule.
22591 [generic sys/syscall.h] (before-compile): Do not append to
22592 variable.
22593 [generic sys/syscall.h] (common-generated): Likewise.
22594 * sysdeps/unix/errnos-tmpl.c: Remove file.
22595 * sysdeps/unix/errnos.awk: Likewise.
22596 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22597 * sysdeps/unix/ioctls.awk: Likewise.
22598 * sysdeps/unix/mk-local_lim.c: Likewise.
22599 * sysdeps/unix/snarf-ioctls: Likewise.
22600
4851a949
RH
226012012-03-19 Richard Henderson <rth@twiddle.net>
22602
bd37f2ee
RH
22603 * sysdeps/i386/fpu/fenv_private.h: New file.
22604 * sysdeps/i386/fpu/math_private.h: Use it.
22605 (math_opt_barrier, math_force_eval): Remove.
22606 (libc_feholdexcept_setround_53bit): Remove.
22607 (libc_feupdateenv_53bit): Remove.
22608 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22609 (math_opt_barrier, math_force_eval): Remove.
22610 (libc_feholdexcept): Remove.
22611 (libc_feholdexcept_setround): Remove.
22612 (libc_fetestexcept, libc_fesetenv): Remove.
22613 (libc_feupdateenv_test): Remove.
22614 (libc_feupdateenv, libc_feholdsetround): Remove.
22615 (libc_feresetround): Remove.
22616
d0adc922
RH
22617 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22618 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22619
0fe0f1f8
RH
22620 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22621 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22622 (libc_feupdateenv_testl): New.
22623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22624 (libc_feupdateenv_testf): New.
22625 (libc_feupdateenv): Use libc_feupdateenv_test.
22626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22627 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22628
eb92c487
RH
22629 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22630 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22631 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22632 (libc_feresetround_noex): New.
22633 (libc_feresetround_noexf): New.
22634 (libc_feresetround_noexl): New.
22635 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22636 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22637 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22638 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22639 SET_RESTORE_ROUND.
22640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22642 (__cos): Likewise.
22643 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22644 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22645 SET_RESTORE_ROUND_NOEX.
22646 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22647 SET_RESTORE_ROUND_NOEXF.
22648 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22649 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22650 (libc_feholdsetroundf): New.
22651 (libc_feresetround, libc_feresetroundf): New.
22652
7d2e8012
RH
22653 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22654 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22655 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22656
b4dabbb4
RH
22657 * sysdeps/generic/math_private.h: Include <fenv.h>.
22658 (default_libc_feholdexcept): New.
22659 (default_libc_feholdexcept_setround): New.
22660 (default_libc_fesetenv, default_libc_feupdateenv): New.
22661 (libc_feholdexcept): Only define if undefined.
22662 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22663 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22664 (libc_feholdexcept_setroundl): Likewise.
22665 (libc_feholdexcept_setround_53bit): Likewise.
22666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22667 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22668 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22669 (libc_feupdateenv_53bit): Likewise.
22670 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22671 (libc_feholdexcept): Convert from macro to inline function.
22672 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22673 (libc_fesetenv, libc_feupdateenv): Likewise.
22674
4851a949
RH
22675 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22676 not previously defined.
22677 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22678 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22679 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22680 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22681 * sysdeps/ieee754/flt-32/math_private.h: New file.
22682 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22683 math_private.h below SET_FLOAT_WORD.
22684 (__isnan, __isinf_ns, __finite): Remove.
22685 (__isnanf, __isinf_nsf, __finitef): Remove.
22686
e79d442e
AS
226872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22688
22689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22690
90b80344
DM
226912012-03-17 David S. Miller <davem@davemloft.net>
22692
22693 [BZ #6471]
22694 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22695 for 2.16.
22696
edc21804
DM
226972012-03-16 David S. Miller <davem@davemloft.net>
22698
77e927af
DM
22699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22700 warnings.
22701
374976dd
DM
22702 [BZ #6471]
22703 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22704 properly.
22705 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22706 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22707 sysdep_routines when subdir is sysvipc.
22708 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22709 __getshmlba helper.
22710
edc21804
DM
22711 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22712
473c3ef3
L
227132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22714
22715 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22716 [__LP64__].
22717
eb0f39b6
L
227182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22719
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22721 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22722 (__lround): Renamed to ...
22723 (__llround): This. Replace long int with long long int.
22724 Define lround functions as aliases of llround functions.
22725 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22726
6b6cd74b
L
227272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22730 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22731 adresses to uintptr_t. Replace "long int" and "unsigned long
22732 int" with "greg_t" on va_arg.
22733
f1a77b01
L
227342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22735
22736 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22737 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22738
22739 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22740 Move e_machine check before EI_CLASS check. Handle x32
22741 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22742 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22743 SKIP_EM_IA_64 and include
22744 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22745
22746 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22747 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22748 (add_system_dir): New macro.
22749
22750 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22751 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22752
11b90b9f
JM
227532012-03-16 Joseph Myers <joseph@codesourcery.com>
22754
c36e1d23
JM
22755 [BZ #2551]
22756 [BZ #2552]
22757 [BZ #2553]
22758 [BZ #2554]
22759 [BZ #2562]
22760 [BZ #2563]
22761 [BZ #2565]
22762 [BZ #2566]
22763 [BZ #2576]
22764 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22765 (y0): Likewise.
22766 * math/w_j0f.c (j0f): Likewise.
22767 (y0f): Likewise.
22768 * math/w_j0l.c (__j0l): Likewise.
22769 (__y0l): Likewise.
22770 * math/w_j1.c (j1): Likewise.
22771 (y1): Likewise.
22772 * math/w_j1f.c (j1f): Likewise.
22773 (y1f): Likewise.
22774 * math/w_j1l.c (__j1l): Likewise.
22775 (__y1l): Likewise.
22776 * math/w_jn.c (jn): Likewise.
22777 (yn): Likewise.
22778 * math/w_jnf.c (jnf): Likewise.
22779 (ynf): Likewise.
22780 * math/w_jnl.c (__jnl): Likewise.
22781 (__ynl): Likewise.
22782 * math/libm-test.inc (j0_test): Add more tests.
22783 (j1_test): Likewise.
22784 (jn_test): Likewise. Add trailing semicolon to existing test.
22785 (y0_test): Likewise.
22786 (y1_test): Likewise.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22789
11b90b9f
JM
22790 [BZ #13851]
22791 [BZ #13854]
22792 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22793 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22794 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22795 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22796 (__tanl): Set errno for infinite argument.
22797 * sysdeps/i386/fpu/mptan.c: Remove.
22798 * sysdeps/i386/fpu/s_tan.S: Likewise.
22799 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22800 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22801 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22802 * math/libm-test.inc (tan_test): Add more tests and enable more
22803 tests for double and long double.
22804 * sysdeps/i386/fpu/libm-test-ulps: Update.
22805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22806
6a1bd2a1
JK
228072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22808
22809 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22810 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22811
10a803e0
RM
228122012-03-16 Roland McGrath <roland@hack.frob.com>
22813
22814 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22815 * configure.in: Use it for both main tree and add-ons.
22816 * configure: Regenerated.
22817
f196c7f7
L
228182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22819
22820 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22821
8848d99d
JM
228222012-03-16 Joseph Myers <joseph@codesourcery.com>
22823
96cbe7f4
JM
22824 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22825 in comment.
22826
8848d99d
JM
22827 [BZ #13851]
22828 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22829 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22833 infinite argument.
22834 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22836 != 0 for prec == 2.
22837 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22838 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22839 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22840 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22841 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22842 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22843 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22844 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22845 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22846 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22847 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22848 * math/libm-test.inc (cos_test): Add more tests and enable more
22849 tests for long double.
22850 (sin_test): Likewise.
22851 (sincos_test): Likewise.
22852 * sysdeps/i386/fpu/libm-test-ulps: Update.
22853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22854
dd7f4703
DM
228552012-03-16 David S. Miller <davem@davemloft.net>
22856
22857 * sysdeps/sparc/fpu/math_private.h: New file.
22858
006f1daa
DM
228592012-03-15 David S. Miller <davem@davemloft.net>
22860
c0c83bc8
DM
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22862 file.
e6a62e18 22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22865 file.
e6a62e18
DM
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22872 sysdep routines.
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22874
88cb87d9
DM
22875 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22876 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22877
006f1daa 22878 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22880 sparc-ifunc.h
006f1daa 22881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22883 Likewise.
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22885 Likewise.
006f1daa
DM
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22890 Likewise.
006f1daa
DM
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22896 Likewise.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22898 Likewise.
006f1daa
DM
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22923
11e0098e
AS
229242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22925
22926 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22927 scaling.
22928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22929
e85b09d0
AJ
229302012-03-15 Andreas Jaeger <aj@suse.de>
22931
22932 [BZ #13852]
22933 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22934 ieee754/flt-32 implementation for sin, cos and sincos.
22935 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22936 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22937 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22938 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22939 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22940 ieee754/flt-32 implementation for tan.
22941
22942 * math/libm-test.inc (cos_test): Enable some large input tests for
22943 float as well
22944 (sin_test): Likewise.
22945 (sincos_test): Likewise.
22946 (tan_test): Add tests for large input.
22947
22948 * sysdeps/i386/fpu/libm-test-ulps: Update.
22949
81c64153
AJ
229502012-03-15 Andreas Jaeger <aj@suse.de>
22951
22952 [BZ #13658]
22953 * math/libm-test.inc (cos_test): Add more test cases.
22954 (sin_test): Likewise.
22955 (sincos_test): Likewise.
22956
7bbfa5c6
AJ
229572012-03-15 Andreas Jaeger <aj@suse.de>
22958
22959 [BZ #13837]
22960 * math/libm-test.inc (cos_test): Add a test case for large input
22961 value.
22962 (sin_test): Likewise.
22963 (sincos_test): Likewise.
22964
229652012-03-15 Andreas Jaeger <aj@suse.de>,
22966 Joseph Myers <joseph@codesourcery.com>
22967
22968 [BZ #13658]
0671f479 22969 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22970 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22971 * sysdeps/i386/fpu/branred.c: Likewise.
22972 * sysdeps/i386/fpu/dosincos.c: Likewise.
22973 * sysdeps/i386/fpu/mpa.c: Likewise.
22974 * sysdeps/i386/fpu/s_cos.S: Likewise.
22975 * sysdeps/i386/fpu/s_sin.S: Likewise.
22976 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22977 * sysdeps/i386/fpu/sincos32.c: Likewise.
22978
22979 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22980 Define.
22981 (libc_feupdateenv_53bit): Define.
22982 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22983 Define.
22984 (libc_feupdateenv_53bit): Define.
22985
22986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22987 53 bit (without extend i386 double precision).
22988
22989 * math/libm-test.inc (sincos_test): Add tests for large input.
22990 (sin): Likewise.
22991 (cos): Likewise.
22992
22993 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22994
9cad04ea
AS
229952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22996
22997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22998
f7062b9a
DM
229992012-03-15 David S. Miller <davem@davemloft.net>
23000
23001 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23002 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23003 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23004 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23017 file.
f7062b9a 23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23020 file.
f7062b9a 23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23023 file.
f7062b9a 23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23026 file.
f7062b9a
DM
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23029 fmin/fmax sysdep routines.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23031
7bd951ff
DM
230322012-03-14 David S. Miller <davem@davemloft.net>
23033
559398ab
DM
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23063 routines.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23065 file.
559398ab 23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23068 file.
559398ab 23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23071 file.
559398ab 23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23074 file.
559398ab 23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23077 file.
559398ab 23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23080 file.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23082 file.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23084 file.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23086 file.
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23088 New file.
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23090 file.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23092 file.
559398ab 23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23095 file.
559398ab 23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23098 file.
559398ab 23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23101 file.
559398ab 23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23104 VIS3 routines.
559398ab
DM
23105
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23107 New file.
23108
5a1c1e32
DM
23109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23110
eae47a36
DM
23111 * sysdeps/sparc/configure.in: New file.
23112 * sysdeps/sparc/configure: Generate.
23113 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23114 * configure: Regenerate.
23115 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23116 * config.make.in (have-as-vis3): New.
23117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23118 available use -Av9d instead of -Av9a.
23119 * sysdeps/sparc/sparc64/Makefile: Likewise.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23122 New file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23124 file.
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23126 New file.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23128 file.
eae47a36
DM
23129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23134
c0c83bc8
DM
23135 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23136 fzeros/fnegs to load 0x80000000 into a float register instead of
23137 using the stack.
7bd951ff
DM
23138 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23139
bd951ccb
JM
231402012-03-14 Joseph Myers <joseph@codesourcery.com>
23141
23142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23143 bits/syscall.h.
23144 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23145 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23146 ($(inst_includedir)/bits/syscall.h): Remove rule.
23147 ($(objpfx)bits/syscall.d): Include instead of
23148 $(objpfx)syscall-list.d.
23149 (generated): Change syscall-list.h and syscall-list.d to
23150 bits/syscall.h and bits/syscall.d.
23151
bb4e6db2
RM
231522012-03-14 Roland McGrath <roland@hack.frob.com>
23153
23154 [BZ #13846]
23155 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23156
aa4a2ae1
JM
231572012-03-14 Joseph Myers <joseph@codesourcery.com>
23158
e456826d
JM
23159 [BZ #13841]
23160 * math/s_csqrt.c: Include <float.h>.
23161 (__csqrt): Scale large or subnormal inputs.
23162 * math/s_csqrtf.c: Likewise.
23163 * math/s_csqrtl.c: Likewise.
23164 * math/libm-test.inc (csqrt_test): Add more tests.
23165 * sysdeps/i386/fpu/libm-test-ulps: Update.
23166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23167
aa4a2ae1
JM
23168 [BZ #13840]
23169 * math/libm-test.inc (hypot_test): Add more tests.
23170
7c10fd35
DM
231712012-03-13 David S. Miller <davem@davemloft.net>
23172
23173 [BZ #13840]
23174 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23175 double-precision for the calculation instead of scaling.
23176
f453b98b
JM
231772012-03-13 Joseph Myers <joseph@codesourcery.com>
23178
23179 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23180 manipulate bits before adding and subtracting TWO52[sx].
23181 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23183 Likewise.
23184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23185
09a3453f
DM
231862012-03-13 David S. Miller <davem@davemloft.net>
23187
8e59da90
DM
23188 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23189 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23191 rtld-global-offsets.h
23192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23193
2a8ab7f2
DM
23194 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23195 large parameters.
23196
10f62770
DM
23197 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23198
5f0bdb18
DM
23199 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23200 'err' in the ifdef scope in which it is actually used.
23201
09a3453f
DM
23202 * nss/nss_db/db-init.c: Include string.h
23203
b4b2eb5e
DM
232042012-03-12 David S. Miller <davem@davemloft.net>
23205
98bb2f1c
DM
23206 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23207 masking out of the most significant byte of random value used.
23208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23209 Fix coding style in previous change.
23210
b4b2eb5e
DM
23211 * sysdeps/unix/sysv/linux/kernel-features.h
23212 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23213 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23214 expression.
23215 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23216 later.
23217
6e226b09
DM
232182012-03-11 David S. Miller <davem@davemloft.net>
23219
a1bcbd40
DM
23220 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23221 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23223 for 'resultvar' otherwise things get truncated on 64-bit.
23224
cb9d6174
DM
23225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23226 Fix masking out of the most significant byte of random value used.
23227
6e226b09
DM
23228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23229
058c132d
AS
232302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23231
23232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23233
2d2cd515
DM
232342012-03-09 David S. Miller <davem@davemloft.net>
23235
23236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23237 variables with appropriate CPP guards.
23238 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23239 frame pointer, not the stack pointer. Correct layout comments. Fix test
23240 on resulting framesize and the management of the outregs buffer for pltexit.
23241 Preserve floating point return values across _dl_call_pltexit call.
23242 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23243 framesize and the management of the outregs buffer for pltexit.
23244 Preserve floating point return values across _dl_call_pltexit
23245 call.
23246 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23247 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23248 (print_exit): Fix format string for return register value.
23249
9a07f9d0
JM
232502012-03-10 Joseph Myers <joseph@codesourcery.com>
23251
23252 * sunrpc/Makefile (others): Add rpcgen.
23253 ($(objpfx)rpcgen): Remove special build rule and dependency on
23254 libc.
23255 * sunrpc/rpcgen.c: New file.
23256
547b5e30
PE
232572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23258
c524201a
PE
23259 [BZ #13673]
23260 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23261 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23262 * sysdeps/i386/crti.S: Likewise.
23263 * sysdeps/i386/crtn.S: Likewise.
23264 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23265 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23266 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23267 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23268 * sysdeps/sh/crti.S: Likewise.
23269 * sysdeps/sh/crtn.S: Likewise.
23270 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23271
7b6235f2
PE
23272 [BZ #13673]
23273 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23274 with URL.
23275 * locale/programs/locfile-kw.gperf: Likewise.
23276 * locale/programs/charmap-kw.h: Regenerated.
23277 * locale/programs/locfile-kw.h: Likewise.
23278
547b5e30
PE
23279 [BZ #13673]
23280 * intl/plural.y: Replace FSF snail mail address with URL.
23281 * intl/plural.c: Regenerated.
23282
5f0a5dae
RH
232832012-03-09 Richard Henderson <rth@twiddle.net>
23284
23285 * include/math_private.h: Remove file.
23286 * math/math_private.h: Move file ...
23287 * sysdeps/generic/math_private.h: ... here.
23288
b8c03620
RH
23289 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23290 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23291 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23292
4e234f5d 23293 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23294 and <math_private.h>.
23295 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23296 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23297 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23298 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23299 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23396 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23400 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23407 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23412 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23414 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23415 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23423 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23441 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23442 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23443 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23444 * sysdeps/ieee754/k_standard.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23560 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23564 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23567 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23605 * sysdeps/ieee754/s_lib_version.c: Likewise.
23606 * sysdeps/ieee754/s_matherr.c: Likewise.
23607 * sysdeps/ieee754/s_signgam.c: Likewise.
23608 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23610 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23611 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23613 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23614 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23615 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23616 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23617 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23618 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23619 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23620 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23621 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23622 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23623 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23624 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23625 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23629
1991fa03
JM
236302012-03-09 Joseph Myers <joseph@codesourcery.com>
23631
23632 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23633 * sunrpc/rpc_main.c: Likewise.
23634 * sunrpc/rpc_svcout.c: Likewise.
23635
60d6f5a6
DM
236362012-03-09 David S. Miller <davem@davemloft.net>
23637
23638 * include/math_private.h: New file.
23639
4962050e
JM
236402012-03-09 Joseph Myers <joseph@codesourcery.com>
23641
02a6f887
JM
23642 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23643 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23644 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23645 from <bits/socket_type.h>.
23646 (enum __socket_type): Don't define here.
23647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23649 bits/socket_type.h.
23650
c6e013c1
JM
23651 [BZ #13566]
23652 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23653 checking __USE_GNU.
23654
4962050e
JM
23655 * Makerules ($(inst_includedir)/%.h): New rule.
23656 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23657 (install-others): Remove variable setting.
23658 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23659
38842f45
RH
236602012-03-08 Richard Henderson <rth@twiddle.net>
23661
67bb6da6
RH
23662 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23663 from macro to inline function; merge with the
23664 !__LIBC_INTERNAL_MATH_INLINES version.
23665 (__ieee754_sqrtf): Likewise.
23666
15194b4b
RH
23667 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23668 to inline function.
23669 (__rintf, __floor, __floorf): Likewise.
23670
64e21ede
RH
23671 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23672 macro to inline function.
23673 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23674
38842f45
RH
23675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23676 not <math/math_private.h>.
23677
c64bf5fe
DM
236782012-03-08 David S. Miller <davem@davemloft.net>
23679
23680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23681 copyright year.
23682 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23683
82d86f28
TS
236842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23685
23686 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23687 normalization.
23688 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23689 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23690
aea5d727
UD
236912012-03-08 Ulrich Drepper <drepper@gmail.com>
23692
23693 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23694 be defined individually, they must be defined as a block. Define
23695 S for printing a string instead of hidint the different by using a
23696 macro for adding the 'l'.
23697 * stdio-common/tst-fphex-wide.c: Adjust.
23698
70bca0a3
MP
236992012-03-07 Marek Polacek <polacek@redhat.com>
23700
23701 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23702
65b81130
MP
237032012-03-08 Marek Polacek <polacek@redhat.com>
23704
23705 [BZ #13806]
23706 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23707 * stdio-common/tst-fphex.c: Define a few macros to make the
23708 test reusable. Use them.
23709 * stdio-common/tst-fphex-wide.c: New file.
23710
07037eeb
JM
237112012-03-08 Joseph Myers <joseph@codesourcery.com>
23712
a7a93d50
JM
23713 [BZ #6911]
23714 * manual/macros.texi (gnusystems): New macro.
23715 (nongnusystems): Likewise.
23716 (gnulinuxhurdsystems): Likewise.
23717 (gnuhurdsystems): Likewise..
23718 (gnulinuxsystems): Likewise.
23719 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23720 variants of the GNU system, not "GNU system".
23721 * manual/conf.texi: Likewise.
23722 * manual/errno.texi: Likewise. Update example of errno macro
23723 expansion.
23724 * manual/filesys.texi: Likewise.
23725 (getumask): Document as specific to GNU/Hurd.
23726 * manual/install.texi: Likewise. Reword some references to
23727 GNU/Linux.
23728 * manual/intro.texi: Likewise.
23729 * manual/io.texi: Likewise.
23730 (File Name Portability): Detail which constraints are inapplicable
23731 to all GNU systems and which are only inapplicable to GNU/Hurd.
23732 * manual/job.texi: Likewise.
23733 * manual/llio.texi: Likewise.
23734 (O_NOCTTY): Document as present on GNU/Linux.
23735 * manual/maint.texi: Likewise.
23736 * manual/memory.texi: Likewise.
23737 * manual/pattern.texi: Likewise.
23738 * manual/pipe.texi: Likewise.
23739 * manual/process.texi: Likewise.
23740 * manual/resource.texi: Likewise.
23741 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23742 child on GNU/Hurd.
23743 * manual/setjmp.texi: Likewise.
23744 * manual/signal.texi: Likewise.
23745 * manual/startup.texi: Likewise.
23746 * manual/stdio.texi: Likewise.
23747 * manual/terminal.texi: Likewise.
23748 (ONLCR): Document as POSIX.
23749 (OXTABS): Document availability on GNU/Linux as XTABS.
23750 (ONOEOT): Document availability separately from other bits.
23751 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23752 * manual/time.texi: Likewise.
23753 * manual/users.texi: Likewise.
23754 * INSTALL: Regenerated.
23755 * sysdeps/gnu/errlist.c: Regenerated.
23756
07037eeb
JM
23757 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23758 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23759 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23760 puts.
23761 * configure: Regenerated.
23762
d1d3431a
JM
237632012-03-07 Joseph Myers <joseph@codesourcery.com>
23764
af6a1e37
JM
23765 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23766 default includes instead of AC_HEADER_CHECK.
23767 * sysdeps/i386/configure: Regenerated.
23768
d1d3431a
JM
23769 [BZ #10716]
23770 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23771 * math/s_cacoshf.c (__cacoshf): Likewise.
23772 * math/s_cacoshl.c (__cacoshl): Likewise.
23773 * math/s_casinh.c (__casinh): Set signs of result from argument.
23774 * math/s_casinhf.c (__casinhf): Likewise.
23775 * math/s_casinhl.c (__casinhl): Likewise.
23776 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23777 (casinh_test): Add more tests.
23778 * sysdeps/i386/fpu/libm-test-ulps: Update.
23779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23780
482ff4da
UD
237812012-03-07 Ulrich Drepper <drepper@gmail.com>
23782
872fda05
UD
23783 * po/zh_TW.po: Update from translation team.
23784
a4300c7a
UD
23785 * login/Makefile (distribute): Remove variable.
23786 * catgets/Makefile: Likewise.
23787 * mach/Makefile: Likewise.
23788 * malloc/Makefile: Likewise.
23789 * misc/Makefile: Likewise.
23790 * iconv/Makefile: Likewise.
23791 * nscd/Makefile: Likewise.
23792 * hurd/Makefile: Likewise.
23793 * manual/Makefile: Likewise.
23794 * locale/Makefile: Likewise.
23795 * intl/Makefile: Likewise.
23796 * conform/Makefile: Likewise.
23797 * nss/Makefile: Likewise.
23798 * time/Makefile: Likewise.
23799 * soft-fp/Makefile: Likewise.
23800 * dirent/Makefile: Likewise.
23801 * gmon/Makefile: Likewise.
23802 * po/Makefile: Likewise.
23803 * rt/Makefile: Likewise.
23804 * socket/Makefile: Likewise.
23805 * math/Makefile: Likewise.
23806 * signal/Makefile: Likewise.
23807 * debug/Makefile: Likewise.
23808 * elf/Makefile: Likewise.
23809 * timezone/Makefile: Likewise.
23810 * stdlib/Makefile: Likewise.
23811 * iconvdata/Makefile: Likewise.
23812 * sunrpc/Makefile: Likewise.
23813 * io/Makefile: Likewise.
23814 * argp/Makefile: Likewise.
23815 * inet/Makefile: Likewise.
23816 * hesiod/Makefile: Likewise.
23817 * grp/Makefile: Likewise.
23818 * csu/Makefile: Likewise.
23819 * wctype/Makefile: Likewise.
23820 * crypt/Makefile: Likewise.
23821 * libio/Makefile: Likewise.
23822 * string/Makefile: Likewise.
23823 * nis/Makefile: Likewise.
23824 * resolv/Makefile: Likewise.
23825 * stdio-common/Makefile: Likewise.
23826 * wcsmbs/Makefile: Likewise.
23827 * dlfcn/Makefile: Likewise.
23828 * posix/Makefile: Likewise.
23829
3b7c4e74 23830 [BZ #6959]
482ff4da
UD
23831 * timezone/Makefile: Don't install timezone files, just the programs
23832 and scripts.
23833
f72ed77d
UD
238342012-03-06 Ulrich Drepper <drepper@gmail.com>
23835
a000466f
UD
23836 * nss/databases.def: Add missing gshadow entry.
23837
f72ed77d
UD
23838 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23839
a53b7a4e
MP
238402012-03-06 Marek Polacek <polacek@redhat.com>
23841
23842 [BZ #13726]
23843 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23844 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23845 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23846 * stdio-common/tst-long-dbl-fphex.c: New file.
23847
e9258400
DM
238482012-03-06 David S. Miller <davem@davemloft.net>
23849
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23851 (set_obp_int): New function.
23852 (get_obp_int): New function.
23853 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23854 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23855 Avoid unused variable warnings on 'val' and use builtin_expect.
23856 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23857 __builtin_expect.
e9258400
DM
23858 (INLINE_CLONE_SYSCALL): Likewise.
23859
3bd2c723
DM
238602012-03-05 David S. Miller <davem@davemloft.net>
23861
23862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23863
bbb78d03
AS
238642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23865
884c5db4
AS
23866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23867
bbb78d03
AS
23868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23869 only for |x| >= 40.
23870 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23871
1c9f702a 238722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23873
23874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23875 Replace gettimeofday with __vdso_gettimeofday.
23876
7be16f82
RM
23877 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23878 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23879 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23880
23881 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23882 time with __vdso_time.
23883
ed58a00f
JM
238842012-03-05 Joseph Myers <joseph@codesourcery.com>
23885
23886 * manual/lang.texi (size_t): Note types to which size_t may be
23887 equivalent with the GNU C Library, but do not describe when
23888 differences between them are significant.
23889
30ee4ced
AJ
238902012-03-05 Andreas Jaeger <aj@suse.de>
23891
23892 * sysdeps/i386/fpu/libm-test-ulps: Update.
23893
b7cd39e8
JM
238942012-03-05 Joseph Myers <joseph@codesourcery.com>
23895
23896 [BZ #3976]
23897 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23898 (__ieee754_pow): Save and restore rounding mode and use
23899 round-to-nearest for main computations.
23900 * math/libm-test.inc (pow_test_tonearest): New function.
23901 (pow_test_towardzero): Likewise.
23902 (pow_test_downward): Likewise.
23903 (pow_test_upward): Likewise.
23904 (main): Call the new functions.
23905 * sysdeps/i386/fpu/libm-test-ulps: Update.
23906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23907
23908 [BZ #3976]
23909 * math/libm-test.inc (cosh_test_tonearest): New function.
23910 (cosh_test_towardzero): Likewise.
23911 (cosh_test_downward): Likewise.
23912 (cosh_test_upward): Likewise.
23913 (sinh_test_tonearest): Likewise.
23914 (sinh_test_towardzero): Likewise.
23915 (sinh_test_downward): Likewise.
23916 (sinh_test_upward): Likewise.
23917 (main): Call the new functions.
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23920
6c6a98c9
TV
239212012-03-05 Tom de Vries <tom@codesourcery.com>
23922
23923 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23924 default stack guard is set in last bytes.
23925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23926
21bb2d2e 239272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23928
21bb2d2e 23929 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23930
21bb2d2e
AJ
23931 [BZ #13656]
23932 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23933 possibly allocate from heap instead of stack.
23934 * stdio-common/bug-vfprintf-nargs.c: New file.
23935 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23936
c6922934
AS
239372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23938
23939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23940
bc957d53
MP
239412012-03-03 Marek Polacek <polacek@redhat.com>
23942
23943 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23944 * math/math_private.h: Likewise.
23945 * stdlib/tst-strtod.c: Likewise.
23946 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23947 * sysdeps/x86_64/bits/atomic.h: Likewise.
23948
6358490d
DM
239492012-03-02 David S. Miller <davem@davemloft.net>
23950
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23955 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23956 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23957 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23959
01ae168d
RM
239602012-03-02 Roland McGrath <roland@hack.frob.com>
23961
d9a17c07
RM
23962 [BZ #13792]
23963 * manual/examples/README: New file, says the example source files
23964 can be used under GPL>=2.
23965 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23966 line containing just "*/".
23967 * manual/examples/add.c: Add copyright header (GPL>=2).
23968 * manual/examples/argp-ex1.c: Likewise.
23969 * manual/examples/argp-ex2.c: Likewise.
23970 * manual/examples/argp-ex3.c: Likewise.
23971 * manual/examples/argp-ex4.c: Likewise.
23972 * manual/examples/atexit.c: Likewise.
23973 * manual/examples/db.c: Likewise.
23974 * manual/examples/dir.c: Likewise.
23975 * manual/examples/dir2.c: Likewise.
23976 * manual/examples/execinfo.c: Likewise.
23977 * manual/examples/filecli.c: Likewise.
23978 * manual/examples/filesrv.c: Likewise.
23979 * manual/examples/fmtmsgexpl.c: Likewise.
23980 * manual/examples/genpass.c: Likewise.
23981 * manual/examples/inetcli.c: Likewise.
23982 * manual/examples/inetsrv.c: Likewise.
23983 * manual/examples/isockad.c: Likewise.
23984 * manual/examples/longopt.c: Likewise.
23985 * manual/examples/memopen.c: Likewise.
23986 * manual/examples/memstrm.c: Likewise.
23987 * manual/examples/mkfsock.c: Likewise.
23988 * manual/examples/mkisock.c: Likewise.
23989 * manual/examples/mygetpass.c: Likewise.
23990 * manual/examples/pipe.c: Likewise.
23991 * manual/examples/popen.c: Likewise.
23992 * manual/examples/rprintf.c: Likewise.
23993 * manual/examples/search.c: Likewise.
23994 * manual/examples/select.c: Likewise.
23995 * manual/examples/setjmp.c: Likewise.
23996 * manual/examples/sigh1.c: Likewise.
23997 * manual/examples/sigusr.c: Likewise.
23998 * manual/examples/stpcpy.c: Likewise.
23999 * manual/examples/strdupa.c: Likewise.
24000 * manual/examples/strftim.c: Likewise.
24001 * manual/examples/strncat.c: Likewise.
24002 * manual/examples/subopt.c: Likewise.
24003 * manual/examples/swapcontext.c: Likewise.
24004 * manual/examples/termios.c: Likewise.
24005 * manual/examples/testopt.c: Likewise.
24006 * manual/examples/testpass.c: Likewise.
24007 * manual/examples/timeval_subtract.c: Likewise.
24008
01ae168d
RM
24009 [BZ #13792]
24010 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24011 function to ...
24012 * manual/timeval_subtract.c.texi: ... here, new file.
24013
49efa33d
DM
240142012-03-02 David S. Miller <davem@davemloft.net>
24015
24016 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24017
28afd92d
JM
240182012-03-02 Joseph Myers <joseph@codesourcery.com>
24019
804360ed
JM
24020 [BZ #3976]
24021 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24022 (__sin): Save and restore rounding mode and use round-to-nearest
24023 for all computations.
24024 (__cos): Save and restore rounding mode and use round-to-nearest
24025 for all computations.
24026 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24027 <fenv.h>.
24028 (tan): Save and restore rounding mode and use round-to-nearest for
24029 all computations.
24030 * math/libm-test.inc (cos_test_tonearest): New function.
24031 (cos_test_towardzero): Likewise.
24032 (cos_test_downward): Likewise.
24033 (cos_test_upward): Likewise.
24034 (sin_test_tonearest): Likewise.
24035 (sin_test_towardzero): Likewise.
24036 (sin_test_downward): Likewise.
24037 (sin_test_upward): Likewise.
24038 (tan_test_tonearest): Likewise.
24039 (tan_test_towardzero): Likewise.
24040 (tan_test_downward): Likewise.
24041 (tan_test_upward): Likewise.
24042 (main): Call the new functions.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045
a6d06d7b
JM
24046 [BZ #10135]
24047 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24048 small n, then large n, before computing and testing k+n.
24049 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24051 Likewise.
24052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24053 Likewise.
24054 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24055 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24056 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24057 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24062 * math/libm-test.inc (scalbn_test): Add more tests.
24063 (scalbln_test): Likewise.
24064
07e12bb3
JM
24065 * manual/filesys.texi (mode_t): Describe constraints on size and
24066 signedness, not exact equivalence to a particular type.
24067 (ino_t): Likewise.
24068 (ino64_t): Likewise.
24069 (dev_t): Likewise.
24070 (nlink_t): Likewise.
24071 (blkcnt_t): Likewise.
24072 (blkcnt64_t): Likewise.
24073 * manual/llio.texi (off_t): Likewise.
24074
28afd92d
JM
24075 [BZ #3976]
24076 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24077 (__ieee754_exp): Save and restore rounding mode and use
24078 round-to-nearest for all computations.
24079 * math/libm-test.inc (exp_test_tonearest): New function.
24080 (exp_test_towardzero): Likewise.
24081 (exp_test_downward): Likewise.
24082 (exp_test_upward): Likewise.
24083 (main): Call the new functions.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24086
b1eeb65d
CD
240872012-03-01 Chris Demetriou <cgd@google.com>
24088
24089 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24090 have predictable order.
24091
53362a4b
DM
240922012-03-01 David S. Miller <davem@davemloft.net>
24093
3c969083
DM
24094 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24095
759707de
DM
24096 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24097 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24098 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24099 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24100
dfdb8ff2
DM
24101 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24102 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24103 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24110
ead89f96
DM
24111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24112
7f66bd07
DM
24113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24114 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24115 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24116
53362a4b
DM
24117 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24118 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24119 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24124 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24125 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24126 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24127 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24128 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24133 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24134 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24135 * sysdeps/sparc/elf/configure: Regenerated.
24136
7b1902cb
JM
241372012-03-01 Joseph Myers <joseph@codesourcery.com>
24138
bec039bc
JM
24139 * configure.in (AS, LD): Require binutils 2.20 or later.
24140 * configure: Regenerated.
24141 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24142 as required minimum version.
24143 * INSTALL: Regenerated.
24144
7b1902cb
JM
24145 [BZ #2541]
24146 [BZ #4108]
24147 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24148 before squaring exponent.
24149 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24150 bottom long double and 27 bits of top long double before squaring
24151 exponent.
24152 * math/libm-test.inc (erfc_test): Add more tests.
24153 * sysdeps/i386/fpu/libm-test-ulps: Update.
24154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24156
f775c276
KT
241572012-03-01 Kai Tietz <ktietz@redhat.com>
24158
24159 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24160 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24161 containing bit-fields.
24162 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24163 * soft-fp/single.h (_FP_UNION_S): Likewise.
24164 * soft-fp/double.h (_FP_UNION_D): Likewise.
24165
5b8a4d4a
JM
241662012-02-29 Joseph Myers <joseph@codesourcery.com>
24167
0bab47b6
JM
24168 [BZ #13786]
24169 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24170 not include ../strcmp.S.
24171 [USE_AS_STRNCASECMP_L]: Likewise.
24172 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24173 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24174 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24175 (__strncasecmp_l_ia32): Define as alias to
24176 __strncasecmp_l_nonascii.
24177
0fcad3e2
JM
24178 [BZ #5794]
24179 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24180 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24182
5b8a4d4a
JM
24183 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24185
8fdceb2e
JL
241862012-02-29 Jeff Law <law@redhat.com>
24187
24188 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24189 out of bounds read.
24190
1f393a11
MP
241912012-02-29 Marek Polacek <polacek@redhat.com>
24192
24193 [BZ #13706]
24194 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24195 * elf/Makefile: Add rules to run tst-unused-dep.out.
24196
8847f037
DM
241972012-02-28 David S. Miller <davem@davemloft.net>
24198
24199 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24200 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24203 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24204 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24205
169d7f11
JM
242062012-02-29 Joseph Myers <joseph@codesourcery.com>
24207
24208 * math/libm-test.inc (llround_test): Move one test from
24209 lround_test. Use TEST_f_L in moved test.
24210 (lround_test): Move misplaced test to llround_test. Add testcase
24211 from bug 2561.
24212
39adf059
UD
242132012-02-28 Ulrich Drepper <drepper@gmail.com>
24214
24215 * sysdeps/x86_64/fpu/e_expf.S: New file.
24216 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24217
71b5d1c5
SB
242182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24219
24220 [BZ #13637]
24221 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24222 of remain_len that may cause incomplete multi-byte character and
24223 false match.
24224 * posix/bug-regex33.c: New file.
24225 * posix/Makefile (tests): Add bug-regex33.
24226
1f77f049
JM
242272012-02-28 Joseph Myers <joseph@codesourcery.com>
24228
24229 * manual/macros.texi: New file.
24230 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24231 * manual/libc.texinfo: Include macros.texi.
24232 * manual/creatute.texi: Likewise.
24233 * manual/install.texi: Likewise.
24234 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24235 @glibcadj{} in references to the GNU C Library.
24236 * manual/charset.texi: Likewise.
24237 * manual/conf.texi: Likewise.
24238 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24239 when not using those macros.
24240 * manual/creature.texi: Likewise.
24241 * manual/crypt.texi: Likewise.
24242 * manual/errno.texi: Likewise.
24243 * manual/filesys.texi: Likewise.
24244 * manual/header.texi: Likewise.
24245 * manual/install.texi: Likewise.
24246 * manual/intro.texi: Likewise.
24247 * manual/io.texi: Likewise.
24248 * manual/job.texi: Likewise.
24249 * manual/lang.texi: Likewise.
24250 * manual/libc.texiinfo: Likewise.
24251 * manual/llio.texi: Likewise.
24252 * manual/locale.texi: Likewise.
24253 * manual/maint.texi: Likewise.
24254 * manual/math.texi: Likewise.
24255 * manual/memory.texi: Likewise.
24256 * manual/message.texi: Likewise.
24257 * manual/nss.texi: Likewise.
24258 * manual/pattern.texi: Likewise.
24259 * manual/process.texi: Likewise.
24260 * manual/resource.texi: Likewise.
24261 * manual/search.texi: Likewise.
24262 * manual/setjmp.texi: Likewise.
24263 * manual/signal.texi: Likewise.
24264 * manual/socket.texi: Likewise.
24265 * manual/startup.texi: Likewise.
24266 * manual/stdio.texi: Likewise.
24267 * manual/string.texi: Likewise.
24268 * manual/sysinfo.texi: Likewise.
24269 * manual/syslog.texi: Likewise.
24270 * manual/terminal.texi: Likewise.
24271 * manual/time.texi: Likewise.
24272 * manual/users.texi: Likewise.
24273 * INSTALL: Regenerated.
24274 * NOTES: Regenerated.
d40c5d54 24275 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24276
450bf206
AS
242772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24278
24279 * include/dirent.h: Include <dirstream.h> before
24280 <dirent/dirent.h>.
24281
741a235b
DM
242822012-02-28 David S. Miller <davem@davemloft.net>
24283
24284 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24285 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24286 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24287 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24288
d6b5aa58
DM
242892012-02-27 David S. Miller <davem@davemloft.net>
24290
1aff59a3
DM
24291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24293 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24294 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24295
d6b5aa58
DM
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24297 frame pointer instead of stack pointer relative arg slot.
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24299 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24300 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24301
433f48bf
CD
243022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24303
24304 [BZ #3992]
24305 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24306
d674b76d
DM
243072012-02-27 David S. Miller <davem@davemloft.net>
24308
24309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24315 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24316 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24317
0e7727f7
JM
243182012-02-27 Joseph Myers <joseph@codesourcery.com>
24319
24320 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24321 later. Allow versions 5-9.
43be4ca2 24322 * configure: Regenerated.
0e7727f7
JM
24323 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24324 required minimum version and 4.6 as recommended version. Do not
24325 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24326 * INSTALL: Regenerated.
0e7727f7 24327
a78bc654
DM
243282012-02-27 David S. Miller <davem@davemloft.net>
24329
428d5830
DM
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24334 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24335 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24336 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24337 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24338
a78bc654
DM
24339 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24340 manipulate bits before adding and subtracting TWO112[sx].
24341 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24342
4579f81c
RM
243432012-02-27 Roland McGrath <roland@hack.frob.com>
24344
36c8acb4
RM
24345 [BZ #13775]
24346 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24347 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24348 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24349 being in POSIX, because they are in 1003.1-2008.
24350
84ad622b
RM
24351 * rt/tst-aio.c: Include <fcntl.h>.
24352 * rt/tst-aio7.c: Likewise.
24353 * rt/tst-aio64.c: Likewise.
24354
4579f81c
RM
24355 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24356
abd923db
JM
243572012-02-27 Joseph Myers <joseph@codesourcery.com>
24358
24359 * manual/install.texi (--with-headers): Describe headers as
24360 interface headers, not private headers.
24361 (Specific advice for GNU/Linux systems): Describe use of headers
24362 from "make headers_install", not private headers from older
24363 kernels.
43be4ca2 24364 * INSTALL: Regenerated.
abd923db
JM
24365 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24366 Change to 2.6.19.
24367 * sysdeps/unix/sysv/linux/configure: Regenerated.
24368
6664049b
JM
24369 * manual/llio.texi (fclean): Remove documentation.
24370
bb8b6697
JM
24371 * manual/Makefile (libc-texi-generated): New variable. Include
24372 version.texi.
24373 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24374 $(libc-texi-generated), not duplicated list of files.
24375 (version.texi, stamp-version): New rules.
24376 (realclean): Remove $(libc-texi-generated), not individual files
24377 from that list. Do not remove dir-add.texinfo.
24378 * manual/libc.texinfo: Comment out uses of edition numbers and
24379 references to printed manual. Remove last-updated dates.
24380 (EDITION): Comment out.
24381 (ISBN): Likewise.
24382 (VERSION, UPDATED): Remove.
24383 (version.texi): Include.
24384
12e5c3b9
AS
243852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24386
24387 * sysdeps/posix/spawni.c: Include <signal.h>.
24388 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24389 * sysdeps/pthread/aio_fsync.c: Likewise.
24390
4efeffc1 243912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24392
ba63ba08
UD
24393 * conform/Makefile (tests): Run only when not cross-compiling and
24394 when fast-check is not defined.
24395
d94a4670
UD
24396 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24397 * conform/data/limits.h-data: Fixes for POSIX2008.
24398 * conform/run-conformtest.sh: Run all tests.
24399 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24400 headers.
24401 * include/bits/dlfcn.h: Likewise.
24402 * include/langinfo.h: Likewise.
24403 * include/monetary.h: Likewise.
24404 * include/sys/poll.h: Likewise.
24405
24406 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24407 for __USE_GNU.
24408 * posix/spawn.h: Define __need_sigset_t.
24409 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24410 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24411 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24412 to get sigevent_t only.
24413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24414 only for __USE_GNU.
24415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24416 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24417 process_vm_writev only for __USE_GNU.
24418 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24419
24420 * conform/Makefile: For now ignore errors from run-conformtest.
24421 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24422 POSIX to avoid namespace pollution. Don't prepend headers.
24423 * conform/data/aio.h-data: Fixes for POSIX testing.
24424 * conform/data/fcntl.h-data: Likewise.
24425 * conform/data/glob.h-data: Likewise.
24426 * conform/data/grp.h-data: Likewise.
24427 * conform/data/pthread.h-data: Likewise.
24428 * conform/data/pwd.h-data: Likewise.
24429 * conform/data/signal.h-data: Likewise.
24430 * conform/data/spawn.h-data: Likewise.
24431 * conform/data/stdio.h-data: Likewise.
24432 * conform/data/stdlib.h-data: Likewise.
24433 * conform/data/stropts.h-data: Likewise.
24434 * conform/data/sys/mman.h-data: Likewise.
24435 * conform/data/sys/stat.h-data: Likewise.
24436 * conform/data/sys/types.h-data: Likewise.
24437 * conform/data/sys/wait.h-data: Likewise.
24438 * conform/data/time.h-data: Likewise.
24439 * conform/data/unistd.h-data: Likewise.
24440 * conform/data/utime.h-data: Likewise.
24441
24442 * io/sys/stat.h: fchmod was always in POSIX.
24443 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24444 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24445 * rt/aio.h: Define __need_timespec before including <time.h>.
24446 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24447 struct. Add forward declaration of pthread_attr_t and use it in
24448 sigevent.
24449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24451 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24452 always remove CLK_TCK definition.
24453
c20105c3
AS
244542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24455
24456 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24457
7a270350
UD
244582012-02-25 Ulrich Drepper <drepper@gmail.com>
24459
31341567
UD
24460 * conform/run-conformtest.sh: New file.
24461 * conform/Makefile: Run run-conformtest for tests.
24462 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24463 support.
24464
24465 * conform/data/uchar.h-data: New file.
24466 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24467 * conform/data/arpa/inet.h-data: Likewise.
24468 * conform/data/assert.h-data: Likewise.
24469 * conform/data/complex.h-data: Likewise.
24470 * conform/data/cpio.h-data: Likewise.
24471 * conform/data/ctype.h-data: Likewise.
24472 * conform/data/dirent.h-data: Likewise.
24473 * conform/data/dlfcn.h-data: Likewise.
24474 * conform/data/errno.h-data: Likewise.
24475 * conform/data/fcntl.h-data: Likewise.
24476 * conform/data/float.h-data: Likewise.
24477 * conform/data/fmtmsg.h-data: Likewise.
24478 * conform/data/fnmatch.h-data: Likewise.
24479 * conform/data/ftw.h-data: Likewise.
24480 * conform/data/glob.h-data: Likewise.
24481 * conform/data/grp.h-data: Likewise.
24482 * conform/data/iconv.h-data: Likewise.
24483 * conform/data/inttypes.h-data: Likewise.
24484 * conform/data/langinfo.h-data: Likewise.
24485 * conform/data/libgen.h-data: Likewise.
24486 * conform/data/limits.h-data: Likewise.
24487 * conform/data/locale.h-data: Likewise.
24488 * conform/data/math.h-data: Likewise.
24489 * conform/data/monetary.h-data: Likewise.
24490 * conform/data/mqueue.h-data: Likewise.
24491 * conform/data/ndbm.h-data: Likewise.
24492 * conform/data/net/if.h-data: Likewise.
24493 * conform/data/netdb.h-data: Likewise.
24494 * conform/data/netinet/in.h-data: Likewise.
24495 * conform/data/nl_types.h-data: Likewise.
24496 * conform/data/poll.h-data: Likewise.
24497 * conform/data/pthread.h-data: Likewise.
24498 * conform/data/pwd.h-data: Likewise.
24499 * conform/data/regex.h-data: Likewise.
24500 * conform/data/sched.h-data: Likewise.
24501 * conform/data/search.h-data: Likewise.
24502 * conform/data/semaphore.h-data: Likewise.
24503 * conform/data/setjmp.h-data: Likewise.
24504 * conform/data/signal.h-data: Likewise.
24505 * conform/data/spawn.h-data: Likewise.
24506 * conform/data/stdarg.h-data: Likewise.
24507 * conform/data/stdio.h-data: Likewise.
24508 * conform/data/stdlib.h-data: Likewise.
24509 * conform/data/string.h-data: Likewise.
24510 * conform/data/strings.h-data: Likewise.
24511 * conform/data/stropts.h-data: Likewise.
24512 * conform/data/sys/ipc.h-data: Likewise.
24513 * conform/data/sys/mman.h-data: Likewise.
24514 * conform/data/sys/msg.h-data: Likewise.
24515 * conform/data/sys/resource.h-data: Likewise.
24516 * conform/data/sys/select.h-data: Likewise.
24517 * conform/data/sys/sem.h-data: Likewise.
24518 * conform/data/sys/shm.h-data: Likewise.
24519 * conform/data/sys/socket.h-data: Likewise.
24520 * conform/data/sys/stat.h-data: Likewise.
24521 * conform/data/sys/statvfs.h-data: Likewise.
24522 * conform/data/sys/time.h-data: Likewise.
24523 * conform/data/sys/timeb.h-data: Likewise.
24524 * conform/data/sys/times.h-data: Likewise.
24525 * conform/data/sys/types.h-data: Likewise.
24526 * conform/data/sys/uio.h-data: Likewise.
24527 * conform/data/sys/un.h-data: Likewise.
24528 * conform/data/sys/utsname.h-data: Likewise.
24529 * conform/data/sys/wait.h-data: Likewise.
24530 * conform/data/syslog.h-data: Likewise.
24531 * conform/data/tar.h-data: Likewise.
24532 * conform/data/termios.h-data: Likewise.
24533 * conform/data/utime.h-data: Likewise.
24534 * conform/data/utmpx.h-data: Likewise.
24535 * conform/data/varargs.h-data: Likewise.
24536 * conform/data/wchar.h-data: Likewise.
24537 * conform/data/wctype.h-data: Likewise.
24538 * conform/data/wordexp.h-data: Likewise.
24539
24540 * include/stropts.h: New file.
24541 * include/uchar.h: New file.
24542 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24543 * include/assert.h: Likewise.
24544 * include/ctype.h: Likewise.
24545 * include/dirent.h: Likewise.
24546 * include/dlfcn.h: Likewise.
24547 * include/fcntl.h: Likewise.
24548 * include/fnmatch.h: Likewise.
24549 * include/glob.h: Likewise.
24550 * include/grp.h: Likewise.
24551 * include/libio.h: Likewise.
24552 * include/locale.h: Likewise.
24553 * include/math.h: Likewise.
24554 * include/net/if.h: Likewise.
24555 * include/netdb.h: Likewise.
24556 * include/netinet/in.h: Likewise.
24557 * include/pthread.h: Likewise.
24558 * include/pwd.h: Likewise.
24559 * include/regex.h: Likewise.
24560 * include/sched.h: Likewise.
24561 * include/search.h: Likewise.
24562 * include/setjmp.h: Likewise.
24563 * include/signal.h: Likewise.
24564 * include/stdio.h: Likewise.
24565 * include/stdlib.h: Likewise.
24566 * include/string.h: Likewise.
24567 * include/sys/cdefs.h: Likewise.
24568 * include/sys/mman.h: Likewise.
24569 * include/sys/msg.h: Likewise.
24570 * include/sys/resource.h: Likewise.
24571 * include/sys/select.h: Likewise.
24572 * include/sys/socket.h: Likewise.
24573 * include/sys/stat.h: Likewise.
24574 * include/sys/statvfs.h: Likewise.
24575 * include/sys/time.h: Likewise.
24576 * include/sys/times.h: Likewise.
24577 * include/sys/uio.h: Likewise.
24578 * include/sys/utsname.h: Likewise.
24579 * include/sys/wait.h: Likewise.
24580 * include/termios.h: Likewise.
24581 * include/time.h: Likewise.
24582 * include/ulimit.h: Likewise.
24583 * include/unistd.h: Likewise.
24584 * include/utime.h: Likewise.
24585 * include/wchar.h: Likewise.
24586 * include/wctype.h: Likewise.
24587 * include/wordexp.h: Likewise.
24588
24589 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24590
7a270350
UD
24591 * time/time.h: TIME_UTC must be a macro.
24592 Make timespec_get available for ISO C11 only as well.
24593
7724defc
UD
245942012-02-24 Ulrich Drepper <drepper@gmail.com>
24595
24596 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24597 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24598
6b1d1d46
JM
245992012-02-24 Joseph Myers <joseph@codesourcery.com>
24600
24601 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24602
0f8bbd69
JM
246032012-02-24 Joseph Myers <joseph@codesourcery.com>
24604
24605 * manual/texinfo.tex: Update to version 2012-01-19.16.
24606
66ab80bc
JM
246072012-02-24 Joseph Myers <joseph@codesourcery.com>
24608
24609 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24610
74981cc5
RM
246112012-02-24 Roland McGrath <roland@hack.frob.com>
24612
ee968201
RM
24613 [BZ #13738]
24614 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24615 * manual/fdl-1.3.texi: New file.
24616 * manual/fdl-1.1.texi: File removed.
24617
74981cc5
RM
24618 [BZ #13738]
24619 * manual/libc.texinfo (FDL_VERSION): New @set.
24620 Use it for mention of FDL in cover text.
24621 (Documentation License): Use it in @include file name.
24622
7bb764bc
JM
246232012-02-22 Joseph Myers <joseph@codesourcery.com>
24624 Roland McGrath <roland@hack.frob.com>
24625
24626 [BZ #5461]
24627 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24628 not LONG_LONG_MAX and LONG_LONG_MIN.
24629 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24630 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24631 name.
24632 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24633
6cbeae47
JM
246342012-02-22 Joseph Myers <joseph@codesourcery.com>
24635
24636 [BZ #2547]
24637 [BZ #11365]
24638 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24639 manipulate bits before adding and subtracting TWO23[sx].
24640 * math/libm-test.inc (nearbyint_test): Add more tests.
24641
fe45ce09
JM
246422012-02-22 Joseph Myers <joseph@codesourcery.com>
24643
24644 [BZ #2548]
24645 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24646 bits before adding and subtracting TWO23[sx].
24647 * math/libm-test.inc (rint_test): Add more tests.
24648 (rint_test_tonearest): Likewise.
24649 (rint_test_towardzero): Likewise.
24650 (rint_test_downward): Likewise.
24651 (rint_test_upward: Likewise.
24652
ff3b3d82
JM
246532012-02-22 Joseph Myers <joseph@codesourcery.com>
24654
24655 [BZ #10110]
24656 * include/stdc-predef.h: New file. Extracted from features.h.
24657 * include/features.h: Include stdc-predef.h.
24658 * Makefile (headers): Add stdc-predef.h.
24659 * CONFORMANCE (Compiler limitations): Update.
24660
ef0aab35
JM
246612012-02-22 Joseph Myers <joseph@codesourcery.com>
24662
24663 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24664
58639409
DM
246652012-02-21 David S. Miller <davem@davemloft.net>
24666
24667 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24669
c0e70b25
DM
246702012-02-20 David S. Miller <davem@davemloft.net>
24671
24672 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24673 using a normal save/restore sequence, rather than allocating a
24674 dummy stack frame just to store a frame pointer and restore.
24675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24676
fb06851d
JM
246772012-02-21 Joseph Myers <joseph@codesourcery.com>
24678
24679 * manual/install.texi: Fix stray word in line-wrapped comment.
24680
7a8b71c3
DM
246812012-02-20 David S. Miller <davem@davemloft.net>
24682
d510c123
DM
24683 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24684 both binutils and gcc support GOTDATA.
24685
0722d7c2
DM
24686 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24687 "rd %pc" in the PIC register setup sequences.
24688
3d2b3019
DM
24689 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24690 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24691 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24692 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24693 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24695 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24698 (SYSCALL_ERROR_HANDLER): Likewise.
24699 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24702 (SYSCALL_ERROR_HANDLER): Likewise.
24703
c80098a9
DM
24704 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24705 (HAVE_GCC_GOTDATA): New.
24706 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24707 relocation support in both binutils and gcc.
24708 * sysdeps/sparc/elf/configure: Regenerate.
24709
3a2545a0
DM
24710 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24711 * sysdeps/sparc/sparc32/elf/configure: Delete.
24712 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24713 * sysdeps/sparc/sparc64/elf/configure: Delete.
24714 * sysdeps/sparc/elf/configure.in: New file.
24715 * sysdeps/sparc/elf/configure: Generate.
24716
7a8b71c3
DM
24717 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24718 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24719 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24720 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24721 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24722
f1e86fca
JM
247232012-02-21 Joseph Myers <joseph@codesourcery.com>
24724
24725 * manual/install.texi: Do not mention specific glibc version
24726 numbers.
24727 * manual/libc.texinfo (VERSION, UPDATED): Update.
24728 (@copying): Use @copyright{} and range of years.
24729
0e7dfaef
JM
247302012-02-21 Joseph Myers <joseph@codesourcery.com>
24731
24732 [BZ #13695]
24733 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24734 [crti.S not in sysdirs] (generated): Do not append.
24735 [crti.S not in sysdirs] (omit-deps): Likewise.
24736 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24737 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24738 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24739 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24740 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24741 Likewise.
24742 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24743 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24744 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24745 * csu/defs.awk: Remove file.
24746 * sysdeps/generic/initfini.c: Likewise.
24747 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24748 variable.
24749 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24750 Likewise.
24751
599af3ca
JM
247522012-02-20 Joseph Myers <joseph@codesourcery.com>
24753
24754 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24755 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24756 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24759 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24760 <bits/epoll.h>.
24761 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24762 (__EPOLL_PACKED): Define to empty if not defined by
24763 <bits/epoll.h>.
24764 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24766 bits/epoll.h.
24767
0e499750
JM
247682012-02-20 Joseph Myers <joseph@codesourcery.com>
24769
24770 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24771 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24772 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24774 <bits/timerfd.h>.
24775 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24777 bits/timerfd.h.
24778
5ad91f6e
JM
247792012-02-20 Joseph Myers <joseph@codesourcery.com>
24780
24781 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24782 in C locale.
24783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24784 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24787
06b99b02
AJ
247882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24789
24790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24792
7638c0fd
AS
247932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24794
24795 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24796 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24797 defined.
24798 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24799 Likewise.
24800 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24801 entry for 2.16.
24802
92221550
AJ
248032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24804
24805 * math/w_acos.c: Use non-signaling floating-point comparisons.
24806 * math/w_acosf.c: Likewise.
24807 * math/w_acosh.c: Likewise.
24808 * math/w_acoshf.c: Likewise.
24809 * math/w_acoshl.c: Likewise.
24810 * math/w_acosl.c: Likewise.
24811 * math/w_asin.c: Likewise.
24812 * math/w_asinf.c: Likewise.
24813 * math/w_asinl.c: Likewise.
24814 * math/w_atanh.c: Likewise.
24815 * math/w_atanhf.c: Likewise.
24816 * math/w_atanhl.c: Likewise.
24817 * math/w_exp2.c: Likewise.
24818 * math/w_exp2f.c: Likewise.
24819 * math/w_exp2l.c: Likewise.
24820 * math/w_j0.c: Likewise.
24821 * math/w_j0f.c: Likewise.
24822 * math/w_j0l.c: Likewise.
24823 * math/w_j1.c: Likewise.
24824 * math/w_j1f.c: Likewise.
24825 * math/w_j1l.c: Likewise.
24826 * math/w_jn.c: Likewise.
24827 * math/w_jnf.c: Likewise.
24828 * math/w_log.c: Likewise.
24829 * math/w_log10.c: Likewise.
24830 * math/w_log10f.c: Likewise.
24831 * math/w_log10l.c: Likewise.
24832 * math/w_log2.c: Likewise.
24833 * math/w_log2f.c: Likewise.
24834 * math/w_log2l.c: Likewise.
24835 * math/w_logf.c: Likewise.
24836 * math/w_logl.c: Likewise.
24837 * math/w_sqrt.c: Likewise.
24838 * math/w_sqrtf.c: Likewise.
24839 * math/w_sqrtl.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24843 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24845
ebaf36eb
JM
248462012-02-19 Joseph Myers <joseph@codesourcery.com>
24847
24848 [BZ #9739]
24849 * manual/string.texi (strnlen): Use correct parameter name in
24850 equivalent expression.
24851
71c254a6
JM
248522012-02-19 Joseph Myers <joseph@codesourcery.com>
24853
24854 [BZ #11174]
24855 * manual/users.texi (seteuid): Consistently use neweuid for
24856 argument name.
24857
16d2c631
JM
248582012-02-19 Joseph Myers <joseph@codesourcery.com>
24859
24860 [BZ #13704]
24861 * manual/nss.texi (Services in the NSS configuration): Correct
24862 list of services in example configuration file.
24863
cd837b09
NB
248642012-02-19 Nick Bowler <nbowler@draconx.ca>
24865
24866 [BZ #11322]
24867 * manual/arith.texi: Remove statements about negative zero
24868 behaving identically to zero.
24869
02c4bbad
JM
248702012-02-18 Joseph Myers <joseph@codesourcery.com>
24871
24872 [BZ #5993]
24873 * manual/install.texi: Do not document upgrading from libc5.
24874
366842e7
JM
248752012-02-18 Joseph Myers <joseph@codesourcery.com>
24876
24877 [BZ #4596]
24878 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24879
dd54084d
DM
248802012-02-18 David S. Miller <davem@davemloft.net>
24881
24882 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24883 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24884 %o7 across the call.
24885 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24886 instead.
24887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24888 SETUP_PIC_REG_LEAF.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24890 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24891 * sysdeps/sparc/crtn.S: Likewise.
24892
2bcc53a3
UD
248932012-02-17 Ulrich Drepper <drepper@gmail.com>
24894
24895 * aout/Makefile: Remove.
24896
09c093b5
RK
248972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24898
24899 [BZ #13058]
24900 * manual/examples/argp-ex1.c (main): Format definition in GNU
24901 style.
24902 * manual/examples/argp-ex2.c (main): Likewise.
24903 * manual/examples/argp-ex3.c (main): Likewise.
24904 * manual/examples/argp-ex4.c (main): Likewise.
24905 * manual/examples/longopt.c (main): Use new-style prototype
24906 definition.
24907 * manual/examples/strncat.c (main): Specify return type and use
24908 (void) for arguments.
24909 * manual/examples/subopt.c (main): Use char **argv argument.
24910
2ee633a2
JM
249112012-02-17 Joseph Myers <joseph@codesourcery.com>
24912
24913 [BZ #5077]
24914 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24915 rounding modes.
24916
0520adde
FB
249172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24918
24919 [BZ #6907]
24920 * manual/string.texi (strchr): Change when strchrnul is
24921 recommended.
24922
3f4081cd
DGM
249232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24924
24925 [BZ #174]
24926 * manual/locale.texi (setlocale): Document LOCPATH.
24927
d1b10e78
JM
249282012-02-17 Joseph Myers <joseph@codesourcery.com>
24929
24930 [BZ #10210]
24931 * manual/process.texi (execle): Move @dots{} before last argument.
24932
79c6869c
PB
249332012-02-17 Paul Bolle <pebolle@tiscali.nl>
24934
24935 [BZ #12047]
24936 * manual/charset.texi (Generic Charset Conversion): Fix typo
24937 (LC_TYPE -> LC_CTYPE).
24938
cc6e48bc
NB
249392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24940
24941 [BZ #5805]
24942 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24943 (scalbnf): Likewise.
24944 (scalbnl): Likewise.
24945 (scalbln): Likewise.
24946 (scalblnf): Likewise.
24947 (scalblnl): Likewise.
24948 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24949 (vwarnx): Likewise.
24950 (verr): Likewise.
24951 (verrx): Likewise.
24952 * manual/filesys.texi (telldir): Use braces around return type.
24953 * manual/llio.texi (mmap): Add space after comma.
24954 (mmap64): Likewise.
24955 * manual/math.texi (jn): Use @var{} on parameter names.
24956 (jnf): Likewise.
24957 (jnl): Likewise.
24958 (yn): Likewise.
24959 (ynf): Likewise.
24960 (ynl): Likewise.
24961 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24962 line.
24963 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24964 "...".
24965 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24966 (sched_get_priority_max): Likewise.
24967 * manual/signal.texi (sigvec): Add space after comma.
24968 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24969 names.
24970 (if_indextoname): Likewise.
24971 (if_freenameindex): Likewise.
24972 (sendto): Use ',' instead of '.' in prototype.
24973 * manual/startup.texi (syscall): Use @dots{} instead of literal
24974 "...".
24975 * manual/stdio.texi (__fpending): Separate initial words of
24976 paragraph from @deftypefun line.
24977 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24978 "...".
24979 (vsyslog): Use @var{} on parameter names.
24980 * manual/terminal.texi (stty): Use @var{} on parameter names.
24981 * manual/users.texi (getutmp): Use @var{} on parameter names.
24982 (getutmpx): Likewise.
24983
5b23062f
JM
249842012-02-17 Joseph Myers <joseph@codesourcery.com>
24985
24986 [BZ #6884]
24987 * manual/stdio.texi (fopen): Fix typos in description of
24988 ",ccs=STRING".
24989
8dee4833
AJ
249902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24991
24992 [BZ #4026]
24993 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24994 get clock_id definition.
24995
9078ce93
TS
249962012-02-17 Thomas Schwinge <thomas@schwinge.name>
24997
24998 [BZ #4822]
24999 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25000 (madvise): Cast every argument to void on its own.
25001
3835c55f
JM
250022012-02-17 Joseph Myers <joseph@codesourcery.com>
25003
25004 [BZ #9902]
25005 * manual/startup.texi (Exit Status): Fix typo.
25006
35c47e37
JM
250072012-02-17 Joseph Myers <joseph@codesourcery.com>
25008
25009 [BZ #10140]
25010 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25011 * manual/examples/argp-ex2.c: Likewise.
25012 * manual/examples/argp-ex3.c: Likewise.
25013
e3b69ca7
RH
250142012-02-16 Richard Henderson <rth@redhat.com>
25015
25016 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25017 * sysdeps/s390/s390-32/initfini.c: Remove.
25018 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25019 * sysdeps/s390/s390-64/initfini.c: Remove.
25020
df83af67
KK
250212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25022
25023 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25024 compiler output for sysdeps/generic/initfini.c.
25025 * sysdeps/sh/elf/initfini.c: Remove file.
25026
f63f3380
DM
250272012-02-16 David S. Miller <davem@davemloft.net>
25028
fb59b3a4
DM
25029 [BZ #11494]
25030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25031
f63f3380
DM
25032 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25033 * sysdeps/sparc/crti.S: New file.
25034 * sysdeps/sparc/crtn.S: New file.
25035 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25036 * sysdeps/sparc/sparc64/Makefile: Likewise.
25037
df6a4a4a
MF
250382012-02-15 Mike Frysinger <vapier@gentoo.org>
25039
6dd8f3dc 25040 [BZ #3335]
df6a4a4a
MF
25041 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25042
1cac7236
RM
250432012-02-15 Roland McGrath <roland@hack.frob.com>
25044
d2c736f8
RM
25045 [BZ #4822]
25046 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25047
1cac7236
RM
25048 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25049 (write, read, close): Likewise.
25050 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25051
8e475601
JM
250522012-02-15 Joseph Myers <joseph@codesourcery.com>
25053
25054 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25055 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25057 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25058 <bits/signalfd.h>.
25059 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25061 bits/signalfd.h.
25062
ed656b40
MP
250632012-02-14 Marek Polacek <polacek@redhat.com>
25064
25065 * sysdeps/x86_64/crti.S: New file.
25066 * sysdeps/x86_64/crtn.S: New file.
25067 * sysdeps/x86_64/elf/initfini.c: Remove file.
25068
2a979d3a
JM
250692012-02-13 Joseph Myers <joseph@codesourcery.com>
25070
25071 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25072 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25073 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25074 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25075 <bits/inotify.h>.
25076 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25078 bits/inotify.h.
25079
2a418ac3
JM
250802012-02-13 Joseph Myers <joseph@codesourcery.com>
25081
25082 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25083 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25084 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25085 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25086 <bits/eventfd.h>.
25087 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25089 bits/eventfd.h.
25090
fb779be7
TS
250912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25092
e19e83c5
RM
25093 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25094 __feraiseexcept instead of feraiseexcept.
7c35ffed 25095
fb779be7
TS
25096 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25097 nanosleep invocations.
25098 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25099 strings, and add error checking for a nanosleep invocations.
25100
59ba27a6
PE
251012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25102
25103 Replace FSF snail mail address with URLs, as per GNU coding standards.
25104 Most of the snail mail addresses were wrong anyway, and omitting
25105 them makes the source code easier to maintain. Almost all of the
25106 changes are to license notices and to locale LC_IDENTIFICATION
25107 addresses, except for this one:
25108 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25109 not its snail mail address.
25110
57b957eb
RH
251112012-02-09 Richard Henderson <rth@twiddle.net>
25112
af850b1c
RH
25113 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25114 of kernel-features.h.
25115
57b957eb
RH
25116 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25117
6b73181a
MP
251182012-02-08 Marek Polacek <polacek@redhat.com>
25119
25120 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25121 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25122 * sysdeps/gnu/_G_config.h: Likewise.
25123 * sysdeps/generic/_G_config.h: Likewise.
25124
26ecc33a
AS
251252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25126
6c6dbc63
AS
25127 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25128 tests.
25129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25130
e216c012
AS
25131 * sysdeps/powerpc/powerpc32/crti.S: New file.
25132 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25133 * sysdeps/powerpc/powerpc64/crti.S: New file.
25134 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25135
26ecc33a
AS
25136 * Makeconfig (have-initfini): Don't set.
25137 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25138 * configure.in (nopic_initfini): Don't substitute.
25139 * config.h.in (HAVE_INITFINI): Don't #undef.
25140 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25141 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25142
3add8e13
JM
251432012-02-08 Joseph Myers <joseph@codesourcery.com>
25144
25145 Support crti.S and crtn.S provided directly by architectures.
25146 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25147 [crti.S in sysdirs] (omit-deps): Likewise.
25148 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25149 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25150 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25151 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25152 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25153 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25154 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25155 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25156 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25157 compiler output for sysdeps/generic/initfini.c.
25158 * sysdeps/i386/elf/Makefile: Remove file.
25159 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25160
a22f12b4
MP
251612012-02-07 Marek Polacek <polacek@redhat.com>
25162
25163 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25164 * sysdeps/gnu/_G_config.h: Likewise.
25165 * sysdeps/mach/hurd/_G_config.h: Likewise.
25166
148cf100
MP
251672012-02-07 Marek Polacek <polacek@redhat.com>
25168
25169 * math/Makefile (tests): Add tst-CMPLX2.
25170 * math/tst-CMPLX2.c: New file.
25171
cfdc0dd7
AS
251722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25173
84ba42c4
AS
25174 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25175
cfdc0dd7
AS
25176 * math/libm-test.inc (jn_test): Add missing L suffix.
25177
622c86f4
MP
251782012-02-06 Marek Polacek <polacek@redhat.com>
25179
25180 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25181 * sysdeps/i386/fpu/e_powf.S: Likewise.
25182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25183 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25184 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25185 * sysdeps/i386/fpu/e_pow.S: Likewise.
25186 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25187 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25188 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25189 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25190 * sysdeps/i386/fpu/e_log2.S: Likewise.
25191 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25193 * sysdeps/i386/fpu/e_powl.S: Likewise.
25194 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25195 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25196 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25197 * sysdeps/i386/fpu/e_logl.S: Likewise.
25198 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25199 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25200 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25201 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25202 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25203 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25204 * sysdeps/i386/fpu/e_log.S: Likewise.
25205 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25207 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25208 * sysdeps/i386/fpu/e_logf.S: Likewise.
25209 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25210 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25211 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25212 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25213 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25214 * sysdeps/i386/fpu/e_log10.S: Likewise.
25215 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25216 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25217 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25218 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25219 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25220 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25221 * sysdeps/i386/asm-syntax.h: Likewise.
25222 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25224 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25225 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25226 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25227 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25228 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25229 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25230 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25231 * sysdeps/powerpc/sysdep.h: Likewise.
25232 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25234
d4a54ac6
JM
252352012-02-06 Joseph Myers <joseph@codesourcery.com>
25236
25237 [BZ #411]
25238 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25239
314054ea
JM
252402012-02-06 Joseph Myers <joseph@codesourcery.com>
25241
25242 * sysdeps/i386/sysdep.h: Include <features.h>.
25243 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25244 version.
25245
d8e0ca50
JM
252462012-02-05 Joseph Myers <joseph@codesourcery.com>
25247
25248 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25249 Define.
25250 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25251 LOAD_PIC_REG_STR.
25252
b1da7dd9
JM
252532012-02-03 Joseph Myers <joseph@codesourcery.com>
25254
25255 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25256 (SETUP_PIC_REG): Use GET_PC_THUNK.
25257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25258 macro.
25259
9a1d9254
JM
252602012-02-03 Joseph Myers <joseph@codesourcery.com>
25261
25262 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25263 for non-PIC compilation.
25264 (SETUP_PIC_REG): Add .p2align directive.
25265 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25266 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25267 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25268 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25269 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25270 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25271 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25273 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25274 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25275 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25276 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25277 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25278 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25279 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25280 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25281 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25282 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25283 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25284 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25291 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25292 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25306
65dc3b75
JM
253072012-02-03 Joseph Myers <joseph@codesourcery.com>
25308
25309 * math/tst-CMPLX.c: Include <stdio.h>.
25310
d55bf177
JM
253112012-01-31 Joseph Myers <joseph@codesourcery.com>
25312
25313 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25314 float.
25315 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25316 * sysdeps/sparc/bits/mathdef.h: Likewise.
25317
69db4f8f
MP
253182012-01-31 Marek Polacek <polacek@redhat.com>
25319
25320 * libio/libio.h: Don't define _PARAMS.
25321 * locale/programs/config.h: Don't define PARAMS.
25322 * stdlib/strtol_l.c: Likewise.
25323 (__strtol_l): Remove PARAMS from the prototype.
25324
41b81892
UD
253252012-01-31 Ulrich Drepper <drepper@gmail.com>
25326
3b49edc0
UD
25327 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25328 names. Just use the correct names. Remove unnecessary wrapper
25329 functions.
25330 * malloc/arena.c: Likewise.
25331 * malloc/hooks.c: Likewise.
25332
41b81892
UD
25333 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25334 ARENA_TEST says not to. Simplify test for creation of a new arena.
25335 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25336
27a25b6e
UD
253372012-01-30 Ulrich Drepper <drepper@gmail.com>
25338
25339 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25340 into tail calls.
25341 (update_get_addr): New function.
25342 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25343 GET_ADDR_MODULE parameter.
25344
c8a89e7d
JM
253452012-01-30 Joseph Myers <joseph@codesourcery.com>
25346
25347 * crypt/cert.c: Remove __STDC__ conditionals.
25348 * crypt/crypt-entry.c: Likewise.
25349 * crypt/crypt_util.c: Likewise.
25350 * libio/filedoalloc.c: Likewise.
25351 * libio/fileops.c: Likewise.
25352 * libio/genops.c: Likewise.
25353 * libio/iofclose.c: Likewise.
25354 * libio/iofdopen.c: Likewise.
25355 * libio/iofopen.c: Likewise.
25356 * libio/iofopen64.c: Likewise.
25357 * libio/iogetdelim.c: Likewise.
25358 * libio/iopopen.c: Likewise.
25359 * libio/obprintf.c: Likewise.
25360 * libio/oldfileops.c: Likewise.
25361 * libio/oldiofclose.c: Likewise.
25362 * libio/oldiofdopen.c: Likewise.
25363 * libio/oldiofopen.c: Likewise.
25364 * libio/oldiopopen.c: Likewise.
25365 * libio/wfiledoalloc.c: Likewise.
25366 * libio/wgenops.c: Likewise.
25367 * locale/programs/xmalloc.c: Likewise.
25368 * misc/syslog.c: Likewise.
25369 * stdio-common/xbug.c: Likewise.
25370 * string/memchr.c: Likewise.
25371 * string/memcmp.c: Likewise.
25372 * string/memrchr.c: Likewise.
25373 * string/rawmemchr.c: Likewise.
25374 * sysdeps/posix/getcwd.c: Likewise.
25375 * time/strftime_l.c: Likewise.
25376
3b100462
JM
253772012-01-30 Joseph Myers <joseph@codesourcery.com>
25378
25379 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25380 * config.make.in (config-cflags-sse2avx): Define.
25381 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25382 Fix typo.
25383
607998af
CM
253842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25385
25386 * scripts/config.guess: Update from upstream config git repository.
25387 * scripts/config.sub: Likewise.
25388
3601428f
CM
253892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25390
3ac8b282
CM
25391 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25392 (EM_NUM): Update.
25393 (R_TILEPRO_*, R_TILEGX_*): New macros.
25394
e034841e
CM
25395 * scripts/firstversions.awk: Fix bug in version range handling.
25396
540d7568
CM
25397 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25398
3601428f
CM
25399 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25400
463de862
CM
25401 * include/sys/epoll.h: New file.
25402 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25403 libc_hidden_def.
25404
73139a76
UD
254052012-01-28 Ulrich Drepper <drepper@gmail.com>
25406
96bc5b45
UD
25407 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25408 Avoid unnecessary __WORDSIZE == 64 test.
25409 (fmaxf): Use VEX format if possible.
25410 (fmax): Likewise.
25411 (fminf): Likewise.
25412 (fmin): Likewise.
25413
56f6f6a2
UD
25414 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25415 * math/math_private.h: Remove libc_fegetround* and
25416 libc_fesetround*.
25417 * sysdeps/i386/configure.in: Check for -msse2avx.
25418 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25419 also if SSE2AVX is defined.
25420 Remove libc_fegetround* and libc_fesetround*.
25421 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25422 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25424 of HAS_YMM_USABLE.
25425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25426 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25427 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25428 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25430
73139a76
UD
25431 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25432
d73f93a4
AZ
254332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25434
25435 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25436 size is not set.
25437 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25438
6ee65ed6
UD
254392012-01-27 Ulrich Drepper <drepper@gmail.com>
25440
25441 [BZ #13618]
25442 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25443 relocation.
25444 * Makeconfig (libm): Define.
25445 * elf/Makefile: Add rules to build and run tst-relsort1.
25446 * elf/tst-relsort1.c: New file.
25447 * elf/tst-relsort1mod1.c: New file.
25448 * elf/tst-relsort1mod2.c: New file.
25449
8db21882
JM
254502012-01-27 Joseph Myers <joseph@codesourcery.com>
25451
25452 * math/s_ldexp.c: Remove __STDC__ conditionals.
25453 * math/s_ldexpf.c: Likewise.
25454 * math/s_ldexpl.c: Likewise.
25455 * math/s_nextafter.c: Likewise.
25456 * math/s_nexttowardf.c: Likewise.
25457 * math/s_significand.c: Likewise.
25458 * math/s_significandf.c: Likewise.
25459 * math/s_significandl.c: Likewise.
25460 * math/w_jnl.c: Likewise.
25461 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25462 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25463 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25464 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25465 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25482 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25483 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25485 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25486 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25487 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25488 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25489 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25490 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25491 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25492 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25495 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25496 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25497 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25498 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25499 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25500 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25501 * sysdeps/ieee754/k_standard.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25581 * sysdeps/ieee754/s_matherr.c: Likewise.
25582 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25583 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25586
965a54a4
JM
255872012-01-26 Joseph Myers <joseph@codesourcery.com>
25588
25589 * crypt/md5.h: Remove __STDC__ conditionals.
25590 * libio/libioP.h: Likewise.
25591 * locale/programs/config.h: Likewise.
25592 * sysdeps/generic/sysdep.h: Likewise.
25593 * sysdeps/i386/asm-syntax.h: Likewise.
25594 * sysdeps/s390/asm-syntax.h: Likewise.
25595 * sysdeps/unix/sysdep.h: Likewise.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25598
7071ad79
JM
255992012-01-26 Joseph Myers <joseph@codesourcery.com>
25600
25601 * libio/libio.h: Remove __STDC__ conditionals.
25602 * malloc/obstack.h: Likewise.
25603 * math/complex.h: Likewise.
25604 * math/math.h: Likewise.
25605 * sysdeps/generic/_G_config.h: Likewise.
25606 * sysdeps/gnu/_G_config.h: Likewise.
25607 * sysdeps/mach/hurd/_G_config.h: Likewise.
25608 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25609 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25610 * sysdeps/sparc/bits/mathdef.h: Likewise.
25611
afc5ed09
UD
256122012-01-26 Ulrich Drepper <drepper@gmail.com>
25613
25614 [BZ #13583]
25615 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25616 Clean up HAS_* macros.
afc5ed09 25617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25618 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25619 possible.
25620 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25621 HAS_AVX.
25622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25623 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25627
bdb6de1d
JM
256282012-01-25 Joseph Myers <joseph@codesourcery.com>
25629
25630 * elf/tst-unique3.cc (gets): Remove declaration.
25631 * elf/tst-unique3lib.cc (gets): Likewise.
25632 * elf/tst-unique3lib2.cc (gets): Likewise.
25633 * elf/tst-unique4.cc (gets): Likewise.
25634
b15549e6
UD
256352012-01-24 Ulrich Drepper <drepper@gmail.com>
25636
25637 * include/stdio.h: Add C++ protection. Add gets declarations and
25638 definitions.
25639 * debug/tst-chk1.c: Don't declare gets here.
25640 * stdio-common/tst-gets.c: Likewise.
25641
a037381f
JM
256422012-01-24 Joseph Myers <joseph@codesourcery.com>
25643
25644 * posix/glob: Remove directory.
25645
f1d4aa75
JM
256462012-01-24 Joseph Myers <joseph@codesourcery.com>
25647
25648 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25649
81c0c964
PT
256502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25651
25652 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25653 of the non-standard EPFNOSUPPORT.
25654
0ea698ae
ST
256552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25656
25657 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25658 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25659 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25660
d220b117
UD
256612012-01-21 Ulrich Drepper <drepper@gmail.com>
25662
25663 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25664
3e1aa84e
UD
256652012-01-20 Ulrich Drepper <drepper@gmail.com>
25666
25667 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25668 transient errors.
25669 * nscd/grpcache.c (cache_addgr): Likewise.
25670 * nscd/hstcache.c (cache_addhst): Likewise.
25671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25672 * nscd/pwdcache.c (cache_addpw): Likewise.
25673 * nscd/servicescache.c (cache_addserv): Likewise.
25674
400aa020
UD
256752012-01-16 Ulrich Drepper <drepper@gmail.com>
25676
d77e7869
UD
25677 * malloc/malloc.c: Various cleanups.
25678 * malloc/hooks.c: Likewise.
25679
400aa020
UD
25680 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25681 * stdlib/bug-fmtmsg1.c: New file.
25682
25683 * stdlib/fmtmsg.c (init): Add missing unlock.
25684 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25685
e0a309cf
MP
256862012-01-12 Marek Polacek <polacek@redhat.com>
25687
25688 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25689 and _GNU_SOURCE.
25690
929d11c7
WS
256912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25692
25693 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25694 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25695 macro to ensure uniqueness of label name.
25696 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25697 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25698
41d0e869
UD
256992012-01-11 Ulrich Drepper <drepper@gmail.com>
25700
0cc5ed3b
UD
25701 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25702
41d0e869
UD
25703 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25704 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25707
a47a831a
UD
257082012-01-10 Ulrich Drepper <drepper@gmail.com>
25709
daa891c0
UD
25710 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25711
25712 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25713 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25715
e58ef0f2
UD
25716 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25717
a47a831a 25718 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25719 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25722
25723 * math/bits/math-finite.h: Add ldexp support.
25724
a0bfc9c7
MP
257252012-01-10 Marek Polacek <polacek@redhat.com>
25726
25727 * locale/programs/localedef.h (show_archive_content): Add noreturn
25728 attribute.
25729
d6e97a1d
UD
257302012-01-09 Ulrich Drepper <drepper@gmail.com>
25731
25732 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25733
d5835c26
UD
257342012-01-08 Ulrich Drepper <drepper@gmail.com>
25735
e5f484c6
UD
25736 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25737
d5835c26
UD
25738 * io/Makefile (headers): Add bits/poll2.h.
25739
d1f741e9
WS
257402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25741
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25743 typo #include statement.
25744
ec09c1c4
UD
257452012-01-08 Ulrich Drepper <drepper@gmail.com>
25746
25747 * include/sys/cdefs.h: Define __attribute_alloc_size.
25748 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25749 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25750 * elf/pldd.c: Likewise.
25751 * iconv/iconv_charmap.c: Likewise.
25752 * iconv/iconvconfig.c: Likewise.
25753 * iconv/strtab.c: Likewise.
25754 * locale/programs/locale.c: Likewise.
25755 * locale/programs/localedef.h: Likewise.
25756 * locale/programs/simple-hash.c: Likewise.
25757 * nscd/nscd.h: Likewise.
25758 * nss/makedb.c: Likewise.
25759 * sysdeps/generic/ldconfig.h: Likewise.
25760 * locale/programs/localedef.c: Remove xmalloc prototype.
25761 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25762
20b38e03
PP
257632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25764
25765 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25766 appropriate.
25767
a0da5fe1
UD
257682012-01-08 Ulrich Drepper <drepper@gmail.com>
25769
1d5a644a 25770 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25771 * math/tst-CMPLX.c: New file.
1d5a644a 25772
8784a6db
UD
25773 * math/complex.h (CMPLXL): Fix typo.
25774
d9a216c0
UD
25775 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25776 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25777 GLIBC_2.16.
25778 * debug/tst-chk1.c: Add poll and ppoll tests.
25779 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25780 * include/sys/poll.h: Add hidden proto for ppoll.
25781 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25782 * sysdeps/mach/hurd/ppoll.c: Likewise.
25783 * io/ppoll.c: Likewise.
25784 * debug/poll_chk.c: New file.
25785 * debug/ppoll_chk.c: New file.
25786 * include/bits/poll2.h: New file.
25787 * io/bits/poll2.h: New file.
25788
ac097f5c
UD
25789 [BZ #1350]
25790 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25791
2119dcfa
UD
25792 * configure.in: static is always set to yes. Remove.
25793 * config.make.in: Don't set build-static.
25794 * Makeconfig: Remove use of build-static.
25795 * dlfcn/Makefile: Likewise.
25796 * elf/Makefile: Likewise.
25797 * math/Makefile: Likewise.
25798 * misc/Makefile: Likewise.
25799 * nptl/Makefile: Likewise.
25800 * sysdeps/mach/hurd/Makefile: Likewise.
25801
121766a9
UD
25802 * configure.in: PWD_P is not used anymore.
25803 * config.make.in: Remove PWD_P entry.
25804
51a1d39c 25805 * configure.in: Remove last remnants of RANLIB.
8720d066 25806 No need to check for signed size_t anymore.
215f4bdc
UD
25807 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25808 and IA-64.
3857022a 25809 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25810 * aclocal.m4: Likewise.
25811
d3ed7225
UD
25812 * wcsmbs/mbrtoc16.c: Implement using towc function.
25813 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25814 * wcsmbs/wcsmbsload.c: Likewise.
25815 * iconv/gconv_simple.c: Likewise.
25816 * iconv/gconv_int.h: Likewise.
25817 * iconv/gconv_builtin.h: Likewise.
25818 * iconv/iconv_prog.c: Remove CHAR16 handling.
25819
25820 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25821
25822 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25823
a0da5fe1
UD
25824 * configure.in: Remove --with-elf and --enable-bounded options.
25825 Dont set base_machine for ia64. More non-ELF conditions removed.
25826 Remove testing and setting of leading underscore information.
25827 * config.make.in (build-bounded): Set to no.
25828 * config.h.in: Remove NO_UNDERSCORES entry.
25829 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25830 them.
25831 * csu/start.c: Remove !NO_UNDERSCORE code.
25832 * locale/localeinfo.h: Likewise.
25833 * sysdeps/generic/machine-gmon.h: Likewise.
25834 * sysdeps/generic/sysdep.h: Likewise.
25835 * sysdeps/i386/sysdep.h: Likewise.
25836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25837 * sysdeps/mach/sysdep.h: Likewise.
25838 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25840 * sysdeps/sh/sysdep.h: Likewise.
25841 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25842 * sysdeps/unix/i386/sysdep.S: Likewise.
25843 * sysdeps/unix/sparc/start.c: Likewise.
25844 * sysdeps/unix/sparc/sysdep.S: Likewise.
25845 * sysdeps/unix/sparc/sysdep.h: Likewise.
25846 * sysdeps/unix/start.c: Likewise.
25847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25848 * sysdeps/x86_64/sysdep.h: Likewise.
25849
df78418a
UD
258502012-01-07 Ulrich Drepper <drepper@gmail.com>
25851
a784e502
UD
25852 [BZ #13553]
25853 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25854 for non-gcc.
25855 * argp/argp-fmtstream.h: Use const instead __const.
25856 * argp/argp.h: Likewise.
25857 * assert/assert.h: Likewise.
25858 * bits/fenv.h: Likewise.
25859 * bits/sched.h: Likewise.
25860 * bits/sigset.h: Likewise.
25861 * bits/sigthread.h: Likewise.
25862 * catgets/nl_types.h: Likewise.
25863 * conform/data/pthread.h-data: Likewise.
25864 * crypt/crypt-private.h: Likewise.
25865 * crypt/crypt.h: Likewise.
25866 * crypt/crypt_util.c: Likewise.
25867 * ctype/ctype.h: Likewise.
25868 * debug/execinfo.h: Likewise.
25869 * debug/mbsnrtowcs_chk.c: Likewise.
25870 * debug/mbsrtowcs_chk.c: Likewise.
25871 * debug/wcsnrtombs_chk.c: Likewise.
25872 * debug/wcsrtombs_chk.c: Likewise.
25873 * debug/wcstombs_chk.c: Likewise.
25874 * dirent/dirent.h: Likewise.
25875 * dlfcn/dlfcn.h: Likewise.
25876 * elf/neededtest4.c: Likewise.
25877 * grp/grp.h: Likewise.
25878 * gshadow/gshadow.h: Likewise.
25879 * iconv/gconv.h: Likewise.
25880 * iconv/gconv_int.h: Likewise.
25881 * iconv/gconv_simple.c: Likewise.
25882 * iconv/iconv.h: Likewise.
25883 * iconv/loop.c: Likewise.
25884 * iconv/skeleton.c: Likewise.
25885 * include/aio.h: Likewise.
25886 * include/aliases.h: Likewise.
25887 * include/argz.h: Likewise.
25888 * include/arpa/inet.h: Likewise.
25889 * include/assert.h: Likewise.
25890 * include/dirent.h: Likewise.
25891 * include/dlfcn.h: Likewise.
25892 * include/execinfo.h: Likewise.
25893 * include/fcntl.h: Likewise.
25894 * include/fenv.h: Likewise.
25895 * include/glob.h: Likewise.
25896 * include/grp.h: Likewise.
25897 * include/libintl.h: Likewise.
25898 * include/mntent.h: Likewise.
25899 * include/netdb.h: Likewise.
25900 * include/pwd.h: Likewise.
25901 * include/rpc/netdb.h: Likewise.
25902 * include/sched.h: Likewise.
25903 * include/search.h: Likewise.
25904 * include/shadow.h: Likewise.
25905 * include/signal.h: Likewise.
25906 * include/stdio.h: Likewise.
25907 * include/stdlib.h: Likewise.
25908 * include/string.h: Likewise.
25909 * include/sys/socket.h: Likewise.
25910 * include/sys/stat.h: Likewise.
25911 * include/sys/statfs.h: Likewise.
25912 * include/sys/statvfs.h: Likewise.
25913 * include/sys/syslog.h: Likewise.
25914 * include/sys/time.h: Likewise.
25915 * include/sys/uio.h: Likewise.
25916 * include/time.h: Likewise.
25917 * include/unistd.h: Likewise.
25918 * include/utmp.h: Likewise.
25919 * include/wchar.h: Likewise.
25920 * include/wctype.h: Likewise.
25921 * inet/aliases.h: Likewise.
25922 * inet/arpa/inet.h: Likewise.
25923 * inet/netinet/ether.h: Likewise.
25924 * inet/netinet/in.h: Likewise.
25925 * intl/libintl.h: Likewise.
25926 * io/bits/fcntl2.h: Likewise.
25927 * io/fcntl.h: Likewise.
25928 * io/ftw.h: Likewise.
25929 * io/sys/poll.h: Likewise.
25930 * io/sys/stat.h: Likewise.
25931 * io/sys/statfs.h: Likewise.
25932 * io/sys/statvfs.h: Likewise.
25933 * io/utime.h: Likewise.
25934 * libio/bits/stdio.h: Likewise.
25935 * libio/bits/stdio2.h: Likewise.
25936 * libio/libio.h: Likewise.
25937 * libio/libioP.h: Likewise.
25938 * libio/stdio.h: Likewise.
25939 * locale/lc-ctype.c: Likewise.
25940 * locale/locale.h: Likewise.
25941 * login/utmp.h: Likewise.
25942 * malloc/arena.c: Likewise.
25943 * malloc/malloc.c: Likewise.
25944 * malloc/malloc.h: Likewise.
25945 * malloc/mcheck.c: Likewise.
25946 * malloc/mtrace.c: Likewise.
25947 * math/bits/mathcalls.h: Likewise.
25948 * math/fenv.h: Likewise.
25949 * math/math_private.h: Likewise.
25950 * misc/bits/error.h: Likewise.
25951 * misc/bits/syslog.h: Likewise.
25952 * misc/err.h: Likewise.
25953 * misc/error.h: Likewise.
25954 * misc/fstab.h: Likewise.
25955 * misc/mntent.h: Likewise.
25956 * misc/regexp.h: Likewise.
25957 * misc/search.h: Likewise.
25958 * misc/sgtty.h: Likewise.
25959 * misc/sys/mman.h: Likewise.
25960 * misc/sys/syslog.h: Likewise.
25961 * misc/sys/uio.h: Likewise.
25962 * misc/sys/xattr.h: Likewise.
25963 * misc/ttyent.h: Likewise.
25964 * nis/rpcsvc/ypclnt.h: Likewise.
25965 * nss/nss.h: Likewise.
25966 * posix/bits/unistd.h: Likewise.
25967 * posix/fnmatch.h: Likewise.
25968 * posix/glob.h: Likewise.
25969 * posix/sched.h: Likewise.
25970 * posix/spawn.h: Likewise.
25971 * posix/sys/wait.h: Likewise.
25972 * posix/unistd.h: Likewise.
25973 * posix/wordexp.h: Likewise.
25974 * pwd/pwd.h: Likewise.
25975 * resolv/netdb.h: Likewise.
25976 * resource/sys/resource.h: Likewise.
25977 * rt/aio.h: Likewise.
25978 * rt/bits/mqueue2.h: Likewise.
25979 * rt/mqueue.h: Likewise.
25980 * shadow/shadow.h: Likewise.
25981 * signal/signal.h: Likewise.
25982 * socket/send.c: Likewise.
25983 * socket/sendto.c: Likewise.
25984 * socket/sys/socket.h: Likewise.
25985 * stdio-common/printf.h: Likewise.
25986 * stdlib/bits/stdlib.h: Likewise.
25987 * stdlib/fmtmsg.h: Likewise.
25988 * stdlib/monetary.h: Likewise.
25989 * stdlib/stdlib.h: Likewise.
25990 * stdlib/ucontext.h: Likewise.
25991 * streams/stropts.h: Likewise.
25992 * string/argz.h: Likewise.
25993 * string/bits/string2.h: Likewise.
25994 * string/string.h: Likewise.
25995 * string/strings.h: Likewise.
25996 * sunrpc/rpc/auth.h: Likewise.
25997 * sunrpc/rpc/auth_des.h: Likewise.
25998 * sunrpc/rpc/clnt.h: Likewise.
25999 * sunrpc/rpc/netdb.h: Likewise.
26000 * sunrpc/rpc/pmap_clnt.h: Likewise.
26001 * sunrpc/rpc/xdr.h: Likewise.
26002 * sysdeps/generic/inttypes.h: Likewise.
26003 * sysdeps/generic/net/if.h: Likewise.
26004 * sysdeps/generic/sys/swap.h: Likewise.
26005 * sysdeps/gnu/net/if.h: Likewise.
26006 * sysdeps/gnu/utmpx.h: Likewise.
26007 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26008 * sysdeps/i386/i486/bits/string.h: Likewise.
26009 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26010 * sysdeps/s390/bits/string.h: Likewise.
26011 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26012 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26013 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26014 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26015 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26016 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26017 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26018 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26019 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26020 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26021 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26022 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26023 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26024 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26025 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26027 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26031 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26032 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26033 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26034 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26035 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26036 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26037 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26039 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26040 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26041 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26042 * sysvipc/sys/ipc.h: Likewise.
26043 * sysvipc/sys/msg.h: Likewise.
26044 * sysvipc/sys/sem.h: Likewise.
26045 * sysvipc/sys/shm.h: Likewise.
26046 * termios/termios.h: Likewise.
26047 * time/sys/time.h: Likewise.
26048 * time/time.h: Likewise.
26049 * wcsmbs/bits/wchar2.h: Likewise.
26050 * wcsmbs/uchar.h: Likewise.
26051 * wcsmbs/wchar.h: Likewise.
26052 * wctype/wctype.h: Likewise.
26053
0269750c
UD
26054 [BZ #13551]
26055 * Makeconfig: Remove all but ELF support including AIX support.
26056 * Makerules: Likewise.
26057 * config.h.in: Likewise.
26058 * config.make.in: Likewise.
26059 * configure: Likewise.
26060 * configure.in: Likewise.
26061 * csu/Makefile: Likewise.
26062 * csu/version.c: Likewise.
26063 * debug/Makefile: Likewise.
26064 * dlfcn/Makefile: Likewise.
26065 * elf/Makefile: Likewise.
26066 * extra-lib.mk: Likewise.
26067 * iconv/Makefile: Likewise.
26068 * include/libc-symbols.h: Likewise.
26069 * include/shlib-compat.h: Likewise.
26070 * resolv/Makefile: Likewise.
26071 * resolv/res_libc.c: Likewise.
26072 * rt/Makefile: Likewise.
26073 * sysdeps/i386/asm-syntax.h: Likewise.
26074 * sysdeps/i386/sysdep.h: Likewise.
26075 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26076 * sysdeps/mach/sysdep.h: Likewise.
26077 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26078 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26079 * sysdeps/s390/asm-syntax.h: Likewise.
26080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26082 * sysdeps/sh/sysdep.h: Likewise.
26083 * sysdeps/unix/sparc/sysdep.h: Likewise.
26084 * sysdeps/wordsize-32/divdi3.c: Likewise.
26085 * sysdeps/x86_64/sysdep.h: Likewise.
26086
00bbd29b
UD
26087 * argp/Versions: Remove _argp_unlock_xxx.
26088
26089 [BZ #13559]
26090 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26091 * abilist/libBrokenLocale.abilist: Likewise.
26092 * abilist/libanl.abilist: Likewise.
26093 * abilist/libc.abilist: Likewise.
26094 * abilist/libcrypt.abilist: Likewise.
26095 * abilist/libdl.abilist: Likewise.
26096 * abilist/libm.abilist: Likewise.
26097 * abilist/libnsl.abilist: Likewise.
26098 * abilist/libpthread.abilist: Likewise.
26099 * abilist/libresolv.abilist: Likewise.
26100 * abilist/librt.abilist: Likewise.
26101 * abilist/libthread_db.abilist: Likewise.
26102 * abilist/libutil.abilist: Likewise.
26103 * abilist/libnss_db.abilist: New file.
26104
26105 * scripts/abilist.awk: Add support for indirect functions.
26106
a2693a0e
UD
26107 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26108
3f05895f
UD
26109 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26110
ecb6fb48
UD
26111 * shlib-versions: Remove entries for ports architectures.
26112
664f8cb9
UD
26113 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26114 files in ports.
26115 * elf/stackguard-macros.h: Remove support for IA-64.
26116 * elf/tst-auditmod1.c: Likewise.
26117 * sysdeps/generic/ldsodefs.h: Likewise.
26118
7ae81d88
UD
26119 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26120 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26121 configure files.
26122
bdeba135
UD
26123 [BZ #13552]
26124 * configure.in: Remove --enable-omitfp support.
26125 * FAQ.in: Adjust.
26126 * config.make.in: Likewise.
26127 * Makeconfig: Likewise.
26128 * manual/install.texi: Likewise.
26129
d75a0a62
UD
26130 In case anyone cares, the IA-64 architecture could move to ports.
26131 * sysdeps/ia64/*: Removed.
26132 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26133 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26134
dcc9756b
UD
26135 [BZ #13555]
26136 * configure.in: Remove entries for unsupported architectures.
26137
d3761ebc 26138 [BZ #13533]
9954432e
UD
26139 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26140 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26141 routines.
26142 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26143 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26144 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26145 fall back to using wcrtomb.
26146 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26147 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26148 renaming.
26149 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26150 * wcsmbs/tst-c16c32-1.c: New file.
26151
26152 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26153 local variable.
26154
c3a87236
UD
26155 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26156
28926a1b
UD
26157 * elf/tst-unique3.cc: Add explicit declaration of gets.
26158 * elf/tst-unique3lib.cc: Likewise.
26159 * elf/tst-unique3lib2.cc: Likewise.
26160 * elf/tst-unique4.cc: Likewise.
26161
df78418a
UD
26162 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26163
8ecd6b2a
JM
261642012-01-06 Joseph Myers <joseph@codesourcery.com>
26165
26166 [BZ #13566]
26167 * assert/assert.h (static_assert): Don't define for C++.
26168 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26169 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26170
9f115170
UD
261712012-01-03 Ulrich Drepper <drepper@gmail.com>
26172
5e0d0300
UD
26173 * iconv/loop.c (single loop): Fix assertion in storing of
26174 remaining bytes.
26175
9f115170
UD
26176 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26177
81fb02b0
UD
261782012-01-01 Ulrich Drepper <drepper@gmail.com>
26179
26180 * posix/getconf.c: Update copyright year.
26181 * nss/getent.c: Likewise.
a316c1f6 26182 * nss/makedb.c: Likewise.
81fb02b0
UD
26183 * iconv/iconvconfig.c: Likewise.
26184 * iconv/iconv_prog.c: Likewise.
26185 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26186 * elf/pldd.c: Likewise.
26187 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26188 * catgets/gencat.c: Likewise.
26189 * csu/version.c: Likewise.
26190 * elf/ldd.bash.in: Likewise.
26191 * elf/sprof.c (print_version): Likewise.
26192 * locale/programs/locale.c: Likewise.
26193 * locale/programs/localedef.c: Likewise.
a316c1f6 26194 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26195 * nscd/nscd.c (print_version): Likewise.
26196 * debug/xtrace.sh: Likewise.
26197 * malloc/memusage.sh: Likewise.
26198 * malloc/mtrace.pl: Likewise.
26199 * debug/catchsegv.sh: Likewise.
26200
2ba92745
JJ
262012011-12-30 Jakub Jelinek <jakub@redhat.com>
26202
26203 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26204 pure attribute.
26205
dadebdae
UD
262062011-12-24 Ulrich Drepper <drepper@gmail.com>
26207
d3761ebc 26208 [BZ #13533]
db6af3eb
UD
26209 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26210 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26211 transformations.
26212 * iconv/gconv_int.h: Likewise.
26213 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26214 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26215 from libc for GLIBC_2.16.
26216 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26217 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26218 * wcsmbs/uchar.h: Really define mbstate_t.
26219 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26220 * wcsmbs/c16rtomb.c: New file.
26221 * wcsmbs/mbrtoc16.c: New file.
26222 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26223 for C/POSIX locale.
26224 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26225 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26226
dadebdae
UD
26227 * wcsmbs/wchar.h: Add missing __restrict.
26228
67371b56
UD
262292011-12-23 Ulrich Drepper <drepper@gmail.com>
26230
74033a25
UD
26231 [BZ #13532]
26232 * time/Makefile (routines): Add timespec_get.
26233 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26234 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26235 timespec for ISO C11.
26236 * time/timespec_get.c: New file.
26237 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26238 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26239
380d7e87
UD
26240 [BZ #13531]
26241 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26242 * stdlib/stdlib.h: Declare aligned_alloc.
26243 * Versions.def: Add GLIBC_2.16 for libc.
26244 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26245
4e9e7a35
UD
26246 [BZ 13527]
26247 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26248 ISO C11.
26249
380d7e87 26250 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26251 code.
26252
03a71829
UD
26253 [BZ #13528]
26254 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26255
839e283e
UD
26256 [BZ #13529]
26257 * assert/assert.h (static_assert): Define.
26258
ce5294e2 26259 * version.h: Update for 2.16 development version.
90fa7312 26260
8d44e150 26261 [BZ #13526]
d7809905
UD
26262 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26263 _ISOC11_SOURCE.
26264
c0da14cd
UD
26265 * version.h (RELEASE): Bump for 2.15 release.
26266 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26267
530a3249
MP
26268 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26269 Patch by Marek Polacek <mpolacek@redhat.com>.
26270
67371b56
UD
26271 * bits/byteswap.h: Protect long long constants with __extension__.
26272 * sysdeps/i386/bits/byteswap.h: Likewise.
26273 * sysdeps/ia64/bits/byteswap.h: Likewise.
26274 * sysdeps/s390/bits/byteswap.h: Likewise.
26275 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26276
15db4de1
LD
262772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26278
26279 [BZ #13540]
bbe315ea
LD
26280 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26281 destination buffer.
15db4de1
LD
26282 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26283
2b2596b1
MP
262842011-12-23 Marek Polacek <polacek@redhat.com>
26285
26286 * elf/dl-addr.c (determine_info): Add inline keyword.
26287 * elf/tst-auditmod4b.c (check_avx): Likewise.
26288 * elf/tst-auditmod6b.c (check_avx): Likewise.
26289 * elf/tst-auditmod6c.c (check_avx): Likewise.
26290 * elf/tst-auditmod7b.c (check_avx): Likewise.
26291
70c6c246
UD
262922011-12-23 Ulrich Drepper <drepper@gmail.com>
26293
26294 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26295 !__SSE_MATH__.
26296
c044cf14
LD
262972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26298
15db4de1 26299 [BZ #13540]
c044cf14
LD
26300 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26301 processing for last bytes.
26302
6b13d9d9
BH
263032011-08-06 Bruno Haible <bruno@clisp.org>
26304
d455f537
BH
26305 [BZ #13061]
26306 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26307 U+0385, not to U+1FEE.
26308
6b13d9d9
BH
26309 [BZ #13062]
26310 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26311 entry for U+00A5 U+0301.
26312
db910efd
UD
263132011-12-22 Ulrich Drepper <drepper@gmail.com>
26314
27deeafc
UD
26315 [BZ #13166]
26316 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26317 buffer for the output is too small.
26318
aed9d171
UD
26319 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26320 optimization.
26321
db910efd
UD
26322 [BZ #13185]
26323 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26324 SSE flags if possible.
26325
2bd779ae
LD
263262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26327
e7f9dac3 26328 [BZ #13540]
2bd779ae
LD
26329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26330 processing for last bytes.
26331
154bfc16
JM
263322011-12-22 Joseph Myers <joseph@codesourcery.com>
26333
26334 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26335 (syscall-list-default-options, syscall-list-default-condition)
26336 (syscall-list-includes): Define.
26337 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26338 list of ABIs and options and #if conditions for each ABI. Do not
26339 handle common syscalls between ABIs specially.
26340 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26341 Remove.
26342 (syscall-list-variants, syscall-list-32bit-options)
26343 (syscall-list-32bit-condition, syscall-list-64bit-options)
26344 (syscall-list-64bit-condition): Define.
26345 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26346 (syscall-list-variants, syscall-list-32bit-options)
26347 (syscall-list-32bit-condition, syscall-list-64bit-options)
26348 (syscall-list-64bit-condition): Define.
26349 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26350 Remove.
26351 (syscall-list-variants, syscall-list-32bit-options)
26352 (syscall-list-32bit-condition, syscall-list-64bit-options)
26353 (syscall-list-64bit-condition): Define.
26354 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26355 Remove.
26356 (syscall-list-variants, syscall-list-32bit-options)
26357 (syscall-list-32bit-condition, syscall-list-64bit-options)
26358 (syscall-list-64bit-condition): Define.
26359
21eaf3a5
UD
263602011-12-22 Ulrich Drepper <drepper@gmail.com>
26361
16c6f992
UD
26362 * locale/iso-639.def: Add brx entry.
26363
41043168
UD
26364 [BZ #13328]
26365 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26366 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26367
21eaf3a5
UD
26368 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26369 __feraiseexcept_renamed.
26370
e3a851a2
UD
263712011-12-21 Ulrich Drepper <drepper@gmail.com>
26372
4920765e
UD
26373 [BZ #13538]
26374 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26375 EPOLLET with unsigned values.
26376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26378
e3a851a2
UD
26379 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26380 to large cancellation.
26381 * math/s_cacoshf.c: Likewise.
26382 * math/s_cacoshl.c: Likewise.
26383
b27e24b8
RK
263842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26385
26386 [BZ #13305]
aebefeee 26387 [BZ #12786]
b27e24b8
RK
26388 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26389 * math/s_cacoshf.c: Likewise.
26390 * math/s_cacoshl.c: Likewise.
26391
ee190f67
UD
263922011-12-21 Ulrich Drepper <drepper@gmail.com>
26393
26394 [BZ #13439]
26395 * iconv/gconv.h: Define __GCONV_SWAP.
26396 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26397 * iconvdata/utf-16.c: Likewise.
26398 * iconvdata/utf-32.c: Likewise.
26399
707f25df
AS
264002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26401
26402 [BZ #13524]
26403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26404 numerator after shifting it by one limb.
26405
d2daaa1e
RÁE
264062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26407
26408 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26409 under [__USE_EXTERN_INLINES].
26410
a4647e72
UD
264112011-12-17 Ulrich Drepper <drepper@gmail.com>
26412
26413 [BZ #13446]
26414 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26415
f0b264f1
AZ
264162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26417
26418 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26419 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26420 optimized code.
26421 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26422 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26423 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26424 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26425 for strncasecmp/strncasecmp_l compilation.
26426 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26427 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26428
8ef4f244
MP
264292011-12-08 Marek Polacek <mpolacek@redhat.com>
26430
26431 [BZ #13484]
26432 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26433 of __asm__.
26434
97ac2654
UD
264352011-12-17 Ulrich Drepper <drepper@gmail.com>
26436
26437 [BZ #13506]
26438 * time/tzfile.c (__tzfile_read): Check values from file header.
26439
91d2a845
WS
264402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26441
26442 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26443 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26444 * powerpc/powerpc32/dl-start.S: Likewise.
26445 * powerpc/powerpc32/elf/start.S: Likewise.
26446 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26447 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26448 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26449 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26450 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26451 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26452 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26453 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26454 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26455 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26456 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26457 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26458 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26459 * powerpc/powerpc32/memset.S: Likewise.
26460 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26461 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26462 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26463 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26464 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26465 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26466 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26467 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26468 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26469 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26470 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26471 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26472 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26473
a1267ba1
AZ
264742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26475
26476 * math/libm-test.inc: Added more nearbyint tests.
26477 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26479 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26481
ad8ac1bd
RL
264822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26483
26484 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26485 FD_CLOEXEC.
26486
1d3e4b61
UD
264872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26488
26489 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26490 Add wcscpy-ssse3 wcscpy-c.
26491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26492 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26493 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26494 * sysdeps/x86_64/wcschr.S: New file.
26495 * sysdeps/x86_64/wcsrchr.S: New file.
26496 * string/test-strcmp.c: Remove checking of wcscmp function for
26497 wrong alignments.
26498 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26499 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26500 wcsrchr-sse2 wcsrchr-c.
26501 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26502 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26503 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26504 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26505 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26506 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26507 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26508 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26510 * wcsmbc/wcschr.c (WCSCHR): New macro.
26511
5b330a2d
UD
265122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26513
26514 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26515 * wcsmbs/test-wcsrchr.c: New file.
26516 * string/test-strrchr.c: Add wcsrchr support.
26517 (WIDE): New macro.
26518 * wcsmbs/test-wcscpy.c: New file.
26519 * string/test-strcpy.c: Add wcscpy support.
26520 (WIDE): New macro.
26428b7c 26521
f039c043
UD
265222011-12-10 Ulrich Drepper <drepper@gmail.com>
26523
26524 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26525 the inner loop.
26526
850fb039
AS
265272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26528
26529 [BZ #13472]
26530 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26531
4efbd5cb
UD
265322011-12-04 Ulrich Drepper <drepper@gmail.com>
26533
52ff5dd0 26534 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26535 Minor optimizations.
52ff5dd0 26536
4efbd5cb
UD
26537 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26538 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26539 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26540
8a426e12
UD
265412011-12-03 Ulrich Drepper <drepper@gmail.com>
26542
aff2453d
UD
26543 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26544 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26545 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26546 for gcc to avoid warnings.
26547 * inet/Makefile (tests): Add tst-checks.
26548 * inet/tst-checks.c: New file.
26549
26550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26551 warning.
26552
26553 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26554 __wmemcmp_sse2.
26555
26556 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26557 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26558
8a426e12
UD
26559 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26560
9bea3473
UD
265612011-12-02 Ulrich Drepper <drepper@gmail.com>
26562
3a965496
UD
26563 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26564 problem.
26565
9bea3473
UD
26566 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26567
f101631b
UD
265682011-11-29 Joseph Myers <joseph@codesourcery.com>
26569
26570 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26571 conditional on GCC version.
26572 (__arch_compare_and_exchange_val_8_acq)
26573 (__arch_compare_and_exchange_val_16_acq)
26574 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26575 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26576 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26577
a98275aa
UD
265782011-12-02 Joseph Myers <joseph@codesourcery.com>
26579
26580 * sysdeps/sh/backtrace.c: New file.
26581
d4cc29a2
AS
265822011-12-02 Andreas Schwab <schwab@redhat.com>
26583
26584 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26585 parenthesis.
26586
6257af2d
AS
265872011-12-01 Andreas Schwab <schwab@redhat.com>
26588
26589 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26590 falling back to utime.
26591
b5f44c1a
AS
265922011-11-30 Andreas Schwab <schwab@redhat.com>
26593
26594 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26595 expectations for float.
26596
f3a6cc0a
AS
265972011-11-29 Andreas Schwab <schwab@redhat.com>
26598
26599 * locale/weight.h (findidx): Add parameter len.
26600 * locale/weightwc.h (findidx): Likewise.
26601 * posix/fnmatch_loop.c (FCT): Adjust caller.
26602 * posix/regcomp.c (build_equiv_class): Likewise.
26603 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26604 * posix/regexec.c (check_node_accept_bytes): Likewise.
26605 * string/strcoll_l.c (STRCOLL): Likewise.
26606 * string/strxfrm_l.c (STRXFRM): Likewise.
26607
9d65ea3a
UD
266082011-11-17 Ulrich Drepper <drepper@gmail.com>
26609
26610 * Makefile.in: Remove CVSOPT handling.
26611 * configure.in: Remove use of AC_REVISION.
26612 * iconvdata/Makefile (distribute): No need to filter out CVS.
26613 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26614 handling.
26615
5583a086
AS
266162011-11-16 Andreas Schwab <schwab@redhat.com>
26617
26618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26619 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26620 [USE_AS_STRNCASECMP_L]: Likewise.
26621 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26622 NO_TLS_DIRECT_SEG_REFS.
26623 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26624 Fix argument offsets for non-PIC.
26625 [USE_AS_STRNCASECMP_L]: Likewise.
26626 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26627 NO_TLS_DIRECT_SEG_REFS.
26628
d62a8200
UD
266292011-11-15 Ulrich Drepper <drepper@gmail.com>
26630
9d65ea3a 26631 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26632 O_CLOEXEC.
26633 * locale/loadlocale.c (_nl_load_locale): Likewise.
26634
09f93bd3
AS
266352011-11-15 Andreas Schwab <schwab@redhat.com>
26636
446514f9
AS
26637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26638 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26639 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26640 (SYSCALL_GETTIME): Set errno on error.
26641
09f93bd3
AS
26642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26643 count references to noai6ai_cached.
26644
312be3f9
UD
266452011-11-15 Ulrich Drepper <drepper@gmail.com>
26646
26647 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26648
26649 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26650 FD_CLOEXEC for /proc/self/maps.
26651
26652 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26653 FD_CLOEXEC for /proc/meminfo.
26654
26655 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26656 gai.conf.
26657
26658 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26659 FD_CLOEXEC for given file.
26660
26661 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26662
26663 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26664 FD_CLOEXEC for /etc/hosts.
26665 (_gethtent): Likewise.
26666
26667 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26668
26669 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26670 cancellation and set FD_CLOEXEC for /etc/netgroup.
26671
26672 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26673 reading /etc/publickey.
26674
26675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26676 allow cancellation when reading /etc/group.
26677
26678 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26679 cancellation.
26680 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26681
26682 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26683 when using data file.
26684
26685 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26686
26687 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26688 (write_nis_obj): Use "c" and "e" in fopen.
26689
26690 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26691
26692 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26693
26694 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26695
26696 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26697
26698 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26699 locale.alias.
26700
26701 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26702
26703 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26704
26705 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26706
26707 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26708 file parsing and set FD_CLOEXEC.
26709
82af0fa8
UD
267102011-11-14 Ulrich Drepper <drepper@gmail.com>
26711
26712 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26713
a5fb313c
AS
267142011-11-14 Andreas Schwab <schwab@redhat.com>
26715
26716 * malloc/arena.c (arena_get2): Don't call reused_arena when
26717 _int_new_arena failed.
26718
6abf3465
UD
267192011-11-14 Ulrich Drepper <drepper@gmail.com>
26720
26721 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26722 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26723 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26724 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26727 to compile strcasecmp and strncasecmp.
26728 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26729 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26730
26731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26732
76e3966e
UD
267332011-11-13 Ulrich Drepper <drepper@gmail.com>
26734
26735 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26736 locale-defines.sym to gen-as-const-headers.
26737 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26738 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26740 to compile strcasecmp and strncasecmp.
26741 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26742 strcasecmp_l and strncasecmp_l.
26743 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26744 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26745 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26746 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26747 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26748 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26749 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26750 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26751 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26752 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26753 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26754
ab26144e
UD
267552011-11-12 Ulrich Drepper <drepper@gmail.com>
26756
7edb22ef
UD
26757 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26758 result of SYSDEP_GETTIME_CPU to retval.
26759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26760 parameter list to macro. Remove trailing semicolon. Adjust users.
26761
9694fc44
UD
26762 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26763 variable.
26764
8ad89ef8
UD
26765 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26766 mantissa words.
26767 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26768
0c822ef9
UD
26769 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26770 from unused variable.
26771
874e0564
UD
26772 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26773 DWARF definitions.
26774 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26775 for assembling.
26776
3a2edc79
UD
26777 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26778 over namespaces.
26779
f3c2577f
UD
26780 * sunrpc/rpc_prot.c (rejected): Fix case value.
26781
294ce126
UD
26782 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26783 unsigned long long int to avoid warnings in shift.
26784
5e2b63c6
UD
26785 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26786 of use of trans.
26787 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26788 variable tmp.
26789
e7f4b08e
UD
26790 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26791 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26792 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26793
ab26144e
UD
26794 * nis/nis_table.c (nis_list): Use variable of correct type for
26795 result of __follow_path call.
26796
8a6d5255
AZ
267972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26798
26799 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26800 of math functions ceil, trunc, floor, round, and sqrt, when
26801 avaliable on the platform.
26802 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26803 name clash.
26804 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26805 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26806 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26807
aaddc98c
MP
268082011-10-30 Marek Polacek <mpolacek@redhat.com>
26809
26810 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26811 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26812
95b7042b
RM
268132011-11-11 Roland McGrath <roland@hack.frob.com>
26814
26815 * include/unistd.h: Fix __readlink return type.
26816 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26817
57769839
UD
268182011-11-11 Ulrich Drepper <drepper@gmail.com>
26819
26820 * stdlib/ucontext.h: Undo last change for makecontext.
26821
edc5984d
AS
268222011-11-11 Andreas Schwab <schwab@redhat.com>
26823
98591e58
AS
26824 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26825
edc5984d
AS
26826 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26827 * setjmp/setjmp.h: Mark functions as non-leaf.
26828 * setjmp/bits/setjmp2.h: Likewise.
26829 * stdlib/ucontext.h: Likewise.
26830
77cdc054
AS
268312011-11-10 Andreas Schwab <schwab@redhat.com>
26832
26833 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26834 (reused_arena): Don't check arena limit.
26835 (arena_get2): Atomically check arena limit.
26836
fe72eebd
UD
268372011-11-08 Ulrich Drepper <drepper@gmail.com>
26838
5f078c32
UD
26839 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26840 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26841
fe72eebd
UD
26842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26843 instructions.
26844
ae1bc2fa
AS
268452011-11-07 Andreas Schwab <schwab@redhat.com>
26846
7583a88d
AS
26847 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26848 handler when locking.
26849
ae1bc2fa
AS
26850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26851 Fix size of allocated buffer.
26852
10fb0bfa
AS
268532011-11-04 Andreas Schwab <schwab@redhat.com>
26854
998832a4
AS
26855 [BZ #10103]
26856 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26857 declarations for long double functions.
26858 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26859
10fb0bfa
AS
26860 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26861
3d7ba52b
AS
268622011-11-03 Andreas Schwab <schwab@redhat.com>
26863
a9ae54a1
AS
26864 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26865 installed.
26866
3d7ba52b
AS
26867 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26868 is disabled.
26869
bc8db248
ST
268702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26871
26872 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26873
45b96dd6
AS
268742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26875
647776f6
AS
26876 * include/alloca.h (stackinfo_alloca_round): Define.
26877 (extend_alloca): Use it.
26878 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26879 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26880 here.
26881
d91a8b93
AS
26882 * scripts/check-local-headers.sh: Ignore libaudit.h.
26883
45b96dd6
AS
26884 * nscd/Makefile (extra-objs): Make recursively expanded.
26885
432d41ce
UD
268862011-11-01 Ulrich Drepper <drepper@gmail.com>
26887
34372fc6
UD
26888 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26890
fadb59f8
UD
26891 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26892 * posix/tst-rfc3484-2.c: Likewise.
26893 * posix/tst-rfc3484-3.c: Likewise.
26894
78239589
UD
26895 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26896 process_vm_writev.
26897 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26898 process_vm_writev.
26899 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26900 process_vm_writev from libc using GLIBC_2.15 version.
26901
432d41ce
UD
26902 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26903
02f9c6cf
PP
269042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26905
26906 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26907 stack usage.
26908
3a2c0242
UD
269092011-10-31 Ulrich Drepper <drepper@gmail.com>
26910
f4ec4833
UD
26911 [BZ #13367]
26912 * nss/getent.c (initgroups_keys): Show error message in case no group
26913 names are given.
26914
3a2c0242
UD
26915 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26916 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26917 __bump_nl_timestamp.
26918 * nscd/connections (nscd_init): When host database is served open
26919 netlink socket and request notification about configuration changes.
26920 (main_loop_poll): Track netlink file descriptor and bump timestamp
26921 in case data becomes available.
26922 (main_loop_epoll): Likewise.
26923 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26924 (database_pers_head): Add extra_data fileds.
26925 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26926 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26927 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26928 Adjust caller.
26929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26930 in6ai data, call __free_in6ai.
26931 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26932 Add -DHAVE_NETLINK.
26933 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26934 interface information. Reuse previous data if netlink timestamp
26935 is not changed.
26936 (__bump_nl_timestamp): New function.
26937 (__free_in6ai): New function.
26938
636064eb
UD
269392011-10-30 Ulrich Drepper <drepper@gmail.com>
26940
26941 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26942 close_not_cancel_no_status here.
26943 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26944
9beb2334
UD
269452011-10-29 Ulrich Drepper <drepper@gmail.com>
26946
6ef76f3b
UD
26947 [BZ #13276]
26948 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26949 return value.
26950
0ffc4f3e 26951 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26952 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26953 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26954
cb95113e
UD
269552011-07-03 Andreas Jaeger <aj@suse.de>
26956
26957 [BZ #10709]
26958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26959 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26960 * math/libm-test.inc (sin_test): Add test case.
26961
a1b560ff
UD
269622011-10-29 Ulrich Drepper <drepper@gmail.com>
26963
c9aaface
UD
26964 [BZ #13337]
26965 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26966 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26967
d272e7f1
UD
26968 * elf/chroot_canon.c (chroot_canon): Cleanups.
26969
1bc33071
UD
26970 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26971
1760874d
TJ
26972 [BZ #13335]
26973 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26974 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26975
51d91b18
UD
26976 * string/test-strchr.c: Make usable for strchrnul testing.
26977 * string/test-strchrnul.c: New file.
26978 * string/Makefile (strop-tests): Add strchrnul.
26979
a1b560ff 26980 * po/it.po: Update from translation team.
b611fb81 26981 * po/es.po: Likewise.
a1b560ff 26982
a5b81e1f
UD
269832011-10-28 Ulrich Drepper <drepper@gmail.com>
26984
fd52bc6d
UD
26985 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26986 the three constants needed as parameters. Drop the others.
26987 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26988 __m128i_strloadu_tolower.
52e4b9eb
UD
26989 Create and initialize variable zero and use it in all the places
26990 where _mm_setzero_si128 was used.
fd52bc6d 26991
a5b81e1f
UD
26992 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26993 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26994 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26996 anymore.
26997 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26998 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26999 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27000 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27001 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27002 __mpranred, __mptan.
27003 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27004 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27005 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27006 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27007 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27008 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27009 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27010 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27011 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27012
b4343346
AS
270132011-10-28 Andreas Schwab <schwab@redhat.com>
27014
0c92d8a8
AS
27015 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27016 redefine if SHARED.
27017 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27018
b4343346
AS
27019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27020 wide char related routines to wcsmbs subdir.
27021
3871f58f
AS
270222011-10-27 Andreas Schwab <schwab@redhat.com>
27023
27024 [BZ #13344]
27025 * misc/sys/cdefs.h (__THROWNL): Define.
27026 * posix/unistd.h: Use __THREADNL instead of __THREAD
27027 for memory synchronization functions.
27028
94d44d9f
RM
270292011-10-26 Roland McGrath <roland@hack.frob.com>
27030
21b64b15 27031 [BZ #13349]
94d44d9f
RM
27032 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27033 doesn't exist.
27034 * manual/stdio.texi (Obstack Streams): Node removed.
27035
f6ce9294
AS
270362011-10-26 Andreas Schwab <schwab@redhat.com>
27037
80479147
AS
27038 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27039 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27040 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27041
f6ce9294
AS
27042 * math/math_private.h (math_force_eval): Allow non-addressable
27043 arguments.
27044 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27045
618280a1
UD
270462011-10-25 Ulrich Drepper <drepper@gmail.com>
27047
e0016b11
UD
27048 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27049 file is not needed.
27050
27051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27052 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27054 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27056 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27057 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27058 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27059 Add AVX variants.
27060 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27061 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27062 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27063 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27064 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27067 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27068 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27069 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27070 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27071 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27075 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27079
27080 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27081 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27082
618280a1
UD
27083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27084 place. Use VEX encoding when compiling for AVX.
27085
37822576
AS
270862011-10-25 Andreas Schwab <schwab@redhat.com>
27087
1f1e1947
AS
27088 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27089 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27090
37822576
AS
27091 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27092
31ea014d
UD
270932011-10-25 Ulrich Drepper <drepper@gmail.com>
27094
d7826aa1 27095 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27096 useless if() expression.
d7826aa1
UD
27097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27108 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27109 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27110 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27111 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27115 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27116
31ea014d
UD
27117 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27118
16437fec
AS
271192011-10-25 Andreas Schwab <schwab@redhat.com>
27120
27121 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27122 condition.
27123 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27124
31d3cc00
UD
271252011-10-25 Ulrich Drepper <drepper@gmail.com>
27126
27127 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27128 .text section. Avoid duplicate constants.
27129 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27139 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27141 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27144 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27146 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27153 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27156 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27158 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27159 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27160 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27161 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27162 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27163 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27167 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27168 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27170 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27171 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27173 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27174
58985aa9
UD
271752011-10-24 Ulrich Drepper <drepper@gmail.com>
27176
202c9deb
UD
27177 * sysdeps/x86_64/dla.h: Move to ...
27178 * sysdeps/x86_64/fpu/dla.h: ...here.
27179 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27180 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27181
af968f62
UD
27182 * config.make.in: Add have-mfma4 entry.
27183 * configure.in: Substitute libc_cv_cc_fma4.
27184 * math/Makefile (dbl-only-routines): Add sincostab.
27185 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27186 Use __sincostab not sincos.
27187 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27188 name is a macro.
27189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27193 using __copysign.
27194 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27195 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27196 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27197 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27198 and __inv.
27199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27200 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27201 __copysign.
27202 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27203 define aliases when function name is a macro.
27204 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27205 sysdeps/ieee754/dbl-64/sincos.tbl.
27206 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27207 fma4-enabled routines.
27208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27216 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27217 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27220 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27221 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27222 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27223 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27224 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27225 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27226 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27228 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27229 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27231 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27233 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27238
58985aa9
UD
27239 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27240 rename.
27241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27249
a201fbcf
AS
272502011-10-24 Andreas Schwab <schwab@redhat.com>
27251
27252 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27253
fc2ee42a
LD
272542011-10-23 Ulrich Drepper <drepper@gmail.com>
27255
bb3129bd
UD
27256 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27257
0275fff8
UD
27258 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27259 prediction.
27260 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27261
2fa2ae85
UD
27262 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27263 Remove unused variable magic_bits.
27264 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27265
fc2ee42a
LD
27266 * string/strnlen.c: Define and use STRNLEN macro.
27267 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27268 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27270 * wcsmbs/wcslen.c: Define and use WCSLEN.
27271 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27272 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27273 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27274 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27275 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27276 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27277 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27278
ce7dd29f
LD
272792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27280
27281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27282 strnlen-sse2-no-bsf.
27283 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27286 Add strnlen support.
27287 (USE_AS_STRNLEN): New macro.
27288 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27289 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27290 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27291 * sysdeps/x86_64/wcslen.S: New file.
27292
979c70a3
MZ
272932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27294
27295 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27296 XMM-moves are used for copying on small sizes.
27297
2d09f82f
LD
272982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27299
27300 * wcsmbs/Makefile (strop-tests): Add wcschr.
27301 * wcsmbs/test-wcschr.c: New file.
27302 * string/test-strchr.c: Update.
27303 Add wcschr support.
27304 (WIDE): New macro.
27305
619fccca
LD
273062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27307
2d09f82f 27308 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27309 * wcsmbs/test-wcslen.c: New file.
27310 * string/test-strlen.c: Update.
27311 Add wcslen support.
27312 (WIDE): New macro.
27313
09f699ea
UD
273142011-10-23 Ulrich Drepper <drepper@gmail.com>
27315
27316 * po/it.po: Update from translation team.
27317
95584d3b
LD
273182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27319
27320 * sysdeps/x86_64/wcscmp.S: Update.
27321 Fix wrong comparison semantics.
27322 wcscmp shall use signed comparison not unsigned.
27323 Don't use substraction to avoid overflow bug.
27324 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27325 * wcsmbc/wcscmp.c: Likewise.
27326 * string/test-strcmp.c: Likewise.
27327 Add new tests to check cases with negative values.
27328
c8b3296b
UD
273292011-10-23 Ulrich Drepper <drepper@gmail.com>
27330
27331 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27332 * sysdeps/x86_64/dla.h: ...here. New file.
27333 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27342
246ad57a
AS
273432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27344
27345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27346 __ynl_finite aliases.
27347
a1a87169
UD
273482011-10-22 Ulrich Drepper <drepper@gmail.com>
27349
0d355eb7
UD
27350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27351
a1a87169
UD
27352 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27353 define DLA_FMA.
27354 [DLA_FMA] (EMULV): Use DLA_FMA.
27355 [DLA_FMA] (MUL12): Use EMULV.
27356 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27357 that are not needed.
27358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27365
ee2aafe0
AS
273662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27367
27368 * math/s_nan.c: Undef __nan.
27369 * math/s_nanf.c: Undef __nanf.
27370 * math/s_nanl.c: Undef __nanl.
27371 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27372 "math_private.h".
27373
bc62c2fb
UD
273742011-10-22 Ulrich Drepper <drepper@gmail.com>
27375
77425c63
UD
27376 * math/s_catan.c: Add branch predictions.
27377 * math/s_catanf.c: Likewise.
27378 * math/s_catanh.c: Likewise.
27379 * math/s_catanhf.c: Likewise.
27380 * math/s_catanhl.c: Likewise.
27381 * math/s_catanl.c: Likewise.
27382 * math/s_cexp.c: Likewise.
27383 * math/s_cexpf.c: Likewise.
27384 * math/s_cexpl.c: Likewise.
27385 * math/s_clog.c: Likewise.
27386 * math/s_clog10.c: Likewise.
27387 * math/s_clog10f.c: Likewise.
27388 * math/s_clog10l.c: Likewise.
27389 * math/s_clogf.c: Likewise.
27390 * math/s_clogl.c: Likewise.
27391 * math/s_csqrt.c: Likewise.
27392 * math/s_csqrtf.c: Likewise.
27393 * math/s_csqrtl.c: Likewise.
27394 * math/s_ctanf.c: Likewise.
27395 * math/s_ctanh.c: Likewise.
27396 * math/s_ctanhf.c: Likewise.
27397 * math/s_ctanhl.c: Likewise.
27398 * math/s_ctanl.c: Likewise.
27399
bc62c2fb
UD
27400 * math/math_private.h: Define __nan, __nanf, __nanl.
27401 * math/s_cacosh.c: Include <math_private.h>.
27402 * math/s_cacoshl.c: Likewise.
27403 * math/s_casinh.c: Likewise.
27404 * math/s_casinhf.c: Likewise.
27405 * math/s_casinhl.c: Likewise.
27406 * math/s_ccos.c: Rely entire on ccosh.
27407 * math/s_ccosf.c: Rely entire on ccoshf.
27408 * math/s_ccosl.c: Rely entirely on ccoshl.
27409 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27410 Remove tests for FE_INVALID.
27411 * math/s_ccoshf.c: Likewise.
27412 * math/s_ccoshl.c: Likewise.
27413 * math/s_csin.c: Likewise.
27414 * math/s_csinf.c: Likewise.
27415 * math/s_csinh.c Likewise.
27416 * math/s_csinhf.c: Likewise.
27417 * math/s_csinhl.c: Likewise.
27418 * math/s_csinl.c: Likewise.
27419 * math/s_ctan.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27421 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27422 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27423
8ec250a4
UD
274242011-10-21 Ulrich Drepper <drepper@gmail.com>
27425
c196fed8
UD
27426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27427 compilation problems.
27428
8ec250a4
UD
27429 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27430 __builtin_expect.
27431
8d4f46c6
UD
274322011-10-20 Ulrich Drepper <drepper@gmail.com>
27433
ed72b654
UD
27434 * sysdeps/i386/configure.in: Test for -mfma4 option.
27435 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27436 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27437 COMMON_CPUID_INDEX_80000001.
27438 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27439 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27440 use it if FMA3 is not supported.
27441 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27442
8d4f46c6
UD
27443 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27444 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27445
d45c60c2
AS
274462011-10-20 Andreas Schwab <schwab@redhat.com>
27447
27448 [BZ #12892]
27449 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27450 it would create a cycle with a link time dependency.
27451
d9a4d2ab
UD
274522011-10-19 Ulrich Drepper <drepper@gmail.com>
27453
855d1560
UD
27454 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27455 instruction.
27456 * string/Makefile (strop-tests): Add rawmemchr.
27457 * string/test-rawmemchr.c: New file.
27458
d9a4d2ab
UD
27459 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27461 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27462 when compiling str{,n}casecmp and when AVX is available. Hook up
27463 new optimized code in initializers.
27464
8f3b1ffe
AS
274652011-10-19 Andreas Schwab <schwab@redhat.com>
27466
27467 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27468 __feraiseexcept instead of feraiseexcept.
27469
d38f1dba
UD
274702011-10-18 Ulrich Drepper <drepper@gmail.com>
27471
d9a8d0ab
UD
27472 * math/math_private.h: Define defaults for libc_fetestexcept and
27473 libc_feupdateenv.
27474 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27475 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27476 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27477 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27478 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27479 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27480 libc_fetestexcept and libc_feupdateenv.
27481
4855e3dd
UD
27482 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27483 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27484 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27485 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27486 libc_feholdexcept_setround.
27487
581d30e3
UD
27488 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27489 Add s_nearbyint-c and s_nearbyintf-c.
27490 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27491 nearbyintf inlines.
27492 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27494 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27496
d38f1dba
UD
27497 * math/math_private.h: Define defaults for libc_fegetround,
27498 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27499 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27500 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27501 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27502 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27503 standard functions.
27504 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27505 Remove comments and hacks for old compiler versions.
27506 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27507 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27508 libc_feholdexceptl.
27509
caa6c9d8
AS
275102011-10-18 Andreas Schwab <schwab@redhat.com>
27511
27512 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27513 (__feraiseexcept_renamed): Add __NTH.
27514 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27515 namespace violations.
27516
97c066e6
UD
275172011-10-17 Ulrich Drepper <drepper@gmail.com>
27518
99ce7b04
UD
27519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27520
1004d182
UD
27521 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27522
228a984d
UD
27523 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27524 recently added interfaces.
27525 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27526
c8553a6a
UD
27527 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27528 about macro parameter expansion.
27529
ed22dcf6
UD
27530 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27531 __NO_MATH_INLINES is defined. Cleanups.
27532
27533 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27534 and __floorf is target has SSE4.1.
27535 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27536 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27537 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27538 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27539
b171c137
UD
27540 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27541 name.
27542 (floorf): Likewise.
27543
97c066e6
UD
27544 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27545
629f62ef
AS
275462011-10-17 Andreas Schwab <schwab@redhat.com>
27547
49a43d80
AS
27548 * misc/sys/cdefs.h: Fix last change.
27549
629f62ef
AS
27550 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27551 database lookup.
27552
e453f6cd
UD
275532011-10-16 Ulrich Drepper <drepper@gmail.com>
27554
aa78043a
UD
27555 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27556
ad0f5cad
UD
27557 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27564 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27565 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27567 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27568 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27569 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27570 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27573 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27575 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27577 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27579
27580 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27581 ceil, ceilf, floor, floorf.
27582
27583 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27584 Perform IRELATIVE relocations last.
27585
e453f6cd
UD
27586 * elf/do-rel.h: Add another parameter nrelative, replacing the
27587 local variable with the same name. Change name of the function
27588 to end in Rel or Rela (uppercase).
27589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27590 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27591 elf_dynamic_do_##reloc function.
27592
fd5bdc09
UD
275932011-10-15 Ulrich Drepper <drepper@gmail.com>
27594
79b195b5
UD
27595 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27596 is sufficient, at least on modern CPUs.
27597
d4a28569
UD
27598 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27599
b61099b5
UD
27600 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27602
bcf01e6d
UD
27603 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27604 __expl_finite.
27605 * math/bits/math-finite.h: Add entries for exp.
27606 * math/e_expl.c: Add __*_finite alias.
27607 * sysdeps/i386/fpu/e_exp.S: Likewise.
27608 * sysdeps/i386/fpu/e_expf.S: Likewise.
27609 * sysdeps/i386/fpu/e_expl.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27611 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27615 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27616 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27617
ba1a0d59
UD
27618 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27619 is sufficient, at least on modern CPUs.
27620
fd5bdc09
UD
27621 * ctype/ctype-info.c (__ctype_init): Define.
27622 * include/ctype.h (__ctype_init): Declare.
27623 (__ctype_b_loc): The variable is always initialized.
27624 (__ctype_toupper_loc): Likewise.
27625 (__ctype_tolower_loc): Likewise.
27626 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27627 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27628
7872cfb0
AS
276292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27630
b468825a
AS
27631 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27632
7872cfb0
AS
27633 * configure.in: Also look in $cxxmachine/include for C++ system
27634 headers.
27635
be13f7bf
LD
276362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27637
27638 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27639 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27640 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27641 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27643 (USE_AS_WMEMCMP): New macro.
27644 Fixing indents.
27645 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27646 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27647 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27648 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27650 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27651 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27652 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27653 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27654 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27656 (USE_AS_WMEMCMP): New macro.
27657 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27658 * sysdeps/string/test-memcmp.c: Update.
27659 Fix simple_wmemcmp.
27660 Add new tests.
27661 * wcsmbs/wmemcmp.c: Update.
27662 (WMEMCMP): New macro.
27663 Fix overflow bug.
27664
556a2007
AJ
276652011-10-12 Andreas Jaeger <aj@suse.de>
27666
27667 [BZ #13268]
27668 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27669
538faaa7
UD
276702011-10-15 Ulrich Drepper <drepper@gmail.com>
27671
ab6737ff
UD
27672 * libio/iofwide.c (do_length): Avoid warning.
27673
538faaa7
UD
27674 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27675
396a21b1
UD
276762011-10-14 Ulrich Drepper <drepper@gmail.com>
27677
cdf2901f
UD
27678 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27679
38ad40ce
UD
27680 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27681 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27682 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27683 * sysdeps/i386/i686/fpu/e_log.S: New file.
27684 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27685 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27686
396a21b1
UD
27687 * ctype/ctype.h: Add support for inlined isXXX functions when
27688 compiling C++ code.
27689
6b1f68c9
AS
276902011-10-14 Andreas Schwab <schwab@redhat.com>
27691
349290c0
AS
27692 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27693
6b1f68c9
AS
27694 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27695
f2282d42
RM
276962011-10-13 Roland McGrath <roland@hack.frob.com>
27697
27698 [BZ #13291]
27699 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27700
5298ffa8
AS
277012011-10-13 Andreas Schwab <schwab@redhat.com>
27702
714fad23
AS
27703 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27704 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27705 feraiseexcept.
27706
81dcc7fb
AS
27707 * sysdeps/x86_64/memrchr.S: Check for zero size.
27708
5298ffa8
AS
27709 * string/stratcliff.c: Add memrchr tests.
27710
951fbcec
LD
277112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27712
27713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27714 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27715 rawmemchr-sse2 rawmemchr-sse2-bsf.
27716 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27717 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27718 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27719 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27720 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27721 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27722 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27723 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27724 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27725 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27726 * string/memrchr.c (MEMRCHR): New macro.
27727
0ac5ae23
UD
277282011-10-12 Ulrich Drepper <drepper@gmail.com>
27729
27730 Add integration with gcc's -ffinite-math-only and optimize wrapper
27731 functions in libm.
27732 * Versions.def: Define GLIBC_2.15 version for libm.
27733 * math/Makefile (headers): Add bits/math-finite.h.
27734 * math/bits/math-finite.h: New file.
27735 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27736 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27737 * math/e_acoshl.c: Add __*_finite alias.
27738 * math/e_acosl.c: Likewise.
27739 * math/e_asinl.c: Likewise.
27740 * math/e_atan2l.c: Likewise.
27741 * math/e_atanhl.c: Likewise.
27742 * math/e_coshl.c: Likewise.
27743 * math/e_exp10.c: Likewise.
27744 * math/e_exp10f.c: Likewise.
27745 * math/e_exp10l.c: Likewise.
27746 * math/e_exp2l.c: Likewise.
27747 * math/e_fmodl.c: Likewise.
27748 * math/e_gammal_r.c: Likewise.
27749 * math/e_hypotl.c: Likewise.
27750 * math/e_j0l.c: Likewise.
27751 * math/e_j1l.c: Likewise.
27752 * math/e_jnl.c: Likewise.
27753 * math/e_lgammal_r.c: Likewise.
27754 * math/e_log10l.c: Likewise.
27755 * math/e_log2l.c: Likewise.
27756 * math/e_logl.c: Likewise.
27757 * math/e_powl.c: Likewise.
27758 * math/e_sinhl.c: Likewise.
27759 * math/e_sqrtl.c: Likewise.
27760 * math/e_scalb.c: Completely rewritten and optimized.
27761 * math/e_scalbf.c: Likewise.
27762 * math/e_scalbl.c: Likewise.
27763 * math/w_acos.c: Likewise.
27764 * math/w_acosf.c: Likewise.
27765 * math/w_acosl.c: Likewise.
27766 * math/w_acosh.c: Likewise.
27767 * math/w_acoshf.c: Likewise.
27768 * math/w_acoshl.c: Likewise.
27769 * math/w_asin.c: Likewise.
27770 * math/w_asinf.c: Likewise.
27771 * math/w_asinl.c: Likewise.
27772 * math/w_atan2.c: Likewise.
27773 * math/w_atan2f.c: Likewise.
27774 * math/w_atan2l.c: Likewise.
27775 * math/w_atanh.c: Likewise.
27776 * math/w_atanhf.c: Likewise.
27777 * math/w_atanhl.c: Likewise.
27778 * math/w_exp10.c: Likewise.
27779 * math/w_exp10f.c: Likewise.
27780 * math/w_exp10l.c: Likewise.
27781 * math/w_fmod.c: Likewise.
27782 * math/w_fmodf.c: Likewise.
27783 * math/w_fmodl.c: Likewise.
27784 * math/w_j0.c: Likewise.
27785 * math/w_j0f.c: Likewise.
27786 * math/w_j0l.c: Likewise.
27787 * math/w_j1.c: Likewise.
27788 * math/w_j1f.c: Likewise.
27789 * math/w_j1l.c: Likewise.
27790 * math/w_jn.c: Likewise.
27791 * math/w_jnf.c: Likewise.
27792 * math/w_log.c: Likewise.
27793 * math/w_logf.c: Likewise.
27794 * math/w_logl.c: Likewise.
27795 * math/w_log10.c: Likewise.
27796 * math/w_log10f.c: Likewise.
27797 * math/w_log10l.c: Likewise.
27798 * math/w_log2.c: Likewise.
27799 * math/w_log2f.c: Likewise.
27800 * math/w_log2l.c: Likewise.
27801 * math/w_pow.c: Likewise.
27802 * math/w_powf.c: Likewise.
27803 * math/w_powl.c: Likewise.
27804 * math/w_remainder.c: Likewise.
27805 * math/w_remainderf.c: Likewise.
27806 * math/w_remainderl.c: Likewise.
27807 * math/w_scalb.c: Likewise.
27808 * math/w_scalbf.c: Likewise.
27809 * math/w_scalbl.c: Likewise.
27810 * math/w_sqrt.c: Likewise.
27811 * math/w_sqrtf.c: Likewise.
27812 * math/w_sqrtl.c: Likewise.
27813 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27814 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27815 used.
27816 * math/math_private.h: Declare __kernel_standard_f.
27817 * math/w_cosh.c: Remove cruft and optimize a bit.
27818 * math/w_coshf.c: Likewise.
27819 * math/w_coshl.c: Likewise.
27820 * math/w_exp2.c: Likewise.
27821 * math/w_exp2f.c: Likewise.
27822 * math/w_exp2l.c: Likewise.
27823 * math/w_hypot.c: Likewise.
27824 * math/w_hypotf.c: Likewise.
27825 * math/w_hypotl.c: Likewise.
27826 * math/w_lgamma.c: Likewise.
27827 * math/w_lgamma_r.c: Likewise.
27828 * math/w_lgammaf.c: Likewise.
27829 * math/w_lgammaf_r.c: Likewise.
27830 * math/w_lgammal.c: Likewise.
27831 * math/w_lgammal_r.c: Likewise.
27832 * math/w_sinh.c: Likewise.
27833 * math/w_sinhf.c: Likewise.
27834 * math/w_sinhl.c: Likewise.
27835 * math/w_tgamma.c: Likewise.
27836 * math/w_tgammaf.c: Likewise.
27837 * math/w_tgammal.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27840 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27841 Minor optimizations. Pretty printing. Remove cruft.
27842 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27843 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27844 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27846 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27847 * sysdeps/i386/fpu/e_asin.S: Likewise.
27848 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27849 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27850 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27851 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27852 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27855 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27856 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27857 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27858 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27859 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27860 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27861 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27862 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27863 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27864 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27865 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27866 * sysdeps/i386/fpu/e_log.S: Likewise.
27867 * sysdeps/i386/fpu/e_log10.S: Likewise.
27868 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27869 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27870 * sysdeps/i386/fpu/e_log2.S: Likewise.
27871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27873 * sysdeps/i386/fpu/e_logf.S: Likewise.
27874 * sysdeps/i386/fpu/e_logl.S: Likewise.
27875 * sysdeps/i386/fpu/e_pow.S: Likewise.
27876 * sysdeps/i386/fpu/e_powf.S: Likewise.
27877 * sysdeps/i386/fpu/e_powl.S: Likewise.
27878 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27879 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27880 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27881 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27882 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27883 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27884 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27885 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27886 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27908 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27912 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27913 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27914 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27915 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27916 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27917 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27918 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27920 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27921 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27922 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27923 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27924 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27925 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27927 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27928 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27967 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27978 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27979 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27980 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27981 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27982 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27983 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27984 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27985 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27986 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27987 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27988 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27989 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27990 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27991 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27992 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27993 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27995 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27996 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27997 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27998 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27999 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28000 (__isnanf): Likewise.
28001 (__isinf_ns): Likewise.
28002 (__isinf_nsf): Likewise.
28003 (__finite): Likewise.
28004 (__finitef): Likewise.
28005 (__ieee754_sqrt): Define as macro.
28006 (__ieee754_sqrtf): Define as macro.
28007 (__ieee754_sqrtl): Define as macro.
28008 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28009 inlined copy.
28010 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28011 __FINITE_MATH_ONLY__ consistent.
28012 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28013
12cc2fcd
AS
280142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28015
a843a204
AS
28016 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28017 of rawmemchr.
28018
12cc2fcd
AS
28019 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28020
c853acd5
UD
280212011-10-09 Ulrich Drepper <drepper@gmail.com>
28022
28023 * po/ja.po: Update from translation team.
28024
c658d255
RM
280252011-10-08 Roland McGrath <roland@hack.frob.com>
28026
110946e4
RM
28027 * locale/programs/locarchive.c (prepare_address_space): New function.
28028 (create_archive, enlarge_archive, open_archive): Use it.
28029
50604220
RM
28030 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28031 inside [SHARED], where it is used.
28032
c658d255
RM
28033 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28034
28035 * nss/getent.c (netgroup_keys): Remove unused variable.
28036 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28037
6a621eb7
UD
280382011-10-08 Ulrich Drepper <drepper@gmail.com>
28039
7edb55ce
UD
28040 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28041 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28044 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28045 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28046 * math/Makefile (libm-calls): Add s_isinf_ns.
28047 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28048 * math/multc3.c: Likewise.
28049 * math/s_casin.c: Likewise.
28050 * math/s_casinf.c: Likewise.
28051 * math/s_casinl.c: Likewise.
28052 * math/s_ccos.c: Likewise.
28053 * math/s_ccosf.c: Likewise.
28054 * math/s_ccosl.c: Likewise.
28055 * math/s_ctan.c: Likewise.
28056 * math/s_ctanf.c: Likewise.
28057 * math/s_ctanh.c: Likewise.
28058 * math/s_ctanhf.c: Likewise.
28059 * math/s_ctanhl.c: Likewise.
28060 * math/s_ctanl.c: Likewise.
28061 * math/w_fmod.c: Likewise.
28062 * math/w_fmodf.c: Likewise.
28063 * math/w_fmodl.c: Likewise.
28064 * math/w_remainder.c: Likewise.
28065 * math/w_remainderf.c: Likewise.
28066 * math/w_remainderl.c: Likewise.
28067 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28068 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28069 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28071 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28072 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28073 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28074 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28075
187da0ae
UD
28076 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28077 of the number.
28078 * stdio-common/printf_fphex.c: Likewise.
28079 * stdio-common/printf_size.c: Likewise.
28080
9277c064
UD
28081 * math/e_exp10.c: Include math_private.h using <...> not "...".
28082 * math/e_exp10f.c: Likewise.
28083 * math/e_exp10l.c: Likewise.
28084 * math/e_exp2l.c: Likewise.
28085 * math/e_j0l.c: Likewise.
28086 * math/e_j1l.c: Likewise.
28087 * math/e_jnl.c: Likewise.
28088 * math/e_lgammal_r.c: Likewise.
28089 * math/e_rem_pio2l.c: Likewise.
28090 * math/e_scalb.c: Likewise.
28091 * math/e_scalbf.c: Likewise.
28092 * math/e_scalbl.c: Likewise.
28093 * math/k_cosl.c: Likewise.
28094 * math/k_sinl.c: Likewise.
28095 * math/k_tanl.c: Likewise.
28096 * math/s_cacoshf.c: Likewise.
28097 * math/s_catan.c: Likewise.
28098 * math/s_catanf.c: Likewise.
28099 * math/s_catanh.c: Likewise.
28100 * math/s_catanhf.c: Likewise.
28101 * math/s_catanhl.c: Likewise.
28102 * math/s_catanl.c: Likewise.
28103 * math/s_ccosh.c: Likewise.
28104 * math/s_ccoshf.c: Likewise.
28105 * math/s_ccoshl.c: Likewise.
28106 * math/s_cexp.c: Likewise.
28107 * math/s_cexpf.c: Likewise.
28108 * math/s_cexpl.c: Likewise.
28109 * math/s_clog.c: Likewise.
28110 * math/s_clog10.c: Likewise.
28111 * math/s_clog10f.c: Likewise.
28112 * math/s_clog10l.c: Likewise.
28113 * math/s_clogf.c: Likewise.
28114 * math/s_clogl.c: Likewise.
28115 * math/s_csin.c: Likewise.
28116 * math/s_csinf.c: Likewise.
28117 * math/s_csinh.c: Likewise.
28118 * math/s_csinhf.c: Likewise.
28119 * math/s_csinhl.c: Likewise.
28120 * math/s_csinl.c: Likewise.
28121 * math/s_csqrt.c: Likewise.
28122 * math/s_csqrtf.c: Likewise.
28123 * math/s_csqrtl.c: Likewise.
28124 * math/s_ctan.c: Likewise.
28125 * math/s_ctanf.c: Likewise.
28126 * math/s_ctanh.c: Likewise.
28127 * math/s_ctanhf.c: Likewise.
28128 * math/s_ctanhl.c: Likewise.
28129 * math/s_ctanl.c: Likewise.
28130 * math/s_ldexp.c: Likewise.
28131 * math/s_ldexpf.c: Likewise.
28132 * math/s_ldexpl.c: Likewise.
28133 * math/s_significand.c: Likewise.
28134 * math/s_significandf.c: Likewise.
28135 * math/s_significandl.c: Likewise.
28136 * math/w_acos.c: Likewise.
28137 * math/w_acosf.c: Likewise.
28138 * math/w_acosh.c: Likewise.
28139 * math/w_acoshf.c: Likewise.
28140 * math/w_acoshl.c: Likewise.
28141 * math/w_acosl.c: Likewise.
28142 * math/w_asin.c: Likewise.
28143 * math/w_asinf.c: Likewise.
28144 * math/w_asinl.c: Likewise.
28145 * math/w_atan2.c: Likewise.
28146 * math/w_atan2f.c: Likewise.
28147 * math/w_atan2l.c: Likewise.
28148 * math/w_atanh.c: Likewise.
28149 * math/w_atanhf.c: Likewise.
28150 * math/w_atanhl.c: Likewise.
28151 * math/w_cosh.c: Likewise.
28152 * math/w_coshf.c: Likewise.
28153 * math/w_coshl.c: Likewise.
28154 * math/w_dremf.c: Likewise.
28155 * math/w_exp10.c: Likewise.
28156 * math/w_exp10f.c: Likewise.
28157 * math/w_exp10l.c: Likewise.
28158 * math/w_exp2.c: Likewise.
28159 * math/w_exp2f.c: Likewise.
28160 * math/w_fmod.c: Likewise.
28161 * math/w_fmodf.c: Likewise.
28162 * math/w_fmodl.c: Likewise.
28163 * math/w_hypot.c: Likewise.
28164 * math/w_hypotf.c: Likewise.
28165 * math/w_hypotl.c: Likewise.
28166 * math/w_j0.c: Likewise.
28167 * math/w_j0f.c: Likewise.
28168 * math/w_j0l.c: Likewise.
28169 * math/w_j1.c: Likewise.
28170 * math/w_j1f.c: Likewise.
28171 * math/w_j1l.c: Likewise.
28172 * math/w_jn.c: Likewise.
28173 * math/w_jnf.c: Likewise.
28174 * math/w_jnl.c: Likewise.
28175 * math/w_lgamma.c: Likewise.
28176 * math/w_lgamma_r.c: Likewise.
28177 * math/w_lgammaf.c: Likewise.
28178 * math/w_lgammaf_r.c: Likewise.
28179 * math/w_lgammal.c: Likewise.
28180 * math/w_lgammal_r.c: Likewise.
28181 * math/w_log.c: Likewise.
28182 * math/w_log10.c: Likewise.
28183 * math/w_log10f.c: Likewise.
28184 * math/w_log10l.c: Likewise.
28185 * math/w_log2.c: Likewise.
28186 * math/w_log2f.c: Likewise.
28187 * math/w_log2l.c: Likewise.
28188 * math/w_logf.c: Likewise.
28189 * math/w_logl.c: Likewise.
28190 * math/w_pow.c: Likewise.
28191 * math/w_powf.c: Likewise.
28192 * math/w_powl.c: Likewise.
28193 * math/w_remainder.c: Likewise.
28194 * math/w_remainderf.c: Likewise.
28195 * math/w_remainderl.c: Likewise.
28196 * math/w_scalb.c: Likewise.
28197 * math/w_scalbf.c: Likewise.
28198 * math/w_scalbl.c: Likewise.
28199 * math/w_sinh.c: Likewise.
28200 * math/w_sinhf.c: Likewise.
28201 * math/w_sinhl.c: Likewise.
28202 * math/w_sqrt.c: Likewise.
28203 * math/w_sqrtf.c: Likewise.
28204 * math/w_sqrtl.c: Likewise.
28205 * math/w_tgamma.c: Likewise.
28206 * math/w_tgammaf.c: Likewise.
28207 * math/w_tgammal.c: Likewise.
28208
6a621eb7
UD
28209 * po/ja.po: Update from translation team.
28210
bf582445
AJ
282112011-09-29 Andreas Jaeger <aj@suse.de>
28212
f9efbf3a
AJ
28213 [BZ #13179]
28214 * sunrpc/netname.c (netname2host): Fix logic.
28215
bf582445
AJ
28216 [BZ #6779]
28217 [BZ #6783]
28218 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28219 correctly.
28220 * math/w_remainder.c (__remainder): Likewise.
28221 * math/w_remainderf.c (__remainderf): Likewise.
28222 * math/libm-test.inc (remainder_test): Add test cases.
28223
48693bea
AK
282242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28225
28226 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28227 sdiv_qrnnd.
28228
42622229
LD
282292011-10-07 Ulrich Drepper <drepper@gmail.com>
28230
28231 * string/test-memcmp.c: Avoid unncessary #defines.
28232 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28233
093ecf92
LD
282342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28235
28236 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28237 Use new sse2 version for core i3 - i7 as it's faster
28238 than sse42 version.
28239 (bit_Prefer_PMINUB_for_stringop): New.
28240 * sysdeps/x86_64/rawmemchr.S: Update.
28241 Replace with faster SSE2 version.
28242 * sysdeps/x86_64/memrchr.S: New file.
28243 * sysdeps/x86_64/memchr.S: Update.
28244 Replace with faster SSE2 version.
28245
fde56e5c
MP
282462011-09-12 Marek Polacek <mpolacek@redhat.com>
28247
28248 * elf/dl-load.c (lose): Add cast to avoid warning.
28249
21fd49a9
UD
282502011-10-07 Ulrich Drepper <drepper@gmail.com>
28251
5a06e643
UD
28252 * po/ca.po: Update from translation team.
28253
684ae515
UD
28254 * inet/getnetgrent_r.c: Hook up nscd.
28255 * nscd/Makefile (routines): Add nscd_netgroup.
28256 (nscd-modules): Add netgroupcache.
28257 (CFLAGS-netgroupcache.c): Define.
28258 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28259 (cache_search): Add const to second parameter.
28260 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28261 INNETGR.
28262 (dbs): Add netgrdb entry.
28263 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28264 (verify_persistent_db): Handle netgrdb.
28265 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28266 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28267 GETFDNETGR.
28268 (netgroup_response_header): Define.
28269 (innetgroup_response_header): Define.
28270 (datahead): Add netgroup_response_header and innetgroup_response_header
28271 elements.
28272 * nscd/nscd.conf: Add entries for netgroup cache.
28273 * nscd/nscd.h (dbtype): Add netgrdb.
28274 (_PATH_NSCD_NETGROUP_DB): Define.
28275 (netgroup_iov_disabled): Declare.
28276 (xmalloc, xcalloc, xrealloc): Move declarations here.
28277 (cache_search): Adjust prototype.
28278 Add netgroup-related prototypes.
28279 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28280 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28281 (__nscd_innetgr): Declare.
28282 * nscd/selinux.c (perms): Use access_vector_t as element type and
28283 add netgroup-related initializers.
28284 * nscd/netgroupcache.c: New file.
28285 * nscd/nscd_netgroup.c: New file.
28286 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28287 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28288 For four parameters use innetgr.
28289 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28290 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28291 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28292 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28293
21fd49a9
UD
28294 * nscd/connections.c (register_traced_file): Don't register file
28295 for disabled databases.
28296
054c0457
UD
282972011-10-06 Ulrich Drepper <drepper@gmail.com>
28298
32b63198
UD
28299 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28300
054c0457
UD
28301 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28302 from tree and freeing node.
28303
64031225
JO
283042011-09-25 Jiri Olsa <jolsa@redhat.com>
28305
28306 * nss/nsswitch.c (__nss_database_lookup): Handle
28307 nss_parse_service_list out of memory case.
28308
0490345c
JO
283092011-09-15 Jiri Olsa <jolsa@redhat.com>
28310
28311 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28312 out of memory case.
28313
3a62d00d
AS
283142011-10-04 Andreas Schwab <schwab@redhat.com>
28315
28316 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28317 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28318 pass it down.
28319 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28320 elf_machine_rela, elf_machine_lazy_rel.
28321 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28322 (ELF_DYNAMIC_DO_REL): Likewise.
28323 (ELF_DYNAMIC_DO_RELA): Likewise.
28324 (ELF_DYNAMIC_RELOCATE): Likewise.
28325 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28326 to ELF_DYNAMIC_DO_REL.
28327 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28328 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28329 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28330 elf_machine_rela.
28331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28332 skip_ifunc, don't call ifunc function if non-zero.
28333 (elf_machine_rela): Likewise.
28334 (elf_machine_lazy_rel): Likewise.
28335 (elf_machine_lazy_rela): Likewise.
28336 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28337 (elf_machine_lazy_rel): Likewise.
28338 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28339 Likewise.
28340 (elf_machine_lazy_rel): Likewise.
28341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28342 Likewise.
28343 (elf_machine_lazy_rel): Likewise.
28344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28345 (elf_machine_lazy_rel): Likewise.
28346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28347 (elf_machine_lazy_rel): Likewise.
28348 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28349 (elf_machine_lazy_rel): Likewise.
28350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28351 (elf_machine_lazy_rel): Likewise.
28352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28353 (elf_machine_lazy_rel): Likewise.
28354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28355 (elf_machine_lazy_rel): Likewise.
28356
68577918
UD
283572011-09-28 Ulrich Drepper <drepper@gmail.com>
28358
28359 * nss/nss_files/files-init.c (_nss_files_init): Use static
28360 initialization for all the *_traced_file variables.
28361
68822d74
AS
283622011-09-28 Andreas Schwab <schwab@redhat.com>
28363
28364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28365
2056100b
RM
283662011-09-27 Roland McGrath <roland@hack.frob.com>
28367
28368 [BZ #13226]
28369 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28370
32c76b63
AS
283712011-09-27 Andreas Schwab <schwab@redhat.com>
28372
28373 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28374 Reread the line before reparsing it.
28375
bf972c9d
AS
283762011-09-26 Andreas Schwab <schwab@redhat.com>
28377
28378 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28379
e057a1b5
JM
283802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28381 Maxim Kuvyrkov <maxim@codesourcery.com>
28382 Joseph Myers <joseph@codesourcery.com>
28383
28384 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28385 if needed for __stack_chk_guard.
28386
bc7e1c36
RM
283872011-09-19 Roland McGrath <roland@hack.frob.com>
28388
ecb1482f
RM
28389 * sysdeps/posix/spawni.c (script_execute): Always define it.
28390 It will be optimized away if unused.
28391 (maybe_script_execute): New function.
28392 (__spawni): Call it.
28393
bc7e1c36
RM
28394 * Makerules: Don't include tls.make.
28395 (config-tls): Always set to thread.
28396 * tls.make.c: File removed.
28397
1c3b002b
MF
283982011-09-19 Mike Frysinger <vapier@gentoo.org>
28399
28400 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28401 * config.make.in (CPPFLAGS-config): New substituted variable.
28402
2840865d
UD
284032011-09-15 Ulrich Drepper <drepper@gmail.com>
28404
88738eb6
UD
28405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28406
cbf645a6 28407 [BZ #13192]
2840865d
UD
28408 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28409 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28410
b402e91a
RM
284112011-09-15 Roland McGrath <roland@hack.frob.com>
28412
28413 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28414 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28416 (CALL_FAIL): Likewise.
28417 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28418 (CALL_FAIL): Macro removed.
28419 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28420
4c1a1f71
UD
284212011-09-15 Ulrich Drepper <drepper@gmail.com>
28422
28423 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28424 for __FINITE_MATH_ONLY__ == 1.
28425
edc121be
AS
284262011-09-15 Andreas Schwab <schwab@redhat.com>
28427
28428 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28429 __ieee754_sqrt instead of sqrt.
28430 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28431 __ieee754_sqrtf instead of sqrtf.
28432 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28433 __floorf instead of floorf.
28434 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28435 __floorf, __truncf instead of floorf, truncf.
28436
cd205654
UD
284372011-09-14 Ulrich Drepper <drepper@gmail.com>
28438
ee4d0315
UD
28439 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28440
cd205654
UD
28441 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28442 __extern_always_inline.
28443 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28444 32-bit.
28445
48b67d71
AS
284462011-09-14 Andreas Schwab <schwab@redhat.com>
28447
28448 * elf/rtld.c (dl_main): Also relocate in dependency order when
28449 doing symbol dependency testing.
28450
1ae12c75
AS
284512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28452
28453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28454 Always define `refsym'.
28455
995a80df
AS
284562011-09-13 Andreas Schwab <schwab@redhat.com>
28457
e529793b
AS
28458 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28459 (__FD_ELT): Renamed from __FDELT.
28460 * misc/bits/select2.h (__FD_ELT): Likewise.
28461 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28462 __FD_MASK instead of __FDELT, __FDMASK.
28463 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28464 Likewise.
28465 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28466 Likewise.
28467
52d4fef8
AS
28468 * elf/Makefile (gen-ldd): Fix pattern.
28469
995a80df
AS
28470 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28471 (init_tls): Likewise.
28472
8682f8b0
UD
284732011-09-12 Ulrich Drepper <drepper@gmail.com>
28474
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28476
de82006d
AS
284772011-09-12 Andreas Schwab <schwab@redhat.com>
28478
a7c8e6a1
AS
28479 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28480 `struct cmsghdr *' instead of `void *'.
28481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28482 Likewise.
28483
0f31fe77
AS
284842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28485
28486 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28487 if non-absolute.
28488 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28489 ldd_rewrite_script.
0f31fe77 28490
32b4c839
UD
284912011-09-11 Ulrich Drepper <drepper@gmail.com>
28492
83cd1420
UD
28493 * configure.in: Remove --with-tls option.
28494 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28495 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28496 out in case it is missing.
28497 * sysdeps/ia64/elf/configure.in: Likewise.
28498 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28499 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28500 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28501 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28502 * sysdeps/sh/elf/configure.in: Likewise.
28503 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28504 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28505 * sysdeps/x86_64/elf/configure.in: Likewise.
28506 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28507 * sysdeps/mach/hurd/tls.h: Likewise.
28508
633f745d
UD
28509 [BZ #13067]
28510 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28511
f318beb8
UD
28512 [BZ #13090]
28513 * configure.in: Fix use of AC_INIT.
28514
32b4c839
UD
28515 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28516
3ce1f295
UD
285172011-09-10 Ulrich Drepper <drepper@gmail.com>
28518
bb016596
UD
28519 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28520 __set_errno.
8e58439c
UD
28521 * malloc/hooks.c: Likewise.
28522
aebae053 28523 [BZ #11929]
02d46fc4
UD
28524 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28525 variables statically.
28526 (narenas): Initialize.
28527 (list_lock): Initialize.
bb016596
UD
28528 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28529 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28530 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28531 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28532 Add initializers to main_arena and mp_.
28533 (malloc_state): Remove pagesize member. Change all users to use
28534 GLRO(dl_pagesize).
28535
28536 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28537 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28538 is always initialized.
28539
22a89187
UD
28540 * malloc/malloc.c: Removed unused configurations and dead code.
28541 * malloc/arena.c: Likewise.
28542 * malloc/hooks.c: Likewise.
02d46fc4 28543 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28544
d063d164
UD
28545 * include/tls.h: Removed. USE___THREAD must always be defined.
28546 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28547 * elf/dl-libc.c: Likewise.
28548 * elf/dl-tsd.c: Likewise.
28549 * include/errno.h: Likewise.
28550 * include/netdb.h: Likewise.
28551 * include/resolv.h: Likewise.
28552 * inet/herrno-loc.c: Likewise.
28553 * inet/herrno.c: Likewise.
28554 * malloc/arena.c: Likewise.
28555 * malloc/hooks.c: Likewise.
28556 * malloc/malloc.c: Likewise.
28557 * resolv/res-state.c: Likewise.
28558 * resolv/res_libc.c: Likewise.
28559 * sysdeps/i386/dl-machine.h: Likewise.
28560 * sysdeps/ia64/dl-machine.h: Likewise.
28561 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28562 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28563 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28564 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28565 * sysdeps/sh/dl-machine.h: Likewise.
28566 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28567 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28568 * sysdeps/unix/i386/sysdep.S: Likewise.
28569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28570 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28579 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28580 * sysdeps/x86_64/dl-machine.h: Likewise.
28581 * tls.make.c: Likewise.
28582
3ce1f295
UD
28583 * configure.in: Remove --with-__thread option. Make tests for
28584 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28585 tls_model attribute fail if no support is available. Remove
28586 USE_IN_LIBIO.
28587 * Makeconfig: Adjust for dropped configure option. All features are
28588 now mandatory.
28589 * Makerules: Likewise.
28590 * Versions.def: Likewise.
28591 * argp/argp-fmtstream.c: Likewise.
28592 * argp/argp-fmtstream.h: Likewise.
28593 * argp/argp-help.c: Likewise.
28594 * assert/assert.c: Likewise.
28595 * config.h.in: Likewise.
28596 * config.make.in: Likewise.
28597 * configure: Likewise.
28598 * configure.in: Likewise.
28599 * csu/Versions: Likewise.
28600 * csu/init.c: Likewise.
28601 * elf/tst-audit2.c: Likewise.
28602 * elf/tst-tls10.c: Likewise.
28603 * elf/tst-tls10.h: Likewise.
28604 * elf/tst-tls11.c: Likewise.
28605 * elf/tst-tls12.c: Likewise.
28606 * elf/tst-tls14.c: Likewise.
28607 * elf/tst-tlsmod11.c: Likewise.
28608 * elf/tst-tlsmod12.c: Likewise.
28609 * elf/tst-tlsmod13.c: Likewise.
28610 * elf/tst-tlsmod13a.c: Likewise.
28611 * elf/tst-tlsmod14a.c: Likewise.
28612 * elf/tst-tlsmod15b.c: Likewise.
28613 * elf/tst-tlsmod16a.c: Likewise.
28614 * elf/tst-tlsmod16b.c: Likewise.
28615 * elf/tst-tlsmod7.c: Likewise.
28616 * elf/tst-tlsmod8.c: Likewise.
28617 * elf/tst-tlsmod9.c: Likewise.
28618 * gmon/gmon.c: Likewise.
28619 * grp/fgetgrent_r.c: Likewise.
28620 * grp/putgrent.c: Likewise.
28621 * hurd/fopenport.c: Likewise.
28622 * include/libc-symbols.h: Likewise.
28623 * include/tls.h: Likewise.
28624 * intl/gettextP.h: Likewise.
28625 * intl/loadinfo.h: Likewise.
28626 * locale/global-locale.c: Likewise.
28627 * locale/localeinfo.h: Likewise.
28628 * mach/devstream.c: Likewise.
28629 * malloc/arena.c: Likewise.
28630 * malloc/set-freeres.c: Likewise.
28631 * misc/err.c: Likewise.
28632 * misc/getttyent.c: Likewise.
28633 * misc/mntent_r.c: Likewise.
28634 * posix/getopt.c: Likewise.
28635 * posix/wordexp.c: Likewise.
28636 * pwd/fgetpwent_r.c: Likewise.
28637 * resolv/Versions: Likewise.
28638 * resolv/res_hconf.c: Likewise.
28639 * shadow/fgetspent_r.c: Likewise.
28640 * shadow/putspent.c: Likewise.
28641 * stdio-common/printf_fphex.c: Likewise.
28642 * stdio-common/tmpfile.c: Likewise.
28643 * stdlib/abort.c: Likewise.
28644 * stdlib/fmtmsg.c: Likewise.
28645 * sunrpc/auth_unix.c: Likewise.
28646 * sunrpc/clnt_perr.c: Likewise.
28647 * sunrpc/clnt_tcp.c: Likewise.
28648 * sunrpc/clnt_udp.c: Likewise.
28649 * sunrpc/clnt_unix.c: Likewise.
28650 * sunrpc/openchild.c: Likewise.
28651 * sunrpc/svc_simple.c: Likewise.
28652 * sunrpc/svc_tcp.c: Likewise.
28653 * sunrpc/svc_udp.c: Likewise.
28654 * sunrpc/svc_unix.c: Likewise.
28655 * sunrpc/xdr.c: Likewise.
28656 * sunrpc/xdr_array.c: Likewise.
28657 * sunrpc/xdr_rec.c: Likewise.
28658 * sunrpc/xdr_ref.c: Likewise.
28659 * sunrpc/xdr_stdio.c: Likewise.
28660
1248c1c4
PB
286612011-09-09 Ulrich Drepper <drepper@gmail.com>
28662
28663 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28664
286652011-07-03 Andreas Jaeger <aj@suse.de>
28666
28667 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28668 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28669 regenerate with gen-libm-tests.pl.
28670
286712010-05-12 Petr Baudis <pasky@suse.cz>
28672
28673 [BZ #11589]
28674 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28675 around j0() zero points by switching to j1().
28676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28680
f22e1074
UD
286812011-09-09 Ulrich Drepper <drepper@gmail.com>
28682
f19009c1
UD
28683 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28684 instead of 0.
28685 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28686 instead of 0.
f19009c1
UD
28687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28688 Patch in part by Pavel Roskin <proski@gnu.org>.
28689
3f8cc204
UD
28690 [BZ #13138]
28691 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28692 realloc.
28693 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28694 Free memory block if necessary.
28695
f22e1074
UD
28696 [BZ #12847]
28697 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28698 be NULL. Don't lock in this case.
28699
0a2349f9
RM
287002011-09-09 Roland McGrath <roland@hack.frob.com>
28701
28702 * elf/elf.h (ELFOSABI_GNU): New macro.
28703 (ELFOSABI_LINUX): Define to that.
28704
f3cdd467
DZ
287052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28706
28707 * string/strncat.c (strncat): Undef the symbol in case it has been
28708 defined in bits/string.h.
28709
74718d13
UD
287102011-09-09 Ulrich Drepper <drepper@gmail.com>
28711
633e9e0f
UD
28712 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28713
0a2349f9 28714 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28715 link map.
28716
f9924780
AJ
287172011-08-17 Andreas Jaeger <aj@suse.de>
28718
28719 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28720
7f5517aa
PP
287212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28722 Ian Lance Taylor <iant@google.com>
28723
28724 * math/libm-test.inc (lround_test): New testcase.
28725 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28726
762011fe
UD
287272011-09-08 Ulrich Drepper <drepper@gmail.com>
28728
92963737
UD
28729 * Makefile: Remove support for automatic cvs check-ins.
28730 * Makerules: Likewise.
28731 * config.make.in: Likewise.
28732 * configure.in: Likewise.
28733 * intl/Makefile: Likewise.
28734 * locale/Makefile: Likewise.
28735 * po/Makefile: Likewise.
28736 * posix/Makefile: Likewise.
28737 * sysdeps/gnu/Makefile: Likewise.
28738 * sysdeps/mach/hurd/Makefile: Likewise.
28739 * sysdeps/sparc/sparc32/Makefile: Likewise.
28740
b0727fd8
JS
28741 [BZ #13118]
28742 * posix/Makefile (bug-regex32-ENV): Define.
28743 Patch by John Stanley <jpsinthemix@verizon.net>.
28744
a0f33f99
UD
28745 * misc/Makefile (headers): Add bits/select2.h.
28746 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28747 * misc/bits/select2.h: New file.
28748 * include/bits/select2.h: New file.
28749 * debug/Makefile (routines): Add fdelt_chk.
28750 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28751 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28752 FD_ISSET.
28753 * debug/fdelt_chk.c: New file.
28754
762011fe
UD
28755 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28756 * wcsmbs/test-wmemcmp.c: Likewise.
28757 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28758 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28759
287602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28761
28762 * string/Makefile (strop-tests): Add memcmp.
28763 * string/test-wmemcmp.c: New file.
28764 * string/test-memcmp.c: Add wmemcmp support.
28765
7f513ec8
RM
287662011-09-08 Roland McGrath <roland@hack.frob.com>
28767
0442afb4
RM
28768 [BZ #13153]
28769 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28770 2011-07-19 change.
28771
7f513ec8
RM
28772 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28773 garbage value in a __mach_port_mod_refs call in the cases of the
28774 task-self and thread-self ports.
28775
a12b2239
ST
287762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28777
28778 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28779
610f9ab4
AS
287802011-09-08 Andreas Schwab <schwab@redhat.com>
28781
7f513ec8 28782 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28783
48882a1a
LD
287842011-09-07 Ulrich Drepper <drepper@gmail.com>
28785
b49865be
UD
28786 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28787
fdc86bc9
UD
28788 * elf/dl-libc.c (dlerror_run): Pass back error code from
28789 dl_catch_error.
28790
c966526a
UD
28791 [BZ #13123]
28792 * elf/dl-load.c (lose): Free l_origin if it is valid.
28793
48882a1a
LD
28794 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28795 names.
28796 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28797 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28798 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28799 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28800 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28801 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28802
77a2a8b4
AZ
288032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28804
28805 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28806 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28807 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28808 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28809 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28810 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28811 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28812 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28813 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28814 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28815
24f579d8
AM
288162011-08-15 Alan Modra <amodra@gmail.com>
28817
28818 [BZ #13092]
28819 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28820 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28821 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28822 ppc_mcount to static-only-routines.
28823 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28824 __mcount_internal.
28825 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28826 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28827
3d4837df
UD
288282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28829
28830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28831 for finite and infinity parameters.
28832
22700377
WS
288332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28834
28835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28836 and add nop instructions for throughput optimization.
28837 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28838
5025581e
WS
288392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28840
28841 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28842 aligned copy for power7 with vector-scalar instructions.
28843 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28844
08a300c9
L
288452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28848 AVX check.
28849
59178ef9
AS
288502011-09-07 Andreas Schwab <schwab@redhat.com>
28851
28852 [BZ #13144]
28853 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28854 last change.
28855
e38ba7ab
UD
288562011-09-07 Ulrich Drepper <drepper@gmail.com>
28857
28858 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28859 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28860 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28861 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28862 clock_gettime.
28863
d53a73ac
UD
288642011-09-06 Ulrich Drepper <drepper@gmail.com>
28865
fc8bffcc
UD
28866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28867 Forgot to demangle the pointer.
28868
ceaa0c5d
UD
28869 * sysdeps/i386/sysdep.h: Define atom_text_section.
28870 * sysdeps/x86_64/sysdep.h: Likewise.
28871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28872 section with atom_text_section.
28873 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28874 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28875 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28877 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28878
a77d3c17
UD
28879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28881 already be defined. Change to take two parameters and don't assign
28882 result to variable. Adjust all users.
28883 Define INTERNAL_GETTIME if not already defined.
28884 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28885 call.
28886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28887 HAVE_CLOCK_GETTIME_VSYSCALL.
28888 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28889
d53a73ac
UD
28890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28891 gettimeofday vsyscall, just use time.
28892
a8f84144
AS
288932011-09-06 Andreas Schwab <schwab@redhat.com>
28894
28895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28896 <errno.h>.
28897
ef606249
UD
288982011-09-06 Ulrich Drepper <drepper@gmail.com>
28899
28900 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28901 syscall on x86-64.
28902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28903 syscall.
28904 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28905 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28906 syscall if possible.
28907
6585cb60
UD
289082011-09-05 Ulrich Drepper <drepper@gmail.com>
28909
28910 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28911 e_ident. Don't pass to find_mapsXX.
28912 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28913
a5f524e4
LD
289142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28915
28916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28917 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28918 * sysdeps/x86_64/multiarch/strchr.S: Update.
28919 Check bit_slow_BSF bit.
28920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28921 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28922 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28923
554881ef
UD
289242011-09-05 Ulrich Drepper <drepper@gmail.com>
28925
d96de963
UD
28926 [BZ #13134]
28927 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28928 before glibc 2.15.
28929 (tryshell): Define.
28930 (__spawni): Change last parameter to be flag. Test
28931 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28932 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28933 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28934 * posix/spawni.c: Likewise.
28935 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28936 * posix/spawnp.c: Likewise. Change normal version to use
28937 SPAWN_XFLAGS_USE_PATH.
28938 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28939 SPAWN_XFLAGS_TRY_SHELL.
28940
d48e5868
UD
28941 [BZ #13150]
28942 * posix/glob.h: Remove gcc 1.x support.
28943
554881ef
UD
28944 [BZ #13068]
28945 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28946
693fb948
LD
289472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28948
28949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28950 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28951 strrchr-sse2-bsf
28952 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28953 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28955 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28958
1b48c537
UD
289592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28960
49d42c37
UD
28961 * sysdeps/x86_64/wcscmp.S: New file.
28962
1b48c537
UD
28963 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28964 wcscmp-c wcscmp-sse2
28965 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28966 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28967 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28968 * wcsmbs/wcscmp.c: Allow renaming.
28969
15c95c5d
DM
289702011-09-05 David S. Miller <davem@davemloft.net>
28971
28972 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28973 stack slot, rather than the struct return pointer slot.
28974 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28975 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28977 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28978
2f0ad8f3
UD
289792011-09-05 Ulrich Drepper <drepper@gmail.com>
28980
d88ae418
UD
28981 * po/ja.po: Update from translation team.
28982
2f0ad8f3
UD
28983 [BZ #13144]
28984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28985 kernel in 64-bit binaries.
28986
5f4318d1
DM
289872011-09-01 David S. Miller <davem@davemloft.net>
28988
28989 * elf/elf.h (HWCAP_SPARC_*): Move to..
28990 * sysdeps/sparc/sysdep.h: this new file and add new values.
28991 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28992 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28993 _DL_HWCAP_COUNT to 24.
28994 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28995 entries.
28996 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28997 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28998 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29000 instead of magic constants.
29001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29002
3ba57516
DM
290032011-08-31 David S. Miller <davem@davemloft.net>
29004
29005 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29007 Reimplement to do errno handling inline.
29008 (SYSCALL_ERROR_HANDLER): New macro.
29009 (__SYSCALL_STRING): Do not do errno handling in asm.
29010 (__CLONE_SYSCALL_STRING): Delete.
29011 (__INTERNAL_SYSCALL_STRING): Delete.
29012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29013 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29014 (PSEUDO): Reimplement to do errno handling inline.
29015 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29016 (SYSCALL_ERROR_HANDLER): New macro.
29017 (__SYSCALL_STRING): Do not do errno handling in asm.
29018 (__CLONE_SYSCALL_STRING): Delete.
29019 (__INTERNAL_SYSCALL_STRING): Delete.
29020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29021 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29022 i386.
29023 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29024 (inline_syscall*): Add 'err' argument.
29025 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29026 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29027 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29028 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29029
29030 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29031 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29032
2bc17433
AS
290332011-08-30 Andreas Schwab <schwab@redhat.com>
29034
29035 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29036
fbeb5f4d
JO
290372011-08-29 Jiri Olsa <jolsa@redhat.com>
29038
29039 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29040 directive.
29041
ad69cc26
DM
290422011-08-24 David S. Miller <davem@davemloft.net>
29043
29044 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29045
39dd69df
AS
290462011-08-24 Andreas Schwab <schwab@redhat.com>
29047
29048 * elf/Makefile: Add rules to build and run unload8 test.
29049 * elf/unload8.c: New file.
29050 * elf/unload8mod1.c: New file.
29051 * elf/unload8mod1x.c: New file.
29052 * elf/unload8mod2.c: New file.
29053 * elf/unload8mod3.c: New file.
29054
29055 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29056 it wasn't used.
29057
2c0b250a
DM
290582011-08-23 David S. Miller <davem@davemloft.net>
29059
29060 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29061 subtract stack bias.
29062 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29063 %sp not %fp in calculations.
29064 (_JMPBUF_UNWINDS_ADJ): Likewise.
29065
22044b48
DM
29066 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29067 (aio_suspend): Call it to force an exception region around the
29068 AIO_MISC_WAIT() invocation.
29069
2cae4995
AS
290702011-08-23 Andreas Schwab <schwab@redhat.com>
29071
29072 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29073 backslash.
29074
873a772e
AJ
290752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29076
29077 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29078 protection macro.
29079 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29080 and <dl-machine.h>.
29081 (Elf64_FuncDesc): Remove.
29082
25ad0df1
DM
290832011-08-22 David S. Miller <davem@davemloft.net>
29084
29085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29086 sigaltstack check, add missing cfi directives.
29087 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29088 missing cfi directives, and sigaltstack handling.
29089
e888bcbe
AS
290902011-08-16 Andreas Schwab <schwab@redhat.com>
29091
29092 [BZ #11724]
29093 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29094 object is seen twice.
29095 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29096
29097 * elf/Makefile (distribute): Add tst-initorder2.c.
29098 (tests): Add tst-initorder2.
29099 (modules-names): Add tst-initorder2a tst-initorder2b
29100 tst-initorder2c tst-initorder2d. Add rules to build them.
29101 ($(objpfx)tst-initorder2.out): New rule.
29102 * elf/tst-initorder2.c: New file.
29103 * elf/tst-initorder2.exp: New file.
29104
87162f46
AS
291052011-08-22 Andreas Schwab <schwab@redhat.com>
29106
70538b7f
AS
29107 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29108
f55ffe58
AS
29109 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29110 dependencies back to end of function.
29111
87162f46
AS
29112 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29113 $(elfobjdir)/ld.so.
29114
91b392a4
UD
291152011-08-21 Ulrich Drepper <drepper@gmail.com>
29116
29117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29118 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29120 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29121 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29122 of __vdso_gettimeofday.
29123 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29124 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29125 attribute_hidden.
29126 (_libc_vdso_platform_setup): Remove initialization of
29127 __vdso_gettimeofday and __vdso_time.
29128
5c43483f
UD
291292011-08-20 Ulrich Drepper <drepper@gmail.com>
29130
775a77e7
UD
29131 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29132 and fgetc_unlocked.
29133 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29134 getc_unlocked.
89f447ed 29135
49c74ba9
UD
29136 * elf/dl-open.c (add_to_global): Report additions to the global scope
29137 for LD_DEBUG=scopes.
29138 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29139 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29140
5c43483f
UD
29141 [BZ #13114]
29142 * stdio-common/Makefile (tests): Add bug24.
29143 * stdio-common/bug24.c: New file.
29144
a101b025
AJ
291452011-08-19 Andreas Jaeger <aj@suse.de>
29146
29147 [BZ #13114]
29148 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29149 non-existant file when using close-on-exec mode.
29150
c88f1766
UD
291512011-08-20 Ulrich Drepper <drepper@gmail.com>
29152
0276a718
UD
29153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29154 the very first instruction.
29155
c88f1766
UD
29156 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29157 the CFI state in the end.
29158 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29159 inclusion of dl-trampoline.h.
29160 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29161
51ccffa0
AS
291622011-08-19 Andreas Schwab <schwab@redhat.com>
29163
94d7165f
AS
29164 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29165 expectations for long double.
29166
51ccffa0
AS
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29168 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29169
fd708658 291702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29171
29172 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29173 artificual limit depends upon the system page size.
29174
44f0a71e
UD
291752011-08-17 Ulrich Drepper <drepper@gmail.com>
29176
29177 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29178 * resolv/Makefile: Define CFLAGS-libresolv.
29179
8de79a24
AS
291802011-08-17 Andreas Schwab <schwab@redhat.com>
29181
29182 * nss/makedb.c (compute_tables): Make variables used in nested
29183 function static.
29184
27724598
UD
291852011-08-17 Ulrich Drepper <drepper@gmail.com>
29186
c5305d88
UD
29187 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29188 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29189 if buffer was too small.
29190
27724598
UD
29191 * elf/pldd.c (main): Attach to all threads in the process.
29192 Rewrite /proc handling to use *at functions.
29193
076fe015
UD
291942011-08-16 Ulrich Drepper <drepper@gmail.com>
29195
174baab3
UD
29196 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29197 specifies first scope to show.
29198 (dl_open_worker): Update callers. Move printing scope of new
29199 object to before the relocation.
44f0a71e 29200 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29201 * sysdeps/generic/ldsodefs.h: Update declaration.
29202
076fe015
UD
29203 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29204 string for the scope number.
29205
a60df2c3
UD
292062011-08-14 Ulrich Drepper <drepper@gmail.com>
29207
29208 * nscd/servicescache.c (cache_addserv): Make sure written is always
29209 initialized.
29210
5e4287d1
RM
292112011-08-14 Roland McGrath <roland@hack.frob.com>
29212
85ae0589
RM
29213 * sysdeps/i386/i486/bits/atomic.h
29214 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29215 statement expression, so as to suppress "set but not used" warning.
29216 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29217
69f63097
RM
29218 * string/strncat.c (STRNCAT): Use prototype definition.
29219
675456ef
RM
29220 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29221 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29222 -Iprograms here.
29223 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29224 (localedef-modules): Add localedef.
29225 (locale-modules): Add locale.
29226
5e4287d1
RM
29227 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29228 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29229 to avoid a warning.
29230
9c96ff23
DM
292312011-08-14 David S. Miller <davem@davemloft.net>
29232
29233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29234 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29235
f9ddf089
UD
292362011-08-13 Ulrich Drepper <drepper@gmail.com>
29237
44f0a71e 29238 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29239 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29240 * elf/rtld.c (dl_main): Set l_name of vDSO.
29241 Call _dl_show_scope when DL_DEBUG_SCOPES.
29242 (process_dl_debug): Recognize scopes flag and also set it for all.
29243 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29244 Declare _dl_show_scope.
29245
1dc27704
UD
29246 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29247 (do_dlopen): Pass caller_dlopen to dl_open.
29248 (__libc_dlopen_mode): Initialize caller_dlopen.
29249
f9ddf089
UD
29250 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29251 of libc. Make tolower call locale-independent. Optimize a bit by
29252 using isdigit instead of isalnum.
29253 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29254
9ac533d3
UD
292552011-08-12 Ulrich Drepper <drepper@gmail.com>
29256
29257 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29258 was a dependency or dynamically loaded.
29259
89edf2e9
UD
292602011-08-11 Ulrich Drepper <drepper@gmail.com>
29261
8e999d29
UD
29262 * intl/l10nflist.c: Allow architecture-specific pop function.
29263 * sysdeps/x86_64/l10nflist.c: New file.
29264
89edf2e9
UD
29265 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29266 classification.
29267
14d96785
AS
292682011-08-10 Andreas Schwab <schwab@redhat.com>
29269
29270 * include/dirent.h: Add libc_hidden_proto for scandirat and
29271 scandirat64. Don't declare __scandirat64.
29272 * dirent/scandirat.c: Add libc_hidden_def.
29273 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29274 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29275
6761ac04
DM
292762011-08-10 David S. Miller <davem@davemloft.net>
29277
29278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29279 enum.
29280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29283
c55fbd1e
UD
292842011-08-09 Ulrich Drepper <drepper@gmail.com>
29285
29286 * Versions.def [libc]: Add GLIBC_2.15.
29287 * dirent/Makefile (routines): Add scandirat and scandirat64.
29288 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29289 GLIBC_2.15.
29290 * dirent/dirent.h: Declare scandirat and scandirat64.
29291 * dirent/scandirat.c: New file.
29292 * dirent/scandirat64.c: New file.
29293 * sysdeps/wordsize-64/scandirat.c: New file.
29294 * sysdeps/wordsize-64/scandirat64.c: New file.
29295 * dirent/opendir.c: Define opendirat.
29296 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29297 using scandirat.
29298 * dirent/scandir64.c: Adjust for scandir.c change.
29299 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29300 __scandirat64, and __scandir_cancel_handler.
29301 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29302 additional parameter and use openat instead of open (outside of ld.so).
29303 Add new __opendir as wrapper around __opendirat.
29304 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29305 here without requiring old scandirat implementation.
29306
879165f2
UD
293072011-08-08 Ulrich Drepper <drepper@gmail.com>
29308
29309 * dirent/scandir.c (cancel_handler): Renamed to
29310 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29311 defined. Adjust users.
29312 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29314
cb7e923b
UD
293152011-08-04 Ulrich Drepper <drepper@gmail.com>
29316
16292edd
UD
29317 * string/test-string.h (IMPL): Use __STRING to expand name and then
29318 stringify it.
29319
cb7e923b
UD
29320 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29321 of cleanups.
29322
cff82933
LD
293232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29324
29325 * string/Makefile: Update.
29326 (strop-tests): Append strncat.
29327 * string/test-wcscmp.c: New file.
29328 New comprehensive test for wcscmp.
29329 * string/test-strcmp.c: Update.
29330 (WIDE): New define.
29331
9be9bfcc
AS
293322011-07-22 Andreas Schwab <schwab@redhat.com>
29333
29334 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29335 line.
29336
2e96f1c7
AS
293372011-07-26 Andreas Schwab <schwab@redhat.com>
29338
29339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29340 encoding to ACE if AI_IDN.
29341
85188888
JJ
293422011-08-01 Jakub Jelinek <jakub@redhat.com>
29343
29344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29345 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29346
5fa16e9b
LD
293472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29348
29349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29350 Fix overflow bug in strncat.
29351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29352
29353 * string/test-strncat.c: Update.
29354 Add new tests for checking overflow bugs.
29355
293562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29357
29358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29359 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29360 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29361 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29363 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29364 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29365 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29366 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29367
29368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29369 (USE_AS_STRCAT): Define.
29370 Add strcat and strncat support.
29371 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29372
8c1a459f
AS
293732011-07-25 Andreas Schwab <schwab@redhat.com>
29374
29375 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29376 __n bigger than INT_MAX+1.
29377 (__strncmp_g): Likewise.
29378
bba33c28
UD
293792011-07-23 Ulrich Drepper <drepper@gmail.com>
29380
798be72d
UD
29381 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29382 * libio/stido.h: Likewise.
29383
8accd4dc
UD
29384 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29385 (AF_NFC): Define.
29386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29387 (AF_NFC): Define.
29388
cbff0d96
UD
29389 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29390 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29392 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29394
9191c04a
UD
29395 [BZ #13021]
29396 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29397 installed.
29398
bba33c28
UD
29399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29400 typo.
29401 (_dl_x86_64_save_sse): Likewise.
29402
90f139dd
UD
294032011-07-22 Ulrich Drepper <drepper@gmail.com>
29404
1aae088a
UD
29405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29406 OSXSAVE.
29407 (_dl_x86_64_save_sse): Likewise.
29408
8e2045f5
UD
29409 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29410
90f139dd
UD
29411 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29412
1d002f25
AS
294132011-07-21 Andreas Schwab <schwab@redhat.com>
29414
29415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29416 change.
29417 (_dl_x86_64_save_sse): Use correct AVX check.
29418
21137f89
UD
294192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29420
29421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29422 bug in strncpy/strncat.
29423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29424
a65c0b7a
UD
294252011-07-21 Ulrich Drepper <drepper@gmail.com>
29426
29427 * string/tester.c (test_strcat): Add tests for different alignments
29428 of source and destination.
29429 (test_strncat): Likewise.
29430
6986b98a
UD
294312011-07-20 Ulrich Drepper <drepper@gmail.com>
29432
90bb2039
UD
29433 [BZ #12852]
29434 * posix/glob.c (glob): Check passed in values before using them in
29435 expressions to avoid some overflows.
29436 (glob_in_dir): Likewise.
29437
5644ef54
UD
29438 [BZ #13007]
29439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29440 check for AVX enablement so that we don't crash with old kernels and
29441 new hardware.
29442 * elf/tst-audit4.c: Add same checks here.
29443 * elf/tst-audit6.c: Likewise.
29444
29445 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29446
bfc9dc9b
AS
294472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29448
29449 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29450
702e64bb
UD
294512011-07-20 Ulrich Drepper <drepper@gmail.com>
29452
29453 * po/cs.po: Update from translation team.
29454 * po/bg.po: Likewise.
29455
295e904f
MP
294562011-07-12 Marek Polacek <mpolacek@redhat.com>
29457
29458 * misc/sys/cdefs.h: Add support for const attribute.
29459 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29460 to gnu_dev_{major,minor,makedev} functions.
29461
3ff94596
MP
294622011-07-20 Marek Polacek <mpolacek@redhat.com>
29463
29464 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29465
28b59fca
AS
294662011-07-20 Andreas Schwab <schwab@redhat.com>
29467
29468 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29469 strlen results.
29470
19df733e
AK
294712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29472
29473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29474 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29475 register in order to avoid conflicts with the soft frame pointer
29476 being held in r11 when necessary.
29477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29478 (INTERNAL_VSYSCALL_NCS): Likewise.
29479
c8835729
MP
294802011-07-14 Marek Polacek <mpolacek@redhat.com>
29481
29482 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29483 * elf/dl-fini.c (_dl_fini): Adjust caller.
29484 * elf/dl-close.c (_dl_close_worker): Likewise.
29485 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29486
b902330c
MP
294872011-07-15 Marek Polacek <mpolacek@redhat.com>
29488
8991e135
MP
29489 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29490 "aux_cache->nlibs < 0".
29491
b902330c
MP
29492 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29493 in the reload-count case.
29494
99710781
LD
294952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29496
29497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29498 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29499 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29500 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29501 * sysdeps/x86_64/multiarch/strcat.S: New file.
29502 * sysdeps/x86_64/multiarch/strncat.S: New file.
29503 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29505 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29506 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29508 (USE_AS_STRCAT): Define.
29509 Add strcat and strncat support.
29510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29512 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29513 * string/strncat.c: Update.
29514 (USE_AS_STRNCAT): Define.
29515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29516 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29517 and i7.
29518 * sysdeps/x86_64/multiarch/init-arch.h
29519 (bit_Prefer_PMINUB_for_stringop): New.
29520 (index_Prefer_PMINUB_for_stringop): Likewise.
29521 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29522 bit_Prefer_PMINUB_for_stringop.
29523
7dc6bd90
UD
295242011-07-19 Ulrich Drepper <drepper@gmail.com>
29525
29526 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29527 buffer64.
29528 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29529 of casting of buffer.
29530 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29531 buffer32 and buffer64.
29532 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29533 writes instead of casting of buffer.
29534 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29535 buffer32.
29536 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29537 casting of buffer.
29538
e0e72284
AS
295392011-07-19 Andreas Schwab <schwab@redhat.com>
29540
29541 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29542
feb1eb0b
UD
295432011-07-19 Ulrich Drepper <drepper@gmail.com>
29544
29545 * nscd/nscd.c (termination_handler): Don't do anything for a database
29546 if it has not yet been initialized.
29547
298711ff
UD
295482011-07-18 Ulrich Drepper <drepper@gmail.com>
29549
29550 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29551
295522011-07-15 Marek Polacek <mpolacek@redhat.com>
29553
29554 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29555
f9d68389
UD
295562011-07-18 Ulrich Drepper <drepper@gmail.com>
29557
29558 * po/nl.po: Update from translation team.
29559 * po/sv.po: Likewise.
29560
db290cf5
RM
295612011-07-16 Roland McGrath <roland@hack.frob.com>
29562
29563 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29564 now disallowed by GCC.
5c550700 29565
fd5e21c7
RM
29566 * configure.in (use-default-link): Default to yes if a test -shared
29567 link meets our qualifications.
29568 * configure: Regenerated.
29569
5c550700
RM
29570 * config.make.in (output-format): New variable.
29571 * configure.in: Check for ld --print-output-format support.
29572 * configure: Regenerated.
29573 * Makerules ($(common-objpfx)format.lds)
29574 [$(output-format) != unknown]: Just use $(output-format),
29575 instead of the linker-script munging.
29576
9fa2c032
RM
295772011-07-14 Roland McGrath <roland@hack.frob.com>
29578
a6928d51
RM
29579 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29580 of $(common-objpfx)shlib.lds.
29581 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29582
661607b3
RM
29583 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29584 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29585
9fa2c032
RM
29586 * configure.in (-z relro check): Adjust test code to add a large
29587 writable data section after it.
29588 * configure: Regenerated.
29589
defe9061
RM
295902011-07-11 Roland McGrath <roland@hack.frob.com>
29591
29592 * configure.in (-z relro check): Fix test code to make the variable
29593 truly const.
29594 * configure: Regenerated.
29595
319b9ad4
UD
295962011-07-11 Ulrich Drepper <drepper@gmail.com>
29597
29598 * nscd/nscd.h (struct traced_file): Define.
29599 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29600 elements. Add traced_files.
29601 (inotify_fd): Declare.
29602 (register_traced_file): Declare.
29603 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29604 (inotify_fd): Export.
29605 (resolv_conf_descr): Remove.
29606 (nscd_init): Move inotify descriptor creation to main.
29607 Don't register files for notification here.
29608 (register_traced_file): New function.
29609 (invalidate_cache): Don't use reset_res to determine whether to call
29610 res_init, go through the list of registered files.
29611 (main_loop_poll): The inotify descriptors are now stored in the
29612 structures for the traced files.
29613 (main_loop_epoll): Likewise
29614 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29615 to __nss_disable_nscd.
29616 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29617 for a database anymore. Check the records for all the registered
29618 files instead.
29619 * nss/Makefile (libnss_files-routines): Add files-init.
29620 (libnss_db-routines): Add db-init.
29621 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29622 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29623 * nss/nss_db/db-init.c: New file.
29624 * nss/nss_files/files-init.c: New file.
29625 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29626 __nss_lookup_function.
29627 (__nss_lookup_function): Call nss_load_library.
29628 (nss_load_all_libraries): New function.
29629 (__nss_disable_nscd): Take parameter with callback function for files
29630 to register. Set is_nscd. Load all the DSOs for the NSS modules
29631 used for the cached services.
29632 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29633 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29634 options for features to all the files in nscd.
29635
29636 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29637
23bee3e8
RM
296382011-07-10 Roland McGrath <roland@hack.frob.com>
29639
29640 * csu/elf-init.c (__libc_csu_init): Comment typo.
29641
46a5b7f0
UD
296422011-07-09 Ulrich Drepper <drepper@gmail.com>
29643
29644 * po/pl.po: Update from translation team.
29645 * po/ja.po: Likewise.
29646 * po/ru.po: Likewise.
29647 * po/ko.po: Likewise.
29648 * po/fr.po: Likewise.
29649
d30cf5bb
RM
296502011-07-09 Roland McGrath <roland@hack.frob.com>
29651
113ddea4
RM
29652 * configure.in (.ctors/.dtors header and trailer check):
29653 Use an empirical test on a built program.
29654 * configure: Regenerated.
29655
574920b4
RM
29656 * configure.in (-z relro check): Use an empirical test on a built DSO.
29657 Detect, but do not require, on ia64.
29658 * configure: Regenerated.
29659
d30cf5bb
RM
29660 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29661 Update tests that use readelf to use $READELF instead.
29662 * configure: Regenerated.
29663
8538fdb3
UD
296642011-07-08 Ulrich Drepper <drepper@gmail.com>
29665
29666 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29667 if the result is not used.
29668
04d08991
AJ
296692011-07-05 Andreas Jaeger <aj@suse.de>
29670
29671 [BZ#9696]
29672 * stdlib/tst-strtod.c: Add testcase.
29673
de283087
AD
296742011-07-07 Ulrich Drepper <drepper@gmail.com>
29675
4e5f31c8 29676 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29677 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29678 The latter has a higher limit. Take additional parameter to pass to
29679 the new function.
29680 (__pathconf): Pass file to __statfs_link_max.
29681 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29682 __statfs_link_max.
29683 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29684 __statfs_link_max.
29685
de283087
AD
29686 [BZ #12868]
29687 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29689 Handle Lustre.
29690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29691 (__statfs_filesize_max): Likewise.
29692 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29693
c75fa153
AJ
296942011-07-05 Andreas Jaeger <aj@suse.de>
29695
29696 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29697
1a544854
UD
296982011-07-06 Marek Polacek <mpolacek@redhat.com>
29699
29700 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29701 `status' variable.
29702 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29703 Likewise.
29704
6f0eec67
UD
297052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29706
29707 * Makefile (strop-tests): Add strncat.
29708 * string/test-strncat.c: New file.
29709
aae30307
UD
297102011-06-30 Marek Polacek <mpolacek@redhat.com>
29711
29712 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29713
c0cfb5eb
UD
297142011-06-21 Andreas Jaeger <aj@suse.de>
29715
29716 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29717 Copy rule from iconvdata/Makefile.
29718
01636b21
UD
297192011-07-06 Ulrich Drepper <drepper@gmail.com>
29720
29721 [BZ #12922]
29722 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29723 but no long options are defined, just return 'W'.
29724
9895c8bc
UD
297252011-06-22 Marek Polacek <mpolacek@redhat.com>
29726
29727 [BZ #9696]
29728 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29729
5d4cf042
UD
297302011-07-06 Ulrich Drepper <drepper@gmail.com>
29731
29732 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29733 netgroups to read.
960e5535 29734 (innetgr): Likewise.
5d4cf042 29735
751eb97e
RM
297362011-07-05 Roland McGrath <roland@hack.frob.com>
29737
29738 * config.make.in (install_root): Default to $(DESTDIR).
29739
f15f1e45
UD
297402011-07-05 Ulrich Drepper <drepper@gmail.com>
29741
29742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29743
4e34ac6a
RM
297442011-07-02 Roland McGrath <roland@hack.frob.com>
29745
5e9b6af4
RM
29746 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29747
84f9ea0f
RM
29748 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29749 containing directory rather than embedding absolute directory names.
29750
ea5ee9f7
RM
29751 * scripts/check-local-headers.sh: Rewritten using awk.
29752 Match by word, not by line. Print error messages for matches.
29753 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29754
1b74661a
RM
29755 * Makerules [shlib-lds-flags empty]:
29756 ($(common-objpfx)libc_pic.opts): New target.
29757 ($(common-objpfx)libc_pic.os.clean): New target.
29758 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29759
29760 * config.make.in (OBJCOPY): New variable.
29761 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29762 * configure: Regenerated.
29763
f781ef40
RM
29764 * config.make.in (use-default-link): New variable.
29765 * configure.in (use_default_link): Grok --with-default-link to set it.
29766 * configure: Regenerated.
29767 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29768 (shlib-lds, shlib-lds-flags): Define to empty.
29769
2d4fa81e
RM
29770 * Makerules (shlib-lds): New variable.
29771 (shlib-lds-flags): New variable.
29772 (build-shlib, build-moduile, build-module-asneeded): Use it.
29773 ($(common-objpfx)libc.so): Use $(shlib-lds).
29774 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29775 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29776
31fffa6b
RM
29777 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29778 DT_FLAGS/DT_FLAGS_1 with zero flags.
29779
4e34ac6a
RM
29780 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29781 linker script munging.
29782
fcfc776b
UD
297832011-07-02 Ulrich Drepper <drepper@gmail.com>
29784
29785 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29786 as 128-bit value.
29787 * crypt/sha512.c (sha512_process_block): Perform total addition using
29788 128-bit if possible.
29789 (__sha512_finish_ctx): Likewise.
29790 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29791 as 64-bit value.
29792 * crypt/sha256.c (SWAP64): Define.
29793 (sha256_process_block): Perform total addition using 64-bit if
29794 possible.
29795 (__sha256_finish_ctx): Likewise.
29796
99231d9a
UD
297972011-07-01 Ulrich Drepper <drepper@gmail.com>
29798
29799 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29801 * nscd/hstcache.c (cache_addhst): Likewise.
29802 * nscd/grpcache.c (cache_addgr): Likewise.
29803 * nscd/aicache.c (addhstaiX): Likewise
29804 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29805
445b4a53
TK
298062011-07-01 Thorsten Kukuk <kukuk@suse.de>
29807
29808 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29810 * nscd/hstcache.c (cache_addhst): Likewise.
29811 * nscd/grpcache.c (cache_addgr): Likewise.
29812 * nscd/aicache.c (addhstaiX): Likewise
29813
6d4d8e8e
AS
298142011-07-01 Andreas Schwab <schwab@redhat.com>
29815
29816 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29817 domain only when needed.
29818
89f654c5
AS
298192011-06-30 Andreas Schwab <schwab@redhat.com>
29820
29821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29822 is always restored.
29823
cf3b23ff
UD
298242011-06-29 Ulrich Drepper <drepper@gmail.com>
29825
29826 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29827 are re-adding the entry.
29828 * nscd/servicescache.c (cache_addserv): Likewise.
29829
751626f9
AJ
298302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29831
29832 * sysdeps/generic/dl-irel.h: fix protection against multiple
29833 inclusions.
29834 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29835
9113ea1f
UD
298362011-06-28 Ulrich Drepper <drepper@gmail.com>
29837
5c0b8d90
UD
29838 [BZ #12935]
29839 * malloc/memusage.sh: Fix quoting in message.
29840 * debug/xtrace.sh: Likewise.
29841
9113ea1f
UD
29842 * configure.in: Remove support for --experimental-malloc option, make
29843 it the default.
29844 * config.make.in: Likewise.
29845 * malloc/Makefile: Likewise.
29846
a4172181
AS
298472011-06-27 Andreas Schwab <schwab@redhat.com>
29848
29849 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29850 two-byte characters.
29851
78a7eee7
RM
298522011-06-27 Roland McGrath <roland@hack.frob.com>
29853
62bede13
RM
29854 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29855 AC_CACHE_CHECK invocation.
29856 * configure: Regenerated.
29857
78a7eee7
RM
29858 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29859
5ce33a62
UD
298602011-06-27 Ulrich Drepper <drepper@gmail.com>
29861
034807a9
UD
29862 [BZ #12350]
29863 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29864 bit from old_res_options.
29865
4902da17
UD
29866 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29867
5ce33a62
UD
29868 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29869 value type for setfct.
29870
c2344f56
L
298712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29872
29873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29874 __gettimeofday instead of gettimeofday.
29875
68468076
UD
298762011-06-26 Ulrich Drepper <drepper@gmail.com>
29877
29878 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29879
acb0d739
L
298802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29883
29884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29885 info.
29886
8912479f
L
298872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29888
29889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29890 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29891 strcpy-sse2-unaligned strncpy-sse2-unaligned
29892 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29893 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29894 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29895 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29896 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29899 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29900 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29901 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29902 (STRCPY): Support SSE2 and SSSE3 versions.
29903
d5495a11
UD
299042011-06-24 Ulrich Drepper <drepper@gmail.com>
29905
29906 [BZ #12874]
29907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29908 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29909 kernels which artificially limit size of requests.
29910
0b1cbaae
L
299112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29912
29913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29914 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29915 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29916 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29917 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29918 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29919 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29920 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29923 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29924 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29925 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29926 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29927 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29929 Enable unaligned load optimization for Intel Core i3, i5 and i7
29930 processors.
29931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29932 Define.
29933 (index_Fast_Unaligned_Load): Define.
29934 (HAS_FAST_UNALIGNED_LOAD): Define.
29935
07f494a0
MP
299362011-06-23 Marek Polacek <mpolacek@redhat.com>
29937
29938 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29939
fa3fc0fe
UD
299402011-06-22 Ulrich Drepper <drepper@gmail.com>
29941
29942 [BZ #12907]
29943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29944 until it is clear that the information is realy needed.
29945 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29946
e12df166
AS
299472011-06-22 Andreas Schwab <schwab@redhat.com>
29948
29949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29950
852eb34d
UD
299512011-06-22 Ulrich Drepper <drepper@gmail.com>
29952
84e2a551
UD
29953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29954 /sys/devices/system/cpu/online if it is usable.
29955
852eb34d
UD
29956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29957 reading the information from the /proc filesystem to once a second.
29958
6e502e19
UD
299592011-06-21 Andreas Jaeger <aj@suse.de>
29960
29961 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29962 NULL after inclusion of kernel headers.
29963
75d39ff2
UD
299642011-06-21 Ulrich Drepper <drepper@gmail.com>
29965
51f9aa6a
UD
29966 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29967 calls to internal_setent.
29968
c0244a9d
UD
29969 [BZ #12885]
29970 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29971 addresses using gethostbyname4_r ignore IPv4 addresses.
29972
c5e3c2ae
UD
29973 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29974 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29975
75d39ff2
UD
29976 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29977
42675c6f
DM
299782011-06-20 David S. Miller <davem@davemloft.net>
29979
29980 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29981 inclusions.
29982 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29983
29984 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29985 (elf_irel): Use it.
29986 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29987 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29988 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29989 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29990 * sysdeps/x86_64/dl-irel.h: Likewise.
29991
29992 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29993 * elf/dl-sym.c: Likewise.
29994
57912a71
UD
299952011-06-15 Ulrich Drepper <drepper@gmail.com>
29996
29997 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29998 need to dereference resplen2.
29999
ee22793d
AS
300002011-06-14 Andreas Schwab <schwab@redhat.com>
30001
30002 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30003
a9e836b0
UD
300042011-06-15 Ulrich Drepper <drepper@gmail.com>
30005
77fb9117
UD
30006 * Makeconfig: Define vardbdir and inst_vardbdir.
30007 * nss/Makefile: Add rules to install db-Makefile.
30008
40c1b22c
UD
30009 * nss/nss_db/db-XXX.c: Cleanup.
30010
9f2da732
UD
30011 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30012 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30013 GLIBC_PRIVATE.
30014 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30015 * nss/makedb.c: Implement -g option to specify that value strings
30016 are generated and should not be added to table iterated over for
30017 get*ent calls.
30018 * nss/nss_db/db-initgroups.c: New file.
30019
82e9a1f7
UD
30020 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30021 interface.
30022
c41af17e
UD
30023 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30024 (internal_getgrouplist): Adjust to name change.
30025 Update use_initgroups_entry if this is not the first call.
30026 * nss/databases.def: Add initgroups entry.
30027
a9e836b0
UD
30028 * nss/makedb.c (compute_tables): Check result of multiple hash table
30029 sizes to minimize maximum chain length.
30030
2666d441
UD
300312011-06-14 Ulrich Drepper <drepper@gmail.com>
30032
30033 * Versions.def: Add entry for libnss_db.
30034 * shlib-versions: Likewise.
30035 * nss/Makefile: Add rules to build libnss_db.
30036 * nss/Versions: Add libnss_db information. Organize libnss_files
30037 entries better.
30038 * nss/db-Makefile: Add gshadow support. Change rules for the new
30039 makedb progra. Some minor improvements to generate smaller files.
30040 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30041 here from...
30042 * nss/makedb.c: ...here.
30043 Improve database format to be smaller and require less memory at
30044 runtime.
30045 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30046 db anymore.
30047 * nss/nss_db/db-netgrp.c: Likewise.
30048 * nss/nss_db/db-open.c: Likewise.
30049 * nss/nss_files/flies-XXX.x: Adjust comments.
30050 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30051 * nss/nss_files/files-grp.c: Likewise.
30052 * nss/nss_files/files-hosts.c: Likewise.
30053 * nss/nss_files/files-network.c: Likewise.
30054 * nss/nss_files/files-proto.c: Likewise.
30055 * nss/nss_files/files-pwd.c: Likewise.
30056 * nss/nss_files/files-rpc.c: Likewise.
30057 * nss/nss_files/files-service.c: Likewise.
30058 * nss/nss_files/files-sgrp.c: Likewise.
30059 * nss/nss_files/files-spwd.c: Likewise.
30060 * nss/nss_db/db-alias.c: Removed.
30061 * nss/nss_db/dummy-db.h: Removed.
30062
9ee76b5a
UD
300632011-06-02 Ulrich Drepper <drepper@gmail.com>
30064
30065 * nss/makedb.c: Rewritten to not use database library.
30066 * nss/Makefile: Update to build new makedb program.
30067
c71ca1f8
AJ
300682011-06-14 Andreas Jaeger <aj@suse.de>
30069
30070 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30071 memset declaration.
30072
3154bfb8
UD
300732011-06-10 Andreas Schwab <schwab@redhat.com>
30074
30075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30076 tmpbuf.
30077
b350afab
RM
300782011-06-10 Roland McGrath <roland@hack.frob.com>
30079
decd4e50
RM
30080 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30081 * elf/Makefile ($(objpfx)ld.so): Likewise.
30082
5615eaf2
RM
30083 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30084 Don't list ld.so twice in dependencies.
30085
30086 * posix/bug-regex31.c: Include <stdlib.h>.
30087
30088 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30089
30090 * nis/nss_compat/compat-spwd.c
30091 (getspent_next_nss_netgr): Remove unused variable.
30092 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30093
30094 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30095 nonmembers" output to use the right array.
30096
30097 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30098
30099 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30100
30101 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30102 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30103 * catgets/gencat.c (read_input_file): Likewise.
30104 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30105
30106 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30107 variable definition inside #if's controlling its use.
30108
30109 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30110
30111 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30112
30113 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30114
30115 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30116 unreachable code.
30117
30118 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30119
b68e08db
RM
30120 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30121 * configure: Regenerated.
30122
b350afab
RM
30123 * Makerules: Revert last change.
30124 * elf/Makefile: Likewise.
30125
28368601
RM
301262011-06-09 Roland McGrath <roland@hack.frob.com>
30127
30128 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30129 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30130 (reloc-link): Likewise.
30131
11988f8f
UD
301322011-06-09 Ulrich Drepper <drepper@gmail.com>
30133
30134 * elf/Makefile: Add rules to build pldd.
30135 * elf/pldd.c: New file.
30136 * elf/pldd-xx.c: New file.
30137
e80fab37
UD
301382011-06-07 Ulrich Drepper <drepper@gmail.com>
30139
30140 * version.h: Update for 2.15 development version.
30141
9b849836
DM
301422011-06-07 David S. Miller <davem@davemloft.net>
30143
30144 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30145 ifuncs.
30146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30147 elf_machine_lazy_rel): Likewise.
30148 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30150 elf_machine_lazy_rel): Likewise.
30151 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30152 dl_hwcap via passed in argument.
30153 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30154 Likewise.
30155
5a31b283
AK
301562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30157
30158 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30159
069e52f8
RM
301602011-06-06 Roland McGrath <roland@hack.frob.com>
30161
30162 [BZ #12849]
30163 * manual/fdl-1.1.texi: New file, verbatim from:
30164 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30165 * manual/lgpl-2.1.texi: New file, verbatim from:
30166 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30167 * manual/Makefile (licenses): New variable, list those new file names.
30168 (texis): Use it.
30169 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30170
30171 * manual/fdl.texi: File removed.
30172 * manual/lesser.texi: File removed.
30173 * manual/libc.texinfo (Copying, Documentation License):
30174 Use new @include file names, put @appendix directive before @include.
30175
f16846a5
JJ
301762011-06-04 Jakub Jelinek <jakub@redhat.com>
30177
30178 [BZ #12841]
30179 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30180 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30181 (mq_open): Add __NTH.
30182
3d29045b
L
301832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30184
30185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30186 Assume Intel Core i3/i5/i7 processor if AVX is available.
30187
8c297311
UD
301882011-05-31 Ulrich Drepper <drepper@gmail.com>
30189
30190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30191 typo.
30192
c8fc0c91
UD
301932011-05-31 Andreas Schwab <schwab@redhat.com>
30194
30195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30196 memory. Use alloca_account. Fix memory leak when retrying.
30197
5b27a807
UD
301982011-05-31 Ulrich Drepper <drepper@gmail.com>
30199
356f8bc6
UD
30200 * version.h (RELEASE): Bump for 2.14 release.
30201 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30202
5b27a807
UD
30203 * config.make.in (RANLIB): Remove entry.
30204
01f16ab0
UD
302052011-05-30 Ulrich Drepper <drepper@gmail.com>
30206
41fce8bd
UD
30207 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30208 (libc.pot): Work around missing support for .ksh extension in xgettext.
30209
4769ae77
UD
30210 [BZ #12684]
30211 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30212 if both request failed.
30213 (send_dg): In case of server errors clear resplen or *resplen2.
30214
6b1e7d19
UD
30215 [BZ #12454]
30216 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30217 when there are multiple maps.
30218 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30219 (_dl_fini): Remove test here.
30220
01f16ab0
UD
30221 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30222
b1ebd700
UD
302232011-05-29 Ulrich Drepper <drepper@gmail.com>
30224
7ae22829
UD
30225 [BZ #12350]
30226 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30227 bit from old_res_options.
30228 (gaih_inet): Likewise.
30229
553149f6 30230 [BZ #11099]
18a84741 30231 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30232 as signed.
30233
652ffab1
UD
30234 * resolv/res_init.c (res_setoptions): Make the code more compact.
30235
16985fd0
UD
30236 [BZ #11558]
30237 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30238 set RES_USEVC.
30239
0464f746
UD
30240 [BZ #11634]
30241 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30242
7d17596c
UD
30243 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30244
cf6bbbd7
UD
30245 [BZ #11781]
30246 * malloc/malloc.h: Declare malloc hook variables as volatile.
30247
13f1ab36
UD
30248 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30249 in last patch.
30250
b1ebd700
UD
30251 [BZ #11799]
30252 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30253 raise in the comment.
80e2212d
UD
30254 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30256 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30257
ce67228d
UD
302582011-05-28 Ulrich Drepper <drepper@gmail.com>
30259
8887a920
UD
30260 [BZ #12811]
30261 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30262 grow the buffers more if it already has to be sufficient.
30263 (build_wcs_upper_buffer): Likewise.
30264 * posix/regexec.c (check_matching): Likewise.
30265 (clean_state_log_if_needed): Likewise.
30266 (extend_buffers): Don't enlarge buffers beyond size of the input
30267 buffer.
30268 Patches mostly by Emil Wojak <emil@wojak.eu>.
30269 * posix/bug-regex32.c: New file.
30270 * posix/Makefile (tests): Add bug-regex32.
30271
4f031072
UD
30272 * locale/findlocale.c (_nl_find_locale): Return right away if
30273 _nl_explode_name failed.
30274 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30275
d0478f0c
UD
30276 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30277
de81b246
UD
30278 * debug/xtrace.sh: Unify messages.
30279 * malloc/memusage.sh: Likewise.
30280
c738465a
UD
30281 [BZ #12813]
30282 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30283 time symbol from vDSO. Substitute with vsyscall if not available.
30284 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30285 __vdso_time.
30286
f1f929d7
UD
30287 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30288 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30289 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30290 Add sendmmsg and internal_sendmmsg.
30291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30292 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30294
ce67228d
UD
30295 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30296 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30298
e57420c6
UD
302992011-05-27 Ulrich Drepper <drepper@gmail.com>
30300
a8509ca5
UD
30301 [BZ #12813]
30302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30303 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30304 available.
30305 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30306 __vdso_getcpu.
30307
e57420c6
UD
30308 [BZ #12814]
30309 * iconvdata/Makefile (tests): Add bug-iconv9.
30310 * iconvdata/bug-iconv9.c: New file.
30311
4d07db15
AS
303122011-05-27 Andreas Schwab <schwab@redhat.com>
30313
30314 [BZ #12814]
30315 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30316
ea486f69
JJ
303172011-05-25 Jakub Jelinek <jakub@redhat.com>
30318
30319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30320 (struct user_regs_struct): Change intcs field back to cs.
30321
6f038433
UD
303222011-05-25 Ulrich Drepper <drepper@gmail.com>
30323
30324 * po/ja.po: Update from translation team.
30325
67f86a25
UD
303262011-05-23 Ulrich Drepper <drepper@gmail.com>
30327
30328 [BZ #12795]
30329 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30330 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30331
def7fbd6
AS
303322011-05-20 Andreas Schwab <schwab@redhat.com>
30333
30334 * stdlib/longlong.h: Update from GCC.
30335
f50ef8f1
AS
303362011-05-23 Andreas Schwab <schwab@redhat.com>
30337
30338 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30339 parameter name.
30340 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30341 Add parameter name.
30342 (__sysconf): Pass it down.
30343
de7ce8f1
UD
303442011-05-22 Ulrich Drepper <drepper@gmail.com>
30345
f2962a71
UD
30346 [BZ #12671]
30347 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30348 some situations.
30349 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30350 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30351 add in in __libc_use_alloca calls. Adjust callers.
30352 (glob): Use malloc in some situations.
30353
de7ce8f1
UD
30354 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30355 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30356 pltexit.
30357
aec84f53
UD
303582011-05-21 Ulrich Drepper <drepper@gmail.com>
30359
05bb4a68
UD
30360 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30361 and CLOCK_BOOTTIME_ALARM.
30362
7ea72f99
UD
30363 [BZ #12782]
30364 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30365 is returned.
30366
7e4afad5
UD
30367 * string/_strerror.c (__strerror_r): Print negative errors as signed
30368 numbers.
30369
8e211fec
UD
30370 [BZ #12777]
30371 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30372 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30373 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30374
f7d82dc9
UD
30375 * configure.in: Fix typo in redirection and correct removal of test
30376 files in two cases.
30377
cc9e536d
UD
30378 [BZ #12788]
30379 * locale/setlocale.c (new_composite_name): Fix test to check for
30380 identical name of all categories.
30381
aec84f53
UD
30382 [BZ #12792]
30383 * libio/filedoalloc.c (local_isatty): New function.
30384 (_IO_file_doallocate): Use local_isatty.
30385 * stdio-common/perror.c (perror): In case a new stream is used
30386 forward the stream error.
30387 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30388 error flag.
30389
78e64fdc
RT
303902011-05-20 Ulrich Drepper <drepper@gmail.com>
30391
34a9094f
UD
30392 [BZ #11869]
30393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30394 alloca.
30395 * include/alloca.h (extend_alloca_account): Define.
30396
78e64fdc
RT
30397 [BZ #11857]
30398 * posix/regex.h: Fix comments with documentation of user-accessible
30399 fields after compilation and describe correct free'ing of pattern
30400 after re_compile_pattern.
30401 Patch by Reuben Thomas <rrt@sc3d.org>.
30402
457bddfc
RA
304032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30404
30405 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30406 and -mno-altivec to prevent the compiler from using Altivec and/or
30407 VSX instructions when the corresponding registers are not available.
30408
a4527b51
AS
304092011-05-19 Andreas Schwab <schwab@redhat.com>
30410
30411 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30412
ed690b2f
UD
304132011-05-19 Ulrich Drepper <drepper@gmail.com>
30414
30415 * libio/freopen.c (freopen): Use __dup2, not dup2.
30416 * libio/freopen64.c (freopen64): Likewise.
30417
8db73634
L
304182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30419
30420 [BZ #12775]
30421 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30422 * math/Makefile (tests): Add test-powl.
30423 (CFLAGS-test-powl.c): Define.
30424 * math/test-powl.c: New file.
30425
0a197a9d
L
304262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30429
ee30c380
UD
304302011-05-17 Ulrich Drepper <drepper@gmail.com>
30431
30432 [BZ #11837]
30433 * iconvdata/gb18030.c: Update to GB18020-2005.
30434
6ce75379
UD
304352011-05-16 Ulrich Drepper <drepper@gmail.com>
30436
a4b89fd8
AR
30437 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30438 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30439 Patch by Aharon Robbins <arnold@skeeve.com>.
30440
ea389b12
UD
30441 [BZ #11892]
30442 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30443 on the stack.
30444
68a3f91f
UD
30445 [BZ #11895]
30446 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30447 through underflows.
30448
15cc7dd1
UD
30449 [BZ #12766]
30450 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30451 point to strings before performing equality test for error_one_per_line
30452 mode.
30453
f3799213
UD
30454 [BZ #11697]
30455 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30456
d79a9c94
UD
30457 [BZ #11820]
30458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30459 (struct user_fpregs_struct): Avoid __uint*_t types.
30460
56e5eb46
UD
30461 [BZ #6420]
30462 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30463 symbol info. Use it instead of calling _dl_addr locally.
30464 (lock_and_info): New function.
30465 (tr_freehook): Call lock_and_info and pass symbol info as additional
30466 parameter to tr_where.
30467 (tr_mallochook): Likewise.
30468 (tr_reallochook): Likewise.
30469 (tr_memalignhook): Likewise.
30470
6ce75379
UD
30471 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30472 used and couldn't be at all thread-safe.
30473
f8a3b5bf
UD
304742011-05-15 Ulrich Drepper <drepper@gmail.com>
30475
94b7cc37
UD
30476 * libio/freopen.c (freopen): Don't close old file descriptor
30477 before the new one is opened. Instead dup the new file descriptor
30478 to the old one after the new stream is created.
30479 * libio/freopen64.c (freopen64): Likewise.
30480 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30481 * libio/fileops.c (_IO_new_file_close_it): Handle new
30482 _IO_FLAGS2_NOCLOSE flag.
30483 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30484 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30485 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30486 _IO_FLAGS2_NOCLOSE flag.
30487 * include/unistd.h: Add hidden_proto for dup3.
30488 Define __have_dup3.
30489 * io/dup3.c: Define hidden symbol.
30490 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30491
bd25564e
UD
30492 [BZ #7101]
30493 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30494 when an incomplete long option is used.
30495 * posix/tst-getopt_long1.c: New file.
30496 * posix/Makefile (tests): Add tst-getopt_long1.
30497
c84cfef4
UD
30498 [BZ #10138]
30499 * scripts/config.guess: Update from autoconf-2.68.
30500 * scripts/config.sub: Likewise.
30501
3b85df27
UD
30502 [BZ #10157]
30503 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30504 tests into ...
30505 (has_cpuclock): ...this. New function.
30506 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30507 macro here based on has_cpuclock code.
30508
15a856b1
UD
30509 [BZ #10149]
30510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30511 First byte (not low byte) is now always NUL.
30512 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30513
05f399e6
UD
30514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30515 Use non-cancelable interfaces.
30516
10a52685 30517 [BZ #9809]
94ecc67d
UD
30518 * locale/iso-639.def: Add entry for Sorani.
30519
f8a3b5bf
UD
30520 [BZ #11901]
30521 * include/stdlib.h: Move include protection to the right place.
30522 Define abort_msg_s. Declare __abort_msg with it.
30523 * stdlib/abort.c (__abort_msg): Adjust type.
30524 * assert/assert.c (__assert_fail_base): New function. Majority
30525 of code from __assert_fail. Allocate memory for __abort_msg with
30526 mmap.
30527 (__assert_fail): Now call __assert_fail_base.
30528 * assert/assert-perr.c: Remove bulk of implementation. Use
30529 __assert_fail_base.
30530 * include/assert.hL Declare __assert_fail_base.
30531 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30532 mmap.
30533 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30534
1af4e298
UD
305352011-05-14 Ulrich Drepper <drepper@gmail.com>
30536
f8a3b5bf 30537 [BZ #11952]
d26dfc60
MG
30538 [BZ #12453]
30539 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30540 until all modules are registered in the DTV.
30541 * elf/Makefile: Add rules to build and run tst-tls19.
30542 * elf/tst-tls19.c: New file.
30543 * elf/tst-tls19mod1.c: New file.
30544 * elf/tst-tls19mod2.c: New file.
30545 * elf/tst-tls19mod3.c: New file.
30546 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30547
2fc54d6f
UD
30548 [BZ #12083]
30549 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30550 correctly.
30551
98d76b46
UD
30552 [BZ #12601]
30553 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30554 two-byte sequence errors.
30555 * iconvdata/Makefile (tests): Add bug-iconv8.
30556 * iconvdata/bug-iconv8.c: New file.
30557
da3c19ef
UD
30558 [BZ #12626]
30559 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30560 buf2 definition.
30561
ca408c15
UD
30562 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30563
d6f67f7d
UD
30564 [BZ #12432]
30565 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30566 (dummy_getcfa): New function.
30567 (init): Get _Unwind_GetCFA address, use dummy if not found.
30568 (backtrace_helper): In recursion check, also check whether CFA changes.
30569 (__backtrace): Completely initialize arg.
30570
1af4e298 30571 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30572 storing incomplete byte sequence in state object. Avoid testing for
30573 guaranteed too small input if we know there is enough data available.
1af4e298 30574
da62f81b
AS
305752011-05-11 Andreas Schwab <schwab@redhat.com>
30576
30577 * Makeconfig (+link-pie): Indent.
30578 * Rules (binaries-pie): Define if $(have-fpie) and
30579 $(build-shared).
30580 (binaries-shared): Also filter out $(binaries-pie).
30581 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30582 * nscd/Makefile (others-pie): Add nscd.
30583 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30584 ($(objpfx)nscd): Remove command override.
30585 * login/Makefile (others-pie): Add pt_chown.
30586 ($(objpfx)pt_chown): Remove command override.
30587 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30588 remove command overrides.
30589
fcabc0f8
UD
305902011-05-13 Ulrich Drepper <drepper@gmail.com>
30591
20030ae6
UD
30592 * libio/tst_putwc.c: Fix error messages.
30593
fcabc0f8
UD
30594 [BZ #12724]
30595 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30596 currently writing and seek to current position when not.
30597 * libio/Makefile (tests): Add bug-fclose1.
30598 * libio/bug-fclose1.c: New file.
30599
320a5dc0
PB
306002011-05-12 Ulrich Drepper <drepper@gmail.com>
30601
30602 [BZ #12511]
30603 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30604 don't set DF_1_NODELETE here.
30605 (do_lookup_x): When entering new entry test for copy relocation
30606 and if necessary set DF_1_NODELETE flag.
30607 * elf/tst-unique4.cc: New file.
30608 * elf/tst-unique4.h: New file.
30609 * elf/tst-unique4lib.cc: New file.
30610 * elf/Makefile: Add rules to build and run tst-unique4.
30611 Patch by Piotr Bury <pbury@goahead.com>.
30612
22836f52
UD
306132011-05-11 Ulrich Drepper <drepper@gmail.com>
30614
f574184a
UD
30615 [BZ #12052]
30616 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30617
e1fb097f
UD
30618 [BZ #12625]
30619 * misc/mntent_r.c (addmntent): Flush the stream after the output
30620
22836f52
UD
30621 [BZ #12393]
30622 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30623 (is_trusted_path_normalize): Skip initial colon. Append slash
30624 to empty buffer. Duplicate is_trusted_path code but allow
30625 constructed patch to be prefix.
30626 (is_dst): Allow $ORIGIN followed by /.
30627 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30628 Correct testing of result of is_trusted_path_normalize
30629 (decompose_rpath): Fix warning.
30630
7b3b0b2a
UD
306312011-05-10 Ulrich Drepper <drepper@gmail.com>
30632
30633 [BZ #11257]
30634 * grp/initgroups.c (internal_getgrouplist): When we found the service
30635 list through the initgroups entry in nsswitch.conf do not always
30636 continue on a successful lookup. Don't always use the
eac80ce2 30637 __nss_group_database value if it is set.
7b3b0b2a
UD
30638 * nss/nsswitch.conf (initgroups): Change action for successful db
30639 lookup to continue for compatibility.
30640
2a81eaa5
UD
306412011-05-09 Ulrich Drepper <drepper@gmail.com>
30642
be97a69e
UD
30643 [BZ #11532]
30644 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30645 and CP774 modules.
30646 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30647 and CP774 modules.
30648 * iconvdata/tst-tables.sh: Likewise.
30649 * iconvdata/cp770.c: New file.
30650 * iconvdata/cp771.c: New file.
30651 * iconvdata/cp772.c: New file.
30652 * iconvdata/cp773.c: New file.
30653 * iconvdata/cp774.c: New file.
30654 * iconvdata/testdata/CP770: New file.
30655 * iconvdata/testdata/CP770..UTF8: New file.
30656 * iconvdata/testdata/CP771: New file.
30657 * iconvdata/testdata/CP771..UTF8: New file.
30658 * iconvdata/testdata/CP772: New file.
30659 * iconvdata/testdata/CP772..UTF8: New file.
30660 * iconvdata/testdata/CP773: New file.
30661 * iconvdata/testdata/CP773..UTF8: New file.
30662 * iconvdata/testdata/CP774: New file.
30663 * iconvdata/testdata/CP774..UTF8: New file.
30664
30665 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30666 END CHARMAP line.
30667 * iconvdata/gen-8bit-gap.sh: Likewise.
30668 * iconvdata/gen-8bit.sh: Likewise.
30669
c1e9e399
UD
30670 * locale/iso-639.def: Add ary entry.
30671
24c55fb3 30672 [BZ #11258]
96b4b1b0
UD
30673 * locale/C-translit.h.in: Add U20A1 transliteration.
30674
bdc2f971
KB
30675 [BZ #12178]
30676 * locale/iso-639.def: Add wae entry.
30677 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30678
2952b117
UD
30679 [BZ #12545]
30680 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30681 for n.
30682
2a81eaa5
UD
30683 [BZ #12711]
30684 * locale/C-translit.h.in: Add entry for U20B9.
30685 Patch by pravin.d.s@gmail.com.
30686
28377d1b
UD
306872011-05-08 Ulrich Drepper <drepper@gmail.com>
30688
7fb90fb8
UD
30689 [BZ #12713]
30690 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30691 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30692 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30693 in rtld. Use *stat64.
7fb90fb8 30694 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30695 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30696 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30697 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30698 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30699 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30700 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30701 __fstatat64 macros.
7fb90fb8
UD
30702 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30703 * dirent/rewinddir.c: Add libc_hidden_def.
30704 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30705 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30706
28377d1b
UD
30707 * include/dirent.h (__alloc_dir): Add flags parameter.
30708 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30709 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30710 __alloc_dir.
30711 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30712 from fdopendir if O_CLOEXEC is already set.
30713
66bdbaa4
AM
307142011-03-15 Alan Modra <amodra@gmail.com>
30715
30716 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30717 l_tls_firstbyte_offset non-zero. Save padding offset in
30718 l_tls_firstbyte_offset for later use.
30719 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30720 freeing static tls block.
30721
95721191
JN
307222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30723
30724 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30725 where #ifdef was intended. The intent is to prevent ARG_MAX from
30726 being defined by the kernel headers.
30727
f87dfb1f
UD
307282011-05-07 Ulrich Drepper <drepper@gmail.com>
30729
30730 [BZ #12734]
30731 * resolv/resolv.h: Define RES_NOTLDQUERY.
30732 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30733 no-tld-query and set RES_NOTLDQUERY.
30734 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30735 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30736 modern BIND to search name as TLD unless forbidden.
30737
47c3cd7a
UD
307382011-05-07 Petr Baudis <pasky@suse.cz>
30739 Ulrich Drepper <drepper@gmail.com>
30740
30741 [BZ #12393]
30742 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30743 (is_trusted_path): ...to here.
c1e9ea35 30744 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30745 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30746 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30747
8a35c912
PP
307482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30749
30750 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30751 __BEGIN/__END_DECLS.
30752
acd41f47
UD
307532011-05-06 Ulrich Drepper <drepper@gmail.com>
30754
30755 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30756 NSS_STATUS_NOTFOUND if no record was found.
30757
597df647
AS
307582011-05-05 Andreas Schwab <schwab@redhat.com>
30759
30760 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30761 (headers-not-in-tirpc): Remove rpc/netdb.h
30762 * resolv/netdb.h: Revert last change.
30763
b9af1301
PP
307642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30765
30766 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30767 circular dependency between libgcc.a and libc.a.
30768
4e34d5f5
AS
307692011-05-05 Andreas Schwab <schwab@redhat.com>
30770
30771 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30772 * nis/Makefile: Don't install rpcsvc/*.
30773 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30774 instead of <rpc/types.h>.
30775 (MAXHOSTNAMELEN): Define.
30776
00ee369c
AS
307772011-05-03 Andreas Schwab <schwab@redhat.com>
30778
30779 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30780
0b592a30
MB
307812011-04-28 Maciej Babinski <mbabinski@google.com>
30782
30783 [BZ #12714]
30784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30785 gethostbyname4_r when IPv6 results are possible.
30786
6e04cbbe
UD
307872011-05-02 Ulrich Drepper <drepper@gmail.com>
30788
30789 [BZ #12723]
30790 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30791 _PC_PIPE_BUF handling.
30792
e4ecafe0
BH
307932011-04-30 Bruno Haible <bruno@clisp.org>
30794
30795 [BZ #12717]
30796 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30797 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30798 to 'int'.
30799 * inet/getnameinfo.c (getnameinfo): Likewise.
30800
125ee683
UD
308012011-04-29 Ulrich Drepper <drepper@gmail.com>
30802
30803 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30804 to groups setting in database lookup.
30805 * nss/nsswitch.conf: Add initgroups entry.
30806
b722481a
EB
308072011-04-22 Ulrich Drepper <drepper@gmail.com>
30808
30809 [BZ #12685]
30810 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30811 mode string.
30812 Patch by Eric Blake <eblake@redhat.com>.
30813
4df46dbd
L
308142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 * sunrpc/Makefile (need-export-routines): Add svc_run.
30817 (routines): Remove svc_run.
30818 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30819 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30820 * sunrpc/svc_run.c (svc_run): Likewise.
30821 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30822
e84142d2
UD
308232011-04-21 Ulrich Drepper <drepper@gmail.com>
30824
30825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30826 problem in reallocation in last patch.
30827
877175d8
UD
308282011-04-20 Ulrich Drepper <drepper@gmail.com>
30829
30830 * sunrpc/Makefile: Move inclusion of Rules.
30831
ab8eed78
UD
308322011-04-19 Ulrich Drepper <drepper@gmail.com>
30833
30834 * nss/nss_files/files-initgroups.c: New file.
30835 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30836 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30837 _nss_files_initgroups_dyn.
30838
e3d8f584
RS
308392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30840
30841 * elf/elf.h (R_ARM_IRELATIVE): Define.
30842
af190f45
UD
308432011-04-19 Ulrich Drepper <drepper@gmail.com>
30844
30845 * po/ru.po: Update from translation team.
30846
53cf59ef
UD
308472011-04-17 Ulrich Drepper <drepper@gmail.com>
30848
30849 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30850 dependencies.
30851
4c559bcd
MF
308522011-02-06 Mike Frysinger <vapier@gentoo.org>
30853
30854 [BZ #12653]
30855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30856 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30860
4420675c
AS
308612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30862
30863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30864 differing bytes.
30865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30868
75ea32ab
UD
308692011-04-17 Ulrich Drepper <drepper@gmail.com>
30870
30871 [BZ #12420]
30872 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30873 storing it.
30874 * stdlib/bug-getcontext.c: New file.
30875 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30876
27390476
AK
308772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30878
30879 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30880 instructions into .machine "z9-109".
30881 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30882 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30883
10442705
AK
308842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30885
30886 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30887 between environment variables and auxiliary vector.
30888
7b57bfe5
UD
308892011-04-16 Ulrich Drepper <drepper@gmail.com>
30890
30891 * Makefile: Add rules to build linkobj/libc.so.
30892 * include/libc-symbols.h: Define libc_hidden_nolink.
30893 * include/rpc/auth.h: Mark functions which are to be hidden.
30894 * include/rpc/auth_des.h: Likewise.
30895 * include/rpc/auth_unix.h: Likewise.
30896 * include/rpc/clnt.h: Likewise.
30897 * include/rpc/des_crypt.h: Likewise.
30898 * include/rpc/key_prot.h: Likewise.
30899 * include/rpc/pmap_clnt.h: Likewise.
30900 * include/rpc/pmap_prot.h: Likewise.
30901 * include/rpc/pmap_rmt.h: Likewise.
30902 * include/rpc/rpc_msg.h: Likewise.
30903 * include/rpc/svc.h: Likewise.
30904 * include/rpc/svc_auth.h: Likewise.
30905 * include/rpc/xdr.h: Likewise.
30906 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30907 * nss/Makefile: Likewise.
30908 * sunrpc/Makefile: Don't install headers. Build library with normal
30909 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30910 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30911 for the compat linking library. Remove use of INTDEF/INTUSE.
30912 * sunrpc/auth_none.c: Likewise.
30913 * sunrpc/auth_unix.c: Likewise.
30914 * sunrpc/authdes_prot.c: Likewise.
30915 * sunrpc/authuxprot.c: Likewise.
30916 * sunrpc/clnt_gen.c: Likewise.
30917 * sunrpc/clnt_perr.c: Likewise.
30918 * sunrpc/clnt_raw.c: Likewise.
30919 * sunrpc/clnt_simp.c: Likewise.
30920 * sunrpc/clnt_tcp.c: Likewise.
30921 * sunrpc/clnt_udp.c: Likewise.
30922 * sunrpc/clnt_unix.c: Likewise.
30923 * sunrpc/des_crypt.c: Likewise.
30924 * sunrpc/des_soft.c: Likewise.
30925 * sunrpc/get_myaddr.c: Likewise.
30926 * sunrpc/key_call.c: Likewise.
30927 * sunrpc/key_prot.c: Likewise.
30928 * sunrpc/netname.c: Likewise.
30929 * sunrpc/pm_getmaps.c: Likewise.
30930 * sunrpc/pm_getport.c: Likewise.
30931 * sunrpc/pmap_clnt.c: Likewise.
30932 * sunrpc/pmap_prot.c: Likewise.
30933 * sunrpc/pmap_prot2.c: Likewise.
30934 * sunrpc/pmap_rmt.c: Likewise.
30935 * sunrpc/publickey.c: Likewise.
30936 * sunrpc/rpc_cmsg.c: Likewise.
30937 * sunrpc/rpc_common.c: Likewise.
30938 * sunrpc/rpc_dtable.c: Likewise.
30939 * sunrpc/rpc_prot.c: Likewise.
30940 * sunrpc/rpc_thread.c: Likewise.
30941 * sunrpc/rtime.c: Likewise.
30942 * sunrpc/svc.c: Likewise.
30943 * sunrpc/svc_auth.c: Likewise.
30944 * sunrpc/svc_authux.c: Likewise.
30945 * sunrpc/svc_raw.c: Likewise.
30946 * sunrpc/svc_run.c: Likewise.
30947 * sunrpc/svc_simple.c: Likewise.
30948 * sunrpc/svc_tcp.c: Likewise.
30949 * sunrpc/svc_udp.c: Likewise.
30950 * sunrpc/svc_unix.c: Likewise.
30951 * sunrpc/svcauth_des.c: Likewise.
30952 * sunrpc/xcrypt.c: Likewise.
30953 * sunrpc/xdr.c: Likewise.
30954 * sunrpc/xdr_array.c: Likewise.
30955 * sunrpc/xdr_float.c: Likewise.
30956 * sunrpc/xdr_intXX_t.c: Likewise.
30957 * sunrpc/xdr_mem.c: Likewise.
30958 * sunrpc/xdr_rec.c: Likewise.
30959 * sunrpc/xdr_ref.c: Likewise.
30960 * sunrpc/xdr_sizeof.c: Likewise.
30961 * sunrpc/xdr_stdio.c: Likewise.
30962
e6c61494
UD
309632011-04-10 Ulrich Drepper <drepper@gmail.com>
30964
30965 [BZ #12650]
30966 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30967 * sysdeps/ia64/dl-tls.h: Likewise.
30968 * sysdeps/powerpc/dl-tls.h: Likewise.
30969 * sysdeps/s390/dl-tls.h: Likewise.
30970 * sysdeps/sh/dl-tls.h: Likewise.
30971 * sysdeps/sparc/dl-tls.h: Likewise.
30972 * sysdeps/x86_64/dl-tls.h: Likewise.
30973 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30974
34fe483e
AS
309752011-03-14 Andreas Schwab <schwab@redhat.com>
30976
30977 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30978 rpath element also skip the following colon.
30979 (expand_dynamic_string_token): Add is_path parameter and pass
30980 down to DL_DST_REQUIRED and _dl_dst_substitute.
30981 (decompose_rpath): Call expand_dynamic_string_token with
30982 non-zero is_path. Ignore empty rpaths.
30983 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30984 with zero is_path.
30985
f12a32e6
AS
309862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30987
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30989 Make cancelable.
30990
38a7d692
UD
309912011-04-09 Ulrich Drepper <drepper@gmail.com>
30992
30993 [BZ #12655]
30994 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30995 Patch by Filipe David Manana <fdmanana@apache.org>.
30996
e451d22b
AS
309972011-04-07 Andreas Schwab <schwab@redhat.com>
30998
30999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31000 Maintain aligned stack.
31001 (CHECK_RSP): Remove unused macro.
31002
dedc7c7b
UD
310032011-04-03 Ulrich Drepper <drepper@gmail.com>
31004
31005 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31006 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31007
94521213
UD
310082011-04-02 Ulrich Drepper <drepper@gmail.com>
31009
31010 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31011
8cb700c0 31012 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31013
0354e355
L
310142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 [BZ #12518]
31017 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31018 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31019 * sysdeps/x86_64/memmove.c: New file.
31020 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31021 (memcpy): Renamed to ...
31022 (__new_memcpy): This.
31023 (memcpy): Provide GLIBC_2_14 memcpy.
31024 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31025 (memcpy): Provide GLIBC_2_2_5 memcpy.
31026
8593482f
UD
310272011-04-01 Ulrich Drepper <drepper@gmail.com>
31028
31029 [BZ #12631]
31030 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31031
81a5726b
AS
310322011-03-30 Andreas Schwab <schwab@redhat.com>
31033
31034 * misc/syncfs.c: New file.
31035 * misc/Makefile (routines): Add syncfs.
31036 * posix/unistd.h: Declare syncfs.
31037 * sysdeps/unix/syscalls.list: Add syncfs.
31038
00e5419f
AS
310392011-04-01 Andreas Schwab <schwab@redhat.com>
31040
31041 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31042 open_by_handle_at.
31043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31044 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31048 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31050
748876bf
UD
310512011-04-01 Ulrich Drepper <drepper@gmail.com>
31052
658e451d
UD
31053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31057 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31060
748876bf
UD
31061 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31062 sync_file_range.c with -fexceptions.
31063 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31064 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31065 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31066 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31067 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31068 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31069 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31070 sync_file_range as cancellation point
31071 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31072 now a wrapper around __call_sync_file_range with cancellation handling.
31073 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31074 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31075 function name to __call_sync_file_range.
31076 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31077 Add call_sync_file_range.
748876bf 31078
6e63d5e1
AS
310792011-04-01 Andreas Schwab <schwab@redhat.com>
31080
31081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31082 bits/timex.h.
6e63d5e1 31083
46998f74
UD
310842011-04-01 Ulrich Drepper <drepper@gmail.com>
31085
4c1423ed
UD
31086 * iconv/iconv.h: Fix typo in comment.
31087 * io/fcntl.h: Likewise.
31088 * libio/stdio.h: Likewise.
31089 * posix/spawn.h: Likewise.
31090 * posix/unistd.h: Likewise.
31091 * stdlib/stdlib.h: Likewise.
31092 * time/time.h: Likewise.
31093 * wcsmbs/wchar.h: Likewise.
31094
158648c0
UD
31095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31096 open_by_handle): Add.
31097 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31098 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31099 Augment a few comments.
31100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31105 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31106 open_by_handle.
31107
46998f74
UD
31108 * io/fcntl.h (AT_EMPTY_PATH): Define.
31109
83fe108b
UD
311102011-03-30 Ulrich Drepper <drepper@gmail.com>
31111
31112 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31113 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31114 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31115 to...
31116 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31117 * Versions.def: Add GLIBC_2.14.
31118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31119 Export.
83fe108b 31120
bb242059
UD
311212011-03-22 Ulrich Drepper <drepper@gmail.com>
31122
31123 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31124 round counter.
31125 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31126
c97a1282
L
311272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31128
31129 [BZ #12597]
31130 * string/test-strncmp.c (do_page_test): New function.
31131 (check2): Likewise.
31132 (test_main): Call check2.
31133 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31134
2a115601
UD
311352011-03-20 Ulrich Drepper <drepper@gmail.com>
31136
31137 [BZ #12587]
31138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31139 Handle cache information in CPU leaf 4.
31140 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31141
8126d904
UD
311422011-03-18 Ulrich Drepper <drepper@gmail.com>
31143
042c49c6 31144 [BZ #12583]
8126d904
UD
31145 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31146 character representation.
31147 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31148
ccfe366e
RA
311492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31150
31151 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31152 END(__isnan) to END(__isnanf) to match function entry point/label
31153 EALIGN(__isnanf,...).
31154
c6e13027
JJ
311552011-03-10 Jakub Jelinek <jakub@redhat.com>
31156
31157 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31158
33f85a3f
UD
311592011-03-10 Ulrich Drepper <drepper@gmail.com>
31160
028478fa
UD
31161 [BZ #12510]
31162 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31163 copy from the symbol referenced in the relocation to initialize the
31164 used variable.
31165 Patch by Piotr Bury <pbury@goahead.com>.
31166 * elf/Makefile: Add rules to build and tst-unique3.
31167 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31168 * elf/tst-unique3.cc: New file.
31169 * elf/tst-unique3.h: New file.
31170 * elf/tst-unique3lib.cc: New file.
31171 * elf/tst-unique3lib2.cc: New file.
31172
33f85a3f
UD
31173 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31174
03592fc7
MF
311752011-03-10 Mike Frysinger <vapier@gentoo.org>
31176
31177 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31178 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31179 to _start.
03592fc7 31180
6a5ee102
UD
311812011-03-06 Ulrich Drepper <drepper@gmail.com>
31182
31183 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31184 to-be-loaded object along a path to loader is ld.so.
31185
7e4ba49c
HJ
311862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31187 Ulrich Drepper <drepper@gmail.com>
31188
31189 * sysdeps/x86_64/memset.S: After aligning destination, code
31190 branches to different locations depending on the value of
31191 misalignment, when multiarch is enabled. Fix this.
31192
311932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31194
31195 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31196 Set _x86_64_preferred_memory_instruction for AMD processsors.
31197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31198 Set bit_Prefer_SSE_for_memop for AMD processors.
31199
13a804de
UD
312002011-03-04 Ulrich Drepper <drepper@gmail.com>
31201
31202 * libio/fmemopen.c (fmemopen): Optimize a bit.
31203
9d25c392
AS
312042011-03-03 Andreas Schwab <schwab@redhat.com>
31205
31206 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31207
a5543c6a
RM
312082011-03-03 Roland McGrath <roland@redhat.com>
31209
31210 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31211
012d35f7
DM
312122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31213
7e4ba49c 31214 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31215 __bzero_ultra1 instead of __memset_ultra1.
31216
4bff6e01
AS
312172011-02-23 Andreas Schwab <schwab@redhat.com>
31218 Ulrich Drepper <drepper@gmail.com>
31219
31220 [BZ #12509]
31221 * include/link.h (struct link_map): Add l_orig_initfini.
31222 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31223 returning unsuccessfully.
31224 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31225 close of a file loaded at startup, restore the original l_initfini
31226 list.
31227 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31228 list, store the pointer.
31229 * elf/Makefile ($(objpfx)noload-mem): New rule.
31230 (noload-ENV): Define.
31231 (tests): Add $(objpfx)noload-mem.
31232 * elf/noload.c: Include <memcheck.h>.
31233 (main): Call mtrace. Close all opened handles.
31234
f2092faf
AS
312352011-02-17 Andreas Schwab <schwab@redhat.com>
31236
31237 [BZ #12454]
31238 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31239 dependencies are missing.
31240
6c8a2e88
ST
312412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31242
f2092faf 31243 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31244 Hurd needs munmap.
31245 * sysdeps/mach/hurd/ifreq.h: New file.
31246
84a42118
PB
312472011-01-27 Petr Baudis <pasky@suse.cz>
31248 Ulrich Drepper <drepper@gmail.com>
31249
071f805e 31250 [BZ 12445]#
84a42118
PB
31251 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31252 to extend_alloca().
31253 * stdio-common/bug23.c: New file.
31254 * stdio-common/Makefile (tests): Add bug23.
31255
e23fe25b
AS
312562010-09-28 Andreas Schwab <schwab@redhat.com>
31257 Ulrich Drepper <drepper@gmail.com>
31258
31259 [BZ #12489]
31260 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31261 before performing relro protection. At old place add assertion
31262 to make sure nothing changed.
31263
d3f02e10
NS
312642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31265 Glauber de Oliveira Costa <glommer@gmail.com>
31266
31267 * elf/elf.h: Add new ARM TLS relocs.
31268
d55fd7a5
RA
312692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31270
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31272 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31273 cast from r3.
31274 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31275 'tests' variable.
31276 * sysdeps/wordsize-64/tst-writev.c: New file.
31277
2206397e
RA
312782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31279
31280 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31281 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31282 insns in _dl_start to prevent a TOC reference before relocs are
31283 resolved.
31284
e9433893
UD
312852011-02-15 Ulrich Drepper <drepper@gmail.com>
31286
31287 [BZ #12469]
31288 * Makeconfig: Remove RANLIB definition.
31289 * Makerules: Don't use RANLIB.
31290 * aclocal.m4: Remove ranlib test.
31291 * configure.in: No need to check for ranlib.
31292 * elf/rtld-Rules: Don't use RANLIB.
31293
f75286c6
ST
312942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31295
8e31c82d
ST
31296 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31297 protection macro.
31298 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31299 inclusion protection macro.
31300
f75286c6
ST
31301 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31302 SIGRTMIN and SIGRTMAX and print information in that case only when
31303 SIGRTMIN is defined.
31304
c1d0e639
JJ
313052011-02-11 Jakub Jelinek <jakub@redhat.com>
31306
31307 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31308 arginfo fn returning -1.
31309
31310 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31311 and thousands string is zero terminated.
31312
edf9294e
AS
313132011-02-03 Andreas Schwab <schwab@redhat.com>
31314
31315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31316 sysdeps/unix/sysv/linux/bits/socket.h.
31317
2b7e92df
ST
313182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31319
edf9294e
AS
31320 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31321 (__CPU_COUNT): Remove old macros.
31322 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31323 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31324 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31325 (__sched_cpualloc, __sched_cpufree): Add declarations.
31326
a4c7ea7b
UD
313272011-02-05 Ulrich Drepper <drepper@gmail.com>
31328
31329 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31330 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31331 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31332 (readdhstai): Return value of addhstaiX call.
31333 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31334 (addgrbyX): Return value returned by cache_addgr.
31335 (readdgrbyname): Return value returned by addgrbyX.
31336 (readdgrbygid): Likewise.
31337 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31338 (addpwbyX): Return value returned by cache_addpw.
31339 (readdpwbyname): Return value returned by addhstbyX.
31340 (readdpwbyuid): Likewise.
31341 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31342 (addservbyX): Return value returned by cache_addserv.
31343 (readdservbyname): Return value returned by addservbyX:
31344 (readdservbyport): Likewise.
31345 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31346 (addhstbyX): Return value returned by cache_addhst.
31347 (readdhstbyname): Return value returned by addhstbyX.
31348 (readdhstbyaddr): Likewise.
31349 (readdhstbynamev6): Likewise.
31350 (readdhstbyaddrv6): Likewise.
31351 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31352 (readdinitgroups): Return value returned by addinitgroupsX.
31353 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31354 (prune_cache): Keep track of timeout value of re-added entries.
31355 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31356 * nscd/nscd.h: Adjust prototypes of readd* functions.
31357
a0bf67cc
RM
313582011-02-04 Roland McGrath <roland@redhat.com>
31359
31360 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31361 (nis_stats): Likewise.
31362 * nis/nis_modify.c (nis_modify): Likewise.
31363 * nis/nis_remove.c (nis_remove): Likewise.
31364 * nis/nis_add.c (nis_add): Likewise.
31365
31366 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31367
31368 * posix/fnmatch_loop.c: Add some consts.
31369
31370 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31371
435b95eb
L
313722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31373
31374 [BZ #12460]
31375 * config.make.in (config-cflags-novzeroupper): Define.
31376 * configure.in: Substitute libc_cv_cc_novzeroupper.
31377 * elf/Makefile (AVX-CFLAGS): Define.
31378 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31379 (CFLAGS-tst-auditmod4a.c): Likewise.
31380 (CFLAGS-tst-auditmod4b.c): Likewise.
31381 (CFLAGS-tst-auditmod6b.c): Likewise.
31382 (CFLAGS-tst-auditmod6c.c): Likewise.
31383 (CFLAGS-tst-auditmod7b.c): Likewise.
31384 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31385
8517b15e
UD
313862011-02-02 Ulrich Drepper <drepper@gmail.com>
31387
31388 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31389 function to the callback.
31390 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31391
10a656fe
AS
313922011-02-02 Andreas Schwab <schwab@redhat.com>
31393
31394 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31395 of errno.
31396
968dad0a
UD
313972011-01-19 Ulrich Drepper <drepper@gmail.com>
31398
9f94d2ea 31399 [BZ #11724]
968dad0a
UD
31400 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31401 of constructors.
31402 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31403 of destructors.
31404 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31405
31406 [BZ #11724]
31407 * elf/Makefile: Add rules to build and run new test.
31408 * elf/tst-initorder.c: New file.
31409 * elf/tst-initorder.exp: New file.
31410 * elf/tst-initordera1.c: New file.
31411 * elf/tst-initordera2.c: New file.
31412 * elf/tst-initordera3.c: New file.
31413 * elf/tst-initordera4.c: New file.
31414 * elf/tst-initorderb1.c: New file.
31415 * elf/tst-initorderb2.c: New file.
31416 * elf/tst-order-a1.c: New file.
31417 * elf/tst-order-a2.c: New file.
31418 * elf/tst-order-a3.c: New file.
31419 * elf/tst-order-a4.c: New file.
31420 * elf/tst-order-b1.c: New file.
31421 * elf/tst-order-b2.c: New file.
31422 * elf/tst-order-main.c: New file.
31423 New test case by George Gensure <werkt0@gmail.com>.
31424
86e92359
UD
314252010-10-01 Andreas Schwab <schwab@redhat.com>
31426
31427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31428 decoding ACE if AI_CANONIDN.
31429
5d5732b0
UD
314302011-01-18 Ulrich Drepper <drepper@gmail.com>
31431
31432 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31433
a77e8cbc
UD
314342011-01-17 Ulrich Drepper <drepper@gmail.com>
31435
6392473f
UD
31436 * version.h (RELEASE): Bump for 2.13 release.
31437 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31438
620a0529
UD
31439 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31440
18ba70a5
UD
31441 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31442 MADV_NOHUGEPAGE.
32465c3e
UD
31443 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31445 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31446 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31449
c0dafcf1
UD
31450 * posix/getconf.c: Update copyright year.
31451 * catgets/gencat.c: Likewise.
31452 * csu/version.c: Likewise.
31453 * debug/catchsegv.sh: Likewise.
31454 * debug/xtrace.sh: Likewise.
31455 * elf/ldconfig.c: Likewise.
31456 * elf/ldd.bash.in: Likewise.
31457 * elf/sprof.c (print_version): Likewise.
31458 * iconv/iconv_prog.c: Likewise.
31459 * iconv/iconvconfig.c: Likewise.
31460 * locale/programs/locale.c: Likewise.
31461 * locale/programs/localedef.c: Likewise.
31462 * malloc/memusage.sh: Likewise.
31463 * malloc/mtrace.pl: Likewise.
31464 * nscd/nscd.c (print_version): Likewise.
31465 * nss/getent.c: Likewise.
31466
a77e8cbc
UD
31467 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31468 PF_CAIF, and PF_ALG.
31469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31470
77e8bddf
AS
314712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31472
1f20b93a
AS
31473 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31474 (modules-names): Use them.
31475 (ifunc-test-modules, ifunc-pie-tests): Define.
31476 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31477 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31478 (test-extras): Likewise.
31479 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31480 $(compile-command.c).
31481 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31482 (all-built-dso): Define.
31483 (check-textrel.out, check-execstack.out): Depend on it.
31484
77e8bddf
AS
31485 * configure.in: Don't override --enable-multi-arch.
31486
bc425b33
UD
314872011-01-15 Ulrich Drepper <drepper@gmail.com>
31488
31489 [BZ #6812]
31490 * nscd/hstcache.c (tryagain): Define.
31491 (cache_addhst): Return tryagain not notfound for temporary errors.
31492 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31493 failed.
31494
794c3ad3
UD
314952011-01-14 Ulrich Drepper <drepper@gmail.com>
31496
70181fdd
UD
31497 [BZ #10563]
31498 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31499 to make the syscall.
31500 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31501
794c3ad3
UD
31502 [BZ #12378]
31503 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31504 and fall back to matching as normal character if the string ends before
31505 the matching ']' is found. This is what POSIX requires.
31506 * posix/testfnm.c: Adjust test result.
31507 * posix/globtest.sh: Adjust test result. Add new test.
31508 * posix/tst-fnmatch.input: Likewise.
31509 * posix/tst-fnmatch2.c: Add new test.
31510
68dc9497
AS
315112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31512
31513 * elf/Makefile (check-execstack): Revert last change. Depend on
31514 check-execstack.h.
31515 (check-execstack.h): New target.
31516 (generated): Add check-execstack.h.
31517 * elf/check-execstack.c: Include "check-execstack.h".
31518 (main): Revert last change.
31519 (handle_file): Return zero if GNU_STACK is absent and
31520 DEFAULT_STACK_PERMS doesn't include PF_X.
31521
451f001b
UD
315222011-01-13 Ulrich Drepper <drepper@gmail.com>
31523
cfa28e56
UD
31524 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31525 in child fails because the descriptor is already closed.
8cf8ce17
UD
31526 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31527 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31528 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31529
1086d70d
UD
31530 [BZ #12397]
31531 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31532 syscall.
31533
451f001b
UD
31534 [BZ #10484]
31535 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31536 temporary buffer used to handle multi lookups locally.
a85b5cb4 31537 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31538
08769175
UD
315392011-01-12 Ulrich Drepper <drepper@gmail.com>
31540
31541 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31542 loader is ld.so.
31543
5e49c52e
UD
315442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31545
31546 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31547 alignment for SSE2.
31548
60522a5f
UD
315492011-01-12 Ulrich Drepper <drepper@gmail.com>
31550
31551 [BZ #12394]
31552 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31553 characters. When rounding increased number of integer digits recompute
31554 number of groups.
31555 * stdio-common/tst-grouping.c: New file.
31556 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31557
f257bbd7
UD
315582011-01-09 Ulrich Drepper <drepper@gmail.com>
31559
31560 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31561 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31562
31563 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31564 void.
31565 * bits/select.h: Likewise.
31566
fa9c15cb
UD
315672011-01-08 Ulrich Drepper <drepper@gmail.com>
31568
31569 * po/ja.po: Update from translation team.
31570
16c2895f
DM
315712011-01-04 David S. Miller <davem@sunset.davemloft.net>
31572
31573 [BZ #11155]
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31575 implementation just like for lxstat, fxstatat, et al.
31576
2543fef2
JM
315772010-12-27 Jim Meyering <meyering@redhat.com>
31578
31579 [BZ #12348]
31580 * posix/regexec.c (build_trtable): Return failure indication upon
31581 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31582
98727dbe
UD
315832010-12-25 Ulrich Drepper <drepper@gmail.com>
31584
5bd6dc5c
UD
31585 [BZ #12201]
31586 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31587 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31590
97983464
UD
31591 [BZ #12207]
31592 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31593
98727dbe
UD
31594 [BZ #12204]
31595 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31596 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31597
4a531bb0
L
315982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31599
31600 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31601 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31602 script has SORT_BY_INIT_PRIORITY.
31603 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31604 NO_CTORS_DTORS_SECTIONS is defined.
31605 * elf/soinit.c: Likewise.
31606 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31607 NO_CTORS_DTORS_SECTIONS is defined.
31608 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31609 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31610 * sysdeps/sh/init-first.c: Likewise.
31611 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31612
07eb4b71
UD
316132010-12-24 Ulrich Drepper <drepper@gmail.com>
31614
31615 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31616 always use the slow path.
31617
30950a5f
RA
316182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31619
31620 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31621 similar rule which adds the sysdep directories to the header search in
31622 order to pick up the correct platform stackinfo.h.
31623 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31624 perform test if it is, otherwise return successfully without testing.
31625 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31626 DEFAULT_STACK_PERMS define in stackinfo.h.
31627 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31628 defined in stackinfo.h.
31629 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31630 DEFAULT_STACK_PERMS defined in stackinfo.h.
31631 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31632 * sysdeps/ia64/stackinfo.h: Likewise.
31633 * sysdeps/s390/stackinfo.h: Likewise.
31634 * sysdeps/sh/stackinfo.h: Likewise.
31635 * sysdeps/sparc/stackinfo.h: Likewise.
31636 * sysdeps/x86_64/stackinfo.h: Likewise.
31637 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31638 PF_X for powerpc64. Retain PF_X for powerpc32.
31639
db753e2c
UD
316402010-12-19 Ulrich Drepper <drepper@gmail.com>
31641
14b697f7
UD
31642 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31643 accurately.
db753e2c
UD
31644 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31645 GETDENTS_64BIT_ALIGNED.
31646
28300719
UD
316472010-12-14 Ulrich Drepper <dreper@gmail.com>
31648
14b697f7 31649 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31650
4f197237
AS
316512010-12-10 Andreas Schwab <schwab@redhat.com>
31652
dbb0472f
AS
31653 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31654 _GNU_SOURCE.
31655
4f197237
AS
31656 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31657 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31658 Remove __restrict.
31659 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31660 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31661
fb88ac72
UD
316622010-12-09 Ulrich Drepper <drepper@gmail.com>
31663
31664 [BZ #11655]
31665 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31666 are initialized.
31667
42acbb92
JJ
316682010-12-09 Jakub Jelinek <jakub@redhat.com>
31669
31670 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31671
c038d98d
UD
316722010-12-03 Ulrich Drepper <drepper@gmail.com>
31673
31674 * po/it.po: Update from translation team.
31675
3a4a2499
L
316762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31677
31678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31679 unused codes.
31680
1e24cf6e
UD
316812010-11-30 Ulrich Drepper <drepper@gmail.com>
31682
31683 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31684
a7690819
AS
316852010-11-24 Andreas Schwab <schwab@redhat.com>
31686
31687 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31688 specially.
31689 (gaih_getanswer_slice): Likewise.
31690
3bf8d1b1
JJ
316912010-10-20 Jakub Jelinek <jakub@redhat.com>
31692
31693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31694
6db52fbb
PB
316952010-05-31 Petr Baudis <pasky@suse.cz>
31696
31697 [BZ #11149]
31698 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31699 silently even in the chroot mode.
31700
eaca7569
UD
317012010-11-22 Ulrich Drepper <drepper@gmail.com>
31702
31703 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31704 last patch a bit. Pretty printing
31705
3056dcdb
UD
317062010-05-31 Petr Baudis <pasky@suse.cz>
31707
31708 [BZ #10085]
31709 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31710 initialization of skip_initgroups_dyn.
31711
cf7c9078
UD
317122010-11-19 Ulrich Drepper <drepper@gmail.com>
31713
31714 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31716
a1fb5e3e
UD
317172010-11-16 Ulrich Drepper <drepper@gmail.com>
31718
31719 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31720
3540d66b
AS
317212010-11-11 Andreas Schwab <schwab@redhat.com>
31722
31723 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31724 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31725 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31726 ($(objpfx)tst-fnmatch-mem): New rule.
31727 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31728 * posix/tst-fnmatch.c (main): Call mtrace.
31729
13b69574
L
317302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31733 Support Intel processor model 6 and model 0x2c.
31734
da93d214
LM
317352010-11-10 Luis Machado <luisgpm@br.ibm.com>
31736
31737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31738 signed comparison.
31739
8ca52c6e
L
317402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 [BZ #12205]
31743 * string/test-strncasecmp.c (check_result): New function.
31744 (do_one_test): Use it.
31745 (check1): New function.
31746 (test_main): Use it.
31747 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31748 Support strcasecmp and strncasecmp.
31749
69da074d
UD
317502010-11-08 Ulrich Drepper <drepper@gmail.com>
31751
31752 [BZ #12194]
31753 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31754 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31755
ff02d528
L
317562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31757
31758 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31759 IFUNC support.
31760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31761 memset-x86-64.
31762 * sysdeps/x86_64/multiarch/bzero.S: New file.
31763 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31764 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31765 * sysdeps/x86_64/multiarch/memset.S: New file.
31766 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31768 Set bit_Prefer_SSE_for_memop for Intel processors.
31769 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31770 Define.
31771 (index_Prefer_SSE_for_memop): Define.
31772 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31773
344d0b54
LM
317742010-11-04 Luis Machado <luisgpm@br.ibm.com>
31775
31776 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31777 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31778
c0dde15b
UD
317792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31780
31781 [BZ #12191]
31782 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31783 (__x86_64_raw_data_cache_size_half): Likewise.
31784 (__x86_64_raw_shared_cache_size): Likewise.
31785 (__x86_64_raw_shared_cache_size_half): Likewise.
31786
31787 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31788 (__x86_64_raw_data_cache_size_half): Likewise.
31789 (__x86_64_raw_shared_cache_size): Likewise.
31790 (__x86_64_raw_shared_cache_size_half): Likewise.
31791 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31792 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31793 and __x86_64_raw_shared_cache_size_half. Round
31794 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31795 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31796 to multiple of 256 bytes.
31797
0e516e0e
MS
317982010-11-03 Ulrich Drepper <drepper@gmail.com>
31799
31800 [BZ #12167]
31801 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31802 of inacessible symlinks. Verify result of symlink before returning it.
31803 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31804 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31805
0e012e87
ER
318062010-10-28 Erich Ritz <erichritz@gmail.com>
31807
31808 * math/math.h (isinf): Fix typo in comment.
31809
de0ff7bc
UD
318102010-11-01 Ulrich Drepper <drepper@gmail.com>
31811
31812 * po/da.po: Update from translation team.
31813
fa41c84d
UD
318142010-10-26 Ulrich Drepper <drepper@gmail.com>
31815
31816 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31817 is added to the list.
31818
f0967738
AK
318192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31820 Ulrich Drepper <drepper@gmail.com>
31821
31822 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31823 the global list here. Move code to...
31824 (_dl_add_to_namespace_list): ...here. New function.
31825 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31826 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31827 * elf/dl-load.c (lose): Don't remove the element from the list.
31828 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31829 (_dl_map_object): Likewise.
31830
318312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31832
31833 [BZ #12159]
31834 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31835 into all bytes of SSE register.
31836 Patch by Richard Li <richardpku@gmail.com>.
31837
f0967738 318382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31839
31840 [BZ #12140]
31841 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31842 perturbing.
31843
d0b9e94f
MB
318442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31845
31846 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31847 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31849 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31851 submachine.
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31853
8e9f92e9
AS
318542010-10-22 Andreas Schwab <schwab@redhat.com>
31855
31856 * include/dlfcn.h (__RTLD_SECURE): Define.
31857 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31858 mode & __RTLD_SECURE instead.
31859 (open_path): Rename preloaded parameter to secure.
31860 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31861 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31862 * elf/dl-deps.c (openaux): Likewise.
31863 * elf/rtld.c (struct map_args): Remove is_preloaded.
31864 (map_doit): Don't use it.
31865 (dl_main): Likewise.
31866 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31867 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31868
bc96fbda
AS
318692010-09-09 Andreas Schwab <schwab@redhat.com>
31870
31871 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31872 (sysd-rules-targets): Remove duplicates.
31873 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31874 rtld-%.$o dependency.
31875
22cd1c9b
AS
318762010-10-18 Andreas Schwab <schwab@redhat.com>
31877
31878 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31879 _dl_map_object do it.
31880
18edac48
UD
318812010-10-19 Ulrich Drepper <drepper@gmail.com>
31882
31883 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31884 fast fma builtins, define the macros in the C99 standard.
31885 (FP_FAST_FMAF): Likewise.
31886 (FP_FAST_FMAL): Likewise.
31887 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31888
31889 * bits/mathdef.h: Update copyright year.
31890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31891
d2050124
MM
318922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31893
31894 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31895 builtins, define the macros in the C99 standard.
31896 (FP_FAST_FMAF): Likewise.
31897 (FP_FAST_FMAL): Likewise.
31898 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31899 multiply/add.
31900 (FP_FAST_FMAF): Likewise.
31901
475facd1
JJ
319022010-10-15 Jakub Jelinek <jakub@redhat.com>
31903
31904 [BZ #3268]
31905 * math/libm-test.inc (fma_test): Some new testcases.
31906 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31907 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31908 y and infinite z. Do multiplication by C already in long double.
31909 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31911 y and infinite z. Do bitwise or of inexact bit into u.d.
31912 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31913 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31914 * sysdeps/i386/fpu/s_fma.S: Removed.
31915 * sysdeps/i386/fpu/s_fmal.S: Removed.
31916
7c08a05c
JJ
319172010-10-16 Jakub Jelinek <jakub@redhat.com>
31918
31919 [BZ #3268]
31920 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31922 computation is not scheduled after fetestexcept. Fix value
31923 of minimum denormal long double.
31924
f3f7372d
JJ
319252010-10-14 Jakub Jelinek <jakub@redhat.com>
31926
31927 [BZ #3268]
31928 * math/libm-test.inc (fma_test): Add some more tests.
31929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31930 correctly.
31931
14d43591
AS
319322010-10-15 Andreas Schwab <schwab@redhat.com>
31933
31934 * scripts/data/localplt-s390-linux-gnu.data: New file.
31935 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31936
5e908464
JJ
319372010-10-13 Jakub Jelinek <jakub@redhat.com>
31938
31939 [BZ #3268]
31940 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31941 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31942 instead of dbl-64.
31943 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31944 inlines.
31945 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31947 if one of x and y is very large and the other is subnormal.
31948 * sysdeps/s390/fpu/s_fmaf.c: New file.
31949 * sysdeps/s390/fpu/s_fma.c: New file.
31950 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31951 * sysdeps/powerpc/fpu/s_fma.S: New file.
31952 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31953 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31954 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31955
319562010-10-12 Jakub Jelinek <jakub@redhat.com>
31957
31958 [BZ #3268]
31959 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31960 fma tests.
31961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31962 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31963 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31964 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31965 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31966 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31967 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31968
b833d51f
UD
319692010-10-12 Ulrich Drepper <drepper@redhat.com>
31970
31971 [BZ #12078]
31972 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31973 * posix/bug-regex31.input: Add test case.
31974
1751705d
UD
319752010-10-11 Ulrich Drepper <drepper@gmail.com>
31976
e9b9cbf5
UD
31977 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31978 * posix/bug-regex31.input: New file.
31979
31980 [BZ #12078]
31981 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31982 (parse_sub_exp): Fix last change, use postorder.
31983
ef06edbe
UD
31984 * posix/bug-regex31.c: New file.
31985 * posix/Makefile: Add rules to build and run bug-regex31.
31986
a129c80d
UD
31987 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31988
31989 [BZ #12078]
31990 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31991
b76b818e
UD
31992 [BZ #12108]
31993 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31994 to have entries in sys_siglist.
31995
1751705d
UD
31996 [BZ #12093]
31997 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31998 be NULL.
31999
9ff8d36f
JJ
320002010-10-07 Jakub Jelinek <jakub@redhat.com>
32001
32002 [BZ #3268]
32003 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32004 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32005 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32006 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32007 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32008 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32009 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32010 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32011 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32012 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32013 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32014 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32015 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32016 * math/ftestexcept.c (fetestexcept): Likewise.
32017 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32018 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32019 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32020 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32021 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32022 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32023 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32024
af325969
UD
320252010-10-11 Ulrich Drepper <drepper@gmail.com>
32026
c579b202 32027 [BZ #12107]
af325969
UD
32028 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32029 newline.
32030
67a67b95
UD
320312010-10-06 Ulrich Drepper <drepper@gmail.com>
32032
32033 * string/bug-strstr1.c: New file.
32034 * string/Makefile: Add rules to build and run bug-strstr1.
32035
5fb308bc
EB
320362010-10-05 Eric Blake <eblake@redhat.com>
32037
32038 [BZ #12092]
32039 * string/str-two-way.h (two_way_long_needle): Always clear memory
32040 when skipping input due to the shift table.
32041
45db99c7
UD
320422010-10-03 Ulrich Drepper <drepper@gmail.com>
32043
3b111893
UD
32044 [BZ #12005]
32045 * malloc/mcheck.c: Handle large requests.
32046
45db99c7
UD
32047 [BZ #12077]
32048 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32049 for strncmp and strncasecmp.
32050 * string/stratcliff.c: Add tests for strcmp and strncmp.
32051 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32052
cf7a1eb8
NI
320532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32054
32055 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32056 __set_fpscr.
32057
6484ba5e
AJ
320582010-09-30 Andreas Jaeger <aj@suse.de>
32059
32060 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32061 (CGROUP_SUPER_MAGIC): Define.
32062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32063 Handle btrfs and cgroup file systems.
32064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32065 Likewise.
32066
91c42559
LM
320672010-09-27 Luis Machado <luisgpm@br.ibm.com>
32068
32069 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32070 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32071
87a97932
AK
320722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32073
32074 [BZ #12067]
32075 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32076 trying to locate the ELF header.
32077
c21cc9bc
AS
320782010-09-27 Andreas Schwab <schwab@redhat.com>
32079
32080 [BZ #11611]
32081 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32082 Mask out sign-bit copies when constructing f_fsid.
32083
315970f6
PB
320842010-09-24 Petr Baudis <pasky@suse.cz>
32085
32086 * debug/stack_chk_fail_local.c: Add missing licence exception.
32087 * debug/warning-nop.c: Likewise.
32088
1ac7a2c7
JM
320892010-09-15 Joseph Myers <joseph@codesourcery.com>
32090
32091 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32092 implementing getdents64 using getdents syscall, set d_type if
32093 __ASSUME_GETDENTS32_D_TYPE.
32094
56801c50
AS
320952010-09-16 Andreas Schwab <schwab@redhat.com>
32096
32097 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32098 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32099
dda51327
UD
321002010-09-21 Ulrich Drepper <drepper@redhat.com>
32101
32102 [BZ #12037]
32103 * posix/unistd.h: Undo change of feature selection for ftruncate from
32104 2010-01-11.
32105
8ffcee4a
UD
321062010-09-20 Ulrich Drepper <drepper@redhat.com>
32107
a545ecd9 32108 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32109 detection.
32110
e24f0a8b
AS
321112010-09-20 Andreas Schwab <schwab@redhat.com>
32112
32113 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32114 fanotify_mark.
32115 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32116
7291c56f
AS
321172010-09-14 Andreas Schwab <schwab@redhat.com>
32118
32119 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32120 variables after CHECK_SP call.
32121 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32122
bc5fb037
AS
321232010-09-13 Andreas Schwab <schwab@redhat.com>
32124 Ulrich Drepper <drepper@redhat.com>
32125
32126 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32127 re-relocationg ld.so.
32128 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32129 _dl_init_paths call.
32130 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32131 here anymore.
32132
e66e7419
UD
321332010-09-14 Ulrich Drepper <drepper@redhat.com>
32134
32135 * resolv/res_init.c (__res_vinit): Count the default server we added.
32136
c044aa75
CLT
321372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32138 Ulrich Drepper <drepper@redhat.com>
32139
32140 [BZ #11968]
32141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32142 (____longjmp_chk): Use %ebx for saving value across system call.
32143 Add unwind info.
32144
32cf4069
AS
321452010-09-06 Andreas Schwab <schwab@redhat.com>
32146
32147 * manual/Makefile: Don't mix pattern rules with normal rules.
32148
817328ee
AS
321492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32150
32151 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32152 operation.
32153 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32154 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32155 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32156 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32158 Likewise.
32159
29fddf61
UD
321602010-09-04 Ulrich Drepper <drepper@redhat.com>
32161
32162 [BZ #11979]
32163 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32164 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32165
0959ffc9
UD
321662010-09-02 Ulrich Drepper <drepper@redhat.com>
32167
32168 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32169 * sysdeps/x86_64/addmul_1.S: Likewise.
32170 * sysdeps/x86_64/lshift.S: Likewise.
32171 * sysdeps/x86_64/mul_1.S: Likewise.
32172 * sysdeps/x86_64/rshift.S: Likewise.
32173 * sysdeps/x86_64/sub_n.S: Likewise.
32174 * sysdeps/x86_64/submul_1.S: Likewise.
32175
ece29840
ST
321762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32177
0959ffc9
UD
32178 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32179 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32180 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32181 * bits/sched.h [__need_schedparam]
ece29840 32182 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32183 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32184 (__defined_schedparam): Define to 1.
ece29840
ST
32185 (__sched_param): New structure, identical to sched_param.
32186 (__need_schedparam): Undefine.
32187
e53a31fe
MF
321882010-08-31 Mike Frysinger <vapier@gentoo.org>
32189
fdc0c10d
MF
32190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32191 (epoll_create1): Declare.
32192
e53a31fe
MF
32193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32194
a726d796
AS
321952010-08-31 Andreas Schwab <schwab@redhat.com>
32196
32197 [BZ #7066]
32198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32199 shifting retval into place.
32200
2f3e3dc7
UD
322012010-09-01 Ulrich Drepper <drepper@redhat.com>
32202
f2933da9
UD
32203 * nis/rpcsvc/nis.h: Update copyright notice.
32204 * nis/rpcsvc/nis.x: Likewise.
32205 * nis/rpcsvc/nis_callback.h: Likewise.
32206 * nis/rpcsvc/nis_callback.x: Likewise.
32207 * nis/rpcsvc/nis_object.x: Likewise.
32208 * nis/rpcsvc/nis_tags.h: Likewise.
32209 * nis/rpcsvc/yp.h: Likewise.
32210 * nis/rpcsvc/yp.x: Likewise.
32211 * nis/rpcsvc/ypupd.h: Likewise.
32212 * nis/yp_xdr.c: Likewise.
32213 * nis/ypupdate_xdr.c: Likewise.
32214
2f3e3dc7
UD
32215 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32216 mainly the body of pmap_getport. Add parameters to specify timeouts.
32217 (pmap_getport): Use __libc_rpc_getport.
32218 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32219 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32220 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32221
f3dcc2f9
AS
322222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32223
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32225 fanotify_mark.
32226
6d34eb5b
RM
322272010-08-27 Roland McGrath <roland@redhat.com>
32228
32229 * sysdeps/i386/i686/multiarch/Makefile
32230 (CFLAGS-varshift.c): New variable.
32231
9ea3de11
UD
322322010-08-27 Ulrich Drepper <drepper@redhat.com>
32233
c96d23fc
UD
32234 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32235 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32236
9ea3de11
UD
32237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32238
32239 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32240
623aac7f
L
322412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 * sysdeps/x86_64/strlen.S: Unroll the loop.
32244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32245 strlen-sse2 strlen-sse2-bsf.
32246 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32247 __strlen_no_bsf if bit_Slow_BSF is set.
32248 (__strlen_sse42): Removed.
32249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32250 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32251
8b2b7715
RM
322522010-08-25 Roland McGrath <roland@redhat.com>
32253
32254 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32255 * sysdeps/x86_64/multiarch/varshift.c: New file.
32256 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32257 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32258 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32259 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32260
e73015f2
L
322612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32264 strlen-sse2 strlen-sse2-bsf.
32265 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32266 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32267 (__strlen_sse2): Removed.
32268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32271 bit_Slow_BSF for Atom.
32272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32273 (index_Slow_BSF): Define.
32274 (HAS_SLOW_BSF): Define.
32275
df24a73e
UD
322762010-08-25 Ulrich Drepper <drepper@redhat.com>
32277
32278 [BZ #10851]
32279 * resolv/res_init.c (__res_vinit): When no server address at all
32280 is given default to loopback.
32281
f2ac4868
RM
322822010-08-24 Roland McGrath <roland@redhat.com>
32283
09055553
RM
32284 * configure.in: Remove config-name.h generation.
32285 * configure: Regenerated.
32286 * config-name.in: File removed.
32287 * scripts/config-uname.sh: New file.
32288 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32289 ($(objdir)config-name.h): New target.
32290
f2ac4868
RM
32291 * sunrpc/rpc_parse.h: Avoid nested comment.
32292
73f27d5e
RH
322932010-08-24 Richard Henderson <rth@redhat.com>
32294 Ulrich Drepper <drepper@redhat.com>
32295 H.J. Lu <hongjiu.lu@intel.com>
32296
32297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32299 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32300 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32301 _mm_alignr_epi8 with _mm_loadu_si128.
32302 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32303 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32304 (__m128i_shift_right): Removed.
32305 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32306 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32307 * sysdeps/x86_64/multiarch/varshift.h: New file.
32308 * sysdeps/x86_64/multiarch/varshift.S: New file.
32309
84b9230c
MF
323102010-08-21 Mike Frysinger <vapier@gentoo.org>
32311
32312 * configure.in: Move assembler checks to before sysdep dir checking.
32313
9bbd0ddc
PB
323142010-08-20 Petr Baudis <pasky@suse.cz>
32315
32316 * LICENSES: Sync the sunrpc license.
32317
9da4bb31
UD
323182010-08-19 Ulrich Drepper <drepper@redhat.com>
32319
a7ab6ec8
UD
32320 * sunrpc/auth_des.c: Update copyright notice once again.
32321 * sunrpc/auth_none.c: Likewise.
32322 * sunrpc/auth_unix.c: Likewise.
32323 * sunrpc/authdes_prot.c: Likewise.
32324 * sunrpc/authuxprot.c: Likewise.
32325 * sunrpc/bindrsvprt.c: Likewise.
32326 * sunrpc/clnt_gen.c: Likewise.
32327 * sunrpc/clnt_perr.c: Likewise.
32328 * sunrpc/clnt_raw.c: Likewise.
32329 * sunrpc/clnt_simp.c: Likewise.
32330 * sunrpc/clnt_tcp.c: Likewise.
32331 * sunrpc/clnt_udp.c: Likewise.
32332 * sunrpc/clnt_unix.c: Likewise.
32333 * sunrpc/des_crypt.c: Likewise.
32334 * sunrpc/des_soft.c: Likewise.
32335 * sunrpc/get_myaddr.c: Likewise.
32336 * sunrpc/getrpcport.c: Likewise.
32337 * sunrpc/key_call.c: Likewise.
32338 * sunrpc/key_prot.c: Likewise.
32339 * sunrpc/openchild.c: Likewise.
32340 * sunrpc/pm_getmaps.c: Likewise.
32341 * sunrpc/pm_getport.c: Likewise.
32342 * sunrpc/pmap_clnt.c: Likewise.
32343 * sunrpc/pmap_prot.c: Likewise.
32344 * sunrpc/pmap_prot2.c: Likewise.
32345 * sunrpc/pmap_rmt.c: Likewise.
32346 * sunrpc/rpc/auth.h: Likewise.
32347 * sunrpc/rpc/auth_unix.h: Likewise.
32348 * sunrpc/rpc/clnt.h: Likewise.
32349 * sunrpc/rpc/des_crypt.h: Likewise.
32350 * sunrpc/rpc/key_prot.h: Likewise.
32351 * sunrpc/rpc/netdb.h: Likewise.
32352 * sunrpc/rpc/pmap_clnt.h: Likewise.
32353 * sunrpc/rpc/pmap_prot.h: Likewise.
32354 * sunrpc/rpc/pmap_rmt.h: Likewise.
32355 * sunrpc/rpc/rpc.h: Likewise.
32356 * sunrpc/rpc/rpc_des.h: Likewise.
32357 * sunrpc/rpc/rpc_msg.h: Likewise.
32358 * sunrpc/rpc/svc.h: Likewise.
32359 * sunrpc/rpc/svc_auth.h: Likewise.
32360 * sunrpc/rpc/types.h: Likewise.
32361 * sunrpc/rpc/xdr.h: Likewise.
32362 * sunrpc/rpc_clntout.c: Likewise.
32363 * sunrpc/rpc_cmsg.c: Likewise.
32364 * sunrpc/rpc_common.c: Likewise.
32365 * sunrpc/rpc_cout.c: Likewise.
32366 * sunrpc/rpc_dtable.c: Likewise.
32367 * sunrpc/rpc_hout.c: Likewise.
32368 * sunrpc/rpc_main.c: Likewise.
32369 * sunrpc/rpc_parse.c: Likewise.
32370 * sunrpc/rpc_parse.h: Likewise.
32371 * sunrpc/rpc_prot.c: Likewise.
32372 * sunrpc/rpc_sample.c: Likewise.
32373 * sunrpc/rpc_scan.c: Likewise.
32374 * sunrpc/rpc_scan.h: Likewise.
32375 * sunrpc/rpc_svcout.c: Likewise.
32376 * sunrpc/rpc_tblout.c: Likewise.
32377 * sunrpc/rpc_util.c: Likewise.
32378 * sunrpc/rpc_util.h: Likewise.
32379 * sunrpc/rpcinfo.c: Likewise.
32380 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32381 * sunrpc/rpcsvc/key_prot.x: Likewise.
32382 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32383 * sunrpc/rpcsvc/mount.x: Likewise.
32384 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32385 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32386 * sunrpc/rpcsvc/rex.x: Likewise.
32387 * sunrpc/rpcsvc/rstat.x: Likewise.
32388 * sunrpc/rpcsvc/rusers.x: Likewise.
32389 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32390 * sunrpc/rpcsvc/spray.x: Likewise.
32391 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32392 * sunrpc/rtime.c: Likewise.
32393 * sunrpc/svc.c: Likewise.
32394 * sunrpc/svc_auth.c: Likewise.
32395 * sunrpc/svc_authux.c: Likewise.
32396 * sunrpc/svc_raw.c: Likewise.
32397 * sunrpc/svc_run.c: Likewise.
32398 * sunrpc/svc_simple.c: Likewise.
32399 * sunrpc/svc_tcp.c: Likewise.
32400 * sunrpc/svc_udp.c: Likewise.
32401 * sunrpc/svc_unix.c: Likewise.
32402 * sunrpc/svcauth_des.c: Likewise.
32403 * sunrpc/xcrypt.c: Likewise.
32404 * sunrpc/xdr.c: Likewise.
32405 * sunrpc/xdr_array.c: Likewise.
32406 * sunrpc/xdr_float.c: Likewise.
32407 * sunrpc/xdr_mem.c: Likewise.
32408 * sunrpc/xdr_rec.c: Likewise.
32409 * sunrpc/xdr_ref.c: Likewise.
32410 * sunrpc/xdr_sizeof.c: Likewise.
32411 * sunrpc/xdr_stdio.c: Likewise.
32412
9da4bb31
UD
32413 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32414 handling.
32415
bdaa77bc
AS
324162010-08-19 Andreas Schwab <schwab@redhat.com>
32417
32418 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32419
fe2f79db
LM
324202010-08-19 Luis Machado <luisgpm@br.ibm.com>
32421
32422 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32424 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32425 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32427 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32428 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32429 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32431 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32432 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32434 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32435 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32436
b9b42ee0
AB
324372010-07-26 Anton Blanchard <anton@samba.org>
32438
32439 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32440 * malloc/arena.c (heap_trim): Likewise.
32441
1c06ba31
UD
324422010-08-16 Ulrich Drepper <drepper@redhat.com>
32443
32444 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32445 here. Not...
32446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32447 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32448
f8392f40
L
324492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 * sysdeps/i386/elf/Makefile: New file.
32452
3162f12e
AS
324532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32454
32455 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32456 from fanotify_init.
32457 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32459
28c90b2c
UD
324602010-08-15 Ulrich Drepper <drepper@redhat.com>
32461
32462 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32463 of strncasecmp_l.
1feccb6c 32464 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32465
ca6bb004
UD
324662010-08-14 Ulrich Drepper <drepper@redhat.com>
32467
e9f82e0d
UD
32468 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32469 strncase_l-nonascii.
32470 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32471 Add strncase_l-ssse3.
32472 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32473 * sysdeps/x86_64/strcmp.S: Likewise.
32474 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32475 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32476 * sysdeps/x86_64/strncase.S: New file.
32477 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32478 * sysdeps/x86_64/strncase_l.S: New file.
32479 * string/Makefile (strop-tests): Add strncasecmp.
32480 * string/test-strncasecmp.c: New file.
32481
32482 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32483 warning.
32484
ca6bb004
UD
32485 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32486 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32487
052fa7b3
AS
324882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32489
32490 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32491
962dba78
UD
324922010-08-12 Ulrich Drepper <drepper@redhat.com>
32493
32494 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32496 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32497
bebff237
AM
324982010-05-01 Alan Modra <amodra@gmail.com>
32499
32500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32501 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32502 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32503 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32504 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32505 tidying. Don't tail-call __sigjmp_save for static lib.
32506 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32507 save location.
32508 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32509 (CALL_MCOUNT): Add eh info, and nop after bl.
32510 (TAIL_CALL_SYSCALL_ERROR): New macro.
32511 (PSEUDO_RET): Use it.
32512 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32513 Correct save location of integer regs and cr.
32514 (_dl_profile_resolve): Correct cr save location. Delete nops
32515 after bl when SHARED. Reduce cfi size a little by better
32516 placement of cfi directives.
32517 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32518 make a stack frame. Instead use parm save area as a temp.
32519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32520 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32522 Don't make a stack frame for parent, use parm save area.
32523 Increase child stack frame to 112 bytes. Don't save unused reg,
32524 and adjust reg usage. Set up cfi on error recovery and
32525 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32527 (__makecontext): Add dummy nop after jump to exit.
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32529 Use correct parm save area and cr save, reduce stack frame.
32530 Correct cfi for possible PSEUDO_RET frame setup.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32532 Branch to local label emitted by PSEUDO_RET rather than
32533 __syscall_error.
32534
02637374
AS
325352010-08-12 Andreas Schwab <schwab@redhat.com>
32536
32537 [BZ #11904]
32538 * locale/programs/locale.c (print_assignment): New function.
32539 (show_locale_vars): Use it.
32540
c3e2f19b
UD
325412010-08-11 Ulrich Drepper <drepper@redhat.com>
32542
3cdaa6ad
UD
32543 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32544 field.
32545 (struct statfs64): Likewise.
32546 (_STATFS_F_FLAGS): Define.
32547 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32548 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32549 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32550 (ST_VALID): Define locally.
32551 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32552 __statvfs_getflags, use the provided value.
32553 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32554 __ASSUME_STATFS_F_FLAGS.
32555
754f7da3
UD
32556 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32557
10b3bedc
UD
32558 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32559 Add sys/fanotify.h.
32560 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32561 fanotify_mask for GLIBC_2.13.
32562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32563 fanotify_init and fanotify_mark.
32564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32565 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32566
c08fb0d7
UD
32567 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32568 Add prlimit.
32569 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32570 prlimit64 for GLIBC_2.13.
32571 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32572 prlimit64.
32573 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32574 syscall.
32575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32577 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32578 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32580 add prlimit alias.
32581 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32582
15bac72b
UD
32583 [BZ #11903]
32584 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32585 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32586
c3e2f19b
UD
32587 * nss/Makefile: Add rules to build and run tst-nss-test1.
32588 * shlib-versions: Add entry for libnss_test1.
32589 * nss/nss_test1.c: New file.
32590 * nss/tst-nss-test1.c: New file.
32591
32592 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32593 (__nss_configure_lookup): Set appropriate entry in
32594 __nss_configure_lookup to true.
32595 * nss/nsswitch.h: Define enum with indeces of databases in
32596 databases and __nss_database_custom arrays. Declare
32597 __nss_database_custom.
32598 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32599 to avoid using nscd when custom rules are installed.
32600 * nss/getXXbyYY_r.c: Likewise.
32601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32602
32603 * nss/nss_files/files-parse.c: Whitespace fixes.
32604
f15ce4d8
UD
326052010-08-09 Ulrich Drepper <drepper@redhat.com>
32606
32607 [BZ #11883]
32608 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32609 * posix/fnmatch_loop.c: Likewise.
32610
d22e4cc9
AK
326112010-07-17 Andi Kleen <ak@linux.intel.com>
32612
32613 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32614 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32615 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32616 * Versions.def [GLIBC_2.13]: Add.
32617
805bc17d
UD
326182010-08-06 Ulrich Drepper <drepper@redhat.com>
32619
32620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32621 Also fail if tpwd after pwuid call is NULL.
32622
5a42321d
ST
326232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32624
32625 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32626 when converting to ms.
32627
fd3ebeda
ST
326282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32629
32630 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32631 EOPNOTSUPP errors with ENOTTY.
32632 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32633 EOPNOTSUPP errors with ENOTTY.
32634
73507d3a
UD
326352010-07-31 Ulrich Drepper <drepper@redhat.com>
32636
32637 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32638 Add strcasecmp_l-ssse3.
32639 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32640 strcasecmp.
32641 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32642 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32643 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32644
fe36dd02
UD
326452010-07-30 Ulrich Drepper <drepper@redhat.com>
32646
66f6765a
UD
32647 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32648
42e08a54
UD
32649 * string/Makefile (strop-tests): Add strcasecmp.
32650 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32651 strcasecmp_l-nonascii.
32652 (gen-as-const-headers): Add locale-defines.sym.
32653 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32654 * sysdeps/x86_64/strcasecmp.S: New file.
32655 * sysdeps/x86_64/strcasecmp_l.S: New file.
32656 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32657 * sysdeps/x86_64/locale-defines.sym: New file.
32658 * string/test-strcasecmp.c: New file.
32659
fe36dd02
UD
32660 * string/test-strcasestr.c: Test both ends of the range of characters.
32661 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32662
48cbc0d6
RM
326632010-07-29 Roland McGrath <roland@redhat.com>
32664
76e6d6bc 32665 [BZ #11856]
48cbc0d6
RM
32666 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32667
880113d9
UD
326682010-07-27 Ulrich Drepper <drepper@redhat.com>
32669
32670 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32671 for ld.so.
32672
deb9cabb
AS
326732010-07-27 Andreas Schwab <schwab@redhat.com>
32674
32675 * manual/memory.texi (Malloc Tunable Parameters): Document
32676 M_PERTURB.
32677
1c7570ff
RM
326782010-07-26 Roland McGrath <roland@redhat.com>
32679
32680 [BZ #11840]
32681 * configure.in (-fgnu89-inline check): Set and substitute
32682 gnu89_inline, not libc_cv_gnu89_inline.
32683 * configure: Regenerated.
32684 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32685
24fb0f88
UD
326862010-07-26 Ulrich Drepper <drepper@redhat.com>
32687
32688 * string/test-strnlen.c: New file.
32689 * string/Makefile (strop-tests): Add strnlen.
32690 * string/tester.c (test_strnlen): Add a few more test cases.
32691 * string/tst-strlen.c: Better error reporting.
32692
32693 * sysdeps/x86_64/strnlen.S: New file.
32694
8e96b93a
UD
326952010-07-24 Ulrich Drepper <drepper@redhat.com>
32696
32697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32698 lower-latency instructions.
32699
dbc676d4
UD
327002010-07-23 Ulrich Drepper <drepper@redhat.com>
32701
32702 * string/test-strcasestr.c: New file.
32703 * string/test-strstr.c: New file.
32704 * string/Makefile (strop-tests): Add strstr and strcasestr.
32705 * string/str-two-way.h: Don't undefine MAX.
32706 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32707
f6a31e0e
AS
327082010-07-21 Andreas Schwab <schwab@redhat.com>
32709
32710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32711 strcasestr-nonascii.
32712 (CFLAGS-strcasestr-nonascii.c): Define.
32713 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32715 Remove unused attribute.
32716
5dbc3b6c
RM
327172010-07-20 Roland McGrath <roland@redhat.com>
32718
32719 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32720 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32721 ld.so.cache was broken. With it, there is no way to disable dsocaps
32722 like LD_HWCAP_MASK can disable hwcaps.
32723
23d101d8
EPM
327242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32725
32726 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32727
cc9f2e47
UD
327282010-07-16 Ulrich Drepper <drepper@redhat.com>
32729
32730 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32731 call in strcasestr.
32732 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32733 __strcasestr_sse42_nonascii.
32734 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32735 strcasestr-nonascii.c.
32736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32737
77c1b069
LM
327382010-06-15 Luis Machado <luisgpm@br.ibm.com>
32739
32740 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32742 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32744
440566c3
UD
327452010-07-09 Ulrich Drepper <drepper@redhat.com>
32746
32747 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32748 fcntl.
32749
5be9d05d
AS
327502010-07-06 Andreas Schwab <schwab@redhat.com>
32751
c30b7ee2 32752 [BZ #11577]
5be9d05d
AS
32753 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32754 dl_signal_cerror.
32755
8a492a67
UD
327562010-07-06 Ulrich Drepper <drepper@redhat.com>
32757
32758 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32759 _PC_PIPE_BUF using F_GETPIPE_SZ.
32760
713df3d5
RM
327612010-07-05 Roland McGrath <roland@redhat.com>
32762
32763 * manual/arith.texi (Rounding Functions): Fix rint description
32764 implicit in round description.
32765
702e8f14
UD
327662010-07-02 Ulrich Drepper <drepper@redhat.com>
32767
32768 * elf/Makefile: Fix linking for a few tests to make recent linker
32769 happy.
32770
52ed8be9
AS
327712010-06-30 Andreas Schwab <schwab@redhat.com>
32772
32773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32774 $(common-objpfx)libc_nonshared.a.
32775
f47c9a11
LM
327762010-06-21 Luis Machado <luisgpm@br.ibm.com>
32777
32778 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32779 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32780 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32781 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32782 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32783 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32785 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32800 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32801 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32802 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32803 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32804 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32805 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32806 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32807 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32808 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32809 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32810 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32811 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32826
6fb8cbcb
L
328272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32830 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32831 * string/memmove.c (memmove): Renamed to ...
32832 (MEMMOVE): ...this. Default to memmove.
32833 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32834 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32835 (END_CHK): Define.
32836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32837 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32838 mempcpy-ssse3-back memmove-ssse3-back.
32839 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32842 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32843 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32844 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32845 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32846 * sysdeps/x86_64/multiarch/memmove.c: New file.
32847 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32848 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32849 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32850 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32851 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32853 Define.
32854 (index_Fast_Copy_Backward): Define.
32855 (HAS_ARCH_FEATURE): Define.
32856 (HAS_FAST_REP_STRING): Define.
32857 (HAS_FAST_COPY_BACKWARD): Define.
32858
4e733bac 328592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32860
32861 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32862 Restore proper fallback handling.
32863
63c4ed22
UD
328642010-06-19 Ulrich Drepper <drepper@redhat.com>
32865
ac2b484c
UD
32866 [BZ #11701]
32867 * posix/group_member.c (__group_member): Correct checking loop.
32868
63c4ed22
UD
32869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32870 OOM in getpwuid_r correctly. Return error number when the caller
32871 should return, otherwise -1.
32872 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32873 call returning > 0 value.
32874 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32875
765ade4b
AS
328762010-06-07 Andreas Schwab <schwab@redhat.com>
32877
32878 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32879 libc_nonshared.a from targets in modules-names.
32880
80da2e09
KS
328812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32882
32883 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32884 requires it.
32885
158db122
LM
328862010-06-10 Luis Machado <luisgpm@br.ibm.com>
32887
32888 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32889 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32892
caa78cf8
AS
328932010-06-02 Andreas Schwab <schwab@redhat.com>
32894
32895 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32896
b2ef2c01
UD
328972010-06-14 Ulrich Drepper <drepper@redhat.com>
32898
32899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32900 and F_GETPIPE_SZ.
32901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32902 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32907
fbd643b6
RM
329082010-06-14 Roland McGrath <roland@redhat.com>
32909
32910 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32911
f32f2869
JJ
329122010-06-07 Jakub Jelinek <jakub@redhat.com>
32913
32914 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32915 __REDIRECT followed by __THROW.
32916 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32917 * posix/getopt.h (getopt): Likewise.
32918
2a50c078
EPM
329192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32920
32921 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32922 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32923 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32924 in AT_FLAGS.
32925 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32926 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32927
eb5ad2eb
LM
329282010-05-28 Luis Machado <luisgpm@br.ibm.com>
32929
32930 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32931
3c88fe1e
L
329322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32933
32934 [BZ #11640]
32935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32936 Properly check family and model.
32937
d2f73151
TY
329382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32939
32940 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32941
ebd2e13d
LM
329422010-05-24 Luis Machado <luisgpm@br.ibm.com>
32943
32944 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32945
b32b8b45
UD
329462010-05-21 Ulrich Drepper <drepper@redhat.com>
32947
32948 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32949 symbol reference.
32950
9acbe24d
AS
329512010-05-19 Andreas Schwab <schwab@redhat.com>
32952
32953 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32954 symbol reference.
32955
f0ccf6ea
AS
329562010-05-21 Andreas Schwab <schwab@redhat.com>
32957
3d04ff3a
AS
32958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32959 and internal_recvmmsg.
32960 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32961 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32962 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32963 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32964
f0ccf6ea
AS
32965 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32966 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32967 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32968
5b08ac57
AS
329692010-05-20 Andreas Schwab <schwab@redhat.com>
32970
32971 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32972
4828935d
LM
329732010-05-17 Luis Machado <luisgpm@br.ibm.com>
32974
32975 POWER7 optimizations.
32976 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32977 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32978
373d545e
UD
329792010-05-19 Ulrich Drepper <drepper@redhat.com>
32980
32981 * version.h: Update for 2.13 development version.
32982
21a2b1ae
AS
329832010-05-12 Andrew Stubbs <ams@codesourcery.com>
32984
32985 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32986 exceptions. Return 0.
32987
3f7dcb2b
RM
329882010-05-07 Roland McGrath <roland@redhat.com>
32989
32990 * elf/ldconfig.c (main): Add a const.
32991
5f24d53a 329922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32993
a160f8d8
UD
32994 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32995 (args_options): Add no-idn option.
32996 (ahosts_keys_int): Add idn_flags to ai_flags.
32997 (parse_option): Handle 'i' option to clear idn_flags.
32998
5f24d53a
UD
32999 * malloc/malloc.c (_int_free): Possible race in the most recently
33000 added check. Only act on the data if no current modification
33001 happened.
265bb1ce
UD
33002
33003See ChangeLog.17 for earlier changes.